소스 검색

Merge remote-tracking branch 'origin/dev' into pro

lmstack 3 년 전
부모
커밋
217789da20
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      LIB/MIDDLE/SaftyCenter/diagfault/SC_SamplingSafty.py

+ 1 - 1
LIB/MIDDLE/SaftyCenter/diagfault/SC_SamplingSafty.py

@@ -31,7 +31,7 @@ class SamplingSafty:
         #--------------该电池的所有当前故障-------------
 
         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)
         CellMinVoltage=CellVoltage.min(axis=1)
         InVMaxBatNo=CellVoltage[CellVoltage>=param.CellOVlmt].dropna(axis=0,how='all',inplace=False)