Assuming, I've got a machine, that runs with pressurized air and provides the following measurements:
- $\dot m$ - mass-flow through the machine (same for input and output)
- $p_{1}$ - input pressure
- $T_1$ - input temperature
- $p_{2}$ - output pressure
- $T_2$ - output temperature
- $P_{mech}$ - mechanical output power
How can I calculate the power $P_{fluid}$ the air gives to the machine? In a first step, the heat-flow through the housing of the machine can be neglected, yet its influence to the process is interesting to me.