Products & Services Solutions Academia Support User Community Company

Learn more about SimEvents   

Overview of 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
BackgroundSupported Events 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
ExamplesExample: Event Calendar Usage for a Queue-Server ModelIllustrates basic functionality of the event calendar
Example: Choices of Values for Event PrioritiesExamines the role of event priority values
Example: Effects of Specifying Event PrioritiesCompares simulation behaviors when you specify and do not specify event priorities
TipsChoosing an Approach for Simultaneous Events and Tips for Choosing Event Priority ValuesTips to help you decide how to configure your model
TechniquesExploring Simultaneous Events and Assigning Event PrioritiesViewing behavior and working with explicit event priorities

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

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS