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

Aberta
#240 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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?

Linguagem predominante
Julia
Estrelas
125
Forks
43
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de SciML/DiffEqProblemLibrary.jl

Todas as issues de SciML/DiffEqProblemLibrary.jl

Issues semelhantes

Mais issues de Julia

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.