Linearize time varying model
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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?
0 Commenti
Risposta accettata
Vidip Jain
il 20 Mar 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.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Linear Plant Specification in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!