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

8 vues (au cours des 30 derniers jours)
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

Réponses (1)

Govind KM
Govind KM le 21 Août 2024
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.

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by