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

Betts 10 144 145 #267

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

Peter230655
Copy link
Contributor

These are two examples solving the same problem with a bit different (but equivalent) sets of equations of motion.
This might be a candidate for examples-gallery for two reasons:

  • The second version (10.145) adds one algebraic equation to the eoms, and add one control variable. As opty needs as many state variables as there are eoms, I simply declared one control variable to be a state variable. Admittedly, not a stroke of genius, but I do not think, this is in examples-gallery, yet.
  • the second version, though mathematically equivalent to the first one seems to hold the constraints better by a factor on 10...100. I do not know why this is so. I any case it shows, that different, but equivalent formulations may affect the accuracy.

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.

1 participant