Calculation of changes in enthalpy