Error:An error occurred during simulation and the simulation was terminated Caused by: Derivative of state '1' in block 'pro1/PV Array/Diode Rsh/Transfer Fcn' at time 0.0

17 次查看(过去 30 天)
tried redcuing fixed step

回答(1 个)

Govind KM
Govind KM 2024-9-2
Hi Rex,
From the error message you have shared, I assume you are performing photovoltaic modeling using blocks from the “PV Array” library in Simulink and encountering the specified error during 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 中查找有关 Solar Power 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by