Thermodynamics Analysis of Processes. 1. Implications of Work Integration