Skip to content
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

New failure to simplify algebraic equations #2234

Closed
baggepinnen opened this issue Aug 21, 2023 · 1 comment
Closed

New failure to simplify algebraic equations #2234

baggepinnen opened this issue Aug 21, 2023 · 1 comment

Comments

@baggepinnen
Copy link
Contributor

baggepinnen commented Aug 21, 2023

A somewhat recent change broke simplification of an example in the JuliaSimControl docs. The error is

ExtraEquationsSystemException: The system is unbalanced. There are 41 highest order derivative variables and 44 equations.

and the 4 extra equations reported are all algebraic:

 0 ~ model₊inertia2₊phi(t) - model₊damper₊phi_rel(t) - model₊inertia1₊phi(t)
 0 ~ -state_feedback₊output₊u(t) - 6.366552244884042(state_feedback₊input₊u(t))[2]
 0 ~ -state_feedback₊output₊u(t) - 12.386063825133666(state_feedback₊input₊u(t))[3]
 0 ~ -state_feedback₊output₊u(t) - 1.756071798599596(state_feedback₊input₊u(t))[4]

The error can be reproduced by running the first two code cells in the tutorial, the example hasn't changed (except for the now required @named torque = Torque(use_support=false))

@baggepinnen
Copy link
Contributor Author

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

No branches or pull requests

1 participant