فهرست منبع

Merge branch 'dev' into pro

qingfeng 2 سال پیش
والد
کامیت
cd905f9170
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      LIB/MIDDLE/CellStateEstimation/BatSafetyWarning/V1_0_1/CBMSSafetyWarning.py

+ 2 - 2
LIB/MIDDLE/CellStateEstimation/BatSafetyWarning/V1_0_1/CBMSSafetyWarning.py

@@ -136,9 +136,9 @@ class SafetyWarning:
                     deltvolt_count = np.sum(deltvolt_rst < -10)
                     deltvolt_index = np.where(deltvolt_rst < -10)
                     deltvolt_last1 = deltvolt_last[deltvolt_index]
-                    if deltvolt_count < 4 and min(deltvolt_last1) < -6:
+                    if deltvolt_count < 4 and min(deltvolt_last1) < -10:
                         cellshortfault1=1
-                        cellshort_num= list(np.where(deltvolt_last<-6)[0]+1)
+                        cellshort_num= list(np.where(deltvolt_last<-10)[0]+1)
                         break
                 elif min(deltvolt_rst)<-6:
                     deltvolt_rst1=list(deltvolt_rst)