![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1734823/image.png)
Why circuit breaker in simulink/simscape is not working when open circuit condition?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Respuesta aceptada
Deep
el 16 de Jul. de 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 comentarios
Deep
el 17 de Jul. de 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!
Más respuestas (0)
Ver también
Categorías
Más información sobre Electrical Sensors en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!