Error in simulink: singularity in solution

조회 수: 274 (최근 30일)
ARCHANA A N
ARCHANA A N 2019년 8월 2일
답변: Muhammad Danish 2024년 4월 17일 10:28
Hi all,
Can anyone please try to help me to fix this error "Derivative of state '1' in block xxxxx/STATCOM/Controller/LPF' at time 0.0 is not finite. The simulation will be stopped. 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 adjusted the step size, tolerance values all but doesnt know its significance. Also changed the intial condition value of integrator. The same error is shown with Low Pass Filter also. Please help me to fix it.
Thanks in advance.
  댓글 수: 1
Bhishan Wadhai
Bhishan Wadhai 2020년 5월 4일
Hello ,
I am facing same issue . Kindly know how to resolve it.

댓글을 달려면 로그인하십시오.

답변 (2개)

Athul Prakash
Athul Prakash 2019년 8월 8일
Hi Archana,
This error most commonly happens when your solver cannot handle large fluctuations in signals. Try using ODE15s (Stiff/NDF) as your solver.
Go to model configuration parameters(Ctrl+E) > Solver and adjust
Type: Variable-step
Solver: ode15s (stiff/NDF)
This should fix the issue.
Read the Documentation for ODE15s here:
If not, you can also try:
  1. Adding a delay so that the fluctuation slows down.
  2. To find out more, try adding Port Value Display to your signal and then step through the model.
Hope it helps.

Muhammad Danish
Muhammad Danish 2024년 4월 17일 10:28
same issue

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by