packageSimpleReinit

Simple steady state initialization of an FMU, together with a re-initialization of the state at an event, leading to a linear algebraic system of equations 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 one instance is defined with steady-state initialization in an initial equation section.
  • This FMU leads to a linear algebraic equation over the FMU during initialization.
  • At an event instant, the internal state is re-initialized from the environment.

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