![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1734823/image.png)
Why circuit breaker in simulink/simscape is not working when open circuit condition?
3 views (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1733128/image.jpeg)
0 Comments
Accepted Answer
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1734823/image.png)
Read more about the available fixed-step continuous implicit solvers here:
I hope this helps!
3 Comments
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1735387/image.png)
Hope this helps!
More Answers (0)
See Also
Categories
Find more on Electrical Systems 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!