Skip to content

Commit

Permalink
updates required due to changes made to accessing aviary_options
Browse files Browse the repository at this point in the history
  • Loading branch information
Bennett committed Jan 13, 2025
1 parent 82c134f commit 2f04c3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aviary/subsystems/mass/gasp_based/fixed.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,12 @@ def initialize(self):
add_aviary_option(self, Aircraft.CrewPayload.NUM_PASSENGERS)
add_aviary_option(self, Aircraft.CrewPayload.PASSENGER_MASS_WITH_BAGS,
units='lbm')
add_aviary_option(self, Aircraft.CrewPayload.Design.NUM_PASSENGERS)
add_aviary_option(self, Aircraft.CrewPayload.MAX_CARGO_MASS)

def setup(self):
add_aviary_input(self, Aircraft.CrewPayload.CARGO_MASS, val=10040)
add_aviary_input(self,Aircraft.CrewPayload.Design.CARGO_MASS, val=0)
add_aviary_input(self, Aircraft.CrewPayload.Design.CARGO_MASS, val=0)

add_aviary_output(self, Aircraft.CrewPayload.PASSENGER_PAYLOAD_MASS, val=0)
add_aviary_output(self, Aircraft.CrewPayload.TOTAL_PAYLOAD_MASS, val=0)
Expand Down

0 comments on commit 2f04c3d

Please sign in to comment.