Skip to content

FMI-LS-DAE v1.0.0-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 11 Sep 11:02
· 1 commit to main since this release
v1.0.0-alpha.1
642e7b6

FMI-LS-DAE 1.0.0-alpha.1

This is the first pre-release of the FMI Layered Standard for Differential-Algebraic Equations (FMI-LS-DAE). It specifies how semi-explicit index-1 differential-algebraic equations can be exposed by FMI 3.0 Model Exchange FMUs, so that the algebraic equations and their
associated algebraic variables are solved by the importer instead of inside the FMU.

The specification of version 1.0.0-alpha.1 is published at modelica.github.io/fmi-ls-dae/v1.0.0-alpha.1.

Being a pre-release, this version is published for review and for prototype implementations. The specification is not yet stable and is subject to change before version 1.0.0 is released.

Key features

  • A layered standard manifest stored inside the FMU at /extra/org.fmi-standard.fmi-ls-dae/fmi-ls-manifest.xml, defined by the XML
    schema fmi3LayeredStandardDaeManifest.xsd.
  • Declaration of the algebraic variables and of the residual equations of the DAE in the manifest, together with the model structure and the dependencies of outputs, continuous state derivatives, event indicators and residuals. The dependency information preserves the sparsity of the DAE system, which is lost in the corresponding reduced ODE system.
  • A structural parameter enableDAEModeParameter that switches the FMU between ODE mode and DAE mode. An FMU implementing this layered standard is at the same time a valid FMI 3.0 Model Exchange ODE FMU and defaults to ODE mode, so that importers that do not support this layered standard can use it unchanged.
  • No extension of the FMI 3.0 C API is required. Algebraic variables and residuals are exchanged through the existing FMI 3.0 getter and setter functions.

As a consequence, index reduction and local non-linear equation solvers are no longer required inside the FMU.

Merged pull requests

Scope and known limitations

  • The standard is restricted to semi-explicit index-1 DAEs; higher-index formulations are not supported.
  • Consistent initialization in DAE mode is not specified yet.
  • Behavior associated with discontinuities and event handling is not specified yet.

Intended audience

This pre-release is addressed to developers of FMI importing and exporting tools and to members of the Modelica Association Project FMI.

Full Changelog: https://github.com/modelica/fmi-ls-dae/commits/v1.0.0-alpha.1