SystemModelParametricSimulate

SystemModelParametricSimulate[model,v,{p1,p2,}]

simulates model for the variable v with parameters pi.

SystemModelParametricSimulate[model,{v1,v2,},{p1,p2,}]

simulates model for multiple variables vi.

SystemModelParametricSimulate[model,vars,tmax,]

simulates from 0 to tmax.

SystemModelParametricSimulate[model,vars,{tmin,tmax},]

simulates from tmin to tmax.

Details and Options

Examples

open allclose all

Basic Examples  (3)

Get a parametric solution for z with parameter a:

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

Evaluating with a numerical value of a gives an approximate function solution for z:

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

Evaluate at a time t=10:

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

Plot the solutions for several different values of the parameter:

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

Get a parametric solution for z with respect to the initial value of y:

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

Plot the solutions for several different values of the parameter:

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

Show the sensitivity of the variable z to the parameter a:

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

The sensitivity with respect to a increases with time:

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

Options  (1)

Applications  (3)

Properties & Relations  (1)

See Also

ParametricFunction  SystemModelSimulate  SystemModelSimulateSensitivity  SystemModel  ParametricNDSolveValue  DSolveValue  SystemModelExamples

Introduced in 2018
(11.3)