Air is compressed by a 30-kW compressor from P1 to P2. The air temperature is maintained constant at 25 degrees C during this process as a result of heat transfer to the surrounding medium at 17 degrees C. Determine the rate of entropy change of the air. State the assumptions made in solving this problem.