Solve the below problem:
Q: Refrigerant-134a enters the compressor of a refrigeration system as saturated vapor at 0.14 MPa, and leaves as superheated vapor at 0.8 MPa and 60°C at a rate of 0.06 kg/s. Determine the rates of energy transfers by mass into and out of the compressor. Assume the kinetic and potential energies to be negligible.