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 摘要。