Batch Linearize Model for Parameter Variations at
Single Operating Point
In this example, you vary model parameters and linearize a model at its nominal
operating conditions using the linearize command.
You can batch linearize a model for parameter variations at a single operating point to
study:
- Plant dynamics for varying component tolerances.
- Controller robustness to variations in plant parameters.
- Transient responses for varying controller gains.
The scdcascade model contains two cascaded feedback control loops. Each loop
includes a PI controller. The plant models, G1 and G2, are LTI models.
For this model, the model operating point represents the nominal operating conditions of
the system. Therefore, you do not have to trim the model before linearization. If your
application includes parameter variations that affect the operating point of the model, you
must first batch trim the model for the parameter variations. Then, you can linearize the
model at the trimmed operating points. For more information, see “Batch Linearize Model
at Multiple Operating Points Derived from Parameter Variations” on page 3-25.
To examine the effects of varying the outer-loop controller gains, linearize the model at
the nominal operating point for each combination of gain values.
Open the model.
sys = 'scdcascade';
open_system(sys)
3 Batch Linearization