Hostname: page-component-74d7c59bfc-6nqbt Total loading time: 0 Render date: 2026-01-24T10:09:31.284Z Has data issue: false hasContentIssue false

Accelerating water distribution systems planning and design with generative artificial intelligence models

Published online by Cambridge University Press:  05 January 2026

Nhu Do*
Affiliation:
The University of Adelaide , Australia System Planning (Water), SA Water , Australia
Angela Marchi
Affiliation:
System Planning (Water), SA Water , Australia
Patrick Hayde
Affiliation:
System Planning (Water), SA Water , Australia
*
Corresponding author: Nhu Do; Email: nhu.do@adelaide.edu.au
Rights & Permissions [Opens in a new window]

Abstract

Housing affordability is one of the main aspects required for sustainable development and society. However, the timely delivery of new homes is often constrained by the need to upgrade and expand essential infrastructure such as water and electricity networks. For water utilities, responses to growth typically involve intensive hydraulic analysis to assess water distribution systems (WDS) capacity, identify upgrade needs and evaluate options for system extensions. This process becomes significantly complex and resource-intensive under high growth conditions, where a higher volume of faster answers is required to address a wide range of uncertain future scenarios. This paper presents a concept of using generative artificial intelligence (Gen AI) integrating with hydraulic models to form an AI Agent to support WDS design. Specific features of Gen AI used within the hydraulic agent are discussed. A real-life case study demonstrated that the AI agent can analyse land development requests, trigger hydraulic simulations and identify augmentation needed, significantly reducing manual tasks. This offers a breakthrough strategy for water distribution system design and planning to enable sustainable water infrastructure development.

Information

Type
Rapid Communication
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NC
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial licence (http://creativecommons.org/licenses/by-nc/4.0), which permits non-commercial re-use, distribution, and reproduction in any medium, provided the original article is properly cited. The written permission of Cambridge University Press or the rights holder(s) must be obtained prior to any commercial use.
Copyright
© The Author(s), 2026. Published by Cambridge University Press

Impact statement

This paper introduces an innovative approach that combines generative artificial intelligence with hydraulic models to transform how water utilities respond to rapid urban growth. By automating capacity assessments and infrastructure augmentation planning, the integrated Gen AI–hydraulic tool significantly reduces manual workload while maintaining engineering and water utility standards. This proposes a significant step-change in how water utilities implement the modelling and design of water distribution systems.

Background of WDS planning and design

Water distribution systems (WDS) are a fundamental component of urban infrastructure. It is designed to ensure communities have access to clean water with adequate pressure. For most developed countries, water infrastructure is well established since the nineteenth century (Fletcher et al., Reference Fletcher, Miotti, Swaminathan, Klemun, Strzepek and Siddiqi2017) and continues to reliably supply customers. Planning and design of water systems to support sustainable development (i.e. housing affordability (United Nations Economic Commission for Europe (2021)) and future growth in the current time, therefore, mostly focuses on identifying solutions for water network expansion. These activities primarily involve extensive use of a calibrated steady-state hydraulic model. The steady-state hydraulic model is the mathematical approximation of a real WDS, which simulates the steady condition of the flows in the network at a specific point of time (i.e. steady-state simulation) or over a period (i.e., extended period simulation) (Do, Reference Do2017). Based on two physics principles (the mass and energy conservation), the hydraulic model can estimate relatively accurately the pressure and flow of the piping network and provide insight into the WDS hydraulic conditions. Some well-known open-source steady-state hydraulic models commonly used for research purposes are the EPANET model (Rossman, Reference Rossman2000) and Water Network Tool for Resilience (WNTR) (Klise et al., Reference Klise, Bynum, Moriarty and Murray2017).

Three main types of water distribution planning and design were identified in Walski (Reference Walski2015), including master planning, capital planning and land development. The master planning and capital planning are internal studies conducted to provide long-term planning (for master plan) and short-term consideration (for capital plan) of water infrastructure upgrade. On the other hand, the land development projects are the exercises conducted to answer external requests from private developers or land rezoning authority. The level of assessment required for an individual request varies from a simple hydraulic modelling task to demonstrate the requirement of small main extension to complex modelling works aimed at providing practical and feasible solutions to the developers while maintaining service levels for existing customers. Under high growth conditions, water utilities often face a large volume of development proposals. This creates significant scaling challenges for the planning team with constrained staff and resources because planning engineers must manually configure multiple scenarios, execute hydraulic simulations and interpret results for each request. These manual steps limit efficiency and consistency in delivering timely responses. Therefore, there is a clear need for tools that enable automated interaction between planners, hydraulic models, engineering standards and utility governance requirements to support scalable planning workflows. Generative artificial intelligence (Gen AI), particularly large language models (LLM), offers a pathway to address this gap by enabling natural language interaction with engineering tools.

Advances of AI in WDS modelling and challenges in practical application

Artificial intelligence (AI) and machine learning (ML) are gaining attraction in the WDS modelling domain. Most of these works focus on improving the computational time and accuracy of hydraulic models. For example, Bonilla et al. (Reference Bonilla, Zanfei, Brentan, Montalvo and Izquierdo2022) used a graph convolutional network for pump speed estimation. Kerimov et al. (Reference Kerimov, Taormina and Tscheikner-Gratl2024) proposed a data-driven metamodel concept using edge-based graph neural network (GNN) as a surrogate for a physical-based hydraulic model. Truong et al. (Reference Truong, Tello, Lazovik and Degeler2024) used GNN to improve the estimate of pressure in WDSs. Ye et al (Reference Ye, Do, Zeng and Lambert2022) and Ye et al. (Reference Ye, Zeng, Do and Lambert2024) introduced a physics-informed ML concept for reconstructing transient pressures in pipe networks from pressure data. Although these studies demonstrated the capability of using AI to improve some specific aspects of hydraulic models within the range of training datasets, the applicability to real-world hydraulic networks with complex operational components (e.g., booster pump stations, pressure reducing valves, pressure sustaining valve, flow control valves, etc.) of these ML tools in water utilities to answer practical hydraulic questions remain challenging.

Gen AI, represented by LLMs, is a significant advancement in the AI field. Trained on vast datasets from reliable data sources, Gen AI is capable of providing general answers as well as fundamental engineering knowledge. In addition, the LLM tools, such as ChatGPT or Google Gemini, allow users to interact with specific domain knowledge by natural language, making interaction with complex systems more intuitive. Sela et al. (Reference Sela, Sowby, Salomons and Housh2025) outlined the potential benefits of Gen AI to water utilities in data analysis, preserving system knowledge and enhancing training and operational efficiency. However, the study also highlighted the uncertainty in the accuracy and reliability of LLMs in answering complicated tasks due to limited feeding context, empirical metrics and evaluation methods. Given a strict cybersecurity requirement in the water utility to protect confidential data and information, third-party LLM models are unlikely to gain access to sensitive databases or be retrained for water utility-specific applications. This poses the need for alternative approaches to incorporate LLMs into the daily WDS planning and design work within the utility environment.

Hydraulic AI agent concept for WDS planning and design

Figure 1 presents a conceptual framework of an LLM-based AI hydraulic agent that enables the automation of some WDS planning and design processes, while allowing integration with water utility systems. The concept demonstrates the interaction between four components: the user, LLM, function collections and utility databases, which can be assessed from the function collection. Unlike publicly available Gen AI tools that generate invalidated functions, the proposed approach relies on a curated library of internally developed hydraulic functions aligned with the water utility design standards and service criteria. All model calculations remain on secured utility systems, which ensures protection of sensitive WDS data while leveraging LLMs purely for automation of function selection, visualisation and hydraulic result extraction and interpretation.

Figure 1. Conceptual framework of the Gen AI-based hydraulic agent.

The user is responsible for initiating requests in natural language and providing additional contexts to ensure the AI receives sufficient information to perform the task. For example, required inputs for an assessment of a land division request may include the site location, land use type, proposed number of allotments or metre sizes. Additionally, the user is also responsible for verifying the agent’s outputs or directing the AI to implement further analyses to correct the outputs.

The core of the AI agent is the LLM, which is accountable for interpreting the user request, acquiring additional data and implementing actions. It utilises two built-in features of the LLM: reasoning and planning and function calling. The LLM “reasoning and planning” feature typically involves partitioning natural language questions into chains of immediate steps and subsequently generating a series of actions to achieve the request (Huang et al., Reference Huang, Xia, Xiao, Chan, Liang, Florence, Zeng, Tompson, Mordatch, Chebotar and Sermanet2022; Hao et al., Reference Hao, Gu, Ma, Hong, Wang, Wang and Hu2023). The “Function calling” mechanism, introduced by Kim et al. (Reference Kim, Moon, Tabrizi, Lee, Mahoney, Keutzer and Gholami2024), within the context of LLM refers to its capacity to identify and execute predefined functions to deliver precise and structured outputs. This feature allows the LLM to handle complex inquiries and enables the LLM to integrate with a wide range of external systems (Wang et al., Reference Wang, Zhang, Peng, Chen, Zhou, Gu, Zhuang, Guo, Yu, Wang and Zhao2025).

User-defined function collection is the engine of the AI agent for implementing WDS planning and design tasks. Each function is a predefined block of programming script or computational tools that takes parameters as inputs to simulate a designated result. Function collection ranges from a simple trigger to run the hydraulic solver, a script to direct where the data should be extracted, to complex programs such as tracing the hydraulic grade line (HGL) from a given node to its source at a defined time step or an optimisation tool to determine optimal augmentation. These functions require domain expertise and engineering technical knowledge to develop. In addition, as the utility databases can be assessed by the user predefined functions, this minimises the direct exposure of water utility sensitive information to the LLMs, therefore, reducing the security risk concerns.

Demonstration of an AI hydraulic agent

The agent is programmed in Python language and available from GitHub. For the LLM component, we adopted the “gpt-4o-mini-2024-2107-18” module from OpenAI via the OpenAI application programming interface. Hydraulic simulations are performed using the WNTR Python package as the hydraulic engine.

Case study 1: We used a land development service request as the first case study to demonstrate the capabilities of the AI agent. A collection of functions (listed in Table 1) was developed to assist the AI in performing land development requests. To identify if the existing system has enough capacity or which sections of the piping network need to be augmented to support future water users, a hydraulic simulation triggered by the “Run hydraulic simulation” function must be performed for two scenarios:

  • The base scenario, representing the current hydraulic system conditions, and

  • The future scenario, where additional water demand from the development is added by the “Add demand” function, represents the future system demand when the development is supplied from the network.

Table 1. Example of a function collection enabling WDS planning and design tasks in the AI hydraulic agent

Hydraulic performance, such as nodal pressure drop, pipe velocity, tank level, upstream and downstream pressure of a PRV, is then compared between the base and future scenarios by the Hydraulic assessment function. If any performance criteria are violated, the AI will simulate possible augmentation options and inform the user of necessary upgrades. In order to implement this process, additional advanced tools are programmed, including “Identify hydraulic profile,” “Identify pipe candidates for augmentation,” and “Perform augmentation.” Detailed descriptions of these functions are provided in Table 1.

The performance of the AI agent is demonstrated through a real-world network example of a land division request in a suburban area in South Australia, Australia. The WDS network model is depicted in Figure 2, which consists of 28,985 nodes, 33,200 pipes, and supplies from multiple water sources. For this demonstration, it is assumed that 20 L/s is requested from the customer near node ID 15064 of the network. For hydraulic assessment, the following criteria are applied:

  • Minimum service pressure ≥ 20 mH,

  • Maximum pipe velocity ≤ 2.5 m/s,

  • Pressure drop due to the new demand must not exceed 10% of the minimum base scenario pressure (to avoid negative impacts on existing customers).

Figure 2. Hydraulic network model and development location in Case study 1.

Figure 3 depicts the interaction between the user and the AI agent. As can be seen from the figure, a request is raised by the user in plain language: “Please add demand to node.” The LLM’s reasoning and planning capabilities identify that the demanded information is missing and respond accordingly. Once the user provides the required demand (20 L/s), the AI agent automatically executes a sequence of actions: adding the demand, running the simulation, performing a hydraulic assessment, and identifying pressure violations. In this case, the AI identified 12 nodes with pressure drops exceeding the 10% threshold. It correctly plotted the HGL profiles for both base and future scenarios at the peak demand time and identified the correct augmentation: upsizing approximately 196 m of DN100 ductile iron pipe (internal diameter 113 mm) to DN150 (internal diameter 160 mm). This result well matches the outcome of an independent assessment by a hydraulic engineer. It is noted that one of the most common reasons a system requires augmentation is excessive pressure drop caused by additional demand. Changes in minimum HGL, which is computed as ground elevation (unchanged with the increased demand) plus system pressure, and the related magnitude of headloss gradient (metres of pressure loss over the length of the pipe) indicate where the system no longer meets performance criteria and which pipes would benefit most from a diameter upsize. Increasing pipe diameter would lower flow velocity and frictional losses, thereby improving minimum service pressure at downstream nodes. Although maintaining minimum pressure is a key operational constraint, the practical output of the assessment is the required pipe augmentation (e.g., upgraded diameter and length), from which cost estimates can be derived and communicated to developers.

Figure 3. Case study 1: Demonstration of the AI agent responding to a land-division request.

Case study 2: This second example demonstrates the agent’s role in handling field data. We provided the agent with the logger number of a pressure device and a defined time range and instructed it to download the data and compare the results with the model at a node corresponding to the logger site. As seen in Figure 4, the agent was able to retrieve and save the logger data into a specified location. In addition, the agent was also able to generate both visual and statistical comparisons between the observed data and the simulated pressure at the requested node.

Figure 4. Case study 2: Demonstration of the AI agent downloading and comparing data.

Further exploration in natural language prompts, such as asking the AI agent to execute individual tasks (e.g., adding demand at a different node, running a simulation, or plotting a hydraulic profile at a specified time), was implemented. In all cases, the agent responded accurately, highlighting the potential of LLM-based automation for WDS planning and design.

Conclusions

The application of generative AI has the potential to transform WDS planning and design by enabling automation in hydraulic model simulations and performance assessments. This is not intended to replace human expertise, rather a tool that can help save time, assist workflow scaling, improve consistency and enable engineers to focus on higher-level decision-making. The function-calling mechanism significantly enhances the capabilities of large language models, allowing them to deliver complicated, accurate outputs while interacting with external tools and data sources and is adaptable to meet the water utility’s criteria. Unlike other AI approaches that rely on statistical features or patterns from historical data, the effectiveness of this approach relies on the development of user-defined functions, which require domain-specific knowledge to ensure accurate analyses. While this work demonstrated some of the potential of generative AI in WDS applications, further work is required to quantify the benefits of using this approach on a large scale, its limitations and its potential benefits of analysing multiple scenarios to improve decision-making under uncertainty.

Open peer review

To view the open peer review materials for this article, please visit http://doi.org/10.1017/wat.2025.10012.

Data availability statement

The code and data presented in this study are available on GitHub: https://github.com/NhuDoADL/HydraulicGPT.

Author contribution

N.D., P.H: Conceptualisation, N.D., AM: methodology, writing; A.M, P.H: review, project administration. All authors have read and agreed to the published version of the manuscript.

Competing interests

The authors declare none.

Use of artificial intelligence (AI) tools

For this research, the “gpt-4o-mini-2024-2107-18” module from OpenAI via the OpenAI application programming interface was used in the Python code to demonstrate the integration of a Large Language model with hydraulic simulation tools.

References

Bonilla, CA, Zanfei, A, Brentan, B, Montalvo, I and Izquierdo, J (2022) A digital twin of a water distribution system by using graph convolutional networks for pump speed-based state estimation. Water 14(4), 514.Google Scholar
Do, N (2017) Genetic Algorithms and Particle Filtering for Calibrating Water Demands and Locating Partially Closed Valves in Water Distribution Systems, PhD thesis. Available at http://hdl.handle.net/2440/121936.Google Scholar
Fletcher, SM, Miotti, M, Swaminathan, J, Klemun, MM, Strzepek, K and Siddiqi, A (2017) Water supply infrastructure planning: Decision-making framework to classify multiple uncertainties and evaluate flexible design. Journal of Water Resources Planning and Management 143 (10). 04017061-1: 04017061-9.Google Scholar
Hao, S, Gu, Y, Ma, H, Hong, JJ, Wang, Z, Wang, DZ and Hu, Z (2023) Reasoning with language model is planning with world model. Preprint, arXiv:2305.14992.Google Scholar
Huang, W, Xia, F, Xiao, T, Chan, H, Liang, J, Florence, P, Zeng, A, Tompson, J, Mordatch, I, Chebotar, Y and Sermanet, P (2022) Inner monologue: Embodied reasoning through planning with language models. Preprint, arXiv:2207.05608, DOI: https://doi.org/10.48550/arXiv.2207.05608Google Scholar
Kerimov, B, Taormina, R and Tscheikner-Gratl, F (2024) Towards transferable metamodels for water distribution systems with edge-based graph neural networks. Water Research 261, 121933.Google Scholar
Kim, S, Moon, S, Tabrizi, R, Lee, N, Mahoney, MW, Keutzer, K and Gholami, A (2024) An LLM compiler for parallel function calling. Preprint, arXiv:2312.04511, DOI: https://doi.org/10.48550/arXiv.2312.04511Google Scholar
Klise, KA, Bynum, M, Moriarty, D and Murray, R (2017) A software framework for assessing the resilience of drinking water systems to disasters with an example earthquake case study. Environmental Modelling and Software 95, 420431. https://doi.org/10.1016/j.envsoft.2017.06.022.Google Scholar
Rossman, LA (2000) EPANET2.” EPA/600/R- 00/057, Water Supply and Water Resources Division, National Risk Management Research Laboratory, Office of Research and Development. Cincinnati: U.S. EPA.Google Scholar
Sela, L, Sowby, RB, Salomons, E and Housh, M (2025) Making waves: The potential of generative AI in water utility operations. Water Research 272, 122935.Google Scholar
Truong, H, Tello, A, Lazovik, A and Degeler, V (2024) Graph neural networks for pressure estimation in water distribution systems. Water Resources Research 60(7). DOI: 10.1029/2023WR036741Google Scholar
United Nations Economic Commission for Europe (2021) #Housing2030 Effective policies for affordable housing in the UNECE region, United Nations publication. Available at https://www.un-ilibrary.org/content/books/9789214030485/read.Google Scholar
Walski, TM (2015) Real-world considerations in water distribution system design. Journal of Water Resources Planning and Management 141(9). 02515002-1:02515002-4.Google Scholar
Wang, M, Zhang, Y, Peng, C, Chen, Y, Zhou, W, Gu, J, Zhuang, C, Guo, R, Yu, B, Wang, W and Zhao, X, 2025. Function calling in large language models: Industrial practices, challenges, and future directions. Available at: https://openreview.net/pdf/d01d50e27f7636724789f2aad6f4ac378749a0e1.pdfGoogle Scholar
Ye, J, Do, NC, Zeng, W and Lambert, M (2022) Physics-informed neural networks for hydraulic transient analysis in pipeline systems. Water Research 221, 118828.Google Scholar
Ye, J, Zeng, W, Do, NC and Lambert, M (2024) Reconstructing transient pressures in pipe networks from local observations by using physics-informed neural networks. Water Research 257, 121648.Google Scholar
Figure 0

Figure 1. Conceptual framework of the Gen AI-based hydraulic agent.

Figure 1

Table 1. Example of a function collection enabling WDS planning and design tasks in the AI hydraulic agent

Figure 2

Figure 2. Hydraulic network model and development location in Case study 1.

Figure 3

Figure 3. Case study 1: Demonstration of the AI agent responding to a land-division request.

Figure 4

Figure 4. Case study 2: Demonstration of the AI agent downloading and comparing data.

Author comment: Accelerating water distribution systems planning and design with generative artificial intelligence models — R0/PR1

Comments

Dear Editor,

Please find attached the manuscript ‘Accelerating Water Distribution Systems Planning and Design with Generative Artificial Intelligence Models’ by Nhu Cuong Do, Angela Marchi and Patrick Hayde, which we would like to be considered for publication in Cambridge Prism: Water as a Rapid Communication article.

Housing affordability is one of the key aspects required for sustainable development and society. However, the timely delivery of new homes is often constrained by the need to upgrade and expand essential infrastructure. For water utilities, responses to growth typically involve intensive hydraulic analysis to assess water distribution systems capacity, identify upgrade needs, and evaluate options for system extensions. This process becomes significantly complex and resource-intensive under high growth conditions.

Our paper addresses this challenge by presenting an innovative concept that integrates generative artificial intelligence with hydraulic models to form an AI agent supporting water distribution system planning and design tasks. Specifically, our approach leverages recent advances in large language models, including “reasoning” and “function calling” features, within a framework suitable for operational deployment in utility environments.

We demonstrate this concept with a real-world case study from South Australia Corporation, showing that the AI agent efficiently analyses development requests, triggers hydraulic simulations, and recommends augmentations. This framework significantly reduces manual workload while maintaining engineering and water utility standards.

We believe this framework offers immediate benefits for water utilities and provides a pathway toward more sustainable and scalable infrastructure planning.

Thank you for considering our work. We look forward to the opportunity to contribute to Cambridge Prism: Water and to the broader discussion on the future of AI in water engineering and infrastructure planning.

Kind regards,

Nhu Do

Review: Accelerating water distribution systems planning and design with generative artificial intelligence models — R0/PR2

Conflict of interest statement

Reviewer declares none.

Comments

This is a good and practical piece of work. My comments are as follows:

• The paper presents only one case study. Is this sufficient for publication? The authors may consider adding more content or additional case studies to strengthen the work.

• Is there a way to evaluate the advantages of using Gen-AI? It would be useful to compare with a domain expert.

• In practice, one could use publicly available Gen-AI tools to generate functions and then execute the code locally. This process seems more flexible and avoids feeding sensitive WDS information into external systems. The authors should clarify whether their method provides a distinct advantage over this process.

• There is at least one reference mentioned but not cited (line 73). Please check and ensure that all citations are properly included.

Review: Accelerating water distribution systems planning and design with generative artificial intelligence models — R0/PR3

Conflict of interest statement

Reviewer declares none.

Comments

The topic is highly relevant, and the authors have conducted strong research. The abstract is well written and clearly articulates the practical innovation introduced through the use of Generative Artificial Intelligence (GenAI). However, the introduction would benefit from revision. The authors should more explicitly highlight the gap in existing water distribution system planning approaches and clearly justify the suitability of GenAI for managing complex, multi-scenario generative design frameworks.

The methodology section, particularly the component involving the Hydraulic Grade Line (HGL) as an optimization criterion and performance indicator, should be expanded to enhance transparency and reproducibility. Additionally, all abbreviations should be defined upon their first appearance in the manuscript. The authors are also encouraged to discuss the influence of other key hydraulic parameters, such as pressure, when pipe diameters are increased, rather than focusing solely on pipe size.

Recommendation: Accelerating water distribution systems planning and design with generative artificial intelligence models — R0/PR4

Comments

Thank you for submitting your paper. Please address the reviewers’ comments by clearly highlighting the research gap and justifying the use of Generative AI in your introduction, expanding the methodology with more detail on the Hydraulic Grade Line and defining all abbreviations, and discussing additional hydraulic parameters like pressure. We also encourage you to strengthen the paper with additional case studies or content, evaluate GenAI’s advantages compared to domain experts, clarify how your method compares with existing GenAI workflows, and correct any referencing issues.

Decision: Accelerating water distribution systems planning and design with generative artificial intelligence models — R0/PR5

Comments

No accompanying comment.

Author comment: Accelerating water distribution systems planning and design with generative artificial intelligence models — R1/PR6

Comments

No accompanying comment.

Recommendation: Accelerating water distribution systems planning and design with generative artificial intelligence models — R1/PR7

Comments

The manuscript may be accepted for publication. The authors have responded constructively to all reviewer comments, made substantive revisions including an additional case study and methodological clarifications, and adequately improved the introduction, conclusions, references, and definitions of abbreviations, thereby addressing the concerns raised during peer review.

Decision: Accelerating water distribution systems planning and design with generative artificial intelligence models — R1/PR8

Comments

No accompanying comment.