Hi everyone,
I have built a non-linear model in MATLAB, and I have been able to reproduce it in SIMULINK using level 2 s-function. The next step in my project is to implement an MPC controller to control the dynamics of the model. Unfortunately, it seems from my small research that the s-function is not defined as an LTI system and the linearization of the model can't be done. Does anyone have a solution or workaround to this problem?
Thanks,
P.S. I have tried to use the MATLAB function block but I haven't known how to interpret the continuous-time of the SIMULINK inside the function properly.

4 件のコメント

Sam Chak
Sam Chak 2022 年 6 月 27 日
Depending the complexity of the system, are you able to linear the system manually by pencil and paper?
Mohammed Hamza
Mohammed Hamza 2022 年 6 月 27 日
Yes.
Sam Chak
Sam Chak 2022 年 6 月 27 日
Then try using your hand-linearized model on the MPC for design purposes.
Once completed, hook up MPC back to the S-function model.
Mohammed Hamza
Mohammed Hamza 2022 年 6 月 27 日
The problem is that I have a system with multiple units, the one that I can linearize it is easy but the others ....
I'm looking for an all-in-one solution where I don't need to deal with the hastle of linearizing each unit within my system.
BTW, thanks for suggesting this idea.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Linear Plant Specification についてさらに検索

質問済み:

2022 年 6 月 26 日

コメント済み:

2022 年 6 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by