Dear All,
Thank you in advance for any assistance.
I'm encountering an issue when calculating the surface energy of a lithium slab in implicit solvent (SSCS model) with size-modified PB for electrolyte and applied bias. I'm observing small and sometimes negative surface energies.
Using the standard method (G = 1/2A * (Eslab - NBulk)), I get expected results for small developed charges. However, following Alsunni et al. [1], who suggest matching ensembles (canonical-canonical or grand canonical-grand canonical), I applied the correction:
F = E - TS - μN
This changes my surface energy from 0.4 J/m^2 to 1.2 J/m^2. While this resolves negative energies, the value seems unrealistically large. Alsunni et al. found fluctuations of only ± 0.4 J/m^2, whilst I'm seeing values up to 2 J/m^2 for some surfaces.
I've successfully replicated Alsunni's results using their supplementary information, so the issue seems to lie with my Quantum ESPRESSO calculations.
Attached are the surface and bulk files, environ.in, and a Python script for surface energy calculations. I suspect the problem might be in the environ.in or my analysis. Also, frequent warnings about parabolic correction appear - could this be relevant?
Thank you for your help.
Best regards, Brad