Polynomial Voltage Controlled Voltage Source (PVCVS) in Simscape to MUX in Simulink Connection
조회 수: 3 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Patel Mounika
2019년 2월 22일
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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!