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

Addition of global_throttle flag to variable hierarchy #582

Merged
merged 18 commits into from
Dec 16, 2024

Conversation

jkirk5
Copy link
Contributor

@jkirk5 jkirk5 commented Oct 22, 2024

Summary

Exposes the previously hidden option to toggle if EngineDecks used a global throttle range across the entire data set, or disable it to normalize the throttle per flight condition (the default).

GASP-converted input files have global_throttle set to True, as GASP-based engine decks have varied throttle ranges and do not produce matching results if throttle is normalized per flight condition.

Will route this to 0.9.6.dev branch once reviews are in and it is still passing testing

Related Issues

Backwards incompatibilities

None

New Dependencies

None

@jkirk5 jkirk5 self-assigned this Nov 13, 2024
@jkirk5 jkirk5 changed the base branch from main to 0.9.6.dev December 9, 2024 22:06
@jkirk5 jkirk5 changed the base branch from 0.9.6.dev to main December 9, 2024 22:06
@jkirk5 jkirk5 requested review from crecine and Kenneth-T-Moore and removed request for crecine December 9, 2024 23:15
@jkirk5 jkirk5 enabled auto-merge December 11, 2024 22:18
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you mean to commit these changes in this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Looks like I was debugging this test at some point

# to truly fix)
self.global_throttle = True
self.global_hybrid_throttle = True
if Aircraft.Engine.GLOBAL_THROTTLE in options:
Copy link
Contributor

Choose a reason for hiding this comment

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

So it looks like these options are exclusive, they could both be true or both be false?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah you can have different values for hybrid vs. regular throttle

@jkirk5 jkirk5 disabled auto-merge December 16, 2024 16:21
@jkirk5 jkirk5 merged commit 7b2ef9f into OpenMDAO:main Dec 16, 2024
6 checks passed
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.

Add flag for local/global throttle normalization
2 participants