-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
an issue for time-depent lags dde of a common model in laser #92
Comments
Transferred from docs to DelayDiffEq.jl. @devmotion do you think it might be a weird instability issue related to #67 ? |
Hmm.... It seems the provided example errors since First of all, it would be interesting to see your MATLAB implementation, if that's possible. Did you consider possibly negative values of Actually, a bit more than one year ago I worked with a DDE that was also not defined for negative values. You can find a Julia implementation of it here, and you can also have a look at simulations with different solvers. As you can see in the Julia implementation, I set the derivatives of variables that should be non-negative to |
Thanks for your reply! @devmotion Thanks, |
Dear All,
I'm involved to simulate a result from a dynamic model in laser to match with measured experimental results and I fail to obtain expected result in Matlab (using dde23, ddesd). Therefore, I transfer to use Julia and face a problem as well (cannot even let laser lasing...)
The model describes an optical feedback effect back in laser and the model (rate euqations) are described here, on page 581 for this paper:
https://www.osapublishing.org/aop/abstract.cfm?URI=aop-7-3-570
and this is a screenshot for the rate equation:
The three differential equations above the the photon density, carrier density and phase changing with time.
below is the code I write in Julia and refer to official example on documentation:
`
but I cannot get the result even as matlab did from this dynamic model (rate euqation).
Below is the matlab simulation result (simulated by ddesd solver):
Even the above beautiful waveform is not the same as what I simulate from a steady-state equation (derived from rate equation above), which looks like this:
In experiment, we can observe the tilt and sharp fringes like the picture above and this is the expectation.
I appreciate guys who replied to my previous problem and specially for Chris who replied me in email.
I have make my effort during this vacation and try to avoid any trivial mistake and till now I cannot figure out what is the problem behind. I cannot understand why matlab gives different simulation results as well.
Any help is appreciated and for this issue, I think Julia DDE solver for this laser model doesn't work for some reasons.
Thank you very much!
Xiao
The text was updated successfully, but these errors were encountered: