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

Set mass default #640

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

Set mass default #640

wants to merge 25 commits into from

Conversation

xjjiang
Copy link
Contributor

@xjjiang xjjiang commented Jan 7, 2025

Summary

In this PR,

  • Functions add_aviary_input/add_aviary_output set value to 0.0 if there is no metadata default value.
  • Default values are set to 0.0 in variable_meta_data.py for variables used by mass subsystems.
  • In all components of geometry subsystem, val argument is removed from add_aviary_input/add_aviary_output calls.
    • Example: add_aviary_input(self, Aircraft.WING.HIGH_LIFT_MASS)
  • One concern remains: there are many inputs that are internally defined. Example: self.add_input("vel_c",...) in design_load.py. They are not touched.

Related Issues

  • Resolves #

Backwards incompatibilities

None

New Dependencies

None

@xjjiang xjjiang marked this pull request as draft January 7, 2025 20:10
@xjjiang xjjiang changed the title Set mass default (draft) Set mass default Jan 13, 2025
@xjjiang xjjiang marked this pull request as ready for review January 13, 2025 17:46
@jkirk5 jkirk5 self-requested a review January 13, 2025 19:04
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