Skip to content

Commit

Permalink
remove val from Aircraft.Fuel.DENSITY but keep the units because ther…
Browse files Browse the repository at this point in the history
…e are two different units in four components
  • Loading branch information
xjjiang committed Jan 10, 2025
1 parent 225f641 commit 5c66d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aviary/subsystems/mass/gasp_based/fuel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1498,7 +1498,7 @@ def setup(self):
promotes_outputs=connected_outputs5 + ["aircraft:*"],
)

self.set_input_defaults(Aircraft.Fuel.DENSITY, val=6.687, units="lbm/galUS")
self.set_input_defaults(Aircraft.Fuel.DENSITY, units="lbm/galUS")

newton = self.nonlinear_solver = om.NewtonSolver()
newton.options["atol"] = 1e-9
Expand Down

0 comments on commit 5c66d12

Please sign in to comment.