Generalized discrete event abstraction of continuous systems: GDEVS formalism

https://doi.org/10.1016/j.simpat.2005.02.009Get rights and content

Abstract

In this paper, we propose to model basic continuous component of dynamic systems in a way that facilitate the transposition to a G-DEVS model, which is a paradigm that offers the ability to develop a uniform approach to model hybrid systems (abstraction closer to real systems), i.e. composed of both continuous and discrete components. In that, our approach is clearly a discrete event approach where the choice of the time interval between two steps of calculation is based on the behavior changes of the process and no longer constant and/or a priori given, the underlying objective being to strictly satisfy to a given accuracy with a low computational cost. More precisely, we present a generalized discrete event model of an integrator using polynomial descriptions of input–output trajectories. We shall show its great capability of easily handling the delicate problem of input discontinuities, and a detailed comparison with classical discrete time simulation methods, will demonstrate its relevant properties. Several examples, including a complete hybrid system, will illustrate our results.

Introduction

The development of a simulation model requires one to start with a formal specification that is independent of the simulation implementation details. According to [1], and in particular [2], starting from a general specification of a dynamic system, one can specify a simulation model in one of the three following paradigms: a set of differential equations, a discrete time formalism or a discrete event formalism.

There is a fourth paradigm that emerges from a careful analysis of the role of time: difference equation formalism. In other words, following the observing of a real system, one may choose any one of these paradigms to specify a simulation model. In theory, one has to choose the paradigm that would appear to best solve the problem. It may be pointed out that the choice of the paradigm is often based on historical practices within the given domain. Realizing that discrete event formalisms and discrete event simulation techniques have attained certain maturity, it is logical to promote their utilization in every field, wherever appropriate, including design automation, computer sciences, and manufacturing.

While the analog computers of the 1950s and 1960s were capable of modelling continuous systems, the representation and execution on today’s digital computer requires the use of discrete event or discrete time techniques. Continuous simulation is based on discrete time techniques, and is capable of representing “soft changes,” i.e. little changes between two consecutive discrete time values, in a system behavior. In contrast, in discrete event formalisms, the events encapsulate “abrupt changes” in a system behavior, which constitutes the source of the inaccuracies in continuous simulation.

A key characteristic of a classical discrete event abstraction [3], [4] is that it utilizes piecewise constant input–output trajectories to develop a discrete event model of a continuous dynamic system. Given a dynamic system, the trajectories are extracted through threshold sensors and utilized in synthesizing a discrete event model.

We have proposed to generalize the abstraction beyond the constant input–output trajectories [5], [6]. This new approach is termed GDEVS (Generelized Discret Event Specification) [7], [8]. In GDEVS (Generalized Discrete EVent Specification) the input, output and state trajectories are organized through piecewise polynomial segments. The utilization of arbitrary polynomial functions for segments promises higher accuracies in modeling continuous processes as classical discrete event abstractions that, in turn, permit faster execution on host computers in contrast to continuous simulations. The GDEVS abstraction has also been utilized to model and simulate, for the first time, logic gates with fuzzy delays [9].

Moreover the G-DEVS paradigm offers the ability to develop a uniform approach to model hybrid systems (abstraction closer to real systems), i.e. composed of both continuous and discrete components [10].

In this context it was interesting to model basic continuous component of dynamic systems in a way that facilitate the transposition to a G-DEVS model. Consequently our approach is clearly a discrete event approach where the choice of the time interval between two steps of calculation is based on the behaviour changes of the process and no longer constant and a priori given. The underlying objective is to strictly satisfy to a given accuracy.

In this paper we propose a generalized discrete event model of an integrator using piecewise linear input–output trajectories. We will demonstrate that the state transitions of the system due to external or internal events is therefore easily formalized in G-DEVS. We will show how the output errors of the G-DEVS model remain smaller than a given tolerance and the possibility to change this tolerance according to different strategic choices. In effect it can be interesting to set this accuracy index at a high level in particular when the dynamics of the system is important. On the other hand, in some particular case it would be preferable to relax this condition. The preceding property will definitely distinguish this approach to the fixed step classical methods. Moreover the remarkable behaviour on input discontinuities will be emphasized, and a detailed comparison with classical discrete time approaches such as the basic Euler method is widely discussed, leading to the perspective of an efficient use of this approach in real-time simulation. However, we shall show how using G-DEVS paradigm, we avoid the problem of convenient synchronization protocols in either mixed-mode simulation or distributed simulation. Several examples, including an hybrid-system illustrates our main results.

Section snippets

Specification of a discrete event behavioral model

According to the literature on DEVS [2], [3], [11], the specification of a discrete event model is a structure, say M, given byM=<X,S,Y,δint,δext,l,D>where X is the set of the external input events, S the set of the sequential states, Y the set of the output events, δint is the internal transition function that defines the state changes caused by internal events, δext is the external transition function that specifies the state changes due to external events, l is the output function, and the

GDEVS: Generalized Discrete Event Specification of a dynamic system

For complex real-world systems that are highly dynamic, the use of piecewise constant input–output trajectories may not succeed in accurately modelling the system behavior by a discrete event abstraction. In GDEVS [7], the target real-world system is modelled through piecewise continuous polynomial segments.

Basical dynamical element: The integrator

In order to describe complex models using the concept of coupled models, we propose, in the following, a first-order G-DEVS model of an integrator, which is the basic element of continuous models. See [20] for moe details. We show how the output of the G-DEVS integrator remains smaller than a given tolerance and the possibility to change this tolerance according to different strategic choices.

Conclusion

In this paper we have proposed to model basic continuous components of dynamic systems in a way that facilitate the transposition to a G-DEVS model. In particular, we have presented a generalized discrete event model of an integrator using polynomial descriptions of input–output trajectories.

Our discrete event approach was clearly motivated by the underlying objective to strictly satisfy to a given accuracy, and to offer the ability to develop a uniform approach to model hybrid systems

References (25)

  • K. Astron, H. Elmquist, S. Mattson, Evolution of continuous time modeling and simulation, in: 12th ESM, Manchester,...
  • H. Praehofer

    System theoretic formalisms for combined discret-continuous system simulation

    Int. J. Gen. Syst.

    (1991)
  • B. Zeigler

    Multifaceted Modelling and Discrete Event Simulation

    (1984)
  • B. Zeigler

    Object-oriented Simulation with Hierarchical, Modular Models

    (1990)
  • B. Zeigler, DEVS representation of dynamical systems, in: Proceedings of the IEEE, vol. 77, 1989, pp....
  • Q. Wang et al.

    Time windows: automated abstraction of continuous time models into discrete event models in high autonomy systems

    Int. J. Gen. Syst.

    (1991)
  • N. Giambiasi, B. Escudé, S.Ghosh, GDEVS: A Generalized Discrete Event Specification for Accurate Modeling of Dynamic...
  • N. Giambiasi et al.

    G-DEVS: A Generalized Discrete Event specification for accurate modelling of dynamic systems

    Trans. S.C.S.I.

    (2000)
  • N. Giambiasi, M. Smaili, C. Frydman, Discrete event simulation with fuzzy times, in: European Simulation Symposium,...
  • C. Hoare

    Proc. IEEE

    (1989)
  • B. Zeigler

    Theory of Modeling and Simulation

    (1976)
  • C. Chicoix, N. Giambiasi, J. Clapier, An accurate time delay model for large digital network simulation, in: Design...
  • Cited by (28)

    • Discrete-continuous dynamic simulation of plantwide batch process systems in MATLAB

      2020, Chemical Engineering Research and Design
      Citation Excerpt :

      If system dynamics are largely dictated by discrete elements, one can try to find local approximations of the continuous system trajectory in such a way that they can be handled by a discrete-event solver. This is not element of this article, and a large base of literature around the GDEVS framework is available (Giambiasi and Carmona, 2006; D’Abreu and Wainer, 2003; Giambiasi et al., 2001). Furthermore, in the form of PowerDEVS (Bergero and Kofman, 2011), a Simulink-like process simulator with user-friendly graphic implementation features is available.

    • Maneuvering control simulation of underwater vehicle based on combined discrete-event and discrete-time modeling

      2012, Expert Systems with Applications
      Citation Excerpt :

      Fishwick researched an animation technique in computer graphics using combined discrete-event and continuous-time system simulation (Fishwick & Porr, 1993). Some researches have proposed extended DEVS to cover a continuous system (Cellier & Kofman, 2006; Giambiasi & Carmona, 2006; Kofman, 2003), and further others have proposed a new formalism to model such a combined system (Choi, Bae, & Kim, 2006; Fishwick & Zeigler, 1992). With the aim of applying the combined discrete-event and time system simulation method practically, the method was adopted in designing a smart automated highway system (AHS) (Antoniotti, Gollu, & Hertschuh, 1997; Kourjanski et al., 1997), screening for diabetic retinopathy in a healthcare (Brailsford, Gutjahr, Rauner, & Zeppelzauer, 2007), a supply-chain (Godding, Sarjoughian, & Kempf, 2007; Lee, Cho, Kim, & Kim, 2002), micro-air vehicles (MAVs) (Xia & Lin, 2003), and autonomous underwater vehicles (AUVs) (Xiang, Xu, Zhang, Xiao, & Huang, 2007).

    • An event-driven simulator for multi-line metro systems and its application to Santiago de Chile metropolitan rail network

      2011, Simulation Modelling Practice and Theory
      Citation Excerpt :

      For the simulation, an event-driven scheme was chosen, in contrast to the continuous simulation paradigm [16]. This means that, instead of integrating dynamic differential or difference equations that define the system’s behavior at each moment in time, the choice of the time interval between two steps of calculation is based on the behavior changes of the process and no longer constant [17]; thus, the processing is only conducted at irregular moments of discrete time. At each of these moments, or steps, the system’s state variables are updated and the time at which the next step should occur is calculated.

    View all citing articles on Scopus
    View full text