.DESLib.DEVSLib.UsersGuide.ParallelDEVS

Information

Parallel DEVS Formalism

Models in DEVS are constituted by an state (or a set of sequential states), input ports and output ports. The input and output ports are used to communicate with other models, sending and receiving events. The state of the model is modified in transitions, that occur at discrete points in time. These transitions are divided into external and internal ones. External transitions occur when a new event is received in the model. Internal transitions occur when a predefined time interval passes without receiving any event.

The main difference between Parallel DEVS and other DEVS formalisms, like Classic DEVS is that in Parallel DEVS an external transition and an internal transition can be executed at the same time. In Classic DEVS, only one of them will be executed at a time.

As described in [1], the basic formalism of a Parallel DEVS model is:
  DEVS = (X,Y,S,σext,σint,σcon,λ,ta)
with
   X is the set of input events.
   S is the set of sequential states.
   Y is the set of output events.
   σint: S -> S is the internal transition function.
   σext: Q × Xb -> S is the external transition function, where Xb is a set of bags over elements in X.
   σcon: S × Xb -> S S is the confluent transition function, subject to σcon(s,φ) = σint(s).
   λ: S -> Yb is the output function.
   ta: S -> R+0Uinf is the time advance function, where Q = {(s,e)|sS,0<e<ta(s)}. e is the elapsed time since the last transition.

Model behavior

The behavior of a Parallel DEVS model is the following:

References

[1] B.P.Zeigler, H.Praehofer and T.G.Kim.Theory of Modeling and Simulation (2ed). Academic Press,2000.


Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos