There are three ways in which simultaneity can occur for events:
- firing
- calculation
- execution
Firing
Simultaneous
firing occurs when the time points at which the trigger expression changes from
FALSE
to
TRUE
coincide for several events. In order to recognize simultaneous
firing of event triggers we must always check for the trigger condition of all events.
Calculation
Simultaneous
calculation occurs when the time point
firing or
firing + delay for several events and the "Execution PRIOR to Processing" are equal.
Execution
Simultaneous
execution occurs when the time point
calculation or
calculation + delay for several events and the "Execution PRIOR to Processing" are equal. In the case that simultaneous
executions occur we stop the execution since the outcome of the simulation may depend on the order of processing. Later we may implement checks for situations in which the outcome is independent of the order of processing.