Electrical Switch doesn't work
이전 댓글 표시
Hello everyone,
I am trying to use a switch in a simulation of an electrical circuit and I dont know why, but it is not working correctly. I have created a simplifyed system to check the switch function and it also doesn't work. I paste a screenshot of the system so you can check it.
The idea was to activate and desactivate the switch with a pulse generator, so the current of the circuit, which is a constant 1A DC, fluctuates between 0A and 1A. Despite of it, the current is 1A during the whole simulation.

댓글 수: 6
Walter Roberson
2021년 8월 30일
It does not appear that you are using the Circuit Breaker block? https://www.mathworks.com/help/physmod/sps/powersys/ref/breaker.html
I am having difficulty identifying the current source you are using. It is not one of the SPS Electrical Sources https://www.mathworks.com/help/physmod/simscape/electrical-sources.html and it is not a SPICE source https://www.mathworks.com/help/physmod/sps/spice-sources.html ?
Fernando Belda
2021년 8월 30일
Walter Roberson
2021년 8월 30일
Ah, what is the block with the circle'd A ?
Which pulse generator are you using, and what parameters did you configure for it?
Fernando Belda
2021년 8월 30일
Walter Roberson
2021년 8월 30일
The Pulse generator you are using uses an output of 0 when the pulse is not underway, and uses an output according to the given Amplitude when the pulse is underway.
However, the Circuit Breaker https://www.mathworks.com/help/physmod/sps/ref/circuitbreaker.html?s_tid=doc_ta only closes when the voltages crosses below the threshold... so we need to know what threshold you configured... and what you configured the initial state as ?
Fernando Belda
2021년 8월 30일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Get Started with Simscape Electrical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



