Aviary icon indicating copy to clipboard operation
Aviary copied to clipboard

hybrid_throttle_min not defined yet

Open jexalto opened this issue 2 months ago • 1 comments

Hey Aviary team,

I'm working on a set-up with a hybrid throttle, and came across the lines of code referenced below. I might be wrong here, but I was thinking that the hybrid_throttle_min/hybrid_throttle_max should be self.hybrid_throttle_min/self.hybrid_throttle_max?

https://github.com/OpenMDAO/Aviary/blob/78b553c8ff68c6f67f358426f577bd1280eb3bc1/aviary/subsystems/propulsion/engine_deck.py#L1429-L1430

jexalto avatar Oct 16 '25 08:10 jexalto

I somehow missed defining the local variables hybrid_throttle_min and hybrid_throttle_max when adding this section (right after defining throttle_max on line 1462). This will be a very quick fix, I will push that up today

jkirk5 avatar Nov 25 '25 19:11 jkirk5