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

Offen
#240 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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?

Vorherrschende Sprache
Julia
Sterne
125
Forks
43
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus SciML/DiffEqProblemLibrary.jl

Alle Issues in SciML/DiffEqProblemLibrary.jl

Ähnliche Issues

Weitere Issues zu Julia

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.