Mass-zero constrained molecular dynamics for electrode charges in simulations of electrochemical systems
Abstract
Classical molecular dynamics simulations have recently become a standard tool for the study of electrochemical systems. State-of-the-art approaches represent the electrodes as perfect conductors, modelling their responses to the charge distribution of electrolytes via the so-called fluctuating charge model. These fluctuating charges are additional degrees of freedom that, in a Born-Oppenheimer spirit, adapt instantaneously to changes in the environment to keep each electrode at a constant potential. Here we show that this model can be treated in the framework of constrained molecular dynamics, leading to a symplectic and time-reversible algorithm for the evolution of all the degrees of freedom of the system. The computational cost and the accuracy of the new method are similar to current alternative implementations of the model. The advantage lies in the accuracy and long term stability guaranteed by the formal properties of the algorithm and in the possibility to systematically introduce additional kinematic conditions of arbitrary number and form. We illustrate the performance of the constrained dynamics approach by enforcing the electroneutrality of the electrodes in a simple capacitor consisting of two graphite electrodes separated by a slab of liquid water.
I Introduction
Electrochemical systems involve many complex interfaces which are difficult to characterize experimentally and to simulate accurately. Different phenomena may occur at the molecular scale, such as electron transfers, ions adsorption, chemical reactions, etc Groß (2018); Fedorov and Kornyshev (2014). In the case of electrochemical energy storage devices, which are often operated at rather large voltages and for the largest number of cycles possible Armand and Tarascon (2008); Simon and Gogotsi (2008), understanding all these processes is compulsory to design new electrode materials and/or electrolytes. From the simulation point of view, several methods can be used depending on the target properties and the scale at which the system needs to be represented. In particular, density functional theory (DFT) calculations allow to determine the thermodynamics of reactions at the close vicinity of the electrode Cheng and Sprik (2012); Cheng et al. (2014); Chan and Norskov (2015). Nevertheless there are many problems for which it is necessary to treat the interface at length scales going beyond the nanometer, for example in order to understand the structure of the adsorbed layer that forms and how it screens the electrode charge Fedorov and Kornyshev (2014); Salanne et al. (2016). In such cases, thermal fluctuations play an important role, but DFT-based molecular dynamics cannot be used because of the large system sizes that are involved (typically thousands of atoms). It is thus necessary to use a more approximate method such as classical molecular dynamics (CMD).
Indeed, CMD is commonly used to study extended systems over long time-scales. As an example, hundreds of thousands of atoms can be simulated for microseconds to study biochemical mechanisms. Yet, in most classical calculations, the molecules/materials at play are electronically insulating, so that they are conveniently represented as collections of fixed charges over the whole simulation. This is of course not adequate to represent electrodes. More complex electrostatic schemes have been derived, among which a constant potential method was proposed by Siepmann and Sprik to account for the delocalized nature of the electronic cloud inside a metallic material and its perturbation by an external charge arising from the electrolyte Siepmann and Sprik (1995). Their method allowed to fix the potential of each electrode, therefore providing the correct framework for studying electrochemical energy storage devices. The method was later extended by Reed et al. to the case of two-dimensional periodic systems, Reed, Lanning, and Madden (2007) opening the way towards systematic studies of complete electrochemical cells Merlet et al. (2012).
The main ingredient of the Siepmann-Sprik method is the use of fluctuating electrode charges, in the same spirit as the charge equilibration Mortier, Ghosh, and Shankar (1986); Rappe and Goddard III (1991) scheme for molecular systems. These charges are thus treated as additional degrees of freedom in a similar way as the induced dipoles involved in polarizable force fields Madden and Wilson (1996) or as the wavefunction coefficients in DFT-based molecular dynamics Vuilleumier (2006). The same algorithms were therefore used as for these much more widely used cases. In their seminal work, Siepmann and Sprik have used the Car-Parrinello algorithm Car and Parrinello (1985), which consists in introducing a fictitious mass to each additional variable and treating it as a full dynamical degree of freedom. Along the years this algorithm was progressively replaced by Born-Oppenheimer-based approaches, in which the degrees of freedom other than the atomic positions are determined either in a self-consistent way or through energy minimization techniques. Recently, a new algorithm was proposed to solve numerically the temporal evolution of polarization degrees of freedom, in the general framework of constrained molecular dynamics. Coretti, Bonella, and Ciccotti (2018) The algorithm was shown to sample correctly the Born-Oppenheimer probability density and to be applicable to systems where the additional degrees of freedom must also satisfy conditions such as specific conservation or orthonormality properties, providing a viable alternative to current algorithms also for evolution based on orbital-free DFT. Bonella et al. (2020) Here we show that this approach, named mass-zero constrained dynamics, is also very efficient for computing the electrode fluctuating charges under constant applied potential conditions, allowing further to enforce the overall electroneutrality of the system. We test the algorithm on a simple capacitor made of graphite electrodes and a pure water electrolyte. It yields instantaneous charges in perfect agreement with other techniques, and accurate properties of the system when long simulations are performed.
II Theory and Algorithm
In this section, we show how the mass-zero constrained dynamics can be used to simulate the fluctuating charge model. We begin by recalling the main features of the model, highlighting only the points more directly related to the derivation of the new approach. The extended Lagrangian associated with the mass-zero constrained dynamics and the corresponding evolution equations are then introduced. Finally, the most effective algorithm to integrate these equations for fluctuating charges, which differs from the one adopted in previous applications due to the characteristics of the model, is discussed.
The system of interest is an electrochemical cell composed of two metallic electrodes kept at constant potential and separated by an electrolyte. To set the stage, let us recall that the electric potential generated by a spatial charge distribution is given by the Poisson equation
(1) |
complemented with appropriate boundary conditions. (Atomic units are used throughout this section.) In our case, these conditions must reflect the fact that the electrodes are conductors and therefore the potential is constant in the space they occupy. Thus
(2) |
where is a point in the region, , occupied by electrode and is the known value of the potential on each electrode. An equivalent representation of the system, better suited for the introduction of the extended Lagrangian required by mass-zero constrained dynamics, is obtained by recalling that the Coulomb energy associated to the spatial charge density can be written as
(3) |
The above equation implies that the electric potential can be obtained as the functional derivative of the Coulomb energy and that, in particular, the boundary condition in eq.(2) can also be expressed as
(4) |
for . A more explicit expression for the Coulomb energy of the system is obtained by specifying the charge distribution of the electrolyte and of the electrodes. In analogy with standard models of charged solutions, the electrolyte charge density is represented as a set of point charges located at the positions of its atoms. This part of the charge density will be indicated as where is the fixed charge of particle , is the Dirac delta function and are the positions of the particles of the electrolyte. The specific feature of the fluctuating charge model, on the other hand, is to replace the continuous physical charge density of the metallic electrodes with a discrete set of Gaussian charges centered at fixed locations, , in the regions. The charge distribution assigned to the site is given by
(5) |
where is a system-dependent parameter, fixed a priori in the model. The , that represent the integrated charge on each electrode site, have to be determined for each configuration of the system to enforce the conditions in eq. (4). In particular, in a molecular dynamics simulation of the capacitor, these variables must be determined at each time step, as they respond to the evolution of the coordinates of the particles in the electrolyte along the trajectory. Substituting the total charge density in eq. (3) and performing the integrals in the second equality, leads to the following explicit expression for the Coulomb energy
(6) | ||||
where we have used the notation , , and where , . Note that in this potential the are time-independent parameters, specified by the geometry of the model. Given the assumed form of the charge density on the electrodes, the condition in eq. (4) can be reformulated in terms of the discrete “variational” parameters as
(7) |
(). In this discrete model for the electrode charge distribution, the condition of constant potential is enforced only at sites , i.e. at the center of the Gaussian charge distributions, in contrast with (4) which holds at all positions in the metal. Previous work (Reed, Lanning, and Madden, 2007) has shown that, in spite of the approximate treatment of the charge distribution, this still enables accurate simulations of electrochemical system.
Recently, it was suggested to modify the original fluctuating charge model by forcing the variables to respect also the so-called electroneutrality condition
(8) |
for all accessed configurations of the electrolyte. The condition above mimics the presence of an ideal generator connected to the electrodes and enables a closed description of the system, i.e. one that does not require to take explicitly into account interactions with a charge reservoir. As discussed in previous workScalfi et al. (2020), eq. (8) also ensures that relevant physical properties such as the capacitance depend only on the potential difference between the electrodes and not on their absolute potential. In simulations, this condition has the added benefit to simplify the Ewald treatment of electrostatic interactions. While electroneutrality is only enforced on average by real generators, the more stringent condition (8) has been used in simulations Limmer et al. (2013a); Scalfi et al. (2020) providing accurate results.
The dynamics of the system within the fluctuating charge model is then defined as follows. The charges , mimicking the reorganization of the electronic charge density within the electrodes, adapt instantaneously to the configuration of the particles in the electrolyte. The evolution of the electrolyte’s degrees of freedom is then governed by
(9) |
where is the mass of the electrolyte particle and indicates the values of the electrode charges that satisfy eq. (7) and (8). As mentioned in the Introduction, this dynamical model is formally identical to that of other adiabatically separated systems such as classical polarizable models or first principle molecular dynamics. Consequently, algorithms such as Car-Parrinello dynamics or minimization schemes — such as conjugate gradient — typically adopted in Born-Oppenheimer propagation have been employed also to solve the evolution of the fluctuating charge model. In the following, we show how to adapt the recently proposed mass-zero constrained dynamics to this problem. In this approach an extended dynamical system is defined that leads to the same evolution equations as above for the electrolyte degrees of freedom. On the other hand, the constrained evolution of a set of auxiliary dynamical variables is used to satisfy exactly the conditions in the model. Lagrangian mechanics offers the most suitable framework to discuss the method in detail. We begin by observing that the constraints (7) can be trivially interpreted as the requirement that the function (where we indicated with the potential at site ) is at a minimum with respect to . Eq. (8), however, implies that not all variations of the are independent, and this must be accounted for when stating the minimum condition. This is conveniently done employing the formalism of Lagrange multipliers. To that end, we introduce the auxiliary function
(10) |
where is the Lagrange multiplier associated to the electroneutrality condition. It is easy to see, looking at the definition of and of , that actually corresponds to a potential shift as already noted in previous work Scalfi et al. (2020). The minimum solution with satisfying also eq. (8) is then given by the stationary point of . This leads to the conditions
(11) | ||||
As usual in the Lagrange multiplier scheme, the last equation above is in fact the electroneutrality condition but now obtained as a result of an optimization problem in the space that includes the Lagrange multiplier as a variable. Proceeding in analogy with the derivations of the mass-zero constrained dynamics presented in ref. 17; 18, we then extend the space of the dynamical degrees of freedom to include the variables and and define the Lagrangian of the extended system as
(12) |
In the equations above, we have introduced two (arbitrary) masses, and , associated with the variables and , respectively. To set the stage for the homogeneous limit that we will take on these quantities (see discussion below eq. (13)), we set , with a constant of appropriate physical dimensions. Conditions (11) are then interpreted as a set of holonomic constraints to obtain the evolution equations
(13) | ||||
where the are the (undetermined) Lagrange multipliers that enforce the constraints. The first derivatives of in the second and third line of the equations above are null due to the conditions imposed, eq. (11). The equations for the and variables can then be reorganized by dividing the non-vanishing terms (i.e. the constraint forces) by the masses of these degrees of freedom. In the third equation above, this means dividing by . At this stage, the key step of the method is performed taking the limit (see also ref. 21). In order for the auxiliary variables to have a finite acceleration in this limit, the ratio must remain finite implying that the are proportional to the masses. In the limit, the constraint forces acting on the physical degrees of freedom vanish and the dynamical system takes the form
(14) | ||||
with finite. In the first equation above, we used the fact that, given eq. (10) and the definition , we have .
Eq. (14) defines the mass-zero constrained dynamics for the fluctuating charge model with electroneutrality constraint. The evolution equations for the physical degrees of freedom, , do not depend directly on the constraints — consistent with eq. (9). The constrained evolution of the auxiliary variables, , however, guarantees that the stationary conditions for are satisfied together with the electroneutrality constraint. The zero mass limit for the auxiliary variables is rigorously enforced by this dynamical system, leading to full adiabatic separation of the physical and auxiliary motions and exact sampling of the Born-Oppenheimer probability density of the system Bonella et al. (2020). The homogeneity parameter introduced to take the limit of zero masses is a free parameter in the derivation of these equations of motions. To fix this parameter, one can note that it has the dimension , that is the inverse of the square of a capacitance. The numerical value of the parameter can then be estimated from the typical capacitance for the system, e.g. the capacitance of the empty cell, . Exploratory calculations, however, showed that the numerical stability of the algorithm is insensitive to in a very wide range around this value. An alternative point of view on is to consider it as a scaling parameter for the additional Lagrange multiplier by introducing a scaled variable . This new variable then has the dimension of a charge and it is natural to set . The dynamical equations resulting from this alternative perspective are strictly equivalent to Eq. (14).
We conclude this section noting that extending the set of auxiliary variables to include is not the only way to enforce the electroneutrality condition. For this particular case, it is in fact trivial to identify a set of generalized coordinates constraining the system to the correct hypersurface by reducing the dimensionality of the to variables and setting, for example, . The method proposed in this section, however, is completely general and can be applied also in cases where the definition of appropriate generalised coordinates is problematic. The only potential limitation of the method is numerical, stemming from the computational cost of enlarging the space of auxiliary variables.
Implementation of the mass-zero constrained algorithm
Numerical integration of the mass-zero constrained evolution equations combines propagation of the dynamical variables with a solver for the unknown, time dependent Lagrange multipliers . In previous work, the standard implementation of the SHAKE method, employing the iterative solution of the constraints first suggested by Berendsen in 22, was adopted. In the following we describe the specific implementation of the method in the simulation package MetalWalls, a dedicated code for the simulation of electrochemical cells. To maximise efficiency, this implementation takes into account both the previous characteristics of the code and the specific properties of the fluctuating charge model, most notably the quadratic (linear) dependence of on (). This dependence implies that the constraints are (at most) linear in the dynamical variables a feature that, as discussed at the end of this section, simplifies the solution of the constraints.
The basic step of the adopted algorithm is shown in eq. (15). It combines velocity Verlet propagation of the physical degrees of freedom with Verlet integration, incorporating the SHAKE solution of the constraints given by (17) (see discussion below), for the evolution of the auxiliary variables. Velocity Verlet is the integrator of choice in MetalWalls. The simpler implementation of constrained evolution via Verlet propagation, added to the code to perform the calculations reported in the next section, is sufficient since the forces acting on the physical variables depend only on coordinates. Each iteration of the algorithm requires as input the positions and momenta for the physical variables at the previous timestep, , , and the values of the auxiliary variables at the two previous timesteps, and where is the timestep. The knowledge of physical positions and of the additional variables , enables to compute the forces at time as . The Lagrange multipliers are treated as free parameters not as dynamical variables, in this algorithm. Their value at is determined by the requirement that the constraints at time are satisfied up to the prescribed tolerance. The notation underlines this aspect. Note that, due to the form of the overall potential and of eqns. (11) the derivatives of the constraints , are in fact constant. 111We recall that the are fixed parameters in the potential. This prescription can be relaxed to include the location of the Gaussian charges to change but this extension of the model, that can be easily incorporated in the mass-zero constrained dynamics, is not considered here. Initial conditions are chosen via standard procedures for the physical variables (see next section), while the initialization of the auxiliary variables at and is performed using constrained conjugate gradient minimization. The convergence threshold for conjugate gradient minimization is set to as close as possible to zero to satisfy the constraints up (or close) to numerical precision from the beginning of the simulation. 222Note that a different initialisation scheme was proposed in ref. Coretti, Bonella, and Ciccotti (2018). This scheme is more rigorous but its implementation in MetalWalls turned out to be impractical. Use of the conjugate gradient minimisation, on the other hand, is available in the code. This choice of initialisation did not cause visible problems and has negligible additional cost.
(15) | ||||
COMPUTE FORCES AT TIME USING AND | ||||
As mentioned above, the SHAKE algorithm used to obtain exploits the specific nature of the constraints. Let us recall that SHAKE is based on a first order expansion of the constraints from which a linear system of equations for the Lagrange multiplier is obtained. The first order expansion, which in our case involves only the auxiliary variables and is then performed at fixed , is written as
(16) | ||||
for . In the equations above, we introduced (see also SHAKE ALGORITHM block in eq. (15)) the notation , with , and where and . Note that, due to the linearity of the constraints, higher order terms in the expansion above are null for the fluctuating charge model. Substituting the definition of and in eq. (16) and reorganising the expression, then leads to an exact linear system for the Lagrange multipliers that can be solved as
(17) |
where the elements of the matrix are defined as
(18) |
(Solving for the product as done in eq. (17) rather than for alone is known to increase the stability of the method Ciccotti and Ryckaert (1986).) As mentioned above, the derivatives of the constraints, and therefore the matrix , are constant due to the form of the constraints. The inverse matrix required in eq. (17) needs therefore to be computed only once in the simulation, enabling efficient calculation of the Lagrange multipliers by direct solution of the linear system.
A non-trivial test calculation is presented in the next section to illustrate the properties of the algorithm described above.
III Validation

We simulate a system consisting of a slab of liquid water between two graphite electrodes, with the two interfaces perpendicular to the direction of the box, as shown in Figure 1. Despite its apparent simplicity, this system is very representative of current simulation works, which aim at characterizing the hydration of metal surfaces, both from the structural Willard et al. (2009); Limmer et al. (2013b) and the dynamical Willard et al. (2013) points of view. The extension to more complex systems, such as dilute aqueous solutions Limmer and Willard (2015); Simoncelli et al. (2018), ionic liquids Merlet et al. (2012); Haskins and Lawson (2016); Park and McDaniel (2020) or superconcentrated electrolytes Li et al. (2018), is trivial and does not require further technical development.
III.1 Simulations
The simulated system contains 2160 water molecules and 2880 carbon atoms in total. Each electrode is made of three graphene planes of 480 atoms each, with an interplane distance of 3.354 Å. Two-dimensional boundary conditions were used with no periodicity in the direction. The box lengths along and were respectively fixed to = 34.101 Å and = 36.915 Å. The Lennard-Jones parameters were taken from references 34; 35, with the various cross-terms chosen accordingly to the Lorentz-Berthelot mixing rules. A cut-off radius of 17.05 Å was used for the vdW interactions. Electrostatic interactions were computed using the two-dimensional Ewald summation technique Reed, Lanning, and Madden (2007); Gingrich and Wilson (2010). Electrode atoms have a Gaussian charge distribution of width = 0.56 Å.
A timestep of 1 fs was used to integrate the equations of motion. The system was first equilibrated with the electrode charges set to zero at constant temperature of 298 K and atmospheric pressure. The latter condition was enforced by allowing the positions of the electrode atoms to vary along the direction only, treating them as rigid bodies, in the presence of an external force corresponding to the target pressure. The separation between the two electrodes fluctuated around an equilibrium value of 55.11 Å. This value was chosen to fix the positions of the graphene planes in the following simulations. The system was then equilibrated in the NVT ensemble, with the two electrodes potential fixed to and V using the conjugate gradient method. A NVE ensemble production run of 500 ps was then performed using the mass-zero constrained dynamics algorithm. The homogeneity parameter was set to where is the unit of energy in Hartree atomic units and is the electron charge. The standard deviation of the total energy along the simulation is 610-4 , i.e. less than 1% of the standard deviation of the potential energy of the system.
III.2 Results
In a first step, we compare the new method, which is noted as MZ in the following, to the generic Born-Oppenheimer approaches, which either employ a conjugate gradient (CG) minimization Reed, Lanning, and Madden (2007) or a matrix inversion Wang et al. (2014) (MI) while enforcing electroneutrality at each timestep.
In terms of performance, a typical step using MZ only requires 1% more CPU time than the MI method. Note that for systems with fixed positions, , of the electrode’s sites, these two methods are considerably faster than the CG. The conditions of the model are satisfied to a tolerance of the order of with both MZ and MI. CG calculations targeting the lower, typical, tolerance of 10-6 are, notably, up to a factor 5 slower. For models with fixed positions of the electrode’s charges, the only numerical bottleneck for MZ and MI is the calculation of the matrix at the first time step, but this overhead is negligible for typical simulations. MZ also yields electrode charges that are in agreement with MI: we computed the charges with the two methods for 100 configurations along a trajectory and estimated the relative error on the electrode atom charges by computing
(19) |
We obtain, on average, a relative error on the charges of . The maximal error is (a single atomic charge of instead of ), which can be attributed to numerical errors. Another important test concerns the satisfaction of the electroneutrality constraint. Along the trajectory, we obtain a maximal value for the total charge of 2.6810-12 , which is again very low and arises from the various numerical errors.

Based on the excellent agreement for the calculation of the individual charges w.r.t. the MI method, we can expect the MZ to provide the correct properties of the system. To illustrate this, we first calculate the total charge on the positive electrode, which is one of the most important target properties when simulating such systems since it gives access to the interfacial capacitance. We obtain a value of 2.89 F cm-2, in agreement with a previous simulation work on the same system, conducted with the CG method. Jeanmairet et al. (2019).
In electrochemical devices, the structure of the liquid adsorbed at the electrode surface is difficult to characterize. Very complex experimental setups are needed, and they generally do not provide details at the molecular resolution. This structure is therefore a quantity often determined via molecular simulations. The atomic density profiles computed for our system are shown in Figure 2. These curves are also in agreement with previous studies Jeanmairet et al. (2019) and can be qualitatively understood as follows. The presence of electrified walls leads to the formation of two layers of liquid with densities differing from the one of the bulk liquid, over a distance of approximately 10 Å. The density profile for the oxygen atoms shows a more intense peak close to the positive electrode (on the right hand side), while the hydrogen atoms one is characterized by the presence of a prepeak on the negative electrode side. These features are readily attributed to the polarity of water molecule. Contrarily to the case of transition metals Carrasco, Hodgson, and Michaelides (2012); Limmer et al. (2013b), we do not observe the formation of particular hydrogen bonding patterns at the surface of the graphite electrode.

The knowledge of the surface charge and of the atomic densities is not sufficient to determine the screening properties of the liquid. To better characterize the interface, it is necessary to determine the average charge density along the direction, , in order to compute the Poisson potential across the cell, integrating twice eq. (1) on the axis
(20) |
where is a reference point. Here we choose a value within the left electrode, for which = 0.5 V. As can be seen in Figure 3, the imposed applied potential difference is recovered since the potential equals 0.5 V inside the right electrode. In between these two values, the Poisson potential shows several interesting features. Firstly, in the vicinity of the two electrodes, strong oscillations occur, which are due to the formation of polarized layers of water molecules. Secondly, the bulk liquid experiences a finite electric field, which differs from the applied voltage due to the screening of the adsorbed water layers. Willard et al. (2009) By changing the applied potential, it is possible to determine further quantities such as the electric field dependence of the dielectric constant of the fluid Jeanmairet et al. (2019).
IV Conclusion
Constant applied potential molecular dynamics simulations, which are increasingly used to study the interface between metallic electrodes and many different types of electrolytes, generally rely on a “Born-Oppenheimer” approximation. The models allow the electrode charges to fluctuate by enforcing the local potential to be equal to a value which is fixed for the whole electrode. In this work we have showed that it is possible to reformulate the problem, by treating these charges as dynamical variables with zero mass. The constant potential condition is recovered by using the constrained molecular dynamics formalism. This method is as efficient as the existing alternatives, but it has the advantage to allow additional conditions to be introduced in a natural way. The method also produces an algorithm which is time-reversible and symplectic for all the degrees of freedom. The new algorithm was validated by simulating a capacitor made of two graphite electrodes and a pure water simulation, with an applied potential of 1 V between the electrodes and an overall electroneutrality constraint. We have shown that the computed charges are essentially indistinguishable from those obtained via the Born-Oppenheimer approach for a given atomic configuration. We have then shown that the simulations yield structural properties of the fluid which are in perfect agreement with previous works. The results presented in this work pave the way to more general applications. In future work, in fact, the mass-zero constrained framework will be used to study systems consisting of constant potential electrodes combined with a polarizable fluid, where all the additional dynamic variables would be propagated through similar equations of motions. We also expect this method to allow fixing the charges on the two electrodes independently, thus opening the way towards comparison with more complex electrochemical experiments.
Acknowledgements.
A.C. would like to acknowledge the hospitality received by PHENIX laboratories during the development of this work. 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, and project NEPTUNE, Grant No. ANR-17-CE09-0046-02).References
- Groß (2018) A. Groß, “Fundamental challenges for modeling electrochemical energy storage systems at the atomic scale,” Top. Curr. Chem. 376, 17 (2018).
- Fedorov and Kornyshev (2014) M. V. Fedorov and A. A. Kornyshev, “Ionic liquids at electrified interfaces,” Chem. Rev. 114, 2978—3036 (2014).
- Armand and Tarascon (2008) M. Armand and J.-M. Tarascon, “Building better batteries,” Nature 451, 652–657 (2008).
- Simon and Gogotsi (2008) P. Simon and Y. Gogotsi, “Materials for Electrochemical Capacitors,” Nat. Mater. 7, 845–854 (2008).
- Cheng and Sprik (2012) J. Cheng and M. Sprik, “Alignment of electronic energy levels at electrochemical interfaces,” Phys. Chem. Chem. Phys. 14, 11245–11267 (2012).
- Cheng et al. (2014) J. Cheng, X. Liu, J. A. Kattirtzi, J. VandeVondele, and M. Sprik, “Aligning electronic and protonic energy levels of proton-coupled electron transfer in water oxidation on aqueous TiO2,” Angew. Chem., Int. Ed. 53, 12046–12050 (2014).
- Chan and Norskov (2015) K. Chan and J. K. Norskov, “Electrochemical barriers made simple,” J. Phys. Chem. Lett. 6, 2663–2668 (2015).
- Salanne et al. (2016) M. Salanne, B. Rotenberg, K. Naoi, K. Kaneko, P.-L. Taberna, C. P. Grey, B. Dunn, and P. Simon, “Efficient Storage Mechanisms for Building Better Supercapacitors,” Nat. Energy 1, 16070 (2016).
- Siepmann and Sprik (1995) J. I. Siepmann and M. Sprik, “Influence of Surface-Topology and Electrostatic Potential on Water Electrode Systems,” J. Chem. Phys. 102, 511–524 (1995).
- Reed, Lanning, and Madden (2007) S. K. Reed, O. J. Lanning, and P. A. Madden, “Electrochemical Interface Between an Ionic Liquid and a Model Metallic Electrode,” J. Chem. Phys. 126, 084704 (2007).
- Merlet et al. (2012) C. Merlet, B. Rotenberg, P. A. Madden, P.-L. Taberna, P. Simon, Y. Gogotsi, and M. Salanne, “On the Molecular Origin of Supercapacitance in Nanoporous Carbon Electrodes,” Nat. Mater. 11, 306–310 (2012).
- Mortier, Ghosh, and Shankar (1986) W. J. Mortier, S. K. Ghosh, and S. Shankar, “Electronegativity-equalization method for the calculation of atomic charges in molecules,” J. Am. Chem. Soc. 108, 4315–4320 (1986).
- Rappe and Goddard III (1991) A. K. Rappe and W. A. Goddard III, “Charge equilibration for molecular dynamics simulations,” J. Phys. Chem. 95, 3358–3363 (1991).
- Madden and Wilson (1996) P. A. Madden and M. Wilson, “’covalent’ effects in ’ionic’ systems,” Chem. Soc. Rev. 25, 339–350 (1996).
- Vuilleumier (2006) R. Vuilleumier, “Density functional theory based ab initio molecular dynamics using the car-parrinello approach,” Lect. Notes Phys. 703, 223–285 (2006).
- Car and Parrinello (1985) R. Car and M. Parrinello, “Unified approach for molecular dynamics and density-functional theory,” Phys. Rev. Lett. 55, 2471–2474 (1985).
- Coretti, Bonella, and Ciccotti (2018) A. Coretti, S. Bonella, and G. Ciccotti, “Communication: Constrained molecular dynamics for polarizable models,” J. Chem. Phys. 149, 191102 (2018).
- Bonella et al. (2020) S. Bonella, A. Coretti, R. Vuilleumier, and G. Ciccotti, “Adiabatic motion and statistical mechanics via mass zero constrained dynamics,” Phys. Chem. Chem. Phys. in press (2020).
- Scalfi et al. (2020) L. Scalfi, D. T. Limmer, A. Coretti, S. Bonella, P. A. Madden, M. Salanne, and B. Rotenberg, “Charge fluctuations from molecular simulations in the constant-potential ensemble,” Phys. Chem. Chem. Phys. in press (2020).
- Limmer et al. (2013a) D. T. Limmer, C. Merlet, M. Salanne, D. Chandler, P. A. Madden, R. van Roij, and B. Rotenberg, “Charge fluctuations in nanoscale capacitors,” Phys. Rev. Lett. 111, 106102 (2013a).
- Ryckaert, Bellemans, and Ciccotti (1981) J.-P. Ryckaert, A. Bellemans, and G. Ciccotti, “The rotation-translation coupling in diatomic molecules,” Molecular Physics 44, 979–996 (1981).
- Ryckaert, Ciccotti, and Berendsen (1977) J.-P. Ryckaert, G. Ciccotti, and H. J. C. Berendsen, “Numerical integration of the cartesian equations of motion of a system with constraints: molecular dynamics of n-alkanes,” J. Comput. Phys. 23, 327–341 (1977).
- Note (1) We recall that the are fixed parameters in the potential. This prescription can be relaxed to include the location of the Gaussian charges to change but this extension of the model, that can be easily incorporated in the mass-zero constrained dynamics, is not considered here.
- Note (2) Note that a different initialisation scheme was proposed in ref. Coretti, Bonella, and Ciccotti (2018). This scheme is more rigorous but its implementation in MetalWalls turned out to be impractical. Use of the conjugate gradient minimisation, on the other hand, is available in the code. This choice of initialisation did not cause visible problems and has negligible additional cost.
- Ciccotti and Ryckaert (1986) G. Ciccotti and J.-P. Ryckaert, “Molecular dynamics simulation of rigid molecules,” Comp. Phys. Rep. 4, 346–392 (1986).
- Willard et al. (2009) A. P. Willard, S. K. Reed, P. A. Madden, and D. Chandler, “Water at an electrochemical interface - a simulation study,” Faraday Discuss. 141, 423–441 (2009).
- Limmer et al. (2013b) D. T. Limmer, A. P. Willard, P. Madden, and D. Chandler, “Hydration of metal surfaces can be dynamically heterogeneous and hydrophobic,” Proc. Natl. Acad. Sci. U.S.A. 110, 4200–4205 (2013b).
- Willard et al. (2013) A. P. Willard, D. T. Limmer, P. A. Madden, and D. Chandler, “Characterizing heterogeneous dynamics at hydrated electrode surfaces,” J. Chem. Phys. 138, 184702 (2013).
- Limmer and Willard (2015) D. T. Limmer and A. P. Willard, “Nanoscale heterogeneity at the aqueous electrolyte-electrode interface,” Chem. Phys. Lett. 620, 144–150 (2015).
- Simoncelli et al. (2018) M. Simoncelli, N. Ganfoud, A. Sene, M. Haefele, B. Daffos, P.-L. Taberna, M. Salanne, P. Simon, and B. Rotenberg, “Blue energy and desalination with nanoporous carbon electrodes: Capacitance from molecular simulations to continuous models,” Phys. Rev. X 8, 021024 (2018).
- Haskins and Lawson (2016) J. B. Haskins and J. W. Lawson, “Evaluation of molecular dynamics simulation methods for ionic liquid electric double layers,” J. Chem. Phys. 144, 134701 (2016).
- Park and McDaniel (2020) S. Park and J. G. McDaniel, “Interference of electrical double layers: Confinement effects on structure, dynamics and screening of ionic liquids,” J. Chem. Phys. 152, 074709 (2020).
- Li et al. (2018) Z. Li, G. Jeanmairet, T. Mendez-Morales, B. Rotenberg, and M. Salanne, “Capacitive performance of water-in-salt electrolytes in supercapacitors: a simulation study,” J. Phys. Chem. C 122, 23917–23924 (2018).
- Berendsen, Grigera, and Straatsma (1987) H. J. C. Berendsen, J. R. Grigera, and T. P. Straatsma, “The Missing Term in Effective Pair Potentials,” J. Phys. Chem. 91, 6269–6271 (1987).
- Werder et al. (2003) T. Werder, J. H. Walther, R. L. Jaffe, T. Halicioglu, and P. Koumoutsakos, “On the water-carbon interaction for use in molecular dynamics simulations of graphite and carbon nanotubes,” J. Phys. Chem. B 107, 1345–1352 (2003).
- Gingrich and Wilson (2010) T. R. Gingrich and M. Wilson, “On the ewald summation of gaussian charges for the simulation of metallic surfaces,” Chem. Phys. Lett. 500, 178–183 (2010).
- Wang et al. (2014) Z. Wang, Y. Yang, D. L. Olmsted, M. Asta, and B. B. Laird, “Evaluation of the constant potential method in simulating electric double-layer capacitors,” The Journal of Chemical Physics 141, 184102 (2014).
- Jeanmairet et al. (2019) G. Jeanmairet, B. Rotenberg, D. Borgis, and M. Salanne, “Study of a water-graphene capacitor with molecular density functional theory,” J. Chem. Phys. 151, 124111 (2019).
- Carrasco, Hodgson, and Michaelides (2012) J. Carrasco, A. Hodgson, and A. Michaelides, “A molecular perspective of water at metal interfaces,” Nat. Mater. 11, 667–674 (2012).