36
ECE4710/5710: Modeling, Simulation, and Identification of Battery Dynamics 7–1 Thermal Modeling 7.1: Introduction and preliminary definitions Up until now, we have assumed that the cell we are modeling is at a constant temperature. When considering thermal aspects of real cells, we must account for: 1. Usage of a cell generates (or sinks) heat; 2. Local heat addition/removal changes temperature at that location; 3. Heat flows within cell and to/from environment at cell boundaries; 4. Cell operational parameters are temperature dependent: cell works differently at different temperatures. For a coupled electrochemical-thermal model, we must be able to model each of these effects. Preliminary definitions Temperature is a measure of the tendency of an object to give up energy to its surroundings spontaneously. When two objects are in thermal contact, the one that tends to lose energy spontaneously is at the higher temperature. If we are precise, we can write 1 T = d S dU n , V , Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

Embed Size (px)

Citation preview

Page 1: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710: Modeling, Simulation, and Identification of Battery Dynamics 7–1

Thermal Modeling

7.1: Introduction and preliminary definitions

■ Up until now, we have assumed that the cell we are modeling is at a

constant temperature.

■ When considering thermal aspects of real cells, we must account for:

1. Usage of a cell generates (or sinks) heat;

2. Local heat addition/removal changes temperature at that location;

3. Heat flows within cell and to/from environment at cell boundaries;

4. Cell operational parameters are temperature dependent: cell

works differently at different temperatures.

■ For a coupled electrochemical-thermal model, we must be able to

model each of these effects.

Preliminary definitions

■ Temperature is a measure of the tendency of an object to give up

energy to its surroundings spontaneously.

■ When two objects are in thermal contact, the one that tends to lose

energy spontaneously is at the higher temperature.

■ If we are precise, we can write

1

T=

(dS

dU

)

n,V

,

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 2: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–2

relating temperature T to entropy S and internal energy U when the

number of particles and volume are held constant.

■ A simpler (but less precise) definition of temperature relates it to the

translational kinetic energy associated with the disordered

microscopic translational motion of atoms or molecules in a system.

■ According to this definition of kinetic temperature,[

1

2mv2

]

average

=3

2kT ,

where k is the Boltzmann constant. While this definition has some

problems, it will be sufficient to understand this chapter.

■ Heat can be defined as “thermal energy in transit.”

• Heat flux refers to movement of thermal energy, which tends to

change the temperatures of the source and destination.

• Heat generation refers to thermal energy being added to a system,

tending to increase its temperature.

• A heat sink removes thermal energy from a system, tending to

decrease its temperature.

■ There are various mechanisms by which

thermal energy can travel: conduction,

convection, and radiation.

■ Conduction transfers thermal energy

within a system, as neighboring molecules

impart/receive energy to/from each other.

■ If you put a metal cooking pot over a fire, it will absorb the energy

from the flame (via radiation energy transfer).

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 3: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–3

■ The molecules absorbing the energy will vibrate more quickly,

bumping into the molecules next to them, increasing their energy, etc.

■ As this process continues, the heat is transferred from the part

directly over the fire to the extremities of the pot.

■ The ability of a material to conduct heat depends on its macroscopic

and microscopic structure.

• Styrofoam cups and double-paned windows are good thermal

insulators because gas pockets do not conduct heat well.

• Metals are good thermal conductors due to the tight internal

bonding of their atoms.

■ Convection is the transfer of thermal energy due to the mass

movement of a fluid (liquid or gas) arising from a pressure gradient.

• Natural convection occurs because warm fluids are less dense

than cold fluids, so warm fluids tend to rise and cold fluids fall.

• Forced convection relies on a fan or pump to augment the natural

pressure gradient to speed fluid movement.

■ An object is cooled via convection when a thin layer of fluid in contact

with it is first heated via conduction.

• Conduction alone does not account for the cooling, however, as

fluids are generally poor conductors of thermal energy.

• Instead, the thin layer of fluid heated by conduction caries the heat

away from the system by convection.

• This cycle repeats when a new cooler layer of fluid takes its place.

■ Radiation is the transfer of thermal energy via electromagnetic waves.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 4: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–4

• Radiation doesn’t require contact between the heat source and the

heated object as is the case with both conduction and convection.

• No mass is exchanged and no medium is required in the process

of radiation: heat can be transmitted though empty space.

• This energy is absorbed when these waves encounter an object.

• For example, energy traveling from the sun to your skin: you can

feel your skin getting warmer as energy is absorbed.

■ Finally, we review the important thermodynamic potential enthalpy:

• Enthalpy H is the total amount of energy stored by the system that

could be released as heat. In a process,

◆ If !H > 0, system has received energy in the form of heat;

◆ If !H < 0, system has released energy in the form of heat;

• So, !H must be proportional to !q.

■ Enthalpy is related to internal energy, but is not equal to internal

energy because the First Law of thermodynamics states

!U = !q + !w = !q.

■ To remove the !w term, enthalpy is defined as H = U + pV and is

most useful for constant-pressure calculations:

• Many chemical reactions occur under (constant) atmospheric

pressure, so we may regard them as constant pressure processes.

• The change in enthalpy is then the heat released by the reaction.

dH = dU + d(pV ) = dU + p dV + V dp = dU + p dV

= dq + dw + p dV = dq − p dV + p dV = dq.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 5: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–5

7.2: Microscale thermal model

■ With this introduction, we are ready to proceed to the rest of the

microscale derivation, based on a paper by Gu and Wang.1

■ For a multi-phase system, a general differential equation of thermal

energy balance, based on first principles, is2

ρkcP,k

(∂Tk

∂t+ vk · ∇Tk

)= ∇ · (λk∇Tk) −

species i

jk,i · ∇ Hk,i .

■ First term on left models energy storage (as increase in temperature):

• ρk is the density of phase k [kg m−3], cP,k is the specific heat of

phase k [J kg−1 K−1], Tk is temperature of phase k [K].

■ Second term on left is a convection term—local energy changes

because warmer or colder materials flow into the region of interest:

• vk is the average velocity of the mixture [m s−1].

■ First term on right models heat flux due to thermal diffusion:

• λk is the thermal conductivity of phase k.

• Conductivities of some categories

of material are tabulated.

• Battery materials have typical

thermal conductivities around

5 W m−1 K−1. 1,000

Thermal conductivity (W/mK)

0.01 0.1 1 10 100

Nonmetallic solids

Alloys

Insulation systems

Liquids

Gases

Pure metals

1 W.B. Gu and C.Y. Wang, “Thermal-Electrochemical Modeling of Battery Systems,”Journal of the Electrochemical Society, 147(8), 2910–2922 (2000).

2 R.B. Bird, W.E. Stewart and E.N. Lightfoot, Transport Phenomena, second edition,John Wiley and Sons, 2002. This result is from Table 19.2-4, entry (F) in Bird’s book,combined with Bird 19.3-6, as derived in Gu & Wang.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 6: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–6

■ Second term on right models heat flux due to material flux

• jk,i is the molar flux due to diffusion and migration of species i in

phase k, relative to the mixture’s average velocity [mol m−2 s−1],

◆ Hk,i is the partial molar enthalpy of species i in phase k, where

Hk,i = Uk,i + pVk,i [J mol−1].

■ We’re going to assume that convection is negligible and drop it from

the equation, giving:

ρkcP,k∂Tk

∂t= ∇ · (λk∇Tk) −

species i

jk,i · ∇ Hk,i .

■ Heat generation is a phenomena that occurs at the boundary

between phases due to chemical reactions occurring there, and we

will explore this in due course.

Evaluating the partial molar enthalpy term

■ To proceed, we need to be able to work with the Hk,i term.

Hk,i =

(dH

dnk,i

)

T,p,n j =k,i

=

(d(G + T S)

dnk,i

)

T,p,n j =k,i

=

(dG

dnk,i

)

T,p,n j =k,i

+ T

(dS

dnk,i

)

T,p,n j =k,i

.

■ Recall that the first term is equal to the electrochemical potential µk,i .

■ To evaluate the second term, we need the Gibbs–Duhem relationship

SdT − V dp = −

r∑

i=1

nidµi

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 7: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–7

S = Vdp

dT−

r∑

i=1

ni

dµi

dT

(dS

dnk,i

)

T,p,n j =k,i

= −dµk,i

dT.

■ Combining, we have,

Hk,i = µk,i − T

(dµk,i

dT

)

p,n j

.

■ Now, recall one definition of the electrochemical potential,

µk = RT ln(λk) + zk Fφk

Hk,i = RT ln(λk,i) + zk,i Fφk,i − Td(RT ln(λk,i) + zk,i Fφk,i)

dT

= RT ln(λk,i) + zk,i Fφk,i − TdRT ln(λk,i)

dT− zk,i FT

dφk,i

dT

= RT ln(λk,i) − T

(R ln(λk,i) + RT

d ln(λk,i)

dT

)+ zk,i F

(φk,i − T

dφk,i

dT

)

= −RT 2d ln(λk,i)

dT+ zk,i F

(φk,i − T

dφk,i

dT

).

■ Continuing with the gradient term that we need,

∇ Hk,i = −R∇

(T 2d ln(λk,i)

dT

)+ zk,i F∇

(φk,i − T

dφk,i

dT

).

■ The first term is closely related to the enthalpy of mixing, and is

generally ignored in practice.

■ We also generally ignore the temperature dependence of phase

potential. Also, local potential of all species will be equal, so,

∇ Hk,i = zk,i F∇φk.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 8: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–8

■ Substituting this into the prior relationship,

ρkcP,k∂Tk

∂t= ∇ · (λk∇Tk) −

species i

zk,i Fjk,i · ∇φk.

■ Noting that the current through phase k results from diffusion and

migration of ionic species in the phase under the assumption of

electroneutrality where

ik =∑

species i

zk,i Fjk,i ,

(in [A m−2]), so we can rewrite the relationship as

ρkcP,k∂Tk

∂t= ∇ · (λk∇Tk) − ik · ∇φk.

Boundary Conditions

■ As we have seen, the PDE by itself must be accompanied by a

suitable boundary condition in order to simulate the dynamics.

■ Here, we are concerned about the solid–electrolyte boundary.

■ In a nontrivial derivation,3 λe∇Te · ne + λs∇Ts · ns = F jη + F j'.

■ The left side of the expression is the sum of the heat flux into the

electrolyte and into the solid [W m−2].

■ The right side is heat generation/sink at surface:

• The jη term models irreversible heat generation (always positive).

• The j' term models reversible heat gen. (positive or negative).

■ We will see how to evaluate these terms in the next section.

3 J. Newman, “Thermoelectric Effects in Electrochemical Systems,” Ind. Eng. Chem.Res., 1995, 34, 3208–3216.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 9: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–9

7.3: Continuum thermal model

■ Our goal now is to volume average over the phases to get a

continuum-scale equation. Starting with,

ρkcP,k∂Tk

∂t= ∇ · (λk∇Tk) − ik · ∇φk.

■ We use volume-averaging theorem 3 on the LHS of the equation,

assuming that the solid–electrolyte phase boundary is not moving,

ρkcP,k

[∂Tk

∂t

]=

1

εk

ρkcP,k∂(εk Tk)

∂t.

■ We use volume-averaging theorem 2 on the first term of the RHS,

∇ · (λk∇Tk) =1

εk

[∇ · (εkλk∇Tk) +

1

V

Ase

(λk∇Tk) · nk dA

].

• We model εkλk∇Tk ≈ λeff,k∇ Tk, where λeff,k = λkεbrugk , and assume

that the integrand is constant within the small volume V ,

∇ · (λk∇Tk) ≈1

εk

[∇ · (λeff,k∇ Tk) +

Ase(λk∇Tk) · nk

V

]

=1

εk

[∇ · (λeff,k∇ Tk) + as(λk∇Tk) · nk

].

■ The second term on the RHS of the equation is more tricky, since we

don’t have a volume-averaging theorem to help with it. This term is

handled by “completing the square.” Consider,

(ik − ik) · (∇(φk − φk)) = [ik · ∇φk] − [ik · ∇φk] − [ik · ∇φk] + [ik · ∇φk].

• This allows us to write the term of interest as,

[ik · ∇φk] = [ik · ∇φk] + [ik · ∇(φk − φk)] + (ik − ik) · (∇(φk − φk)).

■ We take volume averages of this equation term-by-term.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 10: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–10

• Because ∇φk is a constant, the volume average of the first term is:

[ik · ∇φk] =1

Vk

ˆ

Vk

[ik · ∇φk] dV =

(1

Vk

˚

Vk

ik dV

)· ∇φk = ik · ∇φk.

• For the second term, we use volume-averaging theorem 1:

[ik · ∇(φk − φk)] = ik · ∇(φk − φk)︸ ︷︷ ︸0

+ik ·1

V

Ase

(φk − φk)nk dA,

where Gu and Wang show that the integral term is small compared

to the other terms, and so this entire expression is dropped.

• For the third term, we use the definition of volume averaging:

(ik − ik) · (∇(φk − φk)) =1

Vk

˚

Vk

(ik − ik) · (∇(φk − φk)) dV .

Gu and Wang did not give any advice for how to evaluate this term,

but omitted it from their final result, assuming it was negligible.

■ Combining all results to date,

1

εk

ρkcpk

∂(εkTk)

∂t=

1

εk

[∇ · (λeff,k∇ Tk) + as(λk∇Tk) · nk

]− ik · ∇φk.

■ We assume that local thermal equilibrium exists in the system,

Ts = Te = T ,

and sum the above equation over the solid and electrolyte phases,

∂(ρcPT )

∂t= ∇ · λ∇T + q,

where

ρcP =∑

k∈{s,e}

εkρkcP,k and λ =∑

k∈{s,e}

λeff,k,

and the heat-source term q is given by

q =∑

j

as j F j(η j + ' j) −∑

k

εk ik · ∇φk.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 11: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–11

■ The Peltier coefficient was derived in Newman’s paper to equal

' j = T∂Uocp, j

∂T.

• The partial molar entropy ∂Uocp, j/∂T term has to do with change in

OCP as temperature varies.

• Plot shows representative curves.

• At different stages of lithiation,

more or less order is produced by

lithiation, so heat is either

generated or sunk. 0 0.2 0.4 0.6 0.8 1.0−0.3−0.2−0.1

00.10.20.30.40.5

Entropy of electrode materials

Electrode SOC

GraphiteLFPLMO

∂U

ocp

/∂T

(mV

K−

1)

■ Recall from notes chapter 4 that volume-averaged current density

through solid and electrolyte phases are

εs is = −σeff∇φs and εeie = −κeff∇φe − κD,eff∇ ln ce.

■ Summarizing (and removing over-lines from volume-averaged

quantities to clean up notation), the heat-gen. terms [W m−3] are:

• Irreversible heat gen. qi = as F j jη j due to chemical reaction j ,

• Reversible heat gen. qr = as F j j T∂Uocp, j

∂Tdue to change in entropy,

• Joule heating in solid, qs = σeff(∇φs · ∇φs),

• Electrolyte Joule heating, qe = κeff(∇φe · ∇φe) + κD,eff(∇ ln ce · ∇φe).

■ We sometimes also include contact-resistance and current-collector

heat generation, qc = i2app(Rcontact + Rcc) [W m−2].

• Note different units: Applies only to current-collector/electrode

contact region, so is per unit area rather than per unit volume.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 12: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–12

Transfer of heat at boundaries

■ At the cell boundaries, there are three methods by which heat can be

conducted into or out of the cell: convection, conduction, radiation.

■ Conduction can be modeled as a fixed temperature specified at

surface. In one dimension, we can write

T (x, t)|x=0 = T0, T (x, t)|x=L = TL.

■ Conduction can also be modeled as a fixed heat flux at the surface.

−λeff ∂T (x, t)

∂x

∣∣∣∣x=0

= q0, λeff ∂T (x, t)

∂x

∣∣∣∣x=L

= qL,

where the sign of the derivatives flip at x = L to reflect the convection

of heat flux into the surface as positive.

■ A special case is the adiabatic (or insulated) surface for which

∂T (x, t)

∂x

∣∣∣∣x=0

= 0 and/or∂T (x, t)

∂x

∣∣∣∣x=L

= 0.

■ The second type of boundary condition is convection, in which the

heat flux to/from the surface is proportional to the difference between

the surface temperature and an ambient fluid temperature T∞

−λeff ∂T (x, t)

∂x

∣∣∣∣x=0

= h

(T∞ − T (0, t)

)

λeff ∂T (x, t)

∂x

∣∣∣∣x=L

= h

(T∞ − T (L , t)

),

where h [W m−2 K−1] is the heat transfer (or convection) coefficient.

The value of h is a property of the flow conditions of the fluid in

contact to the surface, not a property of the surface itself.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 13: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–13

■ A third type of boundary condition is radiation, which can become

significant when the surface temperatures are relatively high.

■ Heat transfer to the surface via radiation can typically be expressed as

−λeff ∂T (x, t)

∂x

∣∣∣∣x=0

= ϵσ

(T 4

∞ − T 4(0, t)

)

λeff ∂T (x, t)

∂x

∣∣∣∣x=L

= ϵσ

(T 4

∞ − T 4(L , t)

),

where ϵ [unitless] is the surface emissivity and

σ = 5.670373 × 10−8 W m−2 K4 is the Stefan–Boltzmann constant.

■ The problem with this boundary condition is that temperature appears

in the fourth power, which makes the problem nonlinear in T and

eliminates most hopes of finding an analytical solution.

■ One way to deal with this is to linearize the radiation rate law via a

first-order Taylor series expansion, giving

T 4∞ − T 4

s ≈ 4T 3∞(T∞ − Ts).

■ The quantity 4ϵσ T 3∞ can now be viewed as a linearized radiation heat

transfer coefficient, denoted hrad.

Change in parameter values via Arrhenius relationship

■ Most model parameter values are temperature dependent.

■ This is usually modeled by the (empirical) Arrhenius relationship,

which relates some property of the cell at present temperature T ,

,(T ), to that property at a reference temperature Tref, ,ref via an

exponential function with “activation energy” E0:

,(T ) = ,ref exp

[E0

R

(1

Tref−

1

T

)].

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 14: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–14

7.4: Reduced order modeling: Transfer functions

■ To create a reduced-order thermal model, we must be able to:

1. Approximate the four heat-gen. terms, resulting in total heat gen. q.

2. Use q to model change in cell average temperature.

3. In real time, blend models created at different temperature

setpoints to approximate the true model behavior.

■ These are described in the following sections.

Gradient transfer functions

■ All heat-gen. terms are nonlinear, so transfer functions don’t exist.

■ Further, they are products of terms which themselves are functions of

iapp(t), so are essentially functions of i2app(t): truncating a Taylor-series

expansion will not give linearized models that are helpful.

■ An approach that does work well is to individually compute the

quantities that are ultimately multiplied together to predict heat gen.

• We already know how to compute ROMs of j (z, t) and η(z, t).

• We now need to compute ∇φs(z, t), ∇ ln ce(x, t), and ∇φe(x, t).

■ We can find these terms via a transfer-function approach.

Gradient of φs(z, t)

■ Recall from Chap. 6 that we defined φs(z, t) = φs(z, t) − φs(0, t). Then,

the gradient with respect to the spatial coordinate z can be written as

∇zφs(z, t) = ∇zφs(z, t) − ∇zφs(0, t)

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 15: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–15

∇zφs(z, t) = ∇zφs(z, t),

since φs(0, t) is not a function of a spatial dimension.

■ Therefore, if we can find a transfer function for ∇zφs(z, t), we can

compute the gradient we need for computing solid Joule heat gen.

■ Recall also from Chap. 6

,negs (z, s)

Iapp(s)= −

Lnegκnegeff

(cosh(νneg(s)) − cosh((z − 1)νneg(s))

)

Aσnegeff (κ

negeff + σ

negeff )νneg(s) sinh(νneg(s))

−Lnegσ

negeff

(1 − cosh(zνneg(s)) + zνneg(s) sinh(νneg(s))

)

Aσnegeff (κ

negeff + σ

negeff )νneg(s) sinh(νneg(s))

.

■ Taking the derivative of this function with respect to z gives

∇z,negs (z, s)

Iapp(s)=

Lneg(σ

negeff

(sinh(zvneg(s))− sinh(vneg(s))

))

Aσnegeff (κ

negeff + σ

negeff ) sinh(νneg(s))

+Lneg

negeff sinh((z−1)vneg(s))

)

Aσnegeff (κ

negeff + σ

negeff ) sinh(νneg(s))

.

■ The gradient with respect to x can be found as

∇x,negs (z, s)

Iapp(s)

∣∣∣∣∣x

Lneg

=

(∂z

∂x

)(∇z,

negs

(x

Lneg, s)

Iapp(s)

)

=1

Lneg

(∇z,

negs

(x

Lneg, s)

Iapp(s)

)

negeff

(sinh(zvneg(s))− sinh(vneg(s))

)

Aσnegeff (κ

negeff + σ

negeff ) sinh(νneg(s))

∣∣∣∣∣x

Lneg

negeff sinh((z−1)vneg(s))

Aσnegeff (κ

negeff + σ

negeff ) sinh(νneg(s))

∣∣∣∣∣x

Lneg

.

■ In the positive electrode, ,s(z, s) and its gradient with respect to x

must both be multiplied by −1, so the net effect is nil.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 16: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–16

■ The same basic transfer function is used for both electrodes, with the

substitution of constants appropriate for each electrode, and with

z = (L tot − x)/Lpos substituted in the positive electrode.

Gradient of ln ce(x, t)

■ We need to be able to compute ∇ ln ce(x, t) to find qe. Note that

∇ ln ce(x, t) =∇ce(x, t)

ce(x, t),

and as we already compute ce(x, t) as an output of the ROM, we

need only to learn how to compute ∇ce(x, t).

■ Recall that ce(x, t) = ce(x, t) + ce,0, so ∇ce(x, t) = ∇ ce(x, t). We have

already derived a transfer function for ce(x, t), which we wrote as

Ce(x, s)

Iapp(s)=

M∑

n=1

Ce,n(s)

Iapp(s).(x; λn).

■ As only the eigenfunctions in this summation are a function of x , the

gradient can be found as

∇Ce(x, s)

Iapp(s)=

M∑

n=1

Ce,n(s)

Iapp(s)(∇.(x; λn)) .

■ All of the hard work computing Ce,n(s) is reused; only change is that

we must multiply these terms by the gradients of the original

eigenfunctions, not by the eigenfunctions themselves.

■ Recall that the eigenfunctions were defined by

.(x; λ) =

⎧⎪⎪⎪⎨

⎪⎪⎪⎩

.neg(x; λ), 0 ≤ x < Lneg;

.sep(x; λ), Lneg ≤ x < Lneg + Lsep;

.pos(x; λ), Lneg + Lsep ≤ x ≤ L tot.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 17: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–17

where

.neg(x; λ) = k1 cos

(√λε

nege /D

nege,effx

)

.sep(x; λ) = k3 cos

(√λε

sepe /D

sepe,effx

)+ k4 sin

(√λε

sepe /D

sepe,effx

)

.pos(x; λ) = k5 cos

(√λε

pose /D

pose,effx

)+ k6 sin

(√λε

pose /D

pose,effx

).

■ Then,

∇.neg(x; λ) = −k1

√√√√λεnege

Dnege,eff

sin

√√√√λεnege

Dnege,eff

x

∇.sep(x; λ) = k4

√√√√λεsepe

Dsepe,eff

cos

√√√√λεsepe

Dsepe,eff

x

⎠−k3

√√√√λεsepe

Dsepe,eff

sin

√√√√λεsepe

Dsepe,eff

x

∇.pos(x; λ) = k6

√√√√λεpose

Dpose,eff

cos

√√√√λεpose

Dpose,eff

x

⎠−k5

√√√√λεpose

Dpose,eff

sin

√√√√λεpose

Dpose,eff

x

⎠.

Gradient of φe(x, t)

■ To compute the gradient of φe(x, t), recall that we have previously

defined φe(x, t) = φe(x, t) − φe(0, t).

■ Therefore, ∇φe(x, t) = ∇φe(x, t) − ∇φe(0, t), or

∇φe(x, t) = ∇φe(x, t).

■ Recall also that we wrote φe(x, t) as having two parts

φe(x, t) =[φe(x, t)

]

1+[φe(x, t)

]

2.

■ The first part,[φe(x, t)

]

1, can be determined via transfer functions;

the second part,[φe(x, t)

]

2, can be determined via known ce(x, t).

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 18: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–18

■ Gradient of the first part can also be found via transfer functions;

gradient of the second part will furthermore require ce(x, t).

■ Let’s continue to look at the first part. In the negative electrode,

[,e(x, s)]1

Iapp(s)=−

Lnegσnegeff

(cosh

(x

Lnegνneg(s)

)− 1

)

Aκnegeff (κ

negeff +σ

negeff )νneg(s) sinh(νneg(s))

−x

A(κnegeff +σ

negeff )

−Lnegκ

negeff

(cosh

((Lneg−x)

Lneg νneg(s))

− cosh(νneg(s)))

Aκnegeff (κ

negeff + σ

negeff )νneg(s) sinh(νneg(s))

.

■ The corresponding gradient, computed with the aid of Mathematica, is

∇[,e(x, s)]1

Iapp(s)=

κnegeff

(sinh

((Lneg−x)νneg(s)

Lneg

)− sinh(νneg(s))

)

Aκnegeff (κ

negeff + σ

negeff ) sinh(νneg(s))

−σ

negeff sinh

(xνneg(s)

Lneg

)

Aκnegeff (κ

negeff + σ

negeff ) sinh(νneg(s))

.

■ In the separator, we had

[,e(x, s)]1

Iapp(s)= −

Lneg((σ

negeff − κ

negeff ) tanh

(νneg(s)

2

))

Aκnegeff (κ

negeff + σ

negeff )νneg(s)

−Lneg

A(κnegeff + σ

negeff )

−x − Lneg

Aκsepeff

.

■ The corresponding gradient is

∇[,e(x, s)]1

Iapp(s)= −

1

Aκsepeff

.

■ In the positive electrode, we had

[,e(x, s)]1

Iapp(s)= −

Lneg((σ

negeff − κ

negeff ) tanh

(νneg(s)

2

))

Aκnegeff (κ

negeff +σ

negeff )νneg(s)

−Lneg

A(κnegeff +σ

negeff )

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 19: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–19

−Lsep

Aκsepeff

−Lpos

(1 − cosh

((Lneg+Lsep−x)

Lpos νpos(s)))

A(κposeff + σ

poseff ) sinh(νpos(s))νpos(s)

−Lposσ

poseff

(cosh

(νpos(s)

)− cosh

((L tot−x)

Lpos νpos(s)))

Aκposeff (κ

poseff + σ

poseff ) sinh(νpos(s))νpos(s)

−(x − Lneg − Lsep)

A(κposeff + σ

poseff )

.

■ The corresponding gradient is

∇[,e(x, s)]1

Iapp(s)=

κposeff

(sinh

(νpos(s)(Lpos−L tot+x)

Lpos

)− sinh(νpos(s))

)

Aκposeff (κ

poseff + σ

poseff ) sinh(νpos(s))

−σ

poseff sinh

((L tot−x)νpos(s)

Lpos

)

Aκposeff (κ

poseff + σ

poseff ) sinh(νpos(s))

.

■ Now, we focus on the second term of φe(x, t).[φe(x, t)

]

2=

2RT (1 − t0+)

F[ln ce(x, t) − ln ce(0, t)]

∇[φe(x, t)

]

2=

2RT (1 − t0+)

F

[∇ce(x, t)

ce(x, t)−

∇ce(0, t)

ce(0, t)

]

=2RT (1 − t0

+)

F

∇ce(x, t)

ce(x, t).

■ As we already compute ce(x, t) as an output of the ROM, and we

have seen how to compute ∇ce(x, t), we have all the terms necessary

to compute ∇[φe(x, t)]2, and therefore we can compute ∇φe(x, t).

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 20: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–20

7.5: ROM heat-generation terms: qr(z, t) and qi(z, t)

■ We are now ready to investigate different reduced-order

approximations to the heat-generation terms.

■ Depending on the accuracy requirements of an application, different

approaches may be taken, with different computational demands.

■ So, to illustrate the tradeoffs, we will use several examples in this

section to compare the results predicted by the different approaches.

■ We use the same basic cell as was used in the examples in Chap. 6.

■ The three examples that we consider are:

1. A 1C discharge pulse, then a charge pulse, around 50 % SOC;

2. A full 1C discharge starting at 100 % state of charge; and

3. A charge-neutral UDDS profile, around 60 % state of charge.

0 20 40 60 80 100−20

−10

0

10

20Pulse current profile

Time (s)

Cur

rent

(A)

0 900 1,800 2,700 3,600 4,500 5,4000

5

10

15

20

1C discharge profile

Time (s)

Cur

rent

(A)

0 500 1,000 1,500−20

−10

0

10

20

30

40

UDDS current profile

Time (s)

Cur

rent

(A)

Reversible heat-generation term qr(z, t)

■ We first consider the reversible heat generation term, specialized to a

single chemical reaction occurring at the solid–electrolyte boundary,

qr(z, t) = as FT j (z, t)∂Uocp(cs,e(z, t))

∂T,

assuming that temperature is relatively constant across an electrode.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 21: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–21

■ We already have transfer functions for j (z, t) and cs,e(z, t). We can

approximate the average reversible heat gen. across the electrode as

qr(t) =1

L

ˆ L

0

as FT j (x/L , t)∂Uocp(cs,e(x/L , t))

∂Tdx

=

ˆ 1

0

as FT j (z, t)∂Uocp(cs,e(z, t))

∂Tdz

≈ as FT∑

i

j (zi, t)∂Uocp(cs,e(zi, t))

∂T!zi .

■ That is, j (z, t) and cs,e(z, t) are evaluated at a number of z locations

across the electrode, the entropy function is evaluated at each cs,e

point, and an approximation is made to the integral to compute the

average heat generation using a rectangular integration summation.

■ For an even better approximation, a trapezoidal integration can be

performed, which uses different weighting constants for every zi point.

■ In the simulations that follow, we use five zi points with trapezoidal

integration in the results labeled “ROM1” through “ROM3.”

■ Computing j (z, t) and cs,e(z, t) at multiple z locations incurs a fair

amount of real-time computation in the C xk + Diapp step.

■ It is possible to make a cruder approximation to qr and reduce the

amount of computation required.

■ That is, if we assume cs,e ≈ cavg across the electrode, then we have

qr =

ˆ 1

0

as FT j (z, t)∂Uocp(cavg(t))

∂Tdz

= as FT∂Uocp(cavg(t))

∂T

ˆ 1

0

j (z, t) dz

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 22: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–22

=iapp(t)T

A

∂Uocp(cavg(t))

∂T.

■ In following simulations, we use this method in “ROM4” results.

■ To compute qr , we must also know the partial-molar entropy.

• For the negative electrode, we use the “graphite” curve from the

earlier figure; for the positive electrode, we use the “LMO” curve.

■ The figure shows sample results for the pulses test.

■ Both ROM1 and ROM4 give similar

predictions, primarily because the

simulation was not long enough for

significant gradients in the solid

surface concentration to arise.0 20 40 60 80 100−4

−2

0

2

4

Time (s)

Hea

t (W

)

FOMROM1ROM4

Heat-generation term qr (t)

■ Had they done so, ROM1 would be much better than ROM4.

■ The choice of which ROM to use depends on the application.

Irreversible heat-generation term qi(z, t)

■ We next consider the irreversible heat generation term, specialized to

a single chemical reaction occurring at the solid–electrolyte boundary,

qi(z, t) = as F j (z, t)η(z, t).

■ From Chap. 6, we have already found a transfer function for j (z, t),

and have seen how to compute η(z, t) from a nonlinear relationship.

■ We can approximate the average irreversible heat generation across

the electrode as

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 23: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–23

qi(t) =

ˆ 1

0

as FT j (z, t)η(z, t) dz

≈ as FT∑

i

j (zi, t)η(zi, t)!zi .

■ As before, we can also use a trapezoidal integration approximation.

■ In the simulations that follow, we use five zi points with trapezoidal

integration in the results labeled “ROM1.”

■ For a reduction in computational complexity that incurs only a modest

loss of accuracy, we can linearize the η(z, t) term and recall

η(z, t) ≈ F Rct j (z, t). This allows us to write

qi(t) ≈ as FT Rct

i

j2(zi, t)!zi .

■ The advantage of this form is that it is the product of two two terms

found via fully linear transfer functions.

■ We will see this form in the other heat-generation terms as well, so

we take some time to examine it in general.

■ Consider a generic heat-generation term, in discrete time

q[z, k] = y1[z, k] y2[z, k],

where y1[z, k] and y2[z, k] are both purely linear terms computed as

output from the state-space reduced-order model (that is, there are

no nonlinear corrections applied to the terms). Then,

q[z, k] =

ˆ 1

0

y1[z, k] y2[z, k] dz

=

ˆ 1

0

[C1x[k] + D1u[k]] [C2x[k] + D2u[k]] dz.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 24: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–24

■ The terms written inside square brackets are scalars, so are equal to

their own transpose.

■ This allows us to write

q[z, k] =

ˆ 1

0

[xT [k]CT

1 + uT [k]DT1

][C2x[k] + D2u[k]] dz

= xT [k]

{ˆ 1

0

CT1 C2 dz

}

︸ ︷︷ ︸{CC}

x[k] + uT [k]

{ˆ 1

0

DT1 D2 dz

}

︸ ︷︷ ︸{D D}

u[k]

+ xT [k]

{ˆ 1

0

CT1 D2 + CT

2 D1 dz

}

︸ ︷︷ ︸{C D}

u[k]

= xT [k] {CC} x[k] + xT [k] {C D} u[k] + uT [k] {D D} u[k].

■ The C and D matrices are produced by the DRA from the appropriate

transfer functions, and the integrals are approximated from these

matrices using a one-time computation, resulting in constant

pre-computed {CC}, {C D}, and {D D} matrices.

■ Expressing the heat generation in this form allows us to consider a

number of different approximations to the original result, at different

levels of complexity.

• The integral involving CT1 C2 requires the most computations,

resulting in an n × n output at every z value.

• The integral involving CTi D j has fewer computations, resulting in

an n × 1 vector for every z value.

• The integral involving DT1 D2 has the fewest computations, resulting

in a 1 × 1 scalar at every z value.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 25: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–25

■ If we are able to drop terms from the approximation without losing too

much fidelity, we can reduce the real-time computation load of

estimating a heat-generation term.

■ In the following, “ROM2” simulations use the full expression

qi[z, k] = xT [k] {CC} x[k] + xT [k] {C D} iapp[k] + {D D} i2app[k].

■ “ROM3” and “ROM4” simulations use a simpler computation

qi [z, k] = {D D} i2app[k].

■ Note that this corresponds to an “i2 × R” type of heat generation we

would expect from a lumped resistance.

■ The other scenarios give better approximations to the heat generation

within an electrode, which is a distributed system.

■ In the ROM2 through ROM4 results that follow for the irreversible

heat-generation term, we selected y1[z, k] = y2[z, k] = j[z, k] and

computed

qi(t) ≈ as FT Rct

ˆ 1

0

y1[z, k] y2[z, k] dz,

using the three different above.

■ The figure shows sample results for the pulses test.

■ In this case, ROM1 is significantly

better than ROM2, which itself is

significantly better than ROM3.

■ The fidelity of predictions required by

the application will dictate which

ROM to use.0 20 40 60 80 1000

0.2

0.4

0.6

0.8

1.0

Time (s)

Hea

t (W

)

FOMROM1ROM2ROM3

Heat-generation term qi (t)

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 26: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–26

7.6: ROM heat-generation terms: qs(z, t) and qe(z, t)

Joule heating in solid term qs(z, t)

■ We now consider the heat-generation term corresponding to Joule

heating in the solid, expressed as qs = σeff(∇φs · ∇φs).

■ We have already seen that we can express ∇φs as a purely linear

transfer function, so we can use the same approaches as we did with

irreversible heat generation.

■ In the simulations that follow, we select y1[z, k] = y2[z, k] = ∇φs[z, k]

and compute

qs(t) = σeff

ˆ 1

0

y1[z, k] y2[z, k] dz.

■ Results labeled “ROM1” or “ROM2” use the full expression

qs[z, k] = xT [k] {CC} x[k] + xT [k] {C D} iapp[k] + {D D} i2app[k].

■ Results labeled “ROM3” and “ROM4” use a simpler computation

qs[z, k] = {D D} i2app[k].

■ The figure shows sample results for

the pulses test.

■ The solid line shows the full-order

model result, and the decorated

lines show different reduced-order

model results.0 20 40 60 80 1000

0.01

0.02

0.03

0.04

Time (s)

Hea

t (W

)

FOMROM1ROM3

Heat-generation term qs(t)

■ In this case, all ROMS produce nearly indistinguishable results.

■ Furthermore, a close examination of the vertical scale shows that the

qs(t) term is by far the smallest heat-generation term, so even large

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 27: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–27

relative errors are not significant when total heat generation is

computed.

■ Therefore, ROM3 is probably sufficient for most applications.

Joule heating in electrolyte term qe(x, t)

■ Finally, we consider the heat-generation term corresponding to Joule

heating in the electrolyte.

■ We take a few steps to convert it into a combination of signals at our

disposal:

qe = κeff(∇φe · ∇φe) + κD,eff(∇ ln ce · ∇φe)

= κeff

((∇[φe]1

)2

+ 2(∇[φe]1∇[φe]2

)+(∇[φe]2

)2)

+ κD,eff

(∇ ce

ce

(∇[φe]1 + ∇[φe]2

))

= κeff

((∇[φe]1

)2

+4RT (1−t0

+)

Fce

(∇[φe]1∇ ce

)+

(2RT (1−t0

+)∇ ce

Fce

)2)

+ κeff

(2RT (t0

+−1)

F

∇ ce

ce

(∇[φe]1 +

2RT (1−t0+)∇ ce

Fce

))

= κeff

(∇[φe]1

)2

−κD,eff

ce

∇[φe]1∇ ce.

■ To compute this result, we will need to have the DRA produce a ROM

that can generate ∇[φe]1, ce, and ∇ ce at different locations across the

cell, in order to create proper averages.

■ For best results, we use κeff(ce(x, t)) instead of the κeff(ce,0) that we

usually use.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 28: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–28

■ Furthermore, we recognize that the denominator of the transfer

function for ∇[φe]1 in all regions of the cell includes a κeff term.

■ The DRA-produced ROM uses κeff(ce,0) when making the linearized

transfer function.

■ However for best results, the output of the ROM should be multiplied

by κeff(ce,0)/κeff(ce(x, t)) since κeff is a strong function of ce and ∇[φe]1

is a strong function of κeff.

■ Writing this out more explicitly, the heat-generation terms used for

“ROM1” results presented below use

qe(x, t) = κeff(ce(x, t))

(κeff (ce,0)

κeff(ce(x, t))∇[φe]1

)2

−κD,eff

ce(x, t)∇[φe]1∇ ce.

■ A simpler version assumes that ce(x, t) ≈ ce,0. Results for “ROM2”

through “ROM4” assume linearized results

qe(x, t) = κeff

(∇[φe]1

)2

−κD,eff

ce,0∇[φe]1∇ ce.

■ Then, the method from Section 7.5 can be used on both parts of this

expression.

• Results for “ROM2” use the full linearized expression;

• Results for “ROM3” and “ROM4” retains only the {D D} terms.

■ The figure shows sample results for

the pulses test.

■ The solid line shows the full-order

model result, and the decorated

lines show different reduced-order

model results.0 20 40 60 80 100

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

Time (s)

Hea

t (W

)

FOMROM1ROM2ROM3

Heat-generation term qe(t)

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 29: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–29

■ In this case, all ROMs gave fairly similar predictions to each other,

although ROM1 appears to be more robust over a variety of

simulation scenarios.

■ As a point of comparison, the total heat generated is modeled and

displayed for the pulses and 1C discharge scenarios.

0 20 40 60 80 100−2

−1

0

1

2

3

4

5

Time (s)

Hea

t (W

)

FOMROM1ROM2ROM3ROM4

Total heat gen., qi (t) + qr (t) + qs(t) + qe(t)

0 900 1,800 2,700 3,600 4,500 5,4000

1

2

3

4

5

6

Time (s)

Hea

t (W

)

FOMROM1ROM2ROM3ROM4

Total heat gen., qi(t) + qr (t) + qs(t) + qe(t)

■ We see that the predictions of the ROMs are quite similar. The only

large discrepancy is with ROM4 for the 1C discharge case, and this

error is due to the crude model of qr(t).

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 30: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–30

7.7: Heat flux terms

■ Now that we have seen how to approximate the heat-generation

terms of the thermal model, we turn our attention to modeling heat

flux, leading to an expression for average cell temperature.

■ We start with underlying PDE

ρcP

∂T (x, t)

∂t= ∇ · (λ∇T (x, t)) + q(x, t),

with convective boundary condition

−λ∂T (x, t)

∂x

∣∣∣∣x=0

= h(T∞ − T (0, t)).

λ∂T (x, t)

∂x

∣∣∣∣x=L

= h

(T∞ − T (L , t)

),

■ The constants ρ, cP , and λ may be different in the three regions of the

cell, but are assumed to be homogeneous within each region.

■ Also, a radiative boundary condition may be approximated using

T 4∞ − T 4

s ≈ 4T 3∞(T∞ − Ts),

as discussed earlier.

■ To solve this PDE, we might consider using separation of variables,

as we did when exploring the PDE governing the concentration of

lithium in the electrolyte, ce(x, t) in Chap. 6.

■ However, since temperature tends to be fairly uniform across the x

dimension of the cell, we use a simpler approach here, which is

sufficient if all we want is average temperature of the cell and not an

accurate model of the entire profile of T (x, t).

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 31: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–31

■ Assume that we can closely approximate T (x, t) as

T (x, t) ≈ T∞ + a(t) + b(t) sin( πx

L tot

).

■ Then, the derivatives that we need to solve the PDE can be written as

∂T (x, t)

∂t=

da(t)

dt+

db(t)

dtsin( πx

L tot

)

∂T (x, t)

∂x=

π

L totb(t) cos

( πx

L tot

)

∂2T (x, t)

∂x2= −

( π

L tot

)2

b(t) sin( πx

L tot

).

■ Inserting the assumed form of solution into the boundary condition at

x = 0 gives

−λπ

L totb(t) cos

(πx

L tot

)∣∣∣x=0

= h(T∞ − (T∞ + a(t)))

−λπ

L totb(t) = −ha(t)

b(t) =hL tot

λπa(t).

■ Evaluating the PDE with the assumed form of solution gives

ρcP

[da(t)

dt+

hL tot

λπ

da(t)

dtsin( πx

L tot

)]= −λ

( π

L tot

)2(

hL tot

λπ

)a(t) sin

( πx

L tot

)

+ q(x, t)

ρcP

[1 +

hL tot

λπsin(πx

L tot

)] da(t)

dt= −

(πh

L tot

)a(t) sin

( πx

L tot

)+ q(x, t).

■ We will use this functional form as a basis for finding average cell

temperature.

■ To do so, we average both sides of the equation

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 32: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–32

1

L tot

ˆ L tot

0

ρcP

[1 +

hL tot

λπsin( πx

L tot

)]dx

da(t)

dt= −

(πh

L tot

2

π

)a(t) + q(t),

where

q(t) =1

L tot

ˆ L tot

0

q(x, t) dx ,

and we have used

1

L tot

ˆ L tot

0

sin( πx

L tot

)dx =

2

π.

■ We re-write this as

da(t)

dt= −

(2h

kq L tot

)a(t) +

1

kq

q(t),

where the constant

kq =1

L tot

ˆ L tot

0

ρcP

[1 +

hL tot

λπsin( πx

L tot

)]dx

=1

L tot

[ρnegc

negP

(h(L tot)2

λnegπ2

(1 − cos

(π Lneg

L tot

)))

+ ρsepcsepP

(h(L tot)2

λsepπ2

(cos

(π Lneg

L tot

)− cos

(π(Lneg + Lsep)

L tot

)))

+ ρposcposP

(h(L tot)2

λposπ2

(1 + cos

(π(Lneg + Lsep)

L tot

)))

+ ρnegcnegP Lneg + ρsepc

sepP Lsep + ρposc

posP Lpos

].

■ Recalling that

T (x, t) ≈ T∞ + a(t) + b(t) sin( πx

L tot

)

= T∞ + a(t)

[1 +

hL tot

λπsin( πx

L tot

)],

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 33: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–33

we can compute an average temperature

Tavg(t) = T∞ +a(t)

L tot

ˆ L tot

0

1 +hL tot

λπsin( πx

L tot

)dx

= T∞ + Cqa(t),

where the constant

Cq =1

L tot

ˆ L tot

0

1 +hL tot

λπsin( πx

L tot

)dx

=1

L tot

[(Lneg +

h(L tot)2

λnegπ2

(1 − cos

(π Lneg

L tot

)))

+

(Lsep +

h(L tot)2

λsepπ2

(cos

(π Lneg

L tot

)− cos

(π(Lneg + Lsep)

L tot

)))

+

(Lpos +

h(L tot)2

λposπ2

(1 + cos

(π(Lneg + Lsep)

L tot

)))]

= 1 +hL tot

π2

[1

λneg

(1 − cos

(π Lneg

L tot

))

+1

λsep

(cos

(π Lneg

L tot

)− cos

(π(Lneg + Lsep)

L tot

))

+1

λpos

(1 + cos

(π(Lneg + Lsep)

L tot

))].

■ Converting to discrete time, we have the one-state ODE model for cell

average temperature

a[k + 1] = Aqa[k] + Bqq[k]

Tavg[k] = Cqa[k] + T∞,

where

Aq = exp

(−

2h

kq L tot!t

)

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 34: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–34

Bq =

⎧⎪⎪⎨

⎪⎪⎩

−L tot

2h

(Aq − 1

), h = 0

!t

kq

h = 0.

■ Results of simulations to test the heat-flux ROM are shown below.

■ In each figure, three different simulation scenarios are shown:

• One for convection coefficient h = 0 (modeling the perfectly

insulated or adiabatic case, with no heat transfer to or from the

environment);

• One with h = 5 (modeling natural convection); and

• One with h = 25 (modeling forced air convection).

■ In the first figure, we see the results for the pulse test.

0 20 40 60 80 100

298.2

298.3

298.4

298.5

298.6

Time (s)

Tem

pera

ture

(K)

Pulse current profile, h=0

FOMROM1ROM2ROM3ROM4

0 20 40 60 80 100298.15

298.2

298.25

298.3

298.35

298.4

298.45

Time (s)

Tem

pera

ture

(K)

Pulse current profile, h=5

FOMROM1ROM2ROM3ROM4

0 20 40 60 80 100298.15

298.2

298.25

298.3

Time (s)

Tem

pera

ture

(K)

Pulse current profile, h=25

FOMROM1ROM2ROM3ROM4

■ All ROMs agree with the FOM results to within less than one degree

over the entire simulation.

• ROM1 is somewhat better than the others, but they are all similar.

■ In the next figure, we see the results for the 1C discharge test.

0 900 1,800 2,700 3,600 4,500 5,400

300

310

320

330

340

350

Time (s)

Tem

pera

ture

(K)

1C discharge profile, h=0

FOMROM1ROM2ROM3ROM4

0 900 1,800 2,700 3,600 4,500 5,400

298.2

298.4

298.6

298.8

299

Time (s)

Tem

pera

ture

(K)

1C discharge profile, h=5

FOMROM1ROM2ROM3ROM4

0 900 1,800 2,700 3,600 4,500 5,400298.15

298.2

298.25

298.3

298.35

Time (s)

Tem

pera

ture

(K)

1C discharge profile, h=25

FOMROM1ROM2ROM3ROM4

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 35: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–35

■ Here, all ROMs do quite well again, although ROM4 is noticeably

worse than the others.

• This is due to the crude approximation of qr(t).

■ Finally, we see results for the charge-balanced UDDS test.

0 500 1,000 1,500298

298.5

299

299.5

300

Time (s)

Tem

pera

ture

(K)

UDDS current profile, h=0

FOMROM1ROM2ROM3ROM4

0 500 1,000 1,500298.1

298.2

298.3

298.4

298.5

Time (s)

Tem

pera

ture

(K)

UDDS current profile, h=5

FOMROM1ROM2ROM3ROM4

0 500 1,000 1,500298.15

298.2

298.25

298.3

Time (s)

Tem

pera

ture

(K)

UDDS current profile, h=25

FOMROM1ROM2ROM3ROM4

■ Again, all ROMs do quite well. ROM1 slightly outperforms the others,

but perhaps not enough to justify the additional complexity.

Wide operating range

■ A coupled electrochemical-thermal lithium-ion battery-cell model can

be created by combining the techniques we have seen to date.

■ First, the Arrhenius equation is used to find parameter values at

different temperature setpoints, and the DRA is used off-line to

produce ROMs at different state-of-charge and temperature setpoints.

■ Then, while the cell model is operating, the electrochemical model

updates state of charge, and the thermal model updates temperature.

■ !Ak, !Bk, !Ck, and !Dk matrices used in real time are continuously

updated via model-blending approach.

Where from here

■ We now have methods for constructing and simulating reduced-order

coupled electrochemical-thermal models of lithium-ion cells.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett

Page 36: Thermal Modeling - University of Colorado Colorado …mocha-java.uccs.edu/ECE5710/ECE5710-Notes07.pdfECE4710/5710, Thermal Modeling 7–3 ... increasing their en ergy, etc. ... recall

ECE4710/5710, Thermal Modeling 7–36

■ We have found that these methods work quite well.

■ One remaining challenge is the requirement of a method to identify all

the physics-based parameters of the models.

• At the moment, cell tear-down and specialized experiments to

measure individual parameters are necessary.

• Methods are being developed that avoid this requirement.

■ The models are now ready for application. In ECE5720: Battery

Management and Control, we discuss practical applications of battery

models to the problems of proper battery management and control.

• We consider the functions of a battery management system,

• We briefly review battery cell models and extend them to be able

to simulate of battery packs,

• We look at cell state estimation and battery health estimation,

• We discuss cell balancing requirements and methods,

• We examine voltage-based power limit estimation,

• We then expand our physics-based cell models to include

descriptions of aging mechanisms and degradation models and

look at optimized controls for power estimation that maximize

battery output while minimizing the incremental aging.

Lecture notes prepared by Dr. Gregory L. Plett. Copyright © 2011, 2012, 2014, 2016, Gregory L. Plett