- 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
How to solve "Derivative of state '1' in block 'untitled/powergui1/EquivalentModel1/State-Space' at time 0.029 is not finite."
8 ビュー (過去 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
0 件のコメント
回答 (1 件)
Govind KM
2024 年 8 月 21 日
@L L,
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:
You can refer to this blog post for more details and tips to debug this error:
Hope this is helpful.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!