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

16 ビュー (過去 30 日間)
rex
rex 2024 年 9 月 2 日
回答済み: Govind KM 2024 年 9 月 2 日
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 Center および File ExchangeSolar Power についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by