You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not selecting a solver is fine if there are no events:
using ModelingToolkit, OrdinaryDiffEq
@variables t X(t)
@parameters p d
D =Differential(t)
eqs = [D(X) ~ p - d*X]
@mtkbuild osys =ODESystem(eqs, t)
oprob =ODEProblem(osys, [X =>1.0], (0.0, 5.0), [p =>2.0, d =>1.0])
sol =solve(oprob)
The text was updated successfully, but these errors were encountered:
MWE:
yields a
While for continuous:
you get a
Doing e.g.
and it works though.
Not selecting a solver is fine if there are no events:
The text was updated successfully, but these errors were encountered: