Internal energy in phase transition
During a change of phase the temperature does not change, but the internal energy does. The internal energy is the sum of the kinetic energy of the molecules and the chemical potential energy of the molecules. During a change of phase, the average kinetic energy of the molecules stays the same (with the temperature), but the average potential energy changes.
For more information on this topic, do visit: