with . m k the mass flow and . n k the molar flow at position k respectively. The term ⁠ d V k / d t ⁠ represents the rate of change of the system volume at position k that results in p V power done by the system. The parameter P represents all other forms of power done by the system such as shaft power, but it can also be, say, electric power produced by an electrical power plant.