Browse Source

update 过温等级和电压跳1V以下的等级为4级

qingfeng 2 years ago
parent
commit
f78530fc51
1 changed files with 2 additions and 2 deletions
  1. 2 2
      LIB/MIDDLE/CellStateEstimation/BatDiag/V1_0_0/CBMSBatDiag.py

+ 2 - 2
LIB/MIDDLE/CellStateEstimation/BatDiag/V1_0_0/CBMSBatDiag.py

@@ -162,7 +162,7 @@ class BatDiag:
                     if voltfail_time>self.param.volt_time:    #持续时间
                         time=self.bmstime[i]
                         code='C309'
-                        faultlv=3
+                        faultlv=4
                         faultinfo='电芯电压采样系统失效'
                         faultadvice='通知用户更换电池,电池返厂维修'
                         self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]
@@ -460,7 +460,7 @@ class BatDiag:
                         if ot_time>self.param.temp_time:
                             time=self.bmstime[i]
                             code='C302'
-                            faultlv=3
+                            faultlv=4
                             faultinfo='温度{}高温'.format(celltemp1.index(celltempmax1)+1)
                             faultadvice='技术介入诊断'
                             self.df_diag_ram.loc[len(self.df_diag_ram)]=[time, end_time, self.sn, code, faultlv, faultinfo, faultadvice]