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

未關閉
#240 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

這個 Issue 還沒有評估資料。

描述

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?

主要語言
Julia
星號
125
分支
43
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

SciML/DiffEqProblemLibrary.jl 的其他 Issue

查看 SciML/DiffEqProblemLibrary.jl 的全部 Issue

相似的 Issue

更多 Julia Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。