Nernst equations