## 5 Case Study
### Drinking-Water System Calculation
#### 5.1.1 Drinking-Water System Calculation--Case Study 1
\begin{table}
\begin{tabular}{c c c c c c c c c c c c} \hline \hline \multirow{2}{*}{**Plumbing**} & \multirow{2}{*}{**Acronym**} & \multicolumn{2}{c}{**Plumbing**} & \multirow{2}{*}{**Cold Water**} & \multirow{2}{*}{**Hot Water**} & \multirow{2}{*}{**Supply**} \\ \multicolumn{1}{c}{**Fixture Supply**} & & & & & & & & & \\  & & & **(Lt/min)** & & & & & & & \\ \hline Toilet & WC & 10 & 2 & 0 & 20 & 20 \\ Yard tap & LLJJ13 & 20 & 1 & 0 & 20 \\ Handvrasher & LO & 8 & 2 & 1 & 24 \\ Bathtub & BO & 15 & 1 & 1 & 30 \\ Washing & MLV & 15 & 1 & 1 & 30 \\ Dishwasher & LP & 12 & 1 & 1 & 24 \\ Total installed flow (L/min) & & & & & & & \\ \hline \hline \end{tabular}
\end{table} 
Table 7: System flow rates table for a single-family house. \begin{table}
\begin{tabular}{c c c c c c c c c c c} \hline \hline \multicolumn{1}{c}{**Water-Meter Calculation Report**} & \multicolumn{1}{c}{\multirow{2}{*}{**Final**}} \\ \hline \multicolumn{1}{c}{System installed flow rate} & \multicolumn{1}{c}{\multirow{2}{*}{**Length (m)**}} & \multicolumn{1}{c}{\multirow{2}{*}{**(mm/s)**}} & \multirow{2}{*}{**Speed**} & \multirow{2}{*}{**Total Loss**} & \multirow{2}{*}{**Final**} \\ \multicolumn{1}{c}{} & & & & & & & & \\ \hline MAP & A & Copper & Cu L & 2.19 & 25 & 1.70 & 1.92 & 12.08 \\ A & B & Copper & Cu L & 3.40 & 25 & 1.54 & 0.69 & 11.40 \\ B & C & Copper & Cu L & 3.52 & 25 & 1.28 & 0.42 & 10.98 \\ C & D & Copper & Cu L & 2.93 & 19 & 1.03 & 0.86 & 10.12 \\ D & E & Copper & Cu L & 0.63 & 19 & 0.80 & 0.08 & 10.04 \\ E & F & Copper & Cu L & 1.00 & 19 & 0.60 & 0.04 & 9.99 \\ F & BO & Copper & Cu L & 1.90 & 13 & 1.25 & 3.17 & 6.83 \\ E & LO & Copper & Cu L & 0.80 & 13 & 0.81 & 1.27 & 8.76 \\ D & WC & Copper & Cu L & 0.40 & 13 & 0.94 & 0.77 & 9.35 \\ C & G & Copper & Cu L & 0.93 & 19 & 1.65 & 0.47 & 10.50 \\ G & T & Copper & Cu L & 1.26 & 19 & 0.60 & 0.06 & 10.44 \\ \hline \hline \end{tabular}
\end{table} 
Table 8: Water-meter calculation report for a single-family house. \begin{table}
\begin{tabular}{c c c c c c c c c c c} \hline \hline \multicolumn{1}{c}{**Segment**} & \multirow{2}{*}{**Material**} & \multirow{2}{*}{**Type**} & \multirow{2}{*}{**Length (m)**} & \multicolumn{1}{c}{**Diameter**} & \multirow{2}{*}{**Speed**} & \multirow{2}{*}{**Total Loss**} & \multirow{2}{*}{**Final**} \\ \multicolumn{1}{c}{} & & & & & & & & & \\ \hline MAP & A & Copper & Cu L & 2.19 & 25 & 1.70 & 1.92 & 12.08 \\ A & B & Copper & Cu L & 3.40 & 25 & 1.54 & 0.69 & 11.40 \\ B & C & Copper & Cu L & 3.52 & 25 & 1.28 & 0.42 & 10.98 \\ C & D & Copper & Cu L & 2.93 & 19 & 1.03 & 0.86 & 10.12 \\ D & E & Copper & Cu L & 0.63 & 19 & 0.80 & 0.08 & 10.04 \\ E & F & Copper & Cu L & 1.00 & 19 & 0.60 & 0.04 & 9.99 \\ F & BO & Copper & Cu L & 1.90 & 13 & 1.25 & 3.17 & 6.83 \\ E & LO & Copper & Cu L & 0.80 & 13 & 0.81 & 1.27 & 8.76 \\ D & WC & Copper & Cu L & 0.40 & 13 & 0.94 & 0.77 & 9.35 \\ C & G & Copper & Cu L & 0.93 & 19 & 1.65 & 0.47 & 10.50 \\ G & T & Copper & Cu L & 1.26 & 19 & 0.60 & 0.06 & 10.44 \\ \hline \hline \end{tabular}
\end{table} 
Table 9: Loss summary table for cold-water system in a single-family house. Figure 8: Insertion of the information for the pipes in an MS Excel® spreadsheet using scripts 5 and 6. As shown in Table 7, the developed algorithm allows the fixtures present in the system to be identified and assigns the acronyms used for their abbreviation in the tabulations. It interprets the connections of the appliances to the hot- and cold-water systems in order, finally, to calculate the values of the final and total flow rates installed in the house. As shown in Table 9, the flow velocity values comply with the maximum of 2.0 m/s, even in the first section. Likewise, all the final pressures of the system comply with the required minimum of 4 mca. The diameters show a downward variation but maintain a value of 13 mm in the sections connected to the fixtures. In addition, the calculation table is ordered starting with the critical path from the meter to the most unfavourable device, which in this case is the rain bath (BOLL).