Most SimEvents® blocks can output statistics that let you monitor aggregate measures, such as average service times, queue lengths, and server utilization. Visualize statistics to understand block behavior, and to count entities. Use the values gathered from statistics to control entity intergeneration times.
Use the Sequence Viewer block to see the interchange of messages, events, and functions during simulation. The block allows you to visualize the movement of entities between blocks.
|Sequence Viewer||Display messages, events, states, transitions, and functions between blocks during simulation|
Output queue statistics, server statistics, statistics for data analysis and run-time control.
Using statistics, you can count entities across the simulation and per time instant.
Count the simultaneous departures of entities from a server.
Noncumulative counting of entities arriving to the Entity Terminator block.
This example shows a queuing system in which feedback influences the arrival rate.
View the interchange of messages, events, and functions through the Sequence Viewer block.
Save the simulation state and use it as an initial state for future simulations.
Simulink.SimulationInput object to create simulation
sets to test the results and to perform model optimization.