A trithermal or quadrithermal facility for producing cold and/or heat, comprising a driving thermodynamic machine and a receiving thermodynamic machine each operating according to a Carnot cycle, having a degree of reversibility of less than 100% and comprising: a) the driving machine comprises means comprising conduits and actuators for circulating a work fluid G M on the one hand and on the other hand, in the order of circulation of said work fluid G M: - an evaporator E M: - at least one transfer cylinder CT M which contains a transfer liquid LT in its lower portion and the work fluid G M as a liquid and/or vapor above the transfer liquid; - a condenser C M; - at least one device BS M for separating the liquid and vapor phases of the work fluid G M; - a device allowing pressurization of the work fluid G M in the liquid state; facility characterized in that: b) the receiving machine comprises means comprising conduits and actuators for circulating a work fluid G R on the one hand and on the other hand, in the order of circulation of said work fluid G R: - a condenser C R: - at least one pressurization and expansion device BS R for separating the liquid and vapor phases of the work fluid G R - optionally an expander D R; - an evaporator E R; - at least one transfer cylinder CT R which contains a transfer liquid LT in its lower portion and the work fluid G R as a liquid and/or vapor above the transfer liquid; c) the cylinders CT R and CT M are connected through at least one conduit which may be obturated by actuators and in which the transfer liquid LT may circulate exclusively, which liquid plays the role of a liquid piston in the cylinders CT R and CT M. a) the driving machine comprises means comprising conduits and actuators for circulating a work fluid G M on the one hand and on the other hand, in the order of circulation of said work fluid G M: - an evaporator E M: - at least one transfer cylinder CT M which contains a transfer liquid LT in its lower portion and the work fluid G M as a liquid and/or vapor above the transfer liquid; - a condenser C M; - at least one device BS M for separating the liquid and vapor phases of the work fluid G M; - a device allowing pressurization of the work fluid G M in the liquid state; - an evaporator E M: - at least one transfer cylinder CT M which contains a transfer liquid LT in its lower portion and the work fluid G M as a liquid and/or vapor above the transfer liquid; - a condenser C M; - at least one device BS M for separating the liquid and vapor phases of the work fluid G M; - a device allowing pressurization of the work fluid G M in the liquid state; b) the receiving machine comprises means comprising conduits and actuators for circulating a work fluid G R on the one hand and on the other hand, in the order of circulation of said work fluid G R: - a condenser C R: - at least one pressurization and expansion device BS R for separating the liquid and vapor phases of the work fluid G R - optionally an expander D R; - an evaporator E R; - at least one transfer cylinder CT R which contains a transfer liquid LT in its lower portion and the work fluid G R as a liquid and/or vapor above the transfer liquid; - a condenser C R: - at least one pressurization and expansion device BS R for separating the liquid and vapor phases of the work fluid G R - optionally an expander D R; - an evaporator E R; - at least one transfer cylinder CT R which contains a transfer liquid LT in its lower portion and the work fluid G R as a liquid and/or vapor above the transfer liquid; c) the cylinders CT R and CT M are connected through at least one conduit which may be obturated by actuators and in which the transfer liquid LT may circulate exclusively, which liquid plays the role of a liquid piston in the cylinders CT R and CT M.