The pressure and temperature of the air entering the condenser are 800 kPa and 150°C, respectively. The pressure is held constant as the air cools to 50°C. Assuming that the rate of flow entering the compressor is 0.15 kg/s, determine the total rate of entropy generation.