Closed YouknowIdoknow closed 12 months ago
The problem with your implementation is that your time and dynamical variables have extreme orders of magnitude and – on top – these orders also differ between the dynamical variables. Adding/changing the following lines will make the integration run:
DDE.set_integration_parameters(first_step=1e-14,min_step=1e-15,max_step=1e-11,atol=1e-5)
DDE.step_on_discontinuities(min_distance=1e-14)
However, I cannot tell whether the result is any good and you certainly do not have proper error handling (as different error tolerances for different dynamical variables are not implemented). I strongly recommend that you rescale parameters such that the dynamical variables and timescale of the dynamics are roughly in the order of magnitude of 1.
Also see the third point in this FAQ and this Q&A on Stack Overflow.
Hi, sir. When I use the Jitcdde to solve the the famous Lang-Kobayashi semiconductor laser model with delayed optical feedback.![LK](https://user-images.githubusercontent.com/97677182/158605730-578baed5-e0c5-459f-88ee-f7fee17269d2.png)
It doesn't work. Can you help me solve it? The script is following: