![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/174651/image.jpeg)
How to interface Simulink and Simpowersys Blocks?
조회 수: 2 (최근 30일)
이전 댓글 표시
I want to use the Three-phase Sine Generator (which outputs a Simulink signal of a sine wave) with the Simpowersys Blocks, such as the three-phase loads, breakers, etc.
I've seen ways to use sensors to convert Simpowersys V&I to physical signal, then use PS-Simulink block to convert to it to Simulink signal. However, I can't find a way to do the opposite. I tried with different combinations of the blocks below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159443/image.png)
Alternatively, is there a block in Simpower that does exactly what the Sine Generator does in the Specialized Technology Toolbox, i.e. dynamically control the magnitude and frequency of the generated ideal sine wave. Below is what I'm trying to simulate....
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159446/image.jpeg)
Thanks a lot.
댓글 수: 0
채택된 답변
A Jenkins
2014년 3월 25일
In Second Generation you can do this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/174651/image.jpeg)
However, SimPowerSystems Third Generation is new and has a smaller libaray than SimPowerSystems Second Generation. In Third Generation you might need to learn to write Simscape to develop your own blocks if you can't find what you need in the library.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Electrical Sensors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!