additional wmax condition
This commit is contained in:
@@ -180,7 +180,7 @@ def getmaxwattinterval(tt,ww,i):
|
||||
if testres:
|
||||
deltat = 1.0e-3*(t_0-t_1)
|
||||
wmax = w_roll.ix[indexmax]
|
||||
if wmax > 800:
|
||||
if wmax > 800 or wmax > 800/(5.0e04*deltat):
|
||||
wmax = 0
|
||||
else:
|
||||
wmax = 0
|
||||
|
||||
Reference in New Issue
Block a user