WOLFRAM SYSTEMMODELER LINK PACKAGE

Modelica Model (.mo, .moe)

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.
  • Export of Modelica models can be done from the WSMModelCenter.

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
Out[1]=

Examine the model's equations:

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

Simulate the model:

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