Skip to content

Commit

Permalink
Merge pull request #26 from suavecode/feature-small_fix
Browse files Browse the repository at this point in the history
small fixes
  • Loading branch information
planes authored May 25, 2021
2 parents ef3e7ee + b8fefd0 commit d0d8497
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Solar_UAV_Optimization/Optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def setup():

# [ tag , initial, [lb,ub], scaling, units ]
problem.inputs = np.array([
[ 'wing_area' , 0.5, 0.1, 1.5 , 0.5, 1*Units.meter ],
[ 'wing_area' , 0.5, 0.1, 1.5 , 0.5, 1*Units.meter**2 ],
[ 'aspect_ratio' , 10.0, 5.0, 20.0 , 10.0, 1*Units.less ],
[ 'dynamic_pressure', 125.0, 1.0, 2000.0 , 125.0, 1*Units.pascals ],
[ 'solar_ratio' , 0.0, 0.0, 0.97, 1.0, 1*Units.less ],
Expand Down
2 changes: 1 addition & 1 deletion Solar_UAV_Optimization/Procedure.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def simple_sizing(nexus):
# Pull out the vehicle
vec = nexus.vehicle_configurations.base

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

# Scale the horizontal and vertical tails based on the main wing area
Expand Down
2 changes: 1 addition & 1 deletion tut_mission_B737.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def main():
weights = analyses.configs.base.weights
breakdown = weights.evaluate()

# Performance a mission analysis
# Perform a mission analysis
mission = analyses.missions.base
results = mission.evaluate()

Expand Down

0 comments on commit d0d8497

Please sign in to comment.