Refrigerant 134-a enters a compressor as a saturated vapor at 200 kPa at a rate of 0.04 m^3/s. The power input to the compressor is 10 kW. If the surroundings at 30 degrees Celsius experience an entropy increase of 0.01kW/K and the refrigerant leaves at 800 kPa. Determine the rate of heat loss at the compressor, exit temperature of the refrigerant and the rate of entropy generation.