|
@@ -3,7 +3,7 @@ import numpy as np
|
|
|
import datetime
|
|
|
import matplotlib as plt
|
|
|
from scipy.signal import savgol_filter
|
|
|
-import BatParam
|
|
|
+from LIB.MIDDLE.CellStateEstimation.Common.V1_0_1 import BatParam
|
|
|
|
|
|
class Liplated_test:
|
|
|
def __init__(self,sn,celltype,df_bms): #参数初始化
|
|
@@ -30,7 +30,7 @@ class Liplated_test:
|
|
|
#----------------------------------------筛选充电后静置数据------------------------------------------------------------
|
|
|
chrgr_rest_data_temp = self.df_bms.loc[((self.df_bms['充电状态'] == 0) & (self.df_bms['SOC[%]'] > 98) & (self.df_bms['总电流[A]'] == 0)) |
|
|
|
((self.df_bms['充电状态'] == 2) & (self.df_bms['SOC[%]'] > 98) & (self.df_bms['总电流[A]'] == 0))]#接近慢充后静置数据
|
|
|
- df_lipltd_result = pd.DataFrame(columns=['sn','date','liplated','liplated_amount'])
|
|
|
+ df_lipltd_result = pd.DataFrame(columns=['sn','time','liplated','liplated_amount'])
|
|
|
if not chrgr_rest_data_temp.empty:
|
|
|
chrgr_rest_data = chrgr_rest_data_temp.reset_index(drop=True)
|
|
|
temp_rest_time = chrgr_rest_data['时间戳']
|