フィルターのクリア

mimo system not working in m.p.c.

1 回表示 (過去 30 日間)
AMAN
AMAN 2023 年 9 月 27 日
コメント済み: AMAN 2023 年 11 月 26 日
I am trying to apply mpc to simple inverted pendulum linear model but it was giving me error of dimensionsality in mo, i don't understand what it is kindly help me?
  1 件のコメント
Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2023 年 9 月 28 日
It is a little hard to provide guidance without seeing how you set up the problem. Can you share your code?

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

採用された回答

Sanju
Sanju 2023 年 11 月 24 日
Hi @AMAN,
The error message you are seeing is likely due to a mismatch in the dimensions of the manipulated output (mo) and the control signal. Make sure that the dimensions of these signals match in your MPC controller block in Simulink.
Here are some general steps you can follow to troubleshoot this issue:
  1. Check the dimensions of the “mo” and control signals in your “MPC controller block”. They should match.
  2. Make sure that the plant model you are using in the “MPC controller block” has the correct dimensions.
  3. Check that the weights and constraints in the “MPC controller block” are set up correctly.
If you are still having trouble, you can try simplifying your model or starting with a working example to make sure that the issue is not with your “MPC controller block”.
If you need any further assistance, please share the code for your system.
Hope this Helps!
Thanks.
  1 件のコメント
AMAN
AMAN 2023 年 11 月 26 日
I knew all this up until now i had solved and created the reuquired controllrer thanks for all your help guys

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear Plant Specification についてさらに検索

タグ

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by