선정목록으로
MetalWalls: A classical molecular dynamics software dedicated to the simulation of electrochemical systems
간접 관련 수소연료전지 · (7) MEA(막전극접합체) (6) PEM(고분자전해질막)(5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.21105/joss.02373
- 저널
- The Journal of Open Source Software
- 발행년도
- 2020
- 발행기관
- Open Journals
- 피인용수
- 99
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.21105/joss.02373
- 토픽
- Fuel Cells and Related Materials
- OpenAlex ID
- W3088718134
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 수소연료전지 · (7) MEA(막전극접합체)
- 부 분야
- (6) PEM(고분자전해질막), (5) 연료전지용 수분제어장치(가습기)
- R&D 측면
- 분석·모델링
- 확신도
- 0.80
- 근거 용어
- molecular dynamics, electrochemical systems, constant electric potential, electrode materials, electrolyte
- 판단 근거
- 이 논문은 전기화학 시스템(연료전지, 배터리 등)을 시뮬레이션하기 위한 분자 동역학(MD) 소프트웨어에 관한 연구입니다. 코오롱인더스트리의 직접적인 제품은 아니나, PEMFC의 핵심 요소인 전해질막(6) 및 막전극접합체(7)의 계면 반응과 전기화학적 거동을 이론적으로 분석하고 모델링하는 데 활용될 수 있습니다.
- R&D 활용 포인트
- PEMFC용 고분자 전해질막(PEM)과 전극 계면 사이의 이온 전도 및 전기화학적 열화 메커니즘을 분자 수준에서 시뮬레이션하여 소재 설계 최적화에 활용 가능합니다.
- 평가 입력
- 본문 15,726자
초록
Marin-Laflèche et al., (2020). MetalWalls: A classical molecular dynamics software dedicated to the simulation of electrochemical systems. Journal of Open Source Software, 5(53), 2373, https://doi.org/10.21105/joss.02373
본문 15,726자
본문 펼치기
# MetalWalls: A classical molecular dynamics software dedicated to the simulation of electrochemical systems
Abel Marin-Laflèche <sup>1</sup> , Matthieu Haefele <sup>1</sup> , Laura Scalfi <sup>2</sup> , Alessandro
Coretti <sup>3,</sup> <sup>4</sup> , Thomas Dufils <sup>2</sup> , Guillaume Jeanmairet <sup>2</sup> , Stewart K. Reed <sup>5</sup> ,
Alessandra Serva <sup>2</sup> , Roxanne Berthin <sup>2</sup> , Camille Bacon <sup>2</sup> , Sara Bonella <sup>4</sup> ,
Benjamin Rotenberg <sup>2</sup> , Paul A. Madden <sup>6</sup> , and Mathieu Salanne <sup>1,</sup> <sup>2</sup>
1 Maison de la Simulation, CEA, CNRS, Univ. Paris-Sud, UVSQ, Université Paris-Saclay, F-91191
Gif-sur-Yvette, France 2 Sorbonne Université, CNRS, Physico-chimie des Électrolytes et
Nanosystèmes Interfaciaux, PHENIX, F-75005 Paris, France 3 Department of Mathematical
Sciences, Politecnico di Torino, I-10129 Torino, Italy 4 Centre Européen de Calcul Atomique et
Moléculaire (CECAM), École Polytechnique Fédérale de Lausanne, 1015 Lausanne, Switzerland 5
School of Chemistry, University of Leeds, Leeds, UK 6 Department of Materials, University of
Oxford, Oxford, UK
DOI: [10.21105/joss.02373](https://doi.org/10.21105/joss.02373)
Software
- [Review](https://github.com/openjournals/joss-reviews/issues/2373)
- [Repository](https://gitlab.com/ampere2/metalwalls)
- [Archive](https://doi.org/10.5281/zenodo.4040665)
Editor: Richard Gowers
Reviewers:
- [@mattwthompson](https://github.com/mattwthompson)
- [@hmacdope](https://github.com/hmacdope)
Submitted: 10 June 2020
Published: 25 September 2020
License
Authors of papers retain
copyright and release the work
under a Creative Commons
Attribution 4.0 International
License (CC [BY](http://creativecommons.org/licenses/by/4.0/) 4.0).
## Summary
Applied electrochemistry plays a key role in many technologies, such as Li-ion batteries, fuel
cells, supercapacitors, solar cells, etc. It is therefore at the core of many research programs all
over the world. However, fundamental electrochemical investigations remain scarce. In particular, electrochemistry is among the fields for which the gap between theory and experiment
is the largest. From the computational point of view, there is no classical molecular dynamics
(MD) software devoted to the simulation of electrochemical systems while other fields such as
biochemistry or material science have dedicated tools. `MetalWalls`, a MD code dedicated to
electrochemistry, fills this gap. Its main originality is the inclusion of a series of methods which
allow a constant electrical potential to be applied to the electrode materials. It also allows
the simulation of bulk liquids or solids using the polarizable ion model and the aspherical ion
model. `MetalWalls` is designed to be used on high-performance computers and it has already
been employed in a number of scientific publications. It was for example used to study the
charging mechanism of supercapacitors (Merlet et al., 2012), nanoelectrowetting (Choudhuri
et al., 2016) and water desalination devices (Simoncelli et al., 2018). A typical snapshot of a
simulation cell for the latter is shown on Figure 1.
Figure 1: Typical system simulated using `MetalWalls` . An aqueous NaCl electrolyte is put in contact
with two electrified nanoporous carbon electrodes (left: positive electrode, right: negative electrode).
Water molecules are in red and white, Cl <sup>_−_</sup> ions in cyan, Na <sup>+</sup> ions in green and the carbon atoms are
colored according to their charge (from light grey to black when the charge increases).
Marin-Laflèche et al., (2020). MetalWalls: A classical molecular dynamics software dedicated to the simulation of electrochemical systems.
_Journal_ _of_ _Open_ _Source_ _Software_, 5(53), 2373. [https://doi.org/10.21105/joss.02373](https://doi.org/10.21105/joss.02373)
1
## Constant potential electrodes
`MetalWalls` employs most of the standard methods and algorithms available in typical MD
packages. Here we discuss only its main originality, which lies in the possibility of simulating
materials at constant electric potential instead of constant charge. This is interesting for
simulating conductors where the charges are not fixed on the atoms but can spread in the
material and adapt to the external medium. In `MetalWalls`, this is done by allowing the charge
on the material atoms to fluctuate under the condition of constant potential. The method
was first introduced by Siepmann and Sprik (Siepmann & Sprik, 1995). It was later adapted
to the case of 2D periodic boundary conditions and extended to a Born-Oppenheimer-like
approach in the first version of `MetalWalls` (Reed, Lanning, & Madden, 2007). The method
was also discussed in the framework of Mass-Zero (MaZe) constrained molecular dynamics
in (Coretti et al., 2020). An updated description of the statistical mechanics of the constant
potential ensemble can be found in the reference (Scalfi et al., 2020).
Two different models are employed for the charge distributions of the electrode and electrolyte atoms constituting the electrochemical cell. On the one hand, electrode atoms carry
a Gaussian charge distribution of amplitude _Qi_ and width _ηi_ <sup>_−_</sup> <sup>1</sup>
_i_ <sup>3</sup> <sup>_π−_</sup> <sup>3</sup> <sup>_/_</sup> <sup>2 exp(</sup> <sup>_−η_</sup> _i_ <sup>2</sup>
_ρi_ ( r ) = _Qiηi_ <sup>3</sup>
_i_ <sup>2</sup> <sup>_|_</sup> <sup>r</sup> <sup>_−_</sup> <sup>R</sup> <sup>_i|_</sup> <sup>2)</sup> (1)
where R _i_ are the electrode atoms positions.
On the other hand, electrolyte atoms have a point charge distribution
_ρi_ ( r ) = _qiδ_ ( r _−_ r _i_ ) (2)
where r _i_ are the electrolyte atoms positions. The Coulomb potential energy for the full charge
distribution _ρ_ = <sup>∑</sup> _i_ <sup>_ρi_</sup> <sup>is</sup> <sup>given</sup> <sup>(in</sup> <sup>atomic</sup> <sup>units)</sup> <sup>by</sup>
_d_ <sup>3</sup> r _d_ <sup>3</sup> r <sup>_′_</sup> <sup>_<u>ρ</u>_</sup> <sup><u>(</u></sup> <sup><u>r</u></sup> <sup><u>)</u></sup> <sup>_<u>ρ</u>_</sup> <sup><u>(</u></sup> <sup><u>r</u></sup> <sup>_′_</sup> <sup><u>)</u></sup> (3)
_|_ r _−_ r <sup>_′_</sup> _|_
_Vc_ [ _ρ_ ] = <sup><u>1</u></sup>
2
∫
As it is long-ranged, it cannot be truncated at a cut-off distance. In `MetalWalls`, it is
calculated using the Ewald summation method, whose specific expression depends on the
periodicity (2D or 3D) of the system (Reed et al., 2007). Given the above form of the charge
density, for fixed atomic positions it can also be expressed as a _Vc_ ( _Q_ ), where _Q_ is a vector
containing all the _N_ electrode atom charges ( _Q_ 1 _, ...QN_ ).
The electric potential generated by the charge distribution associated with an electrode atom is
_<u>∂V∂Qc</u>_ <u>(</u> _<u>Qi</u>_ <u>)</u> <sup>.</sup> <sup>It follows that the constant electric potential condition within the electrode materials</sup>
is given by
_<u>∂Vc</u>_ <u>(</u> _<u>Q</u>_ <u>)</u>
_∂Qi_
= Ψ _i_ (4)
where Ψ _i_ is the applied potential difference on the electrode sites. This is equivalent to
_<u>∂V</u>_ <u>(</u> _<u>Q</u>_ <u>)</u>
_∂Qi_
= 0 (5)
where the total potential energy _V_ ( _Q_ ) is defined as
_V_ ( _Q_ ) = _Vc_ ( _Q_ ) _−_
∑ _N_
_i_ =1
Ψ _iQi_ (6)
Marin-Laflèche et al., (2020). MetalWalls: A classical molecular dynamics software dedicated to the simulation of electrochemical systems.
_Journal_ _of_ _Open_ _Source_ _Software_, 5(53), 2373. [https://doi.org/10.21105/joss.02373](https://doi.org/10.21105/joss.02373)
2
and includes the work necessary to charge the electrodes. The charges _Q_ that satisfy the
constant potential condition are found by solving the system of _N_ equations given by Eq. (5).
It is also frequent, in constant potential simulations, to enforce the so-called electroneutrality
constraint, defined by the equation
∑ _N_
_i_ =1
_Qi_ = 0 (7)
As the electrolyte ions undergo thermal motion, thereby changing the external potential, these
equations must be solved to determine the electrode charges consistent with the constant
potential condition. Two methods, described below, have been applied to achieve this.
Born-Oppenheimer approach
A first method to simulate the dynamics of the electrolyte atoms under the constant potential
condition is to solve directly the equation
_<u>∂Vc</u>_ <u>(</u> _<u>Q</u>_ <u>)</u>
_∂Qi_
= Ψ _i_ (8)
for each electrolyte configuration. This method relies on the quadratic form of the Coulomb
energy with respect to the electrode charges to solve efficiently the equation for the _Q_ . In
particular, _Vc_ can be written in the form
_Vc_ ( _Q_ ) = <sup><u>1</u></sup> 2 <sup>_QT AQ −_</sup> <sup>_QT b_</sup> <sup>+</sup> <sup>_c_</sup> (9)
which yields a set of equations for the charges given by _AQ_ _−_ _b_ = Ψ, where the matrix
_A_ depends only on the geometry of the electrodes while the vector _b_ depends also on the
positions of the electrolyte atoms (Ψ is a vector containing the _N_ electrode atom potentials
(Ψ1, …, Ψ _N_ )). The set of equations can then be solved by direct numerical matrix inversion
yielding the charges
_Q_ = _A_ <sup>_−_</sup> <sup>1</sup> ( _b_ + Ψ) (10)
This is very efficient when the electrodes are fixed as the matrix _A_ is constant and the inversion
has to be performed only once at the beginning of the simulation. `MetalWalls` also allows
constant pressure _Pz_ simulations to be run by treating the electrodes as rigid pistons. In this
case, a more efficient way to solve the linear system is by using the conjugate gradient iterative
method.
The fulfillment of the electroneutrality constraint in this framework and its repercussions on
the statistical mechanics of the constant-potential ensemble are discussed at length in (Scalfi
et al., 2020).
Mass-Zero constrained MD (MaZe)
Another approach, based on the method introduced in (Coretti, Bonella, & Ciccotti, 2018), is
to consider the motion of the electrolyte particles subject to the set of holonomic constraints
given by
_<u>∂V</u>_ <u>(</u> _<u>Q</u>_ <u>)</u>
_∂Qi_
= 0 (11)
This approach is based on an extended Lagrangian, where the electrode charges _Q_ are considered additional dynamical variables for the system. Unlike previous extended-Lagrangian
Marin-Laflèche et al., (2020). MetalWalls: A classical molecular dynamics software dedicated to the simulation of electrochemical systems.
_Journal_ _of_ _Open_ _Source_ _Software_, 5(53), 2373. [https://doi.org/10.21105/joss.02373](https://doi.org/10.21105/joss.02373)
3
approaches _à_ _la_ Car and Parrinello, the mass-zero limit is enforced rigorously in this method
and the additional degrees of freedom are properly separated from the physical ones in an
adiabatic sense. This yields dynamical equations of motion for the additional variables which
can be solved numerically by symplectic and time-reversible algorithms, while keeping the
adiabatic separation. In (Bonella, Coretti, Vuilleumier, & Ciccotti, 2020) it has been proven
that the dynamics also samples the Born-Oppenheimer distribution exactly. The application
of the method to constant potential simulations is described in detail in (Coretti et al., 2020)
together with the possibility of enforcing the electroneutrality constraint.
Finite electric field variant
An extension of the constant potential approach was recently proposed, in which the electrochemical cell is simulated by including one electrode only, using 3D periodic boundary
conditions. The electrode is set at constant potential and a finite field is applied to the whole
cell. Two electrochemical interfaces form on the opposite sides of the metal, and we have
shown that this approach yields similar results to the two electrodes setup for bulk electrode
materials (Dufils, Jeanmairet, Rotenberg, Sprik, & Salanne, 2019).
## Acknowledgements
MS would like to acknowledge the support from Maison de la Simulation through the « Chaire
d’excellence » program. This project has received funding from the European Research Council
(ERC) under the European Union’s Horizon 2020 research and innovation programme (Grant
Agreement No. 771294). This work was supported by the French National Research Agency
(Labex STORE-EX, Grant No. ANR-10-LABX-0076). We acknowledge support from EoCoE,
a project funded by the European Union Contracts No. H2020-EINFRA-2015-1-676629 and
H2020-INFRAEDI-2018-824158.
## References
Bonella, S., Coretti, A., Vuilleumier, R., & Ciccotti, G. (2020). Adiabatic motion and sta
tistical mechanics via mass zero constrained dynamics. _Phys._ _Chem._ _Chem._ _Phys._, _22_,
10775–10785. [doi:10.1039/d0cp00163e](https://doi.org/10.1039/d0cp00163e)
Choudhuri, J. R., Vanzo, D., Madden, P. A., Salanne, M., Bratko, D., & Luzar, A. (2016).
Dynamic response in nanoelectrowetting on a dielectric. _ACS_ _Nano_, _10_, 8536–8544.
[doi:10.1021/acsnano.6b03753.s001](https://doi.org/10.1021/acsnano.6b03753.s001)
Coretti, A., Bonella, S., & Ciccotti, G. (2018). Communication: Constrained molecular
dynamics for polarizable models. _J._ _Chem._ _Phys._, _149_, 191102. [doi:10.1063/1.5055704](https://doi.org/10.1063/1.5055704)
Coretti, A., Scalfi, L., Bacon, C., Rotenberg, B., Vuilleumier, R., Ciccotti, G., Salanne, M., et
al. (2020). Mass-zero constrained molecular dynamics for electrode charges in simulations
of electrochemical systems. _J._ _Chem._ _Phys._, _152_, 194701. [doi:10.1063/5.0007192](https://doi.org/10.1063/5.0007192)
Dufils, T., Jeanmairet, G., Rotenberg, B., Sprik, M., & Salanne, M. (2019). Simulating
electrochemical systems by combining the finite field method with a constant potential
electrode. _Phys._ _Rev._ _Lett._, _123_, 195501. [doi:10.1103/physrevlett.123.195501](https://doi.org/10.1103/physrevlett.123.195501)
Merlet, C., Rotenberg, B., Madden, P. A., Taberna, P.-L., Simon, P., Gogotsi, Y., & Salanne,
M. (2012). On the Molecular Origin of Supercapacitance in Nanoporous Carbon Electrodes. _Nat._ _Mater._, _11_, 306–310. [doi:10.1038/nmat3260](https://doi.org/10.1038/nmat3260)
Marin-Laflèche et al., (2020). MetalWalls: A classical molecular dynamics software dedicated to the simulation of electrochemical systems.
_Journal_ _of_ _Open_ _Source_ _Software_, 5(53), 2373. [https://doi.org/10.21105/joss.02373](https://doi.org/10.21105/joss.02373)
4
Reed, S. K., Lanning, O. J., & Madden, P. A. (2007). Electrochemical Interface Between an
Ionic Liquid and a Model Metallic Electrode. _J._ _Chem._ _Phys._, _126_, 084704. [doi:10.1063/](https://doi.org/10.1063/1.2464084)
[1.2464084](https://doi.org/10.1063/1.2464084)
Scalfi, L., Limmer, D. T., Coretti, A., Bonella, S., Madden, P. A., Salanne, M., & Roten
berg, B. (2020). Charge fluctuations from molecular simulations in the constant-potential
ensemble. _Phys._ _Chem._ _Chem._ _Phys._, _22_, 10480–10489. [doi:10.1039/C9CP06285H](https://doi.org/10.1039/C9CP06285H)
Siepmann, J. I., & Sprik, M. (1995). Influence of Surface-Topology and Electrostatic Potential
on Water Electrode Systems. _J._ _Chem._ _Phys._, _102_, 511–524. [doi:10.1063/1.469429](https://doi.org/10.1063/1.469429)
Simoncelli, M., Ganfoud, N., Sene, A., Haefele, M., Daffos, B., Taberna, P.-L., Salanne,
M., et al. (2018). Blue energy and desalination with nanoporous carbon electrodes:
Capacitance from molecular simulations to continuous models. _Phys._ _Rev._ _X_, _8_, 021024.
[doi:10.1103/physrevx.8.021024](https://doi.org/10.1103/physrevx.8.021024)
Marin-Laflèche et al., (2020). MetalWalls: A classical molecular dynamics software dedicated to the simulation of electrochemical systems.
_Journal_ _of_ _Open_ _Source_ _Software_, 5(53), 2373. [https://doi.org/10.21105/joss.02373](https://doi.org/10.21105/joss.02373)
5
섹션 본문
섹션 본문이 없습니다.
참고문헌 9건
- Influence of surface topology and electrostatic potential on water/electrode systems The Journal of Chemical Physics · American Institute of Physics · 1995 10.1063/1.469429
- Electrochemical interface between an ionic liquid and a model metallic electrode The Journal of Chemical Physics · American Institute of Physics · 2007 10.1063/1.2464084
- On the molecular origin of supercapacitance in nanoporous carbon electrodes Nature Materials · Nature Portfolio · 2012 10.1038/nmat3260
- Blue Energy and Desalination with Nanoporous Carbon Electrodes: Capacitance from Molecular Simulations to Continuous Models Physical Review X · American Physical Society · 2018 10.1103/physrevx.8.021024
- Communication: Constrained molecular dynamics for polarizable models The Journal of Chemical Physics · American Institute of Physics · 2018 10.1063/1.5055704
- Simulating Electrochemical Systems by Combining the Finite Field Method with a Constant Potential Electrode Physical Review Letters · American Physical Society · 2019 10.1103/physrevlett.123.195501
- Charge fluctuations from molecular simulations in the constant-potential ensemble Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2019 10.1039/c9cp06285h
- Adiabatic motion and statistical mechanics<i>via</i>mass-zero constrained dynamics Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2020 10.1039/d0cp00163e
- Mass-zero constrained molecular dynamics for electrode charges in simulations of electrochemical systems The Journal of Chemical Physics · American Institute of Physics · 2020 10.1063/5.0007192