Hilding Elmqvist
Dassault Systèmes AB, Ideon Science Park, Lund, Sweden
Sven Erik Matsson
Dassault Systèmes AB, Ideon Science Park, Lund, Sweden
Martin Otter
German Aerospace Center (DLR), Institute of System Dynamics and Control, Wessling, Germany
Download article
http://dx.doi.org/10.3384/ecp14096183Published in: Proceedings of the 10th International Modelica Conference; March 10-12; 2014; Lund; Sweden
Linköping Electronic Conference Proceedings 96:19, p. 183-193
Published: 2014-03-10
ISBN: 978-91-7519-380-9
ISSN: 1650-3686 (print), 1650-3740 (online)
This paper describes a proposal for modeling systems with multiple operating modes; such as changing a controller from nominal operation to startup or shutdown or describing failure situations where the model structure is changing (e.g. an electrical line or a mechanical shaft breaks). This is achieved by extending the Modelica 3.3 synchronous state machines to continuous-time state machines having continuous-time models as “states”. Every model can be a “state” of a state machine; and in particular certain acausal models. Currently; no new language element is needed for Modelica; but a generalized semantics for State Machines has to be introduced; such as “merge semantics for differential equations“. Symbolic transformations are still handled during translation; so the generated code is efficient and there is no run-time interpreter. On the other; this feature restricts the class of multi-mode systems that can be handled.
Multi-mode; failure simulation; dynamically changing states; continuous-time state machine; hybrid state machine.