-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
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
Hybrid systems behavior #722
Comments
To index a clock time exactly, one can use |
sol[Hold(x)] should then match sol.t times? Plot recipes should plot discrete as scatters plus dashed lines |
Yes |
How do we handle
When
Why not just
Is there any standardization whether Also, since MTK doesn't support hybrid systems, does MTKParameters need to have a complicated discrete partition? It's only ever going to store the callback parameters. For these callback parameters, should they have the same semantics as discrete variables, or should they have an implicit hold? While all of the proposed changes are possible, they're technically breaking for SII. This wouldn't be a problem if RAT didn't also have a release with the current implementation of discrete save, since it means that part of the API can't change or else old RAT with new SII will error. |
Because |
x
is discrete variable or a vector of discrete variables with matching clock and continuous variables, thensol[x]
should return at the clock times of thex
.x, y
have different discrete clocks (excluding continuous variables), thensol[[x, y]]
orsol[f(x, y)]
where bothx
andy
occur in thef(x, y)
expression should error with incompatible clocks.saveat isa Real
insolve(...,; saveat)
can only be set such that for all discrete clock time stepdt
,isinteger(saveat/dt)
orisinteger(dt/saveat)
.The text was updated successfully, but these errors were encountered: