Why Bus Selector unable to identify input signals ?

조회 수: 338 (최근 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 CenterFile Exchange에서 Model Verification에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by