Simultaneous Events

During a simulation, multiple events can occur at the same value of the simulation clock, whether or not due to causality. Also, the application treats events as simultaneous if their event times are sufficiently close, even if the event times are not identical. Events scheduled on the event calendar for times T and T+Δt are considered simultaneous if 0 ≤ Δt ≤ 128*eps*T, where eps is the floating-point relative accuracy in MATLAB® software and T is the simulation time.

This table indicates sources of relevant information that can help you understand and manage simultaneous events.

To Read About...Refer to...Description
BackgroundEvents in SimEvents ModelsOverview of event types and the event calendar
BehaviorEvent SequencingHow the application determines which events to process first, when time and causality alone do not specify a unique sequence
ExamplesEvent Calendar Usage for Queue-Server ModelIllustrates basic functionality of the event calendar
Choose Values for Event PrioritiesExamines the role of event priority values
Effects of Specifying Event PrioritiesCompares simulation behaviors when you specify and do not specify event priorities
TipsChoose an Approach for Simultaneous Events and Tips for Choosing Event Priority ValuesTips to help you decide how to configure your model
TechniquesExplore Simultaneous Events and Assign Event PrioritiesViewing behavior and working with explicit event priorities

When one of the simultaneous events is a signal update, information in Resolve Simultaneous Signal Updates is also relevant.

Was this topic helpful?