Hybrid Dynamics in Modelica: Should all Events be Considered Synchronous
نویسنده
چکیده
The Modelica specification is ambiguous as to whether all the events are synchronous are not. Different interpretations are possible leading to considerable differences in the ways models should be constructed and compilers developed. In this paper we examine this issue and show that there exists an interpretation that is more appropriate than others leading to more efficient compilers. It turns out that this interpretation is not the one currently adopted by Dymola but it is closely related to the Scicos formalism.
منابع مشابه
Modeling of mixed Continuous/Discrete Systems in Modelica
2 Basic language elements for hybrid models in Modelica 2 2.1 Synchronous continuous and discrete equations . . . . . . . . . . . . . . . . . . . . . . . 2 2.2 Relation triggered state and time events . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.3 Left and right limit of a variable (operator pre) . . . . . . . . . . . . . . . . . . . . . . . 8 2.4 Event synchronization . . . . . . ...
متن کاملObject - oriented and Structural - dynamic Modeling and Simulation I
The SNE special issues on Object-oriented and Structural-dynamic Modelling and Simulation emphasize on recent developments in languages and tools for object-oriented modelling of complex systems and on approaches, languages and tools for structural-dynamic systems. Computer aided modelling and simulation of complex systems , using components from multiple application domains, have in recent yea...
متن کاملHybrid Modeling in Modelica based on the Synchronous Data Flow Principle
The unique features of the object-oriented modeling language Modelica to model combined continuous time and discrete event systems are discussed. A hybrid Modelica model is described by a set of synchronous differential, algebraic and discrete equations leading to deterministic behaviour and automatic synchronization of the continuous and discrete parts of a model. The consequences of this view...
متن کاملSynchronous Events in the OpenModelica Compiler with a Petri Net Library Application
In this work an approach is presented that extends the OpenModelica Compiler (OMC) with an event handling module and controls events separately from the integrator. The aim of this extension is to improve the event handling controller of the OMC to handle all equations synchronously, resulting in an efficient simulation of hybrid dynamical systems. This improvements of the event handling allows...
متن کاملOn the Connection of Equation- and Automata-based Languages: Transforming the Compositional Interchange Format to Modelica
In recent years, the object-oriented Modelica formalism for dynamic hybrid models has become a de-facto standard for the equation-based modeling, design, and analysis of complex, heterogeneous systems. It provides powerful mechanisms for model structuring and consistent model re-use, and a variety of tools are available that are based on the Modelica formalism. In this paper, an algorithmic tra...
متن کامل