Why Bus Selector unable to identify input signals ?

394 ビュー (過去 30 日間)
ing ming chew
ing ming chew 2020 年 10 月 30 日
コメント済み: ing ming chew 2020 年 11 月 2 日
I am connecting a Model predictive controller unit to a TITO system. It is controlled by closed loop. When running the simulation, error message below was pop up.
The signal connected to the input port of 'MultvariableTank3aTestOnly/Bus Selector1' is not a bus signal. The input to the Bus Selector block must be a virtual or nonvirtual bus signal. A possible cause of this error is the use of a bus-capable block (such as Merge or Unit Delay) that in this current situation is unable to propagate the bus downstream to the block reported in this error. Please see Simulink documentation for further information on composite (i.e. bus) signals and their proper usage.
Component:Model Predictive Controller | Category:Find Operating Point error
Could somebody advice me how to solve it? Really appreciate it.
Anthony
  3 件のコメント
Rhea Chandy
Rhea Chandy 2020 年 11 月 2 日
To add to what RenatoL said above,are you using a Mux block or a Merge block to combine inputs? It may be helpful if you share your model so that I can see where is the issue has come up.
ing ming chew
ing ming chew 2020 年 11 月 2 日
Dear Rhea Chandy and Renatol;
The error was started from the output of MPC block where i have checked and try on any possible settings. i do not have idea of this error when i adapted my model with the example avaliable online as below:
I am here to share my file for you further advice (if possible).
Thank you so much of your advice.
Best regards
Anthony

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

採用された回答

Rhea Chandy
Rhea Chandy 2020 年 11 月 2 日
Hi, it seems like you are getting this error because you're using a bus selector block for the output of the MPC block.
Consider using Demux block to extract the components of the input MPC signal and output separate signals. Also use Mux blocks to combine the input signals. Further, In the example you've showed, it is mux and demux blocks that are used.
  1 件のコメント
ing ming chew
ing ming chew 2020 年 11 月 2 日
Hi,
Thank you so much of your advice on it. I am so happy because my problem is resolved. Have a great day.
Best regards
Anthony

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModel Verification についてさらに検索

タグ

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by