Skip to content

Commit

Permalink
Reverting tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
1ozturkbe committed Jun 27, 2018
1 parent da3d9b8 commit bf0715a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SPaircraft.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ def test():
Nclimb = 3 # number of climb segments
Ncruise = 2 # number of cruise segments
Nmission = 1 # number of missions
config = 'optimalD8' # String describing configuration:
config = 'optimal737' # String describing configuration:
# currently one of: 'D8_eng_wing', 'optimal737', 'optimal777', 'optimalD8', 'D8_no_BLI', 'M072_737'
m = Mission(Nclimb, Ncruise, config, Nmission)

# Objective
m.cost = m['W_{f_{total}}'].sum()

# Inputs to the model
substitutions = get_optimalD8_subs()
substitutions = get_optimal737_subs()
substitutions.update({'R_{req}': 3000.*units('nmi'), #6000*units('nmi'),
'n_{pass}': 180.}) #450.,)

Expand Down

0 comments on commit bf0715a

Please sign in to comment.