Skip to content

Commit

Permalink
solar updates
Browse files Browse the repository at this point in the history
  • Loading branch information
planes committed Aug 6, 2020
1 parent fa10e92 commit 4ee2257
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion Solar_UAV_Optimization/Vehicles.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ def base_setup():
bat.mass_properties.mass = 5.0 * Units.kg
bat.specific_energy = 250. *Units.Wh/Units.kg
bat.resistance = 0.003
bat.iters = 0
initialize_from_mass(bat,bat.mass_properties.mass)
net.battery = bat

Expand Down
11 changes: 5 additions & 6 deletions tut_solar_uav.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ def vehicle_setup():
# Vehicle-level Properties
# ------------------------------------------------------------------
# mass properties
vehicle.mass_properties.takeoff = 200. * Units.kg
vehicle.mass_properties.operating_empty = 200. * Units.kg
vehicle.mass_properties.max_takeoff = 200. * Units.kg
vehicle.mass_properties.takeoff = 250. * Units.kg
vehicle.mass_properties.operating_empty = 250. * Units.kg
vehicle.mass_properties.max_takeoff = 250. * Units.kg

# basic parameters
vehicle.reference_area = 80.
Expand Down Expand Up @@ -112,7 +112,6 @@ def vehicle_setup():
wing.chords.mean_aerodynamic = wing.areas.reference/wing.spans.projected
wing.chords.root = wing.areas.reference/wing.spans.projected
wing.chords.tip = wing.areas.reference/wing.spans.projected
wing.span_efficiency = 0.98
wing.twists.root = 0.0 * Units.degrees
wing.twists.tip = 0.0 * Units.degrees
wing.highlift = False
Expand Down Expand Up @@ -263,8 +262,8 @@ def vehicle_setup():

# Component 8 the Battery
bat = SUAVE.Components.Energy.Storages.Batteries.Constant_Mass.Lithium_Ion()
bat.mass_properties.mass = 55.0 * Units.kg
bat.specific_energy = 450. * Units.Wh/Units.kg
bat.mass_properties.mass = 90.0 * Units.kg
bat.specific_energy = 600. * Units.Wh/Units.kg
bat.resistance = 0.05
bat.max_voltage = 45.0
initialize_from_mass(bat,bat.mass_properties.mass)
Expand Down

0 comments on commit 4ee2257

Please sign in to comment.