File size: 2,439 Bytes
0c0a4be
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
%% Parameters for battery_module_design
% 

% Copyright 2020-2026 The MathWorks, Inc.

%% Battery Module : Cell Electrical
battery_vecT=[273.15, 298.15, 323.15]; % [K]
battery_Ahr=20.8;                      % [Ahr]
battery_vecSOC=[0, .25, .75, 1];       % [-]
%
battery_V0=[3.20, 3.10, 3.14; ...
            3.25, 3.27, 3.30;...
            3.28, 3.31, 3.34;...
            3.33, 3.50, 3.59];         % No-load voltage, V0(SOC,T)
battery_R0=2*[.030, .015, .002; ...
            .040, .017, .008; ...
            .039, .012, .006; ...
            .027, .013, .021];         % Terminal resistance, R0(SOC,T)
battery_R1=[.089, .076, .010; ...
            .042, .022, .099; ...
            .019, .007, .002; ...
            .051, .043, .029];         % First polarization resistance, R1(SOC,T)
battery_Tau1=[44, 148, 235; ...
              93, 110, 1000; ...
              19, 27, 133; ...
              .5, 22, 3];              % First time constant, tau1(SOC,T)
battery_R2=[.014, .382, .407; ...
            .028, .006, .007; ...
            .014, .007, .006; ...
            .333, .956, .912];         % Second polarization resistance, R2(SOC,T)
battery_Tau2=[1, 44, 5644; ...
              11, 24, 506; ...
              2, 14, 330; ...
              3310, 13419, 30216];     % Second time constant, tau2(SOC,T)

%% Battery Module : Cell Thermal          
battery_thermalMass=500;               % Battery cell thermal mass
battery_thermalK_thru=0.8;             % Battery cell through-plane thermal conductivity
battery_thermalK_in=20;                % Battery cell in-plane thermal conductivity
          
%% Battery Module : Module Electrical
battery_Np=2;
battery_Ns=15;
battery_cellH=0.65;
battery_cellW=0.20;
battery_cellT=0.02;
battery_extR=0.001;

%% Battery Module : Module Thermal
battery_sidesHTC=1;
battery_extHeat=zeros(1,battery_Np*battery_Ns);

%% Battery Module : Cell-to-Cell Variation
battery_iniT=ambientTemp*ones(1,battery_Np*battery_Ns);
battery_iniSOC=initialSOCvalue*ones(1,battery_Np*battery_Ns);
battery_varAhr=ones(1,battery_Np*battery_Ns);
battery_varR0=ones(1,battery_Np*battery_Ns);

%% Coolant Plate
coolantPlate_iniT=ambientTemp;
coolantPlate_spHeat=447;
coolantPlate_density=2500;
coolantPlate_thermalK=200;
coolantPlate_nChannels=6;
coolantPlate_diaChannels=0.005;
coolantPlate_diaDistributor=sqrt(coolantPlate_nChannels)*coolantPlate_diaChannels;
coolantPlate_thickness=0.003;
coolantPlate_roughness=1e-5;