Enthalpy of immersion of a microporous solid