Why Bus Selector unable to identify input signals ?

205 Ansichten (letzte 30 Tage)
ing ming chew
ing ming chew am 30 Okt. 2020
Kommentiert: ing ming chew am 2 Nov. 2020
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 Kommentare
Rhea Chandy
Rhea Chandy am 2 Nov. 2020
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 am 2 Nov. 2020
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

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Rhea Chandy
Rhea Chandy am 2 Nov. 2020
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 Kommentar
ing ming chew
ing ming chew am 2 Nov. 2020
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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Linear Plant Specification finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by