A grid-scale energy battery storage plant can contain hundreds of thousands of cells, dozens of rack-level sensors, and a battery management system (BMS) that already samples temperature, voltage, current, and status flags. The difficult part is not acquiring these signals. It is converting them into an alarm that is early enough to act on, specific enough to trust, and cheap enough to run at the edge of the BMS.
China’s installed new-type storage reached 136 GW/351 GWh by the end of 2025, 84% above the level at the end of 2024, with lithium-ion systems accounting for 96.1% of the total, according to the National Energy Administration. Failure data remain much thinner. The Electric Power Research Institute’s battery energy storage failure incident database contains 81 events, but only 26 have root-cause classification. Rapid deployment and sparse labelled failures create a difficult warning problem: the method must generalize beyond the few failure cases available for calibration.

Why a single threshold is a poor fit for energy battery storage
Thermal runaway is a sequence rather than a single event. Overcharge, internal short circuit, cooling failure, and external heating can all push a cell through self-heating, separator degradation, and exothermic side reactions. The electrical and thermal signatures do not arrive together. A developing internal short can change cell voltage and voltage spread before the average module temperature moves appreciably, while a cooling failure tends to raise temperature and temperature spread first. A fixed temperature limit therefore fires late for electrical faults and may fire early during legitimate high-rate operation. A rate-of-rise limit is more sensitive, but in the simulation tests discussed below a temperature-rate threshold produced a 32.0% false-alarm rate on normal conditions.
Model-based methods depend on parameter identification, and data-driven methods depend on the quality and coverage of failure samples. Both can be difficult to justify at the edge of a BMS, where computing budget, interpretability, and missing-data behaviour matter. The alternative described here is a transparent risk score: ten normalized indicators, weights calibrated against staged simulation targets, physical rule terms for fast severe events, and a four-level alarm output.
Ten BMS-native indicators and their normalization
The indicator set follows the order in which evidence tends to become available and is restricted to BMS-native or derivable channels: temperature, temperature rise rate, temperature difference, voltage anomaly, voltage range, current, state of charge (SOC), internal resistance, electrothermal load, and existing alarm flags. Gas and product detection can support earlier warning, but were excluded here to avoid additional sensor cost.
Each raw or derived quantity is mapped to a 0–100 risk value through low and high reference values:
$$r_i(t)=100\cdot\operatorname{sat}\!\left[\frac{x_i(t)-L_i}{U_i-L_i}\right],\qquad \operatorname{sat}(z)=\min\{1,\max(0,z)\}$$
Here \(i=1,\ldots,10\), \(x_i(t)\) is the measured or derived indicator, \(r_i(t)\) is its risk value, and \(L_i\) and \(U_i\) are low and high risk references with \(U_i>L_i\). The references are not universal constants. They must be reviewed against station normal data, equipment limits, and operating procedures. The electrothermal load is defined as \(|UI|\), the terminal power magnitude, not a direct measurement of internal Joule heating.
| Order | Indicator | Role | Deployment weight |
|---|---|---|---|
| 1 | Temperature | Thermal state | 0.1637 |
| 2 | Temperature rise rate | Thermal dynamics | 0.1125 |
| 3 | Temperature difference | Cell or module uniformity | 0.1276 |
| 4 | Voltage anomaly | Deviation from expected voltage | 0.0330 |
| 5 | Voltage range | Maximum-minus-minimum cell voltage spread | 0.1842 |
| 6 | Current | Load stress | 0.0440 |
| 7 | SOC | Operating window | 0.0635 |
| 8 | Internal resistance | Degradation or contact resistance | 0.0275 |
| 9 | Electrothermal load \(|UI|\) | Terminal power stress | 0.2112 |
| 10 | Alarm flag | Existing BMS status | 0.0328 |
Simulation-calibrated weights under engineering constraints
The calibration target is built from simulation stages, not from failure probabilities. Normal and early abnormal conditions start at 5 points. For a condition that reaches stage 4, \(t_R\) is the first stage-4 instant and \(\tau=t_R-t\). The target rises as the event approaches: 25 points for \(\tau>1800\) s, 45 for \(900<\tau\le1800\) s, 65 for \(300<\tau\le900\) s, 85 for \(0<\tau\le300\) s, and 100 for \(\tau\le0\) s. If stage 4 is never reached, stages 0 to 3 are assigned 5, 30, 58, and 82 points. Stage 1 to 4 also impose lower bounds of 25, 50, 75, and 100 points, followed by 30 s causal smoothing. The reference target is an engineering score for offline weight calibration, not experimental ground truth, and \(t_R\) does not enter online scoring.
Weights are obtained by ridge regression on a standardized risk matrix \(\boldsymbol{\Phi}\) built from the calibration set:
$$\min_{\beta_0,\boldsymbol{\theta}}\ \left\|\beta_0\mathbf{1}+\boldsymbol{\Phi}\boldsymbol{\theta}-\mathbf{y}_{\mathrm{ref}}\right\|_2^2+\lambda\left\|\boldsymbol{\theta}\right\|_2^2,\qquad \lambda=2.0$$
Here \(\mathbf{y}_{\mathrm{ref}}\) is the staged target vector, \(\boldsymbol{\theta}\) is the candidate coefficient vector, \(\beta_0\) is an unpenalized intercept, and \(\mathbf{1}\) is a vector of ones. The fitted coefficients are divided by the calibration standard deviation of the corresponding indicator, the intercept is discarded, negative values are set to zero, and the vector is normalized. Caps are then applied: 0.35 for any single indicator, 0.08 for SOC, and 0.12 for the alarm flag. Excess weight is redistributed proportionally. A second stage blends 0.45 candidate weight with 0.55 prior weight, then reapplies the constraints and normalization. The prior vector, in indicator order, is (0.20, 0.17, 0.13, 0.06, 0.13, 0.08, 0.05, 0.05, 0.10, 0.03).
The resulting deployment weights place the largest emphasis on electrothermal load (0.2112), voltage range (0.1842), and temperature (0.1637). This is a calibration outcome for the simulated fault set, not a universal ranking of indicator importance. In the same set, internal short circuits and overcurrent leave strong electrical signatures, while cooling failure and external heating act more directly on temperature and temperature spread.
Rule fusion and four-level alarm logic
The weighted linear subscore is
$$S_d(t)=\sum_{i=1}^{m}w_i r_i(t),\qquad w_i\ge0,\quad \sum_{i=1}^{m}w_i=1$$
A weighted average is stable but can dilute a single severe signal. The linear subscore is therefore fused with a physical rule term \(S_p\) and an extreme enhancement term \(S_{\mathrm{ext}}\):
$$S_0(t)=\operatorname{sat}_{0,100}\!\left\{0.38S_d(t)+0.62\max\left[S_p(t),S_{\mathrm{ext}}(t)\right]\right\}$$
The rule and extreme terms use selected indicators directly:
$$S_p=0.20r_1+0.22r_2+0.17r_3+0.15r_5+0.09r_6+0.13r_9+0.04r_{10}$$
$$S_{\mathrm{ext}}=\max\{0.80r_1,\;1.05r_2,\;0.92r_3,\;0.90r_5,\;0.86r_9,\;0.55r_{10}\}$$
The maximum operator is deliberate: a single severe indicator can override a moderate average. Coefficients above 1.0 in the extreme term allow a fast temperature rise to saturate the score. The 0.62 weight on the maximum term gives rule-based evidence priority when it is large, while the 0.38 linear term retains multi-signal context.
The instantaneous score \(S_0(t)\) is then passed through 25 s causal smoothing and a soft hold to produce the final score \(S(t)\). When the smoothed value reaches 75, a 10 s hold counter is reset. During the hold, values below 55 are lifted to 55. This prevents an alarm from disappearing immediately after a brief severe excursion, but it also means the score is not an instantaneous measurement. The fusion coefficients, smoothing window, and hold parameters require field review.
| Level | Score range | Recommended action |
|---|---|---|
| Normal | \(0\le S<25\) | Routine monitoring and logging |
| Attention | \(25\le S<50\) | If sustained for 60 s, check temperature difference, voltage range, and cooling status within 5 min |
| Warning | \(50\le S<75\) | Reduce power, strengthen cooling, and inspect abnormal cells |
| Danger | \(75\le S\le100\) | Send to BMS, energy management system, and fire platform; isolate and shut down under the existing protection and emergency plan |
The recommended update rate is 1 Hz or the native BMS period. These actions are operational recommendations, not replacements for automatic protection functions. Thresholds and timing limits need to be calibrated to station rules and equipment capability.
A lumped thermal-electrical test bench
The simulation uses an equivalent-circuit model coupled to a lumped thermal model and Arrhenius side reactions. The three states are SOC, cell temperature \(T\), and reaction progress \(\alpha\):
$$\frac{d\,\mathrm{SOC}}{dt}=-\frac{I(t)+I_{\mathrm{sc}}(t)}{3600C_n}$$
$$U(t)=U_{\mathrm{SOC}}[\mathrm{SOC}(t),T(t)]-\left[I(t)+I_{\mathrm{sc}}(t)\right]R(t),\qquad I_{\mathrm{sc}}(t)=\frac{U(t)}{R_{\mathrm{sc}}(t)}$$
$$C_{\mathrm{th}}\frac{dT(t)}{dt}=\left[I(t)+I_{\mathrm{sc}}(t)\right]^2R(t)+I_{\mathrm{sc}}^2(t)R_{\mathrm{sc}}(t)+Q_{\mathrm{rxn}}(t)+Q_{\mathrm{ext}}(t)-hA(t)\left[T(t)-T_{\mathrm{amb}}\right]$$
$$\frac{d\alpha(t)}{dt}=A\exp\left\{-\frac{E_a}{R_g\left[T(t)+273.15\right]}\right\}\left[1-\alpha(t)\right],\qquad Q_{\mathrm{rxn}}(t)=E_{\mathrm{rxn}}\frac{d\alpha(t)}{dt}$$
Here \(C_n\) and \(C_{\mathrm{th}}\) are rated capacity and thermal capacity; \(U\) and \(I_{\mathrm{sc}}\) are terminal voltage and short-circuit current; \(R_{\mathrm{sc}}\) is the parallel short-circuit resistance; \(U_{\mathrm{SOC}}\) and \(R\) are known open-circuit-voltage and internal-resistance functions of SOC and temperature; \(hA\) is the heat-transfer coefficient; \(Q_{\mathrm{rxn}}\) is side-reaction heat; \(Q_{\mathrm{ext}}\) is external heating; and \(A\), \(E_a\), \(R_g\), and \(E_{\mathrm{rxn}}\) are the pre-exponential factor, activation energy, gas constant, and reaction energy. For given \(R>0\) and \(R_{\mathrm{sc}}>0\), the voltage equation determines \(U\) and \(I_{\mathrm{sc}}\); without a short, \(I_{\mathrm{sc}}=0\). The model advances with a 1 s step, and SOC is constrained to 0–1.
| Parameter | Range used in the simulation |
|---|---|
| Cell capacity | 2.8–3.3 Ah |
| Initial internal resistance | 0.010–0.022 Ω |
| Thermal capacity | Capacity × 30–38 J/(K·Ah) |
| Heat-transfer coefficient \(hA\) | 0.70–1.10 W/K |
| Side-reaction onset temperature | 68–78 °C |
| Activation energy \(E_a\) | \(5.8\times10^4\)–\(6.4\times10^4\) J/mol |
| Pre-exponential factor \(A\) | \(3\times10^7\)–\(1\times10^8\) s−1 |
| Reaction energy \(E_{\mathrm{rxn}}\) | 3–5 kJ/Ah |
The conditions comprise six categories of 18 cases each: normal operation, mild internal short circuit, severe internal short circuit, cooling failure, charge/discharge overcurrent, and external heating. Mild internal short circuit reduces \(R_{\mathrm{sc}}\) slowly to a lower bound of 0.35 Ω. Severe internal short circuit drives \(R_{\mathrm{sc}}\) from 1.2–2.2 Ω to 0.0015–0.004 Ω with a 120–200 s time constant. Cooling failure reduces the heat-transfer coefficient, overcurrent increases load-current magnitude, and external heating increases \(Q_{\mathrm{ext}}\). Parameters are perturbed by stratified random sampling to create condition diversity. The model is not calibrated to a specific commercial cell.
| Stage | Stage criterion (any one condition) |
|---|---|
| Stage 2 | \(T\ge55\) °C, one-second \(\Delta T>0.035\) °C, or \(Q_{\mathrm{sc}}>2\) W |
| Stage 3 | \(T\ge70\) °C, \(\Delta T>0.080\) °C, or \(Q_{\mathrm{rxn}}>4\) W |
| Stage 4 | \(T\ge85\) °C, \(\Delta T>0.150\) °C, or \(Q_{\mathrm{rxn}}>10\) W |
Labels are generated at 1 s resolution. Normal is 0, and an abnormal condition is at least 1 from its preset early instant. Labels only increase. \(Q_{\mathrm{sc}}=I_{\mathrm{sc}}^2R_{\mathrm{sc}}\). These criteria are simulation stage划分 criteria, not a field standard.
Detection performance and ablation
Each of five repeats uses a stratified split of 78 calibration cases and 30 test cases; all compared methods share the same splits. A fault reference event is the first stage 4, or stage 3 if stage 4 is never reached, or stage 2 otherwise; conditions with none of these are excluded from the denominator. Detection means \(S(t)\) first reaches 50 no later than the event. A normal condition reaching 50 is a false alarm, and a normal condition staying at or above 25 for 60 s is sustained attention. Each test contains 25 fault events and 5 normal conditions. Across five repeats there are 125 fault appearances and 25 normal appearances, which overlap and are not independent samples.
Table 1. Event-level performance of the proposed scoring method and comparison rules under identical stratified splits.
| Method | Fault event detection rate (%) | Fault condition missed-alarm rate (%) | Normal condition false-alarm rate (%) |
|---|---|---|---|
| Proposed scoring method | 80.0 | 20.0 | 0 |
| Equal-weight ablation, same pipeline | 76.8 | 23.2 | 0 |
| Arithmetic mean of ten indicators | 0.0 | 100.0 | 0 |
| Fixed 55 °C threshold | 6.4 | 93.6 | 0 |
| Fixed 60 °C threshold | 5.6 | 94.4 | 0 |
| Temperature-rise-rate threshold | 64.8 | 35.2 | 32.0 |
The proposed method detected 80.0% of fault events and missed 20.0%, with no normal condition reaching the 50-point alarm level. The same-pipeline equal-weight ablation reached 76.8%, so the calibrated weights added 3.2 percentage points under this protocol. That gain is modest and specific to the same-source simulation. It does not establish statistical significance, nor does it prove that ridge calibration is superior to a purely prior-based rule set. The arithmetic mean of ten indicators never crossed 50 before the event in this test, and fixed temperature thresholds detected only 5.6–6.4% of events. The temperature-rate threshold detected more events but produced a 32.0% false-alarm rate on normal conditions.
Table 2. Detection by condition category across five hold-out repeats.
| Condition | Detection rate (%) | Observation |
|---|---|---|
| Normal operation | — | 8.0% sustained attention; none reached 50 |
| Mild internal short circuit | 64.0 | Weakest category; main source of missed alarms |
| Severe internal short circuit | 80.0 | Stronger electrical signature |
| Cooling failure | 76.0 | Thermal signature develops more slowly |
| Charge/discharge overcurrent | 100.0 | Clear electrical and thermal response |
| External heating | 80.0 | Depends on heating rate and heat transfer |
Mild internal short circuit is the clear bottleneck. Its changes in \(R_{\mathrm{sc}}\), voltage spread, and temperature rise are small, and smoothing can further attenuate them. A practical improvement path is to add condition-compensated voltage and temperature residuals, cumulative features, and rest-period self-discharge, then jointly calibrate the smoothing window and persistence criterion to improve early detection without inflating false alarms.
The core score computation averaged about 0.012 ms per point, with a worst-batch average of about 0.020 ms, measured in MATLAB R2023b on an Intel x64 platform using 10 batches of 2,000 evaluations. This excludes sensor acquisition, communication, and data cleaning. At a 1 Hz update rate, the arithmetic cost is negligible relative to the BMS cycle; the operational cost lies in sensor validation, missing-data handling, and alarm governance.
Public single-cell trend check
A public single-cell thermal-runaway measurement was used only as a qualitative trend check. The cell was 5.190 Ah at 100% SOC. Its recorded temperature span was 21.57–150.24 °C and its voltage span was −0.006–4.165 V. Initial temperature, ambient temperature, and initial voltage were taken as median values from the first 30 processed samples. The remaining parameters were scenario assumptions rather than fitted values: \(C_{\mathrm{th}}=166.08\) J/K, \(hA=0.9\) W/K, initial internal resistance 0.012 Ω, \(R_{\mathrm{sc}}\) falling from 0.25 Ω to 0.0015 Ω with a 2.5 s time constant, reaction onset at 65 °C, \(E_a=6\times10^4\) J/mol, \(A=10^8\) s−1, and reaction energy 18 kJ/Ah. The single table was not used to retrain the weights.
With each curve aligned at a 5 °C temperature rise and interpolated from 30 s to a 1 s grid, the simulation and the experiment followed the same qualitative sequence. The measured temperature reached about 150 °C, while the simulation reached about 180 °C; the simulated case reached 180 °C at roughly 14 s. Voltage fell in both cases, but the initial values and decay rates differed. Absolute RMSE was 44.988 °C for temperature and 1.500 V for voltage. After normalization by window amplitude, temperature-rise RMSE was 0.3527 with correlation coefficient \(r=0.6960\), and voltage-drop RMSE was 0.3325 with \(r=0.8090\). The comparison supports trend consistency within this window, not absolute model accuracy.
Only three of the ten indicators are available in this table: temperature, temperature rise rate, and voltage anomaly, corresponding to 30% of the indicator set. With the other seven indicators set to zero, the main model score reached a maximum of 76.85 points. A second, auxiliary score renormalized the three available weights and reached 100 points. The first preserves the deployment weight structure but ignores unknown risk; the second reflects only observed anomalies. Both rose with temperature rise and voltage collapse. Neither is a validation of station-level detection rate, false-alarm rate, or warning lead time.
What the evidence does and does not establish
The linear subscore is a poor regressor of the staged calibration target, and this should be stated plainly. The initial ridge output had RMSE 23.548 points, MAE 18.035 points, and \(R^2=0.4866\). After engineering constraints, the deployment-weight linear subscore had RMSE 61.918, MAE 56.090, and \(R^2=-2.5495\). The equal-weight linear subscore had RMSE 64.166, MAE 58.011, and \(R^2=-2.8120\). A negative \(R^2\) means the subscore is worse than predicting the target mean. Constraints, intercept removal, and prior blending move the solution away from the unconstrained least-squares optimum, while the staged target contains plateaus that a linear combination cannot reproduce.
Table 3. Fit of linear submodels to the staged reference target.
| Submodel | RMSE (points) | MAE (points) | \(R^2\) |
|---|---|---|---|
| Initial ridge output | 23.548 | 18.035 | 0.4866 |
| Constrained deployment-weight linear subscore | 61.918 | 56.090 | −2.5495 |
| Equal-weight linear subscore | 64.166 | 58.011 | −2.8120 |
This fit result is not the final performance metric. The rule term and extreme term are designed to supply the fast, severe response that the constrained linear subscore lacks, and event detection depends on the fused score rather than on regression accuracy alone. Even so, the result points to a clear improvement path: bring the constraints into the calibration objective and jointly tune prior weight, fusion ratio, smoothing, and persistence against detection and false-alarm outcomes, rather than fitting the staged target first and correcting afterwards.
The main limitation is validation independence. Weights are calibrated on simulated conditions and tested on hold-out conditions from the same model family. The labels come from the same stage criteria used to construct the reference target. An 80.0% detection rate under these conditions is an internal consistency result, not a field detection rate. The public single-cell table is too narrow to close that gap: it covers 30% of the indicators, uses scenario assumptions for missing parameters, and shows absolute temperature error of about 45 °C. A zero false-alarm rate in simulation also does not imply zero field false alarms; sensor drift, missing fields, communication latency, and legitimate high-rate operation can all create field alarms that the simulation does not represent.
Deployment path and remaining work
The method is intended for edge-side scoring using fields already available from the BMS or energy management system. A practical integration reads the required channels, computes the normalized indicators and the fused score, and reports a coverage flag when fields are missing. Missing inputs should not be silently replaced by zeros without recording the loss of coverage. Initial deployment should be read-only: the score runs alongside the existing protection chain, and the original protection and emergency plan remain authoritative.
Before the score is used for automatic power reduction or isolation, three validation steps are needed. Historical replay can test threshold behaviour against recorded normal operation and known incidents. Controlled fault tests can check response to overcharge, overcurrent, cooling loss, and controlled internal short-circuit conditions. Shadow operation can compare the score with operator actions and existing alarms over months of station data. These steps should also recalibrate the indicator references, deployment weights, level boundaries, smoothing window, and hold parameters for the specific station.
The most valuable technical improvement is early detection of mild internal short circuit. Condition-compensated residuals, cumulative voltage and temperature deviations, rest-period self-discharge, and joint tuning of smoothing and persistence are reasonable next steps. The objective should be explicit: improve detection at a controlled false-alarm rate, not maximize fit to the staged target.
Conclusion
The described framework converts ten BMS-native indicators into an interpretable 0–100 risk score and a four-level operational response. Simulation-calibrated weights, engineering constraints, physical rule terms, and a soft hold produce 80.0% fault-event detection and a 20.0% missed-alarm rate in same-source hold-out tests, with no normal condition reaching the alarm level. The score adds 3.2 percentage points over an equal-weight ablation and runs in about 0.012 ms per point. Its present evidence is simulation-based and internally validated; field performance, independence from the simulation model, and robustness to missing or drifting sensors remain to be established through replay, controlled testing, and shadow operation.
