pathsim.solvers.rkck54 module

class pathsim.solvers.rkck54.RKCK54(*solver_args, **solver_kwargs)[source]

Bases: ExplicitRungeKutta

Six-stage, 5th order explicit Runge-Kutta method by Cash and Karp.

Features an embedded 4th order method. The difference between the 5th and 4th order results provides a 5th order error estimate, typically used to control the step size while propagating the 5th order solution (local extrapolation). Known for good stability properties compared to RKF45.

Characteristics:
  • Order: 5 (Propagating solution)

  • Embedded Order: 4

  • Stages: 6

  • Explicit

  • Adaptive timestep

  • Good stability, suitable for moderate accuracy requirements.