SystemModeler Link >

WSMSetValues


sets to in the Modelica model .

sets the initial values for to in the Modelica model .
  • sets values for the Wolfram SystemModeler kernel.
  • allows you to set parameter values and input variables.
  • With , initial values can be set for all variables and parameters.
Load Wolfram SystemModeler Link:
Change the value for the parameter a from to :
Set the start value of the variable x to :
Load Wolfram SystemModeler Link:
In[1]:=
Click for copyable input
 
Change the value for the parameter a from to :
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
 
Set the start value of the variable x to :
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Use a model with a multidimensional variable:
Set the initial values for the variable:
The start value of the variable is updated:
Transfer a StateSpaceModel of a mass-spring-damper system into a SystemModeler model:
Simulate the changed model:
Transfer a mass-spring-damper TransferFunctionModel into a model:
Get coefficients for denominator and numerator:
Set coefficients in the model:
Simulate the changed model:
Design a controller in Mathematica, and change the model to use chosen control parameters:
Get the transfer function for the model:
Interactively design a PI controller:
Set chosen values in the model with a controller:
Simulate the model with a controller and verify the result:
Define a model:
Simulating with initial values does not change the model:
Change the start value with :