How to connect simscape block with simpowersystem?

12 views (last 30 days)
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

Accepted Answer

Abhishek Gupte
Abhishek Gupte on 11 Dec 2011
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.

More Answers (1)

vassilis
vassilis on 11 Dec 2011
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 Comment
Abhishek Gupte
Abhishek Gupte on 12 Dec 2011
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

Sign in to comment.

Categories

Find more on Foundation and Custom Domains in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!