WSMParameterValues


is an option for functions such as WSMSimulate that specifies values for parameters.

DetailsDetails

  • Setting sets parameters to in the simulation or model.
  • Using for a simulation does not recompile the model.
  • Setting runs simulations in parallel, with taking values .

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Load Wolfram SystemModeler Link:

In[1]:=
Click for copyable input

Simulate with default parameters:

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

Change the offset to :

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

Simulate with a range of parameters:

In[1]:=
Click for copyable input

Vary the part of the momentum that is transferred to the next ball in the cradle:

In[2]:=
Click for copyable input

The angles of the first and last ball in the cradle for different parameters:

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

Create a model with a parameter value for par:

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