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!



