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 FLOPS mass default #635

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

Conversation

xjjiang
Copy link
Contributor

@xjjiang xjjiang commented Dec 23, 2024

Summary

This PR serves as an experiment to standardize component defaults across Aviary. FLOPS mass is chosen because it is the clearest subsystems in Aviary. 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 FLOPS mass subsystems.
  • In all components of FLOPS mass subsystem, val argument is removed from add_aviary_input/add_aviary_output calls.
    • Example: add_aviary_input(self, Aircraft.Avionics.MASS)

Related Issues

  • Resolves #

Backwards incompatibilities

None

New Dependencies

None

@xjjiang xjjiang marked this pull request as draft December 23, 2024 16:51
@xjjiang xjjiang marked this pull request as ready for review December 23, 2024 20:57
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