Skip to Main content Skip to Navigation
Conference papers

Handling Multimode Models and Mode Changes in Modelica

Abstract : Since its version 3.3, the Modelica language offers the possibility to model multimode systems having different DAE-based dynamics in each mode, thanks to the introduction of state machines. When the differentiation index and structure varies with mode changes, compilers generate erroneous simulation code, often resulting in runtime exceptions. We propose in this paper a multimode structural analysis for both multiple modes and mode change events and we show how correct code for restarts can be generated. Our approach is illustrated on two simple but representative mechanical systems.
Complete list of metadata

https://hal.inria.fr/hal-03281410
Contributor : Mathias Malandain Connect in order to contact the contributor
Submitted on : Thursday, July 8, 2021 - 10:58:33 AM
Last modification on : Monday, April 4, 2022 - 9:28:24 AM
Long-term archiving on: : Saturday, October 9, 2021 - 6:25:38 PM

File

Modelica2021_ModeChangEx.pdf
Files produced by the author(s)

Licence


Distributed under a Creative Commons Attribution 4.0 International License

Identifiers

  • HAL Id : hal-03281410, version 1

Citation

Albert Benveniste, Benoît Caillaud, Mathias Malandain. Handling Multimode Models and Mode Changes in Modelica. Modelica 2021 - 14th International Modelica Conference, Sep 2021, Linköping, Sweden. pp.1-11. ⟨hal-03281410⟩

Share

Metrics

Record views

69

Files downloads

149