Cell Performance Model Try Protos
← Models · Cell Performance
Computes cell KPIs from electrode design inputs, with optional electrochemical simulation.
Overview
The Cell Performance Model computes equilibrium KPIs (capacity, energy, N/P ratio, mass, energy density) from cell design inputs: electrode formulation (active materials, binders, conductive agents), geometry (mass loading, thickness, sheet count), and cell dimensions (Pouch, Cylindrical, Prismatic, or Coin). It derives porosity, volume fractions, and mass breakdown from the formulation without requiring electrochemical simulation.
When both electrode areas and the cell volume are > 0, the model runs a PyBaMM SPMe simulation pipeline: a C/3 capacity test (always), arbitrary multi-step/multi-cycle experiments (including drive cycles and EIS) when configured, and — when perform_rpt=true — a DCIR pulse and a maximum-power search; otherwise the simulation is skipped and only the equilibrium KPIs are returned. The model supports extensive PyBaMM parameter overrides: electrolyte transport properties, active material diffusivity/particle size/kinetics/thermodynamics (MSMR), electrode tortuosity, double-layer capacitance (for LIC/hybrid cells), and half-cell mode with configurable counter electrode.
Input Structure
The input has two top-level sections:
cell_parameters: Electrode design, formulation, dimensions, foils, separatorsimulation_parameters: Solver, mesh, RPT, experiments, half-cell, C_dl
cell_parameters.upper_voltage_cutoff_V, cell_parameters.lower_voltage_cutoff_V, simulation_parameters.calibration_rate_C, simulation_parameters.start_soc_pct and simulation_parameters.data_sampling_period_s are accepted (all but data_sampling_period_s are required, and appear in the seeded example) but have no effect in this model. Every PyBaMM simulation uses the voltage cutoff pair in simulation_parameters.
cell_parameters
Required Electrode Fields
| Parameter | Type | Description |
|---|---|---|
positive_electrode_mass_loading_mg_cm2 |
float | Positive electrode mass loading [mg/cm²] |
negative_electrode_mass_loading_mg_cm2 |
float | Negative electrode mass loading [mg/cm²] |
positive_electrode_sheet_count |
int | Number of positive electrode sheets |
negative_electrode_sheet_count |
int | Number of negative electrode sheets |
jelly_roll_count |
int | Number of jelly rolls in the cell |
electrode_coating_side_count |
int | Number of coating sides per electrode (1 or 2) |
positive_coating_thickness_um |
float | Positive coating thickness [µm] |
negative_coating_thickness_um |
float | Negative coating thickness [µm] |
positive_electrode_specific_heat_capacity_J_kg_K |
float | Positive electrode specific heat [J/kg/K] |
negative_electrode_specific_heat_capacity_J_kg_K |
float | Negative electrode specific heat [J/kg/K] |
positive_electrode_thermal_conductivity_W_m_K |
float | Positive electrode thermal conductivity [W/m/K] |
negative_electrode_thermal_conductivity_W_m_K |
float | Negative electrode thermal conductivity [W/m/K] |
positive_electrode_electronic_conductivity_S_m |
float | Positive electrode electronic conductivity [S/m] |
negative_electrode_electronic_conductivity_S_m |
float | Negative electrode electronic conductivity [S/m] |
Formulation
| Parameter | Type | Description |
|---|---|---|
positive_electrode_active_materials |
list[ActiveMaterial] | Positive active material list (required) |
negative_electrode_active_materials |
list[ActiveMaterial] | Negative active material list (required) |
positive_electrode_binders |
list[Binder] | Positive binders (required) |
negative_electrode_binders |
list[Binder] | Negative binders (required) |
positive_electrode_conductive_agents |
list[ConductiveAgent] | Positive conductive agents (required, pass [] if none) |
negative_electrode_conductive_agents |
list[ConductiveAgent] | Negative conductive agents (required, pass [] if none) |
ActiveMaterial
| Field | Type | Required | Description |
|---|---|---|---|
name |
str | Yes | Material name (e.g. NMC811, Graphite, LFP) |
mass_fraction |
float | Yes | Mass fraction in electrode (0–1). Across all active materials, binders and conductive agents of one electrode the fractions must sum to 1 (tolerance 1e-6), otherwise the input is rejected |
density_g_cm3 |
float | Yes | Density [g/cm³] |
specific_capacity_mAh_g |
float | Yes | Specific capacity [mAh/g] |
nominal_voltage_V |
float | Yes | Nominal voltage [V] |
soc_pct |
list[float] | null | No | SOC [0–100%] for OCV |
ch_ocv_V |
list[float] | null | No | OCV charge curve [V] |
dch_ocv_V |
list[float] | null | No | OCV discharge curve [V] |
ocv_specific_capacity_mAh_g |
list[float] | null | No | Specific capacity at each OCV point [mAh/g] |
max_lithium_conc_mol_m3 |
float | null | No | Max Li concentration [mol/m³] for PyBaMM |
diffusivity_m2_s |
float | IonicPropertyTable | null | No | Particle diffusivity [m²/s]; scalar or tabulated |
particle_size_distribution |
ParticleSizeDistribution | null | No | PSD; d50 used for PyBaMM radius = d50/2 |
exchange_current_density_A_m2 |
float | null | No | Exchange current density [A/m²] |
double_layer_capacitance_F_m2 |
float | null | No | Per-material double-layer capacitance [F/m²] |
Blended electrodes: when an electrode has several active materials, PyBaMM takes diffusivity, particle radius, exchange current density and per-material C_dl from the first material in the list that sets that field. When use_pybamm_params is empty or "custom", OCV curves from several materials are combined into one blended OCP, weighted by each material's capacity; every material with OCV data in that electrode must then set max_lithium_conc_mol_m3, or the run fails. When exactly one material of an electrode has OCV data, its max_lithium_conc_mol_m3 (if set) becomes that electrode's maximum concentration in PyBaMM. With any other use_pybamm_params value, these OCV rules don't apply: the named parameter set's OCPs and maximum concentrations are used, and a missing max_lithium_conc_mol_m3 doesn't fail the run.
ParticleSizeDistribution
| Field | Type | Description |
|---|---|---|
d50_um |
float | Median diameter [µm]; PyBaMM radius = d50/2 |
d10_um |
float | null | 10th percentile [µm] |
d90_um |
float | null | 90th percentile [µm] |
dmin_um |
float | null | Min diameter [µm] |
dmax_um |
float | null | Max diameter [µm] |
Binder / ConductiveAgent
| Field | Type | Description |
|---|---|---|
name |
str | Component name |
mass_fraction |
float | Mass fraction (0–1) |
density_g_cm3 |
float | Density [g/cm³] |
Cell Dimensions
| Parameter | Type | Description |
|---|---|---|
form_factor |
str | required — "Pouch", "Prismatic", "Cylindrical", or "Coin" |
cell_width_mm |
float | null | Cell width [mm] (Pouch/Prismatic); default null |
cell_height_mm |
float | null | Cell height [mm] (Pouch/Prismatic), cylinder height, or coin thickness; default null |
cell_thickness_mm |
float | null | Cell thickness [mm] (Pouch/Prismatic); default null |
cell_diameter_mm |
float | null | Cell diameter [mm] (Cylindrical/Coin); default null |
Volume validation (enforced when perform_rpt=True or at least one experiment is configured): Pouch/Prismatic require all three of width/height/thickness; Cylindrical/Coin require both diameter and height. When neither is set the check is skipped; if the dimensions then give a zero cell volume or electrode area, PyBaMM is skipped and only the equilibrium KPIs are returned.
Electrode Dimensions (Optional)
If provided, used directly for area calculation; otherwise derived from cell dimensions via volume_packing_ratio and electrode_overhang_mm.
| Parameter | Type | Description |
|---|---|---|
positive_electrode_width_mm |
float | null | Positive electrode width [mm] |
positive_electrode_height_mm |
float | null | Positive electrode height [mm] |
negative_electrode_width_mm |
float | null | Negative electrode width [mm] |
negative_electrode_height_mm |
float | null | Negative electrode height [mm] |
Foils, Separator, Electrolyte
| Parameter | Type | Default | Description |
|---|---|---|---|
positive_electrode_foil_thickness_um |
float | required | Positive foil [µm] (Al) |
negative_electrode_foil_thickness_um |
float | required | Negative foil [µm] (Cu) |
positive_electrode_foil_density_g_cm3 |
float | required | Al foil density [g/cm³] |
negative_electrode_foil_density_g_cm3 |
float | required | Cu foil density [g/cm³] |
positive_electrode_foil_electronic_conductivity_S_m |
float | required | Al foil electronic conductivity [S/m] |
negative_electrode_foil_electronic_conductivity_S_m |
float | required | Cu foil electronic conductivity [S/m] |
positive_electrode_foil_specific_heat_capacity_J_kg_K |
float | required | Al foil specific heat [J/kg/K] |
negative_electrode_foil_specific_heat_capacity_J_kg_K |
float | required | Cu foil specific heat [J/kg/K] |
positive_electrode_foil_thermal_conductivity_W_m_K |
float | required | Al foil thermal conductivity [W/m/K] |
negative_electrode_foil_thermal_conductivity_W_m_K |
float | required | Cu foil thermal conductivity [W/m/K] |
separator_thickness_um |
float | required | Separator thickness [µm] |
separator_porosity |
float | required | Separator porosity |
separator_density_g_cm3 |
float | required | Separator density [g/cm³] |
separator_specific_heat_capacity_J_kg_K |
float | required | Separator specific heat [J/kg/K] |
separator_thermal_conductivity_W_m_K |
float | required | Separator thermal conductivity [W/m/K] |
separator_sheet_count |
float | required | Number of separator sheets |
separator_sheet_width_mm |
float | required | Separator sheet width [mm] |
separator_sheet_height_mm |
float | required | Separator sheet height [mm] |
electrolyte_density_g_cm3 |
float | required | Electrolyte density [g/cm³] (fallback when no electrolyte object) |
electrolyte_fill_ratio |
float | required | Pore volume fill fraction |
electrolyte |
Electrolyte | null | null | Optional electrolyte with composition + transport properties |
casing_thickness_mm |
float | required | Casing thickness [mm] |
casing_density_g_cm3 |
float | required | Casing density [g/cm³] |
electrode_overhang_mm |
float | required | Electrode overhang [mm] |
jelly_roll_inner_diameter_mm |
float | required | Jelly roll inner diameter [mm] (cylindrical only) |
volume_packing_ratio |
float | required | Volume packing ratio for jelly roll in cell |
Contact Resistance (Optional)
| Parameter | Type | Default | Description |
|---|---|---|---|
cell_contact_resistance_Ohm |
float | null | null | Cell contact resistance [Ω]; used when simulation_parameters.cell_contact_resistance_Ohm is null. If both are unset, 1e-4 Ω is used |
Electrolyte (Optional)
| Field | Type | Description |
|---|---|---|
name |
str | Electrolyte name |
composition |
ElectrolyteComposition | Solvents, salts, additives |
ionic_conductivity_S_m |
float | IonicPropertyTable | null | Ionic conductivity [S/m] |
ionic_diffusivity_m2_s |
float | IonicPropertyTable | null | Ionic diffusivity [m²/s] |
transference_number |
float | IonicPropertyTable | null | Cation transference number |
activity_coefficient |
float | IonicPropertyTable | null | Activity coefficient → Thermodynamic factor |
Electrode Tortuosity
| Parameter | Type | Default | Description |
|---|---|---|---|
positive_electrode_pore_tortuosity |
float | null | null | Positive electrode electrolyte tortuosity |
negative_electrode_pore_tortuosity |
float | null | null | Negative electrode electrolyte tortuosity |
separator_tortuosity |
float | null | null | Separator electrolyte tortuosity |
positive_electrode_solid_tortuosity |
float | null | null | Positive solid-phase tortuosity (defaults to pore if unset) |
negative_electrode_solid_tortuosity |
float | null | null | Negative solid-phase tortuosity (defaults to pore if unset) |
When any pore or separator tortuosity is set, PyBaMM uses transport efficiency: tortuosity factor, overriding Bruggeman.
Cell-Level OCV
| Field | Type | Description |
|---|---|---|
cell_ocv |
CellOCVData | null | Cell-level OCV (soc_pct, specific_capacity_mAh_g, ch_ocv_V, dch_ocv_V) |
Accepted but has no effect on the outputs: ocv100_V and ocv0_V always come from PyBaMM rest simulations at 99.9% and 0% SOC.
simulation_parameters
Core Solver
| Parameter | Type | Default | Description |
|---|---|---|---|
solver_atol |
float | 1e-3 | Solver absolute tolerance |
solver_rtol |
float | 1e-3 | Solver relative tolerance |
mesh_resolution |
dict | x_n/x_s/x_p/r_n/r_p=10 | Mesh resolution (x = electrode/separator, r = particles) |
use_pybamm_params |
str | null | "" |
Base parameter set (e.g. "Chen2020"). Empty or "custom" = load a base set and override with user-provided material properties |
upper_voltage_cutoff_V |
float | required | Upper voltage cutoff [V] for all PyBaMM simulations; C/3 charge and CV hold target |
lower_voltage_cutoff_V |
float | required | Lower voltage cutoff [V] for all PyBaMM simulations; C/3 discharge and power-pulse limit |
cell_contact_resistance_Ohm |
float | null | required | Contact resistance [Ω] (pass null to fall back to cell_parameters.cell_contact_resistance_Ohm, or 1e-4 Ω if that is also unset) |
cell_cooling_surface_area_m2 |
float | required | Cooling surface area [m²] (lumped thermal model only) |
cell_heat_transfer_coefficient_W_m2_K |
float | required | Heat transfer coefficient [W/(m²·K)] (lumped thermal model only) |
temperature_safety_threshold_K |
float | required | Max power temperature limit [K] |
anode_potential_safety_threshold_V |
float | required | Max power anode potential limit [V] |
first_cycle_coulombic_loss_pct |
float | required | First-cycle coulombic loss [%] for initial electrode balancing |
ambient_temperature_K |
float | required | Ambient temperature [K] |
initial_cell_temperature_K |
float | null | null | Initial cell temperature for simulation [K]; falls back to ambient_temperature_K when unset |
reference_cell_temperature_K |
float | required | Reference temperature for performance test [K] |
positive_electrode_ocv_model |
"msmr" | "polynomial" | "interpolant" | null |
"polynomial" |
OCV model for positive electrode in PyBaMM |
negative_electrode_ocv_model |
"msmr" | "polynomial" | "interpolant" | null |
"polynomial" |
OCV model for negative electrode in PyBaMM |
particle_diffusion_model |
"Fickian diffusion" | "uniform profile" | "quadratic profile" | "quartic profile" |
"Fickian diffusion" |
Particle diffusion model used by PyBaMM |
negative_electrode_phases |
1 | 2 | 1 | Number of particle phases in the negative electrode (2 = composite, e.g. graphite-silicon blend) |
positive_electrode_phases |
1 | 2 | 1 | Number of particle phases in the positive electrode (2 = composite) |
timeseries_rdp_epsilon |
float | 1e-3 | RDP algorithm tolerance for timeseries subsampling |
Thermal model: when perform_rpt=true, every simulation in the run (C/3 test, experiments, DCIR, power search) uses a lumped thermal model. When perform_rpt=false, the run is isothermal and cell_cooling_surface_area_m2 / cell_heat_transfer_coefficient_W_m2_K have no effect.
C/3 Capacity Test
Runs on every simulation (independent of perform_rpt) and produces cell_nominal_capacity_Ah, cell_nominal_energy_Wh and c3_discharge_timeseries. The C/3 current is one third of the equilibrium capacity (cell_theoretical_capacity_Ah). Starting from 50% SOC, the protocol is:
- Rest for 1 s
- CC charge at C/3 to
upper_voltage_cutoff_V - CV hold at
upper_voltage_cutoff_Vfor 1 hour or until C/50 - Rest for 10 s
- CC discharge at C/3 to
lower_voltage_cutoff_V
Output is sampled every 60 s. Capacity and energy are taken from the discharge step.
RPT (Reference Performance Test)
| Parameter | Type | Default | Description |
|---|---|---|---|
perform_rpt |
bool | false | Run DCIR and max power tests; also switches the whole run to the lumped thermal model |
rpt_dcir |
DCIRParameters | null | required | DCIR pulse parameters (must be non-null when perform_rpt=true) |
rpt_power |
PowerPulseParameters | null | required | Max power pulse parameters (must be non-null when perform_rpt=true) |
DCIRParameters (rpt_dcir):
| Field | Type | Description |
|---|---|---|
dcir_c_rate |
float | Pulse C-rate, relative to cell_theoretical_capacity_Ah (required) |
dcir_direction |
str | "charge" or "discharge" (required) |
dcir_soc_pct |
float | SOC for pulse [%] (required) |
dcir_temperature_K |
float | Ambient and initial temperature for the pulse [K] (required) |
dcir_pulse_duration_s |
float | Pulse duration [s] (required) |
dcir_rest_s |
float | Rest time before pulse [s] (optional, default 1.0) |
DCIR = (voltage at the end of the rest − voltage at the end of the pulse) / pulse current, reported in mΩ as cell_dcir_10s_mohm. The value is taken at dcir_pulse_duration_s, whatever that is set to.
PowerPulseParameters (rpt_power):
| Field | Type | Description |
|---|---|---|
power_level_W |
float | Fallback starting power for the search [W], used only when no positive cell energy is available (required) |
power_duration_s |
float | Pulse duration the power must be sustained for [s] (required) |
power_direction |
str | "charge" or "discharge" (required) |
power_soc_pct |
float | SOC for pulse [%] (required) |
power_temperature_K |
float | Ambient and initial temperature for the pulse [K] (required) |
The power search starts at a power in W equal to 10 × the C/3 discharge energy in Wh (or 10 × cell_theoretical_energy_Wh if the C/3 test produced no energy). It halves the power until a pulse is sustained, then bisects to within 1 W. A pulse (after a 1 s rest) counts as sustained if it lasts the full power_duration_s without the anode potential falling below anode_potential_safety_threshold_V, the cell temperature exceeding temperature_safety_threshold_K, or the voltage reaching lower_voltage_cutoff_V. The power test always uses the lumped thermal model.
Experiments
simulation_parameters.experiments: optional list of experiments (see ExperimentConfig below; default null).
Arbitrary multi-step, multi-cycle PyBaMM experiments. Independent of perform_rpt (which only selects the thermal model). Results in experiment_results[label] as ExperimentOutput. Experiment labels must be unique, otherwise the input is rejected.
If an experiment fails without producing data — for an experiment without EIS steps, any solver failure — its label is left out of experiment_results; the failure does not appear in any warnings list. Experiments with EIS steps run cycle by cycle: a solver failure in a later cycle keeps the data from completed cycles and adds a warning.
The seeded example includes one experiment, drive_cycle_with_eis: charge at 0.5C to 4.0 V, rest 30 s, a 60 s stepped-power drive cycle (20 W, 40 W, 10 W, then 0 W), rest 20 s, an EIS snapshot (0.01 Hz to 10 kHz, 20 points), and rest 10 s; one cycle at 298.15 K from 100% SOC with a 60 s output period.
ExperimentConfig
All fields except terminations are required.
| Field | Type | Description |
|---|---|---|
label |
str | Key in experiment_results (unique) |
steps |
list[str | DriveStepConfig | EISStepConfig] | Ordered steps for one cycle (min 1) |
n_cycles |
int | Number of times to repeat the step sequence (≥1) |
terminations |
list[ExperimentTermination] | null | Custom per-step termination conditions (optional, default null) |
period_s |
float | Solver output sampling period [s] |
temperature_K |
float | Ambient and initial cell temperature [K] |
initial_soc_pct |
float | Initial SOC [%] before experiment begins |
String steps are PyBaMM step expressions:
"Discharge at 1C until 3.0 V"
"Charge at 1C until 4.2 V"
"Hold at 4.2 V until C/20"
"Rest for 10 minutes"
"Discharge at 500 mA until 3.0 V"
Example — 3-cycle charge/discharge aging:
{
"label": "cycle_aging",
"steps": [
"Discharge at 1C until 3.0 V",
"Rest for 10 minutes",
"Charge at 1C until 4.2 V",
"Hold at 4.2 V until C/20"
],
"n_cycles": 3,
"terminations": null,
"period_s": 60.0,
"temperature_K": 298.15,
"initial_soc_pct": 100.0
}
ExperimentTermination
Custom termination evaluated at every solver step. Triggers end-of-step only; experiment continues with subsequent steps.
| Field | Type | Default | Description |
|---|---|---|---|
variable |
str | — | PyBaMM variable name, e.g. "Anode potential [V]" |
threshold |
float | — | Threshold value |
comparison |
str | "less_than" |
"less_than" (variable < threshold) or "greater_than" (variable > threshold) |
name |
str | null | null | Human-readable name for logging |
Example — protect anode from lithium plating:
{"variable": "Anode potential [V]", "threshold": 0.0, "comparison": "less_than"}
DriveStepConfig
Time-varying drive cycle step. Exactly one of current_A, power_W, or c_rate must be supplied. Profile length must match time_s length.
| Field | Type | Description |
|---|---|---|
kind |
"drive_cycle" |
Fixed discriminator |
time_s |
list[float] | Strictly increasing time points [s] (≥ 2 points) |
current_A |
list[float] | null | Current profile [A]. Positive = discharge |
power_W |
list[float] | null | Power profile [W]. Positive = discharge |
c_rate |
list[float] | null | C-rate profile. Positive = discharge |
Example — 30 s power pulse:
{"kind": "drive_cycle", "time_s": [0, 30, 30.01, 60], "power_W": [50.0, 50.0, 0.0, 0.0]}
EISStepConfig
Frequency-domain impedance sweep at the current battery state (does not advance simulation time). Requires pybammeis (pip install pybammeis). If absent, the step is skipped and a warning is added to ExperimentOutput.warnings. If an experiment contains only EIS steps and pybammeis is unavailable, an empty ExperimentOutput is returned immediately with a warning.
| Field | Type | Default | Description |
|---|---|---|---|
kind |
"eis" |
— | Fixed discriminator |
freq_min_hz |
float | 1e-4 | Minimum frequency [Hz] |
freq_max_hz |
float | 1e4 | Maximum frequency [Hz] |
n_frequencies |
int | 30 | Log-spaced frequency points (≥ 2) |
method |
str | "direct" |
Linear solver: "direct", "prebicgstab", or "bicgstab" |
freq_min_hz must be less than freq_max_hz, otherwise the input is rejected.
Example — EIS after rest:
{
"steps": [
"Rest for 30 minutes",
{"kind": "eis", "freq_min_hz": 0.01, "freq_max_hz": 10000, "n_frequencies": 50}
]
}
EIS steps require the calibration pipeline to have run (need sto_windows). They are excluded from the PyBaMM fast-path and do not count toward n_steps_per_cycle. On cycle failure, EIS snapshots from the failed cycle are rolled back alongside timeseries data.
Double-Layer Capacitance (C_dl / LIC)
Adds a non-Faradaic capacitive current term: j_total = j_BV + C_dl · d(φ_s − φ_e)/dt. Required for hybrid lithium-ion capacitor (LIC) simulations (e.g. activated-carbon EDLC positive + hard-carbon intercalation negative).
| Parameter | Type | Default | Description |
|---|---|---|---|
enable_double_layer_capacitance |
bool | false | Enable C_dl in the SPMe model |
positive_electrode_double_layer_capacitance_F_m2 |
float | null | null | Positive electrode C_dl [F/m²]. PyBaMM default ~0.2 F/m² when enabled |
negative_electrode_double_layer_capacitance_F_m2 |
float | null | null | Negative electrode C_dl [F/m²]. PyBaMM default ~0.2 F/m² when enabled |
Typical values: activated carbon EDLC ~0.1–0.4 F/m²; hard carbon / intercalation electrode ~0.01–0.05 F/m².
positive_electrode_double_layer_capacitance_F_m2 and negative_electrode_double_layer_capacitance_F_m2 require enable_double_layer_capacitance=true; setting either while it is false rejects the input.
C_dl can also be set per active material via ActiveMaterial.double_layer_capacitance_F_m2; the per-material value takes precedence when enable_double_layer_capacitance=True.
Half-Cell Mode
Simulates a single electrode against a configurable counter electrode. To simulate a negative electrode half-cell (e.g. graphite vs Li metal), load the negative electrode parameters into the positive electrode slots.
| Parameter | Type | Default | Description |
|---|---|---|---|
working_electrode |
"positive" | null |
null | "positive" = half-cell mode; null = full-cell |
reference_electrode_exchange_current_density_A_m2 |
float | null | null | Counter electrode j₀ [A/m²]. Default: Xu2019 Li-metal function |
reference_electrode_ocp_V |
float | null | null | Counter electrode OCP [V]. Default: 0.0 V (Li metal) |
reference_electrode_charge_transfer_coefficient |
float | null | null | Butler-Volmer α (0–1). Default: 0.5 (symmetric kinetics) |
Constraints:
working_electrode="positive"is incompatible withperform_rpt=Truereference_electrode_*fields raise a validation error if set withworking_electrode=None- Set
reference_electrode_ocp_Vfor non-Li-metal counters (Na metal: ~0.3 V vs Li/Li+) - When
working_electrode="positive", the negative-electrode OCP/material overrides fromnegative_electrode_active_materialsare skipped; the counter-electrode OCP injected viareference_electrode_ocp_V(or the Xu2019 Li-metal default) is preserved unchanged
Output Structure
Equilibrium Outputs (always present)
| Field | Type | Description |
|---|---|---|
cell_theoretical_capacity_Ah |
float | Equilibrium-derived capacity [Ah] |
cell_theoretical_energy_Wh |
float | Equilibrium-derived energy [Wh] |
cell_n_p_ratio |
float | N/P capacity ratio |
cell_mass_g |
float | Total cell mass [g] |
cell_volume_L |
float | Cell volume [L] |
cell_theoretical_gravimetric_energy_density_Wh_kg |
float | [Wh/kg] |
cell_theoretical_volumetric_energy_density_Wh_L |
float | [Wh/L] |
stoichiometry_windows |
StoichiometryWindows | Electrode stoichiometry windows (sto_ca0/100, sto_an0/100) |
positive_electrode_porosity |
float | Positive electrode porosity |
negative_electrode_porosity |
float | Negative electrode porosity |
positive_electrode_density_g_cm3 |
float | Positive electrode coating density [g/cm³] |
negative_electrode_density_g_cm3 |
float | Negative electrode coating density [g/cm³] |
positive_electrode_volume_fraction |
float | Positive active material volume fraction |
negative_electrode_volume_fraction |
float | Negative active material volume fraction |
electrolyte_mass_g |
float | Electrolyte mass [g] |
electrolyte_mass_fraction |
float | Electrolyte mass fraction |
jelly_roll_mass_g |
float | Jelly roll mass [g] |
jelly_roll_mass_fraction |
float | Jelly roll mass fraction |
casing_mass_g |
float | Casing mass [g] |
casing_mass_fraction |
float | Casing mass fraction |
bill_of_materials |
BillOfMaterials | Full BOM breakdown (AM, binders, conductive, separator, foils, electrolyte, casing) |
PyBaMM Scalar Outputs
| Field | Type | Description |
|---|---|---|
cell_nominal_capacity_Ah |
float | null | Nominal capacity from C/3 discharge [Ah] |
cell_nominal_energy_Wh |
float | null | Nominal energy from C/3 discharge [Wh] |
cell_nominal_gravimetric_energy_density_Wh_kg |
float | null | [Wh/kg] |
cell_nominal_volumetric_energy_density_Wh_L |
float | null | [Wh/L] |
cell_nominal_max_discharge_power_300s_W |
float | null | Max power sustained for power_duration_s [W] (absolute value; direction via power_direction). null when perform_rpt=false |
cell_nominal_gravimetric_power_density_W_kg |
float | null | [W/kg] |
cell_nominal_volumetric_power_density_W_L |
float | null | [W/L] |
cell_dcir_10s_mohm |
float | null | DCIR at dcir_pulse_duration_s [mΩ]. null when perform_rpt=false |
ocv100_V |
float | null | Open-circuit voltage at ~100% SOC [V] (measured at SOC=99.9%). null if estimation failed |
ocv0_V |
float | null | Open-circuit voltage at 0% SOC [V]. null if estimation failed |
Timeseries Outputs
| Field | Type | Description |
|---|---|---|
c3_discharge_timeseries |
TimeseriesOutput | null | C/3 discharge (RDP-subsampled); excluded from copilot summary |
experiment_results |
dict[str, ExperimentOutput] | null | Multi-cycle experiment results keyed by label |
TimeseriesOutput
Used by c3_discharge_timeseries and ExperimentOutput.timeseries.
| Field | Type | Description |
|---|---|---|
time_s |
list[float] | Time [s]: from the start of the discharge step for c3_discharge_timeseries; accumulated across all steps and cycles from the experiment start for ExperimentOutput.timeseries |
voltage_V |
list[float] | Terminal voltage [V] |
current_A |
list[float] | Current [A] (positive = discharge) |
temperature_K |
list[float] | Spatially-averaged cell temperature [K] |
capacity_Ah |
list[float] | Cumulative capacity [Ah]: from the start of the discharge step for c3_discharge_timeseries; capacity throughput accumulated across all steps and cycles for ExperimentOutput.timeseries |
energy_Wh |
list[float] | Cumulative energy [Wh]: from the start of the discharge step for c3_discharge_timeseries; energy throughput accumulated across all steps and cycles for ExperimentOutput.timeseries |
power_W |
list[float] | Instantaneous power [W] |
anode_potential_V |
list[float] | Negative electrode surface potential at separator [V] |
cc_capacity_Ah |
float | null | CC-phase capacity [Ah]; always null in this model |
total_capacity_Ah |
float | null | Total CC+CV capacity [Ah]; always null in this model |
ExperimentOutput
| Field | Type | Description |
|---|---|---|
timeseries |
TimeseriesOutput | Concatenated timeseries across all cycles and steps (RDP-subsampled) |
cycle_summaries |
list[ExperimentCycleSummary] | Per-cycle capacity and efficiency summaries |
n_cycles_completed |
int | Number of full cycles completed before any termination or solver failure |
total_capacity_throughput_Ah |
float | null | Total capacity throughput across all cycles [Ah] |
total_energy_throughput_Wh |
float | null | Total energy throughput across all cycles [Wh] |
eis_measurements |
list[EISOutput] | EIS snapshots in execution order. Rolled back on cycle failure |
warnings |
list[str] | Non-fatal warnings (e.g. EIS skipped, solver failure on a cycle) |
ExperimentCycleSummary
| Field | Type | Description |
|---|---|---|
cycle_number |
int | 1-indexed cycle number |
discharge_capacity_Ah |
float | null | Discharge throughput [Ah] |
charge_capacity_Ah |
float | null | Charge throughput [Ah] |
coulombic_efficiency_pct |
float | null | 100 × discharge / charge [%] |
total_capacity_throughput_Ah |
float | null | Sum of |Ah| across all steps [Ah] |
total_energy_throughput_Wh |
float | null | Sum of |Wh| across all steps [Wh] |
min_voltage_V |
float | null | Minimum terminal voltage in this cycle [V] |
max_voltage_V |
float | null | Maximum terminal voltage in this cycle [V] |
max_temperature_K |
float | null | Maximum cell temperature in this cycle [K] |
EISOutput
| Field | Type | Description |
|---|---|---|
frequencies_hz |
list[float] | Frequency points [Hz] |
z_real_ohm |
list[float] | Real part of impedance [Ω] |
z_imag_ohm |
list[float] | Imaginary part [Ω] (negative = capacitive) |
z_magnitude_ohm |
list[float] | |Z| magnitude [Ω] |
z_phase_deg |
list[float] | Phase angle [°] |
cycle_number |
int | 1-indexed cycle in which this was taken |
step_index |
int | 0-indexed position of this EIS step in the full step list |
soc_pct |
float | null | Estimated SOC at measurement time [%] |
BillOfMaterials
Each bill-of-materials item has: name, electrode ("positive", "negative", or null), mass_g, mass_fraction.
| Field | Description |
|---|---|
active_materials |
Active materials per electrode |
binders |
Binders per electrode |
conductive_agents |
Conductive additives per electrode |
separator |
Separator |
foils |
Current collectors (Al, Cu) |
electrolyte |
Electrolyte |
casing |
Casing |
PyBaMM Parameter Overrides
| Source | What it overrides |
|---|---|
electrolyte.* |
Ionic conductivity, diffusivity, transference number, activity coefficient |
ActiveMaterial.diffusivity_m2_s |
Solid-phase diffusivity |
ActiveMaterial.particle_size_distribution.d50_um |
Particle radius (d50/2) |
ActiveMaterial.exchange_current_density_A_m2 |
Exchange current density |
ActiveMaterial.double_layer_capacitance_F_m2 |
Per-electrode C_dl (when enable_double_layer_capacitance=True) |
*_electrode_pore_tortuosity |
Electrolyte-phase tortuosity (overrides Bruggeman) |
*_electrode_solid_tortuosity |
Solid-phase tortuosity |
ActiveMaterial.{ch,dch}_ocv_V |
OCP function (polynomial, MSMR fit or interpolant) |
working_electrode + reference_electrode_* |
Half-cell counter electrode parameters |
enable_double_layer_capacitance + *_F_m2 |
C_dl capacitive current term |
Model Configuration
Parameter Sets
- Prada2013: Always used as the base set when any positive-electrode active material name contains "LFP" (case-insensitive) — even if
use_pybamm_paramsexplicitly requests a different set (a warning is logged and the request is overridden) - Chen2020: Default base set for non-LFP chemistries when
use_pybamm_paramsis empty or"custom" - Custom: Leave
use_pybamm_paramsempty (or set it to"custom") and provide electrode/electrolyte data — the base set (Chen2020, or Prada2013 for LFP) is loaded and then overridden with user-provided material properties - Any other value of
use_pybamm_params(e.g."Chen2020","Marquis2019") is used as-is, unless LFP chemistry forces Prada2013
Solver
- IDAKLUSolver (SUNDIALS-based DAE solver)
- Mesh configurable via
simulation_parameters.mesh_resolution