pathsim.solvers.rkdp54 module

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

Bases: ExplicitRungeKutta

Dormand–Prince method with seven Runge-Kutta stages is 5-th order accurate with an embedded 4-th order method.

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 solaution.

Wikipedia:

As of 2023, Dormand–Prince is the default method in the ‘ode45’ solver for MATLAB

Great choice for all kinds of problems that require high accuracy and where the adaptive timestepping doesnt cause problems.