Documentation Center

  • Trial Software
  • Product Updates

SimEvents Pane

SimEvents Pane Overview

Configure modelwide parameters related to discrete-event simulation and the logging of events and entities.

Configuration

This pane appears only if your model contains a SimEvents® block.

Execution order

Select an algorithm for determining the sequence for processing simultaneous events having equal priorities.

Settings

Default: Arbitrary

Arbitrary

Causes the simulation to use an internal algorithm to determine the sequence for processing simultaneous events having equal priorities.

Randomized

Causes the simulation to assign equal probability to all possible execution sequences of simultaneous events having equal numerical priorities.

Tip

The processing sequence might be different from the sequence in which the events were scheduled on the event calendar.

Dependency

Selecting Randomized enables Seed for event randomization.

Command-Line Information

Parameter: propIdentEvents
Type: double
Value: 0 | 1
Default: 0

See Also

Seed for event randomization

Initialize the random number generator for event processing.

Settings

Default: 123456789

Minimum: 0

Maximum: 2^31-1

This is a number that initializes the random number generator used to determine the sequence for processing simultaneous events having equal priorities.

Tips

  • For a given value of this parameter, the output of the random number generator is repeatable.

  • To avoid unexpected correlations, make the value of this parameter distinct from all other seed parameters in the model (for example, the Initial seed parameter in the Event-Based Random Number block).

Dependency

This parameter is enabled by Execution order.

Command-Line Information

Parameter: propIdentEventSeed
Type: string
Value:
Default: '123456789'

See Also

Unexpected Correlation of Random Processes

Maximum events per block

Limit the number of entity generation, service completion, subsystem execution, and function-call events that each SimEvents block performs at each fixed time instant.

Settings

Default: 1000

Minimum: 2

Maximum: 2^31-1

Command-Line Information

Parameter: propMaxDesBlkSimulEvents
Type: string
Value:
Default: '1000'

See Also

Livelock Prevention

Maximum events per model

Limit the total number of events scheduled via the event calendar at each fixed time instant. This is the maximum number of events per discrete-event system in a model.

Settings

Default: 100000

Minimum: 2

Maximum: 2^31-1

Command-Line Information

Parameter: propMaxDesMdlSimulEvents
Type: string
Value:
Default: '100000'

See Also

Livelock Prevention

Prevent duplicate events on multiport blocks and branched signals

Prevent multifiring behavior on multiport blocks or branched signals that results in duplication of events. Multifiring behavior, an implicit result of the way that the software executes particular block configurations, occurs when the software executes a block more than once in response to a single, discrete event in the simulation.

Settings

Default: On

On

Enable Prevent duplicate events on multiport blocks and branched signals parameter to prevent multifiring behavior.

Off

Allow multifiring behavior on multiport blocks or branched signals.

Command-Line Information

Parameter: propPreventDuplicateEvents
Type: integer or boolean
Value:
Default: '1' for integer, 'True' for boolean

See Also

Legacy Behavior in SimEvents Models

Was this topic helpful?