Objective: The objective of this example is to familiarize yourself with water distribution system modeling using epanet-js. You will build a steady-state hydraulic model of a real-world system, analyze its performance under normal conditions, and assess its capacity during a fire event.

General Notes:

image.png


Part 1: Building the Hydraulic Model

In this first part, you will construct the basic layout of the Wheelwright water distribution network using the provided basemap. You will define the physical characteristics of the pipes and junctions, estimate initial water demands, and simulate the system being supplied only by gravity from the storage tank to establish a baseline.

  1. Project Setup:

  2. Load Basemap:

    image.png

  3. Add the Storage Tank:

    $$ [\text{Base elevation of tank}] + [\text{Current level of water in tank}] = \text{Head} $$

  4. Draw Network and Set Pipe Properties:

    image.png

  5. Calculate and Input Demands (Peak Hour on Average Day):

  6. Run Simulation & Initial Check (Tank Supply Only):


Part 2: Design a pump

Here, you will add the main water source, representing the treatment plant pump, to the model. Instead of directly calculating headloss, you will iteratively adjust the source's head to achieve a target filling flow rate into the storage tank. This simulates finding an appropriate operating point for the pump. You will then simulate the system with the pump 'on' and 'off'.