Thermodynamic relations in a system of parallel flow tubes