Simulink Control Design™ - MathWorks

(Tuis.) #1
Numerical perturbation level, specified as the comma-separated pair consisting of
'NumericalPertRel' and a positive scalar. This option applies only when
LinearizationAlgorithm is 'numericalpert' or 'numericalpert2'.

The perturbation levels for the system states are:

NumericalPertRel+10−^3 ×NumericalPertRel×x

The perturbation levels for the system inputs are:

NumericalPertRel+10−^3 ×NumericalPertRel×u

You can override these values using the NumericalXPert or NumericalUPert options.

NumericalXPert — State perturbation levels
[] (default) | operating point object

State perturbation levels, specified as the comma-separated pair consisting of
'NumericalXPert' and an operating point object. This option applies only when
LinearizationAlgorithm is 'numericalpert' or 'numericalpert2'.

To set individual perturbation levels for each state:

1 Create an operating point object for the model using the operpoint command.

xPert = operpoint('watertank');

(^2) Set the state values in the operating point object to the perturbation levels.
xPert.States(1).x = 2e-3;
xPert.States(2).x = 3e-3;
(^3) Set the value of the NumericalXPert option to the operating point object.
opt = linearizeOptions('LinearizationAlgorithm','numericalpert');
opt.NumericalXPert = xPert;
If NumericalXPert is empty, [], the linearization algorithm derives the state
perturbation levels using NumericalPertRel.
NumericalUPert — Input perturbation levels
[] (default) | operating point object
15 Alphabetical List

Free download pdf