pathsim.solvers.rkck54 module
- class pathsim.solvers.rkck54.RKCK54(*solver_args, **solver_kwargs)[source]
Bases:
ExplicitRungeKutta6-stage 5-th order with embedded 4-th order Runge-Kutta method from Cash and Karp with 5-th order truncation error estimate for the 4-th order solution that can be used to adaptively control the timestep.
The 5-th order method is used for timestepping (local extrapolation) and the difference to the 5-th order solution is used as an estimate for the local truncation error of the 4-th order solution.
This is the fixed order Cash-Karp scheme without early quitting.
The method balances the accuracy of the 5-th and 4-th order solution and has enhanced stability properties compared to Fehlberg or Dormand-Prince methods. This makes it suitable for slightly stiff problems.