Documentation

Batch Linearization

Extract and analyze multiple linearizations for a model; vary parameter values, operating points, I/O sets; implement linear parameter varying (LPV) models

Batch linearization refers to extracting multiple linearizations from a model for various combinations of I/Os, operating points, and parameter values. Batch linearization lets you analyze the time-domain, frequency-domain, and stability characteristics of your Simulink® model, or portions of your model, under varying operating conditions and parameter ranges. You can also use batch linearization results to implement linear parameter varying (LPV) approximations of nonlinear systems.

You can perform batch linearization at the command line or using Linear Analysis Tool. To help you decide which tool to use, see Choose Batch Linearization Methods.

Graphical Tools

Linear Analysis Tool Linearize Simulink models

Functions

linearize Linear approximation of Simulink model or subsystem
linearizeOptions Set linearization options
slLinearizer Interface for batch linearization of Simulink models
getIOTransfer Transfer function for specified I/O set using slLinearizer or slTuner interface
getLoopTransfer Open-loop transfer function at specified point using slLinearizer or slTuner interface
getSensitivity Sensitivity function at specified point using slLinearizer or slTuner interface
getCompSensitivity Complementary sensitivity function at specified point using slLinearizer or slTuner interface
addPoint Add signal to list of analysis points for slLinearizer or slTuner interface
removePoint Remove point from list of analysis points in slLinearizer or slTuner interface
removeAllPoints Remove all points from list of analysis points in slLinearizer or slTuner interface
addOpening Add signal to list of openings for slLinearizer or slTuner interface
removeAllPoints Remove all points from list of analysis points in slLinearizer or slTuner interface
removeAllOpenings Remove all openings from list of permanent openings in slLinearizer or slTuner interface
getOffsetsForLPV Extract LPV offsets from linearization results
refresh Resynchronize slLinearizer or slTuner interface with current model state

Topics

Batch Linearization Basics

What Is Batch Linearization?

You can extract multiple linearizations from a Simulink model for various combinations of I/Os, operating points, and parameter values.

Choose Batch Linearization Methods

Simulink Control Design™ software provides multiple tools and methods for batch linearization.

Operating Point Variation

Batch Linearize Model at Multiple Operating Points Using linearize

You can linearize your model at multiple trimmed operating points or for multiple simulation snapshots.

Vary Operating Points and Obtain Multiple Transfer Functions Using slLinearizer

Batch linearize your model at multiple operating points and obtain multiple open-loop and closed-loop transfer functions from the model.

Parameter Variation

Specify Parameter Samples for Batch Linearization

You can vary one or more model parameters and batch linearize your model at the command line or using the Linear Analysis Tool.

Batch Linearization Efficiency When You Vary Parameter Values

If all the model parameters you vary are tunable, the Simulink Control Design linearization tools use a single model compilation to compute linearizations for all parameter grid points.

Batch Linearize Model for Parameter Value Variations Using Linear Analysis Tool

Vary model parameter values and obtain multiple open-loop and closed-loop transfer functions from the model using the Linear Analysis Tool.

Batch Linearize Model for Parameter Variations at Single Operating Point

Vary model parameters and linearize a model at its nominal operating conditions using the linearize command.

Batch Linearize Model at Multiple Operating Points Derived from Parameter Variations

If parameter variations affect the operating point of your system, trim the model for each parameter value combination before linearization.

Vary Parameter Values and Obtain Multiple Transfer Functions

Batch linearize your model for parameter variations and obtain multiple open-loop and closed-loop transfer functions using an slLinearizer interface.

Linear Parameter Varying Approximation of Nonlinear Systems

Approximating Nonlinear Behavior using an Array of LTI Systems

You can use linear parameter varying models to approximate the dynamics of nonlinear systems.

LPV Approximation of a Boost Converter Model

Approximate a nonlinear Simscape™ Power Systems™ model using a linear parameter varying model.

Analysis and Validation

Validating Batch Linearization Results

You can validate your batch linearization results in the time domain or the frequency domain.

Analyze Batch Linearization Results in Linear Analysis Tool

Plot and analyze responses for batch linearization results using the Linear Analysis Tool.

Analyze Command-Line Batch Linearization Results Using Response Plots

Plot and analyze responses for batch linearization results at the command line.

Was this topic helpful?