Corrective action after Newton iteration exception

1 visualización (últimos 30 días)
Federico Toso
Federico Toso el 23 de Nov. de 2022
Editada: Torsten el 23 de Nov. de 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)

Respuesta aceptada

Torsten
Torsten el 23 de Nov. de 2022
Editada: Torsten el 23 de Nov. de 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.

Más respuestas (0)

Categorías

Más información sobre Simulation Setup en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by