RKDP54 (Dormand-Prince)¶
- class pathsim.solvers.rkdp54.RKDP54(*solver_args, **solver_kwargs)[source]¶
Bases:
ExplicitRungeKuttaDormand-Prince 5(4) pair (DOPRI5). Seven stages, 5th order with embedded 4th order error estimate.
The industry-standard adaptive explicit solver and the basis of MATLAB’s
ode45. Has the FSAL property (not exploited in this implementation, so all seven stages are evaluated each step).Characteristics¶
Order: 5 (propagating) / 4 (embedded)
Stages: 7
Explicit, adaptive timestep
Note
Recommended default for non-stiff block diagrams. Handles smooth nonlinear dynamics, coupled oscillators, and signal-processing chains efficiently. If the simulation warns about excessive step rejections or very small timesteps, the system is likely stiff and an implicit solver (
ESDIRK43,GEAR52A) should be used instead. For very tight tolerances on smooth problems,RKV65orRKDP87can be more efficient per unit accuracy.References