Skip to content

Commit

Permalink
small tweaks to low fidelity
Browse files Browse the repository at this point in the history
  • Loading branch information
planes committed Nov 9, 2021
1 parent 835bbc5 commit 562adf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Solar_UAV_Optimization/Missions.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def mission(analyses,vehicle):
segment.analyses.extend(analyses.base)

# segment attributes
segment.state.numerics.number_control_points = 50
segment.state.numerics.number_control_points = 32
segment.dynamic_pressure = 115.0 * Units.pascals
segment.start_time = time.strptime("Tue, Jun 21 11:00:00 2020", "%a, %b %d %H:%M:%S %Y",)
segment.altitude = 1000.0 * Units.feet
Expand Down
1 change: 1 addition & 0 deletions Solar_UAV_Optimization/Procedure.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def weights_battery(nexus):
vec.networks.solar_low_fidelity.battery.mass_properties.mass = batmass

# Set Battery Charge
segment.battery_energy = bat.max_energy
append_initial_battery_conditions(segment, bat)

return nexus
Expand Down

0 comments on commit 562adf9

Please sign in to comment.