Thermodynamic device comprising: a first liquid container configured to maintain a first pressure during operation of the thermodynamic device, the first liquid container being partially filled with a working fluid (110, 210) in liquid form during the operation of the thermodynamic device, a second liquid container configured to maintain a second pressure during the operation of the thermodynamic device, the second pressure being higher than the first pressure, the second liquid container being partially filled with the working fluid (110, 210) in the liquid form during the operation of the thermodynamic device; and a compensation pipe permeable to the working fluid (110, 210) in the liquid form and comprising an inlet arranged within the second liquid container so as to define, during the operation of the thermodynamic device, a working fluid level of the working fluid (110, 210) in the liquid form within the second liquid container, and comprising an outlet arranged within the first liquid container so that working fluid (110, 210) in the liquid form can be transported from the inlet of the compensation pipe into the outlet of the compensation pipe, the inlet of the compensation pipe being arranged to be higher up than the outlet of the compensation pipe in an installation direction of the thermodynamic device for an intended use of the thermodynamic device, the compensation pipe comprising a curved portion, the lowest area of the curved portion being arranged below the outlet of the compensation pipe during the operation of the thermodynamic device, by a distance, wherein a length of the distance is determined such that the liquid level near the inlet of the compensation pipe does not reach the lowest area of the curved portion in an event of a maximum pressure difference between the second pressure and the first pressure, and the thermodynamic device being configured to forward transport the working fluid (110, 210) from the first liquid container to the second liquid container during the operation of the thermodynamic device and to backward transport the working fluid (110, 210) in the liquid form back from the second liquid container to the first liquid container through the compensation pipe, wherein the lowest area is arranged, during the operation of the thermodynamic device, at the most 2 m below the outlet of the compensation pipe, and wherein the working fluid (110, 210) is water and a specified maximum pressure difference between the second pressure and the first pressure is 200 mbar. a first liquid container configured to maintain a first pressure during operation of the thermodynamic device, the first liquid container being partially filled with a working fluid (110, 210) in liquid form during the operation of the thermodynamic device, a second liquid container configured to maintain a second pressure during the operation of the thermodynamic device, the second pressure being higher than the first pressure, the second liquid container being partially filled with the working fluid (110, 210) in the liquid form during the operation of the thermodynamic device; and a compensation pipe permeable to the working fluid (110, 210) in the liquid form and comprising an inlet arranged within the second liquid container so as to define, during the operation of the thermodynamic device, a working fluid level of the working fluid (110, 210) in the liquid form within the second liquid container, and comprising an outlet arranged within the first liquid container so that working fluid (110, 210) in the liquid form can be transported from the inlet of the compensation pipe into the outlet of the compensation pipe, the inlet of the compensation pipe being arranged to be higher up than the outlet of the compensation pipe in an installation direction of the thermodynamic device for an intended use of the thermodynamic device, the compensation pipe comprising a curved portion, the lowest area of the curved portion being arranged below the outlet of the compensation pipe during the operation of the thermodynamic device, by a distance, wherein a length of the distance is determined such that the liquid level near the inlet of the compensation pipe does not reach the lowest area of the curved portion in an event of a maximum pressure difference between the second pressure and the first pressure, and the thermodynamic device being configured to forward transport the working fluid (110, 210) from the first liquid container to the second liquid container during the operation of the thermodynamic device and to backward transport the working fluid (110, 210) in the liquid form back from the second liquid container to the first liquid container through the compensation pipe, wherein the lowest area is arranged, during the operation of the thermodynamic device, at the most 2 m below the outlet of the compensation pipe, and wherein the working fluid (110, 210) is water and a specified maximum pressure difference between the second pressure and the first pressure is 200 mbar.