In order to calculate the potential one assumes that the adsorbed layer of ions is in equilibrium
with the gas. This layer of adsorbed ions provides the surface charge and the voltage across
the film ΔΦ. The electron transfer and adsorption reaction can therefore be written as