Skip to content

Commit

Permalink
update substitutions for new values
Browse files Browse the repository at this point in the history
  • Loading branch information
mjburton committed Apr 20, 2018
1 parent 642a7d3 commit dcdd3f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion model/print_perf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ def jho_subs(model):
model.substitutions.update({t: 65})
model.substitutions.update({model.JHO.wing.spar.wlim: 1})
for vk in model.varkeys["w"]:
model.substitutions.update({vk: 2})
if "SparLoading" not in vk.models:
model.substitutions.update({vk: 2})

del model.substitutions[model.JHO.emp.mfac]
del model.substitutions[model.JHO.wing.mfac]
Expand Down

0 comments on commit dcdd3f2

Please sign in to comment.