Polynomial Voltage Controlled Voltage Source (PVCVS) in Simscape to MUX in Simulink Connection
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dear all,
I am trying to connect a Polynomial Voltage Controlled Voltage Source (PVCVS) in Simscape to a MUX (in Simulink). But I am not able to do the wire connection. I also tried using a PS - S converter block between the two, but I am still not able to complete the wire connection. Could you please help me to fix this?
Thanks
Raghu
0 Kommentare
Antworten (1)
Patel Mounika
am 22 Feb. 2019
The Simscape block has two kinds of ports; physical conserving ports and physical signal ports. The physical conserving ports can only be connected to other physical conserving ports of same type. For comparison of Simscape physical signal and physical conserving ports, see https://www.mathworks.com/help/physmod/simscape/ug/basic-principles-of-modeling-physical-networks.html#bq89sba-6
The PVCVS block has only electrical conserving ports and therefore it must be connected to other electrical conserving ports only. In order connect to Simulink block, a physical signal port is required.
To mux the signals you can write your own mux block using the Simscape language. For simscape language, see https://www.mathworks.com/help/physmod/simscape/lang/what-is-the-simscape-language.html
And, I have attached the zip file which contains the necessary .ssc files, the libraries generated from the .ssc files and a model that demonstrates the mux/de-mux capabilities of the custom blocks.
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!