An irreversible gas-turbine power plant has a compressor with an inlet state of 1 bar and 22°C and an outlet state of 4 bars and 470 K. The turbine has an inlet state of 4 bars and 1200 K and an exhaust state of 1 bar and 900 K. The environment is at 1 bar and 22°C. Neglect kinetic- and potential-energy changes. Determine, in kJ/kg
a. the actual compressor and turbine work
b. the change in flow availability for the compressor and the turbine