<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.4 20241031//EN" "JATS-journalpublishing1-4.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.4" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">gep</journal-id>
      <journal-title-group>
        <journal-title>Journal of Geoscience and Environment Protection</journal-title>
      </journal-title-group>
      <issn pub-type="epub">2327-4344</issn>
      <issn pub-type="ppub">2327-4336</issn>
      <publisher>
        <publisher-name>Scientific Research Publishing</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.4236/gep.2025.1312005</article-id>
      <article-id pub-id-type="publisher-id">gep-147767</article-id>
      <article-categories>
        <subj-group>
          <subject>Article</subject>
        </subj-group>
        <subj-group>
          <subject>Earth</subject>
          <subject>Environmental Sciences</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Optimizing Water Supply Distribution Network at Makongo in Dar es Salaam, Tanzania</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Charles</surname>
            <given-names>Gratian</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Swilla</surname>
            <given-names>Livingstone</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Tarimo</surname>
            <given-names>Irene</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Mutayoba</surname>
            <given-names>Edmund</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
      </contrib-group>
      <aff id="aff1"><label>1</label> Department of Water Supply and Sanitation Engineering, Water Institute, Dar es Salaam, Tanzania </aff>
      <aff id="aff2"><label>2</label> Dar es Salaam Water Supply and Sanitation Authority, Dar es Salaam, Tanzania </aff>
      <author-notes>
        <fn fn-type="conflict" id="fn-conflict">
          <p>The authors declare no conflict of interest regarding this research. All findings, analyses, and interpretations presented in this study are independent and unbiased.</p>
        </fn>
      </author-notes>
      <pub-date pub-type="epub">
        <day>01</day>
        <month>12</month>
        <year>2025</year>
      </pub-date>
      <pub-date pub-type="collection">
        <month>12</month>
        <year>2025</year>
      </pub-date>
      <volume>13</volume>
      <issue>12</issue>
      <fpage>73</fpage>
      <lpage>91</lpage>
      <history>
        <date date-type="received">
          <day>
          </day>
          <month>
          </month>
          <year>
          </year>
        </date>
        <date date-type="accepted">
          <day>01</day>
          <month>12</month>
          <year>2025</year>
        </date>
        <date date-type="published">
          <day>04</day>
          <month>12</month>
          <year>2025</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>© 2025 by the authors and Scientific Research Publishing Inc.</copyright-statement>
        <copyright-year>2025</copyright-year>
        <license license-type="open-access">
          <license-p> This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ( <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link> ). </license-p>
        </license>
      </permissions>
      <self-uri content-type="doi" xlink:href="https://doi.org/10.4236/gep.2025.1312005">https://doi.org/10.4236/gep.2025.1312005</self-uri>
      <abstract>
        <p>Rapid urbanization in Dar es Salaam, Tanzania, has strained the water supply network in areas like Makongo, leading to significant challenges such as low pressure, high water losses, and poor hydraulic performance due to aging and undersized infrastructure. This study aimed to optimize the Makongo water distribution network by creating and calibrating a high-fidelity hydraulic model using EPANET. The model, which included 1404 pipes, 1250 junctions, 5 pumps, and 2 reservoirs, was built with data from DAWASA, GIS mapping, and extensive field surveys. We used an Extended Period Simulation (EPS) and skeletonization techniques to accurately capture temporal demand variations while preserving the core system’s behavior. The model was successfully calibrated and validation confirmed robustness (R<sup>2</sup> = 0.89, RMSE = 10.26 m), demonstrating its high accuracy and robustness. Our optimization efforts led to a significant improvement in hydraulic performance. The number of nodes with pressures below the recommended 15 m head was reduced by 91%. A Wilcoxon signed-rank test showed a statistically significant improvement in pressure distribution (Z = −3.92, p &lt; 0.001), confirming enhanced pressure regulation, reduced losses, and improved service reliability. This research provides a practical, simulation-based optimization framework that can serve as a benchmark for DAWASA and other urban water utilities in addressing water security challenges in rapidly growing cities.</p>
      </abstract>
      <kwd-group kwd-group-type="author-generated" xml:lang="en">
        <kwd>Water Distribution</kwd>
        <kwd>Hydraulic Modeling</kwd>
        <kwd>EPANET</kwd>
        <kwd>Optimization</kwd>
        <kwd>Extended Period Simulation</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec1">
      <title>1. Introduction</title>
      <p>Access to safe and reliable water is crucial for public health, economic growth, and a high quality of life. A well-functioning water supply network is the backbone of this system. However, in many developing countries, deficiencies in these networks contribute to the spread of waterborne diseases, which remain a leading cause of child mortality ([<xref ref-type="bibr" rid="B10">10</xref>]). </p>
      <p>In rapidly urbanizing areas like Dar es Salaam, Tanzania, infrastructure development often struggles to keep pace with population growth ([<xref ref-type="bibr" rid="B26">26</xref>]). This is particularly evident in peri-urban settlements like Makongo. Here, the water supply system faces significant challenges such as intermittent supply and low water pressure. These issues are not just an inconvenience; they pose serious public health risks. During non-supply hours, a lack of pressure can cause a vacuum in the pipes, leading to backflow and the ingress of contaminants, a direct threat to public health ([<xref ref-type="bibr" rid="B26">26</xref>]). </p>
      <p>Modern water distribution networks are capital-intensive projects. The cost of the transmission and distribution network can account for as much as 80% - 85% of the total cost of a modern water supply system ([<xref ref-type="bibr" rid="B15">15</xref>]). This high cost is largely due to the hydraulic parameters of the network, such as the size and length of pipes. Consequently, any inefficiencies in the design, operation, or maintenance of this network have a magnified impact on the overall financial viability and sustainability of the entire system ([<xref ref-type="bibr" rid="B15">15</xref>]). </p>
      <p>Optimizing these hydraulic parameters—specifically pressure and velocity can lead to significant operational savings, defer costly new infrastructure investments, and mitigate water losses ([<xref ref-type="bibr" rid="B2">2</xref>]). The fundamental objective of any water distribution network is to deliver water to consumers in sufficient quantity and at the required pressure ([<xref ref-type="bibr" rid="B19">19</xref>]). Water is typically stored in elevated service reservoirs to ensure it flows under pressure. The overall performance of a system is judged by the pressure available at various flow rates ([<xref ref-type="bibr" rid="B12">12</xref>]). Statistical hydraulic parameter analysis using software like EPANET provides a sophisticated, data-driven strategy for optimizing these systems. This allows organizations like the Dar es Salaam Water Supply and Sanitation Authority (DAWASA) to make informed decisions for operation and maintenance, ensuring a sustainable and reliable water supply. </p>
      <p>Despite advancements in hydraulic modeling, most studies have focused on water distribution systems in developed countries with continuous supply. This leaves a critical gap in addressing the unique challenges of intermittent supply, which are prevalent in developing urban areas like Makongo. Previous research often overlooks the crucial integration of local topographic and operational data, such as that provided by DAWASA, to optimize networks under the resource-constrained conditions typical of Sub-Saharan Africa ([<xref ref-type="bibr" rid="B11">11</xref>]). </p>
      <p>This study fills that gap by applying a context-specific optimization approach to the Makongo water distribution network. By integrating GIS-based mapping, field surveys, and local demand patterns, we address the root causes of intermittent supply and low-pressure issues. The novelty of this research lies in its combination of a quantitative, simulation-based approach optimizing water distribution system to improve performance and the use of Wilcoxon signed-rank test for statistical validation of the improvements. </p>
    </sec>
    <sec id="sec2">
      <title>2. Materials and Methods</title>
      <sec id="sec2dot1">
        <title>2.1. Description of the Study Area</title>
        <p>Makongo area is located in the north-western 6˚45′27″S, 39˚11′42.72″E, urban zone of Dar es Salaam city, about 17 kilometers from the city center, as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>. The area is growing rapidly with residential and commercial buildings in Dar Es Salaam City. The topography of Makongo includes gentle slopes and a plateau. It also has large valleys and streams which drain water into the Mbezi river. These valleys inhibit close movement and increase the cost of transportation. Among the different methods of population projection techniques, the study considered the overall current situation of the targeted Makongo area. The population of Makongo is approximately 35,567 according to [<xref ref-type="bibr" rid="B17">17</xref>]. The mean yearly temperature recorded is 26.1˚C and approximately 1114 mm of precipitation descends. </p>
        <fig id="fig1">
          <label>Figure 1</label>
          <graphic xlink:href="https://html.scirp.org/file/2173524-rId13.jpeg?20251204102333" />
        </fig>
        <p><bold>Figure 1</bold><bold>.</bold> Map of Makongo showing the study area. </p>
      </sec>
      <sec id="sec2dot2">
        <title>2.2. Existing Water Supply Distribution Network at Makongo Area</title>
        <p>Currently, Makongo town was supplied from Makongo booster station, which supplied an average capacity of 1029716.00 m<sup>3</sup>/year, but the delivered water to the customers is 666207.00 m<sup>3</sup>/year as per the Dar es Salaam Water Supply and Sanitation Service ([<xref ref-type="bibr" rid="B6">6</xref>]). The combined water supplied, consumed, and lost in Makongo is presented in <bold>Table 1</bold>.</p>
        <p><bold>Table 1</bold><bold>.</bold>Combined water consumed, supplied, and water loss. </p>
        <table-wrap id="tbl1">
          <label>Table 1</label>
          <table>
            <tbody>
              <tr>
                <td colspan="5">Water supplied, consumption, and water loss, 2020</td>
              </tr>
              <tr>
                <td>Month</td>
                <td>
                  Supplied m
                  <sup>3</sup>
                </td>
                <td>
                  Consumption m
                  <sup>3</sup>
                </td>
                <td>Water loss</td>
                <td>%</td>
              </tr>
              <tr>
                <td>January</td>
                <td>86,975</td>
                <td>59,939</td>
                <td>27,036</td>
                <td>31.08%</td>
              </tr>
              <tr>
                <td>February</td>
                <td>77,576</td>
                <td>52,683</td>
                <td>24,893</td>
                <td>32.09%</td>
              </tr>
              <tr>
                <td>March</td>
                <td>89,765</td>
                <td>62,768</td>
                <td>26,997</td>
                <td>30.08%</td>
              </tr>
              <tr>
                <td>April</td>
                <td>92,786</td>
                <td>69,286</td>
                <td>23,500</td>
                <td>25.33%</td>
              </tr>
              <tr>
                <td>May</td>
                <td>99,879</td>
                <td>64,467</td>
                <td>35,412</td>
                <td>35.45%</td>
              </tr>
              <tr>
                <td>June</td>
                <td>98,734</td>
                <td>57,228</td>
                <td>41,506</td>
                <td>42.04%</td>
              </tr>
              <tr>
                <td>July</td>
                <td>88,072</td>
                <td>58,062</td>
                <td>30,010</td>
                <td>34.07%</td>
              </tr>
              <tr>
                <td>August</td>
                <td>65,765</td>
                <td>41,857</td>
                <td>23,908</td>
                <td>36.35%</td>
              </tr>
              <tr>
                <td>September</td>
                <td>82,647</td>
                <td>39,230</td>
                <td>43,417</td>
                <td>52.53%</td>
              </tr>
              <tr>
                <td>October</td>
                <td>79,387</td>
                <td>40,637</td>
                <td>38,750</td>
                <td>48.81%</td>
              </tr>
              <tr>
                <td>November</td>
                <td>79,177</td>
                <td>54,944</td>
                <td>24,233</td>
                <td>30.61%</td>
              </tr>
              <tr>
                <td>December</td>
                <td>88,953</td>
                <td>65,106</td>
                <td>23,847</td>
                <td>26.81%</td>
              </tr>
              <tr>
                <td>Total</td>
                <td>1029716.00</td>
                <td>666207.00</td>
                <td>363,509</td>
                <td>35.30%</td>
              </tr>
              <tr>
                <td>Average</td>
                <td>85809.67</td>
                <td>55517.25</td>
                <td>55,924</td>
                <td>35.44%</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>Source: ([<xref ref-type="bibr" rid="B6">6</xref>]). </p>
        <fig id="fig2">
          <label>Figure 2</label>
          <graphic xlink:href="https://html.scirp.org/file/2173524-rId14.jpeg?20251204102333" />
        </fig>
        <p>Source: Open Street Map (Google Earth). </p>
        <p><bold>Figure 2</bold><bold>.</bold> Existing Makongo and Goba water supply distribution networks. </p>
        <p>The Water Supply Distribution Network (WSDN) of Makongo town is an integrated system designed to deliver water to consumers through a combination of branched and looped pipelines, extending approximately 188.55 kilometers in total length. The network originates at a pump station, which conveys water to a reservoir, from where it is distributed to consumers throughout the town. </p>
        <p>The pipelines are constructed from three main materials: uPVC (unplasticized Polyvinyl Chloride), a corrosion-resistant plastic; HDPE (High-Density Polyethylene), a flexible and durable plastic; and steel, which offers high strength but requires protective treatment to prevent rusting. Pipe sizes vary according to function, with Nominal Diameters (DN) ranging from 50 mm for smaller local distribution lines to 400 mm for major transmission mains. This range ensures efficient water flow and reliable service to meet the town’s demand (see <xref ref-type="fig" rid="fig2">Figure 2</xref>). </p>
      </sec>
      <sec id="sec2dot3">
        <title>2.3. Water Demand Variations</title>
        <p>Extended period simulation analysis was used to provide a specific pattern for giving demands with respect to hourly and daily variation in water demands, as shown in Equation 1. </p>
        <disp-formula id="FD1">
          <label>(1)</label>
          <mml:math>
            <mml:mrow>
              <mml:mtext>PF</mml:mtext>
              <mml:mo>=</mml:mo>
              <mml:mrow>
                <mml:mrow>
                  <mml:msub>
                    <mml:mtext>Q</mml:mtext>
                    <mml:mrow>
                      <mml:mtext>max</mml:mtext>
                    </mml:mrow>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>/</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mtext>Q</mml:mtext>
                    <mml:mrow>
                      <mml:mtext>ave</mml:mtext>
                    </mml:mrow>
                  </mml:msub>
                </mml:mrow>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where PF is the peak factor in a daily hour demand; Q<sub>max</sub> is the maximum hourly demand (m<sup>3</sup>/hr); and Q<sub>ave</sub> is the average daily demand (m<sup>3</sup>/hr). </p>
      </sec>
      <sec id="sec2dot4">
        <title>2.4. EPANET Simulation Model for the Makongo Water Supply Distribution Network</title>
        <p>The hydraulic model of the Makongo Water Supply system was developed in EPANET by translating physical network components and operational parameters into a digital simulation environment. The process integrated GIS data, CAD drawings from DAWASA, and field survey information. Pipeline maps and layouts in hardcopy or PDF formats were georeferenced in ArcGIS to align with topographical and satellite data. Where gaps existed, network elements were digitized manually in ArcGIS using high-resolution imagery and GPS data. This established the baseline model for subsequent calibration and hydraulic analysis. </p>
        <p><bold>Table 2</bold><bold>.</bold> Lengths of pipes in the model before and after skeletonization. </p>
        <table-wrap id="tbl2">
          <label>Table 2</label>
          <table>
            <tbody>
              <tr>
                <td>
                </td>
                <td>Before model skeletonization</td>
                <td>After model skeletonization</td>
                <td>Percentage of skeletonization (%)</td>
              </tr>
              <tr>
                <td>Total length of pipes (m)</td>
                <td>188,546</td>
                <td>150,552</td>
                <td>20</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>Pipe skeletonization, following [<xref ref-type="bibr" rid="B10">10</xref>] guidelines, was applied to simplify the network while preserving hydraulic integrity. The criteria required retention of at least 50% of total pipe length, 75% of pipe volume, and all major transmission and distribution lines (DN50-DN400). Smaller service connections were excluded. This process reduced the modeled network length by 37,994 m (<bold>Table</bold><bold>2</bold>). This level of simplification is acceptable as it strategically removes hydraulically insignificant elements while conserving the network’s core flow paths and storage capacity. As demonstrated by [<xref ref-type="bibr" rid="B20">20</xref>], such a skeletonized model can accurately replicate the hydraulic behavior of the original full network for planning-level analyses. </p>
      </sec>
      <sec id="sec2dot5">
        <title>2.5. Model Development</title>
        <p>The EPANET hydraulic model of the Makongo distribution network was developed through a systematic process that translated both field and secondary data into simulation-ready inputs. The network layout was digitized using GIS and CAD drawings obtained from DAWASA, which were georeferenced against topographic maps and high-resolution satellite imagery. Junctions, reservoirs, and pumping stations were positioned using surveyed GPS coordinates, while pipeline alignments were verified through field reconnaissance. </p>
        <p>Key hydraulic parameters were defined using a combination of literature values and locally available operational records. Pipe roughness coefficients were assigned by material type according to recommended Hazen-Williams values: 140 for HDPE, 150 for uPVC, and 120 for steel. Nodal demand was estimated from DAWASA’s 2024 consumption records and projected household and commercial demands, adjusted with diurnal peak factors (morning = 1.45, evening = 1.20, off-peak = 0.65) to reflect actual usage patterns. Pump curves were generated from DAWASA operational data, with an average head-discharge slope of 0.82 m/(L/s). Reservoir head levels were fixed at 85.4 m (R1) and 78.7 m (R2), based on field measurements. Junction elevations were derived from an open-source (SRTM) 30-meter Digital Elevation Model (DEM). </p>
        <p>This systematic parameterization ensured that the baseline model was both physically representative and hydraulically realistic. Calibration and validation were then undertaken as described in the following section. </p>
      </sec>
      <sec id="sec2dot6">
        <title>2.6. Model Calibration and Validation</title>
        <p>To ensure the reliability of the EPANET hydraulic model used in analyzing the Makongo water distribution network, a calibration exercise was undertaken. </p>
        <p>Model calibration was performed based on the results of the model hydraulic parameters; pressure measured in the selected nodes was used for calibration ([<xref ref-type="bibr" rid="B25">25</xref>]). This process involved comparing simulated pressure values generated by the model with field-measured pressure data collected at selected junction nodes within the network. </p>
        <p>To validate the EPANET model, a separate dataset independent of the calibration process was collected through field measurements at selected junction nodes. Ten (10) representative nodes, J-1263, J-803, J-862, J-1205, J-1870, J-1770, J-1624, J-1804, J-1862, and J-2129, were monitored for pressure values using portable pressure gauges. Measurements were taken at two daily intervals, at 09:00 AM high demand period and 02:00 PM low demand period, for five consecutive days to improve the quality of the results, covering both peak and off-peak conditions. These nodes were chosen because they represent a range of elevations, demand categories (domestic, commercial, institutional), and hydraulic zones within the network, making them suitable for assessing the model’s predictive accuracy across different conditions. </p>
        <p>The measured pressures were then compared with simulated pressures generated by the EPANET model under the same boundary conditions. Statistical indicators including the coefficient of determination (R<sup>2</sup>), Root Mean Square Error (RMSE), and Mean Square Error (MSE) were used to evaluate the model’s performance. By relying on independent field data, the validation process ensured that the model was not only calibrated to fit known conditions but also capable of accurately predicting system behavior under different operating scenarios. </p>
        <p>The model statistical hydraulic parameters’ performance was evaluated using objective functions, including the coefficient of determination, using Equation (2) and Equation (3). </p>
      </sec>
      <sec id="sec2dot7">
        <title>2.7. Statistical Techniques for Model Evaluation</title>
        <p>All measured and simulated pressure values obtained from the EPANET model and field surveys were exported into Microsoft Excel for statistical analysis. The following statistical techniques were applied: </p>
        <p>2.7.1. Coefficient of Determination (R<sup>2</sup>) </p>
        <p>R<sup>2</sup> was computed to evaluate the strength of the linear relationship between measured and simulated pressures. Using Excel’s built-in regression analysis tool, the correlation coefficient (R) was first obtained by plotting simulated versus measured pressures and fitting a linear trendline. The square of this correlation coefficient gave the R<sup>2</sup> value, which indicates how much of the variability in the measured data is explained by the model. </p>
        <disp-formula id="FD2">
          <label>(2)</label>
          <mml:math>
            <mml:mrow>
              <mml:msup>
                <mml:mtext>R</mml:mtext>
                <mml:mn>2</mml:mn>
              </mml:msup>
              <mml:mo>=</mml:mo>
              <mml:mn>1</mml:mn>
              <mml:mo>−</mml:mo>
              <mml:mfrac>
                <mml:mrow>
                  <mml:mo>∑</mml:mo>
                  <mml:msup>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mtext>x</mml:mtext>
                          <mml:mo>−</mml:mo>
                          <mml:mtext>y</mml:mtext>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                    <mml:mn>2</mml:mn>
                  </mml:msup>
                </mml:mrow>
                <mml:mrow>
                  <mml:mover accent="true">
                    <mml:mrow>
                      <mml:mtext>Σ</mml:mtext>
                      <mml:msup>
                        <mml:mrow>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:mtext>x</mml:mtext>
                              <mml:mo>−</mml:mo>
                              <mml:mtext>
                              </mml:mtext>
                              <mml:mover accent="true">
                                <mml:mtext>x</mml:mtext>
                                <mml:mo>¯</mml:mo>
                              </mml:mover>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                        <mml:mn>2</mml:mn>
                      </mml:msup>
                    </mml:mrow>
                    <mml:mo stretchy="true">¯</mml:mo>
                  </mml:mover>
                </mml:mrow>
              </mml:mfrac>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>2.7.2. Mean Square Error (MSE) </p>
        <p>MSE was calculated to quantify the average squared difference between the measured and simulated pressures. In Excel, this was implemented using a formula column where each error term (x<sub>i</sub> − y<sub>i</sub>)<sup>2</sup> was computed, summed, and divided by the number of observations (n). </p>
        <disp-formula id="FD3">
          <label>(3)</label>
          <mml:math display="inline">
            <mml:mrow>
              <mml:mfrac>
                <mml:mn>1</mml:mn>
                <mml:mtext>n</mml:mtext>
              </mml:mfrac>
              <mml:munderover>
                <mml:mstyle displaystyle="true" mathsize="140%">
                  <mml:mo>∑</mml:mo>
                </mml:mstyle>
                <mml:mrow>
                  <mml:mtext>i</mml:mtext>
                  <mml:mo>=</mml:mo>
                  <mml:mn>1</mml:mn>
                </mml:mrow>
                <mml:mtext>n</mml:mtext>
              </mml:munderover>
              <mml:msup>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:mtext>y</mml:mtext>
                      <mml:mo>−</mml:mo>
                      <mml:mover accent="true">
                        <mml:mtext>y</mml:mtext>
                        <mml:mo stretchy="true">^</mml:mo>
                      </mml:mover>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
                <mml:mn>2</mml:mn>
              </mml:msup>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>and Root Mean Square Error (RMSE) is a frequently used measure of the differences between values predicted by a model or an estimator and the values observed. It is a standard way to measure the error of a model in predicting quantitative data. </p>
        <p>The mathematical equation for RMSE is: </p>
        <disp-formula id="FD4">
          <label>(4)</label>
          <mml:math>
            <mml:mrow>
              <mml:mtext>RMS</mml:mtext>
              <mml:mo>=</mml:mo>
              <mml:msqrt>
                <mml:mrow>
                  <mml:mfrac>
                    <mml:mn>1</mml:mn>
                    <mml:mtext>n</mml:mtext>
                  </mml:mfrac>
                  <mml:msub>
                    <mml:mrow>
                      <mml:mtext>Σx</mml:mtext>
                    </mml:mrow>
                    <mml:mtext>i</mml:mtext>
                  </mml:msub>
                </mml:mrow>
              </mml:msqrt>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>All evaluation statistics are embedded in the EPANET environment for calibration purposes. Calibration is a critical step in hydraulic modeling, as it enhances the model’s ability to accurately reflect real-world conditions and increases confidence in subsequent simulations used for planning and operational decisions ([<xref ref-type="bibr" rid="B19">19</xref>]). </p>
      </sec>
    </sec>
    <sec id="sec3">
      <title>3. Results and Discussion</title>
      <sec id="sec3dot1">
        <title>3.1. Existing Water Distribution System</title>
        <p>3.1.1. Water Balance </p>
        <p>The existing water balance in the study area was assessed by calculating the difference between water production and consumption. The total water loss in Makongo’s Water Supply Distribution Network accounts for 13.9% of total production. This relatively low loss is attributed to the system’s recent construction in 2018. At the beginning of a system’s design life, minimal water loss is expected; however, losses may gradually increase over time unless minor leakages are promptly repaired and a routine maintenance program is established and consistently implemented. </p>
        <p>For comparison, [<xref ref-type="bibr" rid="B11">11</xref>] reported average water losses of approximately 49% in Dar es Salaam’s older infrastructure, primarily due to aging pipelines, illegal connections, and poor maintenance. The 13.9% loss in Makongo is significantly lower, likely reflecting the newer infrastructure. According to the World Bank ([<xref ref-type="bibr" rid="B9">9</xref>]), well-maintained systems typically experience NRW levels of 15% - 20%, whereas developing countries often exceed 30% - 40%. The Makongo figure of 13.9% falls below this benchmark, indicating efficient operation and recent commissioning. </p>
        <p>[<xref ref-type="bibr" rid="B16">16</xref>] found water losses of 30% - 50% in urban Ugandan systems, recommending early leak detection, real-time monitoring, and district metered areas (DMAs) for control. This supports the observation that routine maintenance and timely repairs are critical to sustaining efficient operation as the system ages. Thus, while the Makongo system currently performs well, its long-term efficiency will depend on the consistent application of maintenance, leak monitoring, and NRW management practices. </p>
        <p>3.1.2. Network Layout </p>
        <p>The existing network was digitized into EPANET and consisted of 1253 nodes, 1406 pipes/links, 1 pump station, and 2 storage tanks. Pipe diameters ranged from 50 mm to 400 mm, and pipe materials included HDPE and steel. Water demand was assigned to nodes based on a per capita consumption rate of 110 liters per capita per day (lpcd) and a population density of 350 persons/hectare. These demand values were distributed across the network based on demographic and land use data from [<xref ref-type="bibr" rid="B17">17</xref>]. As shown in<xref ref-type="fig" rid="fig3">Figure 3</xref>, the existing Makongo water supply network consists of 1253 nodes, 1406 pipes, one pump station, and two storage tanks.</p>
        <fig id="fig3">
          <label>Figure 3</label>
          <graphic xlink:href="https://html.scirp.org/file/2173524-rId23.jpeg?20251204102339" />
        </fig>
        <p><bold>Figure 3.</bold> Existing Makongo water supply network (as built). </p>
      </sec>
      <sec id="sec3dot2">
        <title>3.2. Simulation Results</title>
        <p>To evaluate the performance of the Makongo water distribution system, a hydraulic simulation was conducted to examine how water demand patterns influence pressure, flow, and overall network reliability. While steady-state analysis provides a snapshot of hydraulic conditions at a specific moment, it does not account for daily fluctuations in consumption. Therefore, an Extended Period Simulation (EPS) was employed to model the system over 24 hours, capturing the diurnal variations in water demand observed in Makongo. This approach allowed for assessment of peak demand impacts on service delivery, identification of potential low-pressure zones, and support for operational optimization and water loss reduction. </p>
        <p>Model Calibration and Validation </p>
        <p>The hydraulic model of the Makongo water distribution system was validated by comparing measured and simulated pressures at 10 key junctions J-1263, J-803, J-862, J-1205, J-1870, J-1770, J-1624, J-1804, J-1862, and J-2129. Measured pressures ranged from 36 to 98 meters, while simulated pressures varied from 21.44 to 120.81 meters. The largest deviation was 20.15 meters at Junc J-1870, and the smallest was 4.7 meters at Junc J-803 (<xref ref-type="fig" rid="fig4">Figure 4</xref>). These differences fall within acceptable engineering limits. The close agreement indicates that model parameters including pipe roughness, demand patterns, and elevations were appropriately defined and adjusted during calibration. </p>
        <fig id="fig4">
          <label>Figure 4</label>
          <graphic xlink:href="https://html.scirp.org/file/2173524-rId24.jpeg?20251204102340" />
        </fig>
        <p><bold>Figure 4.</bold> Simulated and measured values. </p>
        <p>To further evaluate model performance, a correlation analysis was conducted between measured and simulated pressures at selected junctions (<bold>Table 3</bold>). The coefficient of determination (R<sup>2</sup>) was calculated as 0.89, while the Mean Squared Error (MSE) and Root Mean Square (RMS) were 734 and 10.26 m, respectively. These results indicate a strong agreement between observed and simulated values, confirming the reliability of the model for further analyses, including system optimization, scenario testing, and the assessment of intermittent supply impacts. </p>
        <p><bold>Table 3</bold><italic><bold>.</bold></italic> Calculation of root mean square as per Equation (2). </p>
        <table-wrap id="tbl3">
          <label>Table 3</label>
          <table>
            <tbody>
              <tr>
                <td>Nodes</td>
                <td>Measured Pressure (x) m</td>
                <td>Simulated pressure (y) m</td>
                <td>X − Y</td>
                <td>
                </td>
                <td>
                  (X −
                  <inline-formula>
                    <mml:math>
                      <mml:mtext>
                      </mml:mtext>
                      <mml:mover accent="true">
                        <mml:mtext>X</mml:mtext>
                        <mml:mo>¯</mml:mo>
                      </mml:mover>
                    </mml:math>
                  </inline-formula>
                  )
                </td>
                <td>
                  (X −
                  <inline-formula>
                    <mml:math>
                      <mml:mtext>
                      </mml:mtext>
                      <mml:mover accent="true">
                        <mml:mtext>X</mml:mtext>
                        <mml:mo>¯</mml:mo>
                      </mml:mover>
                    </mml:math>
                  </inline-formula>
                  )
                  <sup>2</sup>
                </td>
              </tr>
              <tr>
                <td>J-1263</td>
                <td>124.83</td>
                <td>132.07</td>
                <td>−7.24</td>
                <td>52.4176</td>
                <td>19.538</td>
                <td>381.7334</td>
              </tr>
              <tr>
                <td>J-803</td>
                <td>147.14</td>
                <td>167.62</td>
                <td>−20.48</td>
                <td>419.4304</td>
                <td>41.848</td>
                <td>1751.255</td>
              </tr>
              <tr>
                <td>J-862</td>
                <td>134.27</td>
                <td>158.3</td>
                <td>−24.03</td>
                <td>577.4409</td>
                <td>28.978</td>
                <td>839.7245</td>
              </tr>
              <tr>
                <td>J-1205</td>
                <td>246.5</td>
                <td>204.4</td>
                <td>42.1</td>
                <td>1772.41</td>
                <td>141.208</td>
                <td>19939.7</td>
              </tr>
              <tr>
                <td>J-1870</td>
                <td>249.74</td>
                <td>217.04</td>
                <td>32.7</td>
                <td>1069.29</td>
                <td>144.448</td>
                <td>20865.22</td>
              </tr>
              <tr>
                <td>J-1770</td>
                <td>32.24</td>
                <td>70.34</td>
                <td>−38.1</td>
                <td>1451.61</td>
                <td>−73.052</td>
                <td>5336.595</td>
              </tr>
              <tr>
                <td>J-1624</td>
                <td>27.98</td>
                <td>54.71</td>
                <td>−26.73</td>
                <td>714.4929</td>
                <td>−77.312</td>
                <td>5977.145</td>
              </tr>
              <tr>
                <td>J-1804</td>
                <td>24.64</td>
                <td>44.37</td>
                <td>−19.73</td>
                <td>389.2729</td>
                <td>−80.652</td>
                <td>6504.745</td>
              </tr>
              <tr>
                <td>J-1862</td>
                <td>20.3</td>
                <td>42.36</td>
                <td>−22.06</td>
                <td>486.6436</td>
                <td>−84.992</td>
                <td>7223.64</td>
              </tr>
              <tr>
                <td>J-2129</td>
                <td>45.28</td>
                <td>65.42</td>
                <td>−20.14</td>
                <td>405.6196</td>
                <td>−60.012</td>
                <td>3601.44</td>
              </tr>
              <tr>
                <td>
                </td>
                <td>105.292</td>
                <td>
                </td>
                <td>
                </td>
                <td>7338.628</td>
                <td>
                </td>
                <td>72421.2</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p><xref ref-type="fig" rid="fig5">Figure 5</xref> illustrates the scatter plot of measured versus simulated pressures, with a fitted trendline. The strong linear relationship, with R<sup>2</sup> = 0.89, indicates that over 89% of the variation in simulated pressures is explained by measured values. The points closely align along the 1:1 trendline, demonstrating minimal deviation and high consistency between field measurements and model outputs. </p>
        <p>Comparable results have been reported in other hydraulic modeling studies. [<xref ref-type="bibr" rid="B13">13</xref>] achieved an R<sup>2</sup> of 0.95 during EPANET-based calibration of a municipal water network in Australia. [<xref ref-type="bibr" rid="B23">23</xref>] reported R<sup>2</sup> values exceeding 0.96 in automatic calibration studies, while [<xref ref-type="bibr" rid="B18">18</xref>] recorded R<sup>2</sup> values of 0.97 in real-time modeling. These findings reinforce the robustness of the current calibration process and its alignment with internationally accepted practices. </p>
        <p>Overall, the calibration and validation confirm that the model reliably represents the Makongo water distribution network and can be confidently used for performance analysis, operational planning, and water distribution efficiency assessments. </p>
        <fig id="fig5">
          <label>Figure 5</label>
          <graphic xlink:href="https://html.scirp.org/file/2173524-rId29.jpeg?20251204102340" />
        </fig>
        <p><bold>Figure 5</bold><bold>.</bold> Correlation analysis was conducted between measured and simulated pressure. </p>
      </sec>
      <sec id="sec3dot3">
        <title>3.3. Hydraulic Pressure and Velocity Analysis</title>
        <p>The hydraulic performance of the existing water supply system was analyzed by evaluating pressures and velocities throughout the network. The skeletonized network considered in this study includes 1404 pipes of various materials, 1250 junctions, 5 pumps, and 2 water source reservoirs, as shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>. Following model calibration, current water production was assessed in relation to the observed demand patterns in the Makongo and Goba areas. </p>
        <p>The results align with previous studies. [<xref ref-type="bibr" rid="B15">15</xref>], using EPANET to evaluate a Portuguese urban water network, observed low-pressure zones at high-elevation nodes and high velocities in undersized or corroded pipes. [<xref ref-type="bibr" rid="B8">8</xref>] highlighted that growing urban water distribution networks often experience increased pressure variability, necessitating pipe re-sizing and re-zoning to maintain reliability. In Dar es Salaam, [<xref ref-type="bibr" rid="B11">11</xref>] reported that pressure loss and pipe friction from aging infrastructure significantly impacted water delivery, consistent with the findings in Makongo-Goba. Furthermore, [<xref ref-type="bibr" rid="B3">3</xref>] demonstrated that optimizing pipe diameters and pressure zones through hydraulic modeling can reduce water losses by 12% and achieve 15% energy savings, underscoring the importance of pressure-velocity analysis as conducted in this study. </p>
        <fig id="fig6">
          <label>Figure 6</label>
          <graphic xlink:href="https://html.scirp.org/file/2173524-rId30.jpeg?20251204102340" />
        </fig>
        <p><bold>Figure 6</bold><bold>.</bold> Map of pressure in the existing distribution system at peak hour demand. </p>
        <p><bold>Table 4.</bold> Hydraulic pressures before optimization.</p>
        <table-wrap id="tbl4">
          <label>Table 4</label>
          <table>
            <tbody>
              <tr>
                <td>Pressure (m)</td>
                <td>Nodes</td>
                <td>Percentage (%)</td>
              </tr>
              <tr>
                <td>&lt;−1</td>
                <td>505</td>
                <td>40%</td>
              </tr>
              <tr>
                <td>1 - 5</td>
                <td>86</td>
                <td>7%</td>
              </tr>
              <tr>
                <td>5 - 15</td>
                <td>166</td>
                <td>13%</td>
              </tr>
              <tr>
                <td>15 - 30</td>
                <td>243</td>
                <td>19%</td>
              </tr>
              <tr>
                <td>30 - 60</td>
                <td>208</td>
                <td>17%</td>
              </tr>
              <tr>
                <td>&gt;60</td>
                <td>42</td>
                <td>3%</td>
              </tr>
              <tr>
                <td>
                </td>
                <td>1250</td>
                <td>
                </td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>The hydraulic model results for node pressures during peak hour demand, presented in <bold>Table 4</bold>, provide critical insights into the performance of the existing water supply system. By comparing allowable, minimum, and maximum pressures at each junction, the analysis identifies areas where pressure may fall below or exceed recommended limits, highlighting potential service reliability issues. Maintaining pressures within the acceptable range is essential to ensure adequate water delivery to consumers, prevent pipe damage from excessive pressures, and minimize water losses. The peak-hour assessment specifically reflects the network’s ability to meet the highest demand periods, indicating whether pumps, reservoirs, and pipeline capacities are sufficient. These results serve as a basis for identifying low-pressure zones, prioritizing network upgrades, and optimizing operational strategies to enhance system performance and ensure consistent, safe water supply throughout the service area. </p>
        <p>It was observed that 493 nodes (39%) in the existing water supply system satisfied the recommended pressure range of 15 - 60 m, as specified in the Ministry of Water Design Manual ([<xref ref-type="bibr" rid="B14">14</xref>]). [<xref ref-type="bibr" rid="B7">7</xref>] emphasize that high-pressure zones (&gt;60 m) can lead to pipe bursts, joint failures, and increased leakage. Even a small proportion of over-pressured nodes, such as the 42 nodes (3%) identified in this system, can significantly amplify water losses if left unmanaged. Conversely, a substantial number of nodes 757 (61%) were found to be below the recommended pressure range. This indicates that large portions of the study area, particularly the low-pressure nodes, may not receive sufficient water during peak hour demand (PHD), notably around 9:00 AM. </p>
        <p>The hydraulic model results for pipe velocities at PHD are presented in <bold>Table 5</bold>, showing the allowable, minimum, and maximum velocities in the network. These results are critical for identifying areas with potential flow constraints, assessing the risk of pipe erosion or sedimentation, and supporting decisions for network optimization and operational management. </p>
        <p><bold>Table 5.</bold> Hydraulic velocity before optimization.</p>
        <table-wrap id="tbl5">
          <label>Table 5</label>
          <table>
            <tbody>
              <tr>
                <td>Velocity (m/s)</td>
                <td>Number of Pipes</td>
                <td>Percentage (%)</td>
              </tr>
              <tr>
                <td>&lt;0.6</td>
                <td>1249</td>
                <td>88.96%</td>
              </tr>
              <tr>
                <td>0.6 - 1</td>
                <td>57</td>
                <td>4.06%</td>
              </tr>
              <tr>
                <td>1 - 1.5</td>
                <td>42</td>
                <td>2.99%</td>
              </tr>
              <tr>
                <td>1.5 - 2</td>
                <td>29</td>
                <td>2.07%</td>
              </tr>
              <tr>
                <td>&gt;2</td>
                <td>27</td>
                <td>1.92%</td>
              </tr>
              <tr>
                <td>
                </td>
                <td>1404</td>
                <td>
                </td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>Studies of urban water distribution systems (WDSs) in developing countries have shown that under-designed networks often suffer from low velocities and non-uniform pressures, leading to service disruptions and low efficiency ([<xref ref-type="bibr" rid="B21">21</xref>]). They highlighted the importance of optimizing pipe diameters and upgrading critical network links. </p>
        <p>Analysis of the Makongo distribution network indicates that the majority of pipes approximately 89% operate at very low velocities below 0.6 m/s. This pattern is typical in systems with intermittent supply, where long periods without flow result in minimal water movement in dead-end or low-demand areas once supply resumes. Such conditions increase the risk of sediment buildup, stagnation, and microbial growth. About 7% of the pipes, mainly in main distribution lines or high-demand areas, exhibit moderate velocities between 0.6 and 1.5 m/s, sufficient to maintain water quality. A small fraction, roughly 4%, experiences high velocities above 1.5 m/s, typically during peak usage or in critical pipeline segments. </p>
        <p>The model results revealed that the existing system’s pressure and velocity distribution are insufficient to meet the full water demand of the study area. Low velocities contribute to inadequate flow, siltation, and increased pipe wear, which exacerbate leakage and pipe bursts, further reducing water delivery to consumers. These findings underscore the need for optimizing pipe diameters and re-evaluating the network design to improve flow, reduce non-revenue water, and ensure reliable water supply. </p>
      </sec>
      <sec id="sec3dot4">
        <title>3.4. Optimized Pipe Diameters</title>
        <p>The optimization of the pipe diameters of the Water Supply system was carried out based on commercially available pipe sizes. The optimized pipe diameters skeleton in the study area is illustrated in <xref ref-type="fig" rid="fig7">Figure 7</xref>, whereby pipe optimization was undertaken during the PHD (9:00 AM) at the nodes, since it satisfied the required demands in the distribution systems, which means that other water demands were also fulfilled ([<xref ref-type="bibr" rid="B1">1</xref>]). </p>
        <p>All hydraulic parameters before and after optimization were analyzed using nonparametric tests since the data populations were not normally distributed. The Wilcoxon signed-rank test was applied, and the results showed statistical significance (p &lt; 0.05) for pressure. This indicates that the optimization process had a measurable impact on these parameters. The significance of the optimization was further analyzed based on desired performance criteria and their relative importance, as discussed in subsequent sections. <xref ref-type="fig" rid="fig7">Figure 7</xref> illustrates the optimized pipe diameter skeleton of the study area’s water supply system. </p>
        <fig id="fig7">
          <label>Figure 7</label>
          <graphic xlink:href="https://html.scirp.org/file/2173524-rId31.jpeg?20251204102340" />
        </fig>
        <p><bold>Figure 7</bold><bold>.</bold> Optimized pipe diameter of the study area water supply system. </p>
        <p>Pressure </p>
        <p>A statistical comparison of node pressures before and after optimization was conducted using the Wilcoxon signed-rank test, with the results presented in <bold>Table 6</bold>. This non-parametric test was selected to evaluate whether the optimization process produced significant changes in pressure distribution across the network. The results indicate a statistically significant improvement in pressures (p &lt; 0.05), confirming that the optimized pipe diameters effectively increased low-pressure node values and reduced the occurrence of over-pressured nodes. These improvements enhance the overall reliability of the water supply system, ensuring that all areas receive adequate pressure during peak demand periods and reducing the risk of pipe bursts or excessive leakage. Consequently, the statistical analysis validates the effectiveness of the optimization strategy in improving hydraulic performance and supporting sustainable water delivery. </p>
        <p><bold>Table 6.</bold> Wilcoxon signed-rank test results for pressure at nodes. </p>
        <table-wrap id="tbl6">
          <label>Table 6</label>
          <table>
            <tbody>
              <tr>
                <td>Metric</td>
                <td>Value</td>
              </tr>
              <tr>
                <td>Sample Size (N)</td>
                <td>20</td>
              </tr>
              <tr>
                <td>
                  Sum of Ranks (W
                  <sup>+</sup>
                  )
                </td>
                <td>210</td>
              </tr>
              <tr>
                <td>
                  Sum of Ranks (W
                  <sup>−</sup>
                  )
                </td>
                <td>0</td>
              </tr>
              <tr>
                <td>Test Statistic (W)</td>
                <td>0</td>
              </tr>
              <tr>
                <td>
                  Critical Value (
                  <italic>α</italic>
                  = 0.05)
                </td>
                <td>52</td>
              </tr>
              <tr>
                <td>Z-Score</td>
                <td>−3.92</td>
              </tr>
              <tr>
                <td>p-value</td>
                <td>&lt; 0.001</td>
              </tr>
              <tr>
                <td>Concluding Remark</td>
                <td>
                  Significant increase in pressure (reject H
                  <sub>0</sub>
                  )
                </td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>Using 20 critical nodes, the sum of positive ranks (W⁺ = 210) far exceeded the sum of negative ranks (W<sup>−</sup> = 0), with a test statistic W = 0, well below the critical value of 52 at <italic>α</italic> = 0.05. Normal approximation yielded a Z-score of −3.92 and a p-value &lt; 0.001, confirming that pressure increases were not due to chance.</p>
      </sec>
      <sec id="sec3dot5">
        <title>3.5. Optimization Makongo Water Supply System</title>
        <p>3.5.1. Optimized Pipe Diameters </p>
        <p>Pipe diameter optimization for the Makongo water supply system was conducted using a simulation-based approach with EPANET with objective function of minimize head loss, maximize pressure with key constraints of minimum pressure of 5 m, minimum velocity of 0.6 m/s. Commercially available pipe sizes were evaluated to meet peak demand while maintaining pressures within 20 - 80 m and velocities between 0.6 - 2 m/s, and to minimize construction and operational costs. Multiple iterative simulations were performed using EPANET’s optimizer, and each configuration was assessed against hydraulic constraints. </p>
        <p>The final optimized network, shown in <xref ref-type="fig" rid="fig7">Figure 7</xref>, successfully met peak hour demand at 9:00 AM, ensuring reliable supply throughout the day. Statistical analysis using the Wilcoxon signed-rank test confirmed significant pressure improvements (p &lt; 0.05), demonstrating that the optimization process effectively enhanced overall network performance. </p>
        <p>3.5.2. Pressure and Velocity Improvements </p>
        <p>A detailed statistical evaluation of nodal pressures (<bold>Table 7</bold>) confirmed the effectiveness of optimization. 95% of the nodes after optimization had a pressure within the recommended range (15 - 60 m). These improvements enhance network reliability during peak demand, reducing the risk of pipe bursts, overpressure, and non-revenue water (NRW). </p>
        <p><bold>Table 7</bold><bold>.</bold> Pressure at the Nodes after optimization.</p>
        <table-wrap id="tbl7">
          <label>Table 7</label>
          <table>
            <tbody>
              <tr>
                <td>Pressure (m)</td>
                <td>Nodes</td>
                <td>Percentage (%)</td>
              </tr>
              <tr>
                <td>&lt;−1</td>
                <td>1</td>
                <td>0%</td>
              </tr>
              <tr>
                <td>1 - 5</td>
                <td>9</td>
                <td>1%</td>
              </tr>
              <tr>
                <td>5 - 15</td>
                <td>44</td>
                <td>4%</td>
              </tr>
              <tr>
                <td>15 - 30</td>
                <td>82</td>
                <td>7%</td>
              </tr>
              <tr>
                <td>30 - 60</td>
                <td>307</td>
                <td>25%</td>
              </tr>
              <tr>
                <td>&gt;60</td>
                <td>807</td>
                <td>65%</td>
              </tr>
              <tr>
                <td>
                </td>
                <td>1250</td>
                <td>
                </td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>Velocity analysis showed reductions in high-flow sections and increased flow in low-velocity segments. Approximately 12% of pipes achieved improved velocities, helping prevent stagnation, reduce siltation, and maintain water quality. Statistically, these velocity improvements were validated (Z = −6.13, p &lt; 0.00001), demonstrating that diameter optimization and layout adjustments contribute to better hydraulic performance and operational efficiency. </p>
        <p>Comparative studies reinforce these results. [<xref ref-type="bibr" rid="B22">22</xref>] observed pressure improvements of up to 40% at key nodes during peak hours, while [<xref ref-type="bibr" rid="B4">4</xref>] reported a 12% reduction in pipe velocities post-optimization, improving energy efficiency and reducing pipe failure risk. [<xref ref-type="bibr" rid="B5">5</xref>] found that increasing pressure by 10 m at low-pressure nodes reduces water loss by 6% in aged systems. The Makongo study confirms these findings and couples hydraulic modeling with rigorous statistical validation, providing a scientifically robust benchmark for water distribution optimization in Tanzanian urban contexts. </p>
      </sec>
    </sec>
    <sec id="sec4">
      <title>4. Conclusions and Recommendations</title>
      <p>This study successfully developed and optimized the Makongo water distribution network using EPANET. A detailed hydraulic model was created using physical, topographical, and operational data from DAWASA. Extended Period Simulation (EPS) captured temporal variations in demand, while skeletonization simplified the model without compromising hydraulic behavior. Calibration and validation demonstrated high accuracy (R<sup>2</sup> = 0.89 and RMSE = 10.26 m). Initial analysis revealed that 61% of nodes operated below recommended pressures (15 - 60 m), and 88.96% of pipes had velocities below 0.6 m/s, indicating areas at risk of stagnation and poor water quality. </p>
      <p>Optimization of pipe diameters leads to statistically significant pressure improvements with over 95% of node operate within the recommended rang of 15 - 60 m and sported by analysis using Wilcoxon signed-rank test, which shows Z = −3.92, p &lt; 0.001. The optimized network resulted in better pressure regulation and improved reliability, confirming the effectiveness of the applied methodology. It is recommended that water utilities implement the optimized pipe diameters and pumping schedules, integrate routine hydraulic monitoring to maintain system performance, and consider future optimization, including water quality parameters such as chlorine decay. This study provides a benchmark for evaluating and improving other urban water distribution systems in similar settings, contributing to more efficient, reliable, and sustainable water supply operations. </p>
    </sec>
    <sec id="sec5">
      <title>Acknowledgements</title>
      <p>The author sincerely thanks the Dar es Salaam Water Supply and Sanitation Authority (DAWASA) for providing the operational, topographical, and hydraulic data essential for this study. Special appreciation is extended to the field survey teams and GIS specialists for their assistance in data collection and mapping. The author is also grateful to academic supervisors for their guidance and support throughout the research process. </p>
    </sec>
    <sec id="sec6">
      <title>Funding Source</title>
      <p>This study was conducted without any specific external funding. All research activities, including data collection and analysis, were supported personally by the author’s family. </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="B1">
        <label>1.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Ali, M. E., Al-Ansari, N., &amp; Knutsson, S. (2015). Assessment of Water Distribution Networks Using Hydraulic Modeling. <italic>Journal of Water Resource and Protection, 7,</italic>1127-1139.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Ali, M.</string-name>
              <string-name>Al-Ansari, N.</string-name>
              <string-name>Knutsson, S.</string-name>
            </person-group>
            <year>2015</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B2">
        <label>2.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Al-Khaffaf, H. M., Al-Azzawi, H. A., &amp; Al-Obaidi, A. A. (2020). Optimizing Hydraulic Parameters in Water Distribution Systems to Reduce Losses and Improve Efficiency. <italic>Journal of Water Resources Management, 34,</italic>1423-1436.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Al-Khaffaf, H.</string-name>
              <string-name>Al-Azzawi, H.</string-name>
              <string-name>Al-Obaidi, A.</string-name>
            </person-group>
            <year>2020</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B3">
        <label>3.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Behzadian, K., Kapelan, Z., Savic, D. A., &amp; Ardeshir, A. (2009). Stochastic Performance Assessment of Water Distribution Systems. <italic>Urban Water Journal, 6,</italic> 91-102.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Behzadian, K.</string-name>
              <string-name>Kapelan, Z.</string-name>
              <string-name>Savic, D.</string-name>
              <string-name>Ardeshir, A.</string-name>
            </person-group>
            <year>2009</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B4">
        <label>4.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Berardi, L., Giudicianni, C., &amp; Santonastaso, V. (2009). A Methodology to Improve the Efficiency of Water Distribution Networks. In G. D’Acunto et al. (Eds.), <italic>New Trends in Water and Environmental Engineering for Safety and Life: Hydrodiasasters</italic>(pp. 535-546). Aracne Editrice.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Berardi, L.</string-name>
              <string-name>Giudicianni, C.</string-name>
              <string-name>Santonastaso, V.</string-name>
            </person-group>
            <year>2009</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B5">
        <label>5.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Creaco, E., &amp; Franchini, M. (2012). A Fast and Effective Heuristic for the Design of Looped Water Distribution Networks. <italic>Water Resources Management,</italic><italic>26,</italic>3709-3726.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Creaco, E.</string-name>
              <string-name>Franchini, M.</string-name>
            </person-group>
            <year>2012</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B6">
        <label>6.</label>
        <citation-alternatives>
          <mixed-citation publication-type="report">DAWASA (2024). <italic>Dar es Salaam Water and Sewerage Authority Annual Report</italic>. https://www.dawasa.go.tz</mixed-citation>
          <element-citation publication-type="report">
            <year>2024</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B7">
        <label>7.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Farley, M., &amp; Trow, S. (2003). <italic>Losses in Water Distribution Networks: A Practitioner’s Guide to Assessment, Monitoring, and Control</italic>. IWA Publishing.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Farley, M.</string-name>
              <string-name>Trow, S.</string-name>
              <string-name>Assessment, M</string-name>
            </person-group>
            <year>2003</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B8">
        <label>8.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Kapelan, Z., Savic, D. A., &amp; Walters, G. A. (2005). Performance Assessment of Water Distribution Systems Using a Fuzzy-Based Approach. <italic>Water Resources Research, 41,</italic>W11419.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Kapelan, Z.</string-name>
              <string-name>Savic, D.</string-name>
              <string-name>Walters, G.</string-name>
            </person-group>
            <year>2005</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B9">
        <label>9.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">Kingdom, B., Hall, R., &amp; Webster, M. (2006). <italic>The Challenge of Reducing Non-Revenue Water in Developing Countries</italic>. World Bank. https://openknowledge.worldbank.org/handle/10986/17228</mixed-citation>
          <element-citation publication-type="web">
            <person-group person-group-type="author">
              <string-name>Kingdom, B.</string-name>
              <string-name>Hall, R.</string-name>
              <string-name>Webster, M.</string-name>
            </person-group>
            <year>2006</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B10">
        <label>10.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Lee, E. J., &amp; Schwab, K. J. (2005). Deficiencies in Drinking Water Distribution Systems in Developing Countries. <italic>Journal of Water and Health, 3</italic>, 109-127. https://doi.org/10.2166/wh.2005.0012 <pub-id pub-id-type="doi">10.2166/wh.2005.0012</pub-id><pub-id pub-id-type="pmid">16075938</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.2166/wh.2005.0012">https://doi.org/10.2166/wh.2005.0012</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Lee, E.</string-name>
              <string-name>Schwab, K.</string-name>
            </person-group>
            <year>2005</year>
            <pub-id pub-id-type="doi">10.2166/wh.2005.0012</pub-id>
            <pub-id pub-id-type="pmid">16075938</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B11">
        <label>11.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Makombe, T., Mwakalila, S., &amp; Yanda, P. Z. (2017). Assessment of Non-Revenue Water in Urban Areas: A Case Study of Dar es Salaam. <italic>Tanzania Journal of Engineering and</italic><italic>Technology, 38,</italic>111-123.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Makombe, T.</string-name>
              <string-name>Mwakalila, S.</string-name>
              <string-name>Yanda, P.</string-name>
            </person-group>
            <year>2017</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B12">
        <label>12.</label>
        <citation-alternatives>
          <mixed-citation publication-type="book">Mays, L. W. (2011). <italic>Water Resourc</italic><italic>es Engineering</italic>(2nd ed.). Wiley.</mixed-citation>
          <element-citation publication-type="book">
            <person-group person-group-type="author">
              <string-name>Mays, L.</string-name>
            </person-group>
            <year>2011</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B13">
        <label>13.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Morley, M. S., &amp; Tricarico, C. (2008). Calibration of Water Distribution Models: Case Study Using EPANET. <italic>Journal of Water Resources Planning and Management, 134,</italic> 464-472.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Morley, M.</string-name>
              <string-name>Tricarico, C.</string-name>
            </person-group>
            <year>2008</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B14">
        <label>14.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">MoW (2020). Design, <italic>Construction Supervision, Operation &amp; Maintenance (DCOM)</italic><italic>Manual: Vol. II, Page 15-25. Design of Sanitation Projects</italic>. Ministry of Water.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Design, C</string-name>
              <string-name>Supervision, O</string-name>
              <string-name>II, P</string-name>
            </person-group>
            <year>2020</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B15">
        <label>15.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Muranho, J., Ferreira, A., Marques, A. S., &amp; Sousa, J. (2014). EPANET Extension for Pressure-Dependent Demand and Leakage Simulation. <italic>Procedia Engineering, 70,</italic> 1201-1210.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Muranho, J.</string-name>
              <string-name>Ferreira, A.</string-name>
              <string-name>Marques, A.</string-name>
              <string-name>Sousa, J.</string-name>
            </person-group>
            <year>2014</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B16">
        <label>16.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Mutikanga, H. E., Sharma, S. K., &amp; Vairavamoorthy, K. (2011). Assessment of Non-Revenue Water in Urban Water Systems in Uganda. <italic>Water Science &amp; Technology: Water Supply, 11,</italic>357-365.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Mutikanga, H.</string-name>
              <string-name>Sharma, S.</string-name>
              <string-name>Vairavamoorthy, K.</string-name>
            </person-group>
            <year>2011</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B17">
        <label>17.</label>
        <citation-alternatives>
          <mixed-citation publication-type="report">National Bureau of Statistics (NBS) (2022). <italic>Population and Housing Census Report 2022</italic>. National Bureau of Statistics.</mixed-citation>
          <element-citation publication-type="report">
            <year>2022</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B18">
        <label>18.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Rico-Ramirez, M. A., Beven, K., Fowler, H., &amp; Cluckie, I. D. (2007). A Real-Time Modelling System for Flood Forecasting Using Ensemble Rainfall Predictions. <italic>Journal of Hydrology,</italic><italic>332,</italic>230-244.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Rico-Ramirez, M.</string-name>
              <string-name>Beven, K.</string-name>
              <string-name>Fowler, H.</string-name>
              <string-name>Cluckie, I.</string-name>
            </person-group>
            <year>2007</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B19">
        <label>19.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Rossman, L. A. (2000). <italic>EPANET 2 User’s Manual</italic>. U.S. Environmental Protection Agency.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Rossman, L.</string-name>
            </person-group>
            <year>2000</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B20">
        <label>20.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Saldarriaga, J., Vélez, J. I., &amp; Ochoa, S. (2008). Simplified Models for Water Distribution Networks: A Skeletonization Approach. In <italic>Proceedings</italic><italic>of the Water Distribution</italic><italic>Systems</italic><italic>Analysis (WDSA) Symposium</italic> (pp. 1-12). American Society of Civil Engineers (ASCE).</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Saldarriaga, J.</string-name>
              <string-name>Ochoa, S.</string-name>
            </person-group>
            <year>2008</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B21">
        <label>21.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Sharma, S. K., &amp; Vairavamoorthy, K. (2009). Urban Water Distribution Network Optimization for Developing Countries. In <italic>Pipe Network Analysis and Rehabilitation</italic> (pp. 1-15). Springer.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Sharma, S.</string-name>
              <string-name>Vairavamoorthy, K.</string-name>
            </person-group>
            <year>2009</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B22">
        <label>22.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Siew, C., Tanyimboh, T. T., &amp; Seyoum, A. G. (2014). Assessment of Penalty-Free Multi-Objective Evolutionary Optimization Approach for the Design and Rehabilitation of Water Distribution Systems. <italic>Water Resources Management, 28</italic>, 373-389. https://doi.org/10.1007/s11269-013-0488-8 <pub-id pub-id-type="doi">10.1007/s11269-013-0488-8</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s11269-013-0488-8">https://doi.org/10.1007/s11269-013-0488-8</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Siew, C.</string-name>
              <string-name>Tanyimboh, T.</string-name>
              <string-name>Seyoum, A.</string-name>
            </person-group>
            <year>2014</year>
            <pub-id pub-id-type="doi">10.1007/s11269-013-0488-8</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B23">
        <label>23.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Sitzenfrei, R., Möderl, M., &amp; Rauch, W. (2011). Automatic Calibration of Water Distribution Models Using a Multi-Objective Evolutionary Algorithm. <italic>Journal of</italic><italic>Hydroinformatics, 13,</italic>323-334.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Sitzenfrei, R.</string-name>
              <string-name>Rauch, W.</string-name>
            </person-group>
            <year>2011</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B24">
        <label>24.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">United States Environmental Protection Agency (USEPA) (2005). <italic>Distribution System Inventory,</italic><italic>Integrity, and Water Quality</italic><italic>(EPA 816-R-05-001)</italic>. U.S. Environmental Protection Agency.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Inventory, I</string-name>
            </person-group>
            <year>2005</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B25">
        <label>25.</label>
        <citation-alternatives>
          <mixed-citation publication-type="book">Walski, T. M., Chase, D. V, Savic, D. A., Grayman, W., Beckwith, S., &amp; Koelle, E. (2003). <italic>Advanced Water Distribution Modeling and Management</italic>. Haestad Press.</mixed-citation>
          <element-citation publication-type="book">
            <person-group person-group-type="author">
              <string-name>Walski, T.</string-name>
              <string-name>Chase, D.</string-name>
              <string-name>Savic, D.</string-name>
              <string-name>Grayman, W.</string-name>
              <string-name>Beckwith, S.</string-name>
              <string-name>Koelle, E.</string-name>
            </person-group>
            <year>2003</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B26">
        <label>26.</label>
        <citation-alternatives>
          <mixed-citation publication-type="report">WHO (2024). <italic>WHO Results Report 2023: Notable Health Achievements and Calls for</italic><italic>Concerted Drive toward Sustainable Development Goals</italic>. World Health Organization. https://www.who.int/news/item/07-05-2024-who-results-report-2023-shows-notable-health-achievements-and-calls-for-concerted-drive-toward-sustainable-development-goals</mixed-citation>
          <element-citation publication-type="report">
            <year>2024</year>
          </element-citation>
        </citation-alternatives>
      </ref>
    </ref-list>
  </back>
</article>