ESDIRK54

class pathsim.solvers.esdirk54.ESDIRK54(*solver_args, **solver_kwargs)[source]

Bases: DiagonallyImplicitRungeKutta

Seven-stage, 5th order ESDIRK method with embedded 4th order error estimate. L-stable and stiffly accurate (ESDIRK5(4)7L[2]SA2).

Characteristics

  • Order: 5 (propagating) / 4 (embedded)

  • Stages: 7 (1 explicit, 6 implicit)

  • Adaptive timestep

  • L-stable, stiffly accurate

  • Stage order 2

Note

The highest-accuracy L-stable single-step solver in this library before the much more expensive ESDIRK85. Use when tight tolerances are needed on a stiff block diagram (e.g. multi-rate systems combining fast electrical and slow thermal dynamics). At moderate tolerances, ESDIRK43 achieves similar results with fewer implicit solves per step.

References