18 PyBaMM 26.5 Parameter Sets: Capacity, Temperature and Model Compatibility
18 PyBaMM 26.5 Parameter Sets: Capacity, Temperature and Model Compatibility
Search
Ask the AI

18 PyBaMM 26.5 Parameter Sets: Capacity, Temperature and Model Compatibility

PyBaMM 26.5.0 ships 18 parameter sets, including Chen2020. The recorded tests below compare their model compatibility, capacity reference, temperature response and protocol limits. A successful solve establishes numerical completion; use the parameter sources and test conditions to interpret its result.

PyBaMM battery modelling series · Silent failures, measured (part 1 of 8): Next: Five PyBaMM Experiment Checks: Default Duration, Cycles and Output · Series hub: Data pipeline (5) + Silent failures, measured (8) · RSS feed.

1. What is actually in the box

In the recorded 26.5.0 tests, 11 of the 18 sets built in a standard pybamm.lithium_ion.DFN(), including the sodium-ion set discussed below. The other seven need suitable half-cell, equivalent-circuit, lead-acid, composite-electrode or MSMR configurations.

Set Cell / chemistry Window (V) Runs in plain DFN
Marquis2019 Kokam SLPB78205130H (the default) 3.105–4.1 yes
Chen2020 LG M50, graphite / NMC811 2.5–4.2 yes
OKane2022 LG M50, based on Chen2020, with degradation parameters 2.5–4.2 yes
ORegan2022 LG M50, with temperature-dependent thermal and electrolyte data 2.5–4.4 yes
Ecker2015 Kokam SLPB 75106100 2.5–4.2 yes
Mohtat2020 graphite / NMC532 pouch 2.8–4.2 yes
Ai2020 Enertech pouch, LCO 3.0–4.2 yes
NCA_Kim2011 graphite / NCA “nominal design” pouch 2.7–4.2 yes
Prada2013 LFP 2.0–3.6 yes
Ramadass2004 graphite / LCO, assembled from several sources 2.8–4.2 yes
Chayambuka2022 sodium-ion 2.0–4.2 yes (runs, but see below)
Chen2020_composite graphite + silicon composite negative 2.5–4.2 no — needs particle-phase options
MSMR_Example graphite / NMC622, MSMR thermodynamics 2.8–4.2 no — needs MSMR options
Ecker2015_graphite_halfcell, OKane2022_graphite_SiOx_halfcell, Xu2019 half-cells — no — need the half-cell option
ECM_Example equivalent circuit, demonstration only 3.2–4.2 no — needs the ECM model
Sulzer2019 lead-acid 1.75–2.42 no — needs the lead-acid model

That is the list in 26.5.0. PyBaMM 26.9.0.0 added a 19th set, Bonkile2024: a graphite–silicon composite negative electrode with an NMC positive, shipped with SEI, lithium plating, particle cracking and stress-driven LAM parameters. Like Chen2020_composite, it needs particle-phase options and does not run in a plain DFN, and its docstring says the values “are not claimed to represent a real cell”.

Two things the source code says that the parameter-set list does not. Ramadass2004 is described in its own docstring as “a bit of a Frankenstein parameter set” that “should be used with caution”. And for OKane2022: “This parameter set does not claim to be representative of the true parameter values”. Both notes matter below.

Chayambuka2022 is a sodium-ion set, and it runs inside pybamm.lithium_ion.DFN() without complaint because the porous-electrode equations have the same form. PyBaMM has a separate pybamm.sodium_ion module; if sodium-ion is what you are studying, use that rather than relying on the lithium-ion model happening to accept the numbers.

2. Silent failure one: “1C” is not one hour

PyBaMM converts a C-rate to current using "Nominal cell capacity [A.h]". The simulated discharge capacity also depends on loading, stoichiometry, current, temperature and voltage limits. A nominal reference and a simulated C/20 capacity can differ; state which reference defines the reported C-rate.

I discharged every set from full to its own lower cut-off at C/20 (close to equilibrium) and at 1C:

Set Nominal (A·h) Actual at C/20 (A·h) Difference “1C” lasts
Ramadass2004 1.000 1.775 +77.5% 106.0 min
Marquis2019 (default) 0.681 0.872 +28.1% 75.3 min
NCA_Kim2011 0.430 0.483 +12.3% 66.4 min
Ecker2015 0.156 0.171 +9.4% 65.3 min
Ai2020 2.280 2.463 +8.0% 63.5 min
Chen2020 5.000 5.144 +2.9% 59.9 min
OKane2022 5.000 5.100 +2.0% 59.5 min
ORegan2022 5.000 5.010 +0.2% 53.1 min
Mohtat2020 5.000 4.961 −0.8% 58.0 min
Prada2013 2.300 2.285 −0.7% 50.6 min

For the default Marquis2019 set, the measured C/20 capacity was 28% above the nominal value. Its nominal “1C” current is about 0.78C relative to that measured low-rate capacity, and the recorded discharge lasted 75 minutes. This changes the rate label; voltage, capacity and heating responses must be recomputed and do not all scale by the same factor.

If the intended C-rate reference is the measured low-rate capacity, update the nominal value to that capacity. Preserve the original reference when reproducing a published nominal-C protocol. For Marquis2019, the update changed the recorded 1C duration from 75.3 to 58.5 minutes; the remaining duration difference reflects the rate-dependent cutoff capacity:

pv = pybamm.ParameterValues("Marquis2019")
q_real = audit("Marquis2019")["actual_capacity_Ah"]   # 0.8717, see section 6
pv.update({"Nominal cell capacity [A.h]": q_real})

Alternatively, specify currents in amps in the experiment and leave C-rates out of it — but give slow steps an explicit duration such as "for 60 hours or until 2.5 V". A step in amps without one is cut off at 24 hours with no exception; the details are in PyBaMM experiments that finish and are wrong.

3. Silent failure two: temperature does almost nothing in Chen2020

Chen2020, OKane2022 and ORegan2022 describe the LG M50 cell type with different parameterizations and voltage windows. The recorded comparison used each set’s own lower cutoff, the same nominal 1C current, and temperatures of 25°C and −10°C:

LG M50 set 1C at 25°C 1C at −10°C Change
Chen2020 4.992 A·h 4.961 A·h −0.6%
OKane2022 4.955 A·h 3.191 A·h −35.6%
ORegan2022 4.422 A·h 1.922 A·h −56.5%

The three parameterizations give 4.96, 3.19 and 1.92 A·h in the cold test. Chen2020 predicts a small capacity change under these conditions. Use temperature-dependent transport data when the intended study requires those effects.

The reason is visible if you evaluate every temperature-capable parameter at 298.15 K and 263.15 K and see which values move:

Parameter Chen2020 OKane2022
Negative exchange-current density −84.7% −84.7%
Positive exchange-current density −61.5% −61.5%
Electrolyte diffusivity unchanged −59.8%
Electrolyte conductivity unchanged −59.8%
Negative particle diffusivity constant, not a function −80.3%
Positive particle diffusivity constant, not a function −73.9%

In the tested Chen2020 source, electrolyte diffusivity and conductivity accept T but do not use it, and solid diffusivities are constants. Exchange-current functions do include Arrhenius factors. Their temperature dependence produced only a small capacity change in this test; that observation does not establish a universal transport-versus-kinetics ranking at 1C.

Prada2013 also showed a small capacity change (−0.3%) in this comparison. Check each parameter’s temperature dependence for a thermal study; OKane2022 and ORegan2022 include temperature-dependent transport functions absent from the tested Chen2020 set.

Correction, 2026-10-11: the paragraph above used to say that Ai2020 (−0.5%) behaves the same way. PyBaMM does compute −0.5% for it, but for a different reason. Ai2020’s electrolyte diffusivity does depend on temperature, falling by about 90% from 25°C to −10°C, but from PyBaMM 26.5.0 up to 26.10.0.0 the shipped function returns a value in cm²/s as if it were m²/s, 10⁴ times too large (issue #5887; the fix was merged in PR #5888), so electrolyte transport never limits the discharge. With the diffusivity multiplied by 10⁻⁴, the same audit() gives −75.0% (2.406 → 0.600 A·h on 26.5.0), and the C/20 capacity in section 2 is unchanged at 2.463 A·h.

Update, 2026-11-07:PyBaMM 26.10.1.0 includes the Ai2020 unit fix (PR #5888). This article retains the measurements from older versions and the manually corrected comparison. In 26.10.1.0 and subsequent versions that include the fix, use the built-in function directly; multiplying by 10⁻⁴ again would apply the correction twice.

The same gap shows up when the cell heats itself. With the lumped thermal model on, Chen2020 warms by 58 K during a 3C discharge and gains 4% capacity; OKane2022, same cell, gains 114%. That and the other thermal pitfalls are measured in PyBaMM thermal model pitfalls.

A caution before you “fix” it by mixing sets

ORegan2022’s electrolyte transference number comes from the Landesfeind & Gasteiger (2019) fit, and it changes sign in the cold. At 1 mol/L it is 0.221 at 25°C, crosses zero near 10°C, and reaches −0.383 at −10°C. Chen2020 and OKane2022 use a constant 0.2594.

Negative transference numbers are not impossible in concentrated-solution theory, so this is not by itself an error. To see how much it drives the cold result, I held it fixed while everything else stayed cold:

ORegan2022 at −10°C 1C capacity Loss vs 25°C
As shipped 1.922 A·h 56.5%
Transference number frozen at its 25°C function 2.665 A·h 39.7%
Transference number replaced with Chen2020’s 0.2594 1.249 A·h 71.7%

Freezing the transference-number function increased cold capacity by 0.743 A·h, about 30% of the original 2.500 A·h cold-capacity deficit. Replacing it with 0.2594 instead reduced capacity. These are single-parameter perturbations of a coupled model, not a unique decomposition of the physical loss. Preserve the electrolyte composition, reference convention and temperature/concentration validity of the transport functions when combining sources.

4. Silent failure three: your experiment string overrides the cell’s limits

A common pattern is to write one cycling protocol and loop it over several parameter sets:

["Discharge at 1C until 2.5 V", "Rest for 1 hour",
 "Charge at C/2 until 4.2 V", "Hold at 4.2 V until C/50"]

This ran to completion on all 11 sets. That includes Prada2013, an LFP cell whose own upper cut-off is 3.6 V, charged to 4.2 V, and Marquis2019, whose lower cut-off is 3.105 V, discharged to 2.5 V. I captured every warning emitted during both runs: zero.

In these tests, the experiment’s voltage termination replaced the model’s voltage cutoff for that step, rather than enforcing the parameter set’s window. Other model events can still terminate the solve. The LFP test reached a positive surface stoichiometry of 0.0002 outside the intended cycling window; the successful return does not validate that extrapolation.

Build the protocol from the parameter set instead of typing the numbers:

def cycle_within_window(pv, discharge="1C", charge="C/2"):
    lo = pv["Lower voltage cut-off [V]"]
    hi = pv["Upper voltage cut-off [V]"]
    return pybamm.Experiment([
        f"Discharge at {discharge} until {lo} V",
        "Rest for 1 hour",
        f"Charge at {charge} until {hi} V",
        f"Hold at {hi} V until C/50",
    ])

With this, the same Prada2013 run stays between 2.000 and 3.600 V.

5. Silent failure four: SEI runs everywhere, but it is not your cell’s SEI

I built a DFN with each common degradation and thermal option on each of the 11 sets. Missing parameters raise a KeyError naming the parameter, which is the good kind of failure:

Set SEI (solvent-diffusion) SEI (EC reaction) Lithium plating Particle cracking Stress-driven LAM Lumped thermal
OKane2022 ✓ ✓ ✓ ✓ ✓ ✓
Ecker2015 ✓ ✓ ✓ ✗ ✗ ✓
Ai2020 ✓ ✓ ✗ ✓ ✓ ✓
Chen2020 ✓ ✓ ✗ ✗ ✗ ✓
Marquis2019 ✓ ✓ ✗ ✗ ✗ ✓
Mohtat2020 ✓ ✓ ✗ ✗ ✗ ✓
NCA_Kim2011 ✓ ✓ ✗ ✗ ✗ ✓
Ramadass2004 ✓ ✓ ✗ ✗ ✗ ✗
ORegan2022 ✗ ✗ ✗ ✗ ✗ ✓
Prada2013 ✗ ✗ ✗ ✗ ✗ ✗
Chayambuka2022 ✗ ✗ ✗ ✗ ✗ ✗

Among the tested 26.5.0 plain-DFN configurations, OKane2022 built with all listed options. This is a compatibility result, not cell-specific calibration. Later sets such as Bonkile2024 use different model options. The missing keys identify which additional parameter data each failed configuration requires.

Eight tested sets built with SEI. The docstrings for Chen2020, Marquis2019, Mohtat2020 and Ai2020 identify example SEI parameters borrowed from earlier studies. Their fade curves describe those supplied mechanisms and values. Comparing a fade rate with a particular cell requires checking the origin and calibration of the degradation parameters.

OKane2022 shares several SEI constants with Chen2020, while its activation energy and lithium-per-SEI ratio differ. Other model parameters also differ, so these two changes do not fully characterize the difference between the sets. The effects of selected SEI parameters are measured in PyBaMM SEI and lithium plating pitfalls.

6. A check you can run before trusting a set

The following check compares nominal and low-rate capacity, temperature response and voltage window. Runtime depends on the set, mesh, solver and hardware:

import pybamm


def audit(name, T_cold=263.15):
    pv = pybamm.ParameterValues(name)
    q_nom = pv["Nominal cell capacity [A.h]"]
    v_lo = pv["Lower voltage cut-off [V]"]
    v_hi = pv["Upper voltage cut-off [V]"]

    def capacity(rate, T=None):
        p = pybamm.ParameterValues(name)
        if T is not None:
            p.update({"Ambient temperature [K]": T, "Initial temperature [K]": T})
        sim = pybamm.Simulation(
            pybamm.lithium_ion.DFN(),
            parameter_values=p,
            experiment=pybamm.Experiment([f"Discharge at {rate} until {v_lo} V"]),
        )
        return float(sim.solve(initial_soc=1.0)["Discharge capacity [A.h]"].entries[-1])

    q_slow = capacity("C/20")
    q_warm = capacity("1C")
    q_cold = capacity("1C", T=T_cold)
    return {
        "nominal_vs_actual_%": round(100 * (q_slow / q_nom - 1), 1),
        "capacity_change_at_T_cold_%": round(100 * (q_cold / q_warm - 1), 1),
        "voltage_window_V": (v_lo, v_hi),
        "actual_capacity_Ah": round(q_slow, 4),
    }
Marquis2019  {'nominal_vs_actual_%': 28.1, 'capacity_change_at_T_cold_%': -26.6, 'voltage_window_V': (3.105, 4.1), ...}
Chen2020     {'nominal_vs_actual_%': 2.9,  'capacity_change_at_T_cold_%': -0.6,  'voltage_window_V': (2.5, 4.2), ...}
OKane2022    {'nominal_vs_actual_%': 2.0,  'capacity_change_at_T_cold_%': -35.6, 'voltage_window_V': (2.5, 4.2), ...}

Read it as three questions. Is the nominal capacity within a few percent of the real one, or do your C-rates need rescaling? Does the result move with temperature at all? And what voltage window must your experiment strings respect?

For degradation, read the parameter-set source and its cited calibration conditions. pybamm.parameter_sets.get_docstring("Chen2020") retrieves the explanatory docstring in the tested API; help(pybamm.parameter_sets["Chen2020"]) instead describes the returned parameter dictionary.

7. How this was measured

  • PyBaMM 26.5.0, Python 3.13, Apple M3. Default solver (IDAKLUSolver), pybamm.lithium_ion.DFN() with default options unless stated.
  • Every discharge starts from initial_soc=1.0 and ends at the set’s own Lower voltage cut-off [V]. “Actual capacity” is the C/20 discharge capacity.
  • Cold runs set both Ambient temperature [K] and Initial temperature [K] to 263.15 K in the default isothermal model.
  • Option compatibility means Simulation.build() succeeded; it does not mean the resulting degradation rates are physically calibrated.
  • Each set ran in its own process with a timeout, so a hang in one could not contaminate the others. None hung.

References

Related: why a GITT diffusion coefficient goes wrong, for anyone replacing a set’s particle diffusivity with a measured one.

Related: fitting PyBaMM parameters and identifiability, on what to do once a built-in set is not good enough; PyBaMM solver convergence failures, for when a set runs but the solver will not; PyBaMM architecture, on choosing between SPM, SPMe and DFN; and PyBaMM thermal model pitfalls, on the thermal parameters these sets carry.

A tool I built

Validate your cell model on independent data

VoltSift is an online workspace I built. Upload three CSV files (a fitting record, an independent validation record and an open-circuit voltage curve), and it fits a cell model, checks voltage error and coverage on the held-out record, and produces a report. The standard workflow supports single NMC cells at 25°C and SOC 20%–100%. Register and verify your email to get one free analysis, available for seven days.

Visit VoltSift · Prepare the three CSV files · How to read the validation results

Leave a Reply

Scroll down