Skip to content

Commit

Permalink
updated design numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
FernCarrera committed May 30, 2019
1 parent 9984a02 commit a9ece00
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

ivc.add_output('m',val=0.0)
ivc.add_output('r',val=0.0)
ivc.add_output('TS',val=175) # ~55% of mach @ Sl
ivc.add_output('TS',val=188) # ~50% of mach @ Sl
ivc.add_output('cd0',val=0.0197)
ivc.add_output('rho',val=1.225)

Expand Down Expand Up @@ -84,10 +84,11 @@
prob.driver.options['disp'] = True

model.add_design_var('r',lower=0.5,upper=1.5)
model.add_design_var('We/W0',lower=0.50,upper=0.70) # 30% - 70%, from lecture
model.add_design_var('We/W0',lower=0.40,upper=0.70) # 30% - 70%, from lecture
model.add_design_var('V',lower=67,upper=103)



model.add_constraint('FOM.FM',equals=0.80)
model.add_constraint('weight.W0',lower=1700,upper=2500)
model.add_constraint('FOM.PH',upper=500)
Expand All @@ -106,7 +107,7 @@
prob['V'] = 90
prob['Cd'] = 0.03 # not used for calculation but here to run
prob['Cl'] = 0.32 # not used for calculation but here to run
#prob['TS'] = 170
#prob['TS'] = 160



Expand Down

0 comments on commit a9ece00

Please sign in to comment.