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 73 74 #270

Closed
wants to merge 16 commits into from
Closed

Conversation

Peter230655
Copy link
Contributor

@Peter230655 Peter230655 commented Nov 26, 2024

These two simulations solve the same problem, but formulated differently. This may be a candidate for examples-gallery for these reasons:

  • Problem 10.73 has a boundary condition at the end of the interval as function(state variables, parameters) = 0 As opty does not presently allow such instance constraints, I introduced a new state variable hilfs and an additional equation of motion: hilfs - function(state variables, parameters) = 0. Then I set the instance constraint hilfs($t_f$) = 0 . I do not think, there is such an example in examples-gallery.
  • Without very good initial conditions, I could not get 10.73 to converge, while 10.74 converged very rapidly. Hence equivalent formulations may make difference on how well the problem can be solved.

@Peter230655
Copy link
Contributor Author

Something went wrong. I close this PR

@Peter230655 Peter230655 deleted the betts-10-73-74 branch November 26, 2024 11:28
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