Skip to content

Conversation

@baggepinnen
Copy link
Contributor

Copy link
Member

@YingboMa YingboMa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still needs tests.

@baggepinnen
Copy link
Contributor Author

I added the system from https://discourse.julialang.org/t/why-is-modelingtoolkit-simplifying-this-way/96872 as test, but the fix in this PR does not actually help, the problem appears to have occurred already in the alias-elimination step, and state priorities are not considered until tearing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set state priority from outside of component definition

3 participants