Statistics and Data Analysis

Count entities, work with Sequence viewer block

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 in a cumulative and noncumulative way.

Use Sequence Viewer to see the interchange of messages, events, and functions during simulation. The block allows you to visualize the movement of entities between blocks.

Blocks

Sequence ViewerDisplay messages, events, states, transitions, and functions between blocks during simulation

Topics

Interpret SimEvents Models Using Statistical Analysis

Output statistics for data analysis and run-time control.

Count Entities

Using statistics, you can count entities across the simulation and per time instant.

Count Simultaneous Departures from a Server

Count the simultaneous departures of entities from a server.

Noncumulative Counting of Entities

Noncumulative counting of entities arriving to the Entity Terminator block.

Adjust Entity Generation Times Through Feedback

This example shows a queuing system in which feedback influences the arrival rate.

Visualization and Animation

Visualize and animate simulations in SimEvents models using tools available in Simulink® and SimEvents software.

Use the Sequence Viewer Block to Visualize Messages, Events, and Entities

View the interchange of messages, events, and functions through the Sequence Viewer block.

Save SimEvents Simulation State with SimState

Save the simulation state with Simstate and use it as an initial state for future simulations.

Optimize SimEvents Models by Running Multiple Simulations

Use Simulink.SimulationInput object to create simulation sets to test the results and to perform model optimization.

Featured Examples