-
Notifications
You must be signed in to change notification settings - Fork 41
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
when equations in algebraic loop? #3498
Comments
It seems that it is allowed by the specification (there is even one example of it) , but that:
The when-equations are even designed to make it clear how such cases are handled. That's why you cannot write:
because it wouldn't make it clear which variables are updated as part of the when and which ones aren't. |
I believe the impure part can be handled in #3499 - The remaining part is thus just to state that there is nothing special with when-clauses and they can be part of systems of equations. |
For what it's worth, System Modeler also builds and simulates this without any complaint. |
Dymola 2024x Refresh 1 also builds and simulates this without any complaint. |
I thus believe it was just a tool-issue, but it might be that the specification should be clearer. |
Language group: Agreement |
Is it allowed for when equations to be part of an algebraic loop?
Following model leads to an error in Dymola but not in OMEdit:
I have not found any statement to this regard in the specification. Please clarify.
The text was updated successfully, but these errors were encountered: