![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/339388/image.bmp)
how to connect sum block in Simulink to both ideal switches
조회 수: 4 (최근 30일)
이전 댓글 표시
how to connect sum block in Simulink to both ideal switches as shown in figure
댓글 수: 2
Mohsen Aleenejad
2020년 7월 30일
Hello Emad,
This ideal switch belongs to the Specialized Power Systems library. Terminals 1 and 2 cannot be connected to the signal ports. You should find power components/parts for those terminals like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/339388/image.bmp)
채택된 답변
Mohsen Aleenejad
2020년 7월 30일
This ideal switch belongs to the Specialized Power Systems library. Terminals 1 and 2 cannot be connected to the signal ports. You should find power components/parts for those terminals like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/339517/image.bmp)
For your model, probably this is what you need to do:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/339520/image.bmp)
Good Luck
Mohsen
댓글 수: 0
추가 답변 (1개)
Joel Van Sickel
2020년 7월 30일
Hello Emad,
the issue here is that there are two types of wires that you are using. One is a standard simulink wire, which has the arrows indiciating flow of data. however, the other connections you are trying to use are actual electrical connections. These were designed so that you could build an actual circuit, that interacts with the more logical and math based simulink models. If you want to bring a signal from simulink into your circuit with a sum block, I would recommend using a controlled voltage source. https://www.mathworks.com/help/physmod/sps/powersys/ref/controlledvoltagesource.html
In the matlab control panel, you could type this: power_controlvolt
in order to open an example of how to use this type of block.
Regards,
Joel
댓글 수: 0
커뮤니티
더 많은 답변 보기: Power Electronics Community
참고 항목
카테고리
Help Center 및 File Exchange에서 Switches and Breakers에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!