WOLFRAM SYSTEMMODELER LINK PACKAGE

FMU (.fmu)

  • Export supports Versions 1.0 and 2.0 of the FMI standard for model exchange.

BackgroundBackground

    Model or component with defined interfaces for simulation.
    A Functional Mockup Unit (FMU) implements the Functional Mockup Interface (FMI).
    An FMU for model exchange represents an ODE model with events.
    Contains a binary library with a standardized C interface.
    Contains XML file with variable definitions and other model information.

Import and ExportImport and Export

  • Export["file.fmu","mmodel","FMU"] exports an FMU for Modelica model mmodel.

OptionsOptions

  • Export option:
  • "FMIVersion"Automaticversion of FMI standard
  • Supported "FMIVersion" settings are: Automatic, "1.0" and "2.0".

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Load Wolfram SystemModeler Link:

In[1]:=
Click for copyable input

Export an FMU for model exchange:

In[1]:=
Click for copyable input
Out[1]=

Export an FMU for model exchange using FMI 1.0:

In[1]:=
Click for copyable input
Out[1]=

Use the diagram representation of a model as input:

In[1]:=
Click for copyable input
Out[1]=