Why circuit breaker in simulink/simscape is not working when open circuit condition?

18 views (last 30 days)

Accepted Answer

Deep
Deep on 16 Jul 2024
Hi Arun,
I replicated your model from the screenshot you posted. On running it, the simulation froze after the circuit breaker was triggered. It appears that the variable-step solver reduced its step size to its minimum configuration, causing simulation to slow down so much that it seems frozen.
After switching to a fixed-step solver “ode1 (Euler)”, I received this warning:
"This Simscape(TM) model contains both dynamic and algebraic equations even after model simplification. To improve performance and robustness for this class of model an implicit solver is recommended."
As hinted by the warning, the simulation succeeded after choosing fixed-step continuous implicit solvers such as ode14x (extrapolation) and ode1be (backward euler).
Here is a screenshot of the finished simulation’s output:
Read more about the available fixed-step continuous implicit solvers here:
I hope this helps!
  3 Comments
Deep
Deep on 17 Jul 2024
Please try doing "Comment Through" on your load instead of "Comment Out".
The following screenshot has the load "Comment Through". In “Comment Through”, a large current flows due to the short, and then finally the circuit breaks.
Hope this helps!

Sign in to comment.

More Answers (0)

Categories

Find more on Electrical Sensors in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!