Both inlet and outlet specific enthalpies are calculated from known pressures and temperatures. In case there is a pressure drop applied over the cooler, the pressure at outlet conditions is adjusted accordingly. For the economizer, the duty is calculated for a counter-current heat exchanger as the lowest of hot side or cold side pinch, using a pinch temperature of 5 • C. The refrigeration cycle is solved using the CoolProp built-in solver for a simple compression cycle with 4 cycle states.