Skip to content

Commit

Permalink
remove a few vals
Browse files Browse the repository at this point in the history
  • Loading branch information
xjjiang committed Jan 10, 2025
1 parent e8616ad commit 225f641
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion aviary/subsystems/mass/gasp_based/design_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ def setup(self):
add_aviary_input(self, Aircraft.Wing.SWEEP, units="rad")
add_aviary_input(self, Mission.Design.MACH)

add_aviary_output(self, Aircraft.Design.LIFT_CURVE_SLOPE, val=7.1765)
add_aviary_output(self, Aircraft.Design.LIFT_CURVE_SLOPE)

self.declare_partials(Aircraft.Design.LIFT_CURVE_SLOPE, "*")

Expand Down
2 changes: 1 addition & 1 deletion aviary/subsystems/mass/gasp_based/fixed.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ def setup(self):
add_aviary_output(self, Aircraft.Nacelle.MASS, shape=num_engine_type)
self.add_output('pylon_mass', units='lbm',
desc='WPYLON: mass of each pylon', val=np.zeros(num_engine_type))
add_aviary_output(self, Aircraft.Propulsion.TOTAL_ENGINE_POD_MASS, val=0)
add_aviary_output(self, Aircraft.Propulsion.TOTAL_ENGINE_POD_MASS)
add_aviary_output(self, Aircraft.Engine.ADDITIONAL_MASS,
shape=num_engine_type)
self.add_output("eng_comb_mass", val=0, units="lbm",
Expand Down
8 changes: 4 additions & 4 deletions aviary/subsystems/mass/gasp_based/fuel.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ class FuelAndOEMOutputs(om.ExplicitComponent):

def setup(self):

add_aviary_input(self, Aircraft.Fuel.DENSITY, val=6.687, units="lbm/ft**3")
add_aviary_input(self, Aircraft.Fuel.DENSITY, units="lbm/ft**3")
add_aviary_input(self, Mission.Design.GROSS_MASS)
add_aviary_input(self, Aircraft.Propulsion.MASS)
add_aviary_input(self, Aircraft.Controls.TOTAL_MASS)
Expand Down Expand Up @@ -823,10 +823,10 @@ def setup(self):

self.add_input("fus_mass_full", val=4000, units="lbm",
desc="WX: mass of fuselage and contents, including empennage")
add_aviary_input(self, Aircraft.Fuselage.MASS_COEFFICIENT, val=128)
add_aviary_input(self, Aircraft.Fuselage.WETTED_AREA, val=4000)
add_aviary_input(self, Aircraft.Fuselage.MASS_COEFFICIENT)
add_aviary_input(self, Aircraft.Fuselage.WETTED_AREA)
add_aviary_input(self, Aircraft.Fuselage.AVG_DIAMETER)
add_aviary_input(self, Aircraft.TailBoom.LENGTH, val=129.4)
add_aviary_input(self, Aircraft.TailBoom.LENGTH)
self.add_input("pylon_len", val=0, units="ft",
desc="ELRW: length of pylon for fuselage mounted engines")
self.add_input("min_dive_vel", val=419.75918333, units="kn",
Expand Down

0 comments on commit 225f641

Please sign in to comment.