VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Lumped

A Li-ion battery pack model comprising a single lumped battery model.

Model Description and References

This model describes a lithium-ion battery pack as a lumped version of the LiIonCell model. The primary difference is that the open-circuit voltage (OCV) is scaled by the number of cells in series in the stack, estimated as the battery pack maximum voltage divided by the maximum voltage of a single cell (Vmax,bat pack/Vchem,max).

The model includes a ChargeCounter block to keep track of the state of charge (SOC) of the battery.

The equation for open-circuit voltage as a function of temperature and state of charge is taken from Vichard et al. [1], and is parameterized to the LFP chemistry by default.

The battery pack is assumed to have a uniform temperature with a thermal mass based on its heat capacity, Cp, and mass m_bat_pack. The heat generated from passing current through the battery is calculated according to the Heat Generation equation below. Heat is assumed to enter or leave the battery via convection and radiation on an area equivalent to the bottom wall of the pack. The ambient temperature is determined by the connection to the heatBoundary.


References
1. Vichard, L. et al. A method to estimate battery SOH indicators based on vehicle operating data only. Energy 225, 120235 (2021).

Governing Equations

vol_bat_pack = L_bat_pack*W_bat_pack*H_bat_pack;

C_rate = pin_p.i/C_bat_pack;

OCV.v = N_s*(a1 + b1*(20 - (heatPort.T - 273.15))*1/chargeCounter.SOC + c1/sqrt(chargeCounter.SOC) + d1*chargeCounter.SOC + e1*log(chargeCounter.SOC) + f1*log(1.01 - chargeCounter.SOC) + g1*log(1.001 - chargeCounter.SOC) + h1*exp(i1*(heatPort.T - 273.15)));

heatSource.Q_flow = abs((OCV.v - pin_p.v)*sensorCurrent.i);
QuantityDescription
C_rateCycle rate

Parameters

NameTypeUnitDefaultDescription
m_bat_packModelica.Units.SI.Masskg100Mass of the pack
L_bat_packModelica.Units.SI.Lengthm0.6Battery pack length
W_bat_packModelica.Units.SI.Breadthm0.45Battery pack width
H_bat_packModelica.Units.SI.Heightm0.1Battery pack height
Cp_bat_packModelica.Units.SI.SpecificHeatCapacityJ/(kg.K)1000Specific Heat Capacity
V_min_bat_packModelica.Units.SI.VoltageV37.5Battery pack minimum voltage
V_nom_bat_packModelica.Units.SI.VoltageV48Battery pack nominal voltage
V_max_bat_packModelica.Units.SI.VoltageV54.75Battery pack maximum voltage
C_bat_packModelica.Units.NonSI.ElectricCharge_AhAh200Battery pack nominal capacity
SOC_initReal10.5Battery pack initial state of charge
heatTransferCoefficientModelica.Units.SI.CoefficientOfHeatTransfer-7.8*10^0.78HeatTransferCoefficient (W/(m2.K))
N_sReal1ceil(V_max_bat_pack/V_chem_max)
V_chem_maxModelica.Units.SI.VoltageV3.65
a1Modelica.Units.SI.VoltageV3.39
b1Real1-1e-4
c1Modelica.Units.SI.VoltageV-7.46e-2
d1Modelica.Units.SI.VoltageV5.82e-3
e1Modelica.Units.SI.VoltageV-2.75e-2
f1Modelica.Units.SI.VoltageV2.30e-2
g1Modelica.Units.SI.VoltageV-4.71e-2
h1Modelica.Units.SI.VoltageV-0.02
i1Modelica.Units.SI.LinearTemperatureCoefficient--0.002

Interfaces and Connections

NameKindTypeUnitDescription
pin_pConnectionModelica.Electrical.Analog.Interfaces.PositivePinV; APositive electrical terminal
heatPortConnectionModelica.Thermal.HeatTransfer.Interfaces.HeatPort_aK; W
pin_nConnectionModelica.Electrical.Analog.Interfaces.NegativePinV; ANegative electrical terminal
heatBoundaryConnectionModelica.Thermal.HeatTransfer.Interfaces.HeatPort_bK; W