Battery Design Module Guide
Battery Design Module Guide
User’s Guide
Battery Design Module User’s Guide
© 1998–2020 COMSOL
Protected by patents listed on [Link]/patents, and U.S. Patents 7,519,518; 7,596,474;
7,623,991; 8,457,932; 9,098,106; 9,146,652; 9,323,503; 9,372,673; 9,454,625; 10,019,544;
10,650,177; and 10,776,541. Patents pending.
This Documentation and the Programs described herein are furnished under the COMSOL Software License
Agreement ([Link]/comsol-license-agreement) and may be used or copied only under the terms
of the license agreement.
COMSOL, the COMSOL logo, COMSOL Multiphysics, COMSOL Desktop, COMSOL Compiler,
COMSOL Server, and LiveLink are either registered trademarks or trademarks of COMSOL AB. All other
trademarks are the property of their respective owners, and COMSOL AB and its subsidiaries and products
are not affiliated with, endorsed by, sponsored by, or supported by those trademark owners. For a list of such
trademark owners, see [Link]/trademarks.
Version: COMSOL 5.6
Contact Information
Visit the Contact COMSOL page at [Link]/contact to submit general
inquiries, contact Technical Support, 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 at the COMSOL Access
page at [Link]/support/case. Other useful links include:
Chapter 1: Introduction
CONTENTS |3
Connecting to Electrical Circuits 68
About Connecting Electrical Circuits to Physics Interfaces . . . . . . . 68
Connecting Electrical Circuits Using Predefined Couplings . . . . . . . 69
Connecting Electrical Circuits by User-Defined Couplings . . . . . . . 69
Solving . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Postprocessing. . . . . . . . . . . . . . . . . . . . . . . . 71
References . . . . . . . . . . . . . . . . . . . . . . . . . 71
4 | CONTENTS
Change Thickness (Out-of-Plane). . . . . . . . . . . . . . . . . 90
Charge Conservation, Piezoelectric . . . . . . . . . . . . . . . . 91
CONTENTS |5
NPN BJT and PNP BJT. . . . . . . . . . . . . . . . . . . . 116
n-Channel MOSFET and p-Channel MOSFET . . . . . . . . . . . 116
Mutual Inductance . . . . . . . . . . . . . . . . . . . . . 117
Transformer . . . . . . . . . . . . . . . . . . . . . . . 117
Battery Open Circuit Voltage . . . . . . . . . . . . . . . . . 118
Resistor-Capacitor Couple . . . . . . . . . . . . . . . . . . 118
Diode . . . . . . . . . . . . . . . . . . . . . . . . . . 119
External I vs. U . . . . . . . . . . . . . . . . . . . . . . 119
External U vs. I . . . . . . . . . . . . . . . . . . . . . . 120
External I-Terminal . . . . . . . . . . . . . . . . . . . . . 121
SPICE Circuit Import . . . . . . . . . . . . . . . . . . . . 122
SPICE Circuit Export . . . . . . . . . . . . . . . . . . . . 122
6 | CONTENTS
Porous Electrode. . . . . . . . . . . . . . . . . . . . . . 144
Periodic Condition . . . . . . . . . . . . . . . . . . . . . 146
Thin Electrolyte Layer . . . . . . . . . . . . . . . . . . . . 146
Edge Electrode. . . . . . . . . . . . . . . . . . . . . . . 146
Electrode Line Current Source . . . . . . . . . . . . . . . . 147
Electrolyte Line Current Source . . . . . . . . . . . . . . . . 147
Electrode Symmetry Axis Current Source . . . . . . . . . . . . 148
Electrolyte Symmetry Axis Current Source . . . . . . . . . . . . 148
Electrode Point Current Source . . . . . . . . . . . . . . . . 148
Electrolyte Point Current Source. . . . . . . . . . . . . . . . 149
Electrode Current . . . . . . . . . . . . . . . . . . . . . 149
CONTENTS |7
Internal Electrode Surface . . . . . . . . . . . . . . . . . . 174
Electrolyte Potential . . . . . . . . . . . . . . . . . . . . 175
Electrolyte Current . . . . . . . . . . . . . . . . . . . . . 175
Electrolyte Current Density. . . . . . . . . . . . . . . . . . 176
Thin Electrode Layer . . . . . . . . . . . . . . . . . . . . 176
Electrode-Electrolyte Boundary Interface. . . . . . . . . . . . . 177
Electric Ground . . . . . . . . . . . . . . . . . . . . . . 177
Electric Potential . . . . . . . . . . . . . . . . . . . . . . 178
Electrode Current Density . . . . . . . . . . . . . . . . . . 178
Electrode Current . . . . . . . . . . . . . . . . . . . . . 178
Electrode Power . . . . . . . . . . . . . . . . . . . . . . 179
Harmonic Perturbation . . . . . . . . . . . . . . . . . . . 179
Electrode Potential . . . . . . . . . . . . . . . . . . . . . 180
External Short . . . . . . . . . . . . . . . . . . . . . . . 180
Initial Values for Dissolving-Depositing Species . . . . . . . . . . 181
Non-Faradaic Reactions . . . . . . . . . . . . . . . . . . . 181
Reference Electrode . . . . . . . . . . . . . . . . . . . . 181
Electric Reference Potential . . . . . . . . . . . . . . . . . . 181
Charge-Discharge Cycling . . . . . . . . . . . . . . . . . . 182
Circuit Terminal . . . . . . . . . . . . . . . . . . . . . . 183
8 | CONTENTS
Domain Equations for Primary and Secondary Current Distributions . . 192
Electrochemical Reactions and the Difference Between a Primary and
a Secondary Current Distribution . . . . . . . . . . . . . . 193
Domain Equations for Tertiary Current Distributions Using the
Nernst-Planck Equations and Electroneutrality . . . . . . . . . 196
Mass Fluxes and Sources Due to Electrochemical Reactions . . . . . 197
Deposition-Dissolution Rates, Growth Velocities, and Thicknesses on
an Electrode Surface . . . . . . . . . . . . . . . . . . . 198
Stoichiometric Coefficients for Double Layer Capacitive Charging . . . 199
Film Resistance . . . . . . . . . . . . . . . . . . . . . . 199
Equilibrium Potentials and the Nernst Equation . . . . . . . . . . 200
Electrode Kinetics Expressions . . . . . . . . . . . . . . . . 201
Theory for Specific Current Distribution Feature Nodes . . . . . . . 206
References . . . . . . . . . . . . . . . . . . . . . . . . 213
CONTENTS |9
Chapter 5: Battery Interfaces
10 | C O N T E N T S
The Battery Equivalent Circuit Model Wizard Entry 263
CONTENTS | 11
Domain, Boundary, and Pair Nodes for the Transport of Diluted
Species Interface. . . . . . . . . . . . . . . . . . . . . 323
Transport Properties . . . . . . . . . . . . . . . . . . . . 325
Turbulent Mixing . . . . . . . . . . . . . . . . . . . . . . 327
Initial Values . . . . . . . . . . . . . . . . . . . . . . . 328
Mass-Based Concentrations . . . . . . . . . . . . . . . . . . 328
Reactions. . . . . . . . . . . . . . . . . . . . . . . . . 328
No Flux . . . . . . . . . . . . . . . . . . . . . . . . . 330
Inflow . . . . . . . . . . . . . . . . . . . . . . . . . . 331
Outflow . . . . . . . . . . . . . . . . . . . . . . . . . 331
Concentration . . . . . . . . . . . . . . . . . . . . . . . 332
Flux . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
Symmetry . . . . . . . . . . . . . . . . . . . . . . . . 333
Flux Discontinuity . . . . . . . . . . . . . . . . . . . . . 334
Partition Condition . . . . . . . . . . . . . . . . . . . . . 334
Periodic Condition . . . . . . . . . . . . . . . . . . . . . 335
Line Mass Source . . . . . . . . . . . . . . . . . . . . . . 336
Point Mass Source . . . . . . . . . . . . . . . . . . . . . 336
Open Boundary . . . . . . . . . . . . . . . . . . . . . . 337
Thin Diffusion Barrier . . . . . . . . . . . . . . . . . . . . 337
Thin Impermeable Barrier . . . . . . . . . . . . . . . . . . 338
Equilibrium Reaction . . . . . . . . . . . . . . . . . . . . 338
Surface Reactions . . . . . . . . . . . . . . . . . . . . . 339
Surface Equilibrium Reaction . . . . . . . . . . . . . . . . . 340
Fast Irreversible Surface Reaction . . . . . . . . . . . . . . . 340
Porous Electrode Coupling . . . . . . . . . . . . . . . . . . 340
Reaction Coefficients . . . . . . . . . . . . . . . . . . . . 341
Electrode Surface Coupling . . . . . . . . . . . . . . . . . . 341
Porous Medium . . . . . . . . . . . . . . . . . . . . . . 342
Fluid . . . . . . . . . . . . . . . . . . . . . . . . . . 342
Porous Matrix . . . . . . . . . . . . . . . . . . . . . . . 344
Dispersion . . . . . . . . . . . . . . . . . . . . . . . . 345
Unsaturated Porous Medium . . . . . . . . . . . . . . . . . 345
Liquid . . . . . . . . . . . . . . . . . . . . . . . . . . 346
Gas . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
Adsorption . . . . . . . . . . . . . . . . . . . . . . . . 349
Volatilization . . . . . . . . . . . . . . . . . . . . . . . 351
Species Source. . . . . . . . . . . . . . . . . . . . . . . 351
12 | C O N T E N T S
Hygroscopic Swelling . . . . . . . . . . . . . . . . . . . . 352
Fracture . . . . . . . . . . . . . . . . . . . . . . . . . 353
CONTENTS | 13
The Chemistry Interface 389
Feature Nodes Available for the Chemistry Interface . . . . . . . . 393
Reaction . . . . . . . . . . . . . . . . . . . . . . . . . 393
Species . . . . . . . . . . . . . . . . . . . . . . . . . 398
Electrode Reaction . . . . . . . . . . . . . . . . . . . . . 400
Electrode Reaction Group . . . . . . . . . . . . . . . . . . 403
Reversible Reaction Group . . . . . . . . . . . . . . . . . . 403
Equilibrium Reaction Group. . . . . . . . . . . . . . . . . . 405
Species Group . . . . . . . . . . . . . . . . . . . . . . . 406
Reaction Thermodynamics . . . . . . . . . . . . . . . . . . 406
Species Activity . . . . . . . . . . . . . . . . . . . . . . 407
Species Thermodynamics. . . . . . . . . . . . . . . . . . . 407
14 | C O N T E N T S
No Flux . . . . . . . . . . . . . . . . . . . . . . . . . 421
Flux . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
Inflow . . . . . . . . . . . . . . . . . . . . . . . . . . 422
Outflow . . . . . . . . . . . . . . . . . . . . . . . . . 422
CONTENTS | 15
Media . . . . . . . . . . . . . . . . . . . . . . . . . 447
Convection in Porous Media . . . . . . . . . . . . . . . . . 448
Diffusion in Porous Media . . . . . . . . . . . . . . . . . . 450
Dispersion . . . . . . . . . . . . . . . . . . . . . . . . 451
Adsorption . . . . . . . . . . . . . . . . . . . . . . . . 453
Reactions. . . . . . . . . . . . . . . . . . . . . . . . . 455
Mass Transport in Fractures . . . . . . . . . . . . . . . . . 456
References . . . . . . . . . . . . . . . . . . . . . . . . 457
16 | C O N T E N T S
Chapter 7: Fluid Flow Interfaces
CONTENTS | 17
Point Mass Source . . . . . . . . . . . . . . . . . . . . . 526
Inlet . . . . . . . . . . . . . . . . . . . . . . . . . . . 526
Symmetry . . . . . . . . . . . . . . . . . . . . . . . . 528
No Flow . . . . . . . . . . . . . . . . . . . . . . . . . 528
Flux Discontinuity . . . . . . . . . . . . . . . . . . . . . 528
Outlet . . . . . . . . . . . . . . . . . . . . . . . . . . 529
Precipitation . . . . . . . . . . . . . . . . . . . . . . . 529
Cross Section . . . . . . . . . . . . . . . . . . . . . . . 529
Thickness. . . . . . . . . . . . . . . . . . . . . . . . . 530
Interior Wall . . . . . . . . . . . . . . . . . . . . . . . 530
Thin Barrier. . . . . . . . . . . . . . . . . . . . . . . . 530
Pressure Head . . . . . . . . . . . . . . . . . . . . . . . 531
Hydraulic Head . . . . . . . . . . . . . . . . . . . . . . 531
Atmosphere/Gauge . . . . . . . . . . . . . . . . . . . . . 532
Pervious Layer . . . . . . . . . . . . . . . . . . . . . . . 532
Well . . . . . . . . . . . . . . . . . . . . . . . . . . 534
Fracture Flow . . . . . . . . . . . . . . . . . . . . . . . 534
18 | C O N T E N T S
Theory for the Laminar Flow and Creeping Flow Interfaces 551
General Single-Phase Flow Theory . . . . . . . . . . . . . . . 552
Compressible Flow . . . . . . . . . . . . . . . . . . . . . 554
Weakly Compressible Flow . . . . . . . . . . . . . . . . . . 554
The Mach Number Limit . . . . . . . . . . . . . . . . . . . 554
Incompressible Flow . . . . . . . . . . . . . . . . . . . . 555
The Reynolds Number. . . . . . . . . . . . . . . . . . . . 556
Theory for the Wall Boundary Condition . . . . . . . . . . . . 556
Prescribing Inlet and Outlet Conditions . . . . . . . . . . . . . 560
Mass Flow . . . . . . . . . . . . . . . . . . . . . . . . 561
Fully Developed Flow (Inlet) . . . . . . . . . . . . . . . . . 563
Fully Developed Flow (Outlet). . . . . . . . . . . . . . . . . 564
No Viscous Stress . . . . . . . . . . . . . . . . . . . . . 565
Normal Stress Boundary Condition . . . . . . . . . . . . . . . 566
Pressure Boundary Condition . . . . . . . . . . . . . . . . . 567
Mass Sources for Fluid Flow . . . . . . . . . . . . . . . . . 569
Numerical Stability — Stabilization Techniques for Fluid Flow . . . . . 571
Solvers for Laminar Flow . . . . . . . . . . . . . . . . . . . 573
Pseudo Time Stepping for Laminar Flow Models . . . . . . . . . . 575
Discontinuous Galerkin Formulation . . . . . . . . . . . . . . 577
Particle Tracing in Fluid Flow . . . . . . . . . . . . . . . . . 577
References for the Single-Phase Flow, Laminar Flow Interfaces . . . . 578
Theory for the Free and Porous Media Flow Interface 586
Reference for the Free and Porous Media Flow Interface. . . . . . . 586
CONTENTS | 19
Theory for the Coupling of Fluid Flow to Electrochemical
Reactions 590
Momentum Sources and Sinks . . . . . . . . . . . . . . . . . . 590
Chapter 9: Thermodynamics
20 | C O N T E N T S
Thermodynamic Properties Definitions . . . . . . . . . . . . . 663
Standard Enthalpy of Formation and Absolute Entropy Terms . . . . . 667
Reference State . . . . . . . . . . . . . . . . . . . . . . 668
Transport Properties . . . . . . . . . . . . . . . . . . . . 668
Surface Tension . . . . . . . . . . . . . . . . . . . . . . 693
References . . . . . . . . . . . . . . . . . . . . . . . . 694
CONTENTS | 21
22 | C O N T E N T S
1
Introduction
This guide describes the Battery Design Module, an optional add-on package for
COMSOL Multiphysics® designed to assist you in building detailed models of the
configuration of the electrodes and electrolyte in electrochemical cells.
This chapter introduces you to the capabilities of the module. A summary of the
physics interfaces and where you can find documentation and model examples is
also included. The last section is a brief overview with links to each chapter in this
guide.
23
About the Battery Design Module
In this section:
The physics interfaces include chemical species transport, current balances, heat
transfer, and fluid flow in electrochemical cells. You can use the module to investigate
the performance of batteries at different operating conditions for different electrode
configurations, structures and dimensions, for separators, current collectors and
current feeders, and for the choice of materials and chemistry.
The module adds the electrochemistry interfaces, which contains the Primary Current
Distribution, Secondary Current Distribution, and Tertiary Current Distribution,
Nernst-Planck interfaces. These are available for solid non-porous electrodes and for
porous electrodes. General tertiary current distribution models can also be set up using
the Chemical Species Transport interfaces. In addition to these generic physics
interfaces, the Electrochemistry branch contains these dedicated physics interfaces:
Battery with Binary Electrolyte, Lead-Acid Battery, and Lithium-Ion Battery.
The tailored physics interfaces mentioned above are also complemented with extended
functionality in other physics interfaces for chemical species transport, heat transfer,
and fluid flow.
24 | CHAPTER 1: INTRODUCTION
The physics interfaces for chemical species transport of neutral species are extended by
adding functionality that directly couples to electrochemical reactions defined in the
physics interfaces for electrochemical cells.
Heat Transfer Interfaces includes heat sources that describe ohmic losses in the
electrodes and electrolyte and heat sources due to electrochemical reactions in
electrochemical cells.
The fluid flow capabilities are extended for laminar flow, where the chemical species
transport and the energy balances influence the properties of the flow.
Finally, the Battery Design Module includes various model examples, such as:
See Where Do I Access the Documentation and Application Libraries? to locate and
use these examples and tutorials as a starting point to your own investigations.
26 | CHAPTER 1: INTRODUCTION
PHYSICS INTERFACE ICON TAG SPACE AVAILABLE STUDY TYPE
DIMENSION
Electrochemistry
28 | CHAPTER 1: INTRODUCTION
In each module’s documentation, only unique or extra information is included;
standard information and procedures are centralized in the COMSOL Multiphysics
Reference Manual.
Once the Application Libraries window is opened, you can search by name or browse
under a module folder name. Click to view a summary of the model or application and
its properties, including options to open it or its associated PDF document.
30 | CHAPTER 1: INTRODUCTION
COMSOL Application Gallery [Link]/models
COMSOL Video Gallery [Link]/video
Support Knowledge Base [Link]/support/knowledgebase
32 | CHAPTER 1: INTRODUCTION
Theory for the Transport of Diluted Species Interface section describes the Reacting
Flow in Porous Media (rfcs) and Reacting Flow in Porous Media (rfds) interfaces
including its underlying theory.
In this chapter:
• Introduction to Electrochemistry Modeling
• Connecting to Electrical Circuits
• SPICE Import and Export
35
Introduction to Electrochemistry
Modeling
In this section:
• What Is Electrochemistry?
• Electrochemical Applications
• Fundamentals of Electrochemistry Modeling
• Current Distribution Cases and Choosing the Right Interface to Model an
Electrochemical Cell
• Understanding the Different Approximations for Conservation of Charge in
Electrolytes
• Modeling Electrochemical Reactions
• Double Layer Capacitance
• Porous Electrodes
• Boundary Conditions for Running and Controlling Electrochemical Cells
• Aspects to Consider When Modeling Batteries or Fuel Cells
• Modeling Cyclic Voltammetry
• Common Simplifications When Modeling Electrochemical Cells
• Before You Start Building Your Model
• Meshing Advice
• Solving Electrochemical Models
• Postprocessing Your Solution
What Is Electrochemistry?
An electrochemical process is one that either converts electrical energy to chemical
energy or converts chemical energy to electrical energy.
Electrochemical systems can also be classified into systems that output energy or
systems that consume energy. Batteries and fuel cells are energy extraction devices —
an electrochemical reaction is used to convert the energy in chemical system into a
voltage. Such cells are also called galvanic cells. By contrast, in electrolysis, the system
consumes energy to promote an electrochemical reaction for synthesis. Similar
electrochemical systems needing energy input include manufacturing processes such as
electroplating. Electrochemical reactions may also be driven for electroanalysis, to
quantify or otherwise explore the chemical constituents or reactivity of a system.
Electrolysis occurs when a chemical species in the electrolyte exchanges one or more
electrons with the electrode. Capacitive charging occurs when the potential of an
electrode is changing, so that ions in the electrolyte are either attracted or repelled
from the surface, drawing a current.
Batteries and fuel cells can also involve porous electrodes, in which an electrode
material has a micro- or nanostructure that is permeable to electrolyte. The advantage
of such a material is the great increase in the area of the electrode-electrolyte interface.
Note that all current must move in circuits. An isolated electrode-electrolyte interface
cannot draw a net current, but a system with two such interfaces can. An
electrochemical system with two or more electrodes in contact with electrolyte is called
an electrochemical cell.
Conventional electric current is the flow of positive charge, which is then from anode
to cathode through the electrolyte. A closed circuit, conserving overall system charge,
is formed by the flow of electric current in the electrode domains (and any electrical
circuitry) from cathode to anode, and by the transport of ions through the electrolyte
domains from anode to cathode.
• Potential Variables
• Current Variables and Calculating the Total Cell Current
Under the assumption of a linear relation of current density to electric field, Ohm’s law
is obeyed for the electrolyte current. This is the assumption of primary current
distribution, where one also assumes infinitely fast electrodes kinetics, resulting in
negligible potential drops over the electrode-electrolyte interfaces. If the electrode
reaction kinetics proceed at a finite rate, then the system has a secondary current
distribution. In the cases of more advanced nonlinear charge conservation equations
being required and concentration-dependent electrode polarization, the system is
described as obeying tertiary current distribution.
The electric displacement field in a medium is related to the local charge density
according to Gauss’s law, one of Maxwell’s equations:
∇ ⋅ D = ρv
In electrolytes, we can normally assume that the electrical permittivity is constant and
equal to a bulk value:
D = ε 0 ε s E = – ε 0 ε s ∇V
Hence
2 ρv
∇ V + ---------- = 0
ε0 εs
In an electrolyte with ionic charge carriers, the charge density can be written as:
ρv = F zi ci
i
Hence
F
ε0 εs
2
∇ V + ---------- zi ci = 0
i
This is the Poisson equation relating the electrolyte potential to the distribution of
charge carriers within the electrolyte. In its derivation we assumed that the only charge
carriers are ions, and that the solvated ions and electric field do not alter the
permittivity of the medium.
The mass transport of the charge carriers in aqueous systems is normally given by the
Nernst-Planck equations. These equations neglect ion-ion interactions, and so they
are only exact for infinitely dilute solutions:
N i = – D i ∇c i – z i u m, i Fc i ∇φ l + c i u
Note that concentrated electrolyte systems, such as those in many batteries, use an
extended concentrated species flux definition, based on the Maxwell-Stefan set of
Substituting the Nernst-Einstein relation for the electrical mobility of an ion we get:
ziF
N i = – D i ∇c i + -------- c i ∇φ l + c i u
RT
The above expressions for the n species i, together with the Poisson equation, give a
set of n+1 equations in n+1 unknowns. These are the Nernst-Planck-Poisson
equations. They can be defined in COMSOL Multiphysics by coupling Transport of
Diluted Species with Electrostatics, or by using the Tertiary Current Distribution,
Nernst-Planck interface with Charge conservation model: Poisson, but they are highly
nonlinear and difficult to converge. Most often, further approximations can simplify
the problem without compromising accuracy.
RT ε 0 ε s
xD = ------------------
-
2
F I
This is the length across which electric fields are screened. It is called the Debye length.
This is a very short length in electrolyte solutions: for a typical ionic strength, it is of
the order of 1 nm. Electroneutrality holds at distances much larger than 1 nm from a
charged surface:
zi ci = 0
il = F zi Ni
From substitution of the Nernst-Planck expressions for Ni, the laws of conservation of
mass and charge combine to automatically satisfy conservation of current.
We can simplify the system further by considering the arising expression for il in more
detail:
2
F
zi zi ci
2
il = – F D i z i ∇c i – -------- ∇φ l Di ci + u
RT
Clearly, the right-most term is zero: that is, convection of an electroneutral solution
does not cause current flow. The leftmost term (diffusion current) also vanishes due to
electroneutrality if the gradients of the charge carrying species are zero.
Even if this is not the case, however, this term is often much smaller than the central
term (migration current), so long as the concentrations of the current-carrying ions do
not vary markedly through the solution. Under conditions where the composition of
the electrolyte can be considered nearly constant and current-carrying ions are not
significantly depleted, the diffusion current can be assumed to contribute negligibly.
i l = – σ l ∇φ l
This expression for current density is used in the Secondary Current Distribution
interface, and also the Primary Current Distribution interface. The difference between
these interfaces lies in the treatment of the electrode-electrolyte interfaces (see Kinetics
of Electrochemical Reactions below). From the above, the conductivity of the
electrolyte σl is given as:
2
F
zi
2
σ l = -------- Di ci
RT
2
2F ID mean
σ l ≈ -----------------------------
RT
The advantage of the ohmic expression for current density is that it is a linear relation
of current density to electrolyte potential. It is only weakly nonlinear if σl is allowed to
depend on a concentration solved for in a species transport interface. By comparison,
the Nernst-Planck equations with electroneutrality can be highly nonlinear.
The approximations used to derive the secondary current distribution expression place
tighter constraints on the allowed system configurations, however. The ionic strength
of the solution must remain near-constant for the constant conductivity approximation
to be valid. Usually this is only the case for relatively high conductivity solutions.
When the conductivity is large with respect to the current drawn, the electric field
becomes negligible in solution. For negligible electric fields, a diffusion-only
approximation may be used, where E = 0. This converts the Nernst-Planck equations
into Fick’s laws, with a term for convective transport where necessary. Fick’s laws with
convection and electrochemical boundary conditions are solved for in the
Electroanalysis interface.
Even if you think a problem will involve the full Nernst-Planck equations,
it is best to set the model up in Secondary Current Distribution first, in order
to identify any other possible complications in the system while using a
simpler electrochemical model.
+ -
Ag (aq)+e ↔ Ag(s)
The Gibbs energy change is related to the equilibrium potential difference from the
electrode to the electrolyte according to:
ΔG m
E eq, m = – -------------
nm F
where Eeq,m is the potential difference on some external reference scale for which the
reaction is at equilibrium (ΔG = 0). This is called the equilibrium potential or
reduction potential (or in corrosion, corrosion potential) of the electrochemical
reaction, and its absolute value depends on the choice of reference electrode.
ΔG = – RT ln K
it follows
RT
E – E eq = -------- ln K
nF
The quantity
η m = φ s – φ l – E eq, m
The first is the Tafel law which describes an irreversible anodic or cathodic process:
log ---- = Aη
i
i 0
The constant A is the Tafel slope and has units 1/V. It is usually close to a half-integer
multiple of F/RT and is less than or equal to nF/RT. Note that a reference exchange
current density i0 must be specified for the reaction. This is by definition the current
density drawn at zero overpotential.
The Tafel law assumes that a reaction is irreversible. If the reverse reaction
might occur in practice, Tafel kinetics will not be correct.
α a Fη – α c Fη
i = i 0 exp --------------- – exp -----------------
RT RT
• i0 is an empirical quantity.
• It agrees with the Nernst equation when i = 0, so for a very fast reaction ( i 0 → ∞ )
then the Butler-Volmer equation gives the same potential difference as the Nernst
equation. This is equally true under high resistance conditions.
• It agrees with the Tafel equation when either the anodic or cathodic term
dominates. For highly irreversible reactions (very low i0), appreciable current is only
drawn for large overpotential, so this is typically the case.
( α a + α c )F
i loc = i 0 ---------------------------- η
RT
The coupling of chemical flux to electric current density is automated in some of the
Electrochemistry interfaces by defining the reaction stoichiometry in the Electrode
Reaction and Porous Electrode Reaction nodes. In the Chemical species transport
interfaces the coupling however needs to be set up manually by the Electrode Surface
Couplingnodes. When modeling porous electrodes, the corresponding coupling node
to create a source/sink in a domain is the Porous Electrode Coupling node.
ν jm i m
N j = – ----------------
nm F
-
Ox + ne ↔ Red (2-1)
i loc α a FE α c FE
r = -------- = k fwd c R exp --------------- – k rwd c O exp – --------------- (2-2)
nF RT RT
where kfwd and krwd are reaction rate constants and cO and cR are the activities of the
oxidized and reduced species of the redox couple, respectively. The potential E is here
defined as
E = φs – φl (2-3)
and the transfer coefficients are equal the sum of electrons in the charge transfer
reaction according to
α a Fη α c Fη
i loc = i 0 exp --------------- – exp – -------------- (2-5)
RT RT
α ⁄ n αa ⁄ n
i 0 = i 0, 0 c Rc cO (2-6)
η = E – E eq (2-7)
RT c R
E eq = E eq, 0 – -------- ln ------ (2-8)
nF c O
Note that in Equation 2-5 both i0 and Eeq are concentration dependent. This has some
numerical drawbacks when modeling electrochemical cells including mass transport,
since for low concentrations of the participating species (that is, when c O → 0 or
cR
c R → 0 ), the factor ln ------ may become undefined during the solution process. An
c
expression of the form of O Equation 2-2 is more desirable since this expressions contains
a simple linear dependence on the species activities.
cR α a Fη ref cO α c Fη ref
i loc = i 0, ref ------------- exp -------------------- – -------------- exp – ------------------- (2-9)
c R, ref RT c O, ref RT
where
and
with
RT c R, ref
E eq,ref = E eq, 0 – -------- ln -------------- (2-12)
nF c O, ref
Note that Equation 2-9 now contains a linear dependence on the activities cO and cR.
The layer of charge on the electrode and layer of opposite charge in the adjacent
electrolyte is called the double layer and can be thought of as behaving like a parallel
plate capacitor, since the absolute amount of charge it separates varies with the charge
density on the electrode, and hence with its voltage. The physics of double layer
structure and formation are highly complex and are not yet well understood. One of
the simplest empirical methods to account for the observed influence of capacitance
on polarization curves is to introduce a constant ideal capacitance across the
electrode-electrolyte interface.
This effect can be added to via the Double Layer Capacitance condition. The capacitor
stores a surface charge density Q = C d ( φ s – φ l ) , and contributes a dynamic charging
current density (non-faradaic current) equal to iNF = dQ/dt. The total current
recorded in a real experiment equals:
i tot = i Far + i NF
Porous Electrodes
A porous electrode is one in which the three-dimensional structure of the electrode is
permeable to electrolyte. The electrode-electrolyte interface then extends over a much
larger surface area. This specific surface area (“SSA”, area per unit volume, units 1/m)
is a key property of a porous electrode. Additionally, such an electrode can conduct
electrical current independently through its electrode and electrolyte domains.
Mathematically, a Total Current or Average Current Density condition implies setting the
potential of a boundary to be equal to an additional extra global potential degree of
freedom (floating potential) to comply with the specified current condition. For this
reason, solving for galvanic control is numerically slightly more complex.
Note that many galvanic corrosion situations are practically equivalent to a short circuit
of two electrodes consisting of different metals. In such models, the two metals are set
to the same potential. Usually this potential is chosen to be zero (ground).
• Electrode Potential
• Reference Electrode
In a battery, there is a finite supply of reactant and the system is closed. In a fuel cell,
by contrast, there is a continuous feed of reactant to the system. A battery can be
simpler since it involves a single closed system, but a fuel cell may have other
advantages such as decreasing overall weight since it separates the site of energy storage
from that of energy extraction.
A battery does not have a steady state condition since its feedstock of reactants
progressively depletes until it is consumed. Once consumed, the battery is discharged
and it will no longer provide a voltage as its source of electrochemical energy has run
out. In a rechargeable battery, the process is reversible and the application of a voltage
can return the battery to saturation with feedstock under charging.
Fuel cells do have steady states, although transient effects may also be important in fuel
cell research. In a fuel cell, it is typically important to identify what features of the
system may be rate-limiting for the steady-state current: the transport of reactants to
The maximum achievable voltage in a battery or fuel cell is the difference between the
half-cell potentials. The discharge mode is the direction in which the overall reaction
is thermodynamically downhill (negative ΔG).
Typically a battery model can be set up using Secondary Current Distribution to describe
charge transport since the long charge and discharge times ensure that conductivities
remain relatively uniform through the cell. If coupling to species transport is required,
Transport of Diluted Species can be added with an Electrode Reaction Coupling condition.
Lithium-Ion Battery is used for solving problems in batteries where the anode (in
discharge mode) is lithium metal intercalated into a material such as graphite, and the
cathode (in discharge mode) is lithium ions intercalated into a transition metal oxide.
The electrical current through the electrolyte is carried by lithium ions, typically in an
organic solution. Because both the anode and cathode materials are typically porous to
maximize the active surface area, the Porous Electrode domain node is standard do
define each electrode.
The Battery with Binary Electrolyte interface can be used for a range of general battery
types involving porous electrodes and current transfer through an ionic conductor. An
example is the nickel-metal hydride battery — an early type of rechargeable battery in
which the discharge anode is a metal hydride, the discharge cathode is a hydrated nickel
oxide, and the current is transferred by high concentration potassium hydroxide in
aqueous solution.
The Lead-Acid Battery interface is designed for batteries in which the discharge process
is the conproportionation of Pb(0) and Pb(IV) through a sulfuric acid medium.
In a fuel cell, any one of electrochemical reactivity, mass transport of reactants to either
electrode, and electrical resistance can cause a “bottleneck”, limiting the current drawn
for a given voltage. An accurate study of the polarization curve of a fuel cell must
therefore incorporate all of the physical effects to identify the voltages at which the fuel
cell behavior varies from transport-limited to being limited by the kinetics of the
electrolysis reaction.
The built-in Cyclic Voltammetry study step in the Electroanalysis interface can be used
to automatically set up the voltage sweep in a time-dependent study.
Electrode Surface
However, when modeling porous and gas diffusion electrodes the metal phase
potential is need typically to be included since the conductivity of the metal phase
potential can be much lower in this type of electrodes. This is done in the Porous
Electrode nodes.
HALF-CELL MODELS
Often, an investigator is only interested in the chemistry taking place at one electrode
in a cell. A model of one electrode is called a “half-cell model”.
One usually ignores the kinetics of the counter electrode in a model; commonly it is
represented by a constant potential boundary condition. Such a model is only valid if
the counter electrode can draw arbitrarily large amounts of current compared to the
working electrode, so that it never limits the current flow in the electrochemical cell.
One important example is the catalyst layer in a fuel cell. Since this layer is only
nanometers in size, transport across it is very fast compared to other parts of the
system. Hence, it is not necessary to resolve a distribution of concentrations or
potentials through the layer.
Another example is the passivation layer on an oxidized electrode surface, for which
the “Thin Film Resistance” setting can be used. Because the layer is much thinner than
its surroundings, the electric field through it is almost constant. Therefore, an ohmic
expression can be substituted to create a boundary condition with a potential drop.
This is much more efficient than meshing a geometrically narrow layer.
Film Resistance
It is better to use a layer of Infinite Elements around the finite simulation space to
project the simulation space to infinity, eliminating any error from artificially limiting
the simulation space. This is a typical approximation when the electrolyte domain is a
• Start thinking about your cell in the lowest possible dimension. Starting with a 1D
model helps to understand the influence of different reactions in an electrochemical
system, and gives a good first estimate of current-voltage behavior. Go from 1D to
2D, then from 2D to 3D.
• Every electrode reaction adds numerical nonlinearities to your model. If you have
multiple electrode reactions, add them one at a time.
• Start with a simple description of the electrolyte current, such as Secondary Current
Distribution. Analyze the results to ensure that the electrochemical model is
consistent. Switch only to more complex electrolyte models, or add extra physics
such as mass transfer, heat transfer or flow, only if deemed necessary and when
satisfied with the results from a simpler case.
• If you are including flow in your model, solve for the flow field first before coupling
flow and electrochemistry together.
MODELING CHECKLIST
• Identify which domains are electrode and electrolyte. How will their conductivity
be assessed?
• What is happening on the electrode-electrolyte interfaces? Do both the anode and
the cathode need to be modeled? Do either need to be modeled as domains, or can
they be treated as boundaries?
• What electrochemical reactions take place at the electrode surfaces to cause charge
transfer? Can you parameterize their thermodynamics? Do you know the
Meshing Advice
The default triangular (2D) or tetrahedral (3D) mesh is normally suitable for solving
the equations describing conservation of charge and mass for an general
electrochemical problem.
Electrochemical models involving mass transport generally benefit from a finer mesh
at the electrode surfaces, and at singularities such as the boundary between an
electrode surface and an insulating surface. This may be accomplished by adding
additional Size mesh nodes for these boundaries only. Also, consider refining the
“element growth rate”, and/or using boundary layer meshing in 3D.
For fluid domains, the default physics-controlled mesh should be used, with boundary
layers as required.
For some problems with a stationary flow velocity field and time-dependent
convection of electrochemically reacting species, it may improve convergence to set up
a refined mesh without boundary layers for the species transport study step.
• Make sure that the potential levels are “boot-strapped” somewhere in the model,
preferably by grounding one electrode. If there is no potential level defined
anywhere in the model, your model may have infinitely many solutions, and the
model will not converge.
• Consider using a Stationary with Initialization or a Time Dependent with Initialization
study. Both these studies will use a Current Distribution Initialization study step as a
first step to solve for the potentials only. If you run into problems solving for the
second step in this study you may have to change the “Current distribution type”
setting to Secondary on the Current Distribution Initialization study step node, and
also review the Initial Values as described in the next bullet.
• Review the Initial Values, especially the potentials. Suitable initial potential values can
usually be derived making a “potential walk” through the geometry, starting at the
grounded boundary. Compute electric and electrolyte potentials in other domains
by assuming equilibrium potential differences between electrode and electrolyte for
the main electrode reactions.
• Switch to Linearized Butler-Volmer kinetics (or a Primary current distribution) while
troubleshooting. This can be useful to help achieve a solution for a model that does
not solve with nonlinear kinetics, thereby indicating suitable initial values for the
nonlinear problem.
• If your model contains porous electrodes, try refining the mesh resolution in these
domains, especially toward the electrolyte boundaries.
• Electrochemistry Interfaces
• Specifying Initial Values and Meshing Techniques in the COMSOL
Multiphysics Reference Manual
• Review the Initial Values for the concentration values. Zero initial concentration
values can be unsuitable for tertiary current distribution problems and battery
simulations, since they could imply that no charge carriers or no reacting material is
present.
• If steep concentration gradients are expected close to electrode surfaces, use
boundary layer meshing or finer mesh Size settings at these boundaries.
• When setting up user-defined kinetics expressions, avoid evaluating negative
concentrations by using expressions such as max(c, eps^2), where eps is the
machine epsilon (a very small but finite number).
• Try to solve for low currents and low overpotentials first, then increase the cell load
(for stationary problems this can be done using an auxiliary sweep with
continuation).
• If a problem involving mass transport is hard to solve for high currents, but solves
for low currents, it might be due to mass transport limitations. In this case, review
the transport parameter values and check that the current magnitudes are
reasonable. If the current densities are unreasonably high, review the electrode
reaction settings.
• For time-dependent problems that run into convergence problems after a certain
time, review the solution at the last time-step. If the solution of a reactant reaches
zero or a maximum value (for insertion electrodes in batteries) when the
convergence issues occur, the current load of the model is too high in relation to
your initial concentrations or mass transport properties.
• Electrochemistry Interfaces
In the COMSOL Multiphysics Reference Manual:
• Solve certain physics interfaces in a sequence. This can in many cases reduce
computational time and improve convergence. Analyzing the results when solving a
• Electrochemistry Interfaces
In the COMSOL Multiphysics Reference Manual:
SOLVER SETTINGS
Try adjusting the solver settings.
POTENTIAL VARIABLES
Several different potential variables are available for postprocessing and during
computation. The most common ones are described in Table 2-1.
TABLE 2-1: COMMON POTENTIAL VARIABLES
xxx denotes the tag of the physics interface. For instance cd for the Secondary Current Distribution inter-
face.
yy denotes the tag of the (Porous) Electrode Reaction node, For instance er1 for an Electrode Reaction
node.
You can also define your own total current variable by using an Integration nonlocal
coupling across the electroactive boundaries. This variable can also be used during the
In general electrical circuits connect to other physics interfaces via one or more of three
special circuit features:
• External I vs. U
• External U vs. I
• External I-Terminal
These features either accept a voltage measurement from the connecting noncircuit
physics interface and return a current from a Battery or Current Distribution Interface
(or the Electrical Circuit interface), or the other way around.
• A choice is made in the Settings window for the noncircuit physics interface feature,
which then announces (that is, includes) the coupling to the Battery or Current
Distribution (or Electrical Circuit) interface. Its voltage is then included to make it
visible to the connecting circuit feature.
• A voltage that has been announced (that is, included) is selected in a feature node’s
Settings window.
• Apply the voltage or current from the connecting “External” circuit feature as an
excitation in the noncircuit physics interface.
• Define your own voltage or current measurement in the noncircuit physics interface
using variables, coupling operators and so forth.
• In the Settings window for the Electrical Circuit interface feature, selecting the
User-defined option and entering the name of the variable or expression using
coupling operators defined in the previous step.
1 In the Model Builder, right-click the Study node and select Show Default Solver.
Solving
Some modeling errors lead to the error message The DAE is structurally
inconsistent being displayed when solving. This error typically occurs
from having an open current loop, from connecting voltage sources in
parallel, or connecting current sources in series.
In this respect, the predefined coupling features are also treated as (ideal)
voltage or current sources. The remedy is to close current loops and to
connect resistors in series with voltage sources or in parallel with current
sources.
The physics interface defines a number of variables that can be used in postprocessing.
All variables defined by the Electrical Circuit interface are of a global scope, and can
be evaluated in a Global Evaluation node (under Derived Values). In addition, the time
evolution or dependency on a parameter can be plotted in a Global plot (under a 1D
Plot Group node).
The physics interface defines a Node voltage variable for each electrical node in the
circuit, with name cir.v_name, where cir is the physics interface Label and <name>
is the node Name. For each two-pin component, the physics interface also defines
variables containing the voltage across it and the current flowing through it.
References
1. V. Kaajakari, Practical MEMS, Small Gear Publishing, Las Vegas, 2009.
2. S.D. Senturia, Microsystem Design, Springer Science and Business Media, New
York, 2001.
3. A.F. Bower, Applied Mechanics of Solids, CRC Press, Boca Raton, FL, 2010
([Link]
SPICE Import
The circuit definition in COMSOL Multiphysics adheres to the SPICE format
developed at the University of California, Berkeley (Ref. 1). SPICE netlists can be
imported and the corresponding circuit nodes are generated in the COMSOL
Multiphysics model. Most circuit simulators can export to this format or some version
of it.
R Resistor
C Capacitor
L Inductor
V Voltage Source
I Current Source
E Voltage-Controlled Voltage Source
F Current-Controlled Voltage Source
G Voltage-Controlled Current Source
H Current-Controlled Voltage Source
D Diode
Q NPN BJT and PNP BJT
M n-Channel MOSFET and p-Channel MOSFET
X Subcircuit Instance
SPICE Export
The SPICE Export functionality creates a SPICE netlist file containing a description of
the circuit represented by the physics interface. This functionality can be accessed from
the physics interface context menu (right-click the physics interface node and select
Export SPICE Netlist). After specifying a filename, the circuit is exported and messages
from the export process display in the Messages window. During the export process, a
series of operations are performed:
The title of the exported netlist file is the model’s filename, and the time, date, and
version of COMSOL Multiphysics is added as a comment in the netlist file.
AC/DC Interfaces
This chapter describes the physics interfaces found under the AC/DC branch .
In this chapter:
See the COMSOL Multiphysics Reference Manual for details about The Magnetic
Fields Interface and the Theory of Magnetic Fields.
75
The Electrostatics Interface
The Electrostatics (es) interface ( ), found under the AC/DC>Electric Fields and
Currents branch when adding a physics interface, is used to compute the electric field,
electric displacement field, and potential distributions in dielectrics under conditions
where the electric charge distribution is explicitly prescribed. The formulation is
stationary except for use together with other physics interfaces. Eigenfrequency,
frequency-domain, small-signal analysis, and time-domain modeling are supported in
all space dimensions.
The physics interface solves Gauss’ law for the electric field using the scalar electric
potential as the dependent variable.
Charge Conservation is the main node, which adds the equation for the electric
potential and has a Settings window for defining the constitutive relation for the
electric displacement field and its associated properties such as the relative permittivity.
When this physics interface is added, these default nodes are also added to the Model
Builder — Charge Conservation, Zero Charge (the default boundary condition), and
Initial Values. Then, from the Physics toolbar, add other nodes that implement, for
example, boundary conditions and space charges. You can also right-click Electrostatics
to select physics features from the context menu.
Physics-Controlled Mesh
The physics-controlled mesh is controlled from the Mesh node’s Settings window (if the
Sequence type is Physics-controlled mesh). There, in the table in the Physics-Controlled
Mesh section, find the physics interface in the Contributor column and select or clear
the check box in the Use column on the same table row for enabling (the default) or
disabling contributions from the physics interface to the physics-controlled mesh.
Information from the physics, such as the presence of an infinite elements domain or
periodic condition, will be used to automatically set up an appropriate meshing
sequence.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is es.
DEPENDENT VARIABLES
The dependent variable is the Electric potential V. You can change its name, which
changes both the field name and the variable name. If the new name coincides with the
name of another electric potential field in the model, the physics interfaces shares
degrees of freedom. The new name must not coincide with the name of a field of
another type or with a component name belonging to some other field.
DISCRETIZATION
Select the shape order for the Electric potential dependent variable — Linear, Quadratic
(the default), Cubic, Quartic, or Quintic. For more information about the Discretization
In the COMSOL Multiphysics Reference Manual, see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
n2 ⋅ ( D1 – D2 ) = ρs
In the absence of surface charges, this condition is fulfilled by the natural boundary
condition
n ⋅ [ ( ε 0 ∇V – P ) 1 – ( ε 0 ∇V – P ) 2 ] = – n ⋅ ( D 1 – D 2 ) = 0
AVAILABLE NODES
These nodes, listed in alphabetical order, are available from the Physics ribbon toolbar
(Windows users), Physics context menu (Mac or Linux users), or right-click to access
the context menu (all users). Also see Table 3-1 for a list of interior and exterior
boundary conditions, including edge, point, and pair availability.
In the COMSOL Multiphysics Reference Manual, see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Charge Conservation
The Charge Conservation node adds the equations for charge conservation according to
Gauss’ law for the electric displacement field. It provides an interface for defining the
constitutive relation and its associated properties such as the relative permittivity.
• Relative permittivity (the default) to use the constitutive relation D = ε0εrE. Then
the default is to take the Relative permittivity εr (dimensionless) values From material.
For User defined, select Isotropic, Diagonal, Symmetric, or Full and enter values or
expressions in the field or matrix. The default is 1.
• Polarization to use the constitutive relation D = ε0E + P. Then enter the components
based on space dimension for the Polarization vector P (SI unit: C/m2). The
defaults are 0 C/m2.
• Remanent electric displacement to use constitutive relation D = ε0εrE + Dr, where Dr
is the remanent displacement (the displacement when no electric field is present).
Then the default is to take the Relative permittivity εr (dimensionless) values From
material. For User defined, select Isotropic, Diagonal, Symmetric, or Full and enter
values or expressions in the field or matrix. Then enter the components based on
space dimension for the Remanent electric displacement Dr (SI unit: C/m2). The
defaults are 0 C/m2.
CONDUCTION CURRENT
By default, the Electrical conductivity σ for the media is defined From material. You can
also select User defined or Linearized resistivity.
• For User defined select Isotropic, Diagonal, Symmetric, or Full depending on the
characteristics of the electrical conductivity, and then enter values or expressions for
the Electrical conductivity σ in the field or matrix.
• For Linearized resistivity the default Reference temperature Tref, and Resistivity
temperature coefficient α, and Reference resistivity ρ0 are taken From material, which
means that the values are taken from the domain (or boundary) material. T is the
current temperature, which can be a value that is specified as a model input or the
temperature from a heat transfer interface. The definition of the temperature field
appears in the Model Inputs section.
Context Menus
Electrostatics>Charge Conservation>Conduction Loss (Time-Harmonic)
Ribbon
Physics tab with Charge Conservation node selected in the model tree:
Initial Values
The Initial Values node adds an initial value for the electric potential V that can serve
as an initial condition for a transient simulation or as an initial guess for a nonlinear
solver.
INITIAL VALUES
Enter a value or expression for the initial value of the Electric potential V (SI unit: V).
The default value is 0 V.
Zero Charge
The Zero Charge node adds the condition that there is zero charge on the boundary so
that n ⋅ D = 0. This boundary condition is also applicable at symmetry boundaries
where the potential is known to be symmetric with respect to the boundary. This is the
default boundary condition at exterior boundaries. At interior boundaries, it means
that no displacement field can penetrate the boundary and that the electric potential is
discontinuous across the boundary.
Ground
The Ground node implements ground (zero potential) as the boundary condition
V = 0.
Ground means that there is a zero potential on the boundary. This boundary condition
is also applicable at symmetry boundaries where the potential is known to be
antisymmetric with respect to the boundary.
For some physics interfaces, also select additional Ground nodes from the Edges (3D
components) or Points (2D and 3D components) submenus. For 2D axisymmetric
components, it can be applied on the Symmetry axis.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
Because the electric potential is being solved for in the physics interface, the value of
the potential is typically defined at some part of the geometry. For some physics
interfaces, also select additional Electric Potential nodes from the Edges (3D
components) or Points (2D and 3D components) submenus. For 2D axisymmetric
components, it can be applied on the symmetry axis.
ELECTRIC POTENTIAL
Enter the value or expression for the Electric potential V0 (SI unit: V). The default is
0 V.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
–n ⋅ D = ρs , n ⋅ ( D1 – D2 ) = ρs
–n ⋅ D = ρs
dρ s
= n ⋅ Ji + n ⋅ Je
dt
where n·Ji is the normal component of the total ion current density on the wall and
n·Je is the normal component of the total electron current density on the wall, which
are feature inputs.
MATERIAL TYPE
The Material type setting decides how materials behave and how material properties are
interpreted when the mesh is deformed. Select Solid for materials whose properties
change as functions of material strain, material orientation, and other variables
evaluated in a material reference configuration (material frame). Select Nonsolid for
materials whose properties are defined only as functions of the current local state at
each point in the spatial frame, and for which no unique material reference
configuration can be defined. Select From material to pick up the corresponding setting
from the domain material on each domain.
n ⋅ D = n ⋅ D0
BOUNDARY SELECTION
When using nonconforming meshes on the source and destination of a periodic
boundary pair, for numerical stability, a finer mesh should be applied on the
destination side. Use conforming meshes if possible.
PERIODIC CONDITION
Select a Type of periodicity — Continuity (the default), Antiperiodicity, or Floquet
periodicity. Select:
• Continuity to make the electric potential periodic (equal on the source and
destination).
• Antiperiodicity to make it antiperiodic.
• Floquet periodicity (only available with products supporting piezoelectric modeling).
Specify the components of the k-vector for Floquet periodicity kF (SI unit: rad/m).
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
For information about the Orientation of Source section, see Orientation of Source
and Destination.
ε0 εr
n ⋅ D 1 = ---------- ( V 1 – V 2 )
d
ε0 εr
n ⋅ D 2 = ---------- ( V 2 – V 1 )
d
to model a thin gap of a material with a small permittivity compared to the adjacent
domains. The layer has the thickness d and the relative permittivity εr. The indices 1
and 2 refer to the two sides of the boundary.
Line Charge
For 3D components, use the Line Charge node to specify line charges along the edges
of a geometry. Add a contribution as a Harmonic Perturbation by right-clicking the
parent node or clicking Harmonic Perturbation on the Physics toolbar. For more
information see Harmonic Perturbation — Exclusive and Contributing Nodes.
EDGE SELECTION
LINE CHARGE
Enter a value or expression to apply a Line charge QL (SI unit: C/m). This source
represents electric charge per unit length and the default is 0 C/m.
Use the Line Charge (Out-of-Plane) node to specify line charges along the points of a
geometry for 2D and 2D axisymmetric components.
POINT SELECTION
Point Charge
The Point Charge node adds a point source to 3D components. The point charge
represents an electric displacement field flowing out of the point.
POINT SELECTION
POINT CHARGE
Enter a value or expression to apply a Point charge QP (SI unit: C) to points. This
source represents an electric displacement field flowing out of the point. The default is
0 C.
Use the Change Cross Section node to set the cross-section area for specific geometric
entities.
Use the Change Thickness (Out-of-Plane) node to set the out-of-plane thickness for
specific geometric entities.
ELECTRIC DISPLACEMENT
If the node is used together with an active Piezoelectric Effect multiphysics coupling
node, then these settings are locked. Note that if they are unlocked, then the material
behaves like a dielectric and not a piezoelectric. In this case, the default is to take the
Relative permittivity εrS (dimensionless) values From material. For User defined, select
Isotropic, Diagonal, Symmetric, or Full and enter values or expressions in the field or
matrix.
The physics interface solves a current conservation equation based on Ohm’s law using
the scalar electric potential as the dependent variable.
Current Conservation is the main node, which adds the equation for the electric
potential and provides a Settings window for defining the electrical conductivity as well
as the constitutive relation for the electric displacement field and its associated material
properties, such as the relative permittivity.
When this physics interface is added, these default nodes are also added to the Model
Builder — Current Conservation, Electric Insulation (the default boundary condition),
and Initial Values. Then, from the Physics toolbar, add other nodes that implement, for
example, boundary conditions and current sources. You can also right-click Electric
Currents to select physics features from the context menu.
Physics-Controlled Mesh
The physics-controlled mesh is controlled from the Mesh node’s Settings window (if the
Sequence type is Physics-controlled mesh). There, in the table in the Physics-Controlled
Mesh section, find the physics interface in the Contributor column and select or clear
the check box in the Use column on the same table row for enabling (the default) or
disabling contributions from the physics interface to the physics-controlled mesh.
Information from the physics, such as the presence of an infinite elements domain or
periodic condition, will be used to automatically set up an appropriate meshing
sequence.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is ec.
THICKNESS (2D)
Enter a default value for the Out-of-plane thickness d (SI unit: m) (see ). The default
value of 1 m is typically not representative for a thin dielectric medium, for example.
Instead it describes a unit thickness that makes the 2D equation identical to the
equation used for 3D components. See also (described for the Electrostatics
interface).
DEPENDENT VARIABLES
The dependent variable is the Electric potential V. You can change its name, which
changes both the field name and the variable name. If the new name coincides with the
name of another electric potential field in the model, the physics interfaces share
degrees of freedom. The new name must not coincide with the name of a field of
another type or with a component name belonging to some other field.
DISCRETIZATION
Select the shape order for the Electric potential dependent variable — Linear, Quadratic
(the default), Cubic, Quartic, or Quintic. For more information about the Discretization
section, see Settings for the Discretization Sections in the COMSOL Multiphysics
Reference Manual.
• Domain, Boundary, Edge, Point, and Pair Nodes for the Electric
Currents Interface
Domain, Boundary, Edge, Point, and Pair Nodes for the Electric
Currents Interface
The Electric Currents interface has these domain, boundary, edge, point, and pair
nodes available from the Physics ribbon toolbar (Windows users) or Physics context
menu (Mac or Linux users). You can also right-click to access the context menu (all
users).
n2 ⋅ ( J1 – J2 ) = 0
1This feature is available with the Piezoresistivity, Domain Currents interface, which
In the COMSOL Multiphysics Reference Manual, see Table 2-4 for links
to common sections and Table 2-5 for common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Current Conservation
The Current Conservation node adds the continuity equation for the electrical potential
and provides an interface for defining the electric conductivity as well as the
constitutive relation and the relative permittivity for the displacement current.
MATERIAL TYPE
The Material type setting decides how materials behave and how material properties are
interpreted when the mesh is deformed. Select Solid for materials whose properties
change as functions of material strain, material orientation, and other variables
evaluated in a material reference configuration (material frame). Select Non-solid for
materials whose properties are defined only as functions of the current local state at
each point in the spatial frame, and for which no unique material reference
configuration can be defined. Select From material to pick up the corresponding setting
from the domain material on each domain.
User Defined
For User defined select Isotropic, Diagonal, Symmetric, or Full depending on the
characteristics of the electrical conductivity, and then enter values or expressions for the
electrical conductivity σ in the field or matrix. The default is 0 S/m. If type of
Linearized Resistivity
Select Linearized resistivity for a temperature-dependent conductivity (this occurs in,
for example, Joule heating, and is also called resistive heating). The equation
describing the conductivity:
1
σ = ---------------------------------------------------
ρ 0 ( 1 + α ( T – T ref ) )
where ρ0 is the resistivity at the reference temperature Tref, and α is the temperature
coefficient of resistance, which describes how the resistivity varies with temperature.
The default Reference resistivity ρ0 (SI unit: Ω⋅m), Reference temperature Tref
(SI unit: K), and Resistivity temperature coefficient α (SI unit: 1/K) are taken From
material, which means that the values are taken from the domain (or boundary)
material. T is the current temperature, which can be a value that is specified as a model
input or the temperature from a heat transfer interface. The definition of the
temperature field is in the Model Inputs section.
To specify other values for any of these properties, select User defined from the list and
then enter a value or expression for each. The default values are:
• Dielectric losses: uses the constitutive relation D = ε0(ε' + ε")E. Specify that the
Relative permittivity (real part) ε' (dimensionless) and the Relative permittivity
(imaginary part) ε" (dimensionless) must be taken From material or be User defined.
For User defined, select Isotropic, Diagonal, Symmetric, or Full and enter values or
expressions in the field or matrix. The default is 1.
Initial Values
The Initial Values node adds an initial value for the electric potential that can serve as
an initial condition for a transient simulation or as an initial guess for a nonlinear solver.
If more than one set of initial values is required, from the Physics toolbar, add other
nodes that implement, for example, boundary conditions and current sources. Add
more Initial Values nodes from the Physics toolbar.
INITIAL VALUES
Enter a value or expression for the initial value of the Electric potential V (SI unit: V).
The default value is 0 V.
J = σE + J e
The external current density does not contribute to the losses (due to Joule heating),
since there is no electric field associated with it. To include the contribution to the
losses from the external current density, select the Add contribution of the external
current density to the losses check box. Then select an option from the External losses
list — From domain conductivity (the default) or User defined. If From domain
conductivity is selected, the heat source is computed using the conductivity specified in
the material model feature (such as Current Conservation) that is applied in the domain.
For User defined, enter a value for Qe (SI unit: W/m3) to specify a user-defined heat
source.
Current Source
The Current Source node adds a distributed current source Qj in the equation that the
physics interface defines. Use this node with caution as it can violate the current
conservation law that is inherent in Maxwell-Ampère’s law.
CURRENT SOURCE
Enter a value or expression for the Current source Qj (SI unit: A/m3). The default is
0 A/m3.
Electric Insulation
The Electric Insulation node, which is the default boundary condition, adds electric
insulation as the boundary condition:
n⋅J = 0
This boundary condition means that no electric current flows into the boundary. At
interior boundaries, it means that no current can flow through the boundary and that
the electric potential is discontinuous across the boundary. It is also applicable at
symmetric boundaries where the potential is known to be symmetric with respect to
the boundary.
n ⋅ ( J1 – J2 ) = Q j
–n ⋅ J = Jn
n ⋅ J = n ⋅ J0
The normal current density is positive when the current flows inward in the domain.
Add a contribution as a Harmonic Perturbation by right-clicking the parent node or
clicking Harmonic Perturbation on the Physics toolbar. For more information see
Harmonic Perturbation — Exclusive and Contributing Nodes.
• For Inward current density enter a value or expression for the Normal current density
Jn (SI unit: A/m2). Use a positive value for an inward current flow or a negative
value for an outward current flow. The default is 0 A/m2.
• For Current density enter values or expressions for the components of the Current
density J0 (SI unit: A/m2). The defaults are 0 A/m2.
Distributed Impedance
The Distributed Impedance node adds a distributed impedance boundary condition to
a model.
Use this boundary condition to model a thin sheet of a resistive material connected to
a reference potential Vref.
The layer impedance can be specified either with the bulk material conductivity σs, the
relative permittivity εr and layer thickness ds, or directly with the surface resistance ρs
and capacitance Cs. Assuming DC currents, the equation is:
σs
n ⋅ ( J 1 – J 2 ) = ----- ( V – V ref )
ds
1
n ⋅ ( J 1 – J 2 ) = ----- ( V – V ref )
ρs
DISTRIBUTED IMPEDANCE
Enter the reference potential Vref (SI unit: V). The default is 0 V.
Contact Impedance
Use the Contact Impedance node on interior boundaries to model a thin layer of
resistive material. It can also be added as a pair using a Pair Contact Impedance node.
The feature allows specifying the contact impedance either by entering the properties
of the material together with the layer thickness, or by entering the impedance
properties of the thin layer directly.
σ
n ⋅ J 1 = ------ ( V 1 – V 2 )
ds
σ
n ⋅ J 2 = ------ ( V 2 – V 1 )
ds
1
n ⋅ J 1 = ----- ( V 1 – V 2 )
ρs
1
n ⋅ J 2 = ----- ( V 2 – V 1 )
ρs
The first two equations refer to a layer impedance specified using the bulk material
conductivity σs and the layer thickness ds, while the last two equations refer to the case
in which the surface resistance ρs is specified. The indices 1 and 2 refer to the two sides
of the boundary. These parameters work the same as with Distributed Impedance.
CONTACT IMPEDANCE
Select a potentially complex-valued Layer specification — Thin layer (the default) or
Surface impedance.
Sector Symmetry
Select Sector Symmetry at interfaces between rotating objects where sector symmetry
is used. It is only available for pairs. A default subnode is added. Right-click to select
PAIR SELECTION
When using nonconforming meshes on the source and destination of a pair, for
numerical stability, a finer mesh should be applied on the destination side for any pair
with a condition that imposes a coupling or a constraint across the pair. The sector
symmetry feature falls into this category.
SECTOR SETTINGS
Enter the Number of sectors (<50) nsect. The default is 2.
Based on space dimension, enter values or expressions in the table for the Axis of
rotation arot.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
POINT SELECTION
POINT SELECTION
Piezoresistive Material
The Piezoresistive Material is normally used together with a Piezoresistive Effect, Domain
Currents multiphysics coupling node. The node is added by default to the Electric
Currents interface when adding a Piezoresistivity, Domain Currents predefined
• Specify a Electrical conductivity, zero stress (SI unit: S/m). This typically comes from
the material added under the Materials node.
• For Piezoresistance form, select a Piezoresistance coupling matrix Πl (SI unit: m4/
(s⋅A2); note that this is equivalent to Ω⋅m/Pa).
• For a Elastoresistance form, select an Elastoresistance coupling matrix Ml
(SI unit: Ω⋅m).
When this physics interface is added, it adds a default Ground Node feature and
associates that with node zero in the electrical circuit.
Circuit nodes are nodes in the electrical circuit (electrical nodes) and
should not be confused with nodes in the Model Builder tree of the
COMSOL Multiphysics software. Circuit node names are not restricted
to numerical values but can contain alphanumeric characters.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is cir.
1
Selected from the Dependent Sources submenu when you right-click main node.
2
Selected from the Transistors submenu when you right-click main node.
3
Selected from the External Couplings submenu when you right-click main node.
Ground Node
The Ground Node ( ) feature adds a ground node with the default node number zero
to the electrical circuit. This is the default node in the Electrical Circuit interface. More
GROUND CONNECTION
Set the Node name for the ground node in the circuit. The convention is to use 0 (zero)
for the ground node. If adding more ground nodes, each must have a unique node
name (number).
Voltmeter
The Voltmeter ( ) feature connects a voltmeter (voltage measurement device)
between two nodes in the electrical circuit. A voltmeter behaves electrically as an open
circuit. The voltmeter node adds a Probe sampling the voltage across it.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the resistor.
Ampère Meter
The Ammeter ( ) feature connects an ammeter (current measurement device)
between two nodes in the electrical circuit. An ammeter behaves electrically as a short
circuit. The ammeter node adds a Probe sampling the current through it.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the resistor.
DEVICE PARAMETERS
Enter the Resistance of the resistor.
Resistor
The Resistor ( ) feature connects a resistor between two nodes in the electrical
circuit.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the resistor.
DEVICE PARAMETERS
Enter the Resistance of the resistor.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the capacitor.
DEVICE PARAMETERS
Enter the Capacitance of the capacitor.
Inductor
The Inductor ( ) feature connects an inductor between two nodes in the electrical
circuit.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the inductor.
DEVICE PARAMETERS
Enter the Inductance of the inductor.
Voltage Source
The Voltage Source ( ) feature connects a voltage source between two nodes in the
electrical circuit.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the voltage source. The first node
represents the positive reference terminal.
DEVICE PARAMETERS
Enter the Source type that should be adapted to the selected study type. It can be
DC-source, AC-source, or a time-dependent Sine source or Pulse source. Depending on
the choice of source, also specify the following parameters:
• For a DC-source, the Voltage Vsrc (default value: 1 V). DC-sources are active in
Stationary and Time-Dependent studies.
• For an AC-source: the Voltage Vsrc (default value: 1 V) and the Phase Θ (default
value: 0 rad). AC-sources are active in Frequency Domain studies only.
For the AC source, the frequency is a global input set by the solver. AC
sources should be used in Frequency-domain studies only. Do not use the
Sine source unless the model is time-dependent.
Current Source
The Current Source ( ) feature connects a current source between two nodes in the
electrical circuit.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the current source. The first node
represents the positive reference terminal from where the current flows through the
source to the second node.
DEVICE PARAMETERS
Enter the Source type that should be adapted to the selected study type. It can be
DC-source, AC-source, or a time-dependent Sine source or Pulse source. Depending on
the choice of source, also specify the following parameters:
• For a DC-source, the Current isrc (default value: 1 A). DC-sources are active in
Stationary and Time-Dependent studies.
• For an AC-source: the Current isrc (default value: 1 A) and the Phase Θ (default
value: 0 rad). AC-sources are active in Frequency Domain studies only.
For the AC source, the frequency is a global input set by the solver. AC
sources should be used in frequency-domain studies only. Do not use the
Sine source unless the model is time-dependent.
NODE CONNECTIONS
Specify four Node names: the first pair for the connection nodes for the voltage source
and the second pair defining the input control voltage. The first node in a pair
represents the positive reference terminal.
DEVICE PARAMETERS
There are two options to define the relationship between the control voltage and
resulting voltage. The Use gain method defines the resulting voltage to be the control
voltage multiplied by the gain. The Custom expression method can define the
relationship with an arbitrary expression.
NODE CONNECTIONS
Specify four Node names: the first pair for the connection nodes for the current source
and the second pair defining the input control voltage. The first node in a pair
represents the positive voltage reference terminal or the one from where the current
flows through the source to the second node.
DEVICE PARAMETERS
There are two options to define the relationship between the control voltage and
resulting current. The Use gain method defines the resulting current to be the control
voltage multiplied by the gain (SI units: S). The Custom expression method can define
the relationship with an arbitrary expression.
NODE CONNECTIONS
Set two Node names for the connection nodes for the voltage source. The first node in
a pair represents the positive reference terminal.
DEVICE PARAMETERS
There are two options to define the relationship between the control current and
resulting voltage. The Use gain method defines the resulting voltage to be the control
current multiplied by the gain (SI units: Ω). The Custom expression method can define
the relationship with an arbitrary expression.
DEVICE PARAMETERS
There are two options to define the relationship between the control current and
resulting current. The Use gain method defines the resulting current to be the control
current multiplied by the gain. The Custom expression method can define the
relationship with an arbitrary expression.
Switch
The Switch ( ) feature is used to connect or disconnect the conducting path in a
circuit under specific conditions.
NODE CONNECTIONS
Specify two Node names for the connection nodes for the current source. The first node
in a pair represents the positive reference terminal from where the current flows
through the source to the second node.
SWITHCH CONDITIONS
There are three types of conditions, Voltage controlled, Current controlled, and Custom
expressions. For each type of condition there are two conditions, one for turn on and
one for turn off. The on condition is true if the On condition expression is larger than
zero, while the off condition is true if the Off condition is less than zero.
The Initial state list has three options, Use on condition, Use off condition, and Boolean
expression. The two former options mean that the switch will have an initial state
matching to the on or off condition. The third option makes the switch's initial state
match a custom Boolean expression. Separating on, off, and initial states makes the
switch more flexible and can support Schmitt-trigger style switches and various latches.
For the Voltage controlled switch, it is necessary to specify two nodes that defines the
voltage sens.v that the switch state depends on. The conditions must be written as a
function of this variable. Similarly, for the Current controlled switch it is necessary to
specify a two-pin device that defines the current sens.i that the switch state depends
on.
Subcircuit Definition
The Subcircuit Definition ( ) feature is used to define subcircuits, which can be
inserted as devices into the main circuit using Subcircuit Instance nodes. Create the
subcircuit by adding subnodes to the Subcircuit Definition node, either by using the
Physics toolbar, or by right-clicking the Subcircuit Definition.
SUBCIRCUIT PINS
Define the Pin names at which the subcircuit connects to the main circuit or to other
subcircuits when referenced by a Subcircuit Instance node. The Pin names refer to
circuit nodes in the subcircuit. The order in which the Pin names are defined is the
order in which they are referenced by a Subcircuit Instance node. The devices
constituting the subcircuit should be connected only to the subcircuit’s pins and to
themselves.
INPUT PARAMETERS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options. Specify input parameters to a subcircuit that can be changed from a
subcircuit instance. These input parameters can be used in all expression-style edit
fields that affect the parameters of a device, for example, resistance, capacitance, and
current gain. In this way, a subcircuit can represent a parameterized custom device
model.
Subcircuit Instance
The Subcircuit Instance ( ) feature represents an instance of a subcircuits defined by
a Subcircuit Definition feature.
NODE CONNECTIONS
Select the Name of subcircuit link from the list of defined subcircuits in the circuit model
and the circuit Node names at which the subcircuit instance connects to the main circuit
or to another subcircuit if used therein.
NODE CONNECTIONS
Specify three Node names for the connection nodes for the BJT device. These represent
the collector, base, and emitter nodes for the NPN transistor, and the emitter, base, and
collector nodes for the PNP transistor.
MODEL PARAMETERS
Specify the Model Parameters. Reasonable defaults are provided but for any particular
BJT, the device manufacturer should be the primary source of information.
NODE CONNECTIONS
Specify four Node names for the connection nodes for the n-Channel MOSFET or
p-Channel MOSFET device. These represent the drain, gate, source, and bulk nodes,
respectively.
MODEL PARAMETERS
Specify the Model Parameters. Reasonable defaults are provided but for any particular
MOSFET, the device manufacturer should be the primary source of information.
Mutual Inductance
The Mutual Inductance allows specifying a coupling between two existing Inductor
features in the circuit. The mutual inductance of the coupling is
M = k L1 L2
where k is the coupling factor and L1 and L2 are the inductances of the inductors.
DEVICE PARAMETERS
Enter values or expressions for the:
• Coupling factor k (dimensionless). The value must be between 0 and 1, and the
default is 0.98.
• First inductance L1 (SI unit: H) and Second inductance L2 (SI unit: H). These must
be set to two different Inductor features in the circuit.
Transformer
The Transformer feature represents either a combination of two Inductor and a Mutual
Inductance features, or an ideal transformer.
DEVICE PARAMETERS
Choose a Transformer model — Specify inductors (the default) or Ideal transformer.
For Ideal transformer enter values or expressions for the Winding ratio N1/N2
(dimensionless). The default is 10.
Use the table in the Open Circuit Voltage section to define how the voltage depends on
the state-of-charge.
Resistor-Capacitor Couple
The Resistor-Capacitor Couple node defines a resistor and capacitor coupled in parallel.
The device model has two modes of operation which are using either the Resistance
and capacitance values or the Resistance and time-constant values as input.
NODE CONNECTIONS
Specify two Node names for the positive and negative nodes for the Resistor-capacitor
couple device.
NODE CONNECTIONS
Specify two Node names for the positive and negative nodes for the Diode device.
MODEL PARAMETERS
Specify the Model Parameters. Reasonable defaults are provided but for any particular
diode, the device manufacturer should be the primary source of information.
External I vs. U
The External I vs. U ( ) feature connects an arbitrary voltage measurement (for
example, a circuit terminal or circuit port boundary or a coil domain from another
physics interface) as a voltage source between two nodes in the electrical circuit. The
resulting circuit current from the first node to the second node is typically coupled
back as a prescribed current source in the context of the voltage measurement.
NODE CONNECTIONS
Specify the two Node names for the connecting nodes for the voltage source. The first
node represents the positive reference terminal.
EXTERNAL DEVICE
Enter the source of the Voltage. If circuit or current excited terminals or circuit ports
are defined on boundaries or domains or a multiturn coil domains is defined in other
physics interfaces, these display as options in the Voltage list. Also select the User defined
option and enter your own voltage variable, for example, using a suitable coupling
operator. For inductive or electromagnetic wave propagation models, the voltage
measurement must be performed as an integral of the electric field because the electric
External U vs. I
The External U vs. I ( ) feature connects an arbitrary current measurement (for
example, a coil domain from another physics interface) as a current source between
two nodes in the electrical circuit. The resulting circuit voltage between the first node
and the second node is typically coupled back as a prescribed voltage source in the
context of the current measurement.
NODE CONNECTIONS
Specify the two Node names for the connecting nodes for the current source. The
current flows from the first node to the second node.
EXTERNAL DEVICE
Enter the source of the Current. Voltage excited terminals or lumped ports defined on
boundaries in other physics interfaces are natural candidates but do not appear as
options in the Voltage list because those do not have an accurate built-in current
External I-Terminal
The External I-Terminal ( ) feature connects an arbitrary voltage-to-ground
measurement (for example, a circuit terminal from another physics interface) as a
voltage-to-ground assignment to a node in the electrical circuit. The resulting circuit
current from the node is typically coupled back as a prescribed current source in the
context of the voltage measurement. This node does not apply when coupling to
inductive or electromagnetic wave propagation models because then voltage must be
defined as a line integral between two points rather than a single point measurement
of electric potential. For such couplings, use the External I vs. U node instead.
NODE CONNECTIONS
Set the Node name for the connecting node for the voltage assignment.
EXTERNAL TERMINAL
Enter the source of the Voltage. If circuit- or current-excited terminals are defined on
boundaries in other physics interfaces, these display as options in the Voltage list. Also
Except when coupling to a circuit terminal, the current flow variable must
be manually coupled back in the electrical circuit to the context of the
voltage measurement. This applies also when coupling to a current
excited terminal. The name of this current variable follows the convention
cirn.termIm_i, where cirn is the tag of the Electrical Circuit interface
node and termIm is the tag of the External I-Terminal node. The tags are
typically displayed within curly brackets {} in the Model Builder.
See SPICE Import and Export about the supported SPICE commands.
See SPICE Circuit Export for more details on the supported SPICE
commands.
If you do not know whether to use the Electric Currents or the Electrostatics interface,
which both solve for the scalar electric potential V, consider using an explicit charge
transport model. See Charge Relaxation Theory.
The different physics interfaces involving only the scalar electric potential can be
interpreted in terms of the charge relaxation process. The fundamental equations
involved are Ohm’s law for the conduction current density
J c = σE
∂-----
ρ-
+ ∇ ⋅ Jc = 0
∂t
∇ ⋅ ( εE ) = ρ
By combining these, one can deduce the following differential equation for the space
charge density in a homogeneous medium
–t ⁄ τ
ρ ( t ) = ρ0 e
where
ε
τ = ---
σ
is called the charge relaxation time. For a good conductor like copper, τ is of the order
of 10−19 s, whereas for a good insulator like silica glass, it is of the order of 103 s. For
a pure insulator, it becomes infinite.
When modeling real-world devices, there is not only the intrinsic time scale of the
charge relaxation time but also an external time scale t at which a device is energized
or the observation time. It is the relation between the external time scale and the
charge relaxation time that determines what physics interface and study type to use.
The results are summarized in Table 3-3 below,
TABLE 3-3: SUITABLE PHYSICS INTERFACE AND STUDY TYPE FOR DIFFERENT TIME-SCALE REGIMES.
By combining the definition of the potential with Gauss’ law, you can derive the
classical Poisson’s equation. Under static conditions, the electric potential V is defined
by the equivalence E = −∇V. Using this together with the constitutive relation D = ε0E
+ P between D and E, you can rewrite Gauss’ law as a variant of Poisson’s equation
– ∇ ⋅ ( ε 0 ∇V – P ) = ρ
J c = σE + J e
where Je is an externally generated current density. The static form of the equation of
continuity then reads
∇ ⋅ J c = – ∇ ⋅ ( σ ∇V – J e ) = 0
– ∇ ⋅ ( σ ∇V – J e ) = Q j
This equation is used in the static study type for the Electric Currents interface.
Electrostatics Equations
Under static conditions, the electric potential, V, is defined by the relationship:
E = – ∇V
Combining this equation with the constitutive relationship D = ε0E + P between the
electric displacement D and the electric field E, it is possible to represent Gauss’ law
as the following equation:
– ∇ ⋅ ( ε 0 ∇V – P ) = ρ
For in-plane 2D modeling, the Electrostatics interface assumes a symmetry where the
electric potential varies only in the x and y directions and is constant in the z direction.
This implies that the electric field, E, is tangential to the xy-plane. With this symmetry,
the same equation is solved as in the 3D case. The physics interface solves the following
equation where d is the thickness in the z direction:
– ∇ ⋅ d ( ε 0 ∇V – P ) = ρ
The axisymmetric version of the physics interface considers the situation where the
fields and geometry are axially symmetric. In this case, the electric potential is constant
in the ϕ direction, which implies that the electric field is tangential to the rz-plane.
The support for dynamic studies simplifies the coupling of the Electrostatics interface
with other physics interfaces. Using the physics interface in a dynamic study is a valid
approximation only if the time-scale (or the frequency) of the study is so slow that
transient electromagnetic effects can be neglected; for example, in acoustic or
structural problems.
The Electrostatics interface also supports the small-signal analysis study sequence,
which can be used when a time-harmonic perturbation is superposed on a static bias
charge or voltage.
J = σE + J e
where σ is the electrical conductivity (SI unit: S/m), and Je is an externally generated
current density (SI unit: A/m2). The static form of the equation of continuity then
states:
∇ ⋅ J = – ∇ ⋅ ( σ ∇V – J e ) = 0
– ∇ ⋅ ( σ ∇V – J e ) = Q j
In planar 2D the Electric Currents interface assumes that the model has a symmetry
where the electric potential varies only in the x and y directions and is constant in the
z direction. This implies that the electric field, E, is tangential to the xy-plane. The
Electric Currents interface then solves the following equation, where d is the thickness
in the z direction:
– ∇ ⋅ d ( σ ∇V – J e ) = dQ j (3-1)
In 2D axisymmetry, the Electric Currents interface considers the situation where the
fields and geometry are axially symmetric. In this case, the electric potential is constant
in the ϕ direction, which implies that the electric field is tangential to the rz-plane.
• The field model is used to get a better, more accurate description of a single device
in the electrical circuit model.
• The electrical circuit is used to drive or terminate the device in the field model in
such a way that it makes more sense to simulate both as a tightly coupled system.
The Electrical Circuit interface makes it possible to add nodes representing circuit
elements directly to the Model Builder tree in a COMSOL Multiphysics model. The
circuit variables can then be connected to a physical device model to perform
co-simulations of circuits and multiphysics. The model acts as a device connected to
the circuit so that its behavior is analyzed in larger systems.
The fundamental equations solved by the Electrical Circuit interface are Kirchhoff’s
circuit laws, which in turn can be deduced from Maxwell’s equations. The supported
study types are Stationary, Frequency Domain, and Time Dependent.
Bipolar Transistors
Figure 3-1 illustrates the equivalent circuit for the npn bipolar junction transistor.
The pnp transistor model is similar in all regards to the npn transistor, with the
difference that the polarities of the currents and voltages involved are reversed. The
following equations are used to compute the relations between currents and voltages
in the circuit.
v be
--------------
v bc
--------------
– 1
NF VT NR VT
= ----------------------------------------------- 1 + 1 + 4I S ----------------------- + ------------------------
1 e –1 e
f bq
v v KF I A I A
2 1 – ----------- – -----------
bc be KR
V AF V AR
v be v be
I S -------------
N V
-
--------------
N V
i be = A ------- e F T – 1 + I SE e E T – 1
B
F
v bc v bc
I S --------------
N V --------------
N V
i bc = A -------- e R T – 1 + I SC e C T – 1
B
R
v be v bc
I S -------------
N V
-
N V
--------------
i ce = A ------- e F T + e C T
f
bq
k B T NOM
V T = ------------------------
q
There are also two capacitances that use the same formula as the junction capacitance
of the diode model. In the parameter names below, replace x with C for the
base-collector capacitance and E for the base-emitter capacitance.
v bx –M Jx
1 – ---------
-
V Jx v bx < F C V Jx
C jbx = AC Jx ×
v bx v bx ≥ F C V Jx
( 1 – F ) – 1 – MJx 1 – F ( 1 + M ) + M ---------
-
C C Jx Jx V
Jx
The following equations are used to compute the relations between currents and
voltages in the circuit.
C gd = C gd0 W
C gs = C gs0 W
1 – v
–MJ
bd
--------
-
PB v bx < F C P B
C jbd = C BD ×
v bx v bx ≥ F C P B
( 1 – F ) – 1 – MJ 1 – F ( 1 + M ) + M -------
-
C C J JP
B
The following equations are used to compute the relations between currents and
voltages in the circuit.
vd –M
1 – ------
- vd < FC VJ
V J
C j = C J0 ×
– 1 – M vd
( 1 – FC ) 1 – F C ( 1 + M ) + M ------- v d ≥ F C V J
V J
k B T NOM
V T = ------------------------
q
Electrochemistry Interfaces
This chapter describes the physics interfaces found under the Electrochemistry
branch ( ).
In this chapter:
139
The Primary and Secondary Current
Distribution Interfaces
In this section:
Only the physics interface-specific nodes are described here. All other
nodes in the Primary Current Distribution and Secondary Current
Distribution interfaces are described in Shared Physics Features in the
Current Distribution Interfaces
Use this physics interface for generic modeling of electrochemical cells. It can be
combined with interfaces modeling mass transport to describe concentration
dependent (tertiary) current distributions.
Ohm’s law is used in combination with a charge balance to describe the conduction of
currents in the electrodes and electrolytes.
Use the Current Distribution Type setting on the physics interface node, described
below, to switch between a Primary Current Distribution and a Secondary Current
Distribution interface.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is cd.
DOMAIN SELECTION
CROSS-SECTIONAL AREA
The selection from this list also governs how electrode reactions are modeled on
interfaces between electrodes and electrolytes.
• Models using a Primary current distribution type use potential constraints (Dirichlet
boundary conditions), according to the equilibrium potential setting.
• Secondary current distribution models use current flux conditions (Neumann
boundary conditions) according to the sum of all electrode reaction current
densities.
DEPENDENT VARIABLES
This physics interface defines dependent variables (fields) for the Electrolyte potential
and Electric potential. The names can be changed but the names of fields and
dependent variables must be unique within a model.
DISCRETIZATION
To see all settings in this section, click the Show More Options button ( ) and select
Advanced Physics Options in the Show More Options dialog box.
Electrolyte
Use the Electrolyte node to define an electrolyte domain that only conducts current in
the ion conducting phase.
Note that electrolyte in this case does not refer to the pore electrolyte in porous
electrodes (which should be defined by a Porous Electrode node instead).
The Electrolyte conductivity, σl (SI unit: S/m), parameter will define how the current
in the domain depends on the gradient of the potential.
For many electrochemical problems that use nonlinear electrode kinetics, such as
Butler-Volmer kinetics, providing reasonable initial values can significantly improve
solver convergence.
A good value for the Electric potential (SI unit: V) in electrode and porous electrode
domains can usually be derived from the boundary conditions. For instance, if a
boundary has been grounded or set to a cell potential, use that value as the initial value
also in the adjacent domain. For the Electrolyte potential (SI unit: V) a good initial
value is often the negative of the equilibrium potential of the grounded electrode.
Porous Electrode
The Porous Electrode node sets up charge balances for the electrode and the pore
electrolyte in a porous electrode. Note that the node should be used for porous
domains that conduct current in both an electrolyte and an electrode phase. For the
case of domains that do not contain a pore electrolyte — for instance, the gas diffusion
layer (GDL) in a PEMFC electrode — use an Electrode node instead.
Use Porous Electrode Reaction subnodes to define the charge transfer reactions that
occur on the interface between the electrolyte and electrode phases within the porous
electrode. For the Secondary Current Distribution interface, the Porous Matrix
Double Layer Capacitance subnode is also available.
The conductivities are taken From material by default. From the respective material list
you may any material in the model, if present. By default they are set to the Domain
material (which is the material applied to the active domain in the Materials node).
You may use the Effective conductivity correction factors to account for the lowered
effective conductivities of the electrode and electrolyte phases due to the lower volume
fractions of each phase, and the tortuosity of the porous matrix.
The Electrode volume fraction is used to calculate the effective electrical conductivity of
the porous matrix when the correction factor is set to Bruggeman or Tortuosity.
Additionally, it is used in calculating the active specific surface area of the porous matrix
when Particle-based area option is selected in the child nodes.
Use the Add ( ) and Delete ( ) buttons as needed in the tables to control the
number of species.
Dependent variables for the volumetric molar concentration are added for each
dissolving-depositing species. These variables can be used to keep track of the amount
of reacted material in the porous electrode. The total molar dissolution/deposition
rate depends on the reaction rates and stoichiometry, defined in the Porous Electrode
Reaction subnodes.
The Density and Molar mass determine the electrode growth velocity and the resulting
dissolved/deposited layer thickness. By multiplying by the electrode surface area (in
the case of multiple electrode reaction the average surface area is used), the change in
electrode and electrolyte volume fractions can be also be calculated. By use of the Add
volume change to electrode volume fraction (not available for Separator node of Tertiary
Current Distribution interface) and Subtract volume change from electrolyte volume
fraction check boxes you may define how these volume changes should be included in
the model.
Thickness variables, based on the surface area, are also defined that you for instance
can use to couple to the Film Resistance (see below).
FILM RESISTANCE
See the Electrode Surface node.
Thin insulating sheets are commonly inserted in the electrolyte in various types of
electrochemical cells. For example they may be used for optimizing the current
distribution in a corrosion protection application, of for optimizing the local
deposition rate in a deposition bath.
For the case of Resistive, the Surface Resistance can either be set directly, or calculated
from Thickness and Conductivity values.
Edge Electrode
The Edge Electrode can be used in 3D problems to define electrodes such as long pipes
and thin wires where the electric potential variation within the electrode in the normal
direction to the electrode surface is negligible. This assumption allows for the thin
electrode domain to be replaced by a lumped one-dimensional partial differential
equation formulation on the edge, describing an electrode surface along the edge with
a given Edge electrode radius. In this way the problem size can be reduced, and
potential problems with mesh anisotropy in the thin layer can be avoided.
The electric current conduction in the tangential direction of an edge can be described
by Ohm’s law or a Fixed electric potential or a Floating potential assuming infinite
conductivity of the edge or an External short electric potential which allows to connect
two electrodes over an external connector with a given bulk resistance.
An Edge Electrode can only be applied to edges within, or adjacent to, Electrolyte
domains.
FILM RESISTANCE
See the Electrode Surface node. The section is only available when a Secondary current
distribution has been selected on the parent node.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
Electrode Current
Use this node to define a current source in a point of an Edge Electrode node.
This node is available as a subnode to the Edge Electrode node, when Ohm’s Law has
been selected as the electric potential model.
Various nodes are also available and described for the Transport of Diluted Species
interface. See Domain, Boundary, and Pair Nodes for the Transport of Diluted Species
Interface
Ohm’s law is used in combination with a charge balance to describe the flow of
currents in the electrodes. The charge transfer reactions can be defined as boundary
SETTINGS
The Label is the physics interface node name that will be shown in the model builder
tree.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is tcd.
DOMAIN SELECTION
The domains that do not conduct current should be omitted from the selection list,
for example, the gas channels in a fuel cell.
OUT-OF-PLANE THICKNESS
For 2D components, the Thickness field (default value: 1 m) defines a parameter for the
thickness of the geometry perpendicular to the two-dimensional cross-section. The
value of this parameter is used, among other things, to automatically calculate the total
current from the current density vector. The analogy is valid for other fluxes.
CROSS-SECTIONAL AREA
For 1D components, enter a Cross-sectional area Ac (SI unit: m2) to define a parameter
for the area of the geometry perpendicular to the 1D component. The value of this
parameter is used, among other things, to automatically calculate the total current
from the current density vector. The analogy is valid for other fluxes. The default is
1 m2.
A Supporting electrolyte describes a situation where the major part of the charge is
transferred by ions whose concentration can be described as constant.
The Poisson option couples the Nernst-Planck equations for mass transport to the
Poisson equation for describing the potential distribution in the electrolyte, without
any assumption of electroneutrality. This option is typically used when modeling
problems where charge separation effects are of interest, typically within nanometers
from an electrode surface.
For the Electroneutrality option, the From electroneutrality list sets the species that is
calculated from the corresponding condition. Note that the choice of species to be
taken from electroneutrality affects the specific boundary conditions that can be set on
the eliminated species. For example, flux and concentration settings cannot be set for
the eliminated species, and initial values cannot be provided. The choice can also have
an impact on the numerics of the problem.
Note that the setting will only impact how potentials are interpreted in communication
between the physics and the Materials node. If the From material option is not in use
for equilibrium potentials or electrode kinetics, the setting has no impact.
DEPENDENT VARIABLES
This physics interface defines these dependent variables (fields), the Concentrations of
the species, the Electrolyte potential, and the Electric potential.
The names can be changed but the names of fields and dependent variables must be
unique within a model.
DISCRETIZATION
Concentrations basis function orders higher than Quadratic are not recommended if
transport by convection is dominating in the model.
To see all settings in this section, click the Show More Options button ( ) and select
Advanced Physics Options from the Show More Options dialog box.
• When the Crosswind diffusion check box is selected, a weak term that reduces
spurious oscillations is added to the transport equation. The resulting system is
nonlinear. There are two options for Crosswind diffusion type:
- Do Carmo and Galeão — the default option. This type of crosswind diffusion
reduces undershoot and overshoot to a minimum but can in rare cases give
equations systems that are difficult to fully converge.
- Codina. This option is less diffusive compared to the Do Carmo and Galeão
option but can result in more undershoot and overshoot. It is also less effective
for anisotropic meshes. The Codina option activates a text field for the Lower
gradient limit glim (SI unit: mol/m4). It defaults to 0.1[mol/m^3)/[Link],
where [Link] is the local element size.
• For both consistent stabilization methods, select an Equation residual. Approximate
residual is the default setting and it means that derivatives of the diffusion tensor
components are neglected. This setting is usually accurate enough and is faster to
compute. If required, select Full residual instead.
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
What settings are available in this node depends on the Electrolyte Charge
Conservation setting, available on the top node. The Electrolyte conductivity (SI unit:
S/n) setting is only available for the Supporting Electrolyte option. Diffusivity and
mobility settings for H+ and OH- are only available for the Electroneutrality,
water-based option.
The Convection section is available when the Convection check box is selected on the
interface top node. The Velocity field u (SI unit: m/s) of the solvent is specified as a
feature input. Select the source of velocity field from the velocity field list.
By default the Mobility (SI unit: s·mol/kg) for each species is set to be calculated based
on the Diffusion coefficients (SI unit: m2/s) and the temperature using the
Nernst-Einstein relation.
The mobility setting will only have an impact on the transport by migration of charged
species, as defined by the Charge number zc (dimensionless, specify negative charges
using a minus sign). For the Electroneutrality charge conservation model you need at
least one positively and one negatively charged species (ion) in the electrolyte.
Specify the temperature (if you are using mobilities based on the Nernst-Einstein
relation) in the Model Inputs section.
Note that the electrolyte in this case does not refer to the pore electrolyte in porous
electrodes (which should be defined by a Porous Electrode node instead). For porous
separators, use the Separator instead.
• Electrolyte Theory
• Domain Equations for Tertiary Current Distributions Using the
Nernst-Planck Equations and Electroneutrality
Note that the node should be used for porous domains that conduct current in both
an electrolyte and an electrode phase. For the case of domains that do not contain a
pore electrolyte — for instance, the gas diffusion layer (GDL) in a PEMFC electrode
— use an Electrode node instead.
Use Porous Electrode Reaction child nodes to define the charge transfer reactions that
occur on the interface between the electrolyte and electrode phases within the porous
electrode. The Porous Matrix Double Layer Capacitance subnode is also available.
See the Electrolyte node for more information about the Diffusion and Migration in
Electric Field settings of this node.
The Electrode volume fraction is used to calculate the effective electrical conductivity of
the porous matrix when the correction factor is set to Bruggeman or Tortuosity.
Additionally, it is used in calculating the active specific surface area of the porous matrix
when Particle-based area option is selected in the child nodes.
DISSOLVING-DEPOSITING SPECIES
See the Porous Electrode node of The Primary and Secondary Current Distribution
Interfaces
FILM RESISTANCE
See the Electrode Surface node.
See also the Electrolyte node for more information about the Diffusion and Migration in
Electric Field settings of this node.
DISSOLVING-DEPOSITING SPECIES
See the Porous Electrode node of The Primary and Secondary Current Distribution
Interfaces
Reactions
Use the Reactions node to define non-electrochemical reactions in an electrolyte
domain.
REACTING VOLUME
When specifying reaction rates in the Rc2 (SI unit: mol/m3·s) fields for a species in a
Porous Electrode domain, the specified reaction rate expression may either refer to the
total volume or the pore (electrolyte) volume. For nonporous domains the settings of
the Reacting Volume section has no impact.
For Total volume the reaction expressions are used as specified (multiplied by unity).
For Pore volume this results in the specified reaction expressions being multiplied by
the domain electrolyte volume fraction εl. (εl equals unity for nonporous domains).
Initial Values
Use this node to specify the Initial Values of the concentration, electrolyte potential and
electric potential dependent variables to be used by the solver.
For many electrochemical problems that use nonlinear electrode kinetics, such as
Butler-Volmer kinetics, providing reasonable initial values can significantly improve
solver convergence.
For the Concentration initial values, at least one positive and one negative charged
species should have a nonzero and positive initial value (after considering the
electroneutrality condition). The initial value for the ion calculated from the
electroneutrality condition cannot be set explicitly.
The node models the transport of all species added at the interface top node, and adds
a fixed space charge to the electroneutrality condition.
The Fixed space charge specifies the charge ions fixed in the membrane polymer matrix.
Use negative space charges for cation selective membranes and positive charges for
anion selective membranes, respectively.
Select the Apply Donnan Boundary Conditions check box to enable Donnan equilibrium
conditions on all interior boundaries between the domain selected by the node and all
adjacent domains selected by the interface (except Electrode nodes). The boundary
conditions are applied for all species and the electrolyte potential dependent variable.
This option is not available for the Poisson charge conservation model option.
For the remaining settings of this node, see the Electrolyte and Separator nodes.
The choice of Charge-carrying species concentration species specifies that the current
flowing over the boundary will be carried by this species (which must have a nonzero
charge number). Use the Membrane potential setting to set the electrolyte potential on
the membrane side of the boundary. Note that if this potential is set to the electrolyte
potential of a Primary or Secondary Current Distribution interface, no additional
settings are needed in that interface to set up the correct boundary condition.
The potential condition may be either Donnan, which will calculate the potential shift
over the boundary based on the membrane charge carrying species concentration, or
can be User defined.
The layer may either be Insulating, Resistive (supporting electrolytes only), or an Ion
exchange membrane.
For Resistive or Ion exchange membrane, the potential drop over the membrane is
determined either from the Surface resistivity or the Thickness and conductivity.
For Ion exchange membrane, the choice of Charge-carrying species concentration species
specifies that the current flowing over the layer will be carried by this species (which
must have a nonzero charge number). The potential condition may be either Donnan,
which will calculate the potential shift over the boundary based on the membrane
charge carrying species concentration, or User defined.
Most nodes and features described in this section are available for all the
Electrochemistry branch interfaces unless otherwise indicated.
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
The node is typically used for modeling solid metal electrodes, current collectors,
current feeders, gas diffusion layers and gas backings.
The Electrical conductivity σs (SI unit: S/m) parameter will define how the current in
the domain depends on the gradient of the potential.
Electrode Theory
See the Electrode Surface node for a description of the Electrode Phase Potential
Condition and Harmonic Perturbation sections.
See the Porous Electrode node for a description of the remaining settings.
∇ ⋅ is = Qs
where
i s = – σ s ∇φ s
The Current source, Ql (SI unit: A/m3), is added according to the following equation:
∇ ⋅ il = Ql
To use this feature, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box. Then add the node from the
Additional Sources submenu.
See the Electrode Reaction node for a description of the Equilibrium Potential,
Electrode Kinetics, Stoichiometric Coefficients and Heat of Reaction sections.
The resulting double layer current source in the Porous Electrode domain depends on
the time derivative of the potentials and is proportional to both the Electrical double
layer capacitance Cdl (SI unit: F/m2) and the Double layer area av,dl (SI unit: 1/m).
Note that for stationary problems the double layer current is zero.
This node is not available for the Primary Current Distribution interface.
Use the settings of the Stoichiometry section (not available in the Primary or Secondary
Current Distribution interfaces) to control what species are participating in the double
layer charging — that is, the mass exchange between the double layer and the
electrolyte outside the double layer.
Insulation
The Insulation boundary condition describes the walls of a cell or the boundaries of the
cell that do not face a conductor. The boundary condition imposes the following
equation:
ik ⋅ n = 0
where ik denotes the current density vector and k = l, s is an index for the electrolyte
and electrode, respectively.
Symmetry
For the Primary Current Distribution and Secondary Current Distribution interfaces,
the Symmetry boundary condition is identical to the Insulation condition.
Symmetry Theory
This node can only be applied on outer boundaries to electrolyte domains. For interior
boundaries to electrolyte domains, use the Perforated Electrode Surface node. For
interior boundaries between electrolyte and electrode domains, use the Internal
Electrode Surface node.
DISSOLVING-DEPOSITING SPECIES
Use the settings of this section to define species that participate in
dissolution-deposition electrode reactions, for instance metal deposition/dissolution
or oxide formation.
Use the Add ( ) and Delete ( ) buttons as needed in the tables to control the
number of species.
The Density and Molar mass, in conjunction with the reaction rates and stoichiometry,
defined in the Electrode Reaction subnodes, determine the normal electrode growth
rate.
When the Solve for species concentrations variables check box is checked, dependent
variables for the molar surface concentration of the dissolving-depositing species are
added. These can be used to model the thickness of an dissolving/depositing layer in
a time-dependent simulation where the resulting deformation in the model geometry
is small and will have negligible impact on the current distribution.
When solving for the species concentration variables, corresponding thickness variables
are defined that you for instance can use to couple to the Film Resistance (see below).
Specify either a Surface resistance Rfilm (SI unit: Ω·m2) directly or choose the Thickness
and conductivity option to calculate the surface resistivity based on a depositing film
thickness.
HARMONIC PERTURBATION
Use this section in conjunction with AC Impedance study types to control the
perturbation amplitude in the frequency domain.
Use the Electric potential option to set the value of the potential explicitly with respect
to ground whereas the Electrode potential will set the potential value with respect to a
reference potential. Total current, Average current density, and External short all add an
extra global degree of freedom for the potential in the electrode phase, set to comply
with the chosen condition.
When using the Total current option in 1D or 2D, the boundary area is based either
on the Cross-sectional area (1D), or the Out-of-Plane thickness (2D) properties, set on
the physics interface top node.
See also the documentation for the Electrode Potential and External Short nodes for
further information about these boundary condition.
End potential
Cycle 1 Cycle 2
Vertex 1
Vertex 2
Start potential
Figure 4-1: Electric potential vs time generated by the cyclic voltammogram boundary
condition. The linear sweep rate is 100 mV/s, the number of cycles is 2. Potentials levels are
also shown.
More advanced waveforms can be obtained using the Electric potential option with a
parameter setting based on Functions found in the Definitions menu.
The Counter electrode option will set a potential to ensure an overall charge balance of
the cell so that the integral of all electrode reaction currents of all electrode surface
node sums up to zero.
The setting determines which equilibrium potential value will be used for defining the
primary current distribution constraint. When the First reaction has been selected, the
first electrode reaction subnode must be active in the model.
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
CONSTRAINT SETTINGS
For primary current distributions, the use of weak constraints will in some cases give a
more accurate value of the local current density during the solver process. This may in
turn render more accurate results when coupling to the local current density variable
to describe other phenomena in the model, for instance when modeling geometry
deformation due to electrode dissolution/deposition.
The section is available in the Primary Current Distribution and Secondary Current
Distribution interfaces when the Current Distribution Model property has been set to
Primary.
This section is only available in the Primary Current Distribution and Secondary
Current Distribution interfaces when the Current Distribution Model property has been
set to Primary. To display this section, click the Show More Options button ( ) and
select Advanced Physics Options in the Show More Options dialog box.
Electrode Reaction
The Electrode Reaction subnode defines the electrode kinetics for a charge transfer
reaction that occurs on an electrolyte-electrode interface boundary. Use multiple
nodes to model multiple reactions, for instance in mixed potential problems.
Note that all settings described below are not available for all Electrochemistry
interfaces.
EQUILIBRIUM POTENTIAL
The Equilibrium potential, Eeq (SI unit: V), is used in the electrode kinetics expressions
in the Electrode Kinetics section (via the definition of the overpotential), or for setting
up primary current distribution potential constraints.
The equilibrium potential may be defined either in the Materials node (From material),
by using the Nernst Equation, or by using a User defined expression.
For all interfaces except the Tertiary Current Distribution interface, the concentration
dependence is based on the user-defined Reduced species expression CR (unitless) and
Oxidized species expression CO (unitless) parameters. CR and CO should be defined so
that the quotient between them is 1 for the reference state (for which Eeq=Eeq, ref).
When using Nernst Equation, additional options are available in the Butler-Volmer
expression type in the Electrode Kinetics section.
REFERENCE CONCENTRATIONS
This section is only available in the Tertiary Current Distribution interface, if the
equilibrium potential has been selected to be defined by the Nernst Equation.
The reference concentrations define the reference state for which Eeq = Eeq, ref.
The Local current density expression, iloc, expr (SI unit: A/m2), may be defined either
in the Materials node (From material), by using the From kinetics expression, or by using
a User defined expression.
For all kinetic expressions the Exchange current density i0 (SI unit: A/m2) is a measure
of the kinetic activity. The exchange current density is typically concentration
dependent.
Most kinetic expression types feature the Limiting Current Density option in order to
impose an upper limit on the local current density magnitude. The feature can be used
to model additional mass transport limitations that are not already included in the local
current density expression. For Limiting Current Density enter a value for ilim
(SI unit: A/m2).
When using the Nernst Equation for defining the equilibrium potential (see above), the
concentration dependence of the Exchange current density i0 may be defined in a
thermodynamically consistent way in accordance with the Nernst equation, in
combination with a Reference exchange current density i0,ref (A/m2), which is the
exchange current density when Eeq=Eeq, ref.
For all interfaces except the Tertiary Current Distribution interface, the concentration
dependence when using From Nernst Equation will use CR and CO as pre-exponential
The Anodic Tafel slope, Αa (SI unit: V), defines the required increase in overpotential
to result in a tenfold increase in the current density.
The Cathodic Tafel slope, Αc (SI unit: V), describes the required decrease in
overpotential to result in a tenfold increase in the current density magnitude. Αc
should be a negative value.
Note that the combination of Nernst equation and the Butler Volmer kinetics type will
in most cases render identical kinetics as for the Concentration Dependent Kinetics. It
is recommended to always use Nernst Equation + Butler Volmer whenever possible,
since this combination is guaranteed to be thermodynamically consistent.
The kinetics expression type defines an irreversible electrode reaction where the
kinetics is so fast that the only factor limiting the reaction rate is the transport of a
species to the reacting surface.
The node will set the Rate limiting species concentration to zero at the boundary, and
balance the fluxes of the species participating in the reaction and the current densities
according to the Stoichiometric Coefficients settings.
In the Secondary Current Distribution interface the condition set by this expression
type is mathematically identical to what is applied when a Primary Current
Distribution is chosen on the interface top node. The expression type can hence be
used to mix primary and secondary current distributions on different electrodes. The
Thermodynamic equilibrium (primary condition) cannot not be used when defining
the kinetics for multiple electrode reactions at the same electrode in the Secondary
Current Distribution interface.
STOICHIOMETRIC COEFFICIENTS
Specify the Number of participating electrons nm in the electrode reaction and the
Stoichiometric coefficient (vc1, vc2, and so forth) for each of the involved species
according to the following generic electrochemical reaction:
If the concentration of a species in the charge conservation model for the electrolyte is
based on an algebraic expression (such as the electroneutrality condition, or the water
auto ionization), the stoichiometric coefficient for this species cannot be set explicitly.
The stoichiometric coefficient will instead be set implicitly, based on the number of
electrons and the stoichiometric coefficients of the other species participating in the
reaction.
HEAT OF REACTION
The Heat of Reaction section provides two options: Temperature derivative and
Thermoneutral voltage to calculate the reversible heat source of the electrode reaction,
which in turn can be used for coupling to heat transfer physics.
The Thermoneutral voltage parameter, Etherm (SI unit: V), can be specified in case of
Thermoneutral voltage selection.
Use this node to simulate transient analysis techniques, such as AC-impedance analysis
and current interrupt studies.
The parent node may be either an Internal Electrode Surface or a Electrode Surface.
This subnode is not available for the Primary Current Distribution interface.
Use the settings of the Stoichiometry section (not available in the Primary or Secondary
Current Distribution interfaces) to control what species are participating in the double
layer charging — that is, the mass exchange between the double layer and the
electrolyte outside the double layer.
Electrode domain
φs
Electrolyte domain
φl
Electrolyte Potential
Add the Electrolyte Potential node from Electrolyte submenus for boundaries, edges,
and points to set a fixed potential at a position in the electrolyte. This node can be used
to model half-cells, or to set the electrolyte potential at the position of, for example, a
reference electrode.
The node sets the potential in the electrolyte, φ l, to be equal to the Boundary
electrolyte potential, φ l, bnd (SI unit: V).
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
Electrolyte Current
The Electrolyte Current boundary condition sets the total current or average current
density of a boundary. The condition sets the total inward current without imposing
the current density distribution. It will set a constant electrolyte potential along the
given boundary, that satisfies the current value setting.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
Note that using this node in 2D or 3D may result in an uneven potential distribution
along the boundary. To mitigate such effects you may use the Electrode Current node
instead.
By right-clicking this node you may enable Harmonic Perturbation. This means that the
node will only be active when solving for Frequency Domain study steps (typically used
in AC Impedance studies). The frequency spectrum is specified in the study node.
A thin electrode layer can be used to model, for instance, a contact impedance between
two electronic conductors.
For the case of Resistive, the Surface Resistance can either be set directly, or calculated
from Thickness and Conductivity values.
Electrode Reaction and Double Layer Capacitance subnodes are available from the
context menu (right-click the parent node) or from the Physics toolbar, Attributes
menu.
This node is available for the Secondary Current Distribution and Tertiary Current
Distribution, Nernst-Planck [Link] is also available and described here for the
Battery interface.
BOUNDARY CONDITION
This section specifies the potential of the electrolyte phase for the electrolyte-electrode
interface. The electrolyte potential is used (via the overpotential) by the Electrode
Reaction subnodes.
The Electrolyte potential will set the potential value directly, whereas Total current or
Average current density both add an extra global degree of freedom for the potential in
the electrolyte phase, set to comply with the chosen condition.
When using the Total current option in 1D or 2D, the boundary area is based either
on the Cross-sectional area (1D) or the Out-of-Plane thickness (2D) properties, set on
the physics interface top node.
Electric Ground
This node to sets the electric potential to zero.
The node is typically used to ground the voltage at an external boundary in a model
that contains either electrode or porous electrode domains.
Electric Potential
This node sets the electric potential in the electrode (or a porous electrode), φ s, to a
value, φ s, bnd according to the following:
φ s = φ s, bnd
The node is typically used to set the cell voltage at an external boundary in a model
that contains either electrode or porous electrode domains.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
Note that using this node in 2D or 3D may result in an uneven potential distribution
along the boundary. To mitigate such effects you may use the Electrode Current node
instead.
By right-clicking this node you may enable Harmonic Perturbation. This means that the
node will only be active when solving for Frequency Domain study steps (typically used
in AC Impedance studies). The frequency spectrum is specified in the study node.
Electrode Current
Use the Electrode Current node to set the total current or average current density over
an external electrode or porous electrode boundary — typically at the interface
between the electrode and the current collector or current feeder. The condition sets
the total inward current without imposing the current density distribution. The
potential along the boundary is calculated in order to satisfy the total value of the
current.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
Electrode Power
The Electrode Power boundary condition sets the power drawn from, or inserted to, an
electrical cell at external electrode boundary.
When using the Total power option in 1D or 2D, the boundary area is based either on
the Cross-sectional area (1D), or the Out-of-Plane thickness (2D) properties, set on the
physics interface top node.
Harmonic Perturbation
Use the Harmonic Perturbation subnode to specify the voltage amplitude perturbation
in the frequency domain. The harmonic perturbation is only applied when solving for
a Frequency-Domain study type, which is typically used in AC Impedance studies.
The Harmonic Perturbation subnode can be added to the Electric Potential, Electrolyte
Potential. The subnode is available from the context menu (right-click the parent
node) or from the Physics toolbar in the Contextual group.
Electrode Potential
Use the Electrode Potential node to set a boundary condition for the electric potential
with respect to a defined reference potential.
Electric potentials defined by the Electric Reference Potential and Reference Electrode
point nodes can be used as input when specifying the Electric reference potential φ vs,ref
(SI unit: V).
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
External Short
Use the External Short node to connect two electrodes over an external connector with
a given Resistance R (SI unit: ohm).
The boundary selected in the External Short node will be set to a constant potential,
φ s, here , and the integrated current over the boundary will be computed according to
Ohm’s law:
φ s = φ s, here
φ s, here – φ s, there
φ s, here : ( n ⋅ Is )ddΩ = – ---------------------------------------
R
-
dΩ
where φ s, there (V) is the potential of the connected electrode. Use the Connected
Potential list to choose among available connection potentials for the value of φ s, there .
This node is available as a subnode for the Internal Electrode Surface and
Electrode-Electrolyte Boundary Interface. The node is not available if no
dissolving-depositing species are present or if the Solve for dissolving-depositing species
concentrations check box is cleared in the parent node.
Non-Faradaic Reactions
Use the Non-Faradaic Reactions node to define the reaction rate for
dissolving-depositing species due to non-faradaic (not electrochemical) reactions that
occur on the boundary.
Reference Electrode
The Reference Electrode node is a point feature applicable to electrolyte domains. It
defines a global electric reference potential and can be used in the Electrode Potential
node for setting the electric potential of an electrode boundary with respect to the
reference potential.
EQUILIBRIUM POTENTIAL
See Electrode Reaction for information about the settings of this section.
Charge-Discharge Cycling
Use the Charge-Discharge Cycling node to specify a load cycling boundary condition in
time-dependent simulations, where the switch between charge and discharge depends
on the resulting cell voltage (or current). The node may for instance be used for
constant-current/constant-voltage (CCCV) cycling in battery simulations.
Depending on the Start Mode setting, the node will either start in Charge or Discharge
mode.
Each cycle always start with a constant Discharging/Charging current period, which ends
when the corresponding Minimum/Maximum voltage is reached (the voltage is defined
with respect to ground).
After the constant Discharging/Charging current period, you may also Include
constant voltage discharging/charging periods, which will end when the specified
Lower/Upper cut-off currents are reached. At the end of each cycle, you can also Include
rest periods, specifying the Resting time.
The node also defines a cycle counter variable (xxx.cdc1.cycle_counter, where xxx
is the physics interface tag), which may be used in postprocessing or when defining
Stop Condition in the time-dependent solver to end the simulation when a specified
number of cycles has been reached.
Circuit Terminal
This feature is only available with an AC/DC Module or a Battery Design Module
license.
Use the Circuit Terminal node to specify a coupling to the External I vs U node in the
Electrical Circuit interface.
The physics interface is suitable for modeling thin electrodes where the potential
variation in the normal direction to the electrode is negligible. This assumption allows
for the thin electrode domain to be replaced by a partial differential equation
formulation on the boundary. In this way the problem size can be reduced, and
potential problems with mesh anisotropy in the thin layer can be avoided.
Ohm’s law is used in combination with a charge balance to describe the conduction of
currents in the shell electrode.
When this physics interface is added, these default nodes are also added to the Model
Builder — Electrode, Electric Insulation (the default edge or point condition), and Initial
Values. Then, from the Physics toolbar, add other nodes that implement, for example,
edge or point conditions and current sources. You can also right-click Electrode, Shell
to select physics features from the context menu.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is els.
THICKNESS
DISCRETIZATION
To see all settings in this section, click the Show More Options button ( ) and select
Advanced Physics Options in the Show More Options dialog box.
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Boundary, Edge, Point, and Pair Nodes for the Electrode, Shell
Interface
The Electrode, Shell Interfacehas these boundary, edge, point, and pair nodes, listed
in alphabetical order, available from the Physics ribbon toolbar (Windows users),
Physics context menu (Mac or Linux users), or right-click to access the context menu
(all users).
These nodes are available and described for the Current Distribution interfaces, where
edges (3D components) or points (2D and 2D axisymmetric components) are selected
instead of boundaries.
• Electrode Potential
• Electric Reference Potential
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Electrode
The Electrode node defines the current conduction in the tangential plane. Use the
node to define the electrode thickness and electrical conductivity.
ELECTRODE
The Electrode thickness s (SI unit: m) defaults to 10−14 m.
The default Electrical conductivity σ (SI unit: S/m) uses values From material. Or select
User defined. For User defined enter values or expressions for an isotropic or anisotropic
conductivity. Select Isotropic, Diagonal, Symmetric, or Full depending on the properties
Initial Values
The Initial Values node adds the electric potential that can serve as an initial guess for
a nonlinear solver. If more than one initial value is needed, add Initial Values nodes from
the Physics toolbar.
INITIAL VALUES
Enter values or expressions for the Electric potential (SI unit: V). The default value
is 0 V.
Current Source
The Current Source node adds a source term to Equation 4-7. Use this node to define
the current source.
∇T ⋅ is = in
The node can be used to couple the Electrode, Shell interface to the electrode
reactions in an Electrochemistry interface that describes the electrolyte currents in the
adjacent domain.
Electric Insulation
The Electric Insulation node is the default edge (3D components) and point (2D and
2D axisymmetric components) condition and describes the edges of the shell
(boundary) that do not conduct electricity.
i s ⋅ n = i s, 0
Ground
The Ground node is available on edges (3D components) and points (all components)
and sets the potential according to φ s = 0 .
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
Electric Potential
The Electric Potential node is available on edges (3D components) and points (all
components) and sets the potential according to φ s = φ s, 0 .
ELECTRIC POTENTIAL
Enter the value or expression for the Electric potential φ s, 0 (SI unit: V).
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
The Electroanalysis option is suitable for modeling mass transport of diluted species in
electrolytes using the diffusion-convection equation, solving for electroactive species
concentration(s).
The Tertiary Current Distribution, Nernst-Planck Interface also features options for
modeling cyclic voltammetry and electrochemical impedance spectroscopy.
Use this model wizard entry to model electroanalytical problems with electrolyte
solutions containing a large quantity of inert “supporting” electrolyte. Ohmic loss is
assumed to be negligible.
The model wizard entry is available in 1D, 2D, and 3D as well as for axisymmetric
components in 1D and 2D.
The default dependent variables are the molar concentrations, c1 and c2, of the two
electroactive species in a redox couple and the electric potential, phis, which is solved
for either in the Electrode or Porous Electrode domain feature.
∂c i
+ ∇ ⋅ N i = R i, tot
∂t
where Ni is the total flux of species i (SI unit: mol/(m2·s)). The flux in an electrolyte
is described by the Nernst-Planck equations and accounts for the flux of charged solute
N i = – D i ∇c i – z i u m, i Fc i ∇φ l + c i u = J i + c i u
where
J i = – D i ∇c i – z i u m, i Fc i ∇φ l (4-2)
The net current density can be described using the sum of all species fluxes:
il = F zi Ni
where il denotes the current density vector (SI unit: A/m2) in the electrolyte.
zi um, i ci ∇φl .
2 2
il = –F
z i u m, i c i
2 2
σl = F
This equation takes the same form as Ohm’s law; in an electrolyte, charge transport is
ohmic, subject to the above assumptions.
Conservation of charge yields the domain equation usually used for the electrolyte in
the Primary and Secondary Current Distribution interfaces:
∇ ⋅ il = 0
The Primary and Secondary Current Distribution interfaces define two dependent
variables: one for the potential in the electrolyte and one for the electric potential in
the electrode. The conduction of current in the electrolyte is assumed to take place
through transport of ions as described above, while electrons conduct the current in
the electrode.
Since Ohm’s law is also used for current conduction in the solid electrode phase, the
general equation in these interfaces is according to the following:
∇ ⋅ ik = Qk
with
i k = – σ k ∇φ k
where Qk denotes a general source term, k denotes an index that is l for the electrolyte
or s for the electrode, σk denotes the conductivity (SI unit: S/m) and φ k the potential
(SI unit: V).
The rate of the electrochemical reactions can be described by relating the reaction rate
to the activation overpotential. For an electrode reaction, with index m, the activation
overpotential, denoted ηm, is the following:
η m = φ s – φ l – E eq, m
where Eeq,m denotes the equilibrium potential (also known as a reduction potential)
for reaction m.
φ l = φ s – E eq, m
α a Fη – α c Fη
i loc,m = i 0 exp --------------- – exp -----------------
RT RT
Both the exchange current density and the overpotential are typically
concentration dependent. It is possible include the dependence of
kinetics on concentration in the expression above. It also possible to use
other kinetics expressions.
il ⋅ n = iloc, m
m
is ⋅ n = – iloc, m
m
Both the Primary Current Distribution and Secondary Current Density Distribution
interfaces allow for a domain definition for porous electrodes. For the Primary Current
Distribution interface, the same constraint as above is applied.
In porous electrodes for the Secondary Current Distribution interface, the sum of all
reaction currents appears as a source in the domain equations:
∇ ⋅ il = Av, m iloc, m
m
∇ ⋅ is = – Av, m iloc, m
m
∂c i
+ ∇ ⋅ ( J i + c i u ) = R i, tot
∂t
where
The current balance includes the sum of the flux of all charged species, which yields
the current density in the electrolyte:
n n
In the equations above, il denotes the current density vector in the electrolyte. The
current balance in the electrolyte then becomes:
∇ ⋅ il = Ql
where Ql can here be any source or sink. (Ql is typically nonzero for porous
electrodes). The current balance and the material balances give one equation per
unknown species concentration. However, there is still one more unknown, the
electrolyte potential, which requires an additional equation. This equation is the
electroneutrality condition, which follows from dimensional analysis of Gauss’s law. In
a typical electrolyte solution, it is accurate over lengths greater than a few nanometers:
These formulations are also valid for the pore electrolyte in porous electrodes, except
for the transport properties that have to be corrected for porosity and tortuosity. In
such cases, the source or sink, Ql, denotes the charge transfer reactions in the porous
electrode and/or the non-Faradaic source or sink due to double layer charge and
discharge.
In the current balance in a porous electrode, the local current density multiplied by the
specific surface area of an electrode gives a contribution to the source or sink, Ql, due
to electrochemical reactions.
is used to define the stoichiometric coefficients, νi, with νi being positive (νred) for
products and negative (νox) for the reactants in a reduction reaction. The number of
participating electrons, n, is always positive.
ν i, m i loc, m
Ni = --------------------------
nm F
-
m
where iloc, m is the local current density (SI unit: A/m2) of the electrochemical
reaction, nm the number of participating electrons and F (SI unit: C/mol) is the
The molar species flux, Ni, is obtained from the normal component of the molar
species flux vector over the electrode-electrolyte interface:
Ni = Ni ⋅ n
where n is the normal vector of the boundary pointing into the domain.
For a porous electrode, the electrochemical reactions result in species source terms
calculated from:
ν i, m i loc, m
R i, molar = – av, m --------------------------
nm F
-
m
If the reaction rate is known, the total growth vdep, tot (m/s) is defined as the sum of
the velocity contributions for all species and electrode reactions according to:
Mi ν i, m i loc, m
v dep, tot = ------
ρi nm F
- -------------------------- (4-3)
i m
Where Mi (SI unit: kg/mol) is the molar mass and ρi (SI unit: kg/m3) the density of
the species. (i is the species index, and m the index of the electrode reaction).
This velocity may be used in deforming geometry models as a boundary condition for
the geometry deformation by assuming that dissolution or deposition always occurs in
the normal direction to an electrode boundary, with the velocity being directed into
the electrolyte domain:
∂x
⋅ n = v dep, tot
∂t
dc s, i ν i, m i loc, m
dt
= -------------------------
nm F
-
m
Mi
s tot = ------
-c .
ρ i s, i
i
- + -
2e (electrical circuit) + A (solution) + X (double layer)
- + -
2e (electrode surface) + A (double layer) + X (solution)
Film Resistance
If a resistive film forms on the interface between an electrode and an electrolyte, this
results in additional potential losses. To model a film resistance, an extra dependent
Where Rfilm (SI unit: ohm·m2) is a generalized film resistance and itot the sum of all
currents over the interface. The activation overpotentials, ηm, for all occurring
electrode reactions on the electrode with the film receive an extra potential
contribution due to the film resistance according to:
η m = φ s – Δφ s, film – φ l – E 0, m
If the thickness and conductivity of the film are known, the resistance can be written as:
s 0 + Δs
R film = ------------------
σ film
where s0 is the reference/initial film thickness, Δs the electrode thickness change, and
σfilm the conductivity (SI unit: S/m) of the film.
-
ν i S i + ne ↔ νi Si
i:ν i < 0 i:ν i > 0
where νi is the stoichiometric coefficient of the reacting species of index i and n is the
number of participating electrons.
The equilibrium potential of the electrode reaction, Eeq (V), is the electrode potential
(the difference between the electrode phase and electrolyte phase potentials, φ s – φ l )
for which the net reaction rate (and the local current density, iloc) is zero.
The equilibrium potential is directly related to the change of Gibbs free energy of the
reacting species, ΔG, as
ΔG
E eq = – --------
nF
ai νi
∏ ------------
RT
E eq = E eq, ref – -------- ln
nF a i, ref
i
where Eeq, ref (V) is the equilibrium potential for a reference state for which all species
activities ai (unitless) are equal to a chosen set of reference activities ai, ref (unitless).
For ideal solutions, the activities are replaced by concentrations. Standard conditions
correspond to reference concentrations of 1M for soluble species in the electrolyte,
partial pressures of 1 atm for gaseous species. Constant activities of 1 is used for solid
(metal) species and solvents.
η = φ s – φ l – E eq
α a Fη – α c Fη
i loc = i 0 exp --------------- – exp -----------------
RT RT
where αc (unitless) denotes the cathodic charge transfer coefficient, αa (unitless) the
anodic charge transfer coefficient, and i0 (SI unit: A/m2) is the exchange current
density.
αc νi –αa ν i
---------
- --------------
ai
------------
n ai
------------
n
i 0 = i 0, ref a i, ref a i, ref
i:ν i > 0 i:ν i < 0
where i0, ref is the exchange current density (SI unit: A/m2) at the reference state. The
above expression can be derived from the mass action law, which gives the following
expression for the local current density:
ai νi
------------ α a Fη ref a i –ν i – α c Fη ref
- exp -------------------- ------------ exp -----------------------
i loc = i 0, ref
a i, ref RT
- –
a i, ref
-
RT
i:ν i > 0 i:ν i < 0
where the overpotential ηref (SI unit: V) is measured using relative to a reference state,
which yields:
This latter form of the Butler-Volmer equation, where the concentration overpotential
and the exchange current density are related to the same reference state, is less error
prone and preferable in a modeling context.
The law of mass action is not always the most practical way for treating complex
reactions involving multiple electron steps. For certain multi-electron reactions, where
one electron transfer step is rate limiting, it is possible to derive a lumped
Butler-Volmer expressions using the following relation for the exchange current
density (see Ref. 1):
ai γi
i 0 = i 0, ref ------------
a i, ref
-
i
αa νi
ξ a, i = γ i + -----------
n
and
αc νi
ξ c, i = γ i – ----------- .
n
For instance, for a one electron redox couple of concentrations co and cr, with the same
reference concentration cref for both species, and i0, ref = k0Fcref, the mass action law
expression above can be rewritten as
α a Fη – α c Fη
i loc = k 0 F c r exp --------------- – c o exp -----------------
RT RT
α a Fη – α c Fη
i loc = i 0 C R exp --------------- – C O exp -----------------
RT RT
Linearized Butler-Volmer
The charge transfer reaction can be expressed by a linearized Butler-Volmer expression,
which can be used for small overpotentials (η << RT/F) and is usually referred to as
the low-field approximation. This approximation gives the following linearized
equation:
( α a + α c )F
i loc = i 0 ---------------------------- η
RT
η ⁄ Aa
i loc = i 0 ⋅ 10
where Aa (SI unit: V) is the so-called Tafel slope. Aa relates to the corresponding
transfer coefficient as follows
RT ln 10
A a = ----------------------
αa F
η ⁄ Ac
i loc = – i 0 ⋅ 10
where the sign accounts for the negative cathodic charge transfer current. Here, Ac is
required to be negative and relates to the transfer coefficient according to
RT ln 10
A c = – ----------------------
αc F
When not explicitly including mass transfer in the domain equations one can still
include the effect of transport limitations by the assumption of a Nernst diffusion layer
at the electrode surface, and a first order dependence between the charge transfer
current and the local concentration of a reacting species, resulting in the following
kinetics expression:
i expr
i loc = --------------------------
i expr
1 + -----------
i lim
where iexpr (A/m2) is the current density expression in the absence of mass transport
limitations for the species, and ilim (A/m2) is the limiting current density that
corresponds to the maximum transport rate of the species. The derivation of this
expression assumes high overpotentials so that either the anodic or an cathodic term
in the Butler-Volmer equation may be neglected.
dc ν
= r = – kc
dt
where ν and k are positive numbers and the desired behavior is that the rate r and the
concentration c should equal zero in the converged solution at infinite time. However,
if c, due to numerical fluctuations in the solver process, becomes negative during
iterating, issues may arise.
First consider the case when ν equals 1 (or any odd positive integer). Negative values
of c will then cause the rate to become positive, resulting in a “self stabilizing” situation
where c will be approaching 0 with time.
A second case to consider is when ν is an even integer larger than 1. The rate then will
become increasingly negative for negative values of c, resulting in an “exploding”
solution, iterating c towards minus infinity. The standard solution for these cases,
which also works for non-integer ν's larger than 1, is to change the expression c in the
rate term to max(c,eps), where eps is a small number. This will avoid the “exploding”
behavior, but result in poor convergence rate for negative c values since the Jacobian
of the rate with respect to c then becomes zero for negative c's.
The solution for the third case is to linearize the concentration dependence for low
concentrations, i.e., to use
ν
r = – kc c > c lim
υ–1
r = – kcc lim c < = c lim
which results in the desired convergence behavior for low and negative concentrations.
Note however that the linearization may result in thermodynamic inconsistencies so
that, for instance, relations like the Nernst equation for the equilibrium potential are
no longer fulfilled. The linearization may also improve convergence of the second case
above.
ELECTROLYTE THEORY
The Electrolyte node defines a current balance in the electrolyte. The domain equation
is:
∇ ⋅ il = 0
where il denotes the current density vector. In free electrolyte, there is no source or
sink of charge.
The definition of the current density vector depends on the equation formulation of
the electrolyte charge transport, as discussed above in Domain Equations for Primary
and Secondary Current Distributions and Domain Equations for Tertiary Current
Distributions Using the Nernst-Planck Equations and Electroneutrality.
∇ ⋅ i l = Q l and ∇ ⋅ i s = Q s
In these equations, il denotes the current density vector in the electrolyte, as discussed
above in Domain Equations for Primary and Secondary Current Distributions and
Domain Equations for Tertiary Current Distributions Using the Nernst-Planck
Equations and Electroneutrality.
The current balances in the pore electrolyte and in the electrode matrix contain sources
and sinks according to the charge transfer reactions that take place in the electrode
catalyst. For example, if only one charge transfer reaction takes place in the porous
electrode, the domain equations are the following:
∇ ⋅ i l = A v i loc
∇ ⋅ i s = – A v i loc
where Av denotes the specific surface area (dimension L2/L3), and iloc the local
current density defines the rate of the charge transfer reactions, for instance according
to the Butler-Volmer equation. For various ways of defining iloc see Electrode Kinetics
Expressions.
If the porous electrode is a cathode, then the charge transfer reaction is a source for
the current balance in the electrode, because it receives current from the pore
electrolyte. The charge transfer reaction is then a sink for the current balance in the
pore electrolyte, because the current is transferred from the pore electrolyte to the
electrode in a cathodic reaction.
The corresponding sources and sinks in the current balances that are due to the charge
transfer reactions are also coupled to the material balances for the charged species. This
il ⋅ n = iloc, m
m
is ⋅ n = – iloc, m
m
where iloc,m (A/m2) is the Electrode Reaction current density of the charge transfer
electrode reaction of index m, il the current density vector in the electrolyte and is the
current density vector in the electrode.
∇ ⋅ il = Av iloc, m
m
∇ ⋅ is = – Av iloc, m
m
∇ ⋅ is = 0
i s = – σ s ∇φ s
and where σs denotes the electrical conductivity and φ s the potential of the electron
conducting (metal) phase.
i l ⋅ n = i n, l
The current density can also be defined including all its components:
i l = i l, bnd
where il, bnd is a given expression for the current density vector.
The feature adds one unknown variable, the electrolyte potential, φ l, bnd, along the
boundary. It then adds one additional equation for the total current, which is an
integral over the boundary:
The average current density condition imposes the same equation but multiplies the
current density by the area of the boundary to obtain the value of the total current In, l.
i s ⋅ n ds = I n, s
∂Ω
where
i s = – σ s ∇φ s
and σs denotes the electrode conductivity and φ s the electric potential. The average
current density condition imposes the same equation but multiplies the current density
by the area of the boundary to obtain the value of the total current, In,s.
SYMMETRY THEORY
The Symmetry boundary condition, in the Primary Current Distribution and
Secondary Current Distribution interfaces is identical to the Insulation condition and
is expressed according to the equation below.
ik ⋅ n = 0
where ik denotes the current density vector and k = l, s is an index for the electrolyte
and electrode, respectively.
Ji ⋅ n = 0
where
i s = – σ s ∇φ s
The current density can also be defined including all its components:
i s = i s, bnd
where is, bnd is a given expression for the current density vector.
For a total power condition, the boundary electric potential of an electrode is set to a
potential φ s, bnd, defined by the condition for the total power on the boundary ∂Ω
according to:
φ s = φ s, bnd on ∂Ω
where φ s, ground is the ground potential of the cell, and Ptotal (W) is the power to be
drawn.
P total = P avg A
where Pavg is the average power density on the boundary, and A is the boundary area.
For a galvanic cell, such as a battery during discharge or a fuel cell, there
is a maximum power level, beyond which a further current increase causes
a lowered output power due to increasing voltage losses. A result of this
is that there can be two existing solutions for the same power setting. In
these cases the choice of initial values determines the final solution.
Since these charges are fixed, there is no need to explicitly model the transport of these
charges, but when calculating the sum of charges, used in the Nernst-Planck (with
electroneutrality) or the Nernst-Planck-Poisson set of equations, one need to add this
fixed space charge.
ρ fix + F zi ci = 0
For the Nernst-Planck-Poisson case, the total space charge density becomes
ρ v = ρ fix + F zi ci
ION EXCHANGE MEMBRANE BOUNDARY THEORY
The electrochemical potential μi of a charged species of index i is
μ i = RT ln a i + φ l z i F
where T(K) is the temperature, R (mol/(J K)) the molar gas constant, ai is the species
activity, φ l is the electrolyte potential, zi the species charge, and F(C/mol) is Faraday's
constant.
Setting the species activity to equal the concentration and denoting the liquid
electrolyte phase and a ion-exchange membrane phases as 1 and 2, respectively, the
Donnan potential, Δφ (V), describes the relation between the concentration of a
species, ci (mol/m3), at each side of the boundary and the electrolyte potentials:
c i, 1
Δφ l = φ l, 1 – φ l, 2 = – -------- ln ---------
RT
zi F c i, 2
The molar flux of each species in the liquid electrolyte is continuous over the
membrane-liquid interface
n ⋅ J i, 1 = n ⋅ J i, 2
Since the total current density is the sum of all species fluxes, times the individual
species charges, the current densities Il in the normal direction n of the
membrane-liquid interface boundary is also continuous:
n ⋅ I l, 1 = n ⋅ I l, 2
References
1. J. O’M. Bockris, A.K.N. Reddy, and M. Gamboa-Aldeco, Modern Electrochemistry,
vol. 2A, 2nd ed., ch. 7, sec. 7.6, Kluwer Academic/Plenum Press, New York, 2000.
In addition, reversible heat sources and sinks can appear due to the entropy changes in
the electrode reactions.
Most Electrochemistry interfaces define and announce heat source variables that for
instance can be used by the General Source and the Boundary Heat source nodes in
the Heat Transfer interfaces.
The Electrochemical Heating multiphysics node defines a domain heat source in the
heat transfer interface, based on the sum of irreversible (Joule heating and activation
losses) and reversible heat in the electrochemistry interface.
You can also use the heat source variables defined by the electrochemistry interfaces
when setting up manual heat couplings between different components in a model. For
instance if you are using a 1D electrochemical cell model to calculate an average heat
source in a 3D heat transfer model. The names of the heat source variables are [Link]
(domain, Joule heating and porous electrode reactions) and [Link] (boundary,
electrode surface reactions), where xxx is the electrochemistry interface identifier.
• Electrochemistry Interfaces
• Multiphysics Coupling Nodes
Q JH = – ( i s ⋅ ∇φ s + i l ⋅ ∇φ l ) (4-4)
• Heat generated = Total reaction enthalpy – Electrical energy leaving the system
Using Faraday’s law for an electrode reaction, m, at the interface between the electron
and ion conducting phase this corresponds to
ΔH m ΔG m
Q m = ------------- – ------------- – η m, tot i m (4-5)
nm F nm F
where ΔHm is the enthalpy change of the reaction, and ΔGm is the Gibbs free energy
of the reaction, ΔGm, defined as
ΔG m = ΔH m – TΔS m
where ΔSm is the net entropy change. Equation 4-5 may now be rearranged into
TΔS m
Q m = η m, tot + ---------------- i m (4-6)
nm F
where the first term represents the irreversible activation losses, and the second term
is the reversible heat change due to the net change of entropy in the conversion
process.
η m, tot = φ s – φ l – E eq, m
ΔG m
E eq, m = – -------------
nm F
∂E eq, m ΔS m
------------------
- = -----------
-
∂T nm F
the local heat source due to the electrochemical conversion process becomes
∂E eq, m
Q m = η m, tot + T ------------------- i m
∂T
ΔH m
E therm, m = – -------------
nm F
The total heat source due to the electrochemical reactions, QEC, for an electrode
surface is the sum of all individual heat sources of the electrode reactions according to
Q EC = Qm
m
For a porous electrode joule heating and electrochemical sources are summed up for a
total heat source in the domain according to
q mix, i = – J i ⋅ ∇H i
where Ji (mol/(m2s)) is the molar flux and Hi (J/mol) is the molar enthalpy.
Generally, for an intercalation material, two species are considered: the intercalated
species, denoted with index s, and the holes, denoted with index θ.
Js = –JΘ
We now define the total heat of mixing as the sum of the contributions from the two
species and write
The absolute value of the individual molar enthalpies are generally not known.
However, the difference of the gradients of the molar enthalpies are related to the
thermoneutral voltage, Etherm (V) of the intercalation reaction.
ΔH ( ΔG + TΔS ) dE eq
E therm = – --------- = – -------------------------------- = E eq – T -------------
F F dT
+ -
Li + e ⇔ Li(s)
ΔH = H Li(s) – H Li + – H θ
dE eq, therm
∇ ( H s – H θ ) = – ∇ ( FE eq, therm ) = – F --------------------------- ∇c s
dc s
dE eq, therm
q mix = – J s ⋅ – F --------------------------- ∇c s
dc s
In this section:
• Governing Equations
• Coupling to Other Physics Interfaces
Governing Equations
The Electrode, Shell interface solves for the electric potential φ s (SI unit: V) on a
boundary, using the following governing equation:
∇ T ⋅ ( si s ) = – i n (4-7)
where ∇T is the tangential gradient operator, s (SI unit: m) is the electrode layer
thickness, and in (SI unit: A/m2) are the sum of all currents flowing out from the
electrode (in the normal direction to the boundary). Furthermore, is (SI unit: A/m2)
is the tangential current density vector along the electrode boundary, defined as
i s = – ∇T σ s φ s (4-8)
where σs is the electric conductivity (SI unit: S/m). The next section discusses
Coupling to Other Physics Interfaces.
where itot (SI unit: A/m2) is the sum of all electrode currents in the coupled
Electrochemistry interface.
s = s 0 + Δs tot (4-9)
where s0 is the initial electrode layer thickness, and Δstot is the electrode thickness
change, calculated by the coupled Electrochemistry interface.
HEAT SOURCE
The electron conduction gives rise to a Joule heating source QH (SI unit: W/m2)
according to
Q H = – si s ⋅ ∇ t φ s
• Electroanalytical Methods
• Supporting Electrolyte
• Domain Equations for the Electroanalysis Case
• Electrode Boundary Conditions in the Electroanalysis Model
• The Electroanalytical Butler-Volmer Equation
• Counter Electrodes and Overall Charge Balance
Electroanalytical Methods
Electroanalysis is the science of quantitative electrochemical measurement of the
composition or properties of a chemical system. Common electroanalytical methods
include: (cyclic) voltammetry, (chrono)amperometry, potentiometry, coulometry, and
electrochemical impedance spectroscopy (EIS). These methods are experiments
performed either in a static electrolyte solution or in an electrolyte solution subject to
a forced fluid flow. The results sought in electroanalysis include:
Supporting Electrolyte
When performing electroanalytical experiments, it is conventional to add a large
quantity of inert salt to the solution — this artificially added salt is called supporting
• The voltage due to the resistance of the electrolyte when the cell draws current
(“ohmic drop”) is minimal. Therefore, the potential difference applied across the
electrochemical cell is localized at the electrode–electrolyte interfaces, and so the
activation overpotential perceived by the redox couple at this interface is almost
exactly proportional to the applied cell voltage. The kinetic behavior of the
electrochemical cell then has no explicit dependence on the magnitude of the drawn
current.
• The contribution of migration to the transport of charged chemical species is
negligible compared to the contribution of diffusion (and of convection, in a forced
flow). Therefore the transport properties of the system are linearized, and they do
not depend on the magnitude of the drawn current.
Even for the conductivities of electrolyte solutions in the presence of excess supporting
electrolyte, the electric field is not negligible if significant current density is drawn.
Electroanalysis typically draws small currents because the purpose is measurement. In
processes where an electrochemical reaction is driven — such as electrolysis,
electrodeposition, batteries, and fuel cells — current densities are typically much larger,
so that the desired extent of reaction is achieved in a reasonable time. Under these
conditions, significant electric fields are likely and other charge conservation models
should be used instead of the Electroanalysis option.
N i = – D i ∇c i – z i u m, i Fc i ∇φ l + c i u = J i + c i u
N i = – D i ∇c i + c i u (4-10)
where the only contributions to the flux of a chemical species are from diffusion and
convection respectively. In the absence of convection (no fluid flow, u = 0), this is also
known as Fick’s first law of diffusion:
N i = J i = – D i ∇c i
∂c i
+ ∇ ⋅ N i = R i, tot (4-11)
∂t
This combination is often written as a single equation for the unknown ci. For zero
convection, zero reaction, and a constant diffusion coefficient, the domain equation is:
∂c i 2
= Di ∇ ci (4-12)
∂t
You can also include additional chemical species and reactions that are not
involved in the electrochemical reaction.
η m = φ s – φ l – E eq, m
This is the potential difference perceived by a redox couple, measured against the
equilibrium potential of the couple; it provides the thermodynamic driving force for
an electrochemical reaction by faradaic charge transfer between the electrode and the
electrolyte domains.
η m = φ s – E eq, m
The flux Ni of the chemical species i (SI unit: mol/m2) across an electrode surface
depends on the current densities im associated with the electrode reactions m
according to Faraday’s laws of electrolysis. These can be written as:
ν i, m i m
Ni = -----------------
nm F
- (4-13)
m
where νi,m is the stoichiometric coefficient of species i with respect to reaction m (in
the reductive direction), and nm is the number of transferred electrons. F is the
Faraday constant, which is the charge on a mole of electrons (96485.3365 C/mol).
Ni = Ni ⋅ n (4-14)
Equation 4-13 and Equation 4-14 constitute the coupling between charge balance
and mass balance. This coupling only applies at the electrode–electrolyte interface,
which is a boundary to the domain where the electroanalysis charge conservation
model solves for chemical species transport.
The total current density is the sum of Faradaic (electrode reaction) components and
non-Faradaic components (inf) such as current due to Double Layer Capacitance:
The experimentally measurable total current I (SI unit: A) drawn at an electrode can
be computed by integration of the local current density (SI unit: A/m2) across the
electrode area:
Ox and Red represent the oxidized and reduced forms of the chemical species,
respectively.
The most general equation to describe the rate of this reaction as it proceeds at an
electrode surface is the electroanalytical Butler-Volmer equation:
α a Fη – α c Fη
i loc = k 0 F c Red exp --------------- – c Ox exp ----------------- (4-15)
RT RT
where k0 is the heterogeneous rate constant (SI unit: m/s) and αc is the (cathodic)
transfer coefficient (dimensionless). For a one-electron reduction, the anodic and
cathodic transfer coefficients are related as follows α a + α c = 1 .
– FE eq
c Red = c Ox exp ----------------
RT
Where the flux of the reacting species is negligible compared to the concentration of
these species, the concentrations are roughly constant (cRed ~ cOx ~ c). This converts
Equation 4-15 into the Butler-Volmer equation written in terms of an exchange
current density i0 (SI unit: A/m2):
α a Fη – α c Fη
i loc = i 0 exp --------------- – exp -----------------
RT RT
The exchange current density i0 (SI unit: A/m2) is then related to the heterogeneous
rate constant as i 0 = k 0 Fc .
φ s, CE : i tot dS = 0 (4-16)
electrodes
η m = φ s, CE – E eq, m (4-17)
Note that only one counter electrode potential degree of freedom is added in the
model, regardless of the number of counter electrodes that are active.
Typically the kinetics of the electrochemical reactions are defined using the
overpotential, η (SI unit: V), defined as
η = φ s – φ l – E eq (4-18)
where Eeq (SI unit: V) is the equilibrium potential. If it is to apply for all
overpotentials, a general kinetic expression for an electrode reaction must be set up so
that the charge-transfer current over the electrolyte-electrode interface is zero for zero
overpotential (equilibrium conditions).
In this section:
• Reference Electrodes
• Boundary Conditions Using Reference Electrode Potentials
• Nodes for Handling Electrode Potentials and Reference Electrodes
Reference Electrodes
In experimental electrochemistry, it is common to use a reference electrodes when
controlling current or voltage with a potentiostat. Potential differences in the system
are recorded with respect to the equilibrium potential of the redox couple at the
reference electrode. A good reference electrode is designed so that no net charge
transfer takes place at its electrode-electrolyte interface. Then the overpotential of the
reference is zero, so:
where φ s , ref (SI unit: V) is the electric potential of the reference electrode and Eeq, ref
(SI unit: V) is the equilibrium potential of the reference electrode reaction.
The electric potentials of the electrodes in the electrochemical cell can then be defined
with respect to the reference electrode according to:
where Evs ref (SI unit: V) is the electrode potential versus the reference potential.
It is important to realize that the presence of an ideal reference electrode in the system
has no impact on the physics; the only purpose of the reference electrode is to define
a stable reference point for the potential levels.
where φ s , bnd (SI unit: V) is the applied electric boundary potential on the electrode.
Whenever a φ s , ref is defined, the variable Evs ref (SI unit: V), according to
Equation 4-20, is also defined in all electrode domains.
The variable Evs ref (SI unit: V), according to Equation 4-20, is also defined on these
features.
Battery Interfaces
In this chapter:
231
The Lithium-Ion Battery Interface
The Lithium-Ion Battery (liion) interface ( ), found under the
Electrochemistry>Battery Interfaces branch ( ) when adding a physics interface, is
used to compute the potential and current distributions in a lithium-ion battery.
Multiple intercalating electrode materials can be used, and voltage losses due to
solid-electrolyte-interface (SEI) layers are also included.
The physics interface is based on the works of Newman and others. Ohm’s law is used
to describe the charge transport in the electrodes. For the electrolyte, concentrated
electrolyte theory for a quiescent aprotic (1:1) electrolyte is used to describe charge
and mass transport in the electrolyte phase.
• φ l, electrolyte potential,
• φ s, electric potential in the electrodes,
• cl, salt concentration in the electrolyte, and
• cs, solid lithium concentration in the electrode particles in the Porous Electrode and
Additional Porous Electrode Material nodes.
The cl variable is not solved for when using the single-ion conductor charge balance
model.
The surface, center and average values of cs can also be evaluated in the real dimension
by the variable names liion.cs_surface, liion.cs_center, and
liion.cs_average, respectively.
Default Nodes
When this physics interface is added, these default nodes are also added to the Model
Builder — Electrolyte, Insulation, and Initial Values. Then, from the Physics toolbar, add
other nodes that implement, for example, Porous Electrodes and nonporous Electrodes,
and boundary conditions. You can also right-click Lithium-Ion Battery to select physics
features from the context menu.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is liion.
DOMAIN SELECTION
OUT-OF-PLANE THICKNESS
See Out-of-Plane Thickness.
The Single-ion conductor solves for the electrolyte potential by assuming that all charge
in the electrolyte phase is carried by the positive lithium ions only, so that the
concentration of lithium ions in the electrolyte can be assumed to be constant. The
option is typically applicable to solid phase electrolytes, or electrolytes where the
electrolyte conductivity is not changing as a result of the ion transport in the cell. Since
the electrolyte concentration is not solved for, the single-ion conductor option reduces
the computational load and complexity.
Note that the single-ion conductor option will disable all settings in domain and
boundary nodes applicable to the electrolyte concentration dependent variable.
TRANSPORT MECHANISMS
Convection can be added as an additional transport mechanism. By default, the check
box Convection is not selected. Select the check box to enable convective transport.
Note that this section is not applicable if the Single-ion conductor option is selected in
the Charge Balance Model section.
Note that the setting will only impact how potentials are interpreted in communication
between the physics and the Materials node. If the From material option is not in use
for equilibrium potentials or electrode kinetics, the setting has no impact.
This section is available when the Advanced Physics Options is selected in the Show More
Options dialog box shown when the Show More Options button ( ) is clicked.
DEPENDENT VARIABLES
This physics interface defines the following dependent variables (fields): the electrolyte
potential, the electrolyte salt concentration , and the electric potential. The names
can be changed but the names of fields and dependent variables must be unique within
a model.
The electrolyte salt concentration variable is not solved for when using the Single-ion
conductor charge balance model (see previous section).
Certain nodes may add additional dependent variables to the model. For example the
intercalated solid lithium concentration in the Porous Electrode and Additional
Porous Electrode Material nodes.
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
About the Domain, Boundary, Edge, Point, and Pair Nodes for the
Lithium-Ion Battery Interface
The Initial Values node and Electrode Reaction are described below, the other nodes
for The Lithium-Ion Battery Interface are described in Shared Nodes for Battery
Interfaces.
Physics nodes are available from the Physics ribbon toolbar (Windows users), Physics
context menu (Mac or Linux users), or right-click to access the context menu (all
users).
Initial Values
The Initial Values node sets the initial values for the electrolyte potential, the electric
potential, and the electrolyte salt concentration.
For many electrochemical problems that use nonlinear electrode kinetics, such as
Butler-Volmer kinetics, providing reasonable initial values can significantly improve
solver convergence.
A good value for the Electric potential (SI unit: V) in electrode and porous electrode
domains can usually be derived from the boundary conditions. For instance, if a
boundary has been grounded or set to a cell potential, use that value as the initial value
also in the adjacent domain. For the Electrolyte potential (SI unit: V) a good initial
value is often the negative of the equilibrium potential of the grounded electrode.
The default initial Electrolyte salt concentration, 1·103 mol/m3, is a typical value for
common lithium-ion battery electrolytes. This input field is not available when using
the Single-ion conductor charge balance model.
See the Electrode Reaction node in Shared Physics Features in the Current
Distribution Interfaces for a general description of the Equilibrium Potential,
Electrode Kinetics and Stoichiometric Coefficients sections.
ELECTRODE KINETICS
In addition to the kinetics expression types described in the link above, two additional
kinetics expressions are available in the Lithium-Ion Battery interface.
The Lithium metal expression can be used to define a lithium metal deposition/
dissolution reaction.
The Insertion Reaction expression can be used for modeling a heterogeneous porous
electrode — that is, when the individual electrode particles are resolved in the model
and defined on the boundaries to the electrolyte domain.
Use this physics interface for modeling batteries with alkaline binary (1:1) electrolytes,
such as NiMH or NiCd batteries.
Ohm’s law is used to describe the charge transport in the electrodes, whereas
concentrated electrolyte theory for an alkaline aqueous (1:1) electrolyte is used to
describe charge and mass transport in the electrolyte phase. An extra dimension can be
included in the porous electrode domains to describe transport of species in the solid
electrode phase using Fick’s law.
• φ l, electrolyte potential
• φ s, electric potential in the electrodes
• cl, salt concentration in the electrolyte,
• cs, intercalation concentration in the electrode particles when using the Porous
Electrode and Additional Porous Electrode Material nodes.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is batbe.
DOMAIN SELECTION
OUT-OF-PLANE THICKNESS
SPECIES
This section contains some global settings for the electrolyte which are used in the
Insertion Reaction type kinetics in the Porous Electrode Reaction node to calculate the
concentration of water in the electrolyte. The default values correspond to a KOH
electrolyte.
• Electrolyte anion molar mass MAn- (SI unit: kg/mol). The default is 0.017 kg/mol.
• Electrolyte cation molar mass MCat+ (SI unit: kg/mol). The default is 0.0391 kg/
mol.
• Solvent molar mass M0 (SI unit: kg/mol). The default is 0.018 kg/mol.
TRANSPORT MECHANISMS
Convection can be added as an additional transport mechanism. By default, the check
box Convection is not selected. Select the check box to enable convective transport.
Note that the setting will only impact how potentials are interpreted in communication
between the physics and the Materials node. If the From material option is not in use
for equilibrium potentials or electrode kinetics, the setting has no impact.
This section is available when the Advanced Physics Options is selected in the Show More
Options dialog box shown when the Show More Options button ( ) is clicked.
DEPENDENT VARIABLES
This physics interface defines these dependent variables (fields), the Electrolyte
potential, the Electrolyte salt concentration and Electric potential. The name can be
changed but the names of fields and dependent variables must be unique within a
model. The Intercalating species concentration in the electrode particles is another,
hidden, dependent variable. This variable is solved for locally and with an independent
variable for the particle radius.
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Physics nodes are available from the Physics ribbon toolbar (Windows users), Physics
context menu (Mac or Linux users), or right-click to access the context menu (all
users).
Initial Values
The Initial Values node sets the initial values for the electrolyte potential, the electric
potential, and the electrolyte salt concentration.
For many electrochemical problems that use nonlinear electrode kinetics, such as
Butler-Volmer kinetics, providing reasonable initial values can significantly improve
solver convergence.
A good value for the Electric potential (SI unit: V) in electrode and porous electrode
domains can usually be derived from the boundary conditions. For instance, if a
boundary has been grounded or set to a cell potential, use that value as the initial value
also in the adjacent domain. For the Electrolyte potential (SI unit: V) a good initial
value is often the negative of the equilibrium potential of the grounded electrode.
The default initial Electrolyte salt concentration, 1·103 mol/m3, is a typical order of
magnitude for common concentrated aqueous concentrated electrolytes.
Ohm’s law is used to describe the charge transport in the electrodes, whereas
concentrated electrolyte theory is used to describe charge and mass transport in the
electrolyte phase. Mass balances for the porosities in the porous electrode domains
account for changes in state-of-charge.
Dependent Variables
Different combinations of four dependent variables are valid and solved in different
domains. The four dependent variables are:
• φ l, electrolyte potential
• φ s, electric potential in the electrodes
+ -
• cl, salt concentration in the electrolyte, here H / SO 4
• ε, porosity (volume fraction of liquid electrolyte) in the Negative Porous Electrode
and Positive Porous Electrode nodes.
A lead-acid cell typically consists of five parts: a positive porous electrode (PbO2), a
reservoir of electrolyte, a porous separator, a negative porous electrode (Pb), and two
electrodes in contact with the positive porous electrode and negative porous electrode,
respectively.
Default Nodes
When this physics interface is added, these default nodes are also added to the Model
Builder — Reservoir, Electric Insulation, No Flux, and Initial Values. Then, from the
Physics toolbar, add other nodes that implement, for example, Porous Electrodes and
nonporous Electrodes, and boundary conditions. You can also right-click Lead-Acid
Battery to select physics features from the context menu
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
The default Name (for the first physics interface in the model) is leadbat.
DOMAIN SELECTION
OUT-OF-PLANE THICKNESS
See Out-of-Plane Thickness.
CROSS-SECTIONAL AREA
See Cross-Sectional Area.
MODEL SETTINGS
The settings for the Molar volume and Transport number determine how the electrolyte
velocity is calculated in the model. The default settings correspond to lead acid battery
using sulphuric acid as electrolyte.
Note that the setting will only impact how potentials are interpreted in communication
between the physics and the Materials node. If the From material option is not in use
for equilibrium potentials or electrode kinetics, the setting has no impact.
This section is available when the Advanced Physics Options is selected in the Show More
Options dialog box shown when the Show More Options button ( ) is clicked.
DEPENDENT VARIABLES
This physics interface defines the following dependent variables (fields): Electrolyte
potential, Electrolyte salt concentration, Electric potential, and Porosity. The names can
Domain, Boundary, Edge, Point, and Pair Nodes for the Lead-Acid
Battery Interface
Physics nodes are available from the Physics ribbon toolbar (Windows users), Physics
context menu (Mac or Linux users), or right-click to access the context menu (all
users).
The Lead-Acid Battery Interface shares all but a few of its domain, boundary, edge,
point, and pair nodes with the other battery interfaces as described in Shared Nodes
for Battery Interfaces.
These domain (and one boundary) nodes are unique for this physics interface and
described here:
In the COMSOL Multiphysics Reference Manual, see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Reservoir
The Reservoir node defines a current balance and a material balance for the salt, here
+ -
H / SO 4 , in a free electrolyte domain.
Use this node for domains that do not contain electrode nor separator material.
The settings of the Electrolyte conductivity σl (SI unit: S/m) and the Electrolyte salt
diffusivity Dl (SI unit: m2/s) values defines the electrolyte salt transport due to
migration and diffusion.
Also convective transport can be of importance in lead acid cells. You may set the Mean
surface-averaged velocity expression to use analytical expressions for the velocity, based
on the volume changes and the electrolyte current for either the Negative electrode
main reaction or Positive electrode main reaction, or use User defined for an arbitrary
expression for the Velocity u (SI unit: m/s)
For the domain equations in the electrolyte, see the Theory for the
Lead-Acid Battery Interface.
Initial Values
The Initial Values node sets the initial values for the electrolyte potential, the electric
potential, and the electrolyte salt concentration. Use multiple Initial Values nodes to
specify different initial values in different domains.
For many electrochemical problems that use nonlinear electrode kinetics, such as
Butler-Volmer kinetics, providing reasonable initial values can significantly improve
solver convergence.
A good value for the Electric potential (SI unit: V) in electrode and porous electrode
domains can usually be derived from the boundary conditions. For instance, if a
boundary has been grounded or set to a cell potential, use that value as the initial value
also in the adjacent domain. For the Electrolyte potential (SI unit: V) a good initial
value is often the negative of the equilibrium potential of the grounded electrode.
The initial value of the Porosity (dimensionless) will set the initial electrode
state-of-charge (SOC) in the Negative Porous Electrode and Positive Porous
Electrode nodes.
By addition of Porous Electrode Reaction subnodes, the feature is also able to define
the charge transfer reactions that take place at the interface between the pore
electrolyte and the porous electrode matrix. A Porous Matrix Double Layer
Capacitance and a Porous Matrix Adsorption/Desorption Reaction (for the Battery
with Binary Electrolyte interface), can also be added to the node.
ELECTROLYTE PROPERTIES
See the Reservoir node for the settings of this section.
ELECTRODE PROPERTIES
The Porosity at zero charge ε0 and Porosity when fully charged εmax determines the
capacity of the electrode and defines the soc variable. The Exponent on porosity in
electrode exm defines how the effective transport parameters in the porous media
depends on the porosity.
See the Electrode for more information about the settings of this node.
For the domain equations in the electrolyte, see the Theory for the
Lead-Acid Battery Interface.
The difference between the Positive and Negative Porous Electrode nodes are the
default values for some of the parameters, for instance of the Equilibrium Potential of
the Porous Electrode subnode.
Separator
Use a Separator node to define a current balance in the electrolyte and a material
+ -
balance for the salt, here H / SO 4 . Both the material and current balances are
defined for porous media.
For the domain equations in the electrolyte, see the Theory for the
Lead-Acid Battery Interface.
Due to the lower computational load of the single particle model, the interface is
suitable for models including extended cycling for, for instance, life-time simulations
and thermal simulations of battery packs.
The Single Particle Battery interface models the charge distribution in a battery using
one separate single particle model each for the positive and negative electrodes of the
battery. The core simplification of the single particle model is to treat the large number
of individual electrode particles as a single particle, assuming that the reaction current
distribution across the porous electrodes is uniform. The single particle formulation
accounts for solid diffusion in the electrode particles and the intercalation reaction
kinetics. The ohmic potential drop in the separator is also included in the model, using
a lumped solution resistance term.
The single particle model is either solved in a global version, where all potential
dependent variables are solved globally, or in a local version (available in 1D, 2D and
3D), where the variables are solved for locally in the same spatial dimension as the
physics interface. The local version, which renders a significantly higher computational
load, is suitable for modeling non-homogeneous aging in cells where local differences
in the model parameters (such as temperature) induce localized differences in the
battery cell current density. It could also be used for modeling, for instance, cold start
of a battery pack, where local currents will cause local heating with a positive feedback
when the increased temperature raises the local electrolyte conductivity. Note that the
global and local approach both require fairly low currents for the single particle
approach to be valid, as described above. However, it is possible to set up the
The local model contains both global and local variables. Conversion between local
and global variables are done by integrating over the total cell volume.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is spb.
DOMAIN SELECTION
This section is available in 1D, 2D, and 3D. The domain selection of the interface is
used to calculate the battery volume.
OPERATION MODE
Use the Operation mode setting to specify the load of the battery. Galvanostatic lets you
specify the Applied current (A). Charge-discharge cycling lets you specify the settings that
are required to apply a charge-discharge cycle, including constant current, constant
voltage and rest periods. Potentiostatic allows for specifying the Applied voltage (V) and
Circuit voltage source lets you connect to the Electrical Circuits interface.
BATTERY SETTINGS
You may define the host capacities of the two electrodes (which in term will set the
total capacity of the battery) either by the Cell capacity or the Volume fractions
alternative. The for the cell capacity case, the electrode volume fractions are derived by
setting explicit values for the Battery cell capacity in combination with the Fraction of
hosted capacity excess in negative electrode, which can be used to specify the relation in
size between the two electrodes. The fractional volumes correspond to the relative
thicknesses of the porous electrodes to the total thickness of the battery cell. (The
Use the Model setting (available in 1D, 2D, and 3D) to switch between a Global or Local
definition of the dependent variables of the model. The difference between the global
and local model is described above.
Cell state-of-charge sets the concentrations based on the cell capacity and the Initial cell
state of charge (1), Cell voltage sets the concentrations based on the cell capacity, and
the Electrode state-of-charges lets you specify the state-of-charge of each electrode
individually.
The Fraction of cyclable species loss after cell assembly can be used to reduce the amount
of cyclable species in relation to the capacity specified in the Battery settings section.
Use this setting to define irreversible losses of cyclable material, for instance due to
solid-electrolyte-interface (SEI) formation in a lithium-ion battery.
In certain cases the Butler-Volmer kinetics expression, used to define the electrode
reactions, can be inverted in order to define the electrode overpotential as an analytical
function of the current. The advantage of this is that the potential then does not have
to be solved for explicitly as a dependent variable in the model, and the nonlinearities
associated with the exponential Butler-Volmer expression can be avoided. This
improves computational efficiency significantly. The inverse expression can be used
only when
• the anodic and cathodic transfer coefficients are both equal to 0.5
• only one porous electrode reaction is present per electrode
• no double layer capacitance is present
• the battery is running in Galvanostatic mode
BATTERY VOLUME
This setting is available in 0D.
CROSS-SECTIONAL AREA
This setting is available in 1D. The setting is used to calculate the battery volume. See
Cross-Sectional Area.
OUT-OF-PLANE THICKNESS
This setting is available in 2D. The setting is used to calculate the battery volume. See
Out-of-Plane Thickness.
Note that the setting will only impact how potentials are interpreted in communication
between the physics and the Materials node. If the From material option is not in use
for equilibrium potentials or electrode kinetics, the setting has no impact.
This section is available when the Advanced Physics Options is selected in the Show More
Options dialog box shown when the Show More Options button ( ) is clicked.
ADVANCED SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box. In this section you can set the
Initial values of some of the dependent variables in the interface. The settings are
normally only needed if the model is solved without an initial Current Distribution
Initialization study step in the Study sequence. Also, you can set the check box Exclude
heat source variable from Jacobian. The check box is selected by default in 3D and is not
selected by default in other space dimensions. Note that this check box is relevant only
when coupling to heat transfer interfaces.
The settings of the Model Inputs are used to specify the electrolyte salt concentration
when you use the Materials node to provide the electrolyte conductivity.
The Electrolyte solution resistance setting may either be Based on thickness and
conductivity or User defined. The first option will calculate the lumped electrolyte
resistance based on the Separator thickness (m) and the Electrolyte conductivity (S/m),
Effective conductivity correction (1) and the Electrolyte volume fraction in separator (1).
The Fraction of separator resistance value (1) is used to correct for the fact that the
lumped effective electrolyte thickness is thicker than the separator due to distribution
effects in the porous electrodes. It is typically a value larger than 1.
The Separator thickness setting can also be used in combination with the parameters
below to calculate the cross-sectional area of the separator in the battery, and it may
also be used to compute to lumped solution resistance.
Positive Electrode
The settings of this node are used to define the properties of the positive electrode
material.
Subnodes (one Porous Electrode Reaction is added by default) are used to define the
properties of the electrochemical reactions in the electrode. You may also add
additional Porous Electrode Reaction and Porous Matrix Double Layer Capacitance
subnodes. These subnodes are available by clicking the parent node and selecting it
from the Attributes menu, or by right-clicking the parent node.
If the Use simplified reaction kinetics expression for check-boxes for the Positive
electrode has been enabled in the Porous Electrode Reaction Kinetics section on the
top-node, only one single Lithium Insertion Reaction is present, and it cannot be
deleted.
ELECTRODE SETTINGS
The Solid volume fraction (1) is used to calculate the electrode surface area of the
electrode. If the battery capacity is defined by Volume fractions on the parent interface
node, this setting will also have an impact on the resulting electrode host capacity.
PARTICLE INTERCALATION
This section handles the settings for the intercalating species in the electrode particles.
For the remaining settings of this section see the Porous Electrode node in the
Lithium-Ion Battery and Battery with Binary Electrolyte interfaces.
Negative Electrode
The settings of this node are used to define the properties of the negative electrode
material. The settings are identical to the Positive Electrode.
For the rest of the settings of this node, see the Insertion Reaction.
Instead of differentiating between the various processes in the negative and positive
electrodes, and the electrolyte, the Lumped Battery interface makes use of a small set
of lumped parameters for adding contributions for the sum of all voltage losses in the
battery, stemming from ohmic resistances and (optionally) charge transfer and/or
diffusion processes. The applicability of the lumped approach depends on various
internal battery parameters such as the combination of electrode and electrolyte
materials, porosities and layer thicknesses, and the electrode-electrolyte chemistry, in
relation to the current load.
Due to the limited set of parameters needed, the interface is suitable when only little
information is available about the internal structure, or chemistry, of a battery. Heat
sources are calculated automatically by the physics interface and can be used together
with a Heat Transfer interface for thermal simulations.
The Lumped Battery interface is based on a similar set of equations as The Single
Particle Battery Interface, with additional simplifications based on the assumption that
the activation and concentration overpotentials can be attributed to one electrode only.
The lumped model is either solved in a global version, where the soc dependent
variable and diffusion extra dimension are defined globally, or in a local version
(available in 1D, 2D, and 3D), where the variables are solved for locally in the same
spatial dimension as the physics interface. The local version, which renders a
significantly higher computational load, is suitable for modeling inhomogeneous cells
where local differences in the model parameters (such as temperature dependent
resistances) induce localized differences in the battery cell current density. One
example could be cold start of a battery pack, where local currents will cause local
The local model contains both global and local variables. Conversion between local
and global variables are done by integrating over the total cell volume.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is lb
DOMAIN SELECTION
This section is available in 1D, 2D and 3D. The domain selection of the interface is
used to calculate the battery volume.
OPERATION MODE
Use the Operation mode setting to specify the load of the battery.
Galvanostatic lets you specify the Applied current (A). This can be used to specify the
battery current load. (The expression may be time-dependent using the character t for
time.). Charge-discharge cycling mode lets you specify the settings that are required to
apply a charge-discharge cycle, including constant current, constant voltage and rest
periods. Potentiostatic allows for specifying the Applied voltage (V) and Power allows
for specifying the Applied power (W). Circuit voltage source lets you connect to the
Electrical Circuits interface.
BATTERY SETTINGS
The Battery Cell Capacity (C) specifies the battery capacity.
The Initial cell state-of-charge (1) specifies the state-of-charge of the battery when the
simulation starts.
HARMONIC PERTURBATION
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options.
Use Perturbation amplitude (A) to specify the perturbation on the applied battery
current. This section is applicable only for frequency domain, perturbation studies
using the Galvanostatic operation mode.
BATTERY VOLUME
A battery volume variable is used in order to calculate a battery heat source variable
([Link], SI-unit: W/m3) from the lumped model. The heat source may typically be
used for thermal simulations in combination with a Heat Transfer interface.
In 1D, the selected domain length, in combination with the Cross-Sectional Area is
used for calculating the volume.
In 2D, the selected domain area, in combination with the Out-of-Plane Thickness is
used for calculating the volume.
In 3D, the battery volume equals the volume of the selected domain.
ADVANCED SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options.
In this section you can set the check box Exclude heat source variable from Jacobian. The
check box is selected by default in 3D and is not selected by default in other space
dimensions. Note that this check box is relevant only when coupling to heat transfer
interfaces. Excluding the heat source from the Jacobian may decrease the computation
time..
Specify the Open circuit voltage at reference temperature (V) and Temperature derivative
of open circuit voltage (V/K) as a function of state-of-charge, in the corresponding
tables. Linear interpolation between the provided values, as well as linear extrapolation
outside the range of values will be used. Note, the temperature derivative of open
circuit voltage data is used to calculate the temperature dependence of the open circuit
voltage and in the calculation of the reversible (entropic) contribution and heat of
mixing contribution to the total heat source.
Voltage Losses
The settings of this node define the voltage losses that occur in the battery when a
current is applied.
OHMIC OVERPOTENTIAL
The Ohmic Overpotential varies linearly with the battery current. The value of the Ohmic
overpotential at 1C (V) specifies the value of ohmic voltage loss for a battery current of
1C. The 1C current equals the battery capacity value, set a the interface top node,
divided by 1 h.
ACTIVATION OVERPOTENTIAL
Enable Include activation overpotential to add a voltage loss related to the charge
transfer processes in the battery. A Dimensionless charge exchange current value of 1
corresponds to an activation overpotential of approximately 25 mV for a battery
current of 1C. For higher currents the activation overpotential varies approximately
logarithmically with the current magnitude.
Enable Include double layer capacitance to include capacitative charging of the double
layer over which the charge transfer processes occur. These effects typically occur on a
time scale of tens of microseconds, or less.
For Particle diffusion, the magnitude of the concentration overpotential will depend
both on the Open circuit voltage, specified on the Cell Equilibrium Potential node, and
the cycling history of the battery. The value of the Diffusion time constant is related to
the relaxation time of the battery for reaching steady state at open circuit. Increasing
the value of the diffusion time constant will generally increase the concentration
overpotential.
For the Resistor-Capacitor pair option, the concentration overpotential will depend
both on the RC time constant and the RC potential at 1C parameters. The latter
parameter equals the steady-state overpotential that the RC component will approach
for a 1C constant load. (Note that the Particle diffusion overpotential will never reach
a steady state value for a constant load.)
PARTICLE DISCRETIZATION
This section is only available when Include concentration overpotential is enabled, using
a Particle diffusion model. The section handles the settings for how the extra dimension
used for solving the diffusion equation is defined. For the settings of this section, see
the Particle Intercalation node in the Lithium-Ion Battery and Battery with Binary
Electrolyte interfaces.
Capacity Loss
The settings of this node define the capacity loss that occurs in the battery due to
parasitic reactions.
CAPACITY LOSS
The Loss kinetics can be specified by either using a Built in expression or an User defined
expression. The Built in option calculates a loss current based on a Calendar aging time
constant that defines the rate of the parasitic reactions, and dimensionless aging factors
dependent on Voltage, Current, Aging history and Temperature, respectively. The loss
current is used to calculate the accumulated capacity loss corresponding to the parasitic
reactions.
All aging factors having the value of 1 would result in a constant capacity fade, starting
from initial time, reaching 0 remaining cell capacity when the time is equal to the
Enable Voltage to specify the Offset potential and Transfer coefficient parameters, that
relate how the rate of the parasitic reactions changes when the battery voltage deviates
from the average open circuit voltage. In many battery systems, it is seen that high
state-of-charge values (typically resulting in high battery voltage) accelerate capacity
loss.
Battery lifetime is closely related to the amount of cycled equivalent full cycles. Enable
Current to specify the Cycling capacity loss factor parameter, that defines the additional
capacity loss induced by cycling. For example, a value of 2·10−4 (with all other aging
factors set to 1) would result in an additional capacity fade of 20% for a cycled amount
corresponding to 1000 cycles of the initial capacity.
Enable Aging history to define a decelerating aging rate. Specify the Decelerating aging
factor that defines how many times the capacity loss rate will have been reduced when
all capacity has been lost.
The User defined option of Loss kinetics can be used to explicitly specify the Loss
current.
Short Circuit
Use this setting to define the short circuit scenario inside a lumped battery. Define the
Short Circuit Conductance in S to evaluate short circuit currents and corresponding heat
source. This node can be used to model self discharge in a lumped battery, along with
other short circuit scenarios.
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. Additional circuit elements such as resistors, capacitors and
inductors may be added by the user.
Figure 5-1: Circuit elements and corresponding node numbers in the Electrical Circuit
interface added by the Battery Equivalent Circuit entry in the Model Wizard.
The following domain and boundary nodes are described in this section and available
for the interfaces as noted (listed in alphabetical order):
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Electrolyte
Use the Electrolyte node to define an electrolyte domain that only conducts current in
the ion conducting phase. The combined charge and mass transfer in the electrolyte is
defined by the node.
The Convection section is available when the Convection check box is selected on the
interface top node. The Velocity field u (SI unit: m/s) of the solvent is specified as a
feature input. Select the source of velocity field from the velocity field list.
The Electrolyte conductivity, σl (SI unit: S/m), parameter will define how the current
in the domain depends on the gradient of the potential and the concentration variable,
the Diffusion coefficient (SI unit: m2/s), defines how the flux of ions relates to
concentration gradients, and the Transport number t+ (also called transference
Use the Activity dependence on concentration parameter to modify the ion activity. The
default is 1(dimensionless).
For the Battery with Binary Electrolyte interface, also enter the Solution density ρ
(SI unit: kg/m3) (the electrolyte density). The default is 1.293e3 kg/m3 (A typical
value for a KOH electrolyte).
Note that the electrolyte in this case does not refer to the pore electrolyte in porous
electrodes (which should be defined by a Porous Electrode node instead). For porous
separators, use the Separator instead.
For the domain equations in the electrolyte, see the Theory for the
Battery with Binary Electrolyte Interface and Theory for the Lithium-Ion
Battery Interface sections.
Separator
Use a Separator node to model electrolyte charge and mass transport in an
electronically isolating porous matrix. Use correction factors to account for the
lowered diffusion coefficients in the electrolyte and the lowered conductivities of the
electrode, due to the lower volume fractions of each phase and the tortuosity of the
porous matrix.
See also the Electrolyte node for more information about some of the settings of this
node.
DISSOLVING-DEPOSITING SPECIES
See the Porous Electrode node for more information about some of the settings of this
node.
Porous Electrode
The Porous Electrode node sets up current balances for a porous electrode matrix and
a pore electrolyte, as well as the mass balance for the pore electrolyte in a domain. The
node may also set up a mass balance of an intercalating species in the electrode
particles. By addition of Porous Electrode Reaction subnodes, the feature is also able
to define the charge transfer reactions that take place at the interface between the pore
Use correction factors to account for the lowered diffusion coefficients in the
electrolyte and the lowered conductivities of the electrode, due to the lower volume
fractions of each phase and the tortuosity of the porous matrix.
See also the Electrolyte and Electrode nodes for more information about the settings
of this node.
ELECTROLYTE PROPERTIES
See the Electrolyte node for more information about the settings of this section.
ELECTRODE PROPERTIES
See the Electrode node for more information about the settings of this section
PARTICLE PROPERTIES
By selecting Intercalating particles, the node adds a mass balance and the corresponding
dependent variables for solving for an intercalating concentration. The settings related
to the intercalation are set on the Particle Intercalation child node.
DISSOLVING-DEPOSITING SPECIES
Use the settings of this section to define species that participate in
dissolution-deposition electrode reactions within the porous electrode, for instance,
metal deposition/dissolution or oxide formation.
Dependent variables for the volumetric molar concentration are added for each
dissolving-depositing species. These variables can be used to keep track of the amount
of reacted material in the porous electrode. The total molar dissolution/deposition
rate depends on the reaction rates and stoichiometry, defined in the Porous Electrode
Reaction subnodes.
The Density and Molar mass determine the electrode growth velocity and the resulting
dissolved/deposited layer thickness. By multiplying by the electrode surface area (in
the case of multiple electrode reaction the average surface area is used), the change in
electrode and electrolyte volume fractions can be also be calculated. By use of the Add
volume change to electrode volume fraction (not available for Separator node) and
Subtract volume change from electrolyte volume fraction check boxes you may define
how these volume changes should be included in the model.
Thickness variables, based on the surface area, are also defined that you for instance
can use to couple to the Film Resistance (see below).
FILM RESISTANCE
A film resistance is typically used for modeling the build-up of a SEI (solid electrolyte
interface) layer in lithium-ion battery graphite electrodes. See also the Electrode
Surface node.
Particle Intercalation
This node is available as a subnode to the Porous Electrode and Additional Porous
Electrode Material nodes in The Lithium-Ion Battery Interface and The Battery with
Binary Electrolyte Interface interfaces. The node is only visible if Intercalating Particles
has been selected on the parent node.
SPECIES SETTINGS
The Initial species concentration cs,init (SI unit: mol/m3) is used by the solver and can
be used to specify the initial state-of-charge of the electrode.
The Maximum species concentration cs,max (SI unit: mol/m3) defines the maximum
possible concentration of the intercalated concentration. The value is used by Porous
Electrode Reaction when the Kinetic expression type has been set to Lithium Insertion.
Fick’s law and Baker-Verbrugge both add an extra dimension, defined on the porous
electrode domain, within which a diffusion equation is applied in order to solve for the
concentration distribution along the depth within a single particle of the electrode.
The transport in the extra dimension is defined by the Intercalation diffusivity Ds (SI
unit: m2/s).
Fick’s law defines the molecular flux of the intercalated species as the product of the
diffusion coefficient and the concentration gradient. The Baker-Verbrugge models adds
a correction to the diffusion coefficient based on the Equilibrium potential, Eeq, of the
intercalation reaction. This potential is defined in the Equilibrium Potential section
below. Generally, the Baker-Verbrugge model is better at capturing state-of-charge
dependent transport rates and staging phenomena, whereas Fick’s law may be
numerically more stable. Note that the parameter values of the diffusivity from the
material library generally have been estimated assuming Fick’s law and may have to be
reduced when switching to Baker-Verbrugge.
Use No spatial gradients to assume a constant concentration along the depth of the
particle. No spatial gradients significantly reduces the computational load of the model.
The geometry in the extra dimension is one-dimensional and is defined by the Particle
type (Spheres (the default), Cylinders, or Flakes) together with the Particle mean
center-surface distance rp.
Use the Minimum and the Maximum electrode state-of-charge, SOCmin (dimensionless)
and SOCmax (dimensionless) to specify a nominal state-of-charge window for the
electrode. These values are used together with the Initial Cell Charge Distribution
node to define an initial cell state of charge.
PARTICLE DISCRETIZATION
This section is not available if No spatial gradients is selected under Particle Transport
Settings.
Use these settings to control the Distribution of the mesh and the Element order of the
extra particle dimension.
The predefined distributions Square or Cubic root sequence create mesh distributions
with a denser mesh toward the particle surface.
HEAT OF MIXING
This section is not available if No spatial gradients is selected under Particle Transport
Settings, or if Use fast assembly in particle dimension is enabled under Particle
Discretization.
Include heat of mixing defines a heat source defined as the gradient of the molar
enthalpy times the molar flux of the intercalating species, integrates it over the particle,
and adds it to the total heat source variable in the domain. The molar enthalpy is based
on the Equilibrium potential of the insertion reaction, defined below.
The heat source is typically used when coupling the battery interface to a heat transfer
interface using the Electrochemical Heating node.
The heat of mixing is usually small in relation the other heat sources in the battery, such
as Joule heating in the electrolyte, or the heat of reactions.
EQUILIBRIUM POTENTIAL
This section defines the Equilibrium potential of the intercalation reaction, Eeq
(SI unit: V), used by the Particle Transport Properties and Heat of Mixing sections, when
applicable.
When modeling diffusion in the particle you may enable the Calculate stress and strain
check box to compute a number stress and strain related variables in the particle. The
variables are based on the Young’s modulus, the Poisson’s ration and the relative
See also Stress and strain in intercalating particles in the theory chapter below.
See the Electrode Reaction node in Shared Physics Features in the Current
Distribution Interfaces for a general description of the Equilibrium Potential,
Electrode Kinetics and Stoichiometric Coefficients sections.
ELECTRODE KINETICS
The battery interfaces have some tailor-made kinetic expressions types (see also
Electrode Reaction).
Lithium Insertion
The charge transfer reaction can be described by the reaction at the surface of the
electrode particles with subsequent lithium intercalation. This solves the charge
transfer current density in the particles in combination with the diffusion of the
intercalating species (see the theory section).
The Lithium insertion option is available for the Lithium-Ion Battery interface. The
expression is suitable for any positive or negative intercalation reaction. The Reference
exchange current density io,ref(T) (SI unit: A/m2) depends on the electrode material in
use and the temperature.
Insertion Reaction
The Insertion reaction option is available for the Battery with Binary Electrolyte
interface. It can be used for both the positive and the negative electrode main reactions
By enabling Extrapolate insertion kinetics using first order kinetics for high and low socs
numerical stability can be improved for solid concentration values close to 0 or the
maximum concentration. The feature is enabled by default. Use the Extrapolation soc
window width to specify how close to 0 or the maximum soc the extrapolated kinetics
expression should be used.
The option is available both for the Lithium Insertion and the Insertion Reaction
kinetics.
When using a Particle-based area the particle radius is taken from the parent node if
using Intercalating particles (Lithium-ion and Battery with Binary Electrolyte
interfaces).
For the Lead-Acid Battery interface the active surface area can also be calculated as a
function of the porosity of the electrodes, which changes during discharge and
recharge as defined by the Maximum active surface area, amax (dimensions L2/L3; that
is, the SI unit is 1/m) and the Morphology number (dimensionless).
Reaction Source
Use the Reaction Source node to define sources or sinks in the mass balance of the salt
in the electrolyte. To display this option, click the Show More Options button ( ) and
You specify the reactions occurring on the additional material, giving rise to fluxes in
and out from the electrode particles, using Porous Electrode Reaction subnodes,
which is available from the context menu (right-click the parent node) or from the
Physics toolbar, Attributes menu. Also add a Porous Matrix Double Layer Capacitance
and, for the Battery with Binary Electrolyte interface, a Porous Matrix Adsorption/
Desorption Reaction subnode.
The current sources and sinks defined in the Additional Porous Electrode Material
subnodes are also used in the Porous Electrode node domain equations that describe
the electrolyte and electrode current balances, and the mass balance for the electrolyte
salt.
This physics node is available for the Lithium-Ion Battery and Battery with Binary
Electrolyte interfaces.
See the Porous Electrode for more information about the settings of this node.
Concentration
Add the Concentration boundary condition from the Electrolyte submenu to set the
Concentration on boundary of the salt to a given value or expression.
No Flux
A No Flux boundary condition is added by default for all external boundaries to an
electrolyte domain.
Select additional nodes from the Electrolyte submenu overwrite this boundary
condition.
The flux of ions will be set in the normal direction to the boundary.
The node also offers the possibility to balance the electrodes by calculating the
electrode phase volume fractions.
The node only has an effect on the actual equations solved for when used in a Current
Distribution Initialization study step. SOC and porosity variables will however be
defined for all study steps. For more information on the functionality of this feature,
see Initial Charge Distribution in the Battery Cell.
Use the Negative Electrode Selection and Positive Electrode Selection subnodes to
select what domains of the battery model that correspond to the negative and positive
electrodes, respectively. The node is only available in the Lithium-Ion Battery and
Battery with Binary Electrolyte interfaces.
The entered Initial cell voltage Ecell,0 (SI unit: V) needs to be a valid value that can be
physically achieved for the combination of state-of-charge windows and equilibrium
potentials of the active materials of the two electrodes (as defined in the Porous
Electrode and Porous Electrode Reaction node). The default is 3 V.
The Initial cell state-of-charge SOCcell,0 (dimensionless) should range between 0 and
1; 0 representing a fully discharged and 1 a completely charged cell. The default is 0.5.
The Battery cell capacity Qcell,0 (SI unit: C) is physically limited by the maximum
amount of cyclable species in the selected electrode materials (as defined in the Porous
Electrode node), and the model geometry (as defined in the Geometry node). A too
The feature computes the electrode volume fraction variable for each of the electrodes,
which may be used when defining the electrode volume fractions in the Porous
Electrode nodes. The electrode balancing does not support models using Additional
Porous Electrode Material nodes.
The Fraction of cyclable species loss after cell assembly fcycl,loss (dimensionless) and
Fraction of hosted capacity excess in the negative electrode fhost,neg,ex (dimensionless)
are properties that strongly impact the charge distribution in many battery cell
chemistries. The default values are 0.08 and 0.20, respectively, and represent a typical
case of a fresh lithium-battery cell with a 20% excess of carbon-based negative
electrode, and where 8% of the cyclable lithium is lost due to irreversible process at cell
assembly and initial “formation” cycling.
To balance the electrodes, enter in the Porous Matrix properties section of the Positive
Porous Electrode nodes either <physics interface name>.epss_neg or
physics interface name>.epss_pos (for example, batbe.epss_neg or
liion.epss_pos) in the Electrode Volume Fraction text field, depending on the porous
electrode being a negative or a positive electrode.
The node is only available in the Lithium-Ion Battery and Battery with Binary
Electrolyte interfaces.
The node is only available in the Lithium-Ion Battery and Battery with Binary
Electrolyte interfaces.
The electrolyte in the modeled batteries has to be a quiescent binary 1:1 electrolyte,
containing lithium cations (Li+) and anions (An-).
In the electrolyte and pore electrolyte, two variables are defined, φ l and cl. Assuming
electroneutrality, cl denotes both the Li+ concentration and the An- concentration.
The domain equations in the electrolyte are the conservation of current and the mass
balance for the salt according to the following:
2σ l RT ∂ ln f
∇ ⋅ – σ l ∇φ l + ------------------ 1 + -------------- ( 1 – t + )∇ ln c l = i tot + Q l
F ∂ ln c l
∂c l i tot + Q l
ε l ------- + ∇ ⋅ ( – ε l D l ∇c l ) = R l – --------------------- t +
∂t F
where σl denotes the electrolyte conductivity, f the activity coefficient for the salt, t+
the transport number for Li+ (also called transference number), itot the sum of all
electrochemical current sources, and Ql denotes an arbitrary electrolyte current source.
In the mass balance for the salt, εl denotes the electrolyte volume fraction, Dl the
electrolyte salt diffusivity, and Rl the total Li+ source term in the electrolyte.
The domain equation for the electrode is the conservation of current expressed as
∇ ⋅ i s = – i tot + Q s
+ -
Li + e + Θ s ⇔ LiΘ s
where Θs denotes a free reaction site and LiΘs an occupied reaction site at the solid
particle surface.
The concentration of Θs does not have to be solved for since the total concentration
of reaction sites, cs,max, is assumed to be constant, implying that
c Θ s = c s, max – c s
cs
soc = ----------------
c s, max
The electrode reaction occurs on the particle surface and lithium diffuses to and from
the surface in the particles. The mass balance of Li in the particles is described as
∂c s
-------- = – ∇ ⋅ ( – D s ∇c s )
∂t
where cs is the concentration of Li in the solid phase. This equation is solved locally by
this physics interface in a 1D pseudo dimension, with the solid phase concentrations at
the nodal points for the element discretization of the particle as the independent
variables. The gradient is calculated in Cartesian, cylindrical, or spherical coordinates,
∂c
-------s- = 0
∂r r=0
∂c s
– D s -------- = – R LiΘ
∂r r = rp
where RLiΘ denotes the molar flux of lithium at the particle surface, caused by the
electrochemical insertion reactions.
The stoichiometric notations used in the physics interface are according to the general
electrochemical reaction as expressed below:
where the stoichiometric coefficients, νi, is positive (νox) for products and negative
(νred) for reactants in a reduction reaction. From this definition, the number of
electrons, n, in the electrode reaction can be calculated according to
n = – zi νi
i
where zi denotes the charge of species i. According to these relations, the lithium
insertion reaction has the following stoichiometric coefficients:
ν Li+ = – 1
ν An - = 0
ν LiΘs = 1
with a resulting n = 1. These are the default settings for the reactions in this physics
interface. When modeling other reactions, such as irreversible anion oxidation or
noninsertion solid lithium metal deposition, other coefficients have to be used.
In the porous electrodes, itot, denotes the sum of all charge transfer current density
contributions according to:
ν Li+, m i loc, m
R l, p = – Av,m -------------------------------
nm F
m
It is also possible to specify additional reaction sources, Rl, src, that contribute to the
total species source according to:
R l = R l, p + R l, src
where the last factor (normally equal to 1) is a scaling factor accounting for differences
between the surface area (Av,m) used to calculate the volumetric current density, and
the surface area of the particles in the solid lithium diffusion model. Nshape is 1 for
Cartesian, 2 for cylindrical, and 3 for spherical coordinates.
If the solid phase diffusion coefficient is very large or if the spatial concentration
gradients in the particle can be neglected, the solid phase concentration evolution in
time can be calculated from
∂ε s c
------------s- = R vΘ
∂t
The molar source RvΘ at the positive and negative electrodes is given as follows:
A resistive film (also called solid-electrolyte interface, SEI) might form on the solid
particles resulting in additional potential losses in the electrodes. To model a film
resistance, an extra solution variable for the potential variation over the film, Δ φ s, film,
is introduced in the physics interface. The governing equation is then according to
η m = φ s – Δφ s, film – φ l – E eq, m
It is, however, possible to compute the initial charge distribution taking into account
that initially, when no current is applied on a battery cell and no sources of polarization
apply, it is only the difference between the positive and negative electrode material
equilibrium potentials that dictates the cell voltage. Two constraints can be set up with
the battery cell capacity and voltage as inputs for this computation:
• The battery cell capacity, Qcell,0 (SI unit: C), is equal to the sum of the charge of
cyclable species, Qcycl, in the positive and negative electrodes (and additional porous
electrode materials if present in the model):
Q cell,0 = Q cycl,pos + Q cycl,neg + Q cycl,addm
Q cycl,electrode = c s,avg,cycl,electrode Fε s dΩ
Ω electrode
where εs denotes the electrode volume fraction and cs,avg,cycl,electrode is the local
average cyclable species concentration defined as:
c s,avg,cycl,electrode = c s,avg,electrode – soc min c s, max
The cell voltage is restricted to the open-circuit potential of the electrode materials
and the cell voltage should be set within the following range:
E eq,pos ( soc max ) – E eq,neg ( soc min ) ≤ E cell,0 ≤ E eq,pos ( soc min ) – E eq,neg ( soc max )
where the subscripts max and min of the electrode state-of-charge indicate the
maximum and minimum allowed amount of intercalated species in terms of
state-of-charge in the electrode materials.
For any additional electrode material, the intercalated concentration is constrained
to fulfill
E eq,addm ( soc addm, 0 ) = φ s – φ l
Alternatively, the potential constraints can be replaced to instead constrain the initial
cell state-of-charge:
• The cell state-of-charge, soccell,0 (dimensionless), relates the battery cell capacity to
the charge of cyclable species in each electrode:
Q cycl,neg + Q cycl,addm,neg = Q cell,0 soc cell,0
The battery interface can supply electrode volume fractions that balance the electrodes.
These are calculated by connecting the amount of active host material — that is, the
maximum amount of cyclable species in the electrode — to the cell capacity initial.
Here, the active host material in the positive electrode is set equal to the cell capacity.
In some battery chemistries, for instance lithium-ion batteries, the host material
amount in both electrodes deviate. Especially, negative carbon-based electrodes are
often set in excess compared to the positive electrode to account for irreversible losses
in the cell during operation. Cyclable species can in some cases be lost directly after cell
assembly. The following relations therefore apply:
Q cell,0
Q host,pos,0 = -----------------------------
1 – f cycl,loss
where Qhost (SI unit: C) is the amount of active host material, fcycl,loss the fractional
loss of cyclable species, and fhost,neg,ex the fractional excess of negative active host
material.
To calculate the electrode volume fraction, the fact that the amount of active host
material can be computed from the following equation needs to be considered:
The expression for the electrode volume fraction in each electrode is therefore:
Q host,electrode,0
ε s = ----------------------------------------------------------
Δsocc s, max FdΩ
Ω electrode
From the electrode volume fraction it is shown that the battery cell capacity should be
selected carefully, because the capacity is limited by the electrode material and size. The
capacity should never be set so that the electrode volume fraction is larger than 1.
Note that electrode balancing described as above does not take into account additional
electrode materials.
Since atomic diffusion in solids is a much slower process than elastic deformation,
mechanical equilibrium is established much faster than that of diffusion. Hence,
mechanical equilibrium can be treated as a static equilibrium problem. In the analysis
below, the electrode particles (spheres or cylinders) are assumed to be isotropic linear
elastic solids.
The relative change in volume δV/V0 is typically dependent on the solid phase
concentration cs (or the state-of-charge variable soc). Note that cs is solved for in a 1D
extra dimension using spherical or cylindrical coordinate systems (for spheres or
cylinders, respectively), as described above. In the equations presented below, the
relative volume change is considered to be a generic function of the concentration ΔV/
V0 = fvol(cs(r)).
1 1
ε r ( r ) = ---- [ σ r ( r ) – 2νσ θ ( r ) ] + --- f vol ( c s ( r ) )
E 3
1 1
ε θ ( r ) = ---- [ σ θ ( r ) – ν ( σ θ ( r ) + σ r ( r ) ) ] + --- f vol ( c s ( r ) )
E 3
where E (SI unit: Pa) is Young’s modulus and ν (SI unit:1) is Poisson’s ratio. It is
assumed that these elastic properties are independent of concentration.
The expressions for radial and tangential stresses in a spherical particle of radius rp that
satisfy the boundary condition σr(rp) = 0 and remain finite at r = 0, can be obtained as
follows, by solving the equation for static mechanical equilibrium in the absence of any
body force:
r r
p
σ r ( r ) = --------------------- ----3- f vol ( c s ( r′ ) )r′ dr′ – ----3- f vol ( c s ( r′ ) )r′ dr′
2E 1 1
2 2
3(1 – υ) r r
p0 0
where the two integrals represent contributions, respectively, one given by an integral
over the entire volume of the spherical particle and another given by an integral over
a spherical volume of radius r within the particle. Note, that the tangential component
additionally contains a local term as given by the last term in the expression.
The hydrostatic stress σh(r) (SI unit: Pa) (or the mean stress) is given by
σ r ( r ) + 2σ θ ( r )
σ h ( r ) = --------------------------------------
3
σv ( r ) = σr ( r ) – σθ ( r )
Because of spherical symmetry, one principal shear stress is zero and the other two are
both equal to ( σ r ( r ) – σ θ ( r ) ) ⁄ 2 .
The strain energy density Ws(r) (SI unit: J/m3) accumulated as a result of the elastic
deformation for the isotropically deformed sphere is given as
2 2
σ r ( r ) + 2σ θ ( r ) – 2νσ θ ( r ) ( 2σ r ( r ) + σ θ ( r ) )
W s ( r ) = -------------------------------------------------------------------------------------------------------------
2E
The total elastic strain energy density stored in the host electrode material Ws,tot(r) (SI
unit: J/m3), which provides the driving force for fracture, is obtained as,
rp
3ε s
W s,tot ( r ) = -------
rp
3
- W s ( r′ )r′ 2 dr′
0
1 1
ε r ( r ) = ---- [ σ r ( r ) – ν ( σ θ ( r ) + σ z ( r ) ) ] + --- f vol ( c s ( r ) )
E 3
1 1
ε z ( r ) = ---- [ σ z ( r ) – ν ( σ r ( r ) + σ θ ( r ) ) ] + --- f vol ( c s ( r ) )
E 3
The expressions for radial, tangential and axial diffusion-induced stresses for a
transversely isotropic cylindrical particle of radius rp are,
r r
p
E - ---- 1- 1-
σr ( r ) = --------------------
3 ( 1 – υ ) r2
f vol ( c s ( r′) )r′dr′ – ----
r
2
f vol ( c s ( r′ ) )r′dr′
p0 0
r r
p
σ θ ( r ) = --------------------- ----2- f vol ( c s ( r′ ) )r′dr′ + ----2- f vol ( c s ( r′ ) )r′dr′ – f vol ( c s ( r ) )
E 1 1
3(1 – υ) r r
p0 0
r
p
σ z ( r ) = --------------------- ----2- f vol ( c s ( r′ ) )r′dr′ – f vol ( c s ( r ) )
E 2
3(1 – υ) r
p0
σr ( r ) + σθ ( r ) + σz ( r )
σ h ( r ) = ------------------------------------------------------
3
2 2 2
( σr ( r ) – σθ ( r ) ) + ( σθ ( r ) – σz ( r ) ) + ( σz ( r ) – σr ( r ) )
σv ( r ) = -----------------------------------------------------------------------------------------------------------------------------------------
2
The strain energy density Ws(r) accumulated as a result of the elastic deformation for
the isotropically deformed cylinder is given as
2 2 2
σ r ( r ) + σ θ ( r ) + σ z ( r ) – 2ν ( σ r ( r )σ θ ( r ) + σ θ ( r )σ z ( r ) + σ z ( r )σ r ( r ) )
W s ( r ) = ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2E
The total elastic strain energy density stored in the host electrode material Ws,tot(r) is
given as
rp
2ε s
W s,tot ( r ) = -------
rp
2
- W s ( r′ )r′dr′
0
The electrolyte in the modeled batteries has to be a quiescent alkaline binary 1:1
electrolyte, containing a cation (Cat+) and an anion (An-).
In the electrolyte and pore electrolyte, two variables are defined: φ l and cl. Assuming
electroneutrality, cl denotes both the Cat+ concentration and the An- concentration.
The domain equations in the electrolyte are the conservation of current and the mass
balance for the salt according to the following:
∇ ⋅ i l = i tot + Q l
2σ l RT ∂ ln f cl
i l = – σ l ∇ϕ l – ------------------ 1 + -------------- t + + ----- ∇ ln c l
F ∂ ln c l c0
∂ε l c l
- + ∇ ⋅ Nl = Rl
-----------
∂t
il t+
N l = – D l ∇c l + ---------
F
where il denotes the electrolyte current density, σl the electrolyte conductivity, f the
activity coefficient for the salt, t+ the transport number for Cat+ (also called
transference number), itot the sum of all electrochemical current sources, c0 the solvent
i s = – σ s ∇φ s
The domain equation for the electrode is the conservation of current expressed as
∇ ⋅ i s = – i tot + Q s
Reactions occur on the surface of small solid spherical host particles of radius rp. The
reactions can either be electrochemical or chemical adsorption/desorption reactions
not involving electrons.
The electrochemical reactions involve cations or anions and are written generally as
+ - -
ν Cat+ Cat + ν An- An + ne + ν s Θ s ⇔ ν s SΘ s + X+…
where Θs is a free reaction site and SΘs is an occupied reaction site at the solid particle
surface. Additional product species (X, …) are not handled by this physics interface.
The absorption/desorption chemical reactions that do not involve charged species and
are written generally as:
ν s SΘ s ⇔ ν s Θ s + X+…
with a reaction rate k (SI unit: mol/(s·m2)). The signs νs is here positive, and the
reaction rate is defined as positive for reactions going from left to right.
The concentration of Θs does not have to be solved for because the total concentration
of reaction sites, cs, max, is assumed to be constant, implying that
c Θs = c s, max – c s
The reactions occur on the particle surface only, but the intercalant species can be
transported within the particles by diffusion. Within the particles the mass balance can
be written as
∂c s
-------- = – ∇ ⋅ ( – D s ∇c s )
∂t
where cs is the concentration of the intercalating species. This equation is solved locally
by this physics interface in a 1D extra (pseudo) dimension, using a finite element
discretization with the solid phase concentration as dependent variable. The
divergence and gradient operator in the above equation are be applied using either
spherical, cylindrical or Cartesian coordinates, depending on the particle type (spheres,
cylinders, or flakes).
∂c
-------s- = 0
∂r r=0
∂c s
– D s -------- = R s, tot
∂r r = rp
where Rs, tot is the total surface molar flux of the intercalating species due to the
electrochemical and chemical reactions.
The stoichiometric notations used in the physics interface are according to the general
electrochemical reaction as expressed below:
where the stoichiometric coefficients, νi, are positive (νox) for products and negative
(νred) for reactants in a reduction reaction. From this definition, the number of
electrons, n, in the electrode reaction can be calculated according to
In the porous electrodes, itot denotes the sum of all charge transfer current density
contributions according to:
ν Cat +, m i loc, m
R l, p = – A v,m -----------------------------------
nm F
m
It is also possible to specify additional reaction sources, Rl, src, that contribute to the
total species source according to:
R l = R l, p + R l, src
where the last factor (normally equal to 1) is a scaling factor accounting for differences
between the surface area (Av,m) used to calculate the volumetric current density, and
the surface area of the particles in the solid lithium diffusion model. Nshape is 1 for
Cartesian, 2 for cylindrical, and 3 for spherical coordinates.
The surface area is commonly derived from the electrode volume fraction, particle size
and shape according to
N shape ε s
A v, m = -----------------------
rp
If the solid phase diffusion coefficient is very large and/or if the spatial concentration
gradients in the particle can be neglected, the solid phase concentration evolution in
time can be calculated from
The molar source, Rv, tot, due to the electrochemical and chemical reactions at the
positive and negative electrodes is given as follows:
A resistive film (also called solid-electrolyte interface, SEI) might form on the solid
particles resulting in additional potential losses in the electrodes. To model a film
resistance, an extra solution variable for the potential variation over the film, Δ φ s,film,
is introduced in the physics interface. The governing equation is then according to
where Rfilm (SI unit: Ω·m2) denotes a generalized film resistance. The activation
overpotentials, ηm, for all electrode reactions in the electrode then receives an extra
potential contribution, which yields
η m = φ s – Δφ s, film – φ l – E eq, m
+ -
Cat + e ⇔ Y ( s )
where Y could be some metal deposited on the electrode surface. Because this is not
an insertion reaction, cs is of no relevance at this boundary. The stoichiometric
coefficients for the above reaction are:
ν Cat+ = – 1
ν An- = 0
This results in the following boundary condition for the species flux at the electrode -
electrolyte interface
ν Cat+, m i m
n ⋅ Nl = – --------------------------
nm F
-
m
It is, however, possible to compute the initial charge distribution taking into account
that initially, when no current is applied on a battery cell and no sources of polarization
apply, it is only the difference between the positive and negative electrode material
equilibrium potentials that dictates the cell voltage. Two constraints can be set up with
the battery cell capacity and voltage as inputs for this computation:
• The battery cell capacity, Qcell,0 (SI unit: C), is equal to the sum of the charge of
cyclable species, Qcycl, in the positive and negative electrodes:
Q cell,0 = Q cycl,pos + Q cycl,neg
Q cycl,electrode = c s,avg,cycl,electrode Fε s dΩ
Ω electrode
where εs denotes the electrode volume fraction and cs,avg,cycl,electrode is the local
average cyclable species concentration defined as:
c s,avg,cycl,electrode = c s,avg,electrode – soc min c s, max
The cell voltage is restricted to the open-circuit potential of the electrode materials
and the cell voltage should be set within the following range:
E eq,pos ( soc max ) – E eq,neg ( soc min ) ≤ E cell,0 ≤ E eq,pos ( soc min ) – E eq,neg ( soc max )
where the subscripts max and min of the electrode state-of-charge indicate the
maximum and minimum allowed amount of intercalated species in terms of
state-of-charge in the electrode materials.
Alternatively, the second constraint can be replaced with another to allow the initial
cell voltage input to be replaced with initial cell state-of-charge:
• The cell state-of-charge, soccell,0 (dimensionless), relates the battery cell capacity to
the charge of cyclable species in each electrode.
Q cycl,neg = Q cell,0 soc cell,0
The battery interface can supply electrode volume fractions that balance the electrodes.
These are calculated by connecting the amount of active host material — that is, the
Q cell,0
Q host,pos,0 = -----------------------------
1 – f cycl,loss
where Qhost (SI unit: C) is the amount of active host material, fcycl,loss the fractional
loss of cyclable species, and fhost,neg,ex the fractional excess of negative active host
material.
To calculate the electrode volume fraction, the fact that the amount of active host
material can be computed from the following equation needs to be considered:
The expression for the electrode volume fraction in each electrode is therefore:
Q host,electrode,0
ε s = ----------------------------------------------------------
Δsocc s, max FdΩ
Ω electrode
From the electrode volume fraction it is shown that the battery cell capacity should be
selected carefully, because the capacity is limited by the electrode material and size. The
capacity should never be set so that the electrode volume fraction is larger than 1.
A lead-acid cell typically consists of five parts: a positive porous electrode (PbO2), a
reservoir of electrolyte, a porous separator, a negative porous electrode (Pb), and two
current collectors/feeders in contact with the positive porous electrode and negative
porous electrode, respectively.
In this section:
- + -
PbO 2 ( s ) + HSO 4 ( aq ) + 3H ( aq ) + 2e ⇔ PbSO 4 ( s ) + 2H 2 O ( l )
- + -
Pb ( s ) + HSO 4 ( aq ) ⇔ PbSO 4 ( s ) + H ( aq ) + 2e
During discharge of the battery the direction of the reactions are from left to right.
cl γ α a Fη – α c Fη
i loc = i 0 ------------- exp --------------- – exp -----------------
c l, ref RT RT
where i0 denotes the exchange current density (SI unit: A/ m2), γ the reaction order
(dimensionless), αa the anodic charge transfer coefficient (dimensionless), αc the
cathodic charge transfer coefficient (dimensionless). The overpotential, η, is according
to the following equation:
η = φ s – φ l – E eq
During a discharge, the active surface area, av (SI unit: m2/ m3), is calculated using
the equation below:
ε – ε0 ξ
a v = a v, max -----------------------
ε max – ε 0
In the charging reactions, PbSO4 is a reactant but also an insulator, reducing the
available active surface area. To account for this effect, the following expression can be
used for the active surface area for the charging reactions:
ε – ε 0 ξ ε max – ε
a v, charge = a v, max ----------------------- -----------------------
ε max – ε 0 ε max – ε 0
i s = – σ s ∇φ s
exm
is = –ε σ s ∇φ s
σ l RT
i l = – σ l ∇φ l + -------------- ( 1 – 2t + )∇ ln c l
F
where σl denotes the electrolyte conductivity, R the molar gas constant, T the
temperature, F Faraday’s constant, and t+ the transport number.
In the porous domains (the separator and the porous electrodes), it is defined as
ex σ l RT
i l = ε ( – σ l ∇φ l ) + ε -------------- ( 1 – 2t + )∇ ln c l
ex
F
The dissociated salt ions can be transported due to convection, migration and
diffusion. The molar flux vector, Nl, (SI unit: mol/m2 s), is written as:
N l = – D∇c l + uc l
Where D (SI unit: mol/(s /m2)) is the binary diffusion coefficient into which the
migration effects are incorporated, and u (SI unit: m/s) is the volume averaged
velocity.
∂
c = ∇ ⋅ ( D∇c l ) – u ⋅ ∇c l
∂t l
In the porous electrodes the electrochemical reactions give rise to sources in the
material balance equation, resulting in
∂ ex
ε c = ∇ ⋅ ( ε D∇c l ) – u ⋅ ∇c l + R l
∂t l
a v, m i m
Rl = – ------------------
nm F
- ( ( 1 – c l V e ) ( ( 1 – t + )ν
+
H ,m
+ t + ν HSO , m ) – c l V 0 ν H2O, m )
-
4
ν H +, m
ν HSO - , m
4
ν H2O, m
In the separator, the corresponding transport equation is used for the electrolyte, but
where the source term, Rl, is zero.
For a boundary, the flux of electrolyte species due to the electrochemical reactions is
calculated according to
im
n ⋅ Nl = – -----------
nm F
- ( ( 1 – t + )ν
H ,m
+ + t + ν HSO , m )
-
4
As the solid material in the electrodes react, the porosity changes due to volume
changes. This is described by the equation below:
∂ε a v, m i m
∂t
= ------------------
nm F
- ( ν Pb, m V Pb + ν PbO2, m V PbO2 + ν PbSO4, m V PbSO4 )
m
where V i denotes the molar volumes (SI unit: m3/mol) for the solid materials in the
electrodes,
ν Pb, m
ν PbSO4, m
the stoichiometric coefficient for lead sulfate in reaction m. For a species with a known
density, ρi (SI unit: kg/m3), and molar mass Mi it can be calculated as
Mi
V i = -------
ρi
For results and analysis purposes the following state-of-charge expression, soc, for the
electrodes, is also defined
ε – ε0
soc = -----------------------
ε max – ε 0
Assuming that the main Pb and PbO2 reactions are the main contributions to the
currents in each electrode, the average superficial velocity in each electrode
compartment can be calculated as
il
u PbO2 = – ------- ( ( V PbSO4 – V PbO2 – ( 3 – 2t + )V e + 2V 0 ) ) )
2F
and
il
u Pb = – ------- ( V Pb – V PbSO4 – ( 1 – 2t + )V e )
2F
u ≈ u PbO2
u ≈ u Pb
where φ s, pos and φ s, neg are the potentials of the electron conducting phase (one for
each electrode), Epos and Eneg are the electrode potentials, and Δφ l is the potential
drop over the electrolyte phase separating the electrodes.
The battery cell current density, icell (SI unit: A·m−2), is defined as
Δφ l
i cell = ----------
R sol
For the global formulation, the potential drop in the electrolyte solution phase is
obtained by the relation
where Asep (SI unit: m2) is the separator cross-sectional area and Icell (SI unit: A) is
the battery cell current.
icell dvol dΩ
Ω
A sep --------------------------------
- = I cell
V cell
where Vcell is the cell volume and Ω is the selected domain where the single particle
interface is active. Note that dvol is the cell cross-sectional area in 1D, the
out