Application of Nernst equation