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

Issue233 #550

Draft
wants to merge 14 commits into
base: 0.9.6.dev
Choose a base branch
from
Draft

Issue233 #550

wants to merge 14 commits into from

Conversation

cmbenne3
Copy link
Contributor

Summary

This PR makes the initial guessing in phase info consistent for the user and requires initial guesses for all phases to be specified as [initial, final] pairs.

The initial guessing functions are also tidied up to try and reduce the number of separate logic blocks in the code.
At some point in the future it would be nice to get the lists of control and state variables from within the phase definitions, rather than having hardcoded lists that are dependent on phase_name and mission_method.
The initial guesses for the integration variable (usually time, sometimes mass) is now specified by checking the dymos phase for the 'name' of 'time', which is a more robust implementation, however the need for checking phase_name and mission_method has not been totally eliminated.

Related Issues

Backwards incompatibilities

All phase info dictionaries with initial guesses will need to be updated to conform with the [initial, final] specification.

New Dependencies

None

@cmbenne3 cmbenne3 closed this Sep 30, 2024
@cmbenne3 cmbenne3 reopened this Sep 30, 2024
@cmbenne3 cmbenne3 marked this pull request as draft September 30, 2024 03:35
Bennett and others added 2 commits October 7, 2024 10:13
… parameter variable lists from the phase object rather than hardcoded lists
@jkirk5 jkirk5 changed the base branch from main to 0.9.6.dev October 9, 2024 20:31
@xjjiang
Copy link
Contributor

xjjiang commented Oct 21, 2024

Will you make a more meaningful title?

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.

Make initial guessing consistent in terms of (initial, final) value pairs or (initial, duration)
2 participants