An error occurred during simulation and the simulation was terminated
31 views (last 30 days)
Show older comments
Error:An error occurred during simulation and the simulation was terminated
Caused by:
Derivative of state '1' in block 'ee4022/Battery/MPPT Solar Charge Controller/Mean/Model/integrator' 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)
0 Comments
Answers (1)
SOUMNATH PAUL
on 13 May 2024
The problem you are encountering in SIMULINK is specifically due to the integrator block, Kindly examine the initial conditions it should not lead to infinite or undefined states, you can also check on other blocks connected to the integrator block for initial conditions that might lead to a singularity or non-finite derivative.
You can also look for any equations or param's that could result in a division by zero or other operations that might lead to non-finite values. Additionaly try adjusting the solver settings.
Hope it helps!
Soumanth
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!