-
Notifications
You must be signed in to change notification settings - Fork 47
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
Minor tweaks to docs and naming #22
Conversation
@@ -226,14 +226,6 @@ def load_inputs(self, input_filename, engine_builder=None): | |||
aviary_inputs.set_val(Mission.Summary.GROSS_MASS, | |||
val=self.initial_guesses['actual_takeoff_mass'], units='lbm') | |||
|
|||
# Commonly referenced values | |||
self.enable_engine_sizing = aviary_inputs.get_val( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently they were not commonly referenced.
self.cruise_alt = aviary_inputs.get_val( | ||
Mission.Design.CRUISE_ALTITUDE, units='ft') | ||
self.problem_type = aviary_inputs.get_val('problem_type') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe these two are actually referenced elsewhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cruise_alt and problem_type are used elsewhere, these should not be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For both of these the values are later overwritten; the values saved in load_inputs
are replaced by values read in in _add_gasp_takeoff_systems
and add_design_variables
. I believe it is fine to be removed from load_inputs
based on this. Do you see a reason to keep these value instantiations as they stand?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as long as that happens before the phases are added to the problem, that should be fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
problem_type is used in methods_for_level2, and cruise_alt is used in methods_for_level2 and level2_shooting_traj.
self.cruise_alt = aviary_inputs.get_val( | ||
Mission.Design.CRUISE_ALTITUDE, units='ft') | ||
self.problem_type = aviary_inputs.get_val('problem_type') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cruise_alt and problem_type are used elsewhere, these should not be removed
Summary
Minor changes to:
mission_method
andmission_origin
intomission_method
Related Issues
Backwards incompatibilities
None
New Dependencies
None