Connecting Resistor and DC Voltage Source

Hello, I am trying to connect a DC Voltage Source to four resistors and those resistors to a current measurement and then display this value. Even though the DC Voltage Source and the resistors are all from Simscape, they won't connect. It comes up with a red dotted line and a purple circle. The Current measurement also wont connect to the resistors. I've tried using PS->S and S-> PS converters but this doesn't help either. Any help you can give would be greatly appreciated. Thanks

댓글 수: 1

use both block from Simulink specialization block. Thanks

댓글을 달려면 로그인하십시오.

답변 (1개)

Sebastian Castro
Sebastian Castro 2016년 5월 6일

0 개 추천

Make sure both of these blocks come from the same block library.
Unfortunately, there are "DC Voltage Source" and "Current Measurement" blocks in both Simscape Foundation and in Simscape Power Systems Specialized Technology libraries.
I'd suggest going to the Simscape > Foundation > Electrical library and grabbing all the blocks from there.
BTW: If you're using one of the latest versions, you can easily tell where they're from because the Simscape blocks will be colored blue whereas the Power Systems ones are not colored.
- Sebastian

댓글 수: 5

saleem anwar
saleem anwar 2017년 10월 6일
Sebastian Castro: thanks man.it's working now
Iffat Arisa
Iffat Arisa 2019년 5월 31일
Is "Current measurent" in Simscape foundation? I did not find it. Ideal switch and current measuremnt is not in Simscape foundation. How did you get those?
Guanwei Zeng
Guanwei Zeng 2021년 3월 5일
Thank you for your answer. But do you know any method to connect two blocks in Simscape / Electrical / Electromechanical and Simscape / Electrical / Specialized Power Systems?
Because the Fuel Cell Stack which is the basic of my simulation can only be found in Specialized Power Systems.
Also, another block(Drive&Motor) and example(Electrical Component Analysis for Hybrid and Electric Aircraft) located in Electromechanical are significant for this simulation.
Could you please tell me if there's any chance or method that I can link the Fuel Cell Block and example(Electrical Component Analysis for Hybrid and Electric Aircraft) together to replace the battery at the example?
Mahmoud Gamea
Mahmoud Gamea 2021년 5월 15일
you can use "ps-simulink" and "simulink-ps" converters for that purpose.
And for a lot of cases I think you will also need a voltage sensor block
.
KUSUMAKAR
KUSUMAKAR 2024년 4월 23일
Thanks for your kind Information Sir.

댓글을 달려면 로그인하십시오.

커뮤니티

더 많은 답변 보기:  Power Electronics Community

질문:

2016년 5월 5일

댓글:

2024년 4월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by