Here are typical ways to use plotting blocks in the SimEvents Sinks library to debug simulation behavior.
|Check when an entity departs from the block. To do this, plot the #d output signal of the block.||Plot Entity Departures to Verify Timing|
|Check whether operations such as service completion or routing are occurring as you expect. To do this, plot statistical output signals such as pe or last, if applicable.|
|Check whether a block uses a control signal as you expect. To do this, plot input signals such as port selection, service time, or intergeneration time, and compare the values with observations of how the corresponding blocks use those signals.||Choose Values for Event Priorities|
|Check how long entities spend in a region of the model. To do this, plot the output of a Read Timer block.||Model an M/M/5 Queuing System|
|Check whether events you expect to be simultaneous are, in fact, simultaneous. To do this, use the Instantaneous Entity Counting Scope or Instantaneous Event Counting Scope block.||Count Simultaneous Departures from a Server and Plot Event Counts to Check for Simultaneity|