Next Article in Journal
Constructing Cyber Resilience: A Focus on Cybersecurity Measures in the South African Construction Sector
Previous Article in Journal
A Meta-Analysis of Adopters and Non-Adopters of Rooftop Photovoltaics in Indonesian Households
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Monolithic and Decomposition Methods for Optimal Scheduling of Dynamically Adaptive Water Networks †

Department of Civil and Environmental Engineering, Imperial College London, London SW7 2BU, UK
*
Author to whom correspondence should be addressed.
Presented at the 3rd International Joint Conference on Water Distribution Systems Analysis & Computing and Control for the Water Industry (WDSA/CCWI 2024), Ferrara, Italy, 1–4 July 2024.
Eng. Proc. 2024, 69(1), 191; https://doi.org/10.3390/engproc2024069191
Published: 14 October 2024

Abstract

:
This paper presents an optimal scheduling problem for coordinating pressure and self-cleaning operations in dynamically adaptive water networks. Our problem imposes a set of time-coupling constraints to manage pressure variations during the transition between operational modes. Solving this time-coupled, nonlinear optimization problem poses challenges for off-the-shelf nonlinear solvers due to its high memory demands. We compare the performance of a decomposition method using the alternating direction method of multipliers (ADMM) with a gradient-based sequential convex programming (SCP) monolithic solver. Solution quality and computational efficiency are evaluated using a model of a large-scale network in the UK.

1. Introduction

We recently proposed an optimal scheduling problem for coordinating pressure and water quality operations in dynamically adaptive water networks [1]. The problem integrates pressure management with an operational mode designed to maximize the number of pipes with self-cleaning flow velocities. Such self-cleaning conditions aim to reduce discoloration risk in the network, a key priority for water utilities. To achieve these objectives, we consider the control of two hydraulic actuators: pressure control valves (PCVs) and automatic flushing valves (AFVs). Furthermore, time-coupling constraints manage temporal pressure variations during the transition between control modes.
The resulting time-coupled, nonlinear optimization problem poses challenges for off-the-shelf nonlinear solvers (e.g., IPOPT [2]) due to high memory demands handling the dense Hessian matrices. We address this issue by decomposing the monolithic problem into smaller, independent subproblems and coordinating their solutions using the alternating direction method of multipliers (ADMM) [3]. Although ADMM yielded good-quality feasible solutions, our previous work lacked a performance comparison with other monolithic solution methods. In this paper, we compare ADMM with a gradient-based sequential convex programming (SCP) solver [4] using a large-scale network in the UK.

2. Problem Formulation

We model a water network comprising n p links, n n junctions, and n 0 source nodes. Let T = { 1 , ,   n t } be a set of discrete model time steps. For each time step t T , vectors of flow q t n p and head h t n n are governed by steady-state energy and mass conservation equations. The vector of decision variables u t n v + n f models local losses across n v PCV links and flushing demands at n f AFV nodes. Lower and upper bounds define the feasible solution space for continuous variables q t , h t , and u t . These hydraulic constraints are collected by the set X t for all t T . Lastly, we impose time-coupling constraints via the set X ¯ = { h [ { h t } t T ] T   |   max t T ( h i , t ) min t T ( h i , t ) δ ,   i N } , where N = { 1 , ,   n n } is the set of model nodes and δ is a user-defined pressure range tolerance.
For each time step t T , the objective function either minimizes average zone pressure (AZP) or maximizes self-cleaning capacity (SCC) [1]. We consider AZP as the primary objective due to the continuous nature of background leakage, while SCC serves as the secondary objective, activated within a predefined 1-h window in the daily scheduling horizon (i.e., T SCC T ). Let x t [ q t T ,   h t T ,   u t T ] T and x [ { x t } t T ] T . The AZP-SCC scheduling problem is formulated in compact form as
minimize   t T f t ( x t )
subject   to   x t X t ,       t T
H x X ¯ ,
where f t = f SCC if t T SCC and f t = f AZP otherwise; and H is a constant matrix defined such that H x = h . The reader is referred to previous work [1] for details on the formulation of f SCC and f AZP . Problem (1) is a nonconvex, nonlinear programming problem.

3. Solution Methods

3.1. Alternating Direction Method of Multipliers (ADMM)

We introduce a global copy of head variables h ¯ n n × n t and consensus constraint H x h ¯ = 0 . Problem (1) is then reformulated as
minimize   t T f t ( x t )
subject   to   H x h ¯ = 0 ,
x t X t ,       t T
h ¯ X ¯ .
Let L ( x , h ¯ , y ; ρ ) be the augmented Lagrangian of Problem 2, where y n n × n t is an array of dual variables associated with constraint H x h ¯ = 0 and ρ > 0 is a fixed penalty parameter. Given a feasible starting point ( x 1 , h ¯ 1 ) X X ¯ , ADMM minimizes Problem (2) by performing the following sequence of steps at each iteration k [3]:
x t k + 1 argmin   x t L t ( x t ,   h ¯ t k , y t k ) ,       t T
h ¯ k + 1 argmin   h ¯ L ( x k + 1 , h ¯ , y k )
y k + 1 y k + ρ ( H x k + 1 h ¯ k + 1 ) .
A main benefit of ADMM is that Subproblem (3) can be parallelized across time steps t T . The algorithm terminates if primal residual H x k + 1 h ¯ k + 1 2 ϵ , where ϵ > 0 .

3.2. Sequential Convex Programming (SCP)

We implement a tailored SCP solver using gradient-based optimization and a strictly feasible line search strategy. Given a feasible starting point x 1 X X ¯ , SCP solves a sequence of convex subproblems, formed by linearizing nonlinear terms in the objective function f ( ) and hydraulic constraints X around the current iterate x k . The subproblem computes valve settings u k + 1 to form the search direction d u k = u k + 1 u k at iteration k . The following line search is then carried out with initial step size α = 1 [4]:
  • Evaluate objective function f k + 1 = t T f t ( q t k + 1 , h t k + 1 , u t k + α d u t k ) , where q t k + 1 ,   h t k + 1 are computed using a hydraulic solver (e.g., EPANET) for all t T .
  • If f k + 1 < f k and x k + 1 X X ¯ , then u k + 1 = u k + α d u k and k k + 1 ; else set α = α / 2 and repeat step 1.
This line search strategy guarantees both feasibility and a reduction in objective function. The algorithm terminates when ( f k f k + 1 ) / f k ϵ , where ϵ > 0 .

4. Numerical Experiments and Discussion

We evaluate ADMM and SCP using the Bristol Water Field Lab network (BWFLnet) model [4] (Figure 1). BWFLnet comprises n p = 2816 links, n n = 2745 junction nodes, and n 0 = 2 reservoir (inlet) nodes. Control actuators include n v = 3 PCV links and n f = 4 AFV nodes. Here, we optimize their operational settings u t for each 15-min time step t in the 24-h scheduling horizon T = { 1 , ,   96 } . We assume that the SCC mode is activated during the peak demand period, defined by T SCC = { 38 , ,   42 }   T . Additionally, we consider tolerances δ = { 20 ,   15 ,   10 } (in meters) to define time-coupling constraints X ¯ .
Numerical experiments were performed in Julia 1.9.3 with optimization solvers accessed via JuMP 1.12.0 [5]. We solved nonlinear programs using IPOPT [2] and linear programs using Gurobi 10.0.2. Moreover, we set termination tolerances ϵ = 10 2 and ϵ = 10 3 for ADMM and SCP algorithms, respectively, and ADMM penalty parameter ρ = 10 2 . Table 1 compares objective values and computational (CPU) times using ADMM and SCP to solve Problem (1) with varying δ tolerances.
The solution qualities achieved by ADMM and SCP are comparable, and both have CPU times suitable for near real-time (i.e., hourly) control applications. However, ADMM demonstrates a clear computational advantage owing to its use of distributed computing across subproblems, potentially offering better scalability for larger problems.
Figure 2 illustrates the trade-off between pressure range and AZP-SCC objectives across the scheduling horizon. For AZP, this trade-off is evident for pressure range tolerances δ 15   m , which coincides with hydraulic conditions for the no control experiment. On the other hand, SCC performance progressively declines as δ tolerances decrease. Fast solution methods like ADMM and SCP allow network operators to effectively balance this trade-off between AZP-SCC objective and network dynamics in near real-time.

Author Contributions

Methodology, B.J. and A.-J.U.; software, B.J.; writing—original draft preparation, B.J.; writing—review and editing, A.-J.U. and I.S.; funding acquisition, I.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Imperial College London, Bristol Water Plc, Analytical Technology, and the Natural Sciences and Engineering Research Council of Canada (PGSD-577767-2023).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The code prepared for this study is openly available at https://github.com/bradleywjenks/wdn_control_admm.git.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Jenks, B.; Ulusoy, A.-J.; Pecci, F.; Stoianov, I. Distributed nonconvex optimization for control of water networks with time-coupling constraints. arXiv 2023. [Google Scholar] [CrossRef]
  2. Wächter, A.; Biegler, L.T. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Math. Program. 2006, 106, 25–57. [Google Scholar] [CrossRef]
  3. Boyd, S.; Parikh, N.; Chu, E.; Peleato, B.; Eckstein, J. Distributed optimization and statistical learning via the alternating direction method of multipliers. Found. Trends® Mach. Learn. 2010, 3, 1–122. [Google Scholar] [CrossRef]
  4. Wright, R.; Abraham, E.; Parpas, P.; Stoianov, I. Control of water distribution networks with dynamic DMA topology using strictly feasible sequential convex programming. Water Resour. Res. 2015, 51, 9925–9941. [Google Scholar] [CrossRef]
  5. Dunning, I.; Huchette, J.; Lubin, M. JuMP: A Modeling Language for Mathematical Optimization. SIAM Rev. 2017, 59, 295–320. [Google Scholar] [CrossRef]
Figure 1. BWFLnet layout and control actuator placement.
Figure 1. BWFLnet layout and control actuator placement.
Engproc 69 00191 g001
Figure 2. (a) AZP and (b) SCC objectives values across scheduling horizon T ; (c) distribution of nodal pressure range for each experiment.
Figure 2. (a) AZP and (b) SCC objectives values across scheduling horizon T ; (c) distribution of nodal pressure range for each experiment.
Engproc 69 00191 g002
Table 1. Results comparison of ADMM and SCP solution methods.
Table 1. Results comparison of ADMM and SCP solution methods.
ExperimentMethodObjective ValueCPU Time [s]
δ = *ADMM285961.9
SCP2869846
δ = 20   m ADMM2875644
SCP2928901
δ = 15   m ADMM3060487
SCP3087851
δ = 10   m ADMM3287472
SCP3279738
* δ = corresponds to the unconstrained pressure variation case (i.e., X ¯ = R ).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Jenks, B.; Ulusoy, A.-J.; Stoianov, I. Monolithic and Decomposition Methods for Optimal Scheduling of Dynamically Adaptive Water Networks. Eng. Proc. 2024, 69, 191. https://doi.org/10.3390/engproc2024069191

AMA Style

Jenks B, Ulusoy A-J, Stoianov I. Monolithic and Decomposition Methods for Optimal Scheduling of Dynamically Adaptive Water Networks. Engineering Proceedings. 2024; 69(1):191. https://doi.org/10.3390/engproc2024069191

Chicago/Turabian Style

Jenks, Bradley, Aly-Joy Ulusoy, and Ivan Stoianov. 2024. "Monolithic and Decomposition Methods for Optimal Scheduling of Dynamically Adaptive Water Networks" Engineering Proceedings 69, no. 1: 191. https://doi.org/10.3390/engproc2024069191

APA Style

Jenks, B., Ulusoy, A.-J., & Stoianov, I. (2024). Monolithic and Decomposition Methods for Optimal Scheduling of Dynamically Adaptive Water Networks. Engineering Proceedings, 69(1), 191. https://doi.org/10.3390/engproc2024069191

Article Metrics

Back to TopTop