Filter löschen
Filter löschen

Linearize time varying model

2 Ansichten (letzte 30 Tage)
Daniel
Daniel am 29 Nov. 2022
Beantwortet: Vidip Jain am 20 Mär. 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?

Akzeptierte Antwort

Vidip Jain
Vidip Jain am 20 Mär. 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.

Weitere Antworten (0)

Kategorien

Mehr zu Manual Performance Optimization finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by