Timeline for ParametricNDSolve with a delay differential equation
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 10, 2020 at 21:30 | vote | accept | user2799609 | ||
Jun 10, 2020 at 20:41 | history | edited | Chris K |
edited tags
|
|
Jun 10, 2020 at 20:40 | answer | added | Chris K | timeline score: 2 | |
Jun 10, 2020 at 18:23 | comment | added | user2799609 |
I fixed the typo for v10 . Ideally I would define a function so I could get zeq[ta] for different values of ta . This is a simplification of a more complex model so I need a numerical approach.
|
|
Jun 10, 2020 at 18:17 | history | edited | user2799609 | CC BY-SA 4.0 |
deleted 1 character in body
|
Jun 10, 2020 at 18:10 | comment | added | bbgodfrey |
ta and v10 are undefined in the code. Also, why not solve for z and x symbolically?
|
|
Jun 10, 2020 at 15:50 | comment | added | user2799609 |
This is a MWE of a host parasite system. x[t] is the host, z[t] is the first generation of parasites and y[t] is the second generation of parasites. ta is longer than the time the host spends in a susceptible developmental stage so when z[t] are produced they need to wait until new susceptible hosts are available in the next time period. When z0 becomes y[T] , I don't need the entire history of y[t] , just the size at y[T] .
|
|
Jun 10, 2020 at 15:39 | comment | added | Chris K |
Hmm, it's more complex than I thought! Could you add some explanation of what you're modeling? When z0 becomes y[T] , should it also inherit y[t] 's history?
|
|
Jun 10, 2020 at 15:36 | comment | added | user2799609 |
Yes, I think I do need to restart numerical integration because I need to reset y[0] == 0 and z[0] == z0 . (z0 = y[T] )
|
|
Jun 10, 2020 at 15:32 | comment | added | Chris K |
It seems that restarting the numerical integration with only t == 0 initial conditions loses the history between iterates then. Do you even need to stop & restart NDSolve ?
|
|
Jun 10, 2020 at 15:25 | comment | added | user2799609 |
I want to keep the same ta for all 100 iterates. The goal is to generate lists of y[T] for different values of ta over 100 iterates.
|
|
Jun 10, 2020 at 15:20 | comment | added | Chris K |
To be sure, you want to solve until t == T for a given ta , then change ta and do it again?
|
|
Jun 10, 2020 at 14:17 | history | asked | user2799609 | CC BY-SA 4.0 |