Abstract
Amorphous porous carbons have been widely used as electrodes for energy storage. However, due to their structural heterogeneity and complex pore topology, the absence of reliable atomic carbon models hinders understanding energy storage mechanisms through molecular simulations. Here, we develop a modeling approach capturing the rich experimental information of small angle X-ray scattering, gas adsorption, and material density, integrating three-dimensional morphology construction with atomic structure generation. Using the built atomic model, constant-potential molecular simulations are performed to investigate the capacitive behavior of amorphous porous carbons, well-validated by experimental measurements of capacitance and impedance. Voronoi sphere analyses uncover the interplay between pore structure and charge storage: ultramicropores (< 0.7 nm) are found to enhance the capacitance through ion exchange, while large micropores (> 0.7 nm) exhibit lower capacitance with negligible ion number change. The charging dynamics are quantified by the proposed multi-scale impedance model, bridging microscopic simulations and macroscopic experiments. This modeling framework paves the way toward molecular understanding of energy storage in amorphous porous materials.
Similar content being viewed by others
Introduction
Porous carbon materials, featuring superior specific surface area, excellent conductivity, great abundance, and low cost1,2, have been widely used as electrodes for supercapacitors3 and batteries4. Structures of nanoporous carbons, including pore size, pore shape, pore connectivity, and specific surface area (SSA), are of great significance to energy storage5,6,7. To examine the effects of the pore structure on energy storage, experiments of porous carbon supercapacitors uncovered that the pore with size close to the ionic diameter could enhance the capacitance8,9, and pore walls with smaller areas of graphene-like domains exhibited higher capacitance10,11.
To understand the capacitive behavior of nanoporous electrodes at the atomic level, molecular simulations have been playing a pivotal role6. Using ideal pore models, like nanoslits and nanotubes, to epitomize porous carbons12, molecular simulations could effectively explore the influence of pore size on charge storage. Monte Carlo simulations of nanoslits revealed that the electrode with a wider pore size distribution (PSD) has a lower capacitance, ignoring the pore connectivity of porous carbons13. Adopting quenched molecular dynamics (QMD) to obtain amorphous nanoporous carbon models14, the pore with larger curvature, exerting higher confinement on electrolyte ions, is found to store charge more efficiently15. Nevertheless, QMD-generated models rely on the simulation cooling rate and material density16, and none of the other experimental data is taken into account17. Notably, small angle x-ray scattering (SAXS) can capture three-dimensional (3D) structures of porous carbons18, which could be used by the Gaussian random field (GRF) method to construct nanoporous models displaying the morphology of electrode matrix19. These 3D electrode matrix models demonstrated that the concave surface of porous carbons helps to improve charge storage19,20. However, the van der Waals (vdW) interactions between the electrode and electrolyte are neglected due to the absence of carbon atoms in 3D electrode matrix models, which is key to modeling electrode-electrolyte interfaces21,22. Therefore, realistic atomic models, based on more experimental information23,24, are required to investigate the capacitive behavior of amorphous porous carbons, especially the charging dynamics related to the ion transport inside electrode pores12.
Herein, we developed a realistic amorphous electrode model with the atomic structure, built upon the SAXS, gas adsorption, and density of nanoporous carbons. With this carbon model, we conducted constant-potential molecular dynamics (MD) simulations of carbon electrodes with the ionic liquid electrolyte to study their capacitance and charging process. The MD-obtained differential capacitance is in good agreement with experimental measurements of the same electrode and electrolyte, with regard to the magnitude and trend. To dissect the energy storage mechanism, the Voronoi sphere method was proposed to analyze the in-pore ion structure and transport across different-sized pores under polarizations. Analyses demonstrate that ultramicropores (< 0.7 nm) dominate charge storage through the ion exchange process, while large micropores (> 0.7 nm) make minor contributions due to the weakly changed numbers of in-pore cations and anions. Particularly, ultramicropores render different capacitances, depending on how they connect with large micropores. Meanwhile, multi-scale models were developed not only to characterize impacts of the pore size on the charge storage and charging dynamics, but also to bridge molecular simulations and macroscopic measurements.
Results
Atomic model of amorphous porous carbons
The 3D structure of the selected porous carbon (YP-50F, density of 0.86 g cm−3) is obtained by the SAXS measurements, and the SAXS profile for nanopores was extracted with the scattering vector \(q\) ranging from 1 to 6 nm−1 (Fig. 1a). Using the classical GRF (cGRF) method25, the SAXS profile can be characterized by a pair of geometry statistical parameters: the domain length \(l\) refers to the periodical structure of the pore void and pore wall, and the correlation length \(\xi\) accounts for the association in the pore size, direction, and shape between neighboring pores26. These parameters originate from the Teubner-Strey model26, which describes SAXS profiles with scattering peaks induced by periodic arrangements of pore walls. In this model, the scattering intensity \(I\) is a function of scattering vector \(q\) as\(:\) \(I\left(q\right)={I}_{0}/\left(1+{c}_{1}{q}^{2}+{c}_{2}{q}^{4}\right)\), where \({I}_{0}\) is the scattering intensity at \(q=0\), and \({c}_{1}\), \({c}_{2}\) are fitting coefficients for the model (details see Supplementary Section 1). The two GRF parameters could be obtained by \(\xi=1/\scriptstyle\sqrt{\scriptstyle\sqrt{\frac{1}{4{c}_{2}}}+\frac{{c}_{1}}{{4c}_{2}}}\) and \(l=2\pi /\scriptstyle\sqrt{\scriptstyle\sqrt{\frac{1}{4{c}_{2}}}-\frac{{c}_{1}}{4{c}_{2}}}\), which are adopted to access the position of scattering peak \({q}_{\max }\):
a SAXS intensity versus scattering vector \(q\) of the porous carbon sample in experiments (gray dots), fitting curves by cGRF method (blue) and the mGRF method (red), plotted in log-log scale. b 3D electrode matrix structure generated by mGRF model (top panel) and the atomic structure obtained by H3D-RMD (bottom panel). c PSD from the experimental gas adsorption (black) and GCMC simulation of the atomic carbon model (red). Source data are provided as a Source Data file.
However, fitting the experimental SAXS curve by cGRF yields l = 4.46 nm and ξ = 0.19 nm, giving \(\frac{2\pi }{l} < \frac{1}{\xi }\), suggesting that the scattering peak vanishes and a ‘Guinier knee’ occurs27 (detailed in Supplementary Section 1). This conflicts with the fact that the SAXS profile exhibits two scattering peaks around 3.4 and 4.9 nm−1 (Fig. 1a). To account for multiple scattering peaks, the GRF method was developed with multiple sets of statistical geometry parameters, named multiple scattering peaks GRF (mGRF) method, and its autocorrelation function is formulated as:
where the weight \({a}_{i}\) is related to the fraction of the surface area, and N is determined based on the number of scattering peaks (Supplementary Fig. 2).
Using the mGRF method, the two scattering peaks of SAXS are captured, situated at 3.4 and 4.7 nm-1, very close to the experimental observation (Fig. 1a). Based on mGRF fitting of the SAXS data (Supplementary Section 2), thousands of 3D electrode matrix models for amorphous nanoporous carbons were generated, incorporating the pore void fraction from gas adsorption measurements, and then filtered by the experimental SAXS. To validate the SSA of the 3D electrode matrix model, the Monte Carlo integration method28 was taken to calculate the SSA from the pore structure (defined as \({\rho }_{{matrix}}\left({{\bf{x}}}\right)\), see Supplementary Section 1). The filtered 3D electrode matrix model was found to have an SSA of 1573 m2 g-1 (top panel of Fig. 1b), close to the experimental value (1517 m2 g-1) evaluated by the quenched solid density functional theory (QSDFT) model29. As a comparison, the 3D electrode matrix model obtained by the cGRF method gave an SSA of 1194 m2 g-1, further from the experiment.
To take vdW interactions between the electrode and electrolyte into account, we proposed the hybrid 3D reverse molecular dynamics (H3D-RMD) method to construct the amorphous porous carbon model with the atomic structure, combining the 3D-RMD with the reactive force field MD. In 3D-RMD simulations, the pore structure of the atomic model is expressed by the spatial occupation of atoms \({\rho }_{{atom}}\left({{\bf{x}}}\right)\), and each atom occupies a sphere with a vdW radius \({r}_{{vdW}}\):
where \(H\) is the Heaviside step function, and \(\left\{{{{\bf{R}}}}_{i},{i}=1,\ldots,{N}_{{atom}}\right\}\) denote the atom positions. Here, \({\rho }_{{atom}}\left({{\bf{x}}}\right)=1\) represents the pore wall, and \({\rho }_{{atom}}\left({{\bf{x}}}\right)=0\) means the pore void. Therefore, the difference in pore structure between the atomic model and the mGRF-generated 3D electrode matrix model is expressed as:
where V is the box volume. Accordingly, the 3D-RMD simulations minimize \({\chi }^{2}\) to guarantee that the pore structure of the resulting atomic model matches that of the 3D electrode matrix model. The reactive force field MD ensures the stability of the chemical structure (details see Supplementary Section 3). During the electrode construction by H3D-RMD, the density of porous carbon was taken to determine the total atom number in the model, and the annealing process was employed to produce the atomic structure of the amorphous porous carbon electrode24 (bottom panel of Fig. 1b, the selection of the reactive force field is discussed in the Methods and Supplementary Section 3). The SSA of the atomic model is calculated as 1694 m2 g-1, matching the experiment. To further validate the atomic model, the PSD was evaluated through grand canonical Monte Carlo (GCMC) simulations (see Supplementary Fig. 6 and Methods), which aligns with the gas adsorption measurement (Fig. 1c), confirming the reliability and accuracy of the atomic model constructed by mGRF and H3D-RMD methods. Meanwhile, the simulated TEM image of the atomic model was found to be similar to the experimental one (Supplementary Fig. 4).
To verify the generality of the approach to constructing realistic atomic models, we applied the same modeling process, including the mGRF and H3D-RMD, to two additional amorphous porous carbons (YP-80F and ACC-5092-20, Supplementary Fig. 5). The resulting atomic models were validated by gas adsorption and cyclic voltammetry measurements. The simulated adsorption isotherms, PSDs and capacitances all agree with the experiments (Supplementary Figs. 6-7 and Supplementary Table 1), demonstrating that the methodology consisting of mGRF and H3D-RMD could be a generalized tool for realistically modeling amorphous porous carbons.
Capacitance and ion packing of nanoporous carbon electrodes
Using the amorphous atomic model in Fig. 1b, constant-potential MD simulations30 were performed to explore the charge storage of supercapacitors with nanoporous carbon electrodes and ionic liquid [EMIM][BF4] electrolyte (Fig. 2a). With a series of simulations at equilibrium under different applied voltages, the gravimetric differential capacitance \({C}_{d}\) was acquired (see Methods), consistent with electrochemical measurements of the same nanoporous carbon and electrolyte in both the magnitude and curve shape (Fig. 2b). This consistency is hardly achieved by mimicking the porous carbon with the widely-used nanoslit model (Fig. 2b). The dependence of Cd on the electrode potential could be understood by the accumulated ions within electrode pores (Fig. 2c). Specifically, at the potential of zero charge (PZC), the electrolyte wets the electrode20, with anions exhibiting a higher accumulation than cations. This leads to a positive PZC value (0.14 V), close to the experiment (0.16 V). Under polarization, the ratio of ion number variation to potential difference increases for both negative and positive electrodes (inset of Fig. 2c), corresponding to the U-shaped \({C}_{d}\) curve. Furthermore, \({C}_{d}\) of the positive electrode is higher than the negative electrode, both in the simulation and experiment. This could be attributed to the smaller size of anions, making them more likely to approach pore walls and display stronger image charge effects31.
a Configuration of MD simulation system with the porous carbon electrode and ionic liquid electrolyte ([EMIM][BF4]). b Differential capacitance of experiments (black), atomic model (red) and nanoslit model (blue) for porous carbons. The nanoslit model uses the average pore size of the porous carbons. Dashed lines represent the PZC values. c Total ion number as a function of the electrode potential. The subfigure represents the rate of ion number change with the electrode potential. d Schematic of the Voronoi sphere method. Red dots represent in-pore Voronoi nodes; the pore size d is defined as the diameter of the Voronoi sphere (in dark grey) with the Voronoi node as the center. e Number of ions in different-sized pores at the PZC. Pore sizes are classified into ultramicropores ( < 0.7 nm) and large micropores ( > 0.7 nm). f, g Change of ion number in different-sized pores, compared to the PZC, for negative (f) and positive (g) electrodes. h–j Local electrode charge (LEC) of ions in different-sized pores at the PZC (h), under negative (i) and positive (j) polarizations. Error bars in b, c, e–j indicate one standard deviation of four independent simulations. Source data are provided as a Source Data file.
The number of ions in the whole porous electrode gives a limited understanding of the charge storage, because the impacts of local structures are averaged out15. To assess how the ion packing inside different-sized pores affects the capacitance, the Voronoi sphere method was proposed to characterize local pore structures and quantify in-pore ion distributions. The pore size is defined as the diameter of the Voronoi sphere (Fig. 2d and Supplementary Section 5), and then pores are categorized into two types: ultramicropores (< 0.7 nm) and large micropores (> 0.7 nm). The number of ions in different-sized pores is calculated at the PZC and under the applied voltage of 2 V (Fig. 2e-g, calculation details see Supplementary Section 6). At the PZC, the ultramicropores tend to adsorb more ions (both cations and anions) than large micropores. Specifically, anions predominantly occupy the 0.42 nm pore and cations prefer the 0.49 nm pore, demonstrating that anions, with smaller size and stronger image charge effects, can enter smaller pores more effectively. Under polarization, the ion response presents two distinct trends depending on pore sizes. In ultramicropores, both negative and positive electrodes show increased counter-ions and decreased co-ions, indicating an ion exchange process (Fig. 2f-g). In stark contrast, large micropores have negligible changes in both cation and anion numbers, suggesting that the electrolyte in these pores behaves like ion reservoirs.
To evaluate the charge stored by different electrode pores, the local electrode charge (LEC) is calculated by taking the concept of ‘counter charge’15, which quantifies the charge of electrode atoms surrounding adsorbed ions (Fig. 2h-j). At the PZC (Fig. 2h), the LEC gets enlarged as the pore size decreases, and the LEC near anions is higher than near cations, due to their smaller size allowing them to get closer to the pore wall. Under polarization, the LEC is significantly larger in ultramicropores than in large micropores of both negative (Fig. 2i) and positive (Fig. 2j) electrodes. This is attributed to the increased separation and decoupling of cation-anion pairs in ultramicropores (Supplementary Fig. 11), and the ion could induce more charge than an electrically neutral cation-anion pair32,33. The higher LEC in ultramicropores means more efficient screening of adsorbed counter-ions, leading to an enhanced capacitance of ultramicropores19.
To scrutinize the in-pore ion packing, the radial ion number density is quantified for different-sized pores (Fig. 3a-c and Supplementary Fig. 12, details see Supplementary Section 5). At the PZC, steric effects in ultramicropores enforce a monolayer of ions to stay at the pore center (Fig. 3a). As the pore size increases, ions nearly deplete in the pore center, with both cations and anions adsorbing on the pore wall. Further enlarging pore size introduces a second layer of ions in the pore center, leading to a peak-valley-peak density distribution. Under polarization, the changes in the number density of ultramicropores align with the ion exchange process (Figs. 3b-c vs. 2f-g). For large micropores, counter-ions migrate from the pore center to the pore wall (Fig. 3b), while the depletion regions at the PZC are enriched with co-ions desorbed from pore walls, forming another ion layer (Supplementary Fig. 13, schematics see Supplementary Fig. 14). During such a process, some ions may leave large micropores but are almost commensurably replenished, resulting in little change of the ion number within these pores.
a Radial number density of cations for different-sized pores at the PZC. r = 0 denotes the pore center. b, c Change of radial number density of cations in negative (b) and positive (c) electrodes, compared with the PZC. d Schematic of ultramicropores with different connections to large micropores. Ultramicropores, showing Voronoi sphere overlap with large micropores, are defined as facial ultramicropores, and the others are deep ultramicropores. e LEC of ions in deep and facial ultramicropores. f Change of ions in deep and facial ultramicropores, compared with the PZC. Error bars in (e) and (f) indicate one standard deviation of four independent simulations. Source data are provided as a Source Data file.
Another key factor affecting charge storage is how the ultramicropores connect with large micropores. Based on their connections to large micropores, ultramicropores are classified into deep and facial ones (Fig. 3d, details see Supplementary Section 7). Figure 3e shows that deep ultramicropores have a larger LEC than facial ones in both negative and positive electrodes, leading to higher capacitance. This is because cation-anion pairs are more separated (Supplementary Fig. 16a-b), and ion pairs get more decoupled in deep ultramicropores (Supplementary Fig. 16c-d). As a result, deep ultramicropores display stronger ion exchange than the facial ones in both negative and positive electrodes (Fig. 3f). Meanwhile, deep ultramicropores in the positive electrode tend to store more charge than negative electrode due to stronger ion exchange (Fig. 3f), which renders molecular insight into why the capacitance of the positive electrode is higher than the negative one (Fig. 2b).
Charging dynamics and multi-scale impedance model
We then focus on the charging dynamics of the nanoporous carbon supercapacitor. To recognize how the charging process responds to the applied voltage (Fig. 4a), a fractal equivalent circuit (FEC) model is developed for nanoporous carbon electrodes possessing the geometry of the atomic model in Fig. 1b. In the FEC model, the charging processes of nanoporous electrodes are characterized at two levels (Fig. 4b): level I represents ion transport in ultramicropores and level II accounts for ion diffusion in large micropores. The impedance of the FEC \({Z}_{{FEC}}\) is derived (details in Supplementary Section 8):
where \({R}_{{{\rm{I}}}}\), \({R}_{{{\rm{II}}}}\) represent resistances per unit length along the pore axis; \({r}_{{{\rm{I}}}}\), \({r}_{{{\rm{II}}}}\) denote the average half-pore sizes, and \({L}_{{{\rm{I}}}}\), \({L}_{{{\rm{II}}}}\) are pore lengths (defined as the length of ion path in Fig. 4b and Supplementary video); \({n}_{{{\rm{I}}}}\) is the number of ultramicropores branching from large micropores (Supplementary Table 2). The capacitance (CI and CII) and in-pore ionic conductivity (\({\sigma }_{{{\rm{I}}}}=1/{R}_{{{\rm{I}}}}\pi {r}_{{{\rm{I}}}}^{2}\) and \({\sigma }_{{{\rm{II}}}}=1/{R}_{{{\rm{II}}}}\pi {r}_{{{\rm{II}}}}^{2}\)) of ultramicropores and large micropores were then obtained, using the FEC model to fit the charging process of the supercapacitor system modeled by constant-potential MD simulations (Fig. 4a and Supplementary Table 3). The R2 of the FEC fitting reaches 0.998, demonstrating that the FEC is capable of describing the MD-obtained charging process of the amorphous nanoporous carbon electrode. The FEC fitting renders higher capacitance of ultramicropores than large micropores (6.01 vs. 4.44 μF cm−2), supporting the aforementioned observation that ultramicropores show higher LEC (Fig. 2i-j). Meanwhile, the ionic conductivity of electrolytes in ultramicropores is much smaller than in large micropores (3.90 × 10−2 vs. 2.33 × 10−1 S m−1), indicating that ultramicropores would tremendously slow down the ion transport. Based on the capacitance and in-pore ionic conductivity, the time constants of charging process are calculated for different pores, using \(\tau=C{L}_{{eff}}^{2}/2\sigma r\), where \({L}_{{eff}}\) is the effective pore length accounting for the ion path. For ultramicropores, Leff = 2.85 nm, and then τI = 25.06 ns; for large micropores, Leff = 3.73 nm and τII = 1.77 ns. Therefore, the ultramicropores display a much slower charging process (Fig. 4c), suggesting that the charging could be bottlenecked by ultramicropores.
a MD-obtained charging process of the nanoporous carbon electrode under 2 V voltage (blue), fitted by the FEC model (red). b Schematic of the FEC model describing the charging process of MD simulation. Levels I and II account for the ion transport in ultramicropores and large micropores, respectively. An ion path is given in the schematic (the right panel). c Charging processes of ultramicropores and large micropores obtained by the FEC model. The charges have been normalized by their equilibrium values. d, e LEC of in-pore ions as a function of pore size for negative (d) and positive (e) electrodes. f Schematic of a real electrode consisting of packed carbon particles. g Nyquist plot of EIS from the electrochemical measurement and the prediction by the MIM. Source data are provided as a Source Data file.
To unveil the influence of the pore size on charging dynamics, time-dependent changes in LECs were analyzed for different-sized pores (Fig. 4d-e). Under polarization, the LECs in ultramicropores stabilize about 100 ns; whereas in large micropores, the changes of LECs become negligible after 10 ns, implying that the large micropores reach equilibrium around 10 ns (close to 5τII = 8.85 ns). The slower charging in ultramicropores arises from the more frequent collisions between ions and pore walls, compared to large micropores (Supplementary Fig. 17), manifested by the more confined ion motion paths in ultramicropores (Supplementary Fig. 18a-b vs. Supplementary Fig. 18c-d).
Considering that the real electrode consists of closely packed carbon particles on the current collector (Fig. 4f), the multi-scale impedance model (MIM) is constructed for the carbon supercapacitor cell, by scaling up porous carbon electrodes modeled in MD simulations to real carbon particles via the FEC model (details see Supplementary Section 10). Using the MIM, the electrochemical impedance spectroscopy (EIS) of a supercapacitor cell is assessed and found to quantitatively match experimental measurements (Fig. 4g). This illustrates that the MIM incorporating FEC is able to predict the charging process of nanoporous carbon supercapacitors at the macroscopic level, based on molecular simulations with the atomic electrode model developed in this work.
Discussion
We have developed a comprehensive modeling framework for investigating the energy storage of amorphous porous carbon electrodes. The electrode model was built on the SAXS, pore void fraction, SSA, PSD, and density of porous carbons. Capturing the multiple scattering peaks observed in SAXS measurements, the mGRF method was developed to generate the 3D electrode matrix model, incorporating the pore void fraction. The atomic structure was subsequently constructed for the amorphous porous carbon model, constrained by the material density, via the proposed H3D-RMD method, which helps to properly account for vdW interactions between the electrode and electrolyte. The atomic electrode model exhibits PSD and SSA, matching well with experimental measurements and thus confirming its reliability.
The atomic electrode model was utilized to explore the capacitive behavior of nanoporous carbon supercapacitors through constant-potential MD simulations, and the predicted differential capacitance was validated by experimental measurements in terms of both the magnitude and trend. To uncover the relationship between local pore structures (e.g., pore size and pore connectivity) and charge storage, the Voronoi sphere method was proposed to analyze the ion packing in different amorphous carbon pores. Ultramicropores (< 0.7 nm) exhibit ion exchange processes and higher capacitance, owing to more efficiently separated and decoupled cation-anion pairs; while large micropores (> 0.7 nm) show negligible ion number change and lower capacitance, since ions transport between the pore wall and the pore center, with cations and anions remaining paired. Notably, how ultramicropores connect with large micropores remarkably impacts the capacitance: deep ultramicropores could store more charge than facial ultramicropores, due to stronger image charge effects and ion exchange.
The charging process of amorphous nanoporous carbon electrodes was delineated by the proposed FEC model, which reveals that ultramicropores exhibit higher capacitance but smaller ionic conductivity than large micropores. The slower charging dynamics of ultramicropores originate from more frequent collisions between ions and pore walls. A multi-scale model was developed to predict the impedance of a porous carbon supercapacitor cell, based on MD simulations, and achieve quantitative agreement with electrochemical measurements, thereby bridging the computational microscopy and experimental macroscopy on the charging dynamics of nanoporous carbon electrodes.
This work provides a strategy for employing MD simulations to gain molecular insights into the charge storage and charging dynamics of amorphous porous carbon electrodes. The methods developed for modeling and analyzing amorphous porous carbons could be adopted for other fields where porous media play a vital role, such as catalyst34, electrochemical desalination35, hydrogen storage36, carbon capture37, gas separation38, and oil recovery39. Future work could take into account the flexibility of electrodes and polarizability of electrolyte force fields to explore their influence on the gas adsorption and energy storage in porous materials40,41,42.
Methods
Material preparation and experimental measurements
The YP-50F and YP-80F were purchased from Kuraray Chemical, Japan; the ACC-5092-20 was purchased from Kynol, Germany; the polytetrafluoroethylene (PTFE) binder (60 wt% dispersion in water) was purchased from Aladdin; the electrolyte ([EMIM][BF4]) was obtained from Lanzhou Yulu Fine Chemical Co., Ltd. and purified via the Schlenk line at 85 °C for 48 h before further use.
The PSD and SSA of the porous carbon were measured with a Quantachrome Autosorb IQ system. Specifically, porous carbon samples (~ 60 mg) were activated under vacuum for 24 h at 200 °C. Afterwards, liquid nitrogen baths were used to measure nitrogen adsorption isotherms at 77 K. The PSD and SSA were evaluated by adsorption isotherm curves, based on the QSDFT model29. SAXS experiments were performed on the SAXS/WAXS SYSTEM (XENOCS, France) using a monochromatic X-ray source (λ = 0.15148 nm) and a Pilatus 100 K detector for data collection.
A porous carbon electrode film was prepared by mixing carbon powder (90 wt%) with PTFE binder (10 wt%) in ethanol. Thoroughly stirred by the grinding rod, the solvent was removed to yield a dough-like solid mixture. The resulting solid was transferred to the rolling press (MSK-2150, Shenzhen Kejing Star Technology Co., Ltd.) and rolled to give a carbon film of approximately 150 µm in thickness with the mass loading of ~10 mg cm−2. Finally, the as-prepared film was dried under vacuum at 80 °C for 2 days. An oversized porous carbon film was used as a counter electrode, and an Ag wire (99.99% pure, Gaoss Union Optoelectronic Technology Co., Ltd) was employed as a pseudo-reference electrode. The above electrodes were fabricated into the Swagelok cell with the glassy carbon electrodes used as collectors and the Whatman GF/A membrane (Cytiva, Sweden, thickness 260 µm, pore size 1.6 µm) used as the separator. Before any electrochemical measurements, the Ag wire electrode is cleaned by sonication in ethanol. The as-prepared cells were left for over 24 h to ensure the open-circuit potential stable. All measurements were carried out under dry and oxygen-free conditions in an argon-filled glove box (H2O < 0.01 ppm, O2 < 0.01 ppm, temperature 25 °C ± 2 °C), using a BioLogic VMP-3e potentiostat. EIS measurements were performed to measure the differential capacitance \({C}_{d}\), using a multi-sinusoidal signal with an amplitude of 5 mV at each potential and the drift correction implemented in the BioLogic potentiostat. The \({C}_{d}\) is then calculated from the lowest frequency (f = 10 mHz) of the EIS curve by \({C}_{d}=-1/2\pi f{{\rm{Im}}}\left(Z\right)\), where \({{\rm{Im}}}\left(Z\right)\) is the imaginary part of the impedance. The cyclic voltammetry experiments were performed at a scan rate of 1 mV s-1 with the potential difference ranging from 0 V to 1 V or 2 V for 5 cycles to ensure stable capacitance values obtained. More than 5 cells were tested for a single electrochemical measurement. The specific capacitances and specific currents were calculated based on the mass of the active material.
Construction of the atomic model for porous carbon
To build a 3D atomic structure of the nanoporous carbon, the mGRF model and the H3D-RMD method were proposed, in which the atomic model was built based on the experimental SAXS, pore void fraction, PSD, SSA, and density of nanoporous carbons. The mGRF model was developed to capture the structural information of the SAXS data and generate a 3D electrode matrix model with a grid resolution of 0.1 nm to resolve the spatial occupation of the pore wall (details see Supplementary Sections 1 and 2). The SAXS of the model is produced by the Fourier transform19, and the SSA of the model was calculated via the Monte Carlo integration approach, computing the surface areas of the accessible pore volume28. The simulated TEM image of the atomic model was generated by the Prismatic software43.
To overcome the limitation that the atomic structure is absent in the 3D electrode matrix model, the H3D-RMD method was developed (Supplementary Section 3), in which the annealing process is conducted to construct the atomic electrode model, with the temperature gradually decreasing from 15,000 K to 298 K at a rate of 20 K ps−1. The Tersoff force field44 was applied to govern the formation and breakage of interatomic bonds, ensuring the chemical stability of the atomic structure. The atomic structure obtained from the annealing process is relaxed via MD simulation of reactive force field ReaxFF45, in which the temperature gradually increases to 1500 K and then decreases to 298 K. Alternative force fields for the annealing and relaxation processes would lead to different structures46,47, as discussed in Supplementary Fig. 3. In this work, the usage of the Tersoff force field in the annealing process and the ReaxFF force field in the relaxation process could provide the best stability of the final structure. The relaxed atomic model was validated by comparing its PSD obtained from the adsorption isotherm of the GCMC simulation performed by LAMMPS48.
MD simulation
The MD simulation system consists of two porous carbon electrodes immersed in the electrolyte (Fig. 2a), taking the Amber ff94 for electrode atoms49 and the coarse-grained model for [EMIM][BF4]50. Simulations were performed in the NVT ensemble using the customized constant-potential MD program based on GROMACS51. The voltage between the two electrodes was maintained by the constant-potential method30, which keeps the potential constant by the fluctuating charges on electrode atoms in each step. A GPU-accelerated mix-precision implementation of the constant potential method in the MD simulation was developed to enhance the calculation efficiency and accuracy. The system was maintained at 298 K using the Nosé-Hoover thermostat. The electrostatic interactions of the whole system, including electrode-electrode, electrode-electrolyte and electrolyte-electrolyte interactions, were calculated based on the particle mesh Ewald method, with the grid spacing of 0.1 nm for fast Fourier transform and the B-spline interpolation in order 4 for charge spreading in a real space grid. The vdW interactions were calculated by Lennard-Jones potentials under Lorentz-Berthelot combination rules. A cutoff length of 1.2 nm was set for both non-electrostatic and real-space electrostatic interactions. The system was initially annealed from 500 to 298 K for 10 ns, followed by another 20 ns at the PZC to reach equilibrium. The analyses were conducted based on the equilibrium system after performing simulations under polarization for 150 ns. The differential capacitance from the simulation was calculated by the partial derivative of the equilibrium charge on electrode atoms to the electrode potential52. The initial and final atomic coordinates from MD simulations are provided in Supplementary Data 1.
Data availability
Source data are provided with this paper.
Code availability
The code for building realistic atomic models of amorphous nanoporous carbons is available from https://doi.org/10.24433/co.3854304.v1.
References
Simon, P. & Gogotsi, Y. Materials for electrochemical capacitors. Nat. Mater. 7, 845–854 (2008).
Shao, H., Wu, Y. C., Lin, Z. F., Taberna, P. L. & Simon, P. Nanoporous carbon for electrochemical capacitive energy storage. Chem. Soc. Rev. 49, 3005–3039 (2020).
Simon, P. & Gogotsi, Y. Perspectives for electrochemical capacitors and related devices. Nat. Mater. 19, 1151–1163 (2020).
Xiao, J. et al. Assessing cathode-electrolyte interphases in batteries. Nat. Energy 9, 1463–1473 (2024).
Salanne, M. et al. Efficient storage mechanisms for building better supercapacitors. Nat. Energy 1, 1–10 (2016).
Wu, J. Z. Understanding the electric double-layer structure, capacitance, and charging dynamics. Chem. Rev. 122, 10821–10859 (2022).
Ge, K. K., Shao, H., Lin, Z. F., Taberna, P. L. & Simon, P. Advanced characterization of confined electrochemical interfaces in electrochemical capacitors. Nat. Nanotechnol. 20, 196–208 (2025).
Chmiola, J. et al. Anomalous increase in carbon capacitance at pore sizes less than 1 nanometer. Science 313, 1760–1763 (2006).
Largeot, C. et al. Relation between the ion size and pore size for an electric double-layer capacitor. J. Am. Chem. Soc. 130, 2730–2731 (2008).
Liu, X. Y. et al. Structural disorder determines capacitance in nanoporous carbons. Science 384, 321–325 (2024).
Liu, X. Y. et al. Raman spectroscopy measurements support disorder-driven capacitance in nanoporous carbons. J. Am. Chem. Soc. 146, 30748–30752 (2024).
Kondrat, S., Feng, G., Bresme, F., Urbakh, M. & Kornyshev, A. A. Theory and simulations of ionic liquids in nanoconfinement. Chem. Rev. 123, 6668–6715 (2023).
Kondrat, S., Pérez, C. R., Presser, V., Gogotsi, Y. & Kornyshev, A. A. Effect of pore size and its dispersity on the energy storage in nanoporous supercapacitors. Energy Environ. Sci. 5, 6474–6479 (2012).
Palmer, J. C. et al. Modeling the structural evolution of carbide-derived carbons using quenched molecular dynamics. Carbon 48, 1116–1123 (2010).
Merlet, C. et al. Highly confined ions store charge more efficiently in supercapacitors. Nat. Commun. 4, 2701 (2013).
Palmer, J. C. & Gubbins, K. E. Atomistic models for disordered nanoporous carbons using reactive force fields. Microporous Mesoporous Mater. 154, 24–37 (2012).
Bousige, C., Botan, A., Ulm, F. J., Pellenq, R. J. M. & Coasne, B. Optimized molecular reconstruction procedure combining hybrid reverse Monte Carlo and molecular dynamics. J. Chem. Phys. 142, 114112 (2015).
Jeffries, C. M. et al. Small-angle X-ray and neutron scattering. Nat. Rev. Methods Prim. 1, 70 (2021).
Prehal, C. et al. Quantification of ion confinement and desolvation in nanoporous carbon supercapacitors with modelling and X-ray scattering. Nat. Energy 2, 1–8 (2017).
Jeanmairet, G., Rotenberg, B. & Salanne, M. Microscopic simulations of electrochemical double-layer capacitors. Chem. Rev. 122, 10860–10898 (2022).
Yang, H. C., Bo, Z., Yang, J. Y., Yan, J. H. & Cen, K. F. Towards understanding the effects of van der Waals strengths on the electric double-layer structures and capacitive behaviors. J. Power Sources 366, 218–225 (2017).
Sundararaman, R., Vigil-Fowler, D. & Schwarz, K. Improving the accuracy of atomistic simulations of the electrochemical interface. Chem. Rev. 122, 10651–10674 (2022).
Liu, Y., Madanchi, A., Anker, A. S., Simine, L. & Deringer, V. L. The amorphous state as a frontier in computational materials design. Nat. Rev. Mater. 10, 228–241 (2024).
Corrente, N. J. & Neimark, A. V. From slit pores to 3D frameworks: Advances in molecular modeling of adsorption in nanoporous carbons. Adv. Colloid Interface Sci. 342, 103502 (2025).
Gommes, C. J. & Roberts, A. P. Structure development of resorcinol-formaldehyde gels: Microphase separation or colloid aggregation. Phys. Rev. E 77, 041409 (2008).
Teubner, M. & Strey, R. Origin of the scattering peak in microemulsions. J. Chem. Phys. 87, 3195–3200 (1987).
Roberts, A. P. Morphology and thermal conductivity of model organic aerogels. Phys. Rev. E 55, R1286–R1289 (1997).
Willems, T. F., Rycroft, C., Kazi, M., Meza, J. C. & Haranczyk, M. Algorithms and tools for high-throughput geometry-based analysis of crystalline porous materials. Microporous Mesoporous Mater. 149, 134–141 (2012).
Neimark, A. V., Lin, Y. Z., Ravikovitch, P. I. & Thommes, M. Quenched solid density functional theory and pore size analysis of micro-mesoporous carbons. Carbon 47, 1617–1628 (2009).
Zeng, L. et al. Modeling galvanostatic charge-discharge of nanoporous supercapacitors. Nat. Comput. Sci. 1, 725–731 (2021).
Lamperski, S. Structural and thermodynamic properties of the electrical double layer in slit nanopores: A Monte Carlo study. J. Chem. Phys. 153, 134703 (2020).
Kondrat, S., Georgi, N., Fedorov, M. V. & Kornyshev, A. A. A superionic state in nano-porous double-layer capacitors: insights from Monte Carlo simulations. Phys. Chem. Chem. Phys. 13, 11359–11366 (2011).
Futamura, R. et al. Partial breaking of the Coulombic ordering of ionic liquids confined in carbon nanopores. Nat. Mater. 16, 1225–1232 (2017).
Liu, L. & Corma, A. Structural transformations of solid electrocatalysts and photocatalysts. Nat. Rev. Chem. 5, 256–276 (2021).
Zuo, K. C. et al. Electrified water treatment: fundamentals and roles of electrode materials. Nat. Rev. Mater. 8, 472–490 (2023).
He, T., Pachfule, P., Wu, H., Xu, Q. & Chen, P. Hydrogen carriers. Nat. Rev. Mater. 1, 1–17 (2016).
Farmahini, A. H., Krishnamurthy, S., Friedrich, D., Brandani, S. & Sarkisov, L. Performance-based screening of porous materials for carbon capture. Chem. Rev. 121, 10666–10741 (2021).
Siegelman, R. L., Kim, E. J. & Long, J. R. Porous materials for carbon dioxide separations. Nat. Mater. 20, 1060–1072 (2021).
Jew, A. D. et al. Chemical and reactive transport processes associated with hydraulic fracturing of unconventional oil/gas shales. Chem. Rev. 122, 9198–9263 (2022).
Bacon, C., Simon, P., Salanne, M. & Serva, A. Simulating the charging mechanism of a realistic nanoporous carbon-based supercapacitor using a fully polarizable model. Energy Storage Mater. 69, 103415 (2024).
Corrente, N. J. et al. Modeling structural flexibility in 3D carbon models: a hybrid MC/MD approach to adsorption-induced deformation. Carbon 238, 120160 (2025).
Waysenson, Z. et al. Electrode flexibility enhances electrolyte dynamics during supercapacitor charging. ACS Nano 19, 29462–29469 (2025).
Rangel DaCosta, L. et al. Prismatic 2.0 – Simulation software for scanning and high resolution transmission electron microscopy (STEM and HRTEM). Micron 151, 103141 (2021).
Tersoff, J. Empirical interatomic potential for carbon, with applications to amorphous carbon. Phys. Rev. Lett. 61, 2879–2882 (1988).
Srinivasan, S. G., van Duin, A. C. T. & Ganesh, P. Development of a ReaxFF potential for carbon condensed phases and its application to the thermal fragmentation of a large fullerene. J. Phys. Chem. A 119, 571–580 (2015).
de Tomas, C., Suarez-Martinez, I. & Marks, N. A. Graphitization of amorphous carbons: A comparative study of interatomic potentials. Carbon 109, 681–693 (2016).
Yeh, I. C., Tran, N. T. & Knorr, D. Effects of high-temperature annealing on structural and mechanical properties of amorphous carbon materials investigated by molecular dynamics simulations. Carbon 234, 120006 (2025).
Thompson, A. P. et al. LAMMPS - a flexible simulation tool for particle-based materials modeling at the atomic, meso, and continuum scales. Computer Phys. Commun. 271, 108171 (2022).
Cornell, W. D. et al. A second generation force field for the simulation of proteins, nucleic acids, and organic molecules. J. Am. Chem. Soc. 117, 5179–5197 (2002).
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).
Hess, B., Kutzner, C., van der Spoel, D. & Lindahl, E. GROMACS 4: Algorithms for highly efficient, load-balanced, and scalable molecular simulation. J. Chem. Theory Comput. 4, 435–447 (2008).
Bi, S. et al. Molecular understanding of charge storage and charging dynamics in supercapacitors with MOF electrodes and ionic liquid electrolytes. Nat. Mater. 19, 552–558 (2020).
Acknowledgements
The authors acknowledge the funding support from the National Natural Science Foundation of China (T2325012, 92472109, U25B20172), Fundamental and Interdisciplinary Disciplines Breakthrough Plan of the Ministry of Education of China (JYB2025XDXM302), the Program for HUST Academic Frontier Youth Team, and the Wuhan Supercomputing Centre for providing computational resources. L.Z. is supported by the Postdoctoral Fellowship Program of CPSF (GZC20240532).
Author information
Authors and Affiliations
Contributions
G.F. conceived this research and designed the simulation and experiment; J.P. performed all the modelling and simulation; T.W. carried out the experiment; J.P. drafted the manuscript; G.F., J.P., T.W., L.Z., Z.L., and S.L. contributed to the result interpretation, editing, and revising the paper.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Nature Communications thanks Dmitry Bedrov and the other anonymous reviewer(s) for their contribution to the peer review of this work. A peer review file is available.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Source data
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, 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 licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence 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 licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Peng, J., Wu, T., Zeng, L. et al. Realistic atomic model for charge storage and charging dynamics of amorphous porous carbons. Nat Commun 17, 2425 (2026). https://doi.org/10.1038/s41467-026-69231-4
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41467-026-69231-4






