Issue233
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
- Resolves #233
Backwards incompatibilities
All phase info dictionaries with initial guesses will need to be updated to conform with the [initial, final] specification.
New Dependencies
None