Singularity problem in Simulink
Show older comments
I am designing a power system in Simulink, and keep getting this error message:
"Derivative input 1 of 'firstordersmlrev2/powergui/EquivalentModel1/State-Space' at time 0 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)."
I have tried using different solvers, reducing the tolerances, reducing the step size. The powergui block is highlighted when the error message is displayed. I am using a continuous ideal switch.
1 Comment
Roger Stafford
on 6 Jun 2013
You should consider the possibility that you do actually have a singularity in that derivative which the message referred to, and if so, take the necessary steps to alter your design so as to correct that. Apparently Simulink is unable to handle it as it is.
Answers (0)
Categories
Find more on Simulink in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!