pathsim.solvers.rkdp54 module

class pathsim.solvers.rkdp54.RKDP54(*solver_args, **solver_kwargs)[source]

Bases: ExplicitRungeKutta

Seven-stage, 5th order explicit Runge-Kutta method by Dormand and Prince (DOPRI5(4)).

Features an embedded 4th order method. Widely considered one of the most efficient general-purpose adaptive step size solvers for non-stiff problems requiring moderate to high accuracy. The 5th order result is used for propagation. Used as the basis for MATLAB’s ode45. FSAL property (not available in this implementation).

Characteristics:
  • Order: 5 (Propagating solution)

  • Embedded Order: 4

  • Stages: 7 (6 effective due to FSAL, not here though)

  • Explicit

  • Adaptive timestep