New Tool Release: Water Supply Network Master Solver (Branched & Looped)

New Tool Release: Water Supply Network Master Solver (Branched & Looped)

Water supply distribution systems come in two fundamental architectures: Branched (Tree) networks that dead-end at the consumer, and Looped (Grid) water supply networks that interconnect to provide redundancy and balanced pressure. Analyzing these requires two completely different fields of mathematics.

Instead of building two separate calculators, I decided to combine them into one ultimate engineering workstation. I am incredibly excited to introduce the Water Supply Network Master Solver! 🏙️💧

This dynamic, two-in-one application allows you to seamlessly toggle between a Branched Flow Accumulation model and a fully dynamic, multi-loop Hardy-Cross matrix solver. Whether you are designing a simple rural water supply subdivision or balancing a complex urban water supply grid, this tool handles the heavy mathematical lifting instantly.

Mode 1: The Branched Flow Accumulation Designer

civilsheets.blogspot.com/p/water-supply-network-design-branch-loop.html
Water Network Master Solver
Flow Accumulation & Pressure Modeling
Branched (Tree)
Looped (Hardy-Cross)
Metric (L/s)
Imperial (GPM)
Data Template Import Data
1. Source Reservoir (Root Node)
Water Surface Elev. (HGL)
150 m
2. Network Branches & Demands
Node N1 Parent: SRC
Z100
Q0
Node N2 Parent: N1
Z105
Q15
Node N3 Parent: N1
Z95
Q20
+ ADD DOWNSTREAM BRANCH
FLOW ACCUMULATION
Total Source Flow
45.0 L/s
SYSTEM CONSTRAINT
Min Pressure (Node N4)
12.4 m
Max Velocity
1.43 m/s
Total Pipe Length
1400 m
Branched Topology Schematic & HGL Red Node = Low Pressure
45.0 15.0 30.0 10.0 SRC Z: 150m N1 P: 48.2m N2 P: 42.5m 15 L/s N3 P: 35.1m 20 L/s N4 P: 12.4m 10 L/s

Mode 2: The Looped Network Matrix Balancer

civilsheets.blogspot.com/p/water-supply-network-design-branch-loop.html
Water Network Master Solver
Hardy-Cross 2D Matrix Balancer
Branched (Tree)
Looped (Hardy-Cross)
Metric (L/s)
Imperial (GPM)
Data Template Import Data
Grid Topology Size 2 Rows × 2 Cols
ROWS
-+
COLS
-+
1. Nodal Demands (Outflows)
Node (0, 0) (Source)
175 L/s
Node (0, 1)
15 L/s
Node (0, 2)
20 L/s
(6 more nodes...)
SPANNING TREE
Total Supply
175 L/s
Max Head Loss Path
1.73 m
Max Velocity
0.75 m/s
SOLVER STATUS
Converged
after 19 iterations
Balanced Network Schematic (2x2 Grid) Animated dashes indicate flow direction
80.6 38.4 94.3 175 L/s 15 20

The Engineering Problem: Two Distinct Water Supply Topologies

Water supply distribution systems generally fall into two categories, and engineers need to master both:

  • Branched (Tree) Water Supply Networks: Common in rural areas, subdivisions, and irrigation systems. The water flows in exactly one direction from the water supply source to dead-end taps. Because there is only one pathway for the water to take, these networks are statically determinate. You can simply accumulate the demands backwards to find the pipe flow, and then calculate the pressure drop sequentially.
  • Looped (Grid) Water Supply Networks: Common in cities and urban developments. Pipes are interconnected to form loops, meaning water has multiple pathways to reach any given node. This provides excellent pressure reliability and redundancy during pipe breaks, but it makes the system statically indeterminate.

To solve a Looped water supply network, engineers must apply the Hardy-Cross Method. This mathematical algorithm sets up an initial "Spanning Tree" to satisfy mass continuity, calculates the head loss around every closed water supply loop, and iteratively applies flow correction factors ($\Delta Q$) until the head loss balances to zero. Doing this by hand or in a spreadsheet for anything larger than a single loop is a nightmare. This tool does it instantly.


How to Use the Water Supply Workstation

This ultimate water supply solver eliminates hours of tedious math. Here is how to model your networks:

1

Choose Your Water Supply Mode

Use the toggle in the toolbar to switch between Branched mode and Looped water supply mode. The entire interface, from the input tables to the interactive SVG diagrams, instantly restructures itself to handle the specific mathematics of that topology.

Branched (Tree)
Looped (Hardy-Cross)
2

Design the Branched Water Supply Tree

In Branched mode, start by setting your Source Reservoir water supply elevation. Then, dynamically add as many nodes as you need. For each node, simply tell the tool who its "Parent" node is, and it will construct the tree backwards, calculate flow accumulation, and alert you if the pressure drops too low at any water supply dead end.

1. Source Reservoir (Root Node)
Water Surface Elev. (HGL)
150 m
+ ADD DOWNSTREAM BRANCH
Branched Topology Schematic Red Node = Low Pressure
45.0 15.0 30.0 10.0 SRC Z: 150m N1 P: 48.2m N2 P: 42.5m 15 L/s N3 P: 35.1m 20 L/s N4 P: 12.4m 10 L/s
3

Analyze Flow Accumulation & Pressure

The tool instantly traverses the tree to accumulate the exact flow required at the source. It calculates the friction loss down every branch and features a built-in System Constraint monitor that instantly flashes red if any node drops below the minimum required residual pressure.

FLOW ACCUMULATION
Total Source Flow
45.0 L/s
SYSTEM CONSTRAINT
Min Pressure (N4)
12.4 m
Max Velocity
1.43 m/s
Total Pipe Length
1,400 m
4

Generate a Custom Looped Water Supply Grid

In Looped mode, the tool features a revolutionary Dynamic 2D Graph Engine. Use the Rows/Cols controls to generate anything from a simple 1x2 loop to a complex 4x4 water supply matrix grid. The input tables automatically generate the exact number of horizontal and vertical water supply pipes required for your layout.

Grid Topology Size 3 Rows × 4 Cols
ROWS
-+
COLS
-+
5

Input Data via the Table

I have transformed the "Detailed Hydraulics" section in the Branched mode into an interactive, spreadsheet-style table! Instead of hunting through the sidebar, you can edit water supply pipe Lengths, Diameters, and C-Factors directly in the result rows and watch the water supply physics update in real time.

Node L (m) D (mm) Demand (L/s) Pressure (m)
N1 500 200 10 48.2
N2 300 150 15 42.5

Smart Features & Utilities

CSV Import & Export Engine

Don't want to type dozens of water supply pipe lengths into the web browser? Use the Data Template button to download a perfectly formatted Excel template for your current water supply grid size. Fill it out in Excel, save it, and use the Import Data button to instantly load your massive water supply network into the solver.

Material Dropdowns

To save time looking up Hazen-Williams Roughness values, every single water supply pipe entry features a discrete "▼" arrow. Click it to immediately apply standard C-factors for PVC, Ductile Iron, Steel, or Cast Iron directly into the input field.

Ready to Start Solving?

Whether you need to quickly check the water supply pressure at the end of a long rural cul-de-sac, or you need to balance a massive downtown water supply grid to ensure velocities remain safe, this tool has you covered.

Head over to the tool page and try modeling a dynamic 3x3 water supply loop matrix! If you find this helpful, or if you encounter any tricky water supply network topologies you'd like the tool to support in the future, let me know in the comments.

Happy Designing!
- CivilSheets

No comments:

Post a Comment

New Tool Release: RC Column Analysis & P-M Interaction Diagram Generator

New Tool Release: RC Column Analysis & P-M Interaction Diagram Generator Designing reinforced concrete ...