packageSimpleInternalReinit

Simple steady state initialization of an FMU, together with a re-initialization of the state from the FMU at an event, leading to a linear system of equations over FMUs during initialization

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Information

With this test model the following properties are tested:

  • Defining an FMU with incomplete initialization (so this FMU can only be simulated if additional initialization conditions are defined in the environment where the FMU is imported).
  • In the environment two instances are defined: The first instance is defined with a fixed state and the second instance is defined in steady-state.
  • This FMU leads to a linear algebraic equation over the FMU during initialization.
  • At an event instant, the internal state is re-initialized in the FMU.

Contents

NameDescription
WithFMUsReferenceReference solution in pure Modelica using exactly the same structuring as in Model WithFMUs
WithFMUsSolution with FMUs
FMUModelsFor all models in this package an FMU must be generated