Nonlinear solver

12 ビュー (過去 30 日間)
razevedo
razevedo 2011 年 7 月 18 日
編集済み: Angelo Yeo 2022 年 5 月 31 日
how to solve when appear the error: "Nonlinear solver: failed to converge, residual norm too large."

回答 (1 件)

Guy Rouleau
Guy Rouleau 2011 年 7 月 18 日
This often happens when your model is too ideal and there is a sudden transition.
In a hydraulic model, this could for example be that you have a flow without restriction and a sudden pressure drop.
In that case, the Simscape solver needs to go through the "transient Initialization" phase:
and the initial guess he has is too far from the results... consequently it fails to converge.
So I would try to add more realist conditions to your model... depending on the domain, it can mean many different things.
If this does not work, I recommend contacting support with your model.
  1 件のコメント
Angelo Yeo
Angelo Yeo 2022 年 5 月 31 日
編集済み: Angelo Yeo 2022 年 5 月 31 日
Now, the URL that Guy has provided does not exist. Instead. one can go to the URL below to see what "transient initialization" is:
https://www.mathworks.com/help/physmod/simscape/ug/how-simscape-simulation-works.html?searchHighlight=bql2kkl-2.html&s_tid=srchtitle_bql2kkl-2.html_1#bqoxlpd-1

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSimscape Fluids についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by