I am carrying out some analysis of pipe networks. Although I have over the years developed an increasingly sophisticated (some might say complex and cumbersome!) Excel spreadsheet for this, there is one particular aspect that I have been struggling with recently.
Let me explain...
The attached is a very cut-down version of the spreadsheet, together with the simple pipe network that it represents. I have also pasted the formulae (from the yellow cells).
There are a total of 9 pipes serving 4 taps / faucets. There are 10 nodes (4 of which are taps / faucets).
My formulae successfully calculate, for each pipe, its flow rate, being the total of all pipes served from its End Point. These flow rates are marked in green for each pipe on the diagram.
I would also like to calculate for each Flow pipe the single largest draw-off that it serves. These are shown in red for each pipe in the diagram. So, for instance, the total flow rate through Pipe 5 is 15, being the sum of Pipe 6 (7), Pipe 7 (3) and Pipe 9 (5). However, the maximum individual draw-off served via Pipe 5 is the maximum of these three draw-offs, i.e. 7.
Even right up at highest level, the source, Pipe 1, this value for maximum draw-off served remains at 7 (with the total being 17).
I have tried in the Max Draw-off Served via Flow Pipe column various formulae, including sumif, sumifs and even array formulae, but I just can't manage to get the calculation to work.
I would be grateful if anyone can suggest an appoach!
Thank you,
Brian
Let me explain...
The attached is a very cut-down version of the spreadsheet, together with the simple pipe network that it represents. I have also pasted the formulae (from the yellow cells).
There are a total of 9 pipes serving 4 taps / faucets. There are 10 nodes (4 of which are taps / faucets).
My formulae successfully calculate, for each pipe, its flow rate, being the total of all pipes served from its End Point. These flow rates are marked in green for each pipe on the diagram.
I would also like to calculate for each Flow pipe the single largest draw-off that it serves. These are shown in red for each pipe in the diagram. So, for instance, the total flow rate through Pipe 5 is 15, being the sum of Pipe 6 (7), Pipe 7 (3) and Pipe 9 (5). However, the maximum individual draw-off served via Pipe 5 is the maximum of these three draw-offs, i.e. 7.
Even right up at highest level, the source, Pipe 1, this value for maximum draw-off served remains at 7 (with the total being 17).
I have tried in the Max Draw-off Served via Flow Pipe column various formulae, including sumif, sumifs and even array formulae, but I just can't manage to get the calculation to work.
I would be grateful if anyone can suggest an appoach!
Thank you,
Brian