An error occurred during simulation and the simulation was terminated

조회 수: 44 (최근 30일)
saleh
saleh 2024년 5월 13일
답변: SOUMNATH PAUL 2024년 5월 13일
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)

답변 (1개)

SOUMNATH PAUL
SOUMNATH PAUL 2024년 5월 13일
Hi @saleh,
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

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by