Optimizing Battery Pack Lifetime Using Simulation-Aided Design

February 3, 2026

Guest bloggers André Gugele Steckel and Thomas Bisgaard discuss using traditional model-order-reduction techniques and the surrogate modeling techniques in the COMSOL Multiphysics® software for efficiently designing battery systems.

Lifetime predictions are paramount when designing battery systems, large and small. In this blog post, we present a method for performing these investigations efficiently and quickly with simulation by using new reduced-order models. This method is a paradigm shift from the traditional build-and-test method or using generalized design principles, which can be expensive, slow, and imprecise when trying to design systems that are to last decades. In the scope of the new method, the COMSOL Multiphysics® software shines bright with its multiphysics modeling capabilities and, very importantly for this showcase, its implementation of surrogate modeling for model order reduction.

Introduction

Battery Market Growth

Sales of electric cars surpassed 10 million in 2022, largely contributing to the 65% increase in demand for automotive lithium-ion (Li-ion) batteries that same year (Ref. 1). The use of batteries for large-scale energy storage is also gaining more interest because of more consistent scale-up compared to traditional gravity-reliant methods like hydropower. Battery pack efficiency, longevity, and recyclability are critical design targets in the goal to meet sustainability targets, which also entails responsible use of essential raw materials such as lithium and nickel.

Why Simulation?

Simulation is an enabling tool that helps engineers reach design targets at low resource and material cost, as it reduces experimental iterations and prevents designs from having unneeded overcapacity. However, engineers are often forced to rely on potentially impairing assumptions and nonphysical parameters to bridge small-scale (single-cell electrochemistry) simulations and large-scale (battery pack) simulations. In the revolutionizing integrated approach discussed here, deep neural networks (DNNs) are used to bridge the scales in such a way that a model’s high fidelity is maintained at a low computational cost.

This approach makes it possible to calculate degradation at every point in a 3D battery pack model at full time resolution during discharge and charge cycles. For example, with these simulation tools, design engineers can incorporate realistic use patterns to optimize battery management systems (BMS) and temperature control systems as well as to improve profit by balancing capacity, lifetime, and application specifications. An overview of the model scales and features can be seen in Figure 1.

Methodology

The methodology presented here is for multiscale and multiphysics modeling of batteries. The approach allows for modeling down to the finer details and using those results to expand the model to the whole battery pack of a car. This multiscale modeling spans from detailed electrochemical transport of lithium between the anode and cathode — including diffusion into storage particles — to system-level modeling of a full battery and multiple interconnected batteries in a pack.

We have used a combination of traditional model-order-reduction techniques and the surrogate modeling techniques in COMSOL®. By using the DNNs, we have been able to model multiscale systems in a way that we have not been able to do before.

Four sections illustrating the multiscale approach for simulating battery packs. A multiscale approach was used for simulating battery packs, and each model scale offered different features.

Microscale: Battery Electrochemistry

A lithium-ion battery (LIB) consists of a repeating sequence of layers: anode, separator, cathode and current collectors on both sides (Figure 2). Each layer typically has a thickness in the range of 5 µm to 60 µm. The anode, separator, and cathode are porous structures. Within the matrices there is a liquid electrolyte. Graphite is the most common anode material. A graphite anode can be combined with a NMC (nickel–manganese–cobalt) cathode or a LFP (lithium iron phosphate) cathode. The nonconducting separator allows for electrolyte transfer. The electrolyte consists of dissociated salt (commonly LiPF6) in a solvent (commonly alkyl carbonates). Note that next-generation batteries that have different chemistries are ongoing work, including sodium-ion batteries (lithium-ion replacement) and solid-state batteries.

A schematic of a lithium-ion battery composition, with the anode in blue, the separator in green, and the cathode in orange. Figure 2. The composition of a lithium-ion battery.

The Doyle–Fuller–Newman model (Ref. 2) is the most commonly used model in LIB simulations. The electrode domains are treated as homogeneous when it comes to Li-ion transport but contain an additional dimension representing the radius of the electrode particles within the electrode domain. Hence, when modeling a battery in 1D, incorporating a radial dimension increases the dimension by one, thereby arriving at the common term “pseudo-2D” (Figure 3). Li-ions in the electrolyte solution act as charge carriers and transfer freely in the electrolyte solution.

Figure 3. A pseudo-2D lithium-ion battery model.

When a battery discharges rapidly, lithium near the surface of the electrode particles is depleted faster than it can be replenished by diffusion from the interior. This imbalance causes a significant voltage drop and ultimately reduces the amount of energy available, especially at low temperatures since the diffusion rate will be rate limiting. Assuming spherical electrode particles, intercalated or deintercalated Li-ion reacts with the electrode particle surface at rate i_{tot,j}:

\frac{\partial c_{P,j}}{\partial t}=\frac{1}{r^2}\frac{\partial}{\partial r}\left(r^2D_{eff,S,j}\ \frac{\partial c_P}{\partial r}\right)

 

BC1: \left (-4 \pi r^{2} D_{eff, S} \frac{\partial c_P}{\partial r}\right)|_{r=S_{P,j}} = -4\pi \delta {\tiny \overset{2}{P},J} \frac {1}{F} i_{tot,j}

 

BC2:\left(\frac{\partial c_P}{\partial r}\right)|_{r=0}=0

 

Intercalated lithium of concentration c_{P,j} diffuses inside the electrode particles of radius \delta_{P,j} (radial coordinate r) and diffusion coefficient D_{eff,S,j}. F is the universal Faraday’s constant, t is time, and j is an index representing the anode (j=n) or cathode (j=p) in order to differentiate between the physical properties of the domains.

Electrical capacity will decrease over time for an LIB. Depending on its historical conditions, the internal resistance will increase due to several degradation mechanisms. For the capacity and power loss observed over time, some of the important factors are the temperature, state of charge, and load profile. Because of this, as the battery is used, both capacity and power loss occurs.  The primary degradation mechanism considered is the solid electrolyte interphase (SEI) that is forming during the charge–discharge cycles of a battery. By using the approach of Safari et al. from Ref. 3 the SEI formation can be modeled. Here solvent (ethyl carbonate, or EC) diffuses through the SEI layer and reacts with electrode particles at the interface. From this a new SEI layer is formed and from this process, both the solvent and lithium are consumed (Figure 3). Some competing phenomena are lithium plating, cathode breakage, and electrode fracture, which are not described in this work. To extend the 2D domain defined for the electrode particle, the SEI layer growth can be included using the following model:

\frac{\partial c_{EC,P}}{\partial t}=\frac{\partial}{\partial r}\left(D_{EC,P}\frac{\partial c_{EC,P}}{\partial r}\right)-\frac{d\delta_{SEI}}{dt}\frac{\partial c_{EC,P}}{\partial r}

 

BC1:\ c_{EC,P}|_{r=\delta_{P,j}+\delta_{SEI}}=\varepsilon_{SEI}c_{solv}

 

BC2:\ \left(-D_{EC,P}\frac{\partial c_{EC,P}}{\partial r}+\frac{d\delta_{SEI}}{dt}c_{EC,P}\right)|_{r=\delta_{P,j}}=\frac{i_s}{F}

 

This set of equations makes it possible to track the SEI layer thickness (degradation status), \delta_{SEI}, in any position of a battery using the growth rate \frac{d\delta_{SEI}}{dt}. The SEI layer thickness is assumed to be small compared to the particle radius, and the loss of lithium in the electrolyte is assumed to be small compared to the initial content. The spatially dependent solvent concentration in the SEI layer is c_{EC,P}, the diffusion coefficient D_{EC,P}, the electrolyte lithium concentration c_{solv}, and the SEI layer porosity \varepsilon_{SEI}. The consumption of Li-ion in the SEI layer formation contributes to i_{tot,j}.

Three blue circles represent the anode particle and a gray outer edge represents the SEI layers. The circle on the left has no outer edge, the center circle has a small outer edge, and the circle on the right has a thicker outer edge.

Figure 4. Degradation via the solid electrolyte interphase layer formation.

Fitting Parameters to Real Data

Battery models have an extensive number of physical parameters. From a first-principles perspective, a subset of these parameters can be identified in idealized experiments, e.g., by calorimetrically determining heat transfer properties and microscopically determining electrode characteristics. Another subset of the parameters is considered as system-specific, and these parameters are fitted for experimental conditions of cycling performance of single-cell batteries. Databases like Battery Archive offer standardized and cleaned experimental data of various battery chemistries for various conditions, such as temperatures, charge current, discharge current, and state of health. System knowledge was used to devise a parameter-fitting strategy that allows sequential parameter fitting based on the data type. For example, the time series data of the first cycle was used to fit kinetic data to potential time data, and cycling time series data was used to estimate degradation parameters. With respect to kinetic parameters, Arrhenius-type expressions (two parameters) were used for the electrode diffusion coefficient and the Butler–Volmer exchange current density rate constant to capture temperature dependencies.

Since the parameter fitting involves highly nonlinear dynamics and time integration, a brute-force method was adopted, where many samples based on a design of experiments defined by random samples were simulated, and the objective function (cost function) was evaluated for each simulation. The mean squared error between the simulated and experimental cell potentials was used as an objective function. Latin hypercube sampling (LHS) was used to sample from uniformly distributed parameter ranges.

A custom program was developed with the Application Builder in COMSOL Multiphysics® that allowed for automatically looping through parameter sets and datasets and reporting the objective function. Table A highlights the six experimental datasets, each consisting of hundreds of thousands of points in the time series. An excellent match was achieved for all datasets using the same parameter set. Figure 5 illustrates a comparison between the simulation and experimental degradation performance of a battery cell in terms of charge and discharge energy (W*h) and capacity (A*h).

fID Chemistry Temperature Charge Current Discharge Current SOC min. SOC max.
1 NMC Medium High High Low High
2 NMC Medium Low Low Low High
3 NMC Low Medium Medium Low High
4 NMC Low Low Low Low High
5 NMC High Medium Medium Low High
6 NMC High Low Low Low High

Table A. The datasets included for parameter fitting with qualitative conditions.

A graph showing cycling data for a single NMC battery cell, with simulated charge shown in orange and simulated discharge shown in blue, as well as experimental charge shown in orange plus signs and experimental discharge shown in blue plus signs. Figure 5. Cycling data for a single NMC battery cell, comparing simulated and experimental charge and discharge energy and charge and discharge capacity. Data source: Ref. 4.

Battery Simulation in 3D: Building Upon the Electrochemical Model

Many phenomena are only present in 3D, and to fully and accurately model these phenomena, the modeling therefore also needs to be expanded to 3D. This includes the modeling of, for example, the cooling on the side of the battery packs, the heating of the busbar, and the current distribution across many of the different individual batteries. Another aspect that needs to be considered is local degradation in certain parts of the battery being larger than in other parts of the battery because of temperature differences across battery packs. An important thing to also note is that there are significant computational costs from going up in dimensions. Also, for the models at the scale of a full battery, it would not be possible to have the same level of detail as in the 1D chemistry, as the computational cost would simply be too great. Some of the information that was calculated in the 1D chemistry needs to be taken up in the full 3D model in order for it to accurately represent the functions of the battery, but much of the information is not needed at all. Therefore, the chemistry can likely be described with a reduced-order model, such that it is computationally feasible to include in a 3D model.

The DNN architecture that was implemented in COMSOL Multiphysics® version 6.1 was adopted in this work. For the most important inputs and outputs from the 1D cell chemistry model, in the span that we expect the model to run in, we are able to generate a dataset that was needed in the training of the DNN.

A graphic representing the conceptual workflow of the generation of data for training DNNs. Figure 6. The conceptual workflow of the generation of data for, training of, and utilization of DNNs in COMSOL® for calculating a battery with chemistry being used as a reduced-order model.

In order to obtain a representative span of the parameters (Figure 6), LHS was performed for the most important control parameters, the temperature, current (to be used with the recorded voltage to train the DNN), state of charge, and SEI layer thickness. While it is possible to make LHS in the Model Builder in COMSOL Multiphysics®, we opted to use the methods in the Application Builder in order to control each individual simulation. That way, it was possible to distribute the simulation across many parallel COMSOL® sessions and collect the results automatically in one file. Moreover, this method allowed for reducing the time it would take to generate the necessary data each time some changes were made inside the 1D chemical cell model. The scripting in the Application Builder also makes it easier to automate the entire sequence of operations, which would be beneficial if this was going to be packaged into an easy-to-use COMSOL model or potentially a COMSOL app to be used by clients.

After each iteration of solving for the 1D chemical cell model, certain outputs were stored. Specifically, we chose values that would be integrated into the full 3D model, e.g., predicting the SEI layer growth speed in order to time integrate it into the SEI layer thickness.

Having this dataset, it was then a task of finding a configuration of the neural network in terms of activation functions, depth and width of the neuron layers that would give the most optimal performance, and learning rate. The DNN was evaluated against how closely it would predict the out-of-sample dataset. Another key performance parameter was for a specific width and depth of the neural network, looking at how much time it would take to compute that network. For example, having a very wide and deep DNN not only took a long time to train but also led to a significantly longer wait time for results.

Figure 7. Animation showing, from left to right, the temperature profile, the state of charge of the battery, and the SEI layer thickness during a single discharge. The system experiences inhomogeneous effects because of a constant room temperature boundary condition on the far-right end of the battery.

Figure 7 illustrates the 3D modeling and simulation that integrates what the temperature is, what the state of charge is, and what the SEI layer thickness is. The figure gives an indication of how much stress the battery is undergoing during its use. Among other things, the results also illustrate how the heat is developed and distributed inside the battery and how different areas inside the battery degrade in terms of SEI layer growth. This is, of course, a dynamic effect such that the degradation plays into how the battery will get charged and discharged in the future, how the temperature will therefore be distributed inside the system, and in turn, how the battery will degrade because of where the SEI layer grows.

For the system in Figure 7, it is seen that because of the inhomogeneous temperature there is also an inhomogeneous discharge rate and an inhomogeneous SEI layer growth.

Larger Battery Packs and Multiphysics Modeling

In production, individual batteries are typically not run alone, but in packs of many batteries (Figure 8). It therefore becomes much more interesting to model entire packs of batteries. Specifically, the modeling could be performed for battery packs for an electric vehicle (EV). Modeling the entire battery module or pack comes at the expense of computational resources but gives a more accurate picture of the thermal behavior of the batteries during operation and how they degrade. By including flow and current distributions in the model, it gives a more realistic picture of how heat is generated and cooled in the system. As the temperature profile and state of charge are being calculated, it is possible to use the model to predict where in the batteries SEI deposition would happen and therefore where in the batteries degradation would happen. Since there is not going to be a uniform temperature throughout the entire battery pack, there will not be uniform degradation either.

A single battery on the left, a battery module in the middle, and scaled up to a battery pack for energy storage on the right. Below those three images are models representing the physics of flow distribution for cooling and current distribution in shades of red, pink, and orange. Figure 8. The battery scale-up from a single battery, to a battery module, and up to a battery pack for energy storage. The image also shows the physics that can be more accurately taken into account when modeling entire modules, including flow, current distribution, and ohmic losses and heating.

The current, temperature, state of charge, and SEI layer are all calculated using the weak form formulation built up in COMSOL® from the mathematical module of weak form.

Flow and temperature around the pack are calculated using traditional formulations available in the add-on CFD Module and Heat Transfer Module. The flow and temperature are then coupled together using declared temperature and no-slip boundary conditions.

Figure 9. An animation showing the effect of a hard discharge on an entire battery module. From left to right: the temperature profile, state of charge, and SEI layer thickness. The system experiences inhomogeneous effects because of a constant room temperature boundary condition on the outer side edges of the battery module.

From these models (Figure 9), we can see that we can calculate temperature, charge, and SEI layer degradation distributions in the batteries. This information can provide battery pack manufacturers with valuable insight into how to run their systems as well as the lifetime expectancy.

Summary

By utilizing these surrogate modeling capabilities in COMSOL®, we have been able to model very large systems while taking into account chemical properties and simulation results, something we otherwise would not have been able to do. This has enabled us to obtain information on full battery packs and how they evolve over multiple charges and discharges, as well as how degradation evolves throughout the system. This information can be used to gain important learnings before the battery is put into production or undergoes a several-thousand-hour test.

The modeling technique we presented here is not unique to batteries. The methodology can be used for many systems that do not share the same physics but present similar computational difficulties in terms of the scale they operate at, as well as similar long transient effects that play an important role in the system. In such cases, the surrogate modeling and DNN functionality in COMSOL® can indeed be an important tool for investigations.

About the Authors

André Gugele Steckel is a senior modeling specialist at resolvent, a COMSOL Certified Consultant based in Denmark. He holds an MSc in physics and nanotechnology and a PhD in physical engineering from the Department of Physics at the Technical University of Denmark (DTU). His work spans multiphysics simulation, with a particular emphasis on acoustofluidics, electromechanical and piezoelectric transducers, and thin-film technologies. He has contributed to COMSOL Conference proceedings on battery modeling, covering topics such as methods for predicting lifetime degradation and analyzing the impact of operation and manufacturing processes on battery performance using high-fidelity models and surrogate models.

Thomas Bisgaard was a senior simulation specialist at resolvent. He holds an MSc and a PhD in chemical engineering from DTU. His expertise spans multiphysics and multiscale mathematical modeling, process dynamics, optimization, and control, with doctoral research focused on heat-integrated distillation and optimal control. He has contributed to technical work on battery performance and lifetime modeling, combining mechanistic electrochemical models with surrogate approaches to assess the impact of operation and manufacturing processes.

References

  1. “Trends in batteries,” IEA; https://www.iea.org/reports/global-ev-outlook-2023/trends-in-batteries
  2. M. Doyle, T.F. Fuller, and J. Newman, “Modelling the Galvanostatic Charge and Discharge of the Lithium/Polymer/Insertion Cell,” Journal of the Electrochemical Society, 140(6), 1993; https://iopscience.iop.org/article/10.1149/1.2221597/pdf
  3. M. Safari et al., “Multimodal Physics-Based Aging Model for Life Prediction of Li-Ion Batteries,” Journal of the Electrochemical Society, 156(3): 2009, A145-153; https://iopscience.iop.org/article/10.1149/1.3043429
  4. Battery Archive; http://www.batteryarchive.org/

Additional Resources from Resolvent

To learn more about the topic discussed in this blog post, as well as the work of Resolvent, see:

Acknowledgements

The authors would like to acknowledge the financial support by the European M-ERA.NET 3 call (project9468 LaserBATMAN), Innovation Fund Denmark (grant number 1139-00001), and the Swedish Governmental Agency for Innovation Systems (Vinnova grant number 2022-01257). The project aims to optimize battery pack manufacturing with a focus on joining processes. The consortium is comprised of the following companies and institutions: University of Skövde (Sweden), Technical University of Denmark (Denmark), Volvo Group Trucks Operations (Sweden), Aurobay Powertrain Engineering Sweden (Sweden), and Resolvent (Denmark).


Comments (0)

Leave a Comment
Log In | Registration
Loading...
EXPLORE COMSOL BLOG