Corrective action after Newton iteration exception

1 回表示 (過去 30 日間)
Federico Toso
Federico Toso 2022 年 11 月 23 日
編集済み: Torsten 2022 年 11 月 23 日
During a typical Simulink simulation, if a variable-step solver is used, when the error tolerances are not satisfied the solver reduces the stepsize as a corrective action.
I wonder if a similar corrrective action happens whenever a Newton-iteration exception occurs: in this case, does the solver simply reduce the stepsize for the following integration step? Or is there any other specific action?
Does this also depend on the type of Newton-iteration exception? (depending on the solver used, "DAE" Newton Iteration exceptions or "ODE" Newton iteration exceptions could occur)

採用された回答

Torsten
Torsten 2022 年 11 月 23 日
編集済み: Torsten 2022 年 11 月 23 日
I wonder if a similar corrrective action happens whenever a Newton-iteration exception occurs: in this case, does the solver simply reduce the stepsize for the following integration step?
Not for the following, but for the current because the current step has to be repeated.
Or is there any other specific action?
Reduction of the integration order of the integrator if variable order is possible (like for BDF solvers or some Runge-Kutta codes).
Does this also depend on the type of Newton-iteration exception? (depending on the solver used, "DAE" Newton Iteration exceptions or "ODE" Newton iteration exceptions could occur)
I don't think it will be possible for the solver to decide whether the failure was due to the algebraic or the differential part of the DAE system. So no.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulation Setup についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by