I would like to use JiTCDDE to solve system of DDE which has a past derivative ẏ(t−τ) on the RHS.
Should I use the get_state
function or is there a more suitable way?
I would like to use JiTCDDE to solve system of DDE which has a past derivative ẏ(t−τ) on the RHS.
Should I use the get_state
function or is there a more suitable way?
When a DDE depends on a past derivative, it becomes a so-called neutral DDE. In such DDEs discontinuities in the initial condition do not loose their degree over time (the process is neutral with respect to the degree of the discontinuity). Such neutral DDEs usually require special solvers, which JiTCDDE doesn’t support – since they require a lot of extra work and are not the kind of application JiTCDDE is aimed at.
For this reason, there currently is no way to access the past derivative in a dynamic equation. (I am the author of the package, and I would know if I had implemented this.)
There is now an experimental feature that allows you to access the past derivative, using dy
. Take a look at this example on how to use it.