prob_dde_RADAR5_robertson cannot be integrated past t ≈ 8, and its lag differs from the RADAR5 driver

Aperta
#240 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

prob_dde_RADAR5_robertson has tspan = (0.0, 1.0e10), but every method I tried fails near t = 8 to 10 with u2 going to about -5e5. That is presumably why SciMLBenchmarks' StiffDDE/Robertson_wpd cuts the span to [0, 1].

MRE (DDEProblemLibrary 0.1.10, DelayDiffEq from OrdinaryDiffEq master 3a82ba230, Julia 1.12):

using DelayDiffEq, DDEProblemLibrary, OrdinaryDiffEqRosenbrock, OrdinaryDiffEqFIRK
prob = remake(DDEProblemLibrary.prob_dde_RADAR5_robertson; tspan = (0.0, 20.0))
for alg in (Rodas5P(), RadauIIA5())
    sol = solve(prob, MethodOfSteps(alg); reltol = 1e-9, abstol = 1e-14)
    println(sol.retcode, " t = ", sol.t[end], " min u2 = ", minimum(u[2] for u in sol.u))
end

Expected: a solution approaching the steady state. Actual: Unstable at t = 9.41 (Rodas5P) and t = 8.24 (RadauIIA5), min u2 = -4.7e5 and -6.1e5.

The right-hand side in src/radar5.jl:139-169 matches the RADAR5 driver ROBERTSON/dr-roberts.f term for term (a mirror is at github.com/thoduv/pyradar5). The lag doesn't: the driver uses RPAR(4) = 0.1D-2, so τ = 0.001, not 0.01, and integrates to 1e11. With τ = 0.001 the solve gets further but still blows up at t ≈ 21. Linearising u2 around the quasi-steady state gives δ' = -6e7·u2·δ - 1e4·u3·δ(t - τ). The delayed coefficient overtakes the instantaneous one once u3 grows, so the steady state looks genuinely unstable for both lags. Should the problem change τ to 0.001 and shorten tspan, or is there another source for τ = 0.01?

Lingua principale
Julia
Stelle
125
Fork
43
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SciML/DiffEqProblemLibrary.jl

Tutte le issue di SciML/DiffEqProblemLibrary.jl

Issue simili

Altre issue su Julia

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.