-
-
Notifications
You must be signed in to change notification settings - Fork 244
Open
Description
MWE:
using ModelingToolkit, OrdinaryDiffEq
using ModelingToolkit: t_nounits as t
@variables x(t) y(t)
eqs = [
0 ~ x - y
0 ~ 2y - x
]
@named sys = System(eqs, t)
sys = mtkcompile(sys)
equations(sys)
# 1-element Vector{Equation}:
# 0 ~ x(t) - y(t)
prob = ODEProblem(sys, Pair[], (0, 10.0))
sol = solve(prob, Tsit5()) # ERROR: This solver is not able to use mass matrices. For compatible solvers see https://docs.sciml.ai/DiffEqDocs/stable/solvers/dae_solve/Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels