Phase changes in thermochemical equations