WOLFRAM SYSTEMMODELER LINK PACKAGE

Modelica Model (.mo, .moe)

BackgroundBackground

    Modelica models.
    File format specified by the Modelica Association.
    ASCII format.

Import and ExportImport and Export

  • Import["file.mo",{"ModelicaModel"}] imports the specified model to SystemModeler and makes it available in the Wolfram Language.
  • Saving of Modelica models can be done using WSMSaveModel.

ElementsElements

  • Import element:
  • "ModelicaModel" loads the model from file

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Load Wolfram SystemModeler Link:

In[1]:=
Click for copyable input

Import a model:

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

Examine the model's equations:

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

Simulate the model:

In[4]:=
Click for copyable input
In[5]:=
Click for copyable input
Out[5]=