How to connect simscape block with simpowersystem?

11 次查看(过去 30 天)
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