SPMeT Power Envelope Model Try Protos
← Models · SPMeT Power
Finds the maximum feasible power at each SOC, temperature, and pulse duration combination.
Physics-based maximum power determination using the Single Particle Model with Electrolyte (SPMe) with lumped thermal. Sweeps power levels across SOC, temperature, and pulse duration to find the maximum feasible power.
Overview
Runs constant-power pulses at various conditions and determines the highest power that completes without hitting voltage, anode potential, or temperature limits. Uses binary search refinement for precision.
Protocol
Capacity calibration (iterative electrode width adjustment), then:
For each (temperature, SOC, pulse_duration, direction):
For each power_level, in ascending order of magnitude:
1. Set initial conditions (SOC, temperature) — each level is independent
2. Rest 1 s, then apply a constant power pulse for pulse_duration
(discharge stops at lower_voltage_cutoff_V, charge at upper_voltage_cutoff_V,
plus the optional anode potential and temperature limits)
3. Pass if the pulse runs for the full pulse_duration
4. If pass: record as valid (success=True), try next power level
5. If fail: search for the highest sustainable power (see Search below)
→ record best found (success=False, power_achieved_W=<max found>,
error="Early termination")
→ stop testing further levels for this condition
Search
When a power level fails, the search tolerance is the larger of 1% of the demanded power and 1 W.
- If a lower level in the same condition already passed, the model bisects between that level and the failed demand until the bracket is narrower than the tolerance.
- If the first (smallest) level fails, the model halves the demand repeatedly until a level passes or the probe drops to the tolerance, then bisects between the passing probe and the last failed one. If no probe passes,
power_achieved_Wis 0.
Levels of 0 in power_levels_W are skipped. Power is positive for discharge and negative for charge in the input; all reported powers (power_demand_W, power_achieved_W) are magnitudes, with the direction in direction.
Input Schema
Cell Parameters
Flat structure with all electrode, current collector, and separator parameters.
All fields use underscore-separated names (e.g., positive_electrode_mass_loading_mg_cm2). Unknown fields are rejected.
Key fields:
upper_voltage_cutoff_V,lower_voltage_cutoff_V(defaults: 4.2V / 3.0V) are accepted incell_parametersbut have no effect in this model; the simulations use the cutoff pair insimulation_parameters.- Chemistry is auto-detected, not a dedicated field. There is no
positive_electrode_active_material_namefield. Any entry inpositive_electrode_active_materials[].namecontaining"LFP"(case-insensitive) selects the Prada2013 PyBaMM parameter set as the base, whateveruse_pybamm_paramssays. Otherwise the base is set byuse_pybamm_params(see Solver below). cell_nominal_capacity_Ahandcell_volume_Lare not inputs — they are computed internally, and passing them is rejected as an unknown field.- Electrode porosity and active material volume fraction are not inputs either; passing them is rejected as an unknown field. Electrode porosity is computed from the formulation, mass loading and coating thickness.
- For each electrode, the mass fractions of all active materials, binders and conductive agents must sum to 1 (tolerance 1e-6); otherwise the run is rejected with a validation error.
- Electrode thermal/electrical properties (all required, no defaults):
positive_electrode_specific_heat_capacity_J_kg_K,negative_electrode_specific_heat_capacity_J_kg_K,positive_electrode_thermal_conductivity_W_m_K,negative_electrode_thermal_conductivity_W_m_K,positive_electrode_electronic_conductivity_S_m,negative_electrode_electronic_conductivity_S_m - Electrode geometry: height, width, count, jelly roll count (integer)
- Coating: thickness, mass loading, formulation (active materials, binders, conductive agents)
- Current collectors: thickness, conductivity, density, specific heat
- Separator: thickness, porosity, density, specific heat, optional sheet dimensions
Electrode Dimensions (Optional)
| Field | Type | Description |
|---|---|---|
positive_electrode_width_mm |
float or None |
Positive electrode width [mm]. Together with positive_electrode_height_mm, sets the positive electrode area directly instead of deriving it from the cell dimensions. |
positive_electrode_height_mm |
float or None |
Positive electrode height [mm]. Together with positive_electrode_width_mm, sets the positive electrode area directly instead of deriving it from the cell dimensions. |
negative_electrode_width_mm |
float or None |
Negative electrode width [mm]. Together with negative_electrode_height_mm, sets the negative electrode area directly. Without both, the negative electrode area comes from the cell geometry. |
negative_electrode_height_mm |
float or None |
Negative electrode height [mm]. Together with negative_electrode_width_mm, sets the negative electrode area directly. Without both, the negative electrode area comes from the cell geometry. |
Separator Dimensions (Optional)
| Field | Type | Description |
|---|---|---|
separator_sheet_count |
float or None |
Separator sheet count. If not provided, calculated as pos_count + neg_count + 1 |
separator_sheet_width_mm |
float or None |
Separator sheet width [mm]. If not provided, uses positive electrode width + overhang |
separator_sheet_height_mm |
float or None |
Separator sheet height [mm]. If not provided, uses positive electrode height + overhang |
Separator dimension derivation logic:
- If both
separator_sheet_width_mmandseparator_sheet_height_mmare provided, they are used directly. - Otherwise, separator dimensions are derived from positive electrode dimensions plus overhang (4 ×
electrode_overhang_mmtotal, accounting for 2 × overhang per side). - For cylindrical cells, separator area approximates positive electrode area.
Simulation Parameters
Sweep Conditions
Nested under simulation_parameters.power_sweep, which is required. All four fields are required (no schema defaults), and unknown fields are rejected:
| Parameter | Description |
|---|---|
power_soc_pct |
SOC value or list of values to test [0-100] |
power_temperature_K |
Temperature or list of temperatures to test [K] (> 0) |
power_pulse_duration_s |
Pulse duration or list of durations [s] (> 0), e.g. [1, 10, 30] |
power_levels_W |
List of power levels to sweep [W] (discharge: +ve, charge: -ve; at least one entry) |
Operating Conditions
| Parameter | Description |
|---|---|
upper_voltage_cutoff_V, lower_voltage_cutoff_V |
Voltage limits [V] |
reference_cell_temperature_K |
Reference temperature [K] |
ambient_temperature_K |
Ambient temperature for the capacity calibration [K] (default 298.15) |
cell_contact_resistance_Ohm |
Cell contact resistance [Ohm] |
cell_heat_transfer_coefficient_W_m2_K |
Cell heat transfer coefficient [W/(m²·K)] |
cell_cooling_surface_area_m2 |
Cell cooling surface area [m²] |
During the sweep, the ambient and initial cell temperature are both set to each power_temperature_K value, so ambient_temperature_K does not affect the power pulses.
Solver
| Parameter | Description |
|---|---|
solver_atol |
Absolute tolerance |
solver_rtol |
Relative tolerance |
use_pybamm_params |
Free-form string (not an enum), default "". Common values: "ORegan2022", "Prada2013", "Chen2020" — loads that named PyBaMM parameter set as the base. "" or "custom" both use Chen2020 as the base. Whatever the base, the cell design's geometry, electrolyte, active-material and tortuosity values override it; only "custom" also applies per-material OCV data (soc_pct, ch_ocv_V, dch_ocv_V). If any positive active material name contains "LFP", Prada2013 is used whatever this field says. |
Safety Terminations (Optional)
| Parameter | Default | Description |
|---|---|---|
anode_potential_safety_threshold_V |
None | Anode potential limit [V] |
temperature_safety_threshold_K |
None | Max temperature [K] |
When provided, each one ends a pulse as soon as the limit is reached. When None, only voltage cutoffs are used.
Inputs With No Effect
perform_rpt, rpt_dcir and rpt_power are accepted but have no effect in this model; no reference performance test runs. The same applies to initial_cell_temperature_K (the capacity calibration is isothermal, and each pulse starts at its power_temperature_K), start_soc_pct (each pulse starts at its power_soc_pct, though a null start_soc_pct makes the run fail with success: false), data_sampling_period_s and timeseries_rdp_epsilon.
Example Request
Top-level input has two keys: cell_parameters and simulation_parameters. The payload below is the actual seeded default configuration for this model (46mm cylindrical NMC811/Graphite cell) and is valid as-is against the schemas above — it can be copy-pasted and run directly:
{
"cell_parameters": {
"positive_electrode_mass_loading_mg_cm2": 26.58,
"negative_electrode_mass_loading_mg_cm2": 19.52,
"positive_electrode_sheet_count": 1,
"negative_electrode_sheet_count": 1,
"jelly_roll_count": 1,
"electrode_coating_side_count": 2,
"form_factor": "Cylindrical",
"cell_diameter_mm": 46.0,
"cell_height_mm": 80.0,
"positive_electrode_width_mm": 3356.402408,
"positive_electrode_height_mm": 69.5,
"positive_electrode_specific_heat_capacity_J_kg_K": 700.0,
"negative_electrode_specific_heat_capacity_J_kg_K": 700.0,
"positive_electrode_thermal_conductivity_W_m_K": 1.5,
"negative_electrode_thermal_conductivity_W_m_K": 1.0,
"positive_electrode_electronic_conductivity_S_m": 100.0,
"negative_electrode_electronic_conductivity_S_m": 100.0,
"positive_coating_thickness_um": 80.0,
"negative_coating_thickness_um": 126.0,
"positive_electrode_active_materials": [
{
"name": "NMC811_Generic_v2",
"mass_fraction": 0.9185,
"density_g_cm3": 4.7,
"specific_capacity_mAh_g": 200.0,
"nominal_voltage_V": 3.7
}
],
"negative_electrode_active_materials": [
{
"name": "Graphite_Generic_v2",
"mass_fraction": 0.86,
"density_g_cm3": 2.2,
"specific_capacity_mAh_g": 360.0,
"nominal_voltage_V": 0.1
}
],
"positive_electrode_binders": [
{"name": "PVDF_Generic_v1", "mass_fraction": 0.04075, "density_g_cm3": 1.78}
],
"negative_electrode_binders": [
{"name": "CMC_Generic_v1", "mass_fraction": 0.07, "density_g_cm3": 1.6},
{"name": "SBR_Generic_v1", "mass_fraction": 0.07, "density_g_cm3": 1.0}
],
"positive_electrode_conductive_agents": [
{"name": "CNT_Generic_v1", "mass_fraction": 0.04075, "density_g_cm3": 1.5}
],
"negative_electrode_conductive_agents": [],
"positive_electrode_foil_thickness_um": 14.0,
"positive_electrode_foil_electronic_conductivity_S_m": 37700000.0,
"positive_electrode_foil_density_g_cm3": 2.7,
"positive_electrode_foil_specific_heat_capacity_J_kg_K": 897.0,
"positive_electrode_foil_thermal_conductivity_W_m_K": 237.0,
"negative_electrode_foil_thickness_um": 10.0,
"negative_electrode_foil_electronic_conductivity_S_m": 59600000.0,
"negative_electrode_foil_density_g_cm3": 8.96,
"negative_electrode_foil_specific_heat_capacity_J_kg_K": 1000.0,
"negative_electrode_foil_thermal_conductivity_W_m_K": 401.0,
"separator_thickness_um": 16.0,
"separator_porosity": 0.42,
"separator_density_g_cm3": 0.95,
"separator_specific_heat_capacity_J_kg_K": 1000.0,
"separator_thermal_conductivity_W_m_K": 0.16,
"electrolyte_density_g_cm3": 1.2,
"electrolyte_fill_ratio": 0.85,
"upper_voltage_cutoff_V": 4.2,
"lower_voltage_cutoff_V": 2.8
},
"simulation_parameters": {
"power_sweep": {
"power_soc_pct": 50,
"power_temperature_K": 298.15,
"power_pulse_duration_s": [1, 10, 30],
"power_levels_W": [1000, -1000, 2000, 3000, 4000]
},
"upper_voltage_cutoff_V": 4.2,
"lower_voltage_cutoff_V": 2.8,
"reference_cell_temperature_K": 298.15,
"cell_contact_resistance_Ohm": 1e-5,
"cell_heat_transfer_coefficient_W_m2_K": 0.01,
"cell_cooling_surface_area_m2": 0.0008574453549197741,
"solver_atol": 1e-4,
"solver_rtol": 1e-4,
"use_pybamm_params": "ORegan2022"
}
}
Note: power_levels_W mixes positive (discharge) and negative (charge) values in one sweep — the model runs both directions and reports them separately in results[].direction.
Output Schema
Result Points (results)
Each sweep point records:
| Field | Description |
|---|---|
success |
true if the demanded power was sustained for the full pulse without early termination |
soc_pct |
SOC tested [0-100] |
temperature_K |
Temperature tested [K] |
duration_s |
Pulse duration [s] |
direction |
"Discharge" or "Charge" |
power_demand_W |
Power level originally demanded [W] |
power_achieved_W |
Max power actually achieved [W] (= demand if success; the search result if the pulse fell short; the last level that passed if the pulse raised an error; 0 if no level could be sustained) |
current_max_A |
Maximum absolute current [A] during the achieved power pulse (null if not available) |
error |
"Early termination" when the pulse falls short of its demand; the exception text if the pulse raised an error; null on success |
Top-Level
success--trueonly if every result point succeededresults-- list of result points (above)conditions-- the simulation parameters used (voltage cutoffs, etc.; the sweep values power_soc_pct [0-100], power_temperature_K, power_pulse_duration_s and power_levels_W sit underconditions.power_sweep)error-- error message if the run failed as a whole (null when the sweep completes, even if some points fell short)
Copilot Summary
A curated subset passed to the Copilot, derived from results:
power_envelope.discharge/power_envelope.charge--max_power_W,min_power_W,mean_power_Wcomputed from each direction's achieved power values (a direction is omitted if it has no valid data)discharge_vs_charge--max_discharge_power_W,max_charge_power_W(omitted if both are zero)success,error,conditions-- passed through from the full result