A system and a method for heat treatment of water of a vessel