Connecting Resistor and DC Voltage Source

25 vues (au cours des 30 derniers jours)
Michael Gregory
Michael Gregory le 5 Mai 2016
Commenté : KUSUMAKAR le 23 Avr 2024
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 commentaire
Sandipkumar Prajapati
Sandipkumar Prajapati le 16 Mai 2021
use both block from Simulink specialization block. Thanks

Connectez-vous pour commenter.

Réponses (1)

Sebastian Castro
Sebastian Castro le 6 Mai 2016
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 commentaires
Mahmoud Gamea
Mahmoud Gamea le 15 Mai 2021
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 le 23 Avr 2024
Thanks for your kind Information Sir.

Connectez-vous pour commenter.

Communautés

Plus de réponses dans  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!

Translated by