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

23 views (last 30 days)
tried redcuing fixed step

Answers (1)

Govind KM
Govind KM on 2 Sep 2024
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.

Categories

Find more on Solar Power in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!