PyDDE is a solver for delay differential equations written in Python and C.
Project description
PyDDE is an open source numerical solver for systems of delay differential equations (DDEs), implemented as a Python package and written in both Python and C. It is built around the numerical routines of Simon Wood’s Solv95, a C-based DDE solver for Microsoft Windows systems.
PyDDE can solve a wide range of ODE and DDE models with discontinuities that may have state-dependent effects but state-independent timings. Discontinuities may be deterministic or random, and so PyDDE can perform simulations of some piecewise-deterministic Markov processes (PDMPs). In any case, simulation is handled by an adaptively-stepping embedded RK2(3) scheme with cubic Hermite interpolation for calculation of delay terms. Some of the advantages of PyDDE are that it is fast, efficient and allows rapid prototyping of scriptable models in a free, platform-independent environment.