removed duplicate code and clarified error message on duration bounds #608
+1
−10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Modifying the
phase_info
is one of the easiest ways to break a problem. In the long-term, we should limit interactions with phase_info to graphical-based tool for level1 and level2 users. However, for level3 users, we must rebuild phase_info to be more intuitive, systematic, and less error-prone.Proposed Changes with this PR:
initial_mach
,final_mach
, andfix_initial
all modify some aspect of the mach state. They should all start withmach
. And items likefix_initial
which modify both mach and altitude should be split into two items. Proposed changes would be that all of these names would start withmach_X_modifier
, thus we would havemach_optimize
,mach_initial
,mach_bounds
,mach_initial_fix
.check_phase_info.py
. Additionally, each ODE method should list it's required inputs in the docs (https://openmdao.github.io/Aviary/getting_started/input_csv_phase_info.html).initial_guesses[
time`] is in (absolute,relative) units. Right now there is not descriptions for the user on the docs page telling them the differences between these items and describing the absolute vs. relative nature of the values that must be set for any of them.Related Issues
Backwards incompatibilities
None
New Dependencies
None