## Abstract

In recent years, the sustained increase in the worldwide demand for lithium batteries goes side by side with the need for reliable methods to assess battery performance. Of particular importance is assessing Lithium-Ion cell’s thermal behavior given its role on hazard and aging of batteries. An essential task towards developing battery management systems is the estimation of physical parameters and their uncertainties in terms of both models and observations. Consequently, this paper analyzes the uncertainty in a thermal single particle model for a lithium-ion cell. In the first part of the manuscript, we explore the model adequacy by analyzing the forward and backward uncertainty propagation in the model in terms of diffusion coefficients, reaction rate constants, and observations of cell voltage. In the second part of the manuscript, we infer the cell’s reversible heat given the energy balance equation and the cell’s temperature observations. We argue that the methods proposed here may be extended to analyze other more general lithium-ion models.

## 1 Introduction

The worldwide demand for Lithium-Ion batteries has continuously increased during the last decades. The development of models to simulate battery behavior has gone side by side. Broadly speaking, first principle models of batteries are based on multiphysics and are fundamental from a theoretical point of view [1,2,3]. Unfortunately, these models are complex and computationally expensive to simulate, which is a limitation in applications, i.e., design and analysis, where the intense simulation of battery behavior under multiple regimes is required. Because of these arguments, the worldwide community has developed reduced-order models. These types of models, many of them phenomenological, reproduce battery dynamics successfully.

Computer models arising from the discretization of battery models will be useful as long as there is confidence in their predictions, mainly to assist decision making [4]. Since reduced-order models are typically easier to implement and faster to simulate, quantitative methods are required to evaluate reduced-order models’ ability to predict quantities of interest as input parameters vary across regimes. An appropriate approach to address this question is the forward and backward uncertainty propagation analysis. In this regard, it is important to analyze the model adequacy to predict the lithium-ion cell thermal behavior given its role on battery performance, safety, aging, wear and tear.

To address these questions, in this paper, we consider a thermal single-particle model (TSPM), studied by Guo et al. [5], that assumes non-constant temperature along time and couples lithium concentration and thermal balance equations. It is a reduced-order model whose numerical simulation cost allows it to combine with Monte Carlo simulations.

First, we analyze the forward uncertainty propagation of the transport and kinetic coefficients—i.e., its identifiability—through global sensitivity analysis. To accomplish this task, we analyze each coefficient’s contributions to the likelihood’s variance. We define the likelihood as the conditional probability of voltage observations given these model coefficients in the present setting. We find that four parameters (the diffusion coefficient and the reaction rate activation energies, of both electrodes) with the same scale are identifiable from voltage measurements.

On the other hand, to carry out backward uncertainty analysis, we elicit prior distribution models for the activation energy parameters and use them, with the likelihood, to analyze the conditional probability of these coefficients given voltage observations. Of note, voltage observations are easier to obtain compared to temperature observations, see [6]. We apply this strategy to Guo’s reduced-order model to find a conditional probability of the activation energy parameters given voltage observations. We remark that this is not a trivial task since “...*the task of parameter identification is challenging. [...] many parameters are weakly identifiable from current and voltage measurements.*...", see [7]. In this context, we must highlight that we make inferences with a computer model whose solutions mimic the continuous model solutions with a specific order of error in practice. In this paper, we use the estimate introduced in [8] for the solution of the inverse problem in terms of the computer model error. Based on voltage observations, this estimation provides evidence to decide on the grid thickness used to solve the computer model.

As a second line of evidence of the TSPM’s predictive capacity, we infer the reversible heat of the lithium-ion cell using the energy balance equation and temperature observations during a discharge cycle. A central part of our method is estimating the temperature derivative solving a linear inverse problem with the Bayesian paradigm. We use spatial statistics methods to propose a prior model of the temperature derivative, which we regard as a distributed parameter, using a Gaussian Markov random field. We accomplish this task in two steps. First, we pose a uniformly spaced prior model, and secondly, we subsample a central subinterval where the pointwise variance is smaller. This strategy allows us to reduce the variance of the posterior model and reduce the number of degrees of freedom. This approach is based on well known model reduction methods, see for example Spantini et al. [9] or Bui et al. [10].

**Related work** There are many research efforts aimed at analyzing cycling performance of lithium ion batteries taking into account thermal effects [5, 11,12,13,14]. Marcicki et al. [15] considered a lumped energy balance equation and Kalman filtering to estimate heat generation during cycling for Li-ion cells. Bizeray thesis [16] contributes towards state and parameter estimation of thermal-electrochemical lithium-ion battery models, noteworthy are the performance estimation analyses based on extended Kalman filtering. Tagade et al. [17] carried out a synthetic analysis of experimental design and bayesian calibration of an electrochemical termal model. Chen et al. [18] proposed a 3D model aimed at exploring battery thermal behavior taking into account the battery shape. Raijmakers et al. [6] provided a review on heat generation principles, as well as methods and challenges in battery temperature measurement methods.

Regarding sensitivity analysis, [19,20,21,22] investigate global sensitivity analysis of electrochemical models of Li-ion cells including thermal effects.

Likewise, there are inverse analysis electrochemical systems defined by Li-ion batteries, see [23,24,25].

**Contributions and limitations** We explore the adequacy of a thermal single particle model for a Lithium-Ion cell. Our forward uncertainty propagation analysis reveals a relation between forward uncertainty propagation and practical parameter identifiability when we consider the likelihood function as a quantity of interest (QoI). Moreover, in the backward uncertainty analysis we find a probability distribution for these parameters. On the other hand, we estimate the reversible heat using this model for a lithium-ion cell with quantified uncertainty. We use methods of spatial statistics to elicit a prior statistical model for the derivative of the temperature. The corresponding inference process accounts for dimension reduction exploiting the fact that the conditional probability of the temperature derivative is a Gaussian distribution. We point out that our analysis can be applied to other models for lithium-ion cells. We show the importance of prior model elicitation to estimate the reversible heat.

The remainder of this manuscript is organized as follows: Sect. 2 presents the analyzed model and the theoretical analysis tools. Section 3 makes a discussion of our results. Finally, Sect. 4 summarizes our findings and their generality.

## 2 Methods

For the sake of making this paper self-contained, in this section, we gather the theoretical methods used in our *in silico* analysis.

### 2.1 Thermal Li-ion single cell model

We consider the thermal single particle model for a Lithium-Ion cell described by Guo et al. [5], which reads as follows. Assuming each electrode can be represented by a single intercalation spherical particle, the mass balance of lithium ions in an intercalation particle of electrode active material is described by Fick’s second law in a spherical coordinate system

where \(c_{\textrm{s}, \textrm{j}}\) is the concentration of lithium ions in the intercalation particle, *t* is time, *r* is the radius direction coordinate, \(D_{\textrm{s}, \textrm{j}}\) is the solid phase diffusion coefficient, which is a function of temperature, and the subscript \(\mathrm{j = p/n}\) represents the positive/negative electrode. We also have the initial conditions

and the boundary conditions

where \(r=R_\textrm{j}\) is the particle radius, and

with *I* the total current, \(F=96{,}487\) C/mol the Faraday constant and \(S_\textrm{j}\) the total electroactive surface area of electrode \(\textrm{j}\).

Assuming that the spatial temperature distribution in the cell can be neglected, the cell temperature *T* is a function of time only, satisfying

Here *M* and \(C_\textrm{p}\) are the mass and the specific heat capacity of cell, respectively. In addition, \(U_{\textrm{j}}\) is the Open Circuit Potencial (OCP) and \(x_{\textrm{j}, \textrm{surf }}=\frac{\left. c_{\textrm{s}, \textrm{j}}\right| _{r=R_{\textrm{j}}}}{c_{\textrm{s}, \textrm{j}, \max }}\) is the State of Charge (SoC). The overpotential \(\eta _{\textrm{j}}\) is defined as

where

being \(k_{\textrm{j}}\) the reaction rate constant and \(c_{\textrm{e}}\) the (assumed constant in this model) electrolyte concentration in solution phase. Finally, \(R_{\textrm{cell}}\) is the electrolyte resistance and *q* is the rate of heat transfer between cell and surroundings.

The initial cell temperature is assumed to be ambient temperature

In this context, it is possible to explicit the cell voltage \(V_\textrm{cell}\) as

The transport and kinetic parameters involved in the model equations are functions of temperature. The solid phase diffusion coefficients \(D_{\textrm{s}, \textrm{j}}\) and the reaction rate constants \(k_{\textrm{j}}\) depend on the temperature through Arrhenius’ correlation

where \(E_\mathrm{a_{di,j}}\) and \(E_\mathrm{a_{re,j}}\) are the diffusion coefficient activation energy and the reaction rate activation energy, respectively, of electrode j. Of note, the dependence of coefficients \(D_{\textrm{s}, \textrm{j}}\) on temperature implies that Eqs. (1) and (4) are coupled.

### 2.2 Computer model

Broadly speaking, battery model analysis is concerned with studying the solution of model (1)–(6) under different parameter regimes. Let us denote

the activation energy parameter vector and let \(V_\textrm{cell}(t)\) be the cell voltage at time *t*. Equations (1)–(6) define a forward mapping \({\mathcal {M}}\) from these model parameters to cell voltage

The forward mapping \(V_\textrm{cell}={\mathcal {M}}(\theta )\) has no analytical expression. Thus, to explore problem (1)–(6), we rely on a computer model \(V^{h}_\textrm{cell}={\mathcal {M}}^{h}(\theta ) \in {\mathbb {R}}^{N}\), where *h* accounts for a discretization size and *N* is the dimension of the corresponding finite dimensional space. In this paper, we propose \({\mathcal {M}}^{h}\) implementing second-order centered finite differences in space and Crank-Nicolson scheme to march in time to deal with equation (1), as well as a two stage Runge-Kutta second-order method (namely, Heun’s method) to approximate the solution of thermal equilibrium Eq. (4).

Practical validation of a computer model is necessary if we are to use model \({\mathcal {M}}^{h}\) as a surrogate of model \({\mathcal {M}}\) to explore backward and forward uncertainty propagation. In the absence of an analytical expression of \(V_\textrm{cell}\), in order to provide a numerical convergence rate of the computer model, we compute

where the norms \(||\cdot ||_{\infty }\) are computed on the corresponding coarser mesh. Of note \(p_{h} \approx 1.99\), for \(h=2^{-j}\) for \(j=2,3,4,\ldots \) This value of \(p_h\) suggests a quadratic order of convergence.

### 2.3 Forward and backward uncertainty analysis

Let us denote by \(v=(v_{i})_{i=1}^{N}\) the voltage observations at times \(t=(t_{i})_{i=1}^{N}\). We shall assume \(v_{i}=V_\textrm{cell}(t_{i};\theta )+\eta _{i}\). Namely, we assume that a voltage observation \(v_{i}\) is the model prediction \(V_\textrm{cell}(t_{i};\theta )\) for a given set of parameters \(\theta \) with additive noise, e.g. \(\eta _{i}\sim {\mathcal {N}}(0,\sigma ^{2})\) for \(i=1,\ldots ,N\). Then, the conditional probability of \(v_{i}\) given \(\theta \) is \(v_{i}|\theta \sim {\mathcal {N}}(V_\textrm{cell}(t_{i};\theta ),\sigma ^{2})\). In the synthetic examples shown in Sect. 3, the standard deviation \(\sigma \) of the noise is set such that the signal to noise ratio (SNR) satisfies

to mimic the precision of instruments used to measure voltage. We have made the hypothesis that there is no interference, see Johnson [26]. If we assume observations are independent then we obtain a model of the conditional probability of *v* given \(\theta \)

In Sect. 3 we analyze the uncertainty in the forward model \(V_\textrm{cell}={\mathcal {M}}(\theta )\) through global sensitivity analysis. To accomplish this task, we explore the practical parameter identifiability by taking the likelihood (8) as a quantity of interest in the Sobol sensitivity analysis.

According to Salltelli et al. [27], the first order Sobol sensitivity analysis for a quantity of interest \(Y=Y(\theta )\) is defined by

where \(\textrm{var}(Y)\) is the variance of the quantity of interest *Y*, \(\textrm{var}_{\theta _{i}}(\cdot )\) denotes the variance of argument \((\cdot )\) taken over \(\theta _i\), and \({\mathbb {E}}_{{\theta }_{\sim i}}(\cdot )\) denotes the expectation of argument \((\cdot )\) taken over all factors but \(\theta _i\). We use (9) to explore the contribution of the variance in each model parameter to the variance in the likelihood (8). In Sect. 3 we argue that all activation energy parameters \(\theta \) are practically identifiable given voltage observations.

On the other hand, in the backward uncertainty analysis, we care about the uncertainty in the parameters \(\theta \) given observations of the voltage. Thus, we shall use the Bayesian paradigm to model the conditional probability of the vector of model parameters \(\theta \) given a vector of observations \(v=(v_1,\ldots ,v_N)^{T}\). The prior model

codes into a probability density function available information about the parameters that is independent from the voltage observations. If \(\pi _{\Theta }(\theta )\) is a prior distribution of the model parameters, then the uncertainty of the model parameters given observations of the voltage is given by the posterior distribution

where *Z*(*v*) is the normalization constant, often unknown.

There are no analytical methods to explore the posterior distribution (11), e.g., to obtain its estimators, for example, the maximum a posteriori \(\theta _{MAP}=\max _{\theta }\pi _{\Theta |V}(\theta |v)\), the posterior conditional mean \(\theta _{CM}={\mathbb {E}}[\pi _{\Theta |V}(\theta |v)]\) or posterior median \(\theta _\textrm{median}\). Thus, in Sect. 3 we shall use a stochastic collocation method called Markov Chain Monte Carlo (MCMC) to approximate numerically the posterior distribution (11).

### 2.4 Elicitation of the prior distribution for the activation energy parameters

To elicit a prior distribution (10) we shall assume \(E_\mathrm{a_{di,j}}, E_\mathrm{a_{re,j}}\in [0,a \times 10^5]\), j=p/n. We set \(a=2\) for \(E_\mathrm{a_{di,p}}\) and \(a=1\) for the rest of the activation energy parameters. Also, we use the fact that the parameter correlation structure is implicitly set into the forward model \(V_\textrm{cell}={\mathcal {M}}(\theta )\) to pose the prior model as the product of a prior model for each parameter. Consequently, we model \(E_\mathrm{a_{di,j}}/(a \times 10^5), E_\mathrm{a_{re,j}}/(a \times 10^5)~\sim Beta(\alpha ,\beta )\), where instrumental parameters \(\alpha ,\beta \) are chosen following \({\mathbb {E}}[\log (\theta _{i})]=\psi (\alpha )-\psi (\alpha +\beta )\), \(\textrm{var}(\log (\theta _{i}))=\psi _1(\alpha )-\psi _1(\alpha +\beta )\), being \(\psi \) and \(\psi _1\) are the first and second logarithmic derivatives of the Gamma function.

We remark that the Beta distribution is the maximum entropy distribution with support on [0, 1] that arises (see Singh et al. [28]) from requiring a probability density function \(f=f_{\theta _i}(\theta _i)\) to satisfy

and

for \(i=1, 2, 3, 4\). We set the instrumental parameters \(\alpha =\beta =1.1\). Then we model the joint prior probability density (10) as the product

### 2.5 Estimation of the reversible heat

#### 2.5.1 Bayesian approach

We shall use the equation of energy balance (4) to estimate the reversible heat given temperature observations \(T(t_{i})\) at times \(t_i\) for \(i=1,\ldots ,m\). Following the notation of Marcicki [15], we assume the irreversible part of the generated heat to be \(q_\textrm{irr}=I\left( \eta _{\textrm{p}}-\eta _{\textrm{n}}+I R_{\textrm{cell}}\right) \), while Newton’s law of cooling holds for the heat rejected to the environment \(q_\infty =h \left( T-T_{\text{ amb }}\right) \). Furthermore, we shall assume that the cell mass *M* and the cell specific heat capacity \(C_\textrm{p}\) are known. Consequently, if an approximation of the temperature derivative \(\frac{\textrm{d}T}{\textrm{d}t}\) is available, then we can use the energy balance (4) to estimate the reversible heat \(q_\textrm{rev}\) by

In order to use Eq. (12), we propose a Bayesian approach to estimate the temperature numerical derivative given noisy observations of *T*. If we regard numerical differentiation as an inverse problem, then the forward problem is a convolution with a Heaviside function *H*

where *f* is the derivative of *T* in the zero noise limit and \(\gamma _{T}^{2}\) is the noise variance. In the results presented in Sect. 3 we set the signal to noise ratio

We shall use Eq. (13) to pose both, a computer model to solve the direct problem and a likelihood model. We discretize the integral in Eq. (13) using the composite medium point rule obtaining

where we have assumed uniform timing in the observations \(t_i=i\Delta s\) for \(i=0,\ldots ,m\) and \(s_j=\frac{1}{2}(t_{j-1}+t_{j})\) for \(j=1,\ldots ,m\). Denoting by \(T=(T_i)_{i=1}^{m}, f=\left( f(s_i)\right) _{i=1}^{m}\) and \(\xi =(\xi _i)_{i=1}^{m}\), the discretized inverse problem (14) can be writen as

where \(A=(a_{ij})_{i,j=1}^{m}\) is the lower triangular matrix defined by

Assuming temperature observations are independent, the likelihood is given by the conditional probability

where \(\Gamma _{obs}=\gamma _{T}^{2}I_{m}\) and \(I_{m}\in {\mathbb {R}}^{m\times m}\) are the covariance and identity matrices respectively.

We shall solve the inverse problem in two stages. First, we pose a Gaussian prior model for the probability distribution of the temperature derivative

with zero mean and covariance matrix \(\Gamma _{pr}\). Here, we define the covariance matrix in terms of the precision matrix \(\Gamma _{pr}^{-1}=\gamma ^{-2}L^{T}L\), where \(\gamma ^{2}\) is the marginal variance and matrix \(L\in {\mathbb {R}}^{m \times m}\) is a model proposed by Bui [29] as follows. We let \(f_i=\frac{1}{2}(f_{i+1}+f_{i-1})+\xi _i\), where \(\xi _{i }\sim {\mathcal {N}}(0,1)\) for \(i=2,\ldots ,m-1\).

For the end points \(f_{1}\) and \(f_{m}\) we postulate

and set the end points variance \(1/\delta ^{2}\) by letting

where \(e_{[m/ 2]}\) is the canonical basis vector of index the integer part of \(\frac{m}{2}\) and

Then \( \gamma ^{-2}L^{T}L=\Gamma _{pr}^{-1}\) is the precision matrix where

The marginal variance \(\gamma ^{2}\) is chosen to be a function of the number of degrees of freedom, i.e. \(\gamma ^{2}=\gamma _{0} m^{3}\) for some \(\gamma _{0} > 0\) and *m* is the number of degrees of freedom.

Equations (16) and (17), together with Bayes rule (see [30]), define a Gaussian model for the conditional probability of the derivative of the temperature *f* given a vector of temperature measurements *T*

with explicit expressions for the posterior covariance matrix

and the posterior mean vector

The second stage of the inverse problem is carried out through dimension reduction in the number of degrees of freedom.

#### 2.5.2 Dimension reduction

It is known that in the Bayesian approach to inverse problems, the update from prior distribution (17) to posterior distribution (18) occurs along a low-dimensional subspace of the space where the distributed parameter *f* lies. There are research efforts aimed at understanding, computing, and exploiting those data-informed subspaces in the parameter space, see [9, 31, 32], for both linear and nonlinear inverse problems. Among the data-informed subspace analysis methods, parameter dimension reduction is of paramount importance. Indeed, there is an interplay between smoothness of the forward model (13), the dimension of the parameter space, and the signal to noise ratio that determines the uncertainty in the posterior distribution (18), and this dimension is a feature we can change to reduce the uncertainty in the posterior distribution. In the context of methods for parameter space model reduction, there are approaches based on optimization [10] and approaches based on marginalization [32] among other techniques. It is safe to say that although there are no general parameter dimension reduction methods, most methods aim to enhance the predictive capability of the posterior distribution as a statistical model, e.g., to quantify the uncertainty in the solution of the inverse problem better.

In the present setting, we reduce the dimension of the distributed parameter *f*, inferred as shown in the Eqs. (18), (20), by computing the pointwise posterior variance and undersampling *f* at points with smaller variance. To accomplish this task, we use matrix *A* in Eq. (15) and a linear interpolation \(f=Bg\), where \(B\in {\mathbb {R}}^{m \times n}\), with \(n<m\), is a linear transformation aimed at collocating the degrees of freedom used to represent *f*. In the present setting, we define *B* such that *Bg* it leaves unchanged \(r\in {\mathbb {N}}\) degrees of freedom near the endpoints, and undersamples the remainder degrees of freedom every other point.

where \(I_r \in {\mathbb {R}}^{r \times r}\) is the identity matrix, \({\textbf{0}}\) are zero matrices and

is the interpolation matrix, with \(n={\left\{ \begin{array}{ll}(m+1)/2 &{} \text {if}\;m\;\text {is odd}\\ m/2 &{} \text {if}\;m\;\text {is even}\end{array}\right. }\).

This collocation strategy reduces both the posterior variance, and the number of degrees of freedom in the distributed parameter *g*, as we will see in Sect. 3. The forward model (15) is transformed into

Next, we pose a posterior model on *g* following the derivation of the likelihood (16), as well as the prior model (17) by means of the corresponding marginal variance \({\hat{\gamma }}\) and matrix \({\hat{L}} \in {\mathbb {R}}^{n \times n}\) to define the covariance matrix in order to form the precision matrix \({\hat{\Gamma }}_{pr}^{-1}={\hat{\gamma }}^{-2} {\hat{L}}^{T} {\hat{L}} \). Thus obtaining

where

and

## 3 Results and discussion

### 3.1 Forward and backward uncertainty analysis

To establish the adequacy of the thermal Li-Ion cell model (1)–(6), we start from synthetic simulated data created with 41,000 time steps. Specifically, we solve the direct problem with the values specified in [5] for an initial temperature of 298 K and a discharge rate of 1C. The time required to reach the cutoff voltage is 4100 s. We have used the forward and backward uncertainty analysis described in Sect. 2.3. First, by carrying out a Sobol sensitivity analysis we examine the contribution of each one of the model parameters \(\theta \), defined by equation (7), to the likelihood (8), which is the conditional probability of a set of voltage observations given these parameters. Table 1 offers evidence that all activation energy parameters have a meaningful contribution to the variance of the likelihood. We argue that this is a measure of practical identifiability.

Next, we use MCMC to sample iteratively the posterior distribution (11) by means of the t-walk from Christen and Fox [33]. Two standard tests provide numerical evidence of the MCMC convergence, see Roberts and Rosenthal [34]. Namely, the trace plot of \(-\log (\pi _{V|\Theta }(\theta |v)\pi _{\Theta }(\theta ))\) versus the iteration number shown in Fig. 1, and the computed integrated autocorrelation time (IAT) divided by the number of parameters, which in our case is given by \(IAT/4=13.4\).

The posterior distribution gives useful information for the identification of model parameters. In particular, by means of the MCMC samples is possible to compute estimators of the posterior distribution (for example, the median \(\theta _\textrm{median}\) shown in Fig. 2) with a quantified uncertainty.

Also, this MCMC samples allows us to analyze the relation between forward uncertainty analysis and practical parameter identifiability. Indeed, from Table 1 and Fig. 2 we see that posterior variance is smaller for those parameters with larger sensitivity. This outcome is expected given that carry out a global sensitivity analysis (Sobol) of the likelihood over the whole parameter support. Consequently, a measure of practical identifiability given a data set, is that the Sobol sensitivity index is roughly the same order of magnitude for all parameters. This result should be general given a data set, a likelihood and a parameter support.

Figure 3a and b show, for temperature and voltage respectively, the true value as well as the values predicted by the posterior median and by the 5–95% percentiles of the posterior distribution. We note that predictions are achieved with very low forward uncertainty.

The inference results shown in Figs. 2 and 3 are obtained by simulating the direct problem with 4100 time steps, while synthetic data, as described in Sect. 2.3, was created using 41000 time steps. Indeed, numerical simulations of the direct problem in computer *MacBook Pro (15-inch, 2018), 2.6 GHz Intel Core i7 of six cores, with 16 GB 2400 MHz DDR4* take \(1.04\;s\) with 4100 points and \(5.92\;s\) with 41000 points. Namely, simulating the posterior distribution with the coarse model saves more than 80% computation time. We argue that this computing efficiency is of paramount importance if we are to sample the posterior distribution of the activation energy parameters \(\theta \) via MCMC.

### 3.2 Estimation of the reversible heat

Information about the estimation of the temperature derivative for a coarse-grained computer model (4100 time steps) can be found in Fig. 4a. Figure 4b shows the temperature distribution predicted by multiplying by matrix *A*, the discrete direct operator defined in Sect. 2.5.1, while Figs. 5a and b show the predicted cell’s reversible heat \(q_\textrm{rev}\) and voltage \(V_\textrm{cell}\) computed from the temperature. On the other hand, Figs. 4c, d, 5c and d show the corresponding results obtained after computing the pointwise posterior variance and undersample the temperature derivative at the points with smaller variance. For this task, we allocate 10 % of the total initial number of degrees of freedom uniformly placed in a neighborhood of the endpoints, as described in Sect. 2.5.2. Of note, the dimension reduction improves the estimation of the reversible heat, and reduces the posterior variance.

The same analysis is presented in Figs. 6 and 7 for a fine-grained computer model (41000 time steps). This simulation renders roughly the same result as the coarse-grained one. Namely, we obtain roughly the same estimate of the reversible heat and the same uncertainty and predictions of both temperature and voltage. Consequently, it may be preferable to use the coarse-grained model if we have to analyze multiple datasets.

We argue that our inference is robust to the numerical discretization, and subsampling the distributed parameters in the region where the pointwise variance is smaller reduces the variance in the posterior distribution.

## 4 Conclusions

In this paper, we apply forward and backward uncertainty analysis to assess the adequacy of a thermal single-particle Li-Ion cell model. We have used parameter sensitivity analysis as diagnostics preceding parameter estimation. We offer numerical evidence that forward uncertainty analysis may serve as a practical identifiability test given a set of voltage observations. Afterward, we use error control of the posterior distribution concerning the numerical approximation of the direct problem to reduce the computational burden in approximating such a posterior distribution in order to identify the activation energy parameters via Markov Chain Monte Carlo. In the second part of the manuscript, we infer the reversible heat of a Li-Ion cell given observations of the temperature and an energy balance equation. To accomplish this task, we exploit the linearity of the energy balance equation to construct the solution of the inference problem as a conditional probability given by a Gaussian distribution with explicit expressions for the mean and the covariance, Eqs. (18)–(20). Furthermore, we exploit the fact that the solution grid is different from the data grid to apply a variance reduction method and obtain a posterior distribution with reduced uncertainty, and a smaller number of degrees of freedom, Eqs. (21)–(22), and Algorithm 1.

## References

Ramos, A.M.: On the well-posedness of a mathematical model for lithium-ion batteries. Appl. Math. Model.

**40**(1), 115–125 (2016). https://doi.org/10.1016/j.apm.2015.05.006Díaz, J.I., Gómez-Castro, D., Ramos, A.M.: On the well-posedness of a multiscale mathematical model for lithium-ion batteries. Adv. Nonlinear Anal.

**8**(1), 1132–1157 (2019). https://doi.org/10.1515/anona-2018-0041Richardson, G.W., Foster, J.M., Ranom, R., Please, C.P., Ramos, A.M.: Charge transport modelling of lithium-ion batteries. Eur. J. Appl. Math. (2021). https://doi.org/10.1017/S0956792521000292

Oden, T., Moser, R., Ghattas, O.: Computer predictions with quantified uncertainty, part i. SIAM News

**43**(9), 1–3 (2010)Guo, M., Sikha, G., White, R.E.: Single-particle model for a lithium-ion cell: thermal behavior. J. Electrochem. Soc.

**158**(2), A122–A132 (2011)Raijmakers, L.H.J., Danilov, D.L., Eichel, R.A., Notten, P.H.L.: A review on various temperature-indication methods for li-ion batteries. Appl. Energy

**240**, 918–945 (2019)Li, Y., Ralahamilage, D., Vilathgamuwa, M., Mishra, Y., Farrell, T., Choi, S.S., Zou, C.: Model order reduction techniques for physics-based lithium-ion battery management: A survey. IEEE Ind. Electron. Mag.

**2021**, 256 (2021)Capistrán, M.A., Christen, J.A., Daza-Torres, M.L., Flores-Arguedas, H., Montesinos-López, J.C.: Error control of the numerical posterior with bayes factors in bayesian uncertainty quantification. Bayesian Anal.

**1**(1), 1–23 (2021)Spantini, A., Solonen, A., Cui, T., Martin, J., Tenorio, L., Marzouk, Y.: Optimal low-rank approximations of bayesian linear inverse problems. SIAM J. Sci. Comput.

**37**(6), A2451–A2487 (2015)Bui-Thanh, T., Willcox, K., Ghattas, O.: Model reduction for large-scale systems with high-dimensional parametric input space. SIAM J. Sci. Comput.

**30**(6), 3270–3288 (2008)Ning, G., Popov, B.N.: Cycle life modeling of lithium-ion batteries. J. Electrochem. Soc.

**151**(10), A1584 (2004)Santhanagopalan, S., Guo, Q., Ramadass, P., White, R.E.: Review of models for predicting the cycling performance of lithium ion batteries. J. Power Sourc.

**156**(2), 620–628 (2006)Kumaresan, K., Sikha, G., White, R.E.: Thermal model for a li-ion cell. J. Electrochem. Soc.

**155**(2), A164 (2007)Cai, L., White, R.E.: Mathematical modeling of a lithium ion battery with thermal effects in. comsol inc multiphysics (mp) software. J. Power Sourc.

**196**(14), 5985–5989 (2011)Marcicki, J., Yang, X.G.: Model-based estimation of reversible heat generation in lithium-ion cells. J. Electrochem. Soc.

**161**(12), A1794 (2014)Bizeray, A.: State and parameter estimation of physics-based lithium-ion battery models. In: PhD thesis, University of Oxford (2018)

Tagade, P., Hariharan, K.S., Basu, S., Verma, M.K.S., Kolake, S.M., Song, T., Oh, D., Yeo, T., Doo, S.: Bayesian calibration for electrochemical thermal model of lithium-ion cells. J. Power Sourc.

**320**, 296–309 (2016)Chen, S.C., Wan, C.C., Wang, Y.Y.: Thermal analysis of lithium-ion batteries. J. Power Sourc.

**140**(1), 111–124 (2005)Grandjean, T.R.B., Li, L., Odio, M.X., Widanage, W.D.: Global sensitivity analysis of the single particle lithium-ion battery model with electrolyte. In: 2019 IEEE vehicle power and propulsion conference (VPPC), IEEE, pp. 1–7 (2019)

Vazquez-Arenas, J., Gimenez, L.E., Fowler, M., Han, T., Chen, S.K.: A rapid estimation and sensitivity analysis of parameters describing the behavior of commercial li-ion batteries including thermal analysis. Energy Convers. Manage.

**87**, 472–482 (2014)Edouard, C., Petit, M., Forgez, C., Bernard, J., Revel, R.: Parameter sensitivity analysis of a simplified electrochemical and thermal model for li-ion batteries aging. J. Power Sourc.

**325**, 482–494 (2016)Li, W., Cao, D., Jöst, D., Ringbeck, F., Kuipers, M., Frie, F., Sauer, D.U.: Parameter sensitivity analysis of electrochemical model-based battery management systems for lithium-ion batteries. Appl. Energy

**269**, 115104 (2020)Jokar, A., Rajabloo, B., Désilets, M., Lacroix, M.: An inverse method for estimating the electrochemical parameters of lithium-ion batteries. J. Electrochem. Soc.

**163**(14), A2876 (2016)Rajabloo, B., Jokar, A., Désilets, M., Lacroix, M.: An inverse method for estimating the electrochemical parameters of lithium-ion batteries. J. Electrochem. Soc.

**164**(2), A99 (2016)Li, J., Wang, L., Lyu, C., Liu, E., Xing, Y., Pecht, M.: A parameter estimation method for a simplified electrochemical model for li-ion batteries. Electrochim. Acta

**275**, 50–58 (2018)Johnson, D.H.: Signal-to-noise ratio. Scholarpedia

**1**(12), 2088 (2006)Saltelli, A.P., Annoni, I., Azzini, F., Campolongo, M., Ratto, Variance, T.: Based sensitivity analysis of model output design and estimator for the total sensitivity index. Comput. Phys. Commun.

**181**(2), 259–270 (2010)Singh, V.P., Rajagopal, A.K., Singh, K.: Derivation of some frequency distributions using the principle of maximum entropy (pome). Adv. Water Resour.

**9**(2), 91–106 (1986)Bui-Thanh, T.: A gentle tutorial on statistical inversion using the bayesian paradigm. I: Technical Report 12-18, Institute for Computational Engineering and Sciences, 01 (2012)

Howson, C., Urbach, P.: Scientific Reasoning: The Bayesian Approach. Open Court Publishing, Berlin (2006)

Bui-Thanh, T., Ghattas, O., Martin, J., Stadler, G.: A computational framework for infinite-dimensional bayesian inverse problems part i: the linearized case, with application to global seismic inversion. SIAM J. Sci. Comput.

**35**(6), A2494–A2523 (2013)Cui, T., Martin, J., Marzouk, Y.M., Solonen, A., Spantini, A.: Likelihood-informed dimension reduction for nonlinear inverse problems. Inverse Prob.

**30**(11), 114015 (2014)Christen, J.A., Fox, C., et al.: A general purpose sampling algorithm for continuous distributions (the t-walk). Bayesian Anal.

**5**(2), 263–281 (2010)Roberts, G.O., Rosenthal, J.S.: Optimal scaling for various metropolis-hastings algorithms. Stat. Sci.

**16**(4), 351–367 (2001)Anaconda software distribution (2020). https://www.anaconda.com/products/distribution

## Acknowledgements

Authors acknowledge the financial support of the Spanish Ministry of Science and Innovation under the project PID2019-106337GB-I00 and the research group MOMAT (Ref. 910480) supported by Universidad Complutense de Madrid. M.A.C. acknowledges support from CONACYT CB-2017-284451 grant.

## Funding

Open Access funding provided thanks to the CRUE-CSIC agreement with Springer Nature.

## Author information

### Authors and Affiliations

### Corresponding author

## Ethics declarations

### Code and data availability

For the sake of reproducibility, all computations shown in this section were carried out using Anaconda Python [35] fixing the seed of random number generation as follows: numpy.random.seed(2021). Code can be obtained from the corresponding author upon request.

## Additional information

### Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Dedicated to Prof. Jesùs Ildefonso Díaz for his 70th birthday.

## Rights and permissions

**Open Access** This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

## About this article

### Cite this article

Capistrán, M.A., Infante, JA. & Ramos, Á.M. Thermal uncertainty analysis of a single particle model for a Lithium-Ion cell.
*Rev. Real Acad. Cienc. Exactas Fis. Nat. Ser. A-Mat.* **117**, 64 (2023). https://doi.org/10.1007/s13398-022-01340-3

Received:

Accepted:

Published:

DOI: https://doi.org/10.1007/s13398-022-01340-3