## 5 Case Study
### Drinking-Water System Calculation
#### 5.1.1 Drinking-Water System Calculation--Case Study 1
Since there is only one floor in the house, this is the point of highest elevation in the entire system. In the hot-water system, the flow rates and final pressures satisfy the regulatory restrictions. As shown in Table 10, the initial section (CAL-I) starts at the heating device (CAL), so the initial pressure is not equal to the 14 mca coming from the meter but to the pressure resulting from the section that ends at the heater, indicated in Table 9 (H-CAL). Based on the results obtained for the single-family-house case, it is possible to verify the correct performance of the algorithms in terms of their effective recognition of the devices and maintenance of the desirable diameters (in the case of copper pipes, 13 mm) in the sections they are present in. In addition, algorithms demonstrated the ability to perform iterative calculations of diameters progressively until the minimum pressures are met, and the calculation criteria were correctly followed along the critical path. \begin{table}
\begin{tabular}{c c c c c c c c} \hline \hline \multicolumn{1}{c}{**Segment**} & \multicolumn{1}{c}{**Material**} & \multicolumn{1}{c}{**Type**} & \multicolumn{1}{c}{**Length (m)**} & \multicolumn{1}{c}{**Diameter**} & \multicolumn{1}{c}{**Speed**} & \multicolumn{1}{c}{**Total Loss**} & \multicolumn{1}{c}{**Final Pressure**} \\  & & & & **(mm)** & **(m/s)** & **(mca)** & **(mca)** \\ \hline CAL & I & Copper & Cu L & 1.40 & 19 & 1.37 & \(-\)0.37 & 7.98 \\ I & J & Copper & Cu L & 1.05 & 19 & 1.37 & 0.23 & 7.75 \\ J & O & Copper & Cu L & 1.30 & 19 & 0.60 & 0.06 & 7.69 \\ O & MLV & Copper & Cu L & 1.10 & 13 & 1.25 & 2.23 & 5.46 \\ J & K & Copper & Cu L & 0.88 & 19 & 1.07 & 0.16 & 7.59 \\ K & N & Copper & Cu L & 6.31 & 19 & 0.51 & 0.20 & 7.39 \\ N & LP & Copper & Cu L & 0.80 & 13 & 1.07 & 1.59 & 5.79 \\ K & L & Copper & Cu L & 3.61 & 19 & 0.80 & 0.26 & 7.33 \\ L & LO & Copper & Cu L & 0.80 & 13 & 0.81 & 1.27 & 6.06 \\ L & M & Copper & Cu L & 1.00 & 19 & 0.60 & 0.06 & 7.27 \\ M & BO & Copper & Cu L & 1.90 & 13 & 1.25 & 3.17 & 4.10 \\ \hline \end{tabular}
\end{table} 
Table 10: Table summarising hot-water-system losses in a single-family house. \begin{table}
\begin{tabular}{c c c c c c c c} \hline \hline \multicolumn{1}{c}{**Segment**} & \multicolumn{1}{c}{**Material**} & \multicolumn{1}{c}{**Type**} & \multicolumn{1}{c}{**Length (m)**} & \multicolumn{1}{c}{**Diameter**} & \multicolumn{1}{c}{**Speed**} & \multicolumn{1}{c}{**Total Loss**} & \multicolumn{1}{c}{**Final**} \\  & & & & **(mm)** & **(m/s)** & **(mca)** & **Pressure (mca)** \\ \hline T & MLV & Copper & Cu L & 1.10 & 13 & 1.25 & 2.23 & 8.21 \\ G & H & Copper & Cu L & 0.84 & 19 & 1.37 & 0.17 & 10.33 \\ H & CAL & Copper & Cu L & 1.40 & 19 & 1.37 & 2.72 & 7.61 \\ B & P & Copper & Cu L & 1.26 & 19 & 0.97 & 0.15 & 11.25 \\ P & R & Copper & Cu L & 8.02 & 19 & 0.68 & 0.35 & 10.90 \\ R & S & Copper & Cu L & 0.60 & 19 & 0.45 & 0.03 & 10.87 \\ S & WC & Copper & Cu L & 0.40 & 13 & 0.94 & 0.75 & 10.12 \\ R & LO & Copper & Cu L & 0.80 & 13 & 0.81 & 1.30 & 9.60 \\ P & Q & Copper & Cu L & 1.64 & 19 & 0.51 & 0.19 & 11.06 \\ Q & LP & Copper & Cu L & 0.80 & 13 & 1.07 & 1.59 & 9.46 \\ A & LIJ13 & Copper & Cu L & 0.60 & 13 & 1.52 & 2.29 & 9.80 \\ \hline \end{tabular}
\end{table} 
Table 9: _Cont._