Introduction To Battery Design Module
Introduction To Battery Design Module
Contact Information
Visit the Contact COMSOL page at [Link]/contact to submit general inquiries or
search for an address and phone number. You can also visit the Worldwide Sales Offices page at
[Link]/contact/offices for address and contact information.
If you need to contact Support, an online request form is located on the COMSOL Access page
at [Link]/support/case. Useful links:
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Battery Modeling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Detailed Cell Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Lumped Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
The Battery Modeling Physics Interfaces . . . . . . . . . . . . . . . . . . . . . 11
Physics Interface Guide by Space Dimension and Study Type. 14
Tutorial of a Lithium-Ion Battery . . . . . . . . . . . . . . . . . . . . . . . . . 18
Model Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
|3
4|
Introduction
The Battery Design Module offers a wide range of functionality for modeling and
simulation of batteries: from the fundamental processes in the electrodes and
electrolytes of batteries to cell-to-cell temperature and current distributions in
battery packs. These simulations may involve the transport of charged and neutral
species, current conduction, fluid flow, heat transfer, and electrochemical
reactions in porous electrodes.
You can use this module to investigate the performance of batteries at different
operating conditions and for different electrode configurations, separators,
current collectors and feeders, materials, and chemistry. The description of the
involved processes and phenomena may be defined in a fairly detailed manner,
whereby you can apply different hypotheses to gain an understanding of the
investigated systems. With these detailed models you can study the influence of
different electrode materials, pore distribution, electrolyte composition, and other
fundamental parameters on various aspects such as battery performance, as well as
capacity and power fade.
The module also allows for more lumped (“black-box”) modeling approaches
where detailed knowledge of the battery chemistry is not required. Such lumped
models can be used for investigating cell-to-cell dynamics in packs, thermal
management, as well as battery dynamics in electrical circuit simulations. The small
set of parameters used in lumped models are well suited for fitting to load-cycle
experimental data, and parameter estimation tools, using optimization solvers, are
also included in the Battery Design Module.
You can couple the battery models to other physics such as heat transfer, fluid
flow, structural mechanics, and chemical species transport in order to study
phenomena like aging, heat dissipation effects and stress-strain relationships.
|5
Figure 1: The 3D physics interfaces for the Battery Design Module, as shown in the Model Wizard, with
the Electrochemistry branch fully expanded.
The figure above shows the available physics interface in the Battery Design
Module under the Electrochemistry ( ) branch. These electrochemistry
interfaces are based on the conservation of current, charge, chemical species, and
energy. The Battery Interfaces form the basis for battery cell and pack modeling.
The Chemical Species Transport ( ), the Fluid Flow ( ) and the Heat
Transfer ( ) interfaces are extended with functionality for battery modeling, for
instance features for handling porous media. The different physics interfaces are
further discussed below.
6|
Battery Modeling
The Battery Design Module has a number of physics interfaces to model batteries.
Choice of physics interface depends on the overall purpose of the model.
iloc, a Ecell
E
iloc, c
negative electrode positive electrode
Anode Cathode
Figure 2: Direction of the current and charge transfer current during discharge in a battery with porous
electrodes.
|7
During discharge, chemical energy is transferred to electric energy in the charge
transfer reactions at the anode and cathode. The conversion of chemical to electric
energy during discharge may involve electrochemical reactions, transport of
electric current, transport of ions and neutral species in the electrolyte, mass
transport in the electrode particles, fluid flow, and the release of heat in irreversible
losses, such as ohmic losses and losses due to activation energies.
Figure 2 shows a schematic picture of the discharge process. The current enters the
cell from the current feeder at the negative electrode. The charge transfer reaction
occurs at the interface between the electrode material and electrolyte contained in
the porous electrode, also called the pore electrolyte. Here, an oxidation of the
electrode material may take place through an anodic charge transfer reaction,
denoted iloc, a in Figure 2. The shapes of the two curves in the graph are described
by the electrode kinetics for the specific materials. The reaction may also involve
the transport of chemical species from the pore electrolyte and also from the
electrode particles.
From the pore electrolyte, the current is conducted by the transport of ions
through the electrolyte that separates the positive and negative electrode (via
separator or reservoir) to the pore electrolyte in the positive electrode.
At the interface between the pore electrolyte and the surface of the particles in the
porous electrode, the charge transfer reaction transfers the electrolyte current to
current conducted by electrons in the positive electrode. At this interface, a
reduction of the electrode material takes place through a cathodic charge transfer
reaction, denoted iloc, c in Figure 3. Also here, the charge transfer reaction may
involve the transport of chemical species in the electrolyte and in the electrode
particles.
iloc
Negative electrode Positive electrode
iloc, a
Ecell
E
iloc, c
Eocv
Anode Cathode
Figure 3: Electrode polarization during discharge. The figure is same as inset of Figure 2.
8|
The current leaves the cell through the current collector. The conduction of
current and the electrochemical charge transfer reactions also release heat due to
ohmic losses, activation losses, and other irreversible processes.
The graph in Figure 3 plots the charge transfer current density, iloc, as a function
of the electrode potential, E. These curves describe the polarization of the
electrodes during discharge.
The negative electrode is polarized anodically during discharge, a positive current
as indicated by the arrow in Figure 3. The potential of the negative electrode
increases. The positive electrode is polarized cathodically, a negative current as
indicated by the arrow. The potential of the positive electrode decreases.
Consequently, Figure 3 also shows that the potential difference between the
electrodes, here denoted Ecell, decreases during discharge compared to the open
cell voltage, here denoted Eocv. The value of Ecell is the cell voltage at a given
current iloc, if the ohmic losses in the cell are negligible. This is usually not the case
in most batteries. This implies that the cell voltage in most cases is slightly smaller
than that shown in Figure 3.
During charge, the processes are reversed; see Figure 4. Electric energy is
transformed to chemical energy that is stored in the battery.
iloc, a
Ecell
E
iloc, c
Negative electrode Positive electrode
Cathode Anode
Figure 4: During charge, the positive electrode acts as the anode while the negative one acts as the
cathode. The cell voltage increases (at a given current) compared to the open cell voltage. Note: direction
of the currents is reversed here.
|9
The current enters the cell at the positive electrode. Here, during charge, an
oxidation of the products takes place through an anodic charge transfer reaction.
The positive electrode is polarized anodically, with a positive current, and the
electrode potential increases.
The current is then conducted via pore electrolyte, through the electrolyte in a
separator (or a reservoir) that separates the electrodes, to the negative electrode.
In the negative electrode, a reduction of the products from the previous discharge
reaction takes place through a cathodic charge transfer reaction. The negative
electrode is polarized cathodically and the electrode potential decreases.
iloc, a
Ecell
iloc, c
Eocv
Cathode Anode
The difference in potential between the electrodes, here denoted Ecell, at a given
iloc, increases during charge, compared to the open cell voltage, here denoted Eocv;
see Figure 5. The value of Ecell is equal to the cell voltage when ohmic losses are
neglected. In most cells, these losses are not negligible and they would add to the
cell voltage.
The battery processes and phenomena described in the figures above can all be
investigated using the Battery Design Module. The physics interfaces included in
the module allow you to investigate the influence on battery performance and
thermal management of parameters such as the:
• Choice of materials and chemistry
• Dimensions and geometry of the current collectors and feeders
• Dimension and geometry of the electrodes
• Size of the particles that the porous electrodes are made of
• Porosity and specific surface area of the porous electrode
• Configuration of the battery components
10 |
• The kinetics of interfacial and bulk reactions
• Potential or applied current dependent load cycles
• Aging of electrochemical cells
Lumped Models
When modeling larger systems such as a battery pack, including detailed
geometrical details of the individual battery layers, electrode structures and
chemistry may not be practical from a modeling point of view. Many details about
the battery cell may not be known to the modeler, and numerical constraints
(memory and computational time) may favor less complex models. For these cases
one often replaces the detailed cell model by simpler zero-dimensional cell
elements, forming an equivalent circuit, lumped battery or single particle model.
For instance, instead of a detailed mass and charge balance of charge-carrying ions
in the electrolyte phase along the length of the negative electrode, the separator,
and the positive electrode, all voltage contributions from these phenomena are
lumped into a single resistor.
In a battery pack model a number of these zero-dimensional models for each
battery cell are then combined to define the cell-to-cell current distribution of the
pack.
| 11
of the battery electrodes, or choice of materials. Models created with the Lumped
Battery interface can typically be used to monitor the state-of-charge and the
voltage response of a battery during a load cycle. The interface also defines a
battery heat source that may be coupled to a Heat Transfer interface for modeling
battery cooling and thermal management.
The Lumped Battery, Two Electrodes interface ( ) offers a slightly more
advanced definition of the battery model where each electrode material is handled
individually, but still in a lumped context. It accounts for solid diffusion in the
electrode particles, the intercalation electrode reaction kinetics and ohmic
potential drop in the separator using a lumped solution resistance term. Models
defined in this way are also known as single-particle models in literature.
The Battery Equivalent Circuit ( ) can be used to define a battery model based
on an arbitrary number of electrical circuit elements. Models created with the
Battery Equivalent Circuit can typically be used to monitor the state-of-charge and
the voltage response of a battery during a load cycle. When selecting the Battery
Equivalent Circuit in the Model Wizard, this adds an Electrical Circuit ( )
interface to the model, including a number of predefined circuit elements that are
used to define the open circuit voltage, the load current and an internal resistance.
You can add additional circuit elements such as resistors, capacitors, and inductors.
The Lead-Acid Battery interface ( ) is tailored for this type of battery and
includes functionality that describes the transport of charged species, charge
transfer reactions, the variation of porosity due to charge and discharge, and the
average superficial velocity of the electrolyte caused by the change in porosity.
The Battery Pack interface ( ) features a one-to-many approach for setting up
multiple lumped battery models and for connecting them in a 3D geometry. The
Battery Pack interface is typically used together with a heat transfer interface for
modeling of thermal pack management. The interface also includes thermal
events, which can be used to study thermal runaway propagation problems.
The current distribution interfaces are generic electrochemical cell interfaces. The
Tertiary Current Distribution, Nernst-Planck interface ( ) describes the
transport of charged species in diluted electrolytes through diffusion, migration,
and convection. In addition, it also includes ready-made formulations for porous
and nonporous electrodes, including charge transfer reactions and current
conduction in the electronic conductors.
The Concentrated Electrolyte Transport interface ( ) is a generic interface for
defining electrolyte transport. The electrolyte transport model is based on
concentrated solution theory and can be applied to any type of electrochemical cell
for an arbitrary number of electrolyte species, for instance cells based on
molten-salt or ionic-liquid electrolytes. The Lithium-Ion, Battery with Binary
Electrolyte and Lead-Acid interfaces mentioned above all make use of variants of
12 |
concentrated solution theory for specific ternary (anion/cation/solvent)
electrolyte systems.
The Chemical Species Transport interfaces ( ) can be used to describe for
instance the transport of trace ions in the pore electrolyte and in the electrolyte
that separates the anode and cathode. Reactions other than pure electrochemical
reactions can be added to, for example, describe the degradation of materials.
The Chemistry interface ( ), found within the Chemical Species Transport
branch, can be used to define systems of reacting species, electrode reactions and
ordinary chemical reactions. As such, it serves as a reaction kinetics and material
property provider to the space-dependent transport interfaces, such as the Tertiary
Current Distribution, Nernst–Planck interface, or Transport of Diluted Species
interface.
The Fluid Flow interfaces ( ) describe the fluid flow in the porous electrodes
and in free media if this is relevant for a specific type of battery, for example, certain
types of lead-acid batteries.
The Heat Transfer in Porous Media interface ( ) describes heat transfer in the
cells. This includes the effects of Joule heating in the electrode material and in the
electrolyte, heating due to activation losses in the electrochemical reactions, and
of the net change of entropy. The heat from reactions other than the
electrochemical reactions can also be described by these physics interfaces. The
heat transfer interfaces are also extended with tailor-made functionality for
homogenization of layered battery materials, which are typically used in thermal
simulations of battery packs.
The Solid Mechanics interface ( ) is extended with functionality for modeling
electrode strain due to, for instance, lithium intercalation in graphite electrodes.
| 13
Physics Interface Guide by Space Dimension and Study
Type
The table lists the physics interfaces available in the Battery Design Module in
addition to those included with the COMSOL basic license.
14 |
PHYSICS INTERFACE ICON TAG SPACE AVAILABLE STUDY TYPE
DIMENSION
| 15
PHYSICS INTERFACE ICON TAG SPACE AVAILABLE STUDY TYPE
DIMENSION
Fluid Flow
16 |
PHYSICS INTERFACE ICON TAG SPACE AVAILABLE STUDY TYPE
DIMENSION
| 17
Tutorial of a Lithium-Ion Battery
18 |
Model Definition
The cell geometry is shown in the figure below. Note that all plots are scaled 100
times in the z direction due to the high aspect ratio of the geometric features.
The geometry defines one foil-to-foil unit cell, stacking five layers in the z
direction:
• Negative metal current collector foil: 10 mm, Cu (due to symmetry, half of
this thickness is used in the model geometry)
• Negative electrode: 60 mm, graphite
• Separator: 30 mm
• Positive electrode: 60 mm, LMO
• Positive metal current collector foil: 10 mm, Al (due to symmetry, half of
this thickness is used in the model geometry)
The electrolyte is LiPF6 dissolved in the organic solvents EC and EMC at a 3:7
ratio.
Symmetry is assumed along the center of the cell.
The positive and negative current terminals are located opposite to each other (but
may easily be placed on the same side by altering the Geometry node in the
model).
| 19
The Lithium-Ion Battery interface is used to set up the physics, using Material data
from the Battery Material Library. After finishing the modeling instructions later
the part of the model tree defining the materials and physics will look as below.
Figure 6: Part of the model tree defining the materials and physics.
The Particle Intercalation subnodes to the Porous Electrode nodes model the
solid lithium concentration in an additional particle dimension (extra dimension).
The SOC and Initial Cell Charge Distribution node is used to set the initial cell
state of charge.
An Electrode Ground boundary condition is used on the negative tab whereas an
Electrode Current boundary condition defines the cell current exiting the cell on
the positive tab.
A time-dependent solver is used to simulate the charging from a 20% to 90% cell
state of charge at a rate of 4 C. (A 1 C rate corresponds to the charge or discharge
current required to fully charge or discharge the battery in 1 h).
20 |
Cell voltage vs time.
The two following figures show the potential distribution in the negative and
positive metal foils (current collector and tab) at the end of the 4C charge.
Potential distribution in the negative metal foil at the end of the 4C charge.
| 21
Potential distribution in the positive metal foil at the end of the 4C charge.
22 |
Current density magnitude in the middle of the separator at the beginning of the 4C charge.
Current density magnitude in the middle of the separator at the end of the 4C charge.
The following instructions show how to formulate, solve, and reproduce this
model.
| 23
Model Wizard
6 Click Study.
7 In the Select Study tree, select Preset Studies for Selected Physics Interfaces >
Time Dependent with Initialization.
8 Click Done.
24 |
G e o me t r y 1
2 Browse to the model’s Application Libraries folder and double-click the file
pouch_cell_utilization_geom_sequence.mph. Note that the location of the
files used in this exercise may vary depending on the installation. For example,
if the installation is on your hard drive, the file path might be similar to C:\
Program Files\COMSOL\COMSOL63\Multiphysics\applications\
Battery_Design_Module\Lithium-Ion_Batteries,_Performance\.
| 25
5 Since the geometry has now been finalized, you may now collapse the
Geometry 1 node in the Model Builder window.
C h a n g e t h e S ca l i n g o f t h e G r ap h i cs W i n d o w
Camera
1 In the Model Builder window, expand the
Component 1 > Definitions node, expand the
View 1 node, then click Camera.
2 In the Settings window for Camera, locate the Camera section.
3 From the View scale list, choose Manual.
4 In the z scale text field, type 100.
5 Click Update.
26 |
Global Definitions
Parameters
Some parameters were loaded with the geometry
sequence into the Parameters 1 node.
1 In the Model Builder window, under
Global Definitions click Parameters 1.
2 In the Settings window for Parameters, type
Geometry Parameters in the Label text field to
rename it.
Add some more parameters from a text file.
1 In the Home toolbar, click Parameters and choose Add > Parameters.
| 27
4 Browse to the model’s Application Libraries folder and double-click the file
pouch_cell_utilization_physics_parameters.txt.
Add Materials
Most of the required material parameters are available in the material libraries.
First add Copper and Aluminum for the current conductors.
1 In the Materials toolbar, click Add Material to open the Add Material
window.
28 |
2 Go to the Add Material window.
3 In the tree, select both Built-in > Aluminum
and Built-in > Copper.
4 Click the Add to Component button in the
window toolbar.
Next add the material properties for the electrolyte and electrode materials.
1 Go to the Add Material
window.
2 In the tree, select both
Battery > Electrodes >
Graphite, LixC6 MCMB (N
egative, Li-ion Battery) and
Battery > Electrodes >
LMO, LiMn2O4 Spinel (Po
sitive, Li-ion Battery).
3 Click the
Add to Component button
in the window toolbar.
4 Similarly, in the tree, select Battery > Electrolytes >
LiPF6 in 3:7 EC:EMC (Liquid, Li-ion Battery) and click the
Add to Component button in the window toolbar.
5 In the Materials toolbar, click Add Material to close the Add Material
window.
A red cross may show at the Aluminum node at this point, indicating missing
material [Link] is expected and will be fixed later when setting up the
physics. Also, no selection warnings may be seen at the other material nodes.
| 29
Assign the Materials to the Domains of the Geometry
30 |
Lithium-Ion Battery
| 31
Particle Intercalation 1
1 In the Model Builder window, click
Particle Intercalation 1.
2 In the Settings window for
Particle Intercalation, locate the
Particle Transport Properties section.
3 In the rp text field, type rp_neg.
Leave the settings of the Species Settings section
as is for now. The initial species concentration
setting will be made inactive later when we
define the cell state of charge on a different
node.
Particle Intercalation 1
1 Click Particle Intercalation 1 child node and in the
Particle Transport Properties section, in the rp text field, type rp_pos.
32 |
Porous Electrode Reaction 1
1 Click Porous Electrode Reaction 1 and in the Electrode Kinetics section, type
i0ref_pos.
Current Conductor 1
1 In the Physics toolbar, click Domains and
choose Current Conductor.
2 In the Settings window for Current Conductor,
locate the Domain Selection section.
3 From the Selection list, choose
Metal Foil Domains.
Electric Ground 1
1 In the Physics toolbar, click Boundaries and
choose Electric Ground.
2 In the Settings window for Electric Ground,
locate the Boundary Selection section.
3 From the Selection list, choose
Negative Tab End.
| 33
Enable SOC and Initial Charge Distribution
1 Enable the Define cell state of charge (SOC) and initial charge inventory on the
Lithium-Ion Battery interface top node. This will allow us to set the initial SOC
of the battery cell.
34 |
2 In the Settings window for Negative Electrode Domain Selection, locate the
Domain Selection section. From the Selection list, choose Negative Electrode.
Proceed similarly for the positive selection:
3 Click Positive Electrode Domain Selection 1, choose Positive Electrode.
Electrode Current 1
Enabling the SOC and Initial Charge
Distribution node means that the capacity of
the cell can be defined. Add the final current
boundary condition current based on a
C-rate multiple as follows:
1 In the Physics toolbar, click
Boundaries and choose
Electrode Current.
2 In the Settings window for
Electrode Current, locate the
Boundary Selection section.
3 From the Selection list, choose Positive Tab End.
4 Locate the Electrode Current section. From the list, choose C-rate multiple.
5 In the Crate text field, type C_rate.
Me sh 1
Set up the mesh for the model. Use a mapped mesh on the top boundaries, and a
swept mesh for remaining of the geometry.
| 35
2 Select Boundary 20 only. (This is the topmost boundary of the geometry.)
3 Click Build Mesh.
By the use of Distribution nodes you can control the resolution in the z
direction of the individual layers of the cell.
2 In the Settings window for Distribution, locate the Domain Selection section.
3 From the Selection list, choose Negative Electrode.
36 |
4 Locate the Distribution section. From the Distribution type list, choose
Predefined.
5 In the Number of elements text field, type 15.
6 In the Element ratio text field, type 3.
Proceed similarly for the other domains, with different number of element and
ratio settings as follows:
| 37
8 Click Build Mesh.
The finalized mesh should now look as follows.
Definitions
Before solving, add also a probe for an automatically defined voltage variable
created by the Electrode Current condition at the positive tab. Since the negative
tab is grounded, this voltage corresponds to the cell voltage. The probe will store
the cell voltage for every time step taken by the solver in a table, and a dynamically
updated plot of the cell voltage will also be available while solving.
38 |
3 Click Replace Expression in the upper-right corner of the Expression section.
From the menu, choose Component 1 (comp1) > Lithium-Ion Battery >
liion.phis0_ec1 - Electric potential on boundary - V.
4 Select the Description checkbox. In the associated text field, type Cell Voltage.
Study 1
The physics is now fully defined and ready for solving. Change the output times
based on the sim_time parameter to store the solution at the beginning of, half
way into, and at the end of the charge as follows:
1 In the Model Builder window, click
Step 2: Time Dependent.
2 In the Settings window for
Time Dependent, locate the
Study Settings section.
3 In the Output times text field, type 0 sim_time/2 sim_time.
4 In the Study toolbar, click Compute.
The model takes approximately 2-3 minutes to solve.
Results
A plot of the battery voltage versus time is created automatically by the probe you
added earlier.
| 39
Rename the Default Probe Plot
1 In the Model Builder window,
under Results click
Probe Plot Group 1.
2 In the Settings window for
1D Plot Group, type Cell
Voltage Probe Plot in the
Label text field.
3 In the Cell Voltage Probe Plot
toolbar, click Plot.
Add a Plot Group for the Potential in Negative Current Collector and Tab
The following steps create a plot of the potential at the negative current collector
and tab.
1 In the Results toolbar, click 3D Plot Group to create a new plot group.
40 |
2 In the Settings window for
3D Plot Group, type
Potential in Negative
Current Collector and Tab
in the Label text field.
3 Click to expand the
Selection section. Select
Domain as Geometric entity
level and thereafter Negative
Current Collector and Tab
as Selection.
4 Locate the Color Legend
section. Select the
Show maximum and minim
um values checkbox.
5 Click to expand the
Number Format section.
Select the
Manual color legend setting
s checkbox.
6 In the Precision text field,
type 4.
| 41
Add Volume Plot to Plot the Potential
1 Right-click
Potential in Negative Current Collector
and Tab and choose Volume.
2 In the Settings window for Volume,
locate the Expression section.
3 Click Replace Expression in the upper-right corner of the Expression section.
From the menu, choose Component 1 (comp1) > Lithium-Ion Battery >
phis - Electric potential - V.
4 In the Potential in Negative Current Collector and Tab toolbar, click Plot.
42 |
4 Locate the Selection section. Select Positive Current Collector and Tab as
Selection and click Plot.
| 43
Slice 1
1 Right-click
Current Density Across Separa
tor and choose Slice.
2 In the Settings window for
Slice, click Replace Expression
in the upper-right corner of the
Expression section. From the
menu, choose
Component 1 (comp1) >
Lithium-Ion Battery >
[Link] - Electrolyte curre
nt density magnitude - A/m².
3 Locate the Plane Data section.
From the Plane list, choose
XY-planes.
4 From the Entry method list, choose Coordinates.
5 In the Z-coordinates text field, type L_neg_cc/2+L_neg+L_sep/2.
6 In the Current Density Across Separator toolbar, click Plot.
44 |
3 From the Time (s) list, choose 630.
4 In the Current Density Across Separator toolbar, click Plot.
| 45
46 |