Behavior of coupled DEVS
|
|
It has been suggested that this article or section be merged into DEVS. (Discuss) Proposed since August 2009. |
DEVS is closed under coupling [Zeigper84] [ZPK00]. In other words, given a coupled DEVS model N, its behavior is described as an atomic DEVS model M. For a given coupled DEVS N, once we have an equivalent atomic DEVS M, behavior of M can be referred to behavior of atomic DEVS which is based on Timed Event System.
Similar to behavior of atomic DEVS, behavior of the Coupled DEVS class is described depending on definition of the total state set and its handling as follows.
Contents |
[edit] View1: Total States = States * Elapsed Times
Given a coupled DEVS model N = < X,Y,D,{Mi},Cxx,Cyx,Cyy,Select > , its behavior is described as an atomic DEVS model M = < X,Y,S,s0,ta,δext,δint,λ >
where
- X and Y are the input event set and the output event set, respectively.
is the partial state set where
is the total state set of component
(Refer to View1 of Behavior of DEVS), where
is the set of non-negative real numbers.
is the initial state set where q0i = (s0i,0) is the total initial state of component
.
is the time advance function, where
is the set of non-negative real numbers plus infinity.Given
,

is the external state function. Given a total state q = (s,te) where
, and input event
, the next state is given by

where

Given the partial state
, let
denote the set of imminent components. The firing component
which triggers the internal state transition and an output event is determined by
is the internal state function. Given a partial state
, the next state is given by

where

is the output function. Given a partial state
,

[edit] View2: Total States = States * Lifespan * Elapsed Times
Given a coupled DEVS model N = < X,Y,D,{Mi},Cxx,Cyx,Cyy,Select > , its behavior is described as an atomic DEVS model M = < X,Y,S,s0,ta,δext,δint,λ >
where
- X and Y are the input event set and the output event set, respectively.
is the partial state set where
is the total state set of component
(Refer to View2 of Behavior of DEVS).
is the initial state set where q0i = (s0i,tai(s0i),0) is the total initial state of component
.
is the time advance function. Given
,

is the external state function. Given a total state q = (s,ts,te) where
, and input event
, the next state is given by

where

and

Given the partial state
, let
denote the set of imminent components. The firing component
which trigers the internal state transition and an output event is determined by
is the internal state function. Given a partial state
, the next state is given by

where

is the output function. Given a partial state
,

[edit] Time Passage
Since in a coupled DEVS model with non-empty sub-components, i.e., | D | > 0, the number of clocks which trace their elapsed times are multiple, so time passage of the model is noticeable.
- For View1
Given a total state
where 
If unit event segment ω is the null event segment, i.e.
, the state trajectory in terms of Timed Event System is

- For View2
Given a total state
where 
If unit event segment ω is the null event segment, i.e.
, the state trajectory in terms of Timed Event System is

[edit] Remarks
- The behavior of a couple DEVS network whose all sub-components are deterministic DEVS models can be non-deterministic if Select(IMM(s)) is non-deterministic.
[edit] See also
[edit] References
- [Zeigler84] Bernard Zeigler (1984). Multifacetted Modeling and Discrete Event Simulation. Academic Press, London; Orlando. ISBN 978-0127784502.
- [ZKP00] Bernard Zeigler, Tag Gon Kim, Herbert Praehofer (2000). Theory of Modeling and Simulation (second ed.). Academic Press, New York. ISBN 978-0127784557.
is the partial state set where
is the total state set of component
(Refer to
is the set of non-negative real numbers.
is the initial state set where
is the time advance function, where
is the set of non-negative real numbers plus infinity.Given
,

is the external state function. Given a total state
, and input event
, the next state is given by

is the internal state function. Given a partial state 
is the output function. Given a partial state 
is the total state set of component
,

is the external state function. Given a total state
, and input event 
