SimEvents

Analysis and Visualization of Results

You can gain insight into the behavior of your model by:

  • Animating
  • Using statistics and scopes
  • Debugging

Animation

SimEvents support of animation lets you examine the execution behavior of a SimEvents model. You can observe both entity movement and the production and use of events in event-based blocks. For event-based signals, animation illustrates the execution sequence of computation blocks in response to events.

Animation of a SimEvents model showing the flow of entities, as well as the number of entities in queue and server during a simulation.
Animation of a SimEvents model showing the flow of entities, as well as the number of entities in the queue and server during a simulation.

Statistics and Scopes

Most SimEvents blocks can output statistics that let you monitor aggregate measures, such as average service times, queue lengths, and server utilization. Custom scopes enable you to visualize these signals using familiar staircase and stem plots.

Model of an Ethernet local area network using statistics and scopes to analyze the throughput and channel utilization of the MAC Controller (B) subsystem.
Model of an Ethernet local area network using statistics and scopes to analyze the throughput (bottom left) and channel utilization (bottom right) of the MAC Controller (B) subsystem.

SimEvents Debugger

The SimEvents debugger lets you use MATLAB® functions to suspend a simulation at each step or breakpoint to query simulation behavior. The debugger also creates a simulation log for further inspection of detailed information. You can debug both discrete-event and hybrid simulations by closely inspecting the events and blocks that process them.

SimEvents Debugger Tutorial Part 1 9:44
Use the SimEvents debugger for basic simulation stepping and debugging.

SimEvents Debugger Tutorial Part 2 7:20
Use the SimEvents debugger for breakpoints and advanced querying.

Try SimEvents

Get trial software

Simulación de Eventos Discretos con SimEvents®

View webinar