Skip to content

Validation 7 — A Li-ion cell against its measured drive cycles

Time: ~15 minutes, most of it the download. Suite: examples/validation/lg_hg2_cell/. Gated by: tests/validation/test_lg_hg2_cell.py.

An electrified powertrain is only as right as its battery. aeolus1d models a cell as a Randles equivalent circuit (aeolus1d.battery_ecm.RCNetworkBattery): an open-circuit voltage that follows the state of charge, an ohmic resistance R0, and RC branches for the slower processes. This page identifies that model on one cell's pulse tests and then asks it to predict the same cell's voltage through four drive cycles at six temperatures, with nothing refitted. It is item 8 of the benchmark survey, and the first measured reference for the electrified workflow (W5 in the validation dossier), which until now was checked only against itself.

Where the data is

The measurements are Kollmeyer, Naguib & Skells, "LG 18650HG2 Li-ion Battery Data", Mendeley Data, doi:10.17632/b5mj79w5w9.2 (2020), CC BY 4.0. They are 201 MB and are not in the repository: the suite fetches them on demand into its gitignored data/. What the repository holds is ours, the parameters fitted to them and the errors those parameters gave. The suite is in a clone only, not in the wheel.

The problem

A new 3 Ah LG HG2 cell was tested in a thermal chamber at 40, 25, 10, 0, -10 and -20 °C, with voltage and current to 0.1 % of full scale and the case temperature measured at mid-height. At each temperature the test ran an HPPC sequence, a C/20 discharge and charge, capacity tests, and then the UDDS, HWFET, LA92 and US06 drive cycles, each from a full charge, as the current a compact electric car would draw from one cell.

The model reads

\[ V = \mathrm{OCV}(s) - I R_0 - \sum_i v_i, \qquad \frac{\mathrm{d} v_i}{\mathrm{d} t} = -\frac{v_i}{R_i C_i} + \frac{I}{C_i}, \qquad \frac{\mathrm{d} s}{\mathrm{d} t} = -\frac{I}{Q}, \]

with \(I > 0\) on discharge, \(s\) the state of charge and \(Q\) the capacity. R0 and each \(R_i\), \(C_i\) can be tables over the state of charge and the temperature. The OCV and \(Q\) cannot: they have no temperature axis.

Identification. At every state-of-charge level of the HPPC test (about every 10 %), the cell rests an hour and then takes four 10 s discharge pulses of 1, 2, 4 and 6C, each followed by a charge pulse, fewer and smaller in the cold. The rested voltage before the pulses is the OCV. R0 and two RC branches are fitted to the eight pulses together, with \(\tau_1\) in 0.05-5 s and \(\tau_2\) in 3-500 s. The state of charge counts the measured current over that temperature's C/20 capacity. A level whose fit lands on a bound is dropped (9 of 68), and so is one that was not at the chamber's temperature (the last level in the cold runs into the warm-up for the next charge). The six temperatures then become one model: tables over 12 states of charge and the six median cell temperatures, with the OCV and \(Q\) from 25 °C.

Validation. Each drive cycle runs through RCNetworkBattery itself, with the measured current, the measured case temperature as the model's temperature, and a full cell to start. The error is the terminal voltage, model minus measured. Two of the 24 files cannot be used: the 25 °C HWFET file carries no current, and the 10 °C LA92 file has a missing row.

Run it

python examples/validation/lg_hg2_cell/run_validation.py --fetch

downloads the data (once) and runs the 22 cycles through the committed parameters, a few minutes on three cores. --identify refits the parameters from the HPPC tests first, and --model three_branch runs the second model below.

Results

The model against a measured UDDS cycle, its error at six temperatures, and the identified resistance

Left: ten minutes of the UDDS cycle at 25 °C, measured and modelled. Middle: the RMS error above 10 % state of charge against the chamber temperature, for the gentlest cycle (UDDS) and the hardest (US06), with two and three RC branches. Right: R0 and the pulse resistance R1 + R2 at 57 % state of charge.

The identification (measured 2026-11-13). The pulse fits leave 2-7 mV RMS in the middle of the range at 25 °C, more in the cold, where the resistance depends on the current and one linear R0 must cover 1 to 6C. R0 at 57 % state of charge is 79, 52, 38, 27, 19 and 16 mΩ from -20 to 40 °C; the cycler's own header gives the cell 0.02 Ω. Re-fitting reproduces the committed tables to 1e-4.

The drive cycles, two branches. RMS of the voltage error where the model's state of charge is above 10 %, in mV:

Chamber UDDS HWFET LA92 US06
40 °C 21.1 14.4 12.3 16.0
25 °C 10.1 — 14.7 29.7
10 °C 27.9 35.9 — 46.5
0 °C 37.9 61.2 45.6 63.9
-10 °C 63.1 120.5 81.3 99.0
-20 °C 112.6 169.5 131.4 160.0

From 10 to 40 °C the model predicts the cell to 10-36 mV on the three gentler cycles and 16-47 mV on US06. Below 10 % state of charge, where the OCV curve bends sharply, the error grows: on the 25 °C UDDS it is 139 mV RMS there, against 5-11 mV above 20 %. The whole-cycle RMS, which includes that tail, is in pass_criteria.toml beside every number above.

The error is not random. In the cold it is a bias, the model reading 55-144 mV high on average at -10 and -20 °C: the cell sags more than the pulses said it would. At rest between the cycle's bursts the model also sits about 10 mV above the measurement in the window drawn above, which is the OCV hysteresis the model has switched off (\(M = 0\)): after a discharge, the cell rests lower than the averaged curve.

What limits it. The HPPC pulses last 10 s. A slower process, which the pulses cannot see, builds up over minutes of driving. A third branch, fitted also to the 0.3C step between levels and the hour of rest after it (\(\tau_3\) of 200 s to 2 h), takes it in:

Chamber UDDS, 2 branches UDDS, 3 branches US06, 2 branches US06, 3 branches
25 °C 10.1 9.5 29.7 48.0
0 °C 37.9 22.9 63.9 91.1
-10 °C 63.1 23.0 99.0 118.4
-20 °C 112.6 42.8 160.0 210.8

The gentle cycle improves by a factor of up to 2.7, and the hard one gets worse. At 25 °C UDDS draws 1.65 A RMS and US06 4.7 A RMS, with peaks of 9 and 18 A. The slow resistance that the 0.3C step measures is too large at the currents US06 draws, and the pulse resistance is too small at the low currents of UDDS. The cell's resistance falls as the current rises, by a lot in the cold, as charge transfer does. A linear circuit must choose which current to be right at. That is what this model cannot do, and it is filed for the next version (BACKLOG.md, "Found validating the LG HG2 cell").

The missing temperature axes on the OCV and the capacity matter less. A trial run during the identification, outside the gated harness, gave each chamber its own OCV and C/20 capacity: the cold errors fell by 7-23 %, and several warm ones rose, because the smaller capacity reaches the OCV's knee sooner.

Not covered: the cell's own heating (the model takes the measured case temperature; there is no thermal node), the mixed cycles, ageing, and a pack.

Reproduce the figure

python scripts/validation_figures.py lg_hg2

It needs the data fetched, runs the 25 °C UDDS through the committed parameters, and draws the errors from pass_criteria.toml.