qingfeng 2 tahun lalu
induk
melakukan
af7c3e1ead

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

@@ -426,7 +426,7 @@ class BatInterShort():
             dict_bal2={}
         else:
             deltvolt_last2=[np.array(x) for x in df_ram_chrgvolt.loc[0,'deltvolt']]
-            time_last2=df_ram_chrgvolt.loc[0,'time2']
+            time_last2=df_ram_chrgvolt.loc[0,'time']
             temp_mean_last=df_ram_chrgvolt.loc[0,'temp_avg']
             packcrnt_mean_last=df_ram_chrgvolt.loc[0,'packcrnt_avg']
             firsttime2=0
@@ -721,7 +721,7 @@ class BatInterShort():
             dict_bal2={}
         else:
             deltvolt_last2=[np.array(x) for x in df_ram_chrgvolt.loc[0,'deltvolt']]
-            time_last2=df_ram_chrgvolt.loc[0,'time2']
+            time_last2=df_ram_chrgvolt.loc[0,'time']
             temp_mean_last=df_ram_chrgvolt.loc[0,'temp_avg']
             packcrnt_mean_last=df_ram_chrgvolt.loc[0,'packcrnt_avg']
             firsttime2=0