Thermodynamic principles can help explain a corrosion situation in terms of the stability of chemical species and reactions associated with corrosion processes. However, thermodynamic calculations cannot be use to predict corrosion rates. When two metals are put in contact, they can produce a voltage as in a battery or electrochemical cell.