- Reduce the maximum time step to see if a smaller time step helps the simulation converge.
- Increase the consistency tolerance in the solver configuration block.
- Consider adjusting component parameters such as ‘Open resistance’ or ‘Closed Conductance’ that make the model more realistic and less ideal.
- Refine the model Review the model for errors, inconsistencies, or incorrect assumptions. Simplify the model by removing unnecessary components or subsystems.
how to solve when appear the error: "Nonlinear solver: failed to converge, residual norm too large."
126 ビュー (過去 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."
0 件のコメント
回答 (1 件)
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:
To learn more about troubleshooting simulation errors & transient initialization, please refer to the below documentation:
I hope this helps!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で General Applications についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!