The import customer points feature in epanet-js allows you to bulk import customers and their specific water demands into your hydraulic model. This process also connects each customer to a pipe and allocates their demand to the nearest junction on that pipe, providing a more accurate representation of demand in your water distribution network.

Before you begin, ensure your customer data is represented as point objects in a GeoJSON file. Each point should have an attribute that defines the customers average demand in liters per day for metric networks or gallons per days for US standard networks.

https://youtu.be/58BFdUokcd4


1. Import Customer Data

<aside> ⚠️

All coordinates must be projected in WGS84 (EPSG:4326), or the GeoJSON must include a CRS definition for data to successfully import.

</aside>

The first step is to upload your GeoJSON file containing the customer points.

  1. Click the Import Customer Point button in the main toolbar to open the import wizard.

  2. Drag and drop your GeoJSON file into the drop zone, or click to browse and select it from your computer.

  3. Use the Demand Field dropdown menu to select the attribute from your file that contains the demand value for each customer. You will then see a preview list of your customer points.

  4. If there are any formatting or data issues with your file, they will be listed in the Issues tab.

    step1 - import data.mp4


2. Set Demand Options

After loading your data, you need to decide how the customer demands will be incorporated with the model's existing demands. You have two choices:

image.png

Select the option that best fits your modeling needs and click Next.