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
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에 대해 자세히 알아보기

제품

질문:

2013년 6월 6일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by