I would like to calculate the power of battery? help me to check the below code, thank a lot!

2 次查看(过去 30 天)
% Coulomm Counting Calculation of the battery SoC
% I would like to calculate the power of battery, i.e. current and voltage of battery by Coulomb Counting method
Q_b= 2.25 ; %Ah, Q_b is the rated capacity of the battery cell
S=linspace(0.9,0.3,1368);
V_oc=-1.031*exp(-35*S)+3.685+0.2156*S-0.1178*S.*S+0.3201*(S.*S).*S;
V_oc=V_oc(1:end-1);
Rbes=0.1562*exp(-24.37*S)+0.07446;
Rbes=Rbes(1:end-1);
R_bst=0.3208*exp(-29.14*S)+0.04669;
R_bst=R_bst(1:end-1);
R_blt=6.603*exp(-155.2*S)+0.04984;
R_blt=R_blt(1:end-1);
C_bst=-752.9*exp(-13.51*S)+703.6;
C_bst=C_bst(1:end-1);
C_blt=-6056*exp(-27.12*S)+4475;
C_blt=C_blt(1:end-1);
I_b=-Q_b*diff(S);
Ztd1=R_bst.*C_bst;
Ztd2=R_blt.*C_blt;
V_bt=V_oc-I_b.*(Rbes+R_bst.*(1-exp(-1369./Ztd1)+R_blt.*(1-exp(-1369./Ztd2))));
% the battery power
P_b=V_bt.*I_b;

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品


版本

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by