Linearize Simscape Networks
You can linearize models with Simscape components using Simulink Control Design
software. Typically, some states in a Simscape network have dependencies on other states
through constraints.
Find Steady-State Operating Point
To find a steady-state operating point at which to linearize a Simscape model, you can
use:
- Optimization-based trimming — Specify constraints on model inputs, outputs, or
states, and compute a steady-state operating point that satisfies these constraints.
To produce better trimming results for Simscape models, you can use projection-based
trim optimizers. These optimizers enforce the consistency of the model initial
condition at each evaluation of the objective function or nonlinear constraint function.
- Simulation snapshots — Specify model initial conditions near an expected equilibrium
point, and simulate the model until it reaches steady state.
For more information, see “Find Steady-State Operating Points for Simscape Models” on
page 1-136.
Specify Analysis Points
To linearize your model, you must specify the portion of the model you want to linearize
using linear analysis points; that is, linearization inputs and outputs, and loop openings.
You can only add analysis points to Simulink signals.
To add a linearization input or loop opening to the input of a Simscape component, first
convert the Simulink signal using a Simulink-PS Converter block.
To add a linearization output or loop opening to the output of a Simscape component, first
convert the Simscape signal using a PS-Simulink Converter block.
For more information on adding linear analysis points, see “Specify Portion of Model to
Linearize” on page 2-13.
2 Linearization