Derivative of state '1' in block PV Array at time 0.0 is not finite error
Show older comments
im trying to charge a battery using a solar pv array and i keep getting the following error: An error occurred while running the simulation and the simulation was terminated
Caused by:
- Derivative of state '1' in block 'ChargingBatteryUsingSolarPVArray/PV Array/Diode Rsh/Transfer Fcn' at time 0.0 is not finite. 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 tolerances)
what am i not doing correctly?

Accepted Answer
More Answers (1)
Mirza
on 10 Mar 2025
2 votes
I'm having the same problem as you while designing my MPPT, my solution was to add a small capacitor pararel to the + and - of the PV Panel, 0.00001 should be good. Try it and see if it works
Communities
More Answers in the Power Electronics Control
Categories
Find more on Simscape Battery 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!