Skip to content

Commit

Permalink
update makefile and sens process; increase available wlim
Browse files Browse the repository at this point in the history
  • Loading branch information
mjburton committed Apr 30, 2018
1 parent 7eef17a commit 453bb5c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
6 changes: 4 additions & 2 deletions solar/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
all:
python season.py ../docs/figs/
python sens_chart.py ../docs/figs/
ipython season.py ./figs/ GEN
ipython sens_chart.py ./figs/ GEN
ipython npod_trade.py ./figs/ GEN
ipython solarlat.py ./figs/ GEN
4 changes: 2 additions & 2 deletions solar/npod_trade.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ def test():
if __name__ == "__main__":
if len(sys.argv) > 1:
path = sys.argv[1]
GENERATE = True if sys.argv[2] == "GEN" else False
else:
path = ""

GENERATE = True
GENERATE = True

if GENERATE:
DF = pods()
Expand Down
4 changes: 2 additions & 2 deletions solar/season.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ def test():

if len(sys.argv) > 1:
path = sys.argv[1]
GENERATE = True if sys.argv[2] == "GEN" else False
else:
path = ""

GENERATE = False
GENERATE = True

if GENERATE:
DF = season(range(20, 30, 2))
Expand Down
1 change: 1 addition & 0 deletions solar/solar.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ def setup(self, Npod=0, sp=False):
self.emp.substitutions[self.emp.vtail.skin.rhoA] = 0.4
self.emp.substitutions[self.emp.tailboom.wlim] = 1.0
self.wing.substitutions[self.wing.mfac] = 1.0
self.wing.substitutions[self.wing.spar.wlim] = 0.25
if not sp:
self.emp.substitutions[Vh] = 0.45
self.emp.substitutions[self.emp.htail.mh] = 0.1
Expand Down

0 comments on commit 453bb5c

Please sign in to comment.