Handling Multimode Models and Mode Changes in Modelica - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2021

Handling Multimode Models and Mode Changes in Modelica


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.
Fichier principal
Vignette du fichier
Modelica2021_ModeChangEx.pdf (363.78 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-03281410 , version 1 (08-07-2021)





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, ⟨10.3384/ecp21181507⟩. ⟨hal-03281410⟩
86 View
224 Download



Gmail Facebook Twitter LinkedIn More