필터 지우기
필터 지우기

How to connect simscape block with simpowersystem?

조회 수: 20 (최근 30일)
vassilis
vassilis 2011년 12월 10일
Hello out there,i am new to matlab-simulink. I am using the solar cell block from simscape and i want to connect it with a buck converter bulit with simpowersystem blocks. How can i do this? Please help,it is very significant to me. Vassilis

채택된 답변

Abhishek Gupte
Abhishek Gupte 2011년 12월 11일
There are three main types of signals in any typical physical modeling block diagram: 1. Standard Simulink signals: Ports that take in/ouput these signals have open arrowheads;
2. Physical signals: Ports that take in/ouput these signals have closed arrowheads;
3. Domain-specific signals. Ports that take in/ouput these signals have round circles;
The under-the-hood representation for these signals is different. You cannot inter-connect any two of these signals or even physical signals from different domains.
Use the Sensors and Sources blocks in the respective Domain library to convert the Domain Signals to Physical Signals and vice-versa. Then use the 'Physical to Simulink' or 'Simulink to Physical' blocks in the 'Utilities' library of Simscape. You can then interface the two domains ( Simscape and SimPowerSystems in your case ) using the Simulink signals.
Look at some demo models for detailed reference.

추가 답변 (1개)

vassilis
vassilis 2011년 12월 11일
Mr Abhishek Gupte thank you for your reply. I've tried to connect the solar cell block with a current sensor block from simscape then used a ps-s block and injecting it in a controlled current source from simpowersystems.Theoretically it should work-but it doesn't(i measure the voltage after the controlled current source and its values are enourmous(10^5)) . Can you please help me with this? Can you suggest a model demo to look for? VI
  댓글 수: 1
Abhishek Gupte
Abhishek Gupte 2011년 12월 12일
demo model: elec_solar;
Look at the demo 'Solar Cell Parameter Extraction From Data' to view an application of Solar Cells. The demo can be found here:
MATLAB Help Browser -> SimElectronics -> Demos -> Generic Circuits -> Solar Cell Parameter Extraction From Data

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Foundation and Custom Domains에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by