|
@@ -6,12 +6,6 @@ class BatParam:
|
|
|
#公用参数................................................................................................................................................
|
|
|
self.CellTempUpLmt=119
|
|
|
self.CellTempLwLmt=-39
|
|
|
- self.CellTempHighLv1=45
|
|
|
- self.CellTempHighLv2=50
|
|
|
- self.CellTempLowLv1=-20
|
|
|
- self.CellTempLowLv2=-25
|
|
|
- self.CellTempDiffLv1=10
|
|
|
- self.CellTempDiffLv2=15
|
|
|
self.CellTempRate=5
|
|
|
|
|
|
#热失控参数
|
|
@@ -75,7 +69,12 @@ class BatParam:
|
|
|
self.LeakCurrentLv1=-10
|
|
|
self.LeakCurrentLv2=-20
|
|
|
self.LeakCurrentLv3=-50
|
|
|
-
|
|
|
+ self.CellTempHighLv1=45
|
|
|
+ self.CellTempHighLv2=50
|
|
|
+ self.CellTempLowLv1=-20
|
|
|
+ self.CellTempLowLv2=-25
|
|
|
+ self.CellTempDiffLv1=10
|
|
|
+ self.CellTempDiffLv2=15
|
|
|
elif celltype==2: #4840
|
|
|
self.Capacity = 41
|
|
|
self.PackFullChrgVolt=69.99
|
|
@@ -107,7 +106,12 @@ class BatParam:
|
|
|
self.LeakCurrentLv1=-10
|
|
|
self.LeakCurrentLv2=-20
|
|
|
self.LeakCurrentLv3=-50
|
|
|
-
|
|
|
+ self.CellTempHighLv1=45
|
|
|
+ self.CellTempHighLv2=50
|
|
|
+ self.CellTempLowLv1=-20
|
|
|
+ self.CellTempLowLv2=-25
|
|
|
+ self.CellTempDiffLv1=10
|
|
|
+ self.CellTempDiffLv2=15
|
|
|
elif celltype==3: #力信50ah三元电芯
|
|
|
self.Capacity = 51
|
|
|
self.PackFullChrgVolt=80
|
|
@@ -139,7 +143,12 @@ class BatParam:
|
|
|
self.LeakCurrentLv1=-10
|
|
|
self.LeakCurrentLv2=-20
|
|
|
self.LeakCurrentLv3=-50
|
|
|
-
|
|
|
+ self.CellTempHighLv1=45
|
|
|
+ self.CellTempHighLv2=50
|
|
|
+ self.CellTempLowLv1=-20
|
|
|
+ self.CellTempLowLv2=-25
|
|
|
+ self.CellTempDiffLv1=10
|
|
|
+ self.CellTempDiffLv2=15
|
|
|
elif celltype==4: #CATL 50ah三元电芯
|
|
|
self.Capacity = 50
|
|
|
self.PackFullChrgVolt=80
|
|
@@ -172,7 +181,12 @@ class BatParam:
|
|
|
self.LeakCurrentLv1=-10
|
|
|
self.LeakCurrentLv2=-20
|
|
|
self.LeakCurrentLv3=-50
|
|
|
-
|
|
|
+ self.CellTempHighLv1=45
|
|
|
+ self.CellTempHighLv2=50
|
|
|
+ self.CellTempLowLv1=-20
|
|
|
+ self.CellTempLowLv2=-25
|
|
|
+ self.CellTempDiffLv1=10
|
|
|
+ self.CellTempDiffLv2=15
|
|
|
elif celltype==99: #60ah磷酸铁锂电芯
|
|
|
self.Capacity = 54
|
|
|
self.PackFullChrgVolt=69.99
|
|
@@ -215,7 +229,57 @@ class BatParam:
|
|
|
self.LeakCurrentLv1=-20
|
|
|
self.LeakCurrentLv2=-50
|
|
|
self.LeakCurrentLv3=-100
|
|
|
+ self.CellTempHighLv1=45
|
|
|
+ self.CellTempHighLv2=50
|
|
|
+ self.CellTempLowLv1=-20
|
|
|
+ self.CellTempLowLv2=-25
|
|
|
+ self.CellTempDiffLv1=10
|
|
|
+ self.CellTempDiffLv2=15
|
|
|
+ elif celltype==100:
|
|
|
+ self.Capacity = 228*2
|
|
|
+ self.PackFullChrgVolt=3.65*192
|
|
|
+ self.CellFullChrgVolt=3.5
|
|
|
+ self.OcvInflexionBelow=3.285
|
|
|
+ self.OcvInflexion2=3.296
|
|
|
+ self.OcvInflexion3=3.328
|
|
|
+ self.OcvInflexionAbove=3.4
|
|
|
+ self.CellVoltNums=384
|
|
|
+ self.CellTempNums=64
|
|
|
+ self.FullChrgSoc=98
|
|
|
+ self.PeakSoc=59
|
|
|
+ self.PeakVoltLowLmt=3.35
|
|
|
+ self.PeakVoltUpLmt=3.4
|
|
|
+ self.PeakCellVolt=[3.362,3.363,3.365,3.366,3.367]
|
|
|
+ self.PackCrntDec=1
|
|
|
+ self.BalCurrent=0.015
|
|
|
+ self.LookTab_SOC = [0.00, 2.40, 6.38, 10.37, 14.35, 18.33, 22.32, 26.30, 30.28, 35.26, 40.24, 45.22, 50.20, 54.19, 58.17, 60.16, 65.14, 70.12, 75.10, 80.08, 84.06, 88.05, 92.03, 96.02, 100.00]
|
|
|
+ self.LookTab_OCV = [2.7151, 3.0298, 3.1935, 3.2009, 3.2167, 3.2393, 3.2561, 3.2703, 3.2843, 3.2871, 3.2874, 3.2868, 3.2896, 3.2917, 3.2967, 3.3128, 3.3283, 3.3286, 3.3287, 3.3288, 3.3289, 3.3296, 3.3302, 3.3314, 3.3429]
|
|
|
+
|
|
|
+ self.CellOvLv1=3.75
|
|
|
+ self.CellOvLv2=3.8
|
|
|
+
|
|
|
+ self.CellUvLv1=2.3
|
|
|
+ self.CellUvLv2=2.2
|
|
|
+ self.CellVoltDiffLv1=0.6
|
|
|
+ self.CellVoltDiffLv2=1
|
|
|
+ self.PackVoltOvLv1=self.CellOvLv1*self.CellVoltNums
|
|
|
+ self.PackVoltOvLv2=self.CellOvLv2*self.CellVoltNums
|
|
|
+ self.PackVoltUvLv1=self.CellUvLv1*self.CellVoltNums
|
|
|
+ self.PackVoltUvLv2=self.CellUvLv2*self.CellVoltNums
|
|
|
+
|
|
|
+ self.PackChgOc=-600
|
|
|
+ self.PackDisOc=600
|
|
|
+
|
|
|
+ self.LeakCurrentLv1=-20
|
|
|
+ self.LeakCurrentLv2=-50
|
|
|
+ self.LeakCurrentLv3=-100
|
|
|
+ self.CellTempHighLv1=65
|
|
|
+ self.CellTempHighLv2=67
|
|
|
+ self.CellTempLowLv1=-30
|
|
|
+ self.CellTempLowLv2=-35
|
|
|
+ self.CellTempDiffLv1=28
|
|
|
+ self.CellTempDiffLv2=32
|
|
|
+
|
|
|
else:
|
|
|
print('未找到对应电池编号!!!')
|
|
|
# sys.exit()
|
|
|
-
|