Simulink not recognizing blocks in the linearization path
4 views (last 30 days)
Show older comments
Matheus Damasceno
on 15 Apr 2014
Commented: Matheus Damasceno
on 17 Apr 2014
I am trying to simulate a MPC controller in a coupled tank plant but when I run the MPC toolbox my system is not being linearized. I was expecting matrices 2x2 for my state space system. I have attached the images of the screen of the model and the compilation from the control and estimation tool. Does anyone knows the reason why simulink is not linearizing this model?
0 Comments
Accepted Answer
Arkadiy Turevskiy
on 17 Apr 2014
I quickly tried setting up some values and linearizing plant model. My guess is that you are probably linearizing where your integrators are saturated, and therefore are getting zero linearization. Try to disable integrator saturation when designing MPC, then enable it back when running simulations.
More Answers (1)
Arkadiy Turevskiy
on 17 Apr 2014
Hard to say exactly without having the model (can you attach it maybe?), but the likely scenario is that the root cause of the problem are the discontinuities in the model such as sign block.
A solution may be to specify custom linearization for such blocks as explained in the linearization troubleshooting section , specifically here .
2 Comments
See Also
Categories
Find more on Refinement in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!