Blog
Predicting Thermal Runaway Before It Happens: Anomaly Detection with GT-SUITE and Machine Learning
Overview
Morning in an Italian household. You put the moka on the stove “just for a minute.” Then the phone rings, an email pops up, and the coffee is forgotten. The pressure builds, the pot gurgles away unattended, and everything seems fine, until it isn’t. Eventually the smoke alarm is triggered, but only once the coffee has burned and there are already fumes in the kitchen. The alarm didn’t prevent anything. It simply announced a failure that had already happened. For burnt coffee, that’s an acceptable trade-off. For a battery pack, it isn’t.
For battery simulation engineers, the challenge goes beyond modeling how failures occur. What if simulation could help identify the signs of failure before it happens?

Battery safety has long worked like that smoke alarm. Thermal runaway is one of the most serious risks in lithium-ion battery systems. It starts with a trigger, such as an internal short circuit, overcharging, mechanical damage, or excessive heat. Once a cell gets hot enough and generates heat faster than it can shed it, the temperature escalates exponentially, past 800 °C in under a minute. The cell vents hot, toxic gases and can ignite, and the heat can spread to neighboring cells, turning one failing cell into a failure of the entire pack.
Most battery management systems (BMS) rely on fixed thresholds, such as a temperature limit or a rate-of-rise limit. These trips only when the situation is already critical, which makes them failure announcement systems.
The new thermal runaway regulation changes the game. China’s GB 38031-2025 requires an alarm to activate within 5 minutes of thermal runaway, with zero toxic fumes in the cabin in that window, giving occupants clear warning and time to exit safely. Meeting it takes a change of mindset: from failure announcement to failure prediction. Seconds of warning aren’t enough. What’s needed is minutes to hours. In this post, we show how machine learning, trained on physics-based simulation data from GT-AutoLion, can deliver that.

The Data Problem
Anomaly detection is the identification of patterns that differ from expected behavior. A machine learning model running as an online or offline digital twin can do this. The model’s most critical requirement is a high-quality dataset, and that’s the hard part here. Collecting enough thermal runaway data would mean nail penetration, overcharge, and other abuse tests. These are dangerous, expensive, and hard to repeat.
Generating the Data with Physics
Instead of destroying cells, we simulated the failures in GT-AutoLion. The model combines a P2D electrochemical model, chemical reaction kinetics, and a thermal runaway trigger. The single-cell results are consistent with reaction behavior reported in the literature (Abada et al., Journal of Power Sources, 2018).

We built a 3-cell, liquid-cooled module with a bottom cooling plate. The center cell receives a thermal abuse heat source, and we ran a Design of Experiments across four parameters:
• Coolant flow rate
• Coolant inlet temperature
• Initial cell temperature
• Magnitude of the abuse heat source

Each run was labeled Runaway or Stable based on whether the center-cell temperature diverged exponentially. The resulting dataset spans a wide range of behavior: some cases go into exponential thermal runaway, and others do not.

The Anomaly Detection Approach
We trained a dynamic model in GT-SUITE’s Machine Learning Assistant on normal, non-runaway behavior only.
In operation, the model’s predicted temperature is compared against the actual one. When the residual grows beyond a threshold, an early-warning signal is triggered. Because the model has only learned what healthy behavior looks like, it doesn’t need to have seen every failure mode in advance.

Results
In the example case, the anomaly flag switched on at roughly 15,070 seconds. The temperature spike to more than 1,700 °C came about 480 seconds later, near 15,550 seconds. That’s about 8 minutes of warning, comfortably ahead of the 5-minute requirement, and the temperature was still only around 200 °C at the time of the alert. A fixed temperature threshold would not have fired this early.

Why It Matters
• Earlier detection: deviation from expected behavior flags a problem before the exponential rise, instead of waiting for a fixed limit.
• Works with limited sensing: it uses only signals a real BMS can obtain or estimate.
• Less physical abuse testing: the DOE covers rare, dangerous conditions safely and cheaply.
• Reusable architecture: the 3-cell module is a building block for full-pack propagation studies.
• Beyond the vehicle: the same predicted-vs-actual signal supports cloud fleet monitoring and end-of-line module quality screening.
• Lower risk: more reliable precursor detection reduces warranty and safety exposure.

Get in Touch
To learn more about simulation-driven battery safety and predictive modeling, contact us and visit our Battery Simulation Solutions page to explore advanced electrochemical, thermal, and battery system modeling capabilities. Read our previous blogs on “What is a Battery Management System” and “BMS Architecture” to understand how BMS functionality and system design contribute to battery safety and performance. Also, follow us on LinkedIn for the latest developments in battery simulation, machine learning, and simulation-driven engineering.
Frequently Asked Questions
1. What is thermal runaway in a lithium-ion battery?
Thermal runaway is a chain reaction in which a battery cell generates heat faster than it can dissipate it, causing a rapid temperature rise. It can lead to gas venting, fire, and propagation to neighboring cells.
2. How can machine learning help predict thermal runaway?
Machine learning can identify deviations from normal battery behavior by comparing predicted and actual operating conditions. These deviations can trigger early-warning signals before temperatures reach critical levels.
3. How does GT-SUITE support thermal runaway prediction?
GT-SUITE, through GT-AutoLion and its Machine Learning Assistant, enables engineers to simulate thermal runaway scenarios, generate physics-based datasets, and train machine learning models for early anomaly detection.