Aviary
Aviary copied to clipboard
hybrid_throttle_min not defined yet
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
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