I wonder how much energy is consumed in the cooling process?
If it's a heat pipe, zero energy is consumed and the transferred energy can be used to heat water. Heat pipes are extremely efficient at transferring heat and they do it passively.