Here we learn about how to deal with both ideal and real turbines and compressors. Work and enthalpy are exchanged. The real case accounts for friction. Compressors require more energy to be put in than in the ideal case, and turbine produce less work. How much is based on the isentropic efficiency.