Skip to content

Commit d0d8497

Browse files
authored
Merge pull request #26 from suavecode/feature-small_fix
small fixes
2 parents ef3e7ee + b8fefd0 commit d0d8497

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Solar_UAV_Optimization/Optimize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def setup():
5050

5151
# [ tag , initial, [lb,ub], scaling, units ]
5252
problem.inputs = np.array([
53-
[ 'wing_area' , 0.5, 0.1, 1.5 , 0.5, 1*Units.meter ],
53+
[ 'wing_area' , 0.5, 0.1, 1.5 , 0.5, 1*Units.meter**2 ],
5454
[ 'aspect_ratio' , 10.0, 5.0, 20.0 , 10.0, 1*Units.less ],
5555
[ 'dynamic_pressure', 125.0, 1.0, 2000.0 , 125.0, 1*Units.pascals ],
5656
[ 'solar_ratio' , 0.0, 0.0, 0.97, 1.0, 1*Units.less ],

Solar_UAV_Optimization/Procedure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def simple_sizing(nexus):
6666
# Pull out the vehicle
6767
vec = nexus.vehicle_configurations.base
6868

69-
# Change the dynamic pressure based on the, add a factor of safety
69+
# Change the dynamic pressure, add a factor of safety
7070
vec.envelope.maximum_dynamic_pressure = nexus.missions.mission.segments.cruise.dynamic_pressure*1.2
7171

7272
# Scale the horizontal and vertical tails based on the main wing area

tut_mission_B737.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def main():
5858
weights = analyses.configs.base.weights
5959
breakdown = weights.evaluate()
6060

61-
# Performance a mission analysis
61+
# Perform a mission analysis
6262
mission = analyses.missions.base
6363
results = mission.evaluate()
6464

0 commit comments

Comments
 (0)