Given an atomic DEVS model, simulation algorithms are methods to generate the model's legal behaviors which are trajectories not to reach to illegal states. (see Behavior of DEVS). [Zeigler84] originally introduced the algorithms that handle time variables related to lifespan
Contents
- Common parts
- View 1 total states states elapsed times
- View 2 total states states lifespans elapsed times
- References
and
where
is equivalently computed as
, apparently
Since the behavior of a given atomic DEVS model can be defined in two different views depending on the total state and the external transition function (refer to Behavior of DEVS), the simulation algorithms are also introduced in two different views as below.
Common parts
Regardless of two different views of total states, algorithms for initialization and internal transition cases are commonly defined as below.
DEVS-simulator variables: parent // parent coordinatorView 1: total states = states * elapsed times
As addressed in Behavior of Atomic DEVS, when DEVS receives an input event, right calling
View 2: total states = states * lifespans * elapsed times
Notice that as addressed in Behavior of Atomic DEVS, depending on the value of