Description

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.

 

SimsEvents Analysis and Visualization of Results59125 wm SimEventsFig4a w

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.

 

SimsEvents Analysis and Visualization of Results 259126 wm SimEventsFig5 w

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.