Absorption machine comprising a circulation mixture in a circuit, the machine mainly comprising a first and a second fluid, the machine having a first configuration, wherein the machine produces cold and a second configuration, wherein the machine produces heat, said circulation mixture having a mass concentration of second fluid varying according to its position in the circuit so as to define, for the circulation mixture, according to the position, a so-called weak solution, a so-called condensed solution, a so-called strong solution, and a so-called cooling solution, said machine comprising at least: - An absorber configured to increase the mass concentration rate of the second fluid of the weak solution, so as to transform the weak solution into a strong solution; - A first heat exchange device configured to increase the temperature of the strong solution from the weak solution, - A heat generator configured to increase the temperature of the weak solution, - A condenser configured to condense the cooling solution, - An evaporator configured to evaporate at least some of the cooling solution, and wherein: - In the first configuration, the machine is configured to cool an external heat-transfer fluid circulating in the evaporator; - In the second configuration, an external heat-transfer fluid circulating in the absorber and an external heat-transfer fluid circulating in the condenser form one single and same external heat-transfer fluid, called common external heat-transfer fluid, the machine thus being configured to increase the temperature of said common external heat-transfer fluid, characterised in that the machine comprises: - A first separation bottle configured to separate the strong solution into a liquid part and into a gaseous part, the gaseous part being intended to supply the cooling solution and the liquid part forming the weak solution, the first separation bottle being fluidically connected to an outlet of the strong solution of the first heat exchange device and to an inlet of the weak solution of the heat generator, - A second separation bottle configured to partially extract at least the condensed solution from the cooling solution, the second separation bottle being fluidically connected to an outlet of the cooling solution of the first separation bottle and to an inlet of the cooling solution of the condenser, - A third separation bottle configured to separate the weak solution into a liquid part and into a gaseous part, the gaseous part forming the cooling solution and the liquid part forming the weak solution, the third separation bottle being fluidically connected to an outlet of the weak solution of the heat generator, to an inlet of the weak solution of the first heat exchange device and to an inlet of the cooling solution of the first separation bottle. - An absorber configured to increase the mass concentration rate of the second fluid of the weak solution, so as to transform the weak solution into a strong solution; - A first heat exchange device configured to increase the temperature of the strong solution from the weak solution, - A heat generator configured to increase the temperature of the weak solution, - A condenser configured to condense the cooling solution, - An evaporator configured to evaporate at least some of the cooling solution, - In the first configuration, the machine is configured to cool an external heat-transfer fluid circulating in the evaporator; - In the second configuration, an external heat-transfer fluid circulating in the absorber and an external heat-transfer fluid circulating in the condenser form one single and same external heat-transfer fluid, called common external heat-transfer fluid, the machine thus being configured to increase the temperature of said common external heat-transfer fluid, - A first separation bottle configured to separate the strong solution into a liquid part and into a gaseous part, the gaseous part being intended to supply the cooling solution and the liquid part forming the weak solution, the first separation bottle being fluidically connected to an outlet of the strong solution of the first heat exchange device and to an inlet of the weak solution of the heat generator, - A second separation bottle configured to partially extract at least the condensed solution from the cooling solution, the second separation bottle being fluidically connected to an outlet of the cooling solution of the first separation bottle and to an inlet of the cooling solution of the condenser, - A third separation bottle configured to separate the weak solution into a liquid part and into a gaseous part, the gaseous part forming the cooling solution and the liquid part forming the weak solution, the third separation bottle being fluidically connected to an outlet of the weak solution of the heat generator, to an inlet of the weak solution of the first heat exchange device and to an inlet of the cooling solution of the first separation bottle.