How to solve "Derivative of state '1' in block 'untitled/​powergui1/​Equivalent​Model1/Sta​te-Space' at time 0.029 is not finite."

조회 수: 7 (최근 30일)
I am doing a simulation of photovoltaic fault diagnosis, and when I tried to simulate a partial shading fault, I encountered Derivative of state'1 'in block' untitled/powergui1/EquivalentModel1/State Space 'at time 0.029 is not perfect 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 tolerance),I want to know how to solve it

답변 (1개)

Govind KM
Govind KM 2024년 8월 21일
From what I gather, you are simulating photovoltaic fault diagnosis and encountering the specified error during the model simulation. The most common reasons for this error could be:
  • The model equations are forming a positive feedback loop that diverges over time. This could be due to a modeling error, or the system modeled is actually unstable.
  • If using a fixed-step solver, the step size might be too large to accurately capture the system dynamic.
  • There is a division by zero causing a Inf/NaN" to enter an Integrator block
You can refer to this blog post for more details and tips to debug this error:
Hope this is helpful.

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by