| SimEvents® | ![]() |

| On this page… |
|---|
Configure modelwide parameters related to discrete-event simulation and the logging of events and entities.
This pane appears only if your model contains a SimEvents® block.
Select an algorithm for determining the sequence for processing simultaneous events having equal priorities.
Default: Arbitrary
Causes the simulation to use an internal algorithm to determine the sequence for processing simultaneous events having equal priorities.
Causes the simulation to assign equal probability to all possible execution sequences of simultaneous events having equal numerical priorities.
The processing sequence might be different from the sequence in which the events were scheduled on the event calendar.
Selecting Randomized enables Seed for event randomization.
| Parameter: propIdentEvents |
| Type: double |
| Value: 0 | 1 |
| Default: 0 |
Initialize the random number generator for event processing.
Default: 123456789
Minimum: 0
Maximum: any value less than Inf
This is a number that initializes the random number generator used to determine the sequence for processing simultaneous events having equal priorities.
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).
This parameter is enabled by Execution order.
| Parameter: propIdentEventSeed |
| Type: string |
| Value: any valid string |
| Default: '123456789' |
Unexpected Correlation of Random Processes
Limit the number of entity generation, service completion, subsystem execution, and function-call events that each SimEvents block performs at each fixed time instant.
Default: 1000
Minimum: 2
Maximum: any value less than Inf
| Parameter: propMaxDesBlkSimulEvents |
| Type: string |
| Value: |
| Default: '1000' |
Limit the total number of events scheduled via the event calendar at each fixed time instant.
Default: 100000
Minimum: 2
Maximum: any value less than Inf
| Parameter: propMaxDesMdlSimulEvents |
| Type: string |
| Value: |
| Default: '100000' |
Display a message and the list of events that are in the event calendar.
Default: false
Displays the list of events in the event calendar each time it schedules, executes, or deletes an event during the simulation. The list, as well as a message indicating the specific change in the event calendar, appears in the MATLAB® Command Window.
Does not display a list of events.
This parameter disables Log events when executed and Log events when scheduled.
| Parameter: propDisplayEventCalendar |
| Type: logical |
| Value: true | false |
| Default: false |
| Application | Setting |
|---|---|
| Debugging | True |
| Efficiency | False |
Display a message to indicate processing of an event in the event calendar.
Default: false
Displays a message each time the application processes an event in the event calendar during the simulation. The information appears in the MATLAB Command Window.
Does not display execution information.
This parameter is disabled by Display events in event calendar.
| Parameter: propLogEventsExecuted |
| Type: logical |
| Value: true | false |
| Default: false |
| Application | Setting |
|---|---|
| Debugging | True |
| Efficiency | False |
Logging the Processing of Events
Display a message to indicate scheduling of an event in the event calendar.
Default: false
Displays a message each time the application schedules an event in the event calendar during the simulation. The information appears in the MATLAB Command Window.
Does not display scheduling information.
This parameter is disabled by Display events in event calendar.
| Parameter: propLogEventsScheduled |
| Type: logical |
| Value: true | false |
| Default: false |
| Application | Setting |
|---|---|
| Debugging | True |
| Efficiency | False |
Logging the Scheduling of Events
Display messages to indicate when entities advance from block to block during the simulation.
Default: false
Displays a message in the MATLAB Command Window each time an entity advances from block to block during the simulation.
Does not display information about entities advancing.
| Parameter: propLogDepartureEvents |
| Type: logical |
| Value: true | false |
| Default: false |
| Application | Setting |
|---|---|
| Debugging | True |
| Efficiency | False |
![]() | Configuration Parameters | SimEvents® Diagnostics Pane | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |