A rigid tank contains air at 1.5 bar and 60° C. The pressure of air is raised to 2.5 bar by transfer of heat from a constant temperature reservoir at 400° C. The temperature of surroundings is 27°C. Determine per kg of air, the loss of available energy due to heat transfer.