Skip to content

Commit 24bdece

Browse files
committed
fixes in gamma
1 parent 7a43ce7 commit 24bdece

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Regional_Jet_Optimization/Vehicles.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def base_setup():
4545
vehicle.mass_properties.max_fuel = 12971. * Units.kg
4646

4747
vehicle.mass_properties.center_of_gravity = [18., 0, 0]
48-
#vehicle.mass_properties.moments_of_inertia.tensor = [[10 ** 5, 0, 0],[0, 10 ** 6, 0,],[0,0, 10 ** 7]] # Not Correct
4948

5049
# envelope properties
5150
vehicle.envelope.ultimate_load = 3.5
@@ -196,7 +195,7 @@ def base_setup():
196195
gt_engine.nacelle_diameter = 2.05
197196

198197
#set the working fluid for the network
199-
gt_engine.working_fluid = SUAVE.Attributes.Gases.Air
198+
gt_engine.working_fluid = SUAVE.Attributes.Gases.Air()
200199

201200

202201
#Component 1 : ram, to convert freestream static to stagnation quantities

tut_payload_range.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def vehicle_setup():
315315
gt_engine.nacelle_diameter = 2.05
316316

317317
# set the working fluid for the network
318-
gt_engine.working_fluid = SUAVE.Attributes.Gases.Air
318+
gt_engine.working_fluid = SUAVE.Attributes.Gases.Air()
319319

320320
# Component 1 : ram, to convert freestream static to stagnation quantities
321321
ram = SUAVE.Components.Energy.Converters.Ram()

0 commit comments

Comments
 (0)