본문 펼치기
### Articles
https://doi.org/10.1038/s43588-021-00153-5
## Modeling galvanostatic charge–discharge of nanoporous supercapacitors
[Liang Zeng](http://orcid.org/0000-0003-0085-9387) <sup>1</sup> , Taizheng Wu <sup>1</sup> , Ting Ye <sup>1</sup> , Tangming Mo <sup>1</sup> , Rui Qiao <sup>2</sup> [and Guang Feng](http://orcid.org/0000-0001-6659-9181) <sup>1</sup> <sup>✉</sup>
Molecular modeling has been considered indispensable in studying the energy storage of supercapacitors at the atomistic
level. The constant potential method (CPM) allows the electric potential to be kept uniform in the electrode, which is essential
for a realistic description of the charge repartition and dynamics process in supercapacitors. However, previous CPM studies
have been limited to the potentiostatic mode. Although widely adopted in experiments, the galvanostatic mode has rarely been
investigated in CPM simulations because of a lack of effective methods. Here we develop a modeling approach to simulating
the galvanostatic charge–discharge process of supercapacitors under constant potential. We show that, for nanoporous electrodes, this modeling approach can capture experimentally consistent dynamics in supercapacitors. It can also delineate, at the
molecular scale, the hysteresis in ion adsorption–desorption dynamics during charging and discharging. This approach thus
enables the further accurate modeling of the physics and electrochemistry in supercapacitor dynamics.
upercapacitors have been attracting much attention because
of their high power densities and superior cycle times <sup>1,2</sup> .
Researchers often resort to molecular modeling to investi# S
gate the thermodynamic and kinetic behavior of supercapacitors,
particularly those with nanoporous electrodes, because molecular
simulations can provide a precise microscopic picture of electric
double layers (EDLs) and their formation in supercapacitors <sup>3–5</sup> . In
the molecular modeling of supercapacitors, how to describe electrode polarization is a critical issue. The most straightforward way
is to distribute charges uniformly on the electrode atoms in the
constant charge method (CCM) <sup>4–6</sup>, whereas the constant potential method (CPM), an approach that is computationally expensive but can more precisely model realistic conditions, maintains
electrode atoms at constant potentials by self-consistently adjusting the electrode charges based on the electrode potential and
ionic environment <sup>7–12</sup> . To explore the equilibrium performance of
supercapacitors, CCM can be used to approximate systems with
open electrodes (where the electrode surface is in contact with the
bulk electrolyte <sup>13</sup>, for example, a planar <sup>14</sup>, cylindrical <sup>6</sup> or spherical <sup>15</sup>
surface), but it is not accurate for nanoporous electrodes <sup>10–12,16,17</sup> .
To model the charge–discharge process of nanoporous supercapacitors, CPM is preferred because its self-consistent adjustment of
electrode charges, absent in CCM, can produce the correct charging
dynamics and heat generation <sup>17,18</sup> .
When studying the charging and discharging processes of supercapacitors, early CPM simulations often adopted the potential control mode, in which step-like <sup>7–12</sup>, linear <sup>19</sup> or climbing-type <sup>20</sup> potential
differences are applied between the positive and negative electrodes.
Molecular simulations in the potential control mode help to understand the fundamentals of charging and discharging supercapacitors. However, they cannot offer insights into the charging kinetics
in the galvanostatic mode (that is, when the electrode is applied
with a constant electric current <sup>21</sup> ), which has been widely used in
practical applications <sup>22</sup> and fundamental electrochemical studies
(for example, galvanostatic charge–discharge, GCD) <sup>23,24</sup> . To simulate the charging and discharging process of supercapacitors that are
under more realistic conditions (for example, the current control
with porous electrodes), it is desirable to have advanced modeling
approaches that are able to regulate the electric current (or galvanostatic) and maintain a constant potential across each atom within
the electrode. Most recently, an approach combining finite electric
displacement and a constant potential technique was developed for
this purpose <sup>25</sup> . This approach has been applied to open-electrode
systems, but has yet to be demonstrated for nanoporous systems. As
such, existing GCD simulations have largely been based on CCM,
with the equivalent charge set on each electrode atom and varied
linearly with time (in the following, this method is termed GCDCCM) <sup>26,27</sup> . However, due to the lack of self-consistent adjustment of
electrode charges, the accuracy of GCD-CCM, especially for nanoporous systems, remains to be delineated.
Based on previous CPM studies <sup>7,8,12</sup>, we developed a method to
model the GCD of supercapacitors under constant potential, rigorously enforcing the equipotential state within an electrode at each
time step (named GCD-CPM; Methods). Both GCD-CPM and
GCD-CCM were applied to molecular dynamics (MD) simulations
of two typical supercapacitor systems: open electrode (Fig. 1a) and
nanoporous electrode (Fig. 1b). The ionic liquid ethyl-3-methylimidazolium tetrafluoroborate ([EMIM][BF4]) was used as the
electrolyte in both systems (Fig. 1c). After equilibrating the simulation under the non-charged state (potential of zero surface charge),
we applied a square-wave current with amplitude _I_ 0 and period _P_
(Fig. 1d and Methods). We then analyzed the time evolution of the
electrode potential and EDL formation in both systems. We further
demonstrated the effectiveness of GCD-CPM via experimental
validation.
Results
GCD-CPM and GCD-CCM for open-electrode systems. We first
compared GCD-CPM and CGD-CCM in open-electrode systems.
Like the GCD test in the experiments <sup>23,24</sup>, MD simulation systems
were charged and discharged with a square-wave current, becoming stable after a few cycles (details are provided in Supplementary
Section 1). Figure 2 shows the modeling-obtained GCD of a stable cycle with a period of 100 ps. In molecular modeling with
1State Key Laboratory of Coal Combustion, School of Energy and Power Engineering, Huazhong University of Science and Technology (HUST), Wuhan,
China. <sup>2</sup> Department of Mechanical Engineering, Virginia Tech, Blacksburg, VA, USA. <sup>✉</sup> [e-mail: gfeng@hust.edu.cn](mailto:gfeng@hust.edu.cn)
a c d
1
0
–1
0 2 4
t/ _P_
6 8
_z_
_x_
b
[EMIM] <sup>+</sup> [BF4] <sup>–</sup>
_z_
_x_
Fig. 1 | Molecular simulations of the GCD of supercapacitors. a, b, Snapshots of supercapacitors featuring open electrodes ( a ) and nanoporous electrodes
( b ). c, Coarse-grained models of the ionic liquid [EMIM][BF4] used in the supercapacitors. d, Applied electric current with time ( _t_ ) during GCD.
a b c
<u>(%)</u> <u>(#</u> <u>nm</u> <sup>–3</sup> )
<u>(e)</u>
0.03 3
1.0 2
<u>×10</u> <sup>–2</sup>
0.02
0.01
1
–1
1.0
0.6
0.2
0 50
_t_ (ps)
0 50
_t_ (ps)
100
0 50
_t_ (ps)
100
100
10
6
2
d e f
1
0
2
1
0
<u>(#</u> <u>nm</u> <sup>–3</sup> )
10
6
<u>(V)</u> <u>(%)</u>
2.5
1.5
0.5
CPM
<u>CCM</u>
0 50
_t_ (ps)
100
4.0
3.5
3.0
4
2
0
–2
2
Fig. 2 | GCD of open-electrode systems. a - c, GCD-CPM modeling: a snapshot of the positive electrode at 50 ps in the MD simulation, with atoms colored
by their instantaneous charges ( a ); the probability distributions of electrode charges varying with time (gray contour) and their average (dashed line) ( b );
evolution of ion number density with time ( _t_ ) and distance ( _z_ ) from the electrode ( c ). d - f, GCD-CCM modeling: a snapshot of the positive electrode at
50 ps, with atoms colored by their instantaneous potential ( d ); the probability distributions of the electrode potentials (gray contour) and their average
(red dashed line) ( e ); evolution of ion number density ( f ). For comparison, the solid cyan line in e is the electrode potential obtained by GCD-CPM. The
error bar for the electrode potential is close to the line width and is thus not shown.
GCD-CPM, the charges distributed on the electrode atoms are not
uniform at any instant (Fig. 2a) due to the thermal motion of the
electrolyte molecules <sup>5,28</sup>, as in previous works using CPM with steplike potentials <sup>4,5,28</sup> . Such a non-uniform distribution can be quantified by the probability distribution of the charges on the electrode
atoms <sup>5,28</sup> . These charge probability distributions were analyzed in
GCD-CPM simulations for each time step during the charge–discharge process (see Methods for the detailed probability distribution calculation). They have a volcano-like shape, and their width
(or variance) changes little with time (Fig. 2b shows results for the
positive electrode and Supplementary Fig. 2a for the negative electrode) in response to the applied current (Fig. 1d). On the electrolyte
side, cations and anions, driven by the electrode polarization, form
dynamic EDLs, which are delineated by the ion number density as
a function of time and distance from the electrode surface (Fig. 2c
and Supplementary Figs. 3 and 4). It is found that EDLs have typical
layering structures, consistent with previous findings <sup>4,29,30</sup> . During
the charging process (0–50 ps), the first cation layer decreases with
time and moves slightly away from the electrode surface, and this
trend is reversed during discharging (50–100 ps).
The GCD of an open-electrode system was also explored using
GCD-CCM. Instead of adjusting the charges distributed on electrode atoms at each time step to keep the electrode in an equipotential state in GCD-CPM modeling, in GCD-CCM modeling,
the charge on each electrode atom is preset with the same value.
The electrode potential is computed accordingly, showing a distinctly non-uniform distribution (Fig. 2d). However, the averaged potential over electrode atoms at each time closely matches
the results obtained from the GCD-CPM calculation (Fig. 2e and
Supplementary Fig. 2b). The evolution of cation density at the positive electrode obtained by GCD-CCM calculations was also found
to be nearly the same as that obtained by GCD-CPM (Fig. 2c,f and
Supplementary Fig. 3), and a comparison of more dynamic EDL
structures reaches the same agreement (Supplementary Fig. 4).
Besides the number density, ion orientation is also an important
descriptor to characterize the EDL. On further examining the ion
a
c
0
–5
4
0
–4
b
<u>×10</u> <sup>–2</sup>
(%)
4 0.2 0 ps
5 50 ps
–0.2
–0.4
50 ps
100 ps
150 ps
0
4
3
2
1
0 100 200 0 2 4
_t_ (ps) _z_ (nm)
d
100 ps
150 ps
0 ps
50 ps
<u>(%)</u>
200
2.5
1.5
0.5
0
CPM
<u>CCM</u>
100
_t_ (ps)
entrance is greater than at the center of the pore (Fig. 3b versus
Extended Data Fig. 2a).
The potential distributions on the nanoporous electrodes were
examined using GCD-CCM (Fig. 3c and Supplementary Fig. 6b)
and compared to GCD-CPM. The potential was found to be more
non-uniform than that distributed on the open electrode, and its
average differs from the GCD-CPM results. Remarkably, there is
a parabolic-like distribution of the electrode potential from the
entrance to the central portion of a pore (Extended Data Fig. 2b),
which conflicts with the fact that the electrode should be equipotential in reality, suggesting that GCD-CCM could result in an unphysical phenomenon. For GCD-CCM, the in-pore charges, driven by
the uniformly distributed electrode charges, vary less than those
obtained using GCD-CPM (Fig. 3d versus Fig. 3b).
Ion transport under nanoconfinement has been found to have a
strong correlation with the charging dynamics and power density
of nanoporous supercapacitors <sup>1,3,11</sup> . The in-pore ion transport during the charge–discharge process can be evaluated by means of the
effective diffusivity, _D_ eff, which is described as <sup>11,31</sup>
e f
0.2
0
–0.2
–0.4
100
50
<u>0</u> <u>2</u> <u>4</u>
_z_ (nm)
CPM
CCM
<u>∂</u> _<u>ρ</u>_ <u>e</u>
<u>∂t</u> <sup>= Deff</sup>
<u>∂∂</u> _<u>ρ</u>_ <sup><u>2</u></sup> <u>z</u> <sup>2</sup> <u>e</u> <sup>,</sup> (1)
10 <sup>–5</sup>
10 <sup>–6</sup>
10 <sup>–7</sup>
10 <sup>–8</sup>
CPM
CCM
200 1,000
3,000 200 1,000
0
3,000
Period (ps)
Period (ps)
Fig. 3 | GCD-CPM and GCD-CCM modeling of GCD in nanoporouselectrode systems. a, The gray contour shows the probability distributions
of atom charges on the positive electrode, obtained from GCD-CPM
simulations, and the dashed line is the average of such charges. b, Evolution
of in-pore charge density from the electrolyte along the pore (where _z_ = 0
is the pore entrance), obtained from GCD-CPM simulations. c, The gray
contour indicates the probability distributions of potentials on the positive
electrode, obtained from GCD-CCM simulations. The red dashed line is
the average of the potentials and the solid green line is the potential
obtained from GCD-CPM simulations. d, Evolution of the in-pore charge
density from the electrolyte, obtained from GCD-CCM simulations.
e, Effective diffusivity of the in-pore electrolyte under positive polarization.
f, Heat generation of a GCD cycle. The pore width is 0.67 nm. Error bars in
b and d indicate 1 s.d. of four independent simulations. The box plots in e
and f represent the maximal, minimal, median, 25% and 75% of the data
distribution.
orientation, the angular distributions of the cations adsorbed on the
negative electrode, obtained by these two methods, were almost the
same (Supplementary Fig. 5). With additional electric currents with
different amplitudes and periods, the results obtained using these
two methods are also consistent (Extended Data Fig. 1).
Importance of GCD-CPM for nanoporous-electrode systems.
We next investigated the GCD of nanoporous-electrode systems.
In GCD-CPM modeling, the probability distributions of electrode charges are more non-uniform and can vary more significantly with time (Fig. 3a and Supplementary Fig. 6a), compared
with those in open-electrode systems (Fig. 2b and Supplementary
Fig. 2a). This can be ascribed to the non-uniform distribution of
electrode charges along the pore axis (Extended Data Fig. 2a). In
particular, the variation of surface charges at the pore entrance is
more extensive than in the central portion of the pore. Driven by
electrode polarization, the in-pore charge density _ρ_ e, stemming
from the electrolyte, exhibits a trend similar to the variation in
electrode charges; that is, the change in charge density at the pore
where _ρ_ e is the charge density of the in-pore electrolyte, _t_ is time
and _z_ is the location along the pore axis. Using equation (1) and the
evolution of the in-pore charge density (Fig. 3 and Supplementary
Fig. 7), the effective diffusivity of the electrolyte in positive nanoporous electrodes was calculated and is shown in Fig. 3e (calculation
details are provided in the Methods section). Using GCD-CPM
modeling, for different periods _P_, the effective diffusivity in the
pore of the positive electrode relative to the ion self-diffusion in
the bulk electrolyte, _D_ eff/ _D_ bulk, is 52 ( _P_ _=_ 200 ps), 21 ( _P_ _=_ 1,000 ps)
and 13 ( _P_ _=_ 3,000 ps), close to the results predicted by theory <sup>11,31</sup>
and molecular simulations with step-like CPM <sup>11</sup> . For GCD-CCM
modeling, _D_ eff/ _D_ bulk is 16,566 ( _P_ = 200 ps), 2,434 ( _P_ _=_ 1,000 ps) and
231 ( _P_ _=_ 3,000 ps), considerably larger than the results from GCDCPM. A similar trend is found for negative nanoporous electrodes
(Supplementary Figs. 8 and 9).
Previous work reported that CCM modeling gives a large value
for heat generation during the charging process, contradicting the
Joule effect <sup>17</sup> . We investigated the heat generated during the charge–
discharge process in nanoporous supercapacitors, calculating it as
the energy removed from the system by a thermal bath (details of
the heat calculation are provided in the Methods section). Figure
3f and Supplementary Fig. 10 show the total heat generation of a
charge–discharge cycle and heat generation varying with time,
respectively, demonstrating that the value of heat generation computed by GCD-CCM is much larger than that obtained from GCDCPM calculations. Accordingly, GCD-CCM cannot be used for
modeling the dynamics of nanoporous supercapacitors, at least for
the nanoporous electrodes studied here.
Experimental validation of GCD-CPM modeling. We next validated the molecular modeling with GCD-CPM through experimental galvanostatic measurements (experimental details are
provided in the Methods section). The supercapacitor uses the same
electrolyte as modeled in our simulation. The nanoporous carbon
electrode has an average pore size very close to that in the molecular models. In the experiment, the GCD curve includes an ohmic
drop caused by the electrode resistance (Supplementary Fig. 12) <sup>23,32</sup> .
Because the electrode resistance is neglected in molecular modeling, the ohmic drop was removed from the experimental GCD
curves, as described in the Methods section. This treatment aids a
comparison of the experiment and modeling, but does not change
the charge–discharge process of the nanoporous supercapacitors
(Fig. 4a and Supplementary Fig. 12a).
0
–2
–4
a b
_t_ (s) _t_ (ps)
a b
0
2
4
30
<u>0</u>
<u>10</u> <u>20</u> <u>0</u> <u>100</u> <u>200</u>
1.2
0.6
0
–0.6
1.0
5
0
–5
Experiment
<u>Diffusion model</u>
0.4
0
–0.4
Mass
Anion
Cation
29
28
0.6
0
–0.6
CPM
Diffusion model
6
–6 6
0 100 200
0 100
_t_ (ps)
0.8
0 2
_σ_ (µC cm <sup>–2</sup> )
0 <u>0.21</u> 0.42 0 <u>0.21</u> 0.42
4
_~~T~~_ _~~T~~_
Fig. 4 | Comparison of GCD curves obtained from experiment and
modeling. a, GCD curve in the experiment with a period of 20 s and its
fitting by the dimensionless diffusion model. b, GCD curve of GCD-CPM
with a period of 200 ps and its fitting by the dimensionless diffusion model.
The charging dynamics of the nanoporous electrodes can be
explained by the diffusion model, which is rooted in mean-field theory <sup>11,31</sup> . To compare macroscale experiments and nanoscale modeling, we derive the dimensionless form of the diffusion model for the
charging and discharging process of the nanoporous supercapacitors. The dimensionless diffusion model shows that the GCD curve,
described by the dimensionless potential ΔΦ <sup>¯</sup> varying with dimensionless time T <sup>¯</sup>, is only determined by the dimensionless period
_α_ (defined as the ratio of the electric current period to the system
charging time constant). Details of the dimensionless diffusion
model are provided in the Methods section. As shown in Fig. 4a,
the diffusion model provides a good fit for the experimental GCD
data, with a dimensionless period of 0.42. It was then used to fit
the GCD curve, also with period _α_ = 0.42, obtained by GCD-CPM
modeling of nanoporous systems (Fig. 4b), and this also shows good
agreement. Because the GCD curves in the experiment and modeling have the same dimensionless period, their fitted curves are the
same, with actual periods in the experiment and modeling of 20 s
and 200 ps, respectively. Therefore, with regulation of the electric
current period, the GCD-CPM modeling is consistent with the
experiment (Supplementary Fig. 13). However, the fitting reveals
an apparent discrepancy between the experiment and GCD-CCM
modeling (Supplementary Fig. 14). Accordingly, only GCD-CPM
could predict the correct dynamic process for the charge–discharge of the nanoporous electrodes. Furthermore, the capacitances
extracted from the GCD curves obtained from molecular simulations with GCD-CPM are compatible with those from our experimental measurements (details are provided in the Methods section
and Supplementary Fig. 15), and both are consistent with previous
experiments with the similar porous carbon electrodes and the
same electrolyte <sup>33,34</sup> .
Hysteresis in the charge–discharge process. Figure 5a shows the
hysteresis of the ion adsorption–desorption during the charge–discharge process of nanoporous supercapacitors, demonstrated by the
time evolution of the in-pore electrolyte density. Specifically, in the
positive porous electrode, driven by the applied current, counterions (that is, anions) are attracted into pores during charging and
rejected out of the pores during discharging, while a reverse trend
exists for co-ions (that is, cations). The desorption of the counterions during discharging does not backtrack with the adsorption
during charging (that is, at the same surface charge, _σ_, the number of counterions during charging is different from that during
discharging), and the change of co-ions in the desorption process
is also different from that in the adsorption process. These findings indicate that there is a hysteresis in the ion response during
the charge–discharge process, which is similar to the hysteresis
loop experimentally observed in porous electrode supercapacitors
Fig. 5 | Hysteresis in nanoporous-electrode systems. a, The mass density
of the in-pore electrolyte (magenta line) and the number densities of the
in-pore cations and anions (red and blue lines, respectively). The solid lines
show the discharging process and the dashed lines the charging process.
b, The charge density coming from the in-pore electrolyte (blue line) and
the charge density on the electrode (red line). The shown results are for the
positive electrode.
probed by an electrochemical quartz crystal microbalance (note
that the areal densities shown in our work are based on the specific
surface area of the porous electrode rather than the area of quartzcrystal surface used in experiments) <sup>35,36</sup> .
The hysteresis of the ion adsorption–desorption can be understood by comparing the charges from the in-pore electrolyte and on
the electrode (Fig. 5b). The change in the charge from the in-pore
electrolyte exhibits a trend (increase or decrease with time) that is
essentially the same as that on the electrode, but the rate of change
on the electrolyte side is slower than that on the electrode side. This
indicates that the ion transport in the electrolyte, especially under
nanoconfinement, is sluggish compared to the charge transport
through the electrode. As shown in Fig. 5b, at the beginning of a
stable cycle at the positive electrode (at 0 ps), the total charge on
the electrode is zero (shown in red) and that from the electrolyte
is still negative (shown in blue). At the time when charging and
discharging switch (at 100 ps), the charge from the in-pore electrolyte is less than that from the electrode. Moreover, the change in
the charge from the in-pore electrolyte in the initial stage is slower
than in the rest, because both cations and anions change at a lower
rate in the initial stage of the charging and discharging process (Fig.
5a). The hysteresis in the negative electrode exhibits the same trend
(Supplementary Fig. 16).
There is also a hysteresis in ion adsorption–desorption during charging and discharging in the open-electrode system
(Supplementary Fig. 17), though weaker than in the nanoporouselectrode system. This hysteresis originates from the fact that the
electrolyte ions do not respond to the electrode polarization in as
timely a manner as the electrode charges (Supplementary Fig. 18a).
This hysteresis could account for the negative potentials occurring
at the initial stage of the charging and at the end of the discharging
at the positive electrode (Fig. 2e and Extended Data Fig. 1). Details
of the hysteresis and its contribution to the negative potential are
provided in Supplementary Section 8 and Supplementary Figs. 17
and 18. Similarly, the negative value of potentials on the positive
electrode of nanoporous supercapacitors can also be understood by
the hysteresis of ion adsorption–desorption resulting in the negative
charge from the electrolyte at the beginning of charging or the end
of discharging (Fig. 5b).
Discussion
The GCD-CPM method developed here can not only model the
charging and discharging process of supercapacitors on applying
electric currents of any form, but can also be combined with the previous CPM in potentiostatic mode to investigate complex charging
modes at the molecular level, thereby helping to gain deep insights
into the dynamics mechanisms and optimal charge–discharge
modes. The dependence of capacitance on pore size has been intensively investigated by molecular simulations in the potentiostatic
mode <sup>3,37–39</sup> . Such a dependence of charging dynamics, especially in
the galvanostatic mode, is of significance and can be investigated by
GCD-CPM. This method could also be used for other applications
involving the dynamic formation and release of double layers, such
as capacitive deionization <sup>40</sup>, batteries <sup>41</sup>, superlubricity <sup>42</sup> and electrolyte gating <sup>43</sup> . Moreover, our work provides guidance for selecting
molecular simulation methods for given simulation systems.
It is worthwhile noting that the position of the electrode is set
as fixed in our modeling, which works for electrode systems with
negligible electrode deformation during charging and discharging.
Future directions in the modeling development will include the consideration of electrode deformation, which is essential for electrode
materials experiencing large deformations, such as MXenes <sup>44,45</sup> .
Methods
GCD-CPM for modeling galvanostatic charge–discharge. We considered a
classical electrochemical system containing _N_ immobile electrode atoms (including
_N_ pos positive electrode atoms and _N_ neg negative electrode atoms) and _M_ mobile
electrolyte atoms. The CPM considers Gaussian charge distributions for electrode
atoms and point charges for electrolyte atoms <sup>7,8</sup> . The fluctuating charges on
electrodes, with magnitude q, are extra degrees of freedom to keep the electrodes
equipotential. The electrostatic energy of the system, _U_ ele, is a function of atom
positions X and electrode charge magnitude q, written as <sup>8,14,46</sup>
Uele ( X, q ) = <sup><u>q</u></sup> <sup>⊺A</sup> <sup><u>q</u></sup> - q <sup>⊺</sup> B ( X ) + C ( X ) . (2)
<u>2</u>
The first and second terms in the right-hand side of equation (2) represent the
electrode–electrode and electrode–electrolyte interactions, respectively, and the
last term _C_ ( X ) describes the electrolyte–electrolyte interaction. Matrix _A_ with size
_N_ × _N_, depending on the position of electrode atoms, is defined as <sup>8,14,46</sup>
Molecular dynamics simulations. For the supercapacitor with open electrodes,
each electrode is modeled by three layers of graphene sheets (Fig. 1a). The
simulation box has a volume of 4.254 × 4.176 × 48 nm <sup>3</sup>, with a distance of 10 nm
between the innermost layers of the positive and negative electrodes. For the
supercapacitor with nanoporous electrodes, each electrode is modeled as a slitshaped pore with walls composed of three layers of graphene sheets (Fig. 1b). The
pore size of 0.67 nm is defined as the accessible gap between the two innermost slit
sheets in contact with the electrolyte, and the pore length is 8 nm. The dimensions
of the simulation box are 4.1 nm, 3 nm and 32 nm. The simulation box of all
systems is sufficiently large to ensure that the central region of the electrolyte
reservoir is in a bulk-like state. The Lennard–Jones model of the carbon atom <sup>47</sup>
is taken for the electrode, and a coarse-grained model (Fig. 1b), which provides
accurate thermodynamic and dynamic properties, is adopted for the ionic liquid,
[EMIM][BF4] (ref. <sup>48</sup> ).
All simulations are performed in the NVT ensemble using customized MD
software, GROMACS <sup>49</sup> (see the ‘Code availability’ section for more information),
with a time step of 2 fs and a Nosé–Hoover thermostat <sup>50</sup> at a temperature of 400 K.
The effects of the thermostat settings were explored (Supplementary Section
9 and Supplementary Figs. 19 and 20). The heat generation during GCD was
calculated as the energy removed from the system to maintain its temperature <sup>50,51</sup> .
To avoid energy drift and attain an accurate heat generation, our simulations are
carried out in double precision <sup>49</sup> . A cutoff length of 1.2 nm is chosen to calculate
non-electrostatic interactions and electrostatic interactions in real space. The
electrostatic interactions in reciprocal space are computed using the particle
mesh Ewald method <sup>52</sup> with a fast Fourier transform grid spacing of 0.1 nm.
Because the open-electrode system has a slab geometry, the three-dimensional
Ewald summation with the correction term for the slab geometry is adopted in
electrostatic interactions <sup>5,53</sup> .
<u>2</u> <sup>|</sup> <sup>X</sup> <sup>ij|</sup> <u>)</u>
~~<u>√</u>~~ _<u>η</u>_
| X ij|
<u>(</u>
erfc( _α_ | X ij|)−erfc
4 <sup><u>k</u></sup> _α_ <sup><u>2</u></sup> <sup>~~2~~</sup> +
Aij = <sup><u>8</u></sup> ~~V~~ <sup><u>π</u></sup>
∑
k1 ≥0
∑
∑
k2,k3
∑
<u>cos(</u> <u>k</u> <u>·</u> <u>X</u> <u>ij)</u>
<u>k</u> <u>k</u> <sup>~~2~~</sup> <u>·</u> <u>X</u> <u>ij)</u> e <sup>−</sup> 4 <sup><u>k</u></sup> _α_ <sup><u>2</u></sup>
(3)
For each simulation, the system is first run for 40 ns to reach equilibrium at the
potential of zero surface charge. A square-wave current of 30 cycles is then applied
on the supercapacitors (Fig. 1b). We average the data of the last 10 cycles to obtain
results for a stable cycle, so the time mentioned above refers to the time relative to
the beginning of the stable cycle. For the open-electrode system, the charge density
of the positive electrode grows linearly from 0 to 9 μC cm <sup>−2</sup> in the first half of
each cycle and then decreases linearly to 0 in the second half cycle. The period of
applied electric current is set as 50, 100 and 500 ps. For the nanoporous-electrode
system, the surface charge density on the electrode is set to change linearly between
~0 and 4.96 μC cm <sup>−2</sup>, with periods of 200, 1,000 and 3,000 ps. For GCD-CPM, the
charge on electrode atoms is obtained using the method mentioned above. For
GCD-CCM, the potential at each electrode atom is computed as the sum of the
potentials in the real space and reciprocal space. To ensure the accuracy of the
simulation results, four to five independent simulations are run with different
initial configurations for each system.
,
)
+2 _δ_ ij
(
_<u>η</u>_ _<u>α</u>_
~~√~~ <u>2π</u> - ~~√π~~
where _α_ and _η_ are the parameters of the Gaussian distribution, k is a reciprocal
lattice vector, X _ij_ is the vector from electrode atom _i_ to _j_, _V_ is the volume of the
simulation box, and erfc and _δij_ are the complementary error function and Dirac
delta function, respectively. Vector B in length _N_ is defined as
4 <sup><u>k</u></sup> _α_ <sup><u>2</u></sup> <sup>~~2~~</sup> -
<u>��</u> <u>X</u> <u>ij���</u> - <u>erfc</u> <sup><u>�</u></sup> _<u>η</u>_
- <u>erfc</u> <sup><u>�</u></sup> _<u>η</u>_ <u>��</u> <u>X</u> <u>ij���</u>,
<u>�</u> <u>X</u> ij�
Bi = - <sup><u>8π</u></sup>
<u>V</u>
k1 ≥0
j
qj
<u>erfc</u> <sup><u>�</u></sup> _<u>α</u>_
ℜ <sup><u>�</u></sup> <u>e</u> <sup>i</sup> <sup>k</sup> <sup><u>·</u></sup> <sup>X</sup> <sup>i</sup> <u>S</u> <sup><u>∗</u></sup> ( <u>k</u> ) <sup><u>�</u></sup>
<sup>X</sup> <sup>i</sup> <u>S</u> <sup><u>∗</u></sup> ( <u>k</u> ) <sup><u>�</u></sup> e <sup>−</sup> 4 <sup><u>k</u></sup> _α_ <sup><u>2</u></sup>
<u>k</u> <sup><u>2</u></sup>
k2,k3
(4)
Calculation of the probability distribution of the electrode atom charge and
potential. For GCD-CPM, the probability distribution of electrode atom charges
is _f_ ( _q_, _t_ ), defined as the ratio of _N_ ( _q_, _t_ ) to the total atoms of the electrode. _N_ ( _q_, _t_ )
refers to the number of electrode atoms with charges in the range of q − dq/2 and
q + dq/2 at time _t_ . We set d _q_ as <sup><u>Qmax</u></sup> ~~N~~ <sup><u>−</u></sup> bin <sup><u>Qmin</u></sup>, where _Q_ max and _Q_ min are the maximum
and minimum charge values of all atoms at the electrode during the charging
process, and _N_ bin is set as 300 here. Similarly, the probability distributions of
electrode atom potentials in GCD-CCM can be obtained.
Calculation of effective diffusion. The spatial and temporal distribution of charge
densities inside the electrode pore, _ρ_ e, is described by the charge diffusion equation
(equation (1)). _D_ eff can be calculated by minimizing the difference in the in-pore
charge density evolution between the molecular simulation and the diffusion
equation. The initial and boundary conditions used to solve the minimization
problem are taken directly from molecular simulations. Supplementary Figs. 7
and 8 show the evolution of in-pore charge density inside the electrode pore,
obtained by GCD-CPM and GCD-CCM simulations and their fitting based on
the minimization problem. Figure 3e and Supplementary Fig. 9 show the effective
diffusion inside the positive and negative electrode pores obtained by solving the
minimization problem.
Dimensionless diffusion model for GCD. As already mentioned, the charge–
discharge process of ionic liquids in a nanopore can be described by the charge
diffusion equation (equation (1)) derived from mean-field theory <sup>11,31</sup> . For GCD, the
initial and boundary conditions are set as
_ρ_ e|t=0 = 0, (7a)
where _S_ ( k ) is the structure factor of the electrolyte, X _ij_ is the vector from electrode
atom _i_ to electrolyte atom _j_, and _qj_ is the charge of electrolyte atom _j_ . The potential
on each electrode atom is <sup><u>∂</u></sup> <u>∂</u> <sup><u>U</u></sup> <u>q</u> <sup><u>ele</u></sup> i <sup>(</sup> <sup>_i_</sup> <sup>for the electrode atom index).</sup>
on each electrode atom is <sup><u>∂</u></sup> <u>∂</u> <sup><u>U</u></sup> <u>q</u> <sup><u>ele</u></sup> i <sup>(</sup> <sup>_i_</sup> <sup>for the electrode atom index).</sup>
To model the galvanostatic charge–discharge, the total electrode charge is
constrained as Q (t) = <sup>∑</sup> i <sup>N</sup> = <sup>pos</sup> 1 <sup>qi and ∑</sup> i <sup>N</sup> = <sup>pos</sup> N <sup>+</sup> pos <sup>N</sup> + <sup>neg</sup> 1 <sup>qi</sup> <sup>=</sup> <sup>−Q(t), where</sup> <sup>_qi_</sup> <sup>is the charge</sup>
of electrode atom _i_ . In this work, _Q_ ( _t_ ) is a triangular wave for GCD due to the
i <sup>N</sup> = <sup>pos</sup> 1 <sup>qi and ∑</sup> i <sup>N</sup> = <sup>pos</sup> N <sup>+</sup> pos <sup>N</sup> + <sup>neg</sup> 1
constrained as Q (t) = <sup>∑</sup> i <sup>N</sup> = <sup>pos</sup> 1 <sup>qi and ∑</sup> i <sup>N</sup> = <sup>pos</sup> N <sup>+</sup> pos <sup>N</sup> + <sup>neg</sup> 1 <sup>qi</sup> <sup>=</sup> <sup>−Q(t), where</sup> <sup>_qi_</sup> <sup>is the charge</sup>
of electrode atom _i_ . In this work, _Q_ ( _t_ ) is a triangular wave for GCD due to the
applied square-wave current (Fig. 1d). To keep the electrode equipotential at any
time step and meet the constraints of the total charge of the electrode, we need to
minimize the energy
Ut ( X, q ) = Uele - q <sup>⊺</sup> ϕ + Q (t) _ϕ_ pos - Q (t) _ϕ_ neg. (5)
The vector ϕ <sup>⊺</sup> = [ _ϕ_ pos I pos, _ϕ_ neg I neg] is for the potentials on all electrode atoms,
where _ϕ_ pos ( _ϕ_ neg) is the potential on the positive (negative) electrode. I pos ( I neg)
is a vector of size 1 × _N_ pos (1 × _N_ neg), the elements of which are all one. Similar to
the previous CPM simulations with step-like potentials, we solve a set of linear
equations to minimize _Ut_ at each time step, then obtain _ϕ_ pos, _ϕ_ neg and electrode
atom charges q . Mathematically, we have
M x = n . (6)
<u>∂</u> _<u>ρ</u>_ <u>e</u>
<u>∂z</u>
= 0, (7b)
����z=l
A E
D 0
] is ( _N_ + 2) × ( _N_ + 2), where D =
]
[
I pos 0
0 I neg
]
The size of matrix M =
[
and E =
[ − I pos⊺
I pos⊺ 0
0 - I <sup>⊺</sup>
]
<u>∂</u> _<u>ρ</u>_ <u>e</u>
<u>∂z</u>
����z=0
= - <sup><u>I0</u></sup>
<u>Deff</u>
]. Unknowns of the linear equations are
- <u>t</u>
<u>P</u>
, (7c)
x <sup>⊺</sup> = <sup>[</sup> q <sup>⊺</sup>, _ϕ_ pos, _ϕ_ neg
<sup>⊺</sup> neg
], and n ⊺ = [− B ⊺, Q (t), −Q(t)].
S
where _l_ is the pore length and _S_ is a square-wave function with period and
amplitude of one. Equation (7a) indicates that the pore is not charged at _t_ = 0. The
boundary condition in equation (7b) is the zero normal flux at _z_ = _l_ (corresponds
to the middle position of the open pore in our simulations), and the boundary
in equation (7c) indicates an applied square-wave current with period _P_ and
amplitude _I_ 0, as shown in Fig. 1d.
As shown in Supplementary Fig. 21, the ions are distributed in the nanopore,
and the electrode is equipotential. Taking the areal capacitance, _C_, along the
nanopore as a constant, we divide the pore into numerous microcapacitors in
parallel, with each having capacitance _C_ d _z_ . We then get
_ρ_ e (z, t) dz = [ _ϕ_ 1 (z, t) − _ϕ_ 0 (t)] Cdz, (8)
where _ϕ_ 1( _z_, _t_ ) is the potential in the electrolyte and _ϕ_ 0( _t_ ) the potential on the
electrode. Using the notation for the potential drop from the electrolyte to
electrode _ϕ_ (z, t) = _ϕ_ 1(z, t) − _ϕ_ 0(t) and substituting equation (8) into equations
(1) and (7), we respectively obtain the diffusion equation for the potential
<u>∂</u> _<u>ϕ</u>_
<u>∂t</u> <sup>=</sup> <sup>Deff</sup>
<u>∂</u> _<u>ϕ</u>_
<u>∂</u> _<u>ϕ</u>_ <sup>2</sup>
<u>∂</u> <sup><u>2</u></sup> <u>z</u> <sup>,</sup> (9)
and initial and boundary conditions
_ϕ_ |t=0 = 0, (10a)
<u>∂</u> _<u>ϕ</u>_
<u>∂z</u> ����z=l
= 0, (10b)
<u>∂</u> _<u>ϕ</u>_
<u>∂z</u>
<u>I0</u>
= <u>CDeff</u>
����z=0
Material characterization. Nitrogen sorption experiments were performed with
an Autosorb iQ system (Quantachrome) at 77 K. The activated-carbon cloth was
degassed at 10 <sup>−2</sup> Pa at a temperature of 200 °C for 10 h. The sample was found to
exhibit a gravimetric Brunauer–Emmett–Teller surface area of 1,534 m <sup>2</sup> g <sup>−1</sup> . The
pore size analysis was calculated (Supplementary Fig. 11) using quenched-solid
density functional theory, assuming a slit-shaped pore model. The average pore
size of the micropores was calculated as ~0.72 nm on the basis of volume-weighted
pore size _d_ 50.
Assembly and instrumentation. Before fabrication, two 10-mm-diameter
activated-carbon-cloth electrodes were soaked in a 10-ml glass vial filled with
[EMIM][BF4] in an argon-filled glove box containing less than 0.01 ppm H2O and
O2. A two-electrode electrochemical cell was then fabricated in the same glove box.
After adding the electrolyte, the electrochemical cells were hermetically sealed and
transferred out of the glove box. Electrochemical measurements were performed
on a CS-350H workstation (Wuhan Corrtest Instrument Co.).
Electrochemical measurements. For comparison with modeling, GCD tests were
carried out for our cell. The setting times for charging and discharging were equal,
which is not the regular setting with voltage limitation. A series of electric currents
with different charge–discharge periods (~12–400 s) were used to find the same
dimensionless period as for the simulation. Supplementary Fig. 12 shows the GCD
curves obtained in the experiment, and their dimensionless periods are the same
as those from the GCD-CPM simulations (their actual periods are 20, 260 and
360 s). To enable comparison with modeling, ohmic drops, mainly caused by the
electrode resistance <sup>23,32</sup> and not reflected in the simulations, were removed from the
experimental GCD curves. The treated experimental curves were then compared
with the GCD-CPM results using the dimensionless diffusion model, as shown in
Supplementary Figs. 13 and 14. Areal capacitances extracted from GCD curves
were obtained from <sup>24</sup>
C = 2 <u>A</u> <sup><u>I</u></sup> <u>Δ</u> <sup><u>Δ</u></sup> <u>V</u> <sup><u>t</u></sup> <sup>,</sup> (14)
where _C_ is the areal capacitance of a single electrode, _I_ is the constant current, Δ _t_
is the discharge time, _A_ is the surface area of the electrode and Δ _V_ is the voltage
change during discharge (the voltage change removes the ohmic drop from the
experiments). The areal capacitances obtained by simulations and experiments are
shown in Supplementary Fig. 15.
Data availability
The simulation setting data for the galvanostatic charge–discharge of
supercapacitors using the CPM and CCM approaches are available from Code
Ocean <sup>56</sup> . The experimental data for the galvanostatic charge–discharge tests
were generated on the laboratory electrochemical workstation with the settings
described in the Methods section. Source data are provided with this paper.
Code availability
The code for modeling the galvanostatic charge–discharge process in the
molecular dynamics simulation using CPM and CCM approaches is available
from Code Ocean <sup>56</sup> .
Received: 2 May 2021; Accepted: 4 October 2021;
Published online: 22 November 2021
S
- <u>t</u>
<u>P</u>
. (10c)
It is worth noting that equations (9) and (10) are in the same form as the
transmission line model <sup>54,55</sup>, because the charging process predicted by the
transmission model also exhibits diffusive behavior <sup>11</sup> .
We define the dimensionless potential as Φ <sup>¯</sup> = <sup><u>CD</u></sup> <u>I0</u> <sup><u>eff</u></sup> <u>l</u>
We define the dimensionless potential as Φ <sup>¯</sup> = <sup><u>CD</u></sup> <u>I0</u> <sup><u>eff</u></sup> <u>l</u> <sup>_ϕ_</sup> <sup>, dimensionless position</sup>
as _Z_ = _z_ / _l_, dimensionless time as T <sup>¯</sup> = t/ _τ_ ( _τ_ = l <sup>2</sup> /Deff is the charging time constant)
and the dimensionless period as _α_ = _P_ / _τ_ . Hence, equation (9) can be written in
dimensionless form as
<u>∂Φ</u> <sup>¯</sup>
<u>∂T</u> <sup><u>¯</u></sup> <sup>=</sup> <sup><u>∂</u></sup> <u>∂</u> <sup>2</sup> <u>Z</u> <sup>¯Φ2</sup> <sup>.</sup> (11)
The initial and boundary conditions become
Φ¯��T¯=0 = 0, (12a)
<u>∂Φ</u>
<u>∂Z</u>
����Z=0
����Z=1
= 0, (12b)
<u>∂Φ</u>
<u>∂Z</u>
= −S
- <u>T¯</u>
. (12c)
_<u>α</u>_
Accordingly, the potential difference between the positive and negative
electrodes, ΔΦ <sup>¯</sup> (T <sup>¯</sup> ), could be obtained during the charge–discharge process, given
by the GCD curve, as
References
1. Wang, X. et al. Electrode material–ionic liquid coupling for electrochemical
ΔΦ <sup>¯</sup> <sup>(</sup> T <sup>¯)</sup>
=
energy storage. _Nat. Rev. Mater._ 5, 787–808 (2020).
2. Simon, P. & Gogotsi, Y. Perspectives for electrochemical capacitors and
related devices. _Nat. Mater._ 19, 1151–1163 (2020).
3. Salanne, M. et al. Efficient storage mechanisms for building better
(13a)
<u>2</u> ~~3~~ <sup>+ 2T¯ −</sup> ∑∞
(m, ¯T),
∞
∑
m=1
∞
∑
n=1
<u>n</u> <sup>~~2~~</sup> <u>4π</u> <sup>~~2~~</sup> <sup>e−n2</sup> <sup>π2¯T</sup> <sup>+ 4</sup>
(−1) <sup>m</sup> Φstep
where
Φstep
(m, ¯T)
supercapacitors. _Nat. Energy_ 1, 16070 (2017).
4. Bedrov, D. et al. Molecular dynamics simulations of ionic liquids and
=
electrolytes using polarizable force fields. _Chem. Rev._ 119, 7940–7995 (2019).
5. Scalfi, L., Salanne, M. & Rotenberg, B. Molecular simulation of electrode–
solution interfaces. _Annu. Rev. Phys. Chem._ 72, 189–212 (2021).
6. Yang, L., Fishbine, B. H., Migliori, A. & Pratt, L. R. Molecular simulation of
electric double-layer capacitors based on carbon nanotube forests. _J. Am._
_Chem. Soc._ 131, 12373–12376 (2009).
7. Siepmann, J. I. & Sprik, M. Influence of surface topology and electrostatic
potential on water/electrode systems. _J. Chem. Phys._ 102, 511–524 (1995).
8. Reed, S. K., Lanning, O. J. & Madden, P. A. Electrochemical interface
<u>1</u> ~~2~~ ~~2~~
~~3~~ <sup>+ (T¯ −</sup> <sup><u>m</u></sup> <sup>_<u>α</u>_</sup> )] _θ_ (T¯ − <u>m</u> _<u>α</u>_
[ <u>1</u>
~~3~~
~~2~~ )
<u>n</u> <sup>~~2~~</sup> <u>2π</u> <sup>~~2~~</sup> <sup>e</sup>
<u>n</u> <sup>~~2~~</sup> <u>2π</u> <sup>~~2~~</sup> <sup>e</sup>
(13b)
~~2~~ )
_θ_ <sup>(</sup> T <sup>¯</sup> - <sup><u>m</u></sup> <sup>_<u>α</u>_</sup>
(13b)
~~2~~ )
<sup>_<u>α</u>_</sup>
)
n <sup>2</sup> π <sup>2</sup>
(T¯
T¯− <sup><u>m</u></sup> 2 <sup>_<u>α</u>_</sup>
∞
∑
n=1
∞
∑
and _θ_ is the Heaviside step function. Therefore, the relation between ΔΦ <sup>¯</sup> and T <sup>¯</sup>
, described by equation (13), reveals that the dimensionless GCD curve is only
determined by the dimensionless period _α_ (that is, the ratio of the electric current
period to the charging time constant of the system).
Materials for the experiment. Commercial activated-carbon cloth (ACC-509215) was purchased from Kynol, fabricated into the free-standing and binder-free
electrode. Before use, it was dried at 120 °C under vacuum for 12 h. The ionic liquid
[EMIM][BF4] (Iolitec Technologies) was purified at 85 °C by the Schlenk line
for 24 h.
potential and temperature dependences of the differential capacitance of a
room-temperature ionic liquid at graphite electrodes. _J. Am. Chem. Soc._ 132,
14825–14833 (2010).
between an ionic liquid and a model metallic electrode. _J. Chem. Phys._ 126,
084704 (2007).
9. Vatamanu, J., Borodin, O. & Smith, G. D. Molecular insights into the
10. Merlet, C. et al. On the molecular origin of supercapacitance in nanoporous
41. Swift, M. W., Swift, J. W. & Qi, Y. Modeling the electrical double
carbon electrodes. _Nat. Mater._ 11, 306–310 (2012).
11. Kondrat, S., Wu, P., Qiao, R. & Kornyshev, A. A. Accelerating charging
dynamics in subnanometre pores. _Nat. Mater._ 13, 387–393 (2014).
12. Bi, S. et al. Molecular understanding of charge storage and charging dynamics
layer at solid-state electrochemical interfaces. _Nat. Comput. Sci._ 1,
212–220 (2021).
42. Hod, O., Meyer, E., Zheng, Q. & Urbakh, M. Structural superlubricity and
ultralow friction across the length scales. _Nature_ 563, 485–492 (2018).
43. Ye, J. T. et al. Liquid-gated interface superconductivity on an atomically flat
in supercapacitors with MOF electrodes and ionic liquid electrolytes. _Nat._
_Mater._ 19, 552–558 (2020).
13. Vatamanu, J., Borodin, O., Olguin, M., Yushin, G. & Bedrov, D. Charge
storage at the nanoscale: understanding the trends from the molecular scale
perspective. _J. Mater. Chem. A_ 5, 21049–21076 (2017).
14. Wang, Z., Yang, Y., Olmsted, D. L., Asta, M. & Laird, B. B. Evaluation of the
constant potential method in simulating electric double-layer capacitors. _J._
_Chem. Phys._ 141, 184102 (2014).
15. Feng, G., Jiang, D. & Cummings, P. T. Curvature effect on the capacitance of
electric double layers at ionic liquid/onion-like carbon interfaces. _J. Chem._
_Theory Comput._ 8, 1058–1063 (2012).
16. Yang, J. Y. et al. Reliability of constant charge method for molecular dynamics
film. _Nat. Mater._ 9, 125–128 (2010).
44. Wang, X. et al. Influences from solvents on charge storage in titanium carbide
MXenes. _Nat. Energy_ 4, 241–248 (2019).
45. Lukatskaya, M. R. et al. Cation intercalation and high volumetric capacitance
proteins, nucleic acids and organic molecules. _J. Am. Chem. Soc._ 117,
5179–5197 (1995).
48. Merlet, C., Salanne, M. & Rotenberg, B. New coarse-grained models of
imidazolium ionic liquids for bulk and interfacial molecular simulations. _J._
_Phys. Chem. C_ 116, 7687–7693 (2012).
49. Hess, B., Kutzner, C., van der Spoel, D. & Lindahl, E. GROMACS 4:
of two-dimensional titanium carbide. _Science_ 341, 1502–1505 (2013).
46. Gingrich, T. R. & Wilson, M. On the Ewald summation of Gaussian charges
for the simulation of metallic surfaces. _Chem. Phys. Lett._ 500, 178–183 (2010).
47. Cornell, W. D. et al. A second generation force field for the simulation of
simulations on EDLCs in nanometer and sub-nanometer spaces.
_Chemelectrochem_ 4, 2486–2493 (2017).
17. Merlet, C. et al. Simulating supercapacitors: can we model electrodes as
constant charge surfaces? _J. Phys. Chem. Lett._ 4, 264–268 (2013).
18. Pean, C. et al. On the dynamics of charging in nanoporous carbon-based
supercapacitors. _ACS Nano_ 8, 1576–1583 (2014).
19. He, Y. D., Huang, J. S., Sumpter, B. G., Kornyshev, A. A. & Qiao, R. Dynamic
charge storage in ionic liquids-filled nanopores: insight from a computational
cyclic voltammetry study. _J. Phys. Chem. Lett._ 6, 22–30 (2015).
20. Breitsprecher, K. et al. How to speed up ion transport in nanopores. _Nat._
_Commun._ 11, 6085 (2020).
21. Kwabi, D. G., Ji, Y. & Aziz, M. J. Electrolyte lifetime in aqueous organic redox
algorithms for highly efficient, load-balanced and scalable molecular
simulation. _J. Chem. Theory Comput._ 4, 435–447 (2008).
50. Evans, D. J. & Holian, B. L. The Nose-Hoover thermostat. _J. Chem. Phys._ 83,
103, 8577–8593 (1995).
53. Yeh, I.-C. & Berkowitz, M. L. Ewald summation for systems with slab
geometry. _J. Chem. Phys._ 111, 3155–3162 (1999).
54. De Levie, R. On porous electrodes in electrolyte solutions. I. Capacitance
effects. _Electrochim. Acta_ 8, 751–780 (1963).
55. Janssen, M. Transmission line circuit and equation for an electrolyte-filled
4069–4074 (1985).
51. Esposito, M. & Monnai, T. Nonequilibrium thermodynamics and Nose
Hoover dynamics. _J. Phys. Chem. B_ 115, 5144–5147 (2011).
52. Essmann, U. et al. A smooth particle mesh Ewald method. _J. Chem. Phys._
flow batteries: a critical review. _Chem. Rev._ 120, 6467–6489 (2020).
22. Li, H. et al. Cooperative CC-CV charging of supercapacitors using
multicharger systems. _IEEE Trans. Ind. Electron._ 67, 10497–10508 (2020).
23. Noori, A., El-Kady, M. F., Rahmanifar, M. S., Kaner, R. B. & Mousavi, M. F.
pore of finite length. _Phys. Rev. Lett._ 126, 136002 (2021).
56. Zeng L. & Feng G. Modeling galvanostatic charge-discharge of nanoporous
Towards establishing standard performance metrics for batteries,
supercapacitors and beyond. _Chem. Soc. Rev._ 48, 1272–1341 (2019).
24. Zhang, S. & Pan, N. Supercapacitors performance evaluation. _Adv. Energy_
[supercapacitors. Code Ocean https://doi.org/10.24433/co.5990421.V1 (2021).](https://doi.org/10.24433/co.5990421.V1)
_Mater._ 5, 1401401 (2015).
25. Dufils, T., Sprik, M. & Salanne, M. Computational amperometry of
nanoscale capacitors in molecular simulations. _J. Phys. Chem. Lett._ 12,
4357–4361 (2021).
26. Jiang, X., Huang, J., Zhao, H., Sumpter, B. G. & Qiao, R. Dynamics of
electrical double layer formation in room-temperature ionic liquids
under constant-current charging conditions. _J. Phys. Condens. Matter_ 26,
284109 (2014).
27. Xu, K. et al. Effects of functional groups and anion size on the charging
mechanisms in layered electrode materials. _Energy Storage Mater._ 33,
460–469 (2020).
28. Limmer, D. T. et al. Charge fluctuations in nanoscale capacitors. _Phys. Rev._
_Lett._ 111, 106102 (2013).
29. Bazant, M. Z., Storey, B. D. & Kornyshev, A. A. Double layer in ionic liquids:
overscreening versus crowding. _Phys. Rev. Lett._ 106, 046102 (2011).
30. Fedorov, M. V. & Kornyshev, A. A. Ionic liquids at electrified interfaces.
_Chem. Rev._ 114, 2978–3036 (2014).
31. Kondrat, S. & Kornyshev, A. Charging dynamics and optimization of
nanoporous supercapacitors. _J. Phys. Chem. C_ 117, 12399–12406 (2013).
32. González, A., Goikolea, E., Barrena, J. A. & Mysyk, R. Review on
supercapacitors: technologies and materials. _Renew. Sustain. Energy Rev._ 58,
1189–1206 (2016).
33. Lewandowski, A., Olejniczak, A., Galinski, M. & Stepniak, I. Performance of
carbon-carbon supercapacitors based on organic, aqueous and ionic liquid
electrolytes. _J. Power Sources_ 195, 5814–5819 (2010).
34. Yamazaki, S., Ito, T., Yamagata, M. & Ishikawa, M. Non-aqueous
electrochemical capacitor utilizing electrolytic redox reactions of bromide
species in ionic liquid. _Electrochim. Acta_ 86, 294–297 (2012).
35. Tsai, W. Y., Taberna, P. L. & Simon, P. Electrochemical quartz crystal
microbalance (EQCM) study of ion dynamics in nanoporous carbons. _J. Am._
_Chem. Soc._ 136, 8722–8728 (2014).
36. Levi, M. D., Salitra, G., Levy, N., Aurbach, D. & Maier, J. Application of a
quartz-crystal microbalance to measure ionic fluxes in microporous carbons
for energy storage. _Nat. Mater._ 8, 872–875 (2009).
37. Wu, P., Huang, J., Meunier, V., Sumpter, B. G. & Qiao, R. Complex capacitance
Acknowledgements
We acknowledge funding support from the National Natural Science Foundation of
China (5211101181, 51876072) and the Hubei Provincial Natural Science Foundation of
China (2020CFA093). The work at HUST is also supported by the Program for HUST
Academic Frontier Youth Team.
Author contributions
G.F. conceived this research and designed the simulation and experiment. L.Z.
performed all simulations. T.W. carried out the experiment. L.Z. and T.Y. derived the
dimensionless diffusion model. L.Z. and T.W. drafted the manuscript. All authors
contributed to the discussion of results, editing and revising the paper.
Competing interests
The authors declare no competing interests.
Additional information
Extended data [is available for this paper at https://doi.org/10.1038/s43588-021-00153-5.](https://doi.org/10.1038/s43588-021-00153-5)
Supplementary information The online version contains supplementary material
[available at https://doi.org/10.1038/s43588-021-00153-5.](https://doi.org/10.1038/s43588-021-00153-5)
Correspondence and requests for materials should be addressed to Guang Feng.
Peer review information _Nature Computational Science_ thanks the anonymous reviewers
for their contribution to the peer review of this work. Peer reviewer reports are available.
Handling editor: Jie Pan, in collaboration with the _Nature Computational Science_ team.
Reprints and permissions information [is available at www.nature.com/reprints.](http://www.nature.com/reprints)
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in
published maps and institutional affiliations.
Open Access This article is licensed under a Creative Commons
Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long
as you give appropriate credit to the original author(s) and the source, provide a link to
the Creative Commons license, and indicate if changes were made. The images or other
third party material in this article are included in the article’s Creative Commons license,
unless indicated otherwise in a credit line to the material. If material is not included in
the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly
[from the copyright holder. To view a copy of this license, visit http://creativecommons.](http://creativecommons.org/licenses/by/4.0/)
[org/licenses/by/4.0/.](http://creativecommons.org/licenses/by/4.0/)
© The Author(s) 2021
scaling in ionic liquids-filled nanopores. _ACS Nano_ 5, 9044–9051 (2011).
38. Vatamanu, J., Vatamanu, M. & Bedrov, D. Non-Faradaic energy storage by
room temperature ionic liquids in nanoporous electrodes. _ACS Nano_ 9,
5999–6017 (2015).
39. Mo, T. et al. Ion structure transition enhances charging dynamics in
subnanometer pores. _ACS Nano_ 14, 2395–2403 (2020).
40. Srimuk, P., Su, X., Yoon, J., Aurbach, D. & Presser, V. Charge-transfer
materials for electrochemical water desalination, ion separation and the
recovery of elements. _Nat. Rev. Mater._ 5, 517–538 (2020).
Extended Data Fig. 1 | GCD curves with various periods for open electrode systems. GCD curves are obtained from GCD-CPM and GCD-CCM
simulations.
Extended Data Fig. 2 | Distributions of charge and potential on electrodes atoms in nanoporous electrode systems. a, Spatial distributions of electrode
atom charges along pore axis for GCD-CPM simulations. b, Spatial distributions of electrode atom potentials along pore axis for GCD-CCM simulations.
The data of each time counts the data of 5 ps around it. Error bars indicate one standard deviation of 4 independent simulations.