Linearize time varying model

1 visualización (últimos 30 días)
Daniel
Daniel el 29 de Nov. de 2022
Respondida: Vidip Jain el 20 de Mzo. de 2023
I want to linearize a Simulink model containing three enabled subsystems with one of them being active at a time. They describe the same two state variables of my model at three different configurations, that are all active troughout one period of execution.
Now I want to linearize my model, using the linearize command in Matlab at three snapshots found by the findop command.
However, when I check the operating points, the two state variables are present three times each, one time for every enabled subsystem. Also the linearize command won't work proberly, it does not throe an error, but only produces a state space model for the variables linearized before the ones in question.
So my question is, how can I tell Matlab that the 6 identified state variables in reality only represent 2? Or alternatively, how to let the findop command ommit the subsystems not active at the simulation time of the snapshot?

Respuesta aceptada

Vidip Jain
Vidip Jain el 20 de Mzo. de 2023
When using the “findop” command in Simulink, you can specify the active state configuration using the ActiveConfigSet” option. This allows you to find the operating point for a specific configuration and avoid having all state variables appear multiple times in the output.
This will find the operating point for the first configuration only, and the output should only contain the two state variables once. You can repeat this process for the other configurations to find the operating points for those as well.
When using the linearize command, you can pass in the operating point you found using findop for the desired configuration. This should give you a state-space model for that specific configuration.

Más respuestas (0)

Categorías

Más información sobre Linear Plant Specification en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by