We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
u
Extracted from SciML/OrdinaryDiffEq.jl#2127
IDA also appears to struggle to get past the first stop:
julia> using DiffEqCallbacks, Sundials, Plots julia> f(du, u, p, t) = [du[1] - u[2], u[2] - p * sin(t)] julia> prob = DAEProblem(DAEFunction(f), [0.0, 0.0], [0.0, 0.0], (0., 2π), 1, callback=PresetTimeCallback(0:.3:2π, integ->(integ.p=-integ.p;)), differential_vars=[true,false]) julia> sol = solve(prob, IDA()) julia> plot(sol; xlim=(0, 2π))
Originally posted by @topolarity in SciML/OrdinaryDiffEq.jl#2127 (comment)
The text was updated successfully, but these errors were encountered:
Output:
[IDAS ERROR] IDASolve At t = 0.3 and h = 2.38735e-08, the error test failed repeatedly or with |h| = hmin. retcode: Unstable
@ChrisRackauckas chimed in already to help:
IDA has a reinitialization. It must not be reinitializable with your choice of initialize. Brown basic?
I don't know why this problem wouldn't be re-initializable, though. It's extremely smooth (linear in u[2]).
u[2]
Sorry, something went wrong.
p
Successfully merging a pull request may close this issue.
Extracted from SciML/OrdinaryDiffEq.jl#2127
IDA also appears to struggle to get past the first stop:
Originally posted by @topolarity in SciML/OrdinaryDiffEq.jl#2127 (comment)
The text was updated successfully, but these errors were encountered: