Singularity problem in Simulink
显示 更早的评论
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 个评论
Roger Stafford
2013-6-6
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.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!