ESDIRK32

class pathsim.solvers.esdirk32.ESDIRK32(*solver_args, **solver_kwargs)[source]

Bases: DiagonallyImplicitRungeKutta

Four-stage, 3rd order Embedded Singly Diagonally Implicit Runge-Kutta (ESDIRK) method.

Features an embedded 2nd order method for adaptive step size control. The first stage is explicit, making the method suitable for problems with explicit first stages. Designed to be applicable to index-2 Differential Algebraic Equations (DAEs).

Characteristics

  • Order: 3

  • Embedded Order: 2

  • Stages: 4 (1 Explicit, 3 Implicit)

  • Implicit (ESDIRK)

  • Adaptive timestep

  • A-stable

When to Use

  • Moderately stiff problems with adaptivity: Good for stiff ODEs needing timestep control

  • Differential-algebraic equations: Suitable for DAEs of index up to 2

  • Entry-level adaptive implicit: Lower-order adaptive implicit method

  • Testing stiffness: Explore if a problem requires implicit methods

Trade-off: Lower accuracy than ESDIRK43 or ESDIRK54, but computationally cheaper. For higher accuracy, use ESDIRK54.

References