Hey @Kez,
The Model Linearizer app allows for linear analysis of nonlinear Simulink models. Using the app one can perform the following actions among several others:
- Interactively linearize models at different operating points.
- Perform frequency response estimation of nonlinear models.
The example below gives the workflow of linearizing a model using the Model Linearizer
In the above example, a Water-Tank system is linearized using the Model Linearizer app, and Bode plot is generated for the linearized system. A command line approach to perform the same actions is also demonstrated later in the example.
Here is a procedure I followed to linearize the ‘P1_SB_Open_Loop.slx’ model similar to the above example.
1. Firstly, I added 3 analysis points: 2 'Input Perturbations’ and one ‘Output Measurement’ as shown below.
2. I opened the Model Linearizer from the Apps tab and clicked on the Bode option under the Linearize section. Here is the plot I obtained.
The linearized system is visible under the Linear Analysis Workspace tab on the left pane, which can later be copied to the base workspace.
Kindly refer to the below documentation of Model Linearizer for more details: