pathsim.solvers.rkf45 module

class pathsim.solvers.rkf45.RKF45(*solver_args, **solver_kwargs)[source]

Bases: ExplicitRungeKutta

Six-stage, 4th order explicit Runge-Kutta method by Fehlberg.

Features an embedded 5th order method. The difference between the 5th and 4th order results provides a 5th order error estimate. Typically, the 4th order solution is propagated. A classic adaptive step size method, though often superseded in efficiency by Dormand-Prince methods.

Characteristics:
  • Order: 4 (Propagating solution)

  • Embedded Order: 5 (Error estimation)

  • Stages: 6

  • Explicit

  • Adaptive timestep

  • Classic adaptive method, good for moderate accuracy.