AI-Based Early Warning and Mitigation of Thermal Runaway in Energy Storage Batteries

Grid-scale electrochemical storage has moved from a niche balancing asset to a structural component of the power system. According to data from China’s National Energy Administration, cumulative installed electrochemical storage capacity in the country passed 80 GW by the end of 2025, with average annual growth above 50%. As single stations scale toward hundreds of megawatt-hours and cells move to higher energy densities, the dominant engineering risk is no longer conversion efficiency but fire: a single failing cell can trigger a chain of exothermic reactions whose consequences propagate across modules, containers and, in the worst cases, entire sites. Fire and explosion incidents at storage plants in the United States, Germany and the United Kingdom have demonstrated how quickly such events escalate and how costly the outcome can be.

The technical bottleneck is detection latency. Threshold alarms built on temperature and voltage are simple and cheap, but the quantities they watch change decisively only after the reaction has already become self-sustaining. This article examines why thermal runaway is hard to catch early, how multi-parameter sensing combined with learned models changes the detection window, and how warning outputs can be bound to tiered, automated countermeasures inside a battery energy storage system (BESS).

Thermal runaway as a staged process

Thermal runaway in lithium-ion cells is best treated as a sequence of chemically distinct regimes rather than a single event. Each regime has a different signature, and the signature determines what sensing modality can see it.

  • Initiation. The solid electrolyte interphase (SEI) on the anode begins to decompose, and electrolyte reduction and oxidation side reactions start. Heat release and gas generation are small; external temperature and voltage changes are often below the noise floor of standard sensors. This is precisely the window conventional monitoring cannot resolve.
  • Accumulation. Above roughly the SEI breakdown range, chain exothermic reactions take over. Lithiated anode material reacts with electrolyte, self-heating accelerates, temperature and its rate of change rise markedly, voltage becomes unstable, and combustible gases appear.
  • Eruption. Electrode materials and electrolyte undergo violent redox reaction, releasing large quantities of heat and gas within seconds. The cell vents, ignites, or ruptures.
  • Propagation. High temperature and flame drive neighbouring cells into runaway, expanding the event from a cell-level fault to a module- or container-level fire.

Each stage leaves traces in a different physical domain: electrical (voltage, current, internal resistance, differential capacity), thermal (surface and core temperature, rate of temperature rise), gas (CO, H₂, volatile organic compounds, electrolyte vapour), mechanical (swelling force, venting pressure) and acoustic (venting hiss, cracking). No single channel covers the whole sequence. Temperature lags the chemistry; gas sensors respond early but are cross-sensitive to ambient humidity and refrigerant leakage; voltage signatures are confounded by normal balancing and load transients. Reliable early warning therefore depends on fusing heterogeneous channels and learning their joint patterns rather than setting independent limits on each.

Containerized lithium-ion energy storage battery system with thermal management and fire suppression equipment
Containerized lithium-ion energy storage battery systems concentrate cells, cooling equipment and suppression hardware in a confined volume, which makes early detection and cell-level isolation decisive for limiting propagation.

Why learning-based detection extends the warning window

Model-based diagnosis of a BESS relies on physical or empirical representations of normal behaviour, and its sensitivity is bounded by how well that representation captures the actual cell. Data-driven methods instead learn the mapping from sensor streams to fault state directly, which matters for three reasons.

Weak-feature extraction. The earliest deviations are small, superimposed on measurement noise, and not separable by fixed thresholds. Convolutional and recurrent networks can amplify consistent low-amplitude patterns across many channels and across time, converting a sub-threshold drift into a usable signal.

Multi-source fusion. Fusing electrical, thermal, gas, mechanical and acoustic channels removes the blind spots of any single sensor and suppresses the false alarms that arise when one channel is disturbed by an unrelated cause, such as a cooling system fault or a maintenance operation.

Adaptation. Cell ageing, seasonal ambient temperature, duty cycle and rack position all shift the baseline. Models retrained or fine-tuned on operating data can track that drift, whereas fixed thresholds need manual re-tuning and typically become either insensitive or noisy over a multi-year service life.

Architecturally, convolutional layers are well suited to extracting local structure and removing redundancy across parameter vectors; recurrent layers such as LSTM capture the temporal evolution of those features; self-attention, as used in Transformer variants, weights the relative contribution of different parameters and different time steps, and is useful when the informative channel changes with the stage of degradation.

A multi-source fusion warning model

A practical design combines these elements in series. A CNN front end performs convolution over the multi-channel input window to extract local spatial features and compress redundancy; an LSTM stage models the temporal trajectory of those features to capture the long-term trend toward runaway; an attention layer then reweights time steps and channels so that the features most correlated with incipient failure dominate the output. Training is supervised, with the time to runaway as the label, and parameters are optimised by backpropagation.

Two data problems must be handled explicitly. Runaway events are rare relative to normal operation, so the training set is severely imbalanced; synthetic oversampling of minority-class samples (SMOTE) is a common remedy. In addition, the loss function should not be dominated by the majority class, which motivates cost-sensitive objectives such as Focal Loss that down-weight easy, well-classified samples and concentrate learning on the hard, ambiguous cases near the decision boundary.

Reported evaluations of such hybrid architectures on lithium iron phosphate (LFP) cells give average warning lead times on the order of 300 s with accuracy above 95%, compared with noticeably shorter lead times and higher false-alarm rates for a single recurrent model or a fixed-threshold scheme. These figures are strongly dependent on cell chemistry, sensor placement, sampling rate and the definition of the event onset, so they should be read as an indication of achievable performance rather than a transferable specification.

Approach Input information Typical detection behaviour Principal limitation
Single-parameter threshold Temperature or voltage only Alarm after the reaction is already self-sustaining; frequent false and missed alarms under load transients No coverage of gas or mechanical precursors; fixed limits ignore ageing and ambient conditions
Single recurrent model (LSTM) Multi-channel time series Captures temporal trends; moderate lead time Weak on cross-channel local correlations; sensitive to class imbalance
CNN–LSTM–Attention hybrid Electrical, thermal, gas, mechanical and acoustic channels Lead time of roughly 300 s reported for LFP cells, with accuracy above 95% Requires labelled failure data; heavier computation; needs retraining as the fleet ages

From risk probability to graded warning

A probability output is not an action. Converting it into operational levels requires explicit bands, each mapped to a distinct response so that the system does not shut down a healthy container on a marginal score. A three-level scheme keyed to model output probability is a workable baseline: attention level at 0.3–0.6, warning level at 0.6–0.9, and emergency level above 0.9.

Level Risk probability Interpretation Indicative response
Level 1 — attention 0.3–0.6 Mild anomaly; deviation detectable but not yet diagnostic Increase sampling frequency on the flagged unit; verify sensor health; review recent duty cycle
Level 2 — warning 0.6–0.9 Elevated runaway risk Preventive action: reduce charge/discharge rate, force cooling, ventilate the enclosure, prepare isolation
Level 3 — emergency >0.9 Runaway imminent or in progress Immediate electrical isolation, suppression activation, notification of operators and fire services

Two refinements make the bands usable in practice. First, the cut-offs should be adaptive rather than fixed: as the model learns the anomaly signature of a given chemistry, rack position and operating regime, the boundaries can be re-optimised to hold a target false-alarm rate. Second, the loop must close — the actual outcome of every alarm, whether a genuine event, a sensor fault or a maintenance artefact, should be fed back as a label, so that precision improves over the operating life of the station.

Coupling warning to tiered mitigation

The value of a 300 s lead time lies entirely in what can be executed within it. Linking the warning level to pre-authorised actions converts detection into mitigation, and the control logic can itself be optimised by reinforcement learning with a two-objective reward: minimise safety risk and minimise economic loss from unnecessary outage.

At level 1, the battery management system (BMS) lowers the charge and discharge rate for the affected unit, starts forced air cooling, and raises the monitoring frequency. At level 2, the module containing the suspect cell is disconnected from the charge/discharge path, liquid cooling is driven to maximum, and enclosure ventilation extracts combustible gas. At level 3, the container is de-energised, the fire suppression system is triggered, and alarms are pushed to operations staff and the fire service together with the emergency plan.

Mitigation is also spatially hierarchical, matching the physical architecture of the station:

  • Cell level. Identify the failing cell, apply active balancing to redistribute state of charge, and isolate it electrically via a per-cell fuse so that the fault cannot spread through the current path.
  • Module level. Modular construction with independent cooling and suppression per module allows a runaway module to be isolated and extinguished without involving its neighbours.
  • System level. Coordinated control across the BMS, the energy management system (EMS), fire suppression and physical security, so that electrical isolation, cooling, ventilation and suppression act as one sequence rather than four independent reactions.

With tiered isolation in place, reported propagation-blocking rates for BESS designs exceed 90%, meaning the great majority of cell-level events are contained before they become module or container fires. The mechanism is straightforward: each level removes the heat and gas pathways that the next level would need in order to escalate.

Engineering constraints and open issues

Several gaps remain between demonstration and dependable deployment. Labelled runaway data are scarce because the events are rare and destructive, which makes synthetic data generation and transfer learning from laboratory abuse tests to field conditions essential; a model trained on overcharge-driven failure may not transfer well to failure initiated by internal short circuits or thermal abuse. Sensor reliability is a second constraint: a warning system is only as trustworthy as its gas and temperature channels, which argues for redundancy in both sensors and algorithms so that a single failed detector cannot mask a real event. Third, the digital attack surface grows as warning and mitigation are networked; models and control links need authentication, encrypted telemetry and fail-safe defaults. Finally, standardised definitions of warning lead time, event onset and false-alarm rate are needed before performance claims from different stations and different chemistries can be compared at all.

The direction of travel is clear. Energy battery storage is being deployed at a scale where safety cannot rest on conservative spacing and manual response alone. Fusing multi-domain sensing with learned models, mapping probabilistic risk onto graded actions, and containing faults at the smallest physical unit available are complementary measures — and together they determine whether a station degrades gracefully under a cell failure or converts a single-cell defect into a site-level incident.

Scroll to Top