Table of Contents

Events

Simulation events are used to perform actions during a simulation. An event can be triggered either when a condition is met or at a predetermined time point. There are several blocks that can be associated to events; the transfer block can discretely move inventory between compartments when an event trigger, the snapshot block needs an event to let it know when to take a snapshot, etc.

Time events

Time events are defined with the time event block. An event can be set to trigger at a specific time point, or repeatedly. This event type is the most common.

Example use cases could be:

Discrete events

Discrete events are very flexible and allow an event to trigger based on a condition which compares two values in the model. They are defined using the discrete event block.

Example use cases could be:

Reacting to events

See also