A system for producing hot water in a livestock enclosure, wherein said system comprises a thermodynamic water heater comprising at least one collection circuit and a heat pump intended to heat the water, said heat pump consists of a water-to-water heat pump that is connected to said at least one collection circuit for collecting the heat energy and within which circulates a heat-transfer fluid, wherein at least one collection circuit , comprises: (a) at least one comfort mat that comprises at least one elastomeric layer and that has two opposite faces : - an upper face , adapted to undergo an elastic deformation and including at least one accommodation area on which an animal is intended to rest, and - a lower face , intended to rest on a receiving surface, wherein said at least one comfort mat includes several sealed cavities intended to contain said heat-transfer fluid, wherein said sealed cavities lie underneath at least part of said at least one accommodation area , (b) circulating means , for generating a circulation of said heat-transfer fluid within said collection circuit , including through said at least one comfort mat . wherein said system comprises a thermodynamic water heater comprising at least one collection circuit and a heat pump intended to heat the water, said heat pump consists of a water-to-water heat pump that is connected to said at least one collection circuit for collecting the heat energy and within which circulates a heat-transfer fluid, wherein at least one collection circuit , comprises: (a) at least one comfort mat that comprises at least one elastomeric layer and that has two opposite faces : - an upper face , adapted to undergo an elastic deformation and including at least one accommodation area on which an animal is intended to rest, and - a lower face , intended to rest on a receiving surface, wherein said at least one comfort mat includes several sealed cavities intended to contain said heat-transfer fluid, wherein said sealed cavities lie underneath at least part of said at least one accommodation area , (b) circulating means , for generating a circulation of said heat-transfer fluid within said collection circuit , including through said at least one comfort mat . (a) at least one comfort mat that comprises at least one elastomeric layer and that has two opposite faces : - an upper face , adapted to undergo an elastic deformation and including at least one accommodation area on which an animal is intended to rest, and - a lower face , intended to rest on a receiving surface, wherein said at least one comfort mat includes several sealed cavities intended to contain said heat-transfer fluid, wherein said sealed cavities lie underneath at least part of said at least one accommodation area , - an upper face , adapted to undergo an elastic deformation and including at least one accommodation area on which an animal is intended to rest, and - a lower face , intended to rest on a receiving surface, wherein said at least one comfort mat includes several sealed cavities intended to contain said heat-transfer fluid, wherein said sealed cavities lie underneath at least part of said at least one accommodation area , (b) circulating means , for generating a circulation of said heat-transfer fluid within said collection circuit , including through said at least one comfort mat . <EOS>