필터 지우기
필터 지우기

how to solve when appear the error: "Nonlinear solver: failed to converge, residual norm too large."

조회 수: 138 (최근 30일)
I,m getting this error whenever I'm trying to simulate of BEV Model in SImulnk. how to solve when appear the error: "Nonlinear solver: failed to converge, residual norm too large."

답변 (1개)

Karanjot
Karanjot 2023년 9월 29일
편집: Karanjot 2023년 9월 29일
Hi Basant,
I understand that want to debug the following error in your Simulink model:
Nonlinear solver: failed to converge, residual norm too large.
Please provide the complete model & files associated with this error. This error is often encountered when a model is too ideal and exhibits sudden transitions, hence, the solver fails to converge. In such cases, the solver performs transient initialization.
I recommend the following changes to help resolve the error:
  1. Reduce the maximum time step to see if a smaller time step helps the simulation converge.
  2. Increase the consistency tolerance in the solver configuration block.
  3. Consider adjusting component parameters such as ‘Open resistance’ or ‘Closed Conductance’ that make the model more realistic and less ideal.
  4. Refine the model Review the model for errors, inconsistencies, or incorrect assumptions. Simplify the model by removing unnecessary components or subsystems.
To learn more about troubleshooting simulation errors & transient initialization, please refer to the below documentation:
I hope this helps!

카테고리

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

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by