I am studying about reversible steady-flow work, and the author of the book states that Taking the positive direction of work to be from the system (work output) the energy balance of a steady-flow device undergoing an internally reversible process is:
π
q_rev - π
w_rev = dh + dke + dpe
But, if work output is taken as positive, please explain why do we use a negative sign to denote the work output in the equation above when it should be positive?
The same question also holds for general conservation of energy principle where:
π
E_in - π
E_out = ΞE_system
π
q_in - q_out + π
w_in - π
w_out = ΞE_system (control mass)
shouldn't π w_out be positive?