-
-
Notifications
You must be signed in to change notification settings - Fork 224
error for hybrid continuous/discrete systems #2765
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
Conversation
@test_nowarn solve(prob, Tsit5(); kwargshandle = KeywordArgSilent) | ||
|
||
@mtkbuild sys = ODESystem(eqs, t; parameter_dependencies = [kq => 2kp], | ||
discrete_events = [[0.5] => [kp ~ 2.0]]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought directly defined events were fine? What's the issue here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The equations used here are still clocked, this test adds a manually defined discrete event in addition to the clocked system
Handle the typos first. |
This PR detects hybrid continuous/discrete systems and throws an error indicating that they are not yet supported by the default MTK compiler, indicating that JuliaSimCompiler is currently required for correctness.
The tests are also deactivated.