Merge branch 'hotfix/v3.25'
This commit is contained in:
@@ -72,7 +72,7 @@ def cpfit(powerdf):
|
|||||||
frac = abs(ddmin)/fitpoints.mean()
|
frac = abs(ddmin)/fitpoints.mean()
|
||||||
|
|
||||||
ratio = fitpoints.mean()/fitpoints0.mean()
|
ratio = fitpoints.mean()/fitpoints0.mean()
|
||||||
|
|
||||||
return p1,fitt,fitpower,ratio
|
return p1,fitt,fitpower,ratio
|
||||||
|
|
||||||
def getlogarr(maxt):
|
def getlogarr(maxt):
|
||||||
@@ -180,7 +180,7 @@ def getmaxwattinterval(tt,ww,i):
|
|||||||
if testres:
|
if testres:
|
||||||
deltat = 1.0e-3*(t_0-t_1)
|
deltat = 1.0e-3*(t_0-t_1)
|
||||||
wmax = w_roll.ix[indexmax]
|
wmax = w_roll.ix[indexmax]
|
||||||
if wmax > 800 or wmax > 800/(5.0e04*deltat):
|
if wmax > 800 or wmax*5.0e-4*deltat > 800.0:
|
||||||
wmax = 0
|
wmax = 0
|
||||||
else:
|
else:
|
||||||
wmax = 0
|
wmax = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user