WSMLink`
WSMLink`
WSMSensitivityName
WSMSensitivityName is being phased out in favor of using {var,par}.
WSMSensitivityName[var,par]
refers to the name of a partial derivative of var with respect to par.
Details and Options
- WSMSensitivityName is used as input to WSMSimulationData.
- For WSMSimulationData sim, sim["SensitivityNames"] gives a list of sensitivities.
Examples
open allclose allBasic Examples (3)Summary of the most common use cases
Load Wolfram SystemModeler Link:
In[1]:=1

✖
https://wolfram.com/xid/0l8vpas1idkbdnu9pt3raqgn5asa-1lfiej
WSMSensitivityName is used in WSMSimulationData:
In[1]:=1

✖
https://wolfram.com/xid/0l8vpas1idkbdnu9pt3raqgn5asa-jq04ty
In[2]:=2

✖
https://wolfram.com/xid/0l8vpas1idkbdnu9pt3raqgn5asa-grv9av
Out[2]=2

The property "SensitivityNames" returns a list of WSMSensitivityName:
In[3]:=3

✖
https://wolfram.com/xid/0l8vpas1idkbdnu9pt3raqgn5asa-403h0v
Out[3]=3

Sensitivities can be retrieved similarly to other variables:
In[4]:=4

✖
https://wolfram.com/xid/0l8vpas1idkbdnu9pt3raqgn5asa-wwdtkz
Out[4]=4

WSMSensitivityName can be used in WSMPlot:
In[1]:=1

✖
https://wolfram.com/xid/0l8vpas1idkbdnu9pt3raqgn5asa-tspqwi
In[2]:=2

✖
https://wolfram.com/xid/0l8vpas1idkbdnu9pt3raqgn5asa-b6qywa
Get the available sensitivities:
In[3]:=3

✖
https://wolfram.com/xid/0l8vpas1idkbdnu9pt3raqgn5asa-q3hlj
Out[3]=3

Plot the sensitivity of y with respect to a:
In[4]:=4

✖
https://wolfram.com/xid/0l8vpas1idkbdnu9pt3raqgn5asa-g4pyaz
Out[4]=4

Properties & Relations (2)Properties of the function, and connections to other functions
The arguments of WSMSensitivityName are DotName:
In[10]:=10

✖
https://wolfram.com/xid/0l8vpas1idkbdnu9pt3raqgn5asa-ux5417
Get the first sensitivity name from the simulation:
In[11]:=11

✖
https://wolfram.com/xid/0l8vpas1idkbdnu9pt3raqgn5asa-ngdmk6
Out[11]=11

FullForm shows the structure of WSMSensitivityName:
In[12]:=12

✖
https://wolfram.com/xid/0l8vpas1idkbdnu9pt3raqgn5asa-4qmfrf

WSMSensitivityName is automatically formatted:
In[1]:=1

✖
https://wolfram.com/xid/0l8vpas1idkbdnu9pt3raqgn5asa-8ar8qn
Out[1]=1

The formatted version can be copied, pasted and used as input without loss of information:
In[2]:=2

✖
https://wolfram.com/xid/0l8vpas1idkbdnu9pt3raqgn5asa-h28pg1
