Previous section-----Next section

SensitivitySystem
2D/3D

SensitivitySystem is the head of the data object returned by SetSensitivity.

• The format of the SensitivitySystem data object is SensitivitySystem[symbols, initialconditions, Jacobian, derivatives, variables].
SensitivitySystem is not intended to be used external to Mech.
• See also:
SolveSensitivity.

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.

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.

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.

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.

See HelpModel2D.