Communication between Simulink and Simscape blocks
조회 수: 2 (최근 30일)
이전 댓글 표시
Saulo Vitor P. Cantanhêde
2021년 6월 30일
댓글: Saulo Vitor P. Cantanhêde
2021년 7월 4일
Hi, I'm trying to connect the signals of Simulink's blocks with the Simscape to simulate the consumption of current in a electrical circuit by a simple load. For example, I created a wind turbine circuit with simulink blocks, and now I want connect the resulting currents with a load of Simscape blocks, but I had problems with that communication. Does anyone know a block that converts the signals obtained in simulink and feeds a simscape circuit ?
I appreciate the help if someone knows how I can do that.
댓글 수: 0
채택된 답변
Scott Satinover
2021년 7월 1일
편집: Scott Satinover
2021년 7월 1일
Hi Saulo, you can use PS-Simulink and Simulink-PS blocks to interface between Simscape and Simulink. Use the PS-Simulink block if you want to send Simscape signals into Simulink.
Specifically, this page provides an example on how you can apply a Simulink source of voltage to a Simscape electrical load:
This model uses a custom block called a "Voltage source" block, and I think that configuration should help with the interface you're looking for.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Electrical Systems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!