|
@@ -166,7 +166,7 @@ class SafetyWarning:
|
|
else:
|
|
else:
|
|
cellsoh_3sigma=[0]*self.param.CellVoltNums
|
|
cellsoh_3sigma=[0]*self.param.CellVoltNums
|
|
for i in range(len(volt_rate)):
|
|
for i in range(len(volt_rate)):
|
|
- if volt_rate[i]<self.param.TrwVoltRate and volt_rate_3sigma[i]<-3 and abs(cellsoh_3sigma[i])<2.5 and (uniformfault_list[i]==1 or voltsigmafault_list[i]==1):
|
|
|
|
|
|
+ if volt_rate[i]<self.param.TrwVoltRate and volt_rate_3sigma[i]<-3 and abs(cellsoh_3sigma[i])<2.5 and voltsigmafault_list[i]==1:
|
|
faultcode=110
|
|
faultcode=110
|
|
faultlv=4
|
|
faultlv=4
|
|
faultinfo='电芯{}发生热失控安全预警'.format(i+1)
|
|
faultinfo='电芯{}发生热失控安全预警'.format(i+1)
|