ESDIRK32¶
- class pathsim.solvers.esdirk32.ESDIRK32(*solver_args, **solver_kwargs)[source]¶
Bases:
DiagonallyImplicitRungeKuttaFour-stage, 3rd order ESDIRK method with embedded 2nd order error estimate. L-stable and stiffly accurate.
Characteristics¶
Order: 3 (propagating) / 2 (embedded)
Stages: 4 (1 explicit, 3 implicit)
Adaptive timestep
L-stable, stiffly accurate
Stage order 2 (\(\gamma = 1/2\))
Note
The cheapest adaptive implicit Runge-Kutta solver in this library, yet remarkably robust. L-stability and stiff accuracy guarantee that high-frequency parasitic modes are fully damped regardless of timestep, and the optimal stage order of 2 (from \(\gamma = 1/2\)) minimises order reduction on stiff problems. Three implicit stages per step keeps the cost well below
ESDIRK43while still providing adaptive step-size control. For even lower per-step cost theGEARmultistep solvers require only one implicit solve per step. Also used internally as the startup method forGEARsolvers.References