SetSensitivity 2D/3D• SetSensitivity[symbols] builds a SensitivitySystem object containing the equations necessary to find the sensitivity of the current model to changes in the symbols. • SetSensitivity returns a SensitivitySystem object that is solved with SolveSensitivity. • The SensitivitySystem object is solved with SolveSensitivity. • SetSensitivity accepts the InitialCondition option to specify the configuration of the mechanism at which the sensitivity is determined. The default setting is InitialCondition>Automatic. • See also: SetFree. Further Examples Load the Modeler2D package and define a simple model. Here we rebuild the RelativeDistance1 constraint in the help model so that the distance between the link end and the ground pivot is parameterized by the new variable endDistance. This constraint is identical to the original constraint with the addition of endDistance in place of the constant 4.0.
Out[4]=  
Now we build a SensitivitySystem object that can be used to find the sensitivity of the system configuration to changes in the value of endDistance.
Out[5]=  
Here we solve the SensitivitySystem object to find the sensitivity to changes in endDistance and the configuration of the entire model. The sensitivity values are returned as if they are velocity coordinates.
Out[6]=  
The sensitivity can be thought of as the velocity of each body if the normal dependency on time T is removed and replaced with a new dependency where the value of endDistance is changing at a rate of one unit per second. Thus, the sensitivity of any particular dimension in the model can be inspected as if it were the rate of change of the dimension with respect to time. Here is the sensitivity of the slider origin location with respect to changes in endDistance.
Out[7]=  
See HelpModel2D.
