The Effective Screening Medium (ESM) is a method that allows performing calculations in a 2D framework. The method is using Green functions, depending on the boundary conditions of these functions, different conditions can be imposed within the unit cell:
- "bc1" Vacuum-Slab-Vacuum
- "bc2" Metal-Slab-Metal
- "bc3" Vacuum-Slab-Metal
As you might have guessed, the method focuses on electrochemistry and can be used to perform grand-canonical DFT. The authors put an emphasis on two advantages: With ESM the electrostatic potential is not ill-defined anymore even in a plane-wave code, and the method gives the correct "image charge contribution" (if someone in the comment could give more details about this...)
Practically in Quantum Espresso one has to activate the ESM with assume_isolated = "esm"
and specify the boundary condition with esm_bc = "bcX"
. When activated the unit cell will not span from $[0 ; z]$ but from $[-z/2 ; z/2]$. The slab must be centred around 0, which in this case is the centre of the cell. You still need enough vacuum on both sides for the electronic density to decay to 0 before reaching the screening medium. (~ 10 Å of vacuum)
To my understanding, this is some kind of improved "dipole correction" because you get completely rid of the periodicity along one dimension. But if someone could precise what are the advantage over a regular dipole correction this would be much appreciated.