How to connect incompatible components?

14 ビュー (過去 30 日間)
Asaf Erlich
Asaf Erlich 2011 年 1 月 21 日
I am trying to connect blocks from the SimRF library and blocks from the SimPowerSystems library and they simply do not connect. Unfortunately I don't know enough about matlab to make this work correctly so I thought I would come here and ask.
To give a few more details we're working with solar cells, so I copied Matlab's provided solar cell demo, and tried to replace the v-pulse with a load... but I was unsuccessful. The components don't connect.
Any suggestions? I greatly appreciate your help. -Asaf Erlich

回答 (2 件)

Seth Popinchalk
Seth Popinchalk 2011 年 1 月 22 日
Simulink is the common environment, so you can use Simulink signals to connect between SimRF and SimPowerSystems.
To get a Simulink signal from SimRF, use a SimRF Output. To drive a SimRF component with a Simulink signal, use the SimRF Inport to convert the data signal into a SimRF signal.
Converting Simulink signals to electrical connections or vice versa requires using a SimPowerSystems block that features both Simulink ports and electrical terminal ports. Some SimPowerSystems blocks feature only one type of port. You can make measurements using components from the Measurements Library. Check out the Current Measurement, Voltage Measurement, and the Multimeter. These all output Simulink data signals. To drive a system with a data signal, use the Electrical Sources library with a Controlled Current Source or Controlled Voltage Source. Many of the SimPowerSystems blocks also input or output Simulink signals, so it depends a lot on what you are trying to do.

Asaf Erlich
Asaf Erlich 2011 年 1 月 22 日
Thank you very much for your helpful answer. I just installed windows 7 so I will try the solution out as soon as I download matlab from my university website. I'm sure it will work though. Thanks again.
-Asaf Erlich
  1 件のコメント
Mostafa Abd el-Aziz
Mostafa Abd el-Aziz 2017 年 2 月 13 日
Hi, I can not connect the variable resistor with PV Array in simulink! Could you help me please?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeComposite Components についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by