|
@@ -31,7 +31,7 @@ class SamplingSafty:
|
|
#--------------该电池的所有当前故障-------------
|
|
#--------------该电池的所有当前故障-------------
|
|
|
|
|
|
VoltageNum=['单体电压'+str(i) for i in range(1,param.CellVoltNums+1)]#单体电压替换cellvolt_
|
|
VoltageNum=['单体电压'+str(i) for i in range(1,param.CellVoltNums+1)]#单体电压替换cellvolt_
|
|
- CellVoltage=bms_info[VoltageNum]
|
|
|
|
|
|
+ CellVoltage=bms_info[VoltageNum]/1000
|
|
CellMaxVoltage=CellVoltage.max(axis=1)
|
|
CellMaxVoltage=CellVoltage.max(axis=1)
|
|
CellMinVoltage=CellVoltage.min(axis=1)
|
|
CellMinVoltage=CellVoltage.min(axis=1)
|
|
InVMaxBatNo=CellVoltage[CellVoltage>=param.CellOVlmt].dropna(axis=0,how='all',inplace=False)
|
|
InVMaxBatNo=CellVoltage[CellVoltage>=param.CellOVlmt].dropna(axis=0,how='all',inplace=False)
|