WOLFRAM SYSTEMMODELER LINK PACKAGE

Modelica Simulation (.sme)

  • Import supports files generated in Wolfram SystemModeler Version 3 and later.

BackgroundBackground

    Modelica simulation files generated in Wolfram SystemModeler Simulation Center.
    File format created by Wolfram Research, Inc.
    Imported result data is represented as WSMSimulationData.

Import and ExportImport and Export

  • Import["file.sme",{"WSMSimulationData"}] imports the specified simulation data file and makes it available in the Wolfram Language.

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Load Wolfram SystemModeler Link:

In[1]:=
Click for copyable input

Import data from a simulation:

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

Plot some of the variables:

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

Imported data has the same properties as WSMSimulationData:

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

Parameters, variables, and sensitivities that have been saved in the simulation are available:

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

The parameter value for has been changed in the simulation:

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