Battery#
Configuration, indoor temperature modelling, and the calendar and cycle degradation primitives used by the energy balance.
The default calendar model, naumann_lam_field_calibrated, maps to the v1
field-calibrated parameters. naumann_lam_field_calibrated_v1 is the explicit
alias. naumann_lam_field_calibrated_v2 selects the v2 field-calibrated fit
with Lam Ea/n fixed and k0/b fitted to field data.
Configuration#
|
Configuration parameters for battery simulation. |
Temperature model#
The indoor temperature model couples ambient air temperature to a damped indoor series — relevant for calendar aging, which is strongly temperature dependent.
Transform outdoor temperature to indoor temperature for battery simulation. |
|
Compute battery cell temperature using a quasi-steady-state lumped thermal model. |
Cycle detection#
|
Detect charge/discharge cycles using rainflow counting (ASTM E1049). |
Detect charge/discharge half-cycles using local extrema logic. |
|
Compute energy throughput (Wh) for a half-cycle. |
Degradation primitives#
Low-level update functions that the energy balance loop calls each timestep. Use these directly only when reproducing or critiquing the degradation model.
Calculate normalized and absolute SOC. |
|
Generalized calendar aging using power law physics (Naumann / Lam 2025). |
|
Calculate cycle-induced degradation using Naumann's semi-empirical model. |
|
Calculate calendar-induced resistance growth using Naumann's model. |
|
Calculate cycle-induced resistance growth using Naumann's model. |
|
Convert resistance growth to effective charge/discharge efficiencies. |