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 ≤
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|
|Background||Events in SimEvents Models||Overview of event types and the event calendar|
|Behavior||Event Sequencing||How the application determines which events to process first, when time and causality alone do not specify a unique sequence|
|Examples||Event Calendar Usage for Queue-Server Model||Illustrates basic functionality of the event calendar|
|Choose Values for Event Priorities||Examines the role of event priority values|
|Effects of Specifying Event Priorities||Compares simulation behaviors when you specify and do not specify event priorities|
|Tips||Choose an Approach for Simultaneous Events and Tips for Choosing Event Priority Values||Tips to help you decide how to configure your model|
|Techniques||Explore Simultaneous Events and Assign Event Priorities||Viewing 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.