Skip to content

Conversation

@Kenneth-T-Moore
Copy link
Member

Summary

NPSS example wasn't running because of a missing variable in the aircraft csv file.

Related Issues

  • Resolves #

Backwards incompatibilities

None

New Dependencies

None

aircraft:engine:generate_flight_idle,True,unitless
aircraft:engine:geopotential_alt,False,unitless
aircraft:engine:ignore_negative_thrust,False,unitless
aircraft:engine:interpolation_method,slinear,unitless
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Kenneth-T-Moore - Perhaps we could update the variable_meta_data.py with a link to the openMDAO page documentation so that someone can easily work out what methods are available.

Image I think this is the doc link: https://openmdao.org/newdocs/versions/latest/features/building_blocks/components/metamodelstructured_comp.html

Does OpenMDAO have enums that we can import? Might get a bit messy if we make this an Aviary enum (in case OpenMDAO makes updates) so I think best to keep as a string for now - what do you think?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've kind of been wanting to modify OpenMDAO to use enums for all of the interpolation methods.

@Kenneth-T-Moore
Copy link
Member Author

@cmbenne3
I've extended the description for the interp method in the metadata to include a url and a bit more information.

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.

2 participants