Skip to main content

I want to create a workbench that accumulates the flowrate through a drainage wastewater pipe network which has some flow monitors in between pipes and some at branches. I want to accumulate the flowrate such that:

 

  1. The flowrate of a pipe leaving a branch (with no flowmonitor) is the sum of the flowrates of the two pipes entering the branch (leftmost diagram)
  2. The flowrate of a pipe leaving a flowmonitor is the flowrate recorded by that flowmonitor (middle diagram)
  3. The flowrate of a pipe leaving a branch that has a flowmonitor is the flowrate recorded by that flowmonitor as shown in (rightmost diagram)Flowrate accumulation visual

 

What kind of data do you have? Is it tabular data? Or is it vector data consisting of lines and points representing the pipes and monitors?

If vector data: are the pipes and monitors connected properly?

Are all the pipe connections known?

Is the pipe direction of each pipe known?


What kind of data do you have? Is it tabular data? Or is it vector data consisting of lines and points representing the pipes and monitors?

If vector data: are the pipes and monitors connected properly?

Are all the pipe connections known?

Is the pipe direction of each pipe known?

It is vector data. The lines represent the pipes and there are points that represent monitors. The pipes and monitors are connected properly. The pipe direction of each pipe is known.


Hi @osasfrer​ Use a TopologyBuilder. It will generate node numbers which will be attached to the lines. If there's a point (Flowmonitor) at the same location of the from-node, then assign that value. If not, then search for the lines where the to-nodes match the current from-node and sum those flow rates.


Hi @osasfrer​ Use a TopologyBuilder. It will generate node numbers which will be attached to the lines. If there's a point (Flowmonitor) at the same location of the from-node, then assign that value. If not, then search for the lines where the to-nodes match the current from-node and sum those flow rates.

Hi @danatsafe​ please could you create a sample workbench to illustrate your solution?

 

Here is also an image of a network that better clarifies my problem. In this image the red nodes are flow monitors, the other nodes don't have flow monitors. This network has multiple start points and one end point. If every start point has an approximate flowrate of 10 and the flow monitors read the exact flowrates of 50, 100 and 90 from left to right. How can I get the total flowrate at the end of the drainage network?

Network for Flowrate Accumulation question


Reply