a. The closed-system analysis
Here we take as the system the gas in the compressor and the mass of gas ΔM, that will enter the compressor in the time interval Δt. The system is enclosed by dotted lines in the figure.
At the later time t + Δt, the mass of gas we have chosen as the system is as shown below.
We use the subscript c to denote the characteristics of the fluid in the compressor, the subscript 1 for the gas contained in the system that is in the inlet pipe at time t, and the subscript 2 for the gas in the system that is in the exit pipe at time t + Δt. With this notation the mass balance for the closed system is
M_{2}(t+\Delta t)+M_{c}(t+\Delta t)=M_{1}(t)+M_{c}(t)
The energy balance for this system, neglecting the potential and kinetic energy terms (which, if retained, would largely cancel), is
\left.M_{2} \hat{U}_{2}\right|_{t+\Delta t}+\left.M_{c} \hat{U}_{c}\right|_{t+\Delta t}-\left.M_{1} \hat{U}_{1}\right|_{t}-\left.M_{c} \hat{U}_{c}\right|_{t}=W_{s}+Q+P_{1} \hat{V}_{1} M_{1}-P_{2} \hat{V}_{2} M_{2} (a)
In writing this equation we have recognized that the flow terms vanish for the closed system and that there are two contributions of the \int P d V type, one due to the deformation of the system boundary at the compressor inlet and another at the compressor outlet. Since the inlet and exit pressures are constant at P_{1} \text { and } P_{2}, these terms are
\begin{aligned}-\int P d V &=-\left.P_{1} \int d V\right|_{\text {inlet }} \quad-\left.P_{2} \int d V\right|_{\text {outlet }} \\&=-P_{1}\left\{V_{1}(t+\Delta t)-V_{1}(t)\right\}-P_{2}\left\{V_{2}(t+\Delta t)-V_{2}(t)\right\}\end{aligned}
However, V_{1}(t+\Delta t)=0 \text { and } V_{2}(t)=0 , so that
-\int P d V=+P_{1} V_{1}-P_{2} V_{2}=P_{1} \hat{V}_{1} M_{1}-P_{2} \hat{V}_{2} M_{2}
Now, using the energy balance and Eq. a above, and recognizing that since the compressor is in steady-state operation,
\left.M_{c} \hat{U}_{c}\right|_{t+\Delta t}=\left.M_{c} \hat{U}_{c}\right|_{t}
we obtain
\Delta M\left(\hat{U}_{2}-\hat{U}_{1}\right)=W_{s}+Q+P_{1} \hat{V}_{1} \Delta M-P_{2} \hat{V}_{2} \Delta M
or
\Delta M\left(\hat{U}_{2}+P_{2} \hat{V}_{2}-\hat{U}_{1}-P_{1} \hat{V}_{1}\right)=\Delta M\left(\hat{H}_{2}-\hat{H}_{1}\right)=W_{s}+Q
b. The open-system analysis Here we take the contents of the compressor at any time to be the system. The mass balance for this system over the time interval Δt is
M(t+\Delta t)-M(t)=\int_{t}^{t+\Delta t} \dot{M}_{1} d t+\int_{t}^{t+\Delta t} \dot{M}_{2} d t=(M)_{1}+(M)_{2}
and the energy balance is
\begin{aligned}\left\{U+M\left(\frac{v^{2}}{2}\right.\right.&+\psi)\}_{t+\Delta t}-\left\{U+M\left(\frac{v^{2}}{2}+\psi\right)\right\}_{t} \\&=\int_{t}^{t+\Delta t} \dot{M}_{1}\left(\hat{H}_{1}+v_{1}^{2} / 2+\psi_{1}\right) d t+\int_{t}^{t+\Delta t} \dot{M}_{2}\left(\hat{H}_{2}+v_{2}^{2} / 2+\psi_{2}\right) d t+Q+W\end{aligned}
These equations may be simplified as follows:
1. Since the compressor is operating continuously in a steady-state manner, its contents must, by definition, have the same mass and thermodynamic properties at all times. Therefore,
M(t+\Delta t)=M(t)
and
\left\{U+M\left(\frac{v^{2}}{2}+\psi\right)\right\}_{t+\Delta t}=\left\{U+M\left(\frac{v^{2}}{2}+\psi\right)\right\}_{t}
2. Since the thermodynamic properties of the fluids entering and leaving the turbine do not change in time, we can write
\begin{aligned}\int_{t}^{t+\Delta t} \dot{M}_{1}\left(\hat{H}_{1}+v_{1}^{2} / 2+\psi_{1}\right) d t &=\left(\hat{H}_{1}+v_{1}^{2} / 2+\psi_{1}\right) \int_{t}^{t+\Delta t} \dot{M}_{1} d t \\&=\left(\hat{H}_{1}+v_{1}^{2} / 2+\psi_{1}\right) \Delta M_{1}\end{aligned}
with a similar expression for the compressor exit stream.
3. Since the volume of the system here, the contents of the compressor, is constant
\int_{V_{1}}^{V_{2}} P d V=0
so that
W=W_{s}
4. Finally, we will neglect the potential and kinetic energy changes of the entering and exiting fluids.
With these simplifications, we have
0=\Delta M_{1}+\Delta M_{2} \quad \text { or } \quad \Delta M_{1}=-\Delta M_{2}=\Delta M
and
0=\Delta M_{1} \hat{H}_{1}+\Delta M_{2} \hat{H}_{2}+Q+W_{s}
Combining these two equations, we obtain
Q+W_{s}=\left(\hat{H}_{2}-\hat{H}_{1}\right) \Delta M
This is the same result as in part (a).
Comment
Notice that in the closed-system analysis the surroundings are doing work on the system (the mass element) at the inlet to the compressor, while the system is doing work on its surroundings at the outlet pipe. Each of these terms is a \int P d V –type work term. For the open system this work term has been included in the energy balance as a P \hat{V} \Delta M term, so that it is the enthalpy, rather than the internal energy, of the flow streams that appears in the equation. The explicit \int P d V term that does appear in the open-system energy balance represents only the work done if the system boundaries deform; for the choice of the compressor and its contents as the system here this term is zero unless the compressor (the boundary of our system) explodes.
This illustration demonstrates that the sum Q+W_{s} is the same for a fluid undergoing some change in a continuous process regardless of whether we choose to compute this sum from the closed-system analysis on a mass of gas or from an open-system analysis on a given volume in space. In Illustration 3.2-2 we consider another problem, the compression of a gas by two different processes, the first being a closed-system pistonand-cylinder process and the second being a flow compressor process. Here we will find that the sum Q + W is different in the two processes, but the origin of this difference is easily understood.