![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1734823/image.png)
Why circuit breaker in simulink/simscape is not working when open circuit condition?
4 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Deep
2024-7-16
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 个评论
Deep
2024-7-17
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!
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Electrical Systems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!