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
Take the following. The equation left in the initialization system is already an observable.
using ModelingToolkit
using ModelingToolkitStandardLibrary.Blocks
using ModelingToolkit: t_nounits as t, D_nounits as D
vars =@variablesy(t) dy(t) ddy(t)
systems =@namedbegin
src =SampledData(Float64)
int =Integrator()
end
eqs = [
y ~ src.output.u
D(y) ~ dy
D(dy) ~ ddy
connect(src.output, int.input)
]
@mtkbuild sys =ODESystem(eqs, t; systems)
initprob = ModelingToolkit.InitializationProblem(sys, 0.0) # Warning: Initialization system is overdetermined. 1 equations for 0 unknowns.
As can be seen we have an overdetermined system, which I believe is a bug.
Take the following. The equation left in the initialization system is already an observable.
As can be seen we have an overdetermined system, which I believe is a bug.
If we look at the equations we see...
But if we look at the observed, we can see that
src₊output₊u(t)
is already known and shouldn't be an equation.Versions...
The text was updated successfully, but these errors were encountered: