Corrective action after Newton iteration exception

1 Ansicht (letzte 30 Tage)
Federico Toso
Federico Toso am 23 Nov. 2022
Bearbeitet: Torsten am 23 Nov. 2022
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)

Akzeptierte Antwort

Torsten
Torsten am 23 Nov. 2022
Bearbeitet: Torsten am 23 Nov. 2022
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.

Weitere Antworten (0)

Kategorien

Mehr zu Simulation Setup finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by