How to connect incompatible components?
조회 수: 16 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (2개)
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.
댓글 수: 0
Asaf Erlich
2011년 1월 22일
댓글 수: 1
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 Exchange에서 Composite Components에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!