DEVS, abbreviating discrete event system specification, is a modular and hierarchical formalism for modeling and analyzing general systems that can be discrete event systems which might be described by state transition tables, and continuous state systems which might be described by differential equations, and hybrid continuous state and discrete event systems. DEVS is a timed event system.
History DEVS is a formalism for modeling and analysis of discrete event systems (DESs). The DEVS formalism was invented by Bernard P. Zeigler, who is emeritus professor at the University of Arizona. DEVS was introduced to the public in Zeigler's first book, Theory of Modeling and Simulation in 1976, while Zeigler was an associate professor at University of Michigan. DEVS can be seen as an extension of the Moore machine formalism, which is a finite state automaton where the outputs are determined by the current state alone (and do not depend directly on the input). The extension was done by
associating a lifespan with each state, providing a hierarchical concept with an operation, called coupling, Since the lifespan of each state is a real number (more precisely, non-negative real) or infinity, it is distinguished from discrete time systems, sequential machines, and Moore machines, in which time is determined by a tick time multiplied by non-negative integers. Moreover, the lifespan can be a random variable; for example the lifespan of a given state can be distributed exponentially or uniformly. The state transition and output functions of DEVS can also be stochastic. Zeigler proposed a hierarchical algorithm for DEVS model simulation in 1984 which was published in Simulation journal in 1987. Since then, many extended formalism from DEVS have been introduced with their own purposes: DESS/DEVS for combined continuous and discrete event systems, P-DEVS for parallel DESs, G-DEVS for piecewise continuous state trajectory modeling of DESs, RT-DEVS for realtime DESs, cell-DEVS for cellular DESs, fuzzy-DEVS for fuzzy DESs, dynamic structuring DEVS for DESs changing their coupling structures dynamically, and so on. In addition to its extensions, there are some subclasses such as SP-DEVS and FD-DEVS have been researched for achieving decidability of system properties. Due to the modular and hierarchical modeling views, as well as its simulation-based analysis capability, the DEVS formalism and its variations have been used in many application of engineering (such as hardware design, hardware/software codesign, communications systems, manufacturing systems) and science (such as biology, and sociology)
Formalism
Intuitive example DEVS defines system behavior as well as system structure. System behavior in DEVS formalism is described using input and output events as well as states. For example, for the ping-pong player of Fig. 1, the input event is ?receive, and the output event is !send. Each player, A, B, has its states: Send and Wait. Send state takes 0.1 seconds to send back the ball that is the output event !send, while the Wait state lasts until the player receives the ball that is the input event ?receive. The structure of ping-pong game is to connect two players: player A's output event !send is transmitted to player B's input event ?receive, and vice versa. In the classic DEVS formalism, atomic DEVS captures the system behavior, while coupled DEVS describes the structure of system. The following formal definition is for classic DEVS. In this article, we will use the time base, 𝕋=[0,∞) that is the set of non-negative real numbers; the extended time base,𝕋∞=[0,∞] that is the set of non-negative real numbers plus infinity.
Event segment A segment of a system variable in computing shows a homogenous status of system dynamics over a time period. Here, a homogenous status of a variable is a state which can be described by a set of coefficients of a formula. For example, of homogenous statuses, we can bring status of constant ('ON' of a switch) and linear (60 miles or 96 km per hour for speed). Mathematically, a segment is a function mapping from a set of times which can be defined by a real interval, to the set Z [Zeigler76], [ZPK00], [Hwang13]. A trajectory of a system variable is a sequence of segments concatenated. We call a trajectory constant (respectively linear) if its concatenating segments are constant (respectively linear). An event segment is a special class of the constant segment with a constraint in which the constant segment is either one of a timed event or a null-segment. The event segments are used to define timed event systems such as DEVS, timed automata, and timed Petri nets.
Types The time base of the concerning systems is denoted by 𝕋, and definedas the set of non-negative real numbers. An event is a label that abstracts a change. Given an event set Z, the null event denoted by ϵ∉Z stands for nothing change. A timed event is a pair (t,z) where t∈𝕋 and z∈Z denotes that an event z∈Z occurs at time t∈𝕋. The null segment over time interval [tl,tu]⊂𝕋 is denoted by ϵ[tl,tu] which means nothing in Z occurs over [tl,tu]. A unit event segment is either a null event segment or a timed event. Given an event set Z, concatenation of two unit event segments ω over [t1,t2] and ω′ over [t3,t4] is denoted by ωω′ whose time interval is [t1,t4], and implies t2=t3. An event trajectory (t1,z1)(t2,z2)⋯(tn,zn) over an event set Z and a time interval [tl,tu]⊂𝕋 is concatenation of unit event segments ϵ[tl,t1],(t1,z1),ϵ[t1,t2],(t2,z2),…,(tn,zn), and ϵ[tn,tu] where tl≤t1≤t2≤⋯≤tn−1≤tn≤tu.
Mathematically, an event trajectory is a mapping ω a time period [tl,tu]⊆𝕋 to an event set Z. So we can write it in a function form :
Timed language The universal timed language ΩZ,[tl,tu] over an event set Z and a time interval [tl,tu]⊂𝕋, is the set of all event trajectories over Z and [tl,tu]. A timed language L over an event set Z and a timed interval [tl,tu] is a set of event trajectories over Z and [tl,tu] if L⊆ΩZ,[tl,tu].
… excerpt ends here. Continue reading the full article.
