When electric charge dQ ele is passed between the electrodes of an electrochemical cell generating an emf E , an electrical work term appears in the expression for the change in Gibbs energy: d G = − − S d T + V d p + E d Q e l e , where S is the entropy, V is the system volume, p is its pressure and T is its absolute temperature.