|
@@ -41,7 +41,18 @@ class BatParam:
|
|
|
[0,0, 0.1,0.3, 0.7, 1, 1, 1],
|
|
|
[0,0, 0.2,0.3, 0.8, 1, 1, 1]]
|
|
|
|
|
|
-
|
|
|
+ #采样诊断参数
|
|
|
+ self.CellMaxUSBTemp=55
|
|
|
+ self.AllowChgMinTemp=0
|
|
|
+ self.AllowDsChgTemp=-5
|
|
|
+ self.AvgVolGap=1
|
|
|
+ self.AvgCellTempGap=10
|
|
|
+ self.PackOTlmt=65
|
|
|
+ self.PackUTlmt=-20
|
|
|
+ self.OtherOTlmt=91
|
|
|
+ self.OtherUTlmt=-20
|
|
|
+ self.FaultCount=100
|
|
|
+
|
|
|
if celltype==1: #6040
|
|
|
self.Capacity = 41
|
|
|
self.PackFullChrgVolt=69.99
|
|
@@ -81,6 +92,12 @@ class BatParam:
|
|
|
self.CellTempDiffLv2=15
|
|
|
|
|
|
self.TrwVoltRate=-1
|
|
|
+
|
|
|
+ self.DifVolGap = 3
|
|
|
+ self.CellOVlmt=5
|
|
|
+ self.CellUVlmt=2
|
|
|
+ self.CantChrgVol=3
|
|
|
+ self.AvgOtherTempGap=99
|
|
|
elif celltype==2: #4840
|
|
|
self.Capacity = 41
|
|
|
self.PackFullChrgVolt=69.99
|
|
@@ -120,6 +137,12 @@ class BatParam:
|
|
|
self.CellTempDiffLv2=15
|
|
|
|
|
|
self.TrwVoltRate=-1
|
|
|
+
|
|
|
+ self.DifVolGap = 3
|
|
|
+ self.CellOVlmt=5
|
|
|
+ self.CellUVlmt=2
|
|
|
+ self.CantChrgVol=3
|
|
|
+ self.AvgOtherTempGap=99
|
|
|
elif celltype==3: #力信50ah三元电芯
|
|
|
self.Capacity = 51
|
|
|
self.PackFullChrgVolt=80
|
|
@@ -158,7 +181,13 @@ class BatParam:
|
|
|
self.CellTempDiffLv1=10
|
|
|
self.CellTempDiffLv2=15
|
|
|
|
|
|
- self.TrwVoltRate=-1
|
|
|
+ self.TrwVoltRate=-1
|
|
|
+
|
|
|
+ self.DifVolGap = 3
|
|
|
+ self.CellOVlmt=5
|
|
|
+ self.CellUVlmt=2
|
|
|
+ self.CantChrgVol=3
|
|
|
+ self.AvgOtherTempGap=40
|
|
|
elif celltype==4: #CATL 50ah三元电芯
|
|
|
self.Capacity = 50
|
|
|
self.PackFullChrgVolt=80
|
|
@@ -200,7 +229,13 @@ class BatParam:
|
|
|
self.CellTempDiffLv1=10
|
|
|
self.CellTempDiffLv2=15
|
|
|
|
|
|
- self.TrwVoltRate=-1
|
|
|
+ self.TrwVoltRate=-1
|
|
|
+
|
|
|
+ self.DifVolGap = 3
|
|
|
+ self.CellOVlmt=5
|
|
|
+ self.CellUVlmt=2
|
|
|
+ self.CantChrgVol=3
|
|
|
+ self.AvgOtherTempGap=40
|
|
|
elif celltype==99: #60ah磷酸铁锂电芯
|
|
|
self.Capacity = 54
|
|
|
self.PackFullChrgVolt=69.99
|
|
@@ -250,7 +285,14 @@ class BatParam:
|
|
|
self.CellTempDiffLv1=10
|
|
|
self.CellTempDiffLv2=15
|
|
|
|
|
|
- self.TrwVoltRate=-8
|
|
|
+ self.TrwVoltRate=-8
|
|
|
+
|
|
|
+
|
|
|
+ self.DifVolGap = 3
|
|
|
+ self.CellOVlmt=4
|
|
|
+ self.CellUVlmt=2
|
|
|
+ self.CantChrgVol=2.6
|
|
|
+ self.AvgOtherTempGap=99
|
|
|
elif celltype==100:
|
|
|
self.Capacity = 228*2
|
|
|
self.PackFullChrgVolt=3.65*192
|
|
@@ -261,6 +303,7 @@ class BatParam:
|
|
|
self.OcvInflexionAbove=3.4
|
|
|
self.CellVoltNums=384
|
|
|
self.CellTempNums=64
|
|
|
+ self.OtherTempNums=0
|
|
|
self.FullChrgSoc=98
|
|
|
self.PeakSoc=59
|
|
|
self.PeakVoltLowLmt=3.35
|
|
@@ -296,8 +339,15 @@ class BatParam:
|
|
|
self.CellTempDiffLv1=28
|
|
|
self.CellTempDiffLv2=32
|
|
|
|
|
|
- self.TrwVoltRate=-8
|
|
|
+ self.TrwVoltRate=-8
|
|
|
|
|
|
+
|
|
|
+ self.DifVolGap = 3
|
|
|
+ self.CellOVlmt=4
|
|
|
+ self.CellUVlmt=2
|
|
|
+ self.CantChrgVol=2.6
|
|
|
+ self.AvgOtherTempGap=40
|
|
|
+
|
|
|
else:
|
|
|
print('未找到对应电池编号!!!')
|
|
|
# sys.exit()
|