ESDIRK43

class pathsim.solvers.esdirk43.ESDIRK43(*solver_args, **solver_kwargs)[source]

Bases: DiagonallyImplicitRungeKutta

Six-stage, 4th order ESDIRK method with embedded 3rd order error estimate. L-stable and stiffly accurate.

Characteristics

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

  • Stages: 6 (1 explicit, 5 implicit)

  • Adaptive timestep

  • L-stable, stiffly accurate

  • Stage order 2

Note

Recommended default for stiff block diagrams. L-stability damps high-frequency parasitic modes that arise from stiff subsystems (e.g. PID controllers with large derivative gain, fast electrical or chemical dynamics). The adaptive step-size control concentrates computational effort where the solution changes rapidly. For non-stiff systems, RKDP54 avoids the implicit solve cost and is more efficient. For tighter tolerances on stiff problems, ESDIRK54 provides 5th order accuracy.

References