MATLAB: How to connect simscape block with simpowersystem

convertermpptpvsimpowersystemsSimscapesolar

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

Best Answer

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.
Related Question