Simple electrical scheme

2 views (last 30 days)
Kirill
Kirill on 10 Apr 2011
Answered: youcef benchelli on 12 Mar 2020
Hello!
I am new to mathlab/simulink. I try to simulate simple scheme with one resistor, ac voltage source , and electrical reference(ground). I added powergui component, solver function block(but i dont know how to attach this block and use it). Then a ran a simulation process and it terminated succesfully. But when i try to measure, for example voltage, i add voltage measurement component, and when i tried to route it to my scheme red line appeared. Why is this occur?
Thank you!

Accepted Answer

Arnaud Miege
Arnaud Miege on 11 Apr 2011
It sounds as if you are using both Simscape and SimPowerSystems in the same model. Components in Simscape and SimPowerSystems cannot be connected together directly. From what you describe, you should need just Simscape blocks, which include a voltage measurement block. If you restrict yourself to using just Simscape (electrical) blocks, you'll be able to connect them together, no problem.
HTH,
Arnaud

More Answers (1)

youcef benchelli
youcef benchelli on 12 Mar 2020
comment schematise et simulee une ligne electrique par compesation

Categories

Find more on Electrical Sensors in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!