Next Article in Journal
Review on Security Range Perception Methods and Path-Planning Techniques for Substation Mobile Robots
Previous Article in Journal
Enhancing the Carbon Reduction Potential in Ridesplitting through Evolutionary Game Strategies of Tripartite Stakeholders under Carbon-Inclusive Policy
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Binary Expansion Approach for the Water Pump Scheduling Problem in Large and High-Altitude Water Supply Systems

by
Denise Cariaga
1,2,*,
Álvaro Lorca
1,3,† and
Miguel F. Anjos
2,4,†
1
Department of Industrial and Systems Engineering, Pontificia Universidad Católica de Chile, Santiago 7820436, Chile
2
School of Mathematics, The University of Edinburgh, Edinburgh EH9 3FD, UK
3
Department of Electrical Engineering, Pontificia Universidad Católica de Chile, Santiago 7820436, Chile
4
GERAD, HEC Montreal, Montreal, QC H3T 1N8, Canada
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Energies 2024, 17(16), 4107; https://doi.org/10.3390/en17164107
Submission received: 17 July 2024 / Revised: 14 August 2024 / Accepted: 15 August 2024 / Published: 18 August 2024
(This article belongs to the Section A3: Wind, Wave and Tidal Energy)

Abstract

:
The water pump scheduling problem is an optimisation model that determines which water pumps will be turned on or off at each time period over a given time horizon for a given water supply system. This problem has received considerable attention in mining and desalination due to the high power consumption of water pumps and desalination plants and the complicated dynamics of water flows and the power market. Motivated by this, in this paper we solve the optimal operation of a desalinated water supply system consisting of interconnected tanks and pumps that transport water to high-altitude reservoirs. The optimisation of this process encounters several difficulties arising from (i) the nonlinearities of the equations for the frictional losses along the pipes and pumps, which makes the problem a nonlinear mixed-integer model, and (ii) many possible combinations of pressure head and flow rates, which quickly leads to high computational costs. These limitations prevent the problem from being solved in a reasonable computational time in high-altitude water supply systems with more than six pumps and reservoirs, as in many networks worldwide. Therefore, in this work we develop new exact methods for the optimal pump scheduling problem that use a binary expansion approach to efficiently account for the existing nonlinearities by reducing the computational difficulties of the original problem while keeping an excellent representation of the physical phenomena involved. We also extensively tested the proposed approach in different network topologies and a case study for a real-world copper mine water network, and we conclude that the binary expansion approach significantly reduces the computational time for solving the problem with high precision, which can be very relevant for the practical daily operation of real-world water supply systems.

1. Introduction

The optimal operation of water and energy networks is a relevant problem worldwide because it allows entities to plan better and ensure the reliability of both networks. For the water network, the operation consists of determining which water pumps will be turned on or off in each period, depending on the dynamics of electricity tariffs. Therefore, the goal is to minimise the total cost of the water supply system (WSS) while meeting the water constraints and water demands at each node. In areas with severe droughts, desalination has become a solution to supply water to communities and industries such as mining, with the optimal operation of the WSSs being crucial to provide water to the region at reasonable prices. This is particularly important if the water demand nodes are located at high altitudes, such as is the case of many mining companies around the world, and particularly in Chile [1,2], because the pumping process is energy-intensive, increasing by approximately USD 0.5/m3 with every 500 m of altitude. Additionally, at an altitude of 4000 m, desalinated water costs USD 4/m3 compared to spring water at USD 0.4/m3 in some locations [3].
Furthermore, energy costs are a significant operating expense for water utilities, with approximately 4% of the electricity used in the United States being attributed to the operation of potable water and wastewater networks [4]. In California, 19% of the state’s electricity consumption is for pumping, treating, collecting, and discharging water and wastewater [5]. Therefore, optimising the operation of water networks not only offers economic benefits but also helps to reduce unnecessary use of resources and minimise the ecological impact of pollution and greenhouse gas emissions [6].
On the other hand, multiple countries have committed to achieving carbon neutrality by 2050 in the 2015 Paris Agreement for Climate Action, which means renewable energies will replace carbon-fuelled energies in the short term [7]. However, renewable energies compromise the continuity and resilience of the electrical system due to their weather dependency, so planning has become a key element in preventing shortages. Furthermore, climate change has produced severe droughts in regions where it used to rain more frequently, weakening the water supply for hydropower, crops, industry, and human consumption.
We found inspiration in the pump scheduling problem for high-altitude WSSs, particularly the cases emerging from Chilean mining through its water supply systems that provide desalinated water to each mining site. Nowadays, this industry faces a severe drought [8,9], and the location of the mining operations accentuates this phenomenon since they are typically found at high altitudes, between 600 and 4000 m above sea level [10]. In addition, due to legal and environmental restrictions that protect aquifers and national reserves, the option of extracting continental water is being increasingly reduced. In 2019, 16% of the water used in the mining industry came from the sea, and it is expected that by 2030 this will increase to 47%. Thus, according to [1], the desalinated water pump would be the second most electricity-intensive process in copper mining, with 10% of the industry’s total. In addition, in the Escondida mining company’s case, the impulsion system’s energy requirement is four times greater than that of the desalination plant [1].
The water pump scheduling problem is hard to solve due to its non-deterministic polynomial-time-hard (NP-Hard) nature [11], leading to high computational times. This is mainly due to (i) the nonlinearities of the energy loss equations along pipes and pumps and the power used by pumps and (ii) many possible combinations of head pressure and flow [12,13]. Under this context, a challenge arises for finding a faster way to optimise the WSS scheduling while minimising the system’s total costs. Therefore, the main goal is in developing new optimisation models for the operations of water supply systems, finding optimal strategies to reduce systemic costs, and ensuring the water network’s reliability and resilience.
Since the 1970s, researchers have addressed various problems in water networks, including reliability [14], network expansion [15,16], pipe sizing [17], and network operations [18,19]. Optimal pump scheduling has gained attention in recent years due to the increasingly complex electricity tariff schemes and because the operating costs of pumps constitute the most significant expenditure for water organisations globally [20]. Energy utilities are providing incentives by offering cheaper electricity at low demand periods. This problem has become particularly relevant due to the use of renewable energy sources, which are often weather-dependent and may not guarantee the continuity and resilience of the electrical system.
In the past, optimal operation techniques for water distribution systems (WDSs) primarily relied on deterministic methods such as dynamic programming (DP) [21,22,23], hierarchical control methods [24,25,26,27], linear programming (LP) [28,29], and nonlinear programming (NLP) [30]. However, since the 1990s, metaheuristic algorithms like genetic algorithms (GAs) and simulated annealing (SA) have gained popularity due to their ability to solve nonlinear, nonconvex, and discrete problems that are difficult for deterministic methods [31,32], but they do not ensure a global optimum since they are heuristics, i.e., not exact methods. Nevertheless, deterministic methods are now reemerging because they are more computationally efficient, making them more suitable for real-time control and other applications [33]. There is also commercial software being used to optimise the water flows in water networks, like Derceto Aquadapt [34] and EPANET [35]; however, they do not integrate the switching of the water pump to minimise the total operational costs.
Refs. [12,36] summarise the mathematical model for designing and operating a water network described in Section 2. The basic model is a nonlinear network flow problem with complicated hydraulic constraints. The goal is to operate pumps, which affect the flow and pressure of the water network. This problem is NP-hard due to its nonlinearities and nonconvexities. First, the nonlinearities are present in the relationship of the pump’s pressure head with the flow and in the relation between pressure head loss and flow in pipes. Second, the nonconvexities are present in the changing flow paths in pipes and tanks and in the different discrete choices of pumps to run at a given time of the day [12,37].
The water pump scheduling problem is typically planned over a day-ahead horizon, divided into 24 h periods. This discretisation of time is a practical approach to reduce the computational costs of the scheduling problem. Additionally, demand forecasts and electricity price tariffs are usually provided in discrete time rather than in continuous time, which further supports this approach [38].
The water pump scheduling problem is a nonlinear global optimisation problem, and solving such problems is an NP-hard task [39]. One way to do so is to use spatial branch and bound algorithms. Integrating spatial branching for NLPs and mixed integer branching techniques for mixed integer linear problems (MILPs) opens the possibility of developing general-purpose algorithms that can, in principle, solve nonconvex mixed integer nonlinear problems (MINLPs) to global optimality [12,40]. The basic idea of such an algorithm is to divide the problem into subproblems iteratively and to solve (usually linear) relaxations of these. Subproblems are divided by branching on integer variables and branching on continuous ones.
In a subproblem of the branching tree, the continuous domain of some nonlinear function is divided at a certain breakpoint into two smaller domains, thus creating two new subproblems. Provided the relaxation of a nonlinear constraint becomes tighter when the domain of the corresponding nonlinear function is reduced, spatial branching gradually refines the relaxations; see Figure 1 [12]. Branching is continued until, finally, the relaxations are tight enough to provide solutions that are ϵ -feasible for the original problem.
Ref. [12] explains that a way to obtain relaxations of subproblems is to use reformulation techniques to reform all nonlinear functions into some “basic” functions. For these basic functions, linear relaxations are then readily available. The tightness of the relaxations and, thus, the algorithm’s performance are highly dependent on the bounds of the domains of the nonlinearities. This fact makes efficient domain propagation between subproblems essential. Some solvers, like Gurobi, use this approach to solve nonlinear and nonconvex bilinear or quadratic problems [41]. Other solvers like Ipopt and KKT also offer nonlinear solutions; however, they do not support mixed integer problems or do not ensure global optimality if the problem is non-convex. Therefore, they are not used in this case.
Other problems related to WSSs are the design and investment decisions to build them [42] (see Figure 2), analysis of the topological attributes of network resilience [43], the design of water networks under future demand uncertainty [44], demand response using a WSS [45,46,47,48], and operational models for the multi-product pump scheduling problem [49].
Considering the literature reviewed above, this research identifies challenges that remain unsolved in the current state-of-the-art. The following questions summarise these challenges: How can the water pump scheduling problem for large and elevated WSSs be solved in a reasonable time? How can we efficiently represent the nonlinear nonconvex hydraulic equations in the water pump scheduling problem with desalination plants in the context of large and high-altitude water supply systems? How does a dynamic electricity tariff affect the water pump scheduling problem in high-altitude WSSs?
In this work, the main contributions are summarised as follows:
  • We optimised the water pump scheduling problem of high-altitude WSSs with multiple pumps and reservoirs using a discretised hourly time horizon and a dynamic electricity tariff. The high-altitude feature is crucial in our model since we are studying the optimal water pump scheduling for large and high-altitude water supply systems.
  • We propose a novel approach to improve the computational efficiency and allow the solutions of the water pump scheduling problem for high-altitude WSSs: the binary expansion approach. We applied this technique to the complicating hydraulic constraints of the model by partitioning some of their variables into 2 N pieces. The complicating constraints are nonlinear and nonconvex, thus making the problem hard to solve. With the binary expansion approach, we reduce computational times while keeping the optimality gap below 1% for large case studies.
  • We analysed the different models proposed in the literature to solve the water pump scheduling problem and compared them with the proposed approach in a 24 h time horizon. We also studied different WSS topologies and boundary conditions, such as the initial water level in tanks, the altitude of the nodes, the total pipe length, seasonal electricity prices, and comparison with the mining company’s energy and water policies, to study the economic and computational impact of using the binary expansion approach. The WSSs utilised have heights of over 3000 m, and the networks include up to 15 water pumps. Our results show the effectiveness of the proposed approach in solving the problem and further demonstrate how a specific representation of the complicating constraints impacts the computational time of the water network operational model.
The remainder of this paper is organised as follows. Section 2 introduces the WSS operational model and its nonlinearities. Section 3 presents three proposed models, including the binary expansion approach. Following this, in Section 4 we evaluate the performance of the models using different WSS topologies based on the Chilean geography as a case study. Finally, concluding remarks are provided in Section 5.

2. Operational Model for WSSs

This section presents the operational model for the water pump scheduling problem. We introduce the operational constraints for flow, pressure, pipes, pumps, and tanks. Some of the operational equations have a nonlinear and nonconvex nature, so in Section 3 we propose different approaches to handle the computational challenge produced by these constraints.
The decisions of this problem are binary variables that determine the water pump status and continuous variables associated with the water flow in the WSS, the water pump power consumption, and the head pressure in each node. The uncertain nature of this problem is related to the stochastic hydro inflows. Therefore, the main goal of this problem is to find the optimal water pump scheduling as the power prices change over time while minimising the total operational cost of the WSS.
The WSS is formulated as a directed acyclic graph (DAG), G = ( N , A ) , with nodes, N, and arcs, A. Nodes can be categorised as junctions, j J , reservoirs, j R , tanks, j S , or desalination plants, j R O ; that is, N = J R S R O . Arcs can be pipes, a P i , or pumps, a P u ; that is, A = P i P u .
This article’s main distinction between tanks and reservoirs is that tanks allow bidirectional flow, whereas reservoirs model the water supply source (i.e., mine water source). Tanks are normally modelled as nodes, like in this paper, but can also be treated as arcs [36]. The WSS in this paper’s case study works as follows: First, the water is desalinated and then pumped into elevated tanks to continue its way up to meet the demand at different nodes. Taking into account the speed and design of these WSSs, the flow reaches a quasi-stationary status. This model also assumes that the pipes have a soft starter and finish or a frequency converter with a kind of slow slope to ensure a smooth transition of the flow; however, the design of the pipe is not considered in the modelling to simplify the calculation. Thus, there is no need to add partial differential equations to the model, and the following equations model the physical phenomena of the water pump scheduling model for a WSS.
The operational nature of the problem introduces time to the variables and parameters. In principle, time is continuous, t [ 0 , T ] R ; however, for the model tractability it is discretised in t { 1 , , T } periods of length τ { τ 1 , , τ T } . Refs [12,38] point out that the time discretisation has the practical motivation that electricity demand and prices forecast are usually given in discrete and not continuous time. In this paper, the planning horizon is one day, divided into 24 hourly periods.
We made the following assumptions for this model: (i) pump start/stop can be performed instantly without any time delay; (ii) the fluid is considered incompressible, and changes in volume due to flow through pumps and pipelines can be disregarded; (iii) the fluid’s physical properties remain constant, and variations in temperature and pressure are not taken into account. Pressure distribution along the pipeline is calculated assuming a steady-state process, and any effects of fluid transients in the pipeline are neglected.

2.1. Flow and Pressure

2.1.1. Conservation Equations

A positive flow, q i , j , t , on an arc ( i , j ) means that it goes from i to j at time t T , while a negative value of q i , j , t stands for a flow of amount q i , j , t from j to i. It is possible to allow only positive flow values and account for the directions with a binary variable. Since this is a network, the flow conservation constraint applies for each node i N , the difference between the sum of the pipe flows entering and exiting is equal to the water demand d i , t at the node at time t. Assuming that the demand must be satisfied at every time, the linear conservation constraint for every node i that is not a tank S is:
j : ( j , i ) A q i , j , t j : ( i , j ) A q i , j , t d i , t i N S , t T .
Note that, for this problem, for the nodes where desalination plants are, the water flow demand is negative since it is a water input to the network. On the other hand, for mining site nodes, the demand is positive since it corresponds to the water output of the network. Finally, all the nodes in between that are not tanks have either a positive or a zero demand.

2.1.2. Flow Bounds

The absolute value of the flow is bounded due to the capacity of the arcs. This bound depends on the pipe’s cross-sectional area and the maximum linear velocity. Refs. [12,15,42] emphasise that this parameter must not exceed a specific value to avoid a number of potential operating problems, for instance, the flow-assisted corrosion problem. Therefore, taking into account v i , j , t max , for the maximum linear velocity that is allowed in a pipe ( i , j ) at time t, the maximum flow can be written [42] as
q i , j , t max = π 4 v i , j , t , t max D i , j 2 ( i , j ) A , t T .
Then, the flow bounds are:
q i , j , t max q i , j , t q i , j , t max ( i , j ) A , t T ,
where D i , j is the diameter of the pipe ( i , j ) .
Note that, since we are working with a directed graph, the lower bound is zero:
0 q i , j , t q i , j , t max ( i , j ) A , t T .

2.1.3. Pressure

For the hydraulic head, h i , t , i N is the pressure value expressed dimensionally as a length in columns of water (m). In fluid dynamics, the hydraulic head is the total energy per unit weight of fluid and is the sum of the elevation head, Z i , which is the altitude of the node i, H j ¯ , the pressure in the terminal node, j, and the pressure loss, ϕ i , j , t , in the pipeline or pump due to friction. The hydraulic head, h i , t , and pressure loss, ϕ i , j , t , for pipes and pumps are explained in the following section. For the WSSs tested in this work, the pressure in the terminal node H j ¯ is 0 m, under the assumption that every node receiving water has a storage tank exposed to the environment [50].
h j , t h i , t = Z j Z i + H j ¯ + ϕ i , j , t ( i , j ) A , t T .
The hydraulic head must stay between certain bounds to guarantee the nodes’ minimum and maximum pressure levels. Normally, the node potentials are fixed at source nodes, as in the desalination plants in this work, reflecting the fact that, at sources, water is not pressurised, but it exploits a fixed geographical height [12]. For all the other nodes, the lower bounds for the hydraulic head are:
h i , t = Z i i R O , t T ,
h i , t Z i i N R O , t T .
The bounds of the difference of the hydraulic head for pipes, pumps, and tanks are explained in the following sections.

2.2. Pipes

Energy Loss in Pipes

The arcs in a WSS represent pipes in which water is transported from one node to another. In models that do not have stationary status, the flow changes at the beginning and end of a pipe [36]. However, the flow is constant throughout the pipe since we are working with a quasi-stationary network. The fundamental equation for a pipe ( i , j ) is the head-loss equation, also denominated potential-flow coupling constraint in [40], that is regularly of the form
h j , t h i , t = Δ Z i , j + ϕ i , j , t q i , j , t ( i , j ) P i , t T ,
where ϕ i , j , t : R R is a strictly increasing uneven function, concave on the negative half-axis of its domain and convex on the positive half-axis. The flow is not linear in arcs due to the friction modelling in the pipes. A positive flow as a function of the potential difference is strictly increasing but concave: higher flow values mean a higher influence of friction. The other way round, for the same reason, a positive potential loss as a function of the flow is strictly increasing and convex. Equation (7) is also referred to as the potential-loss equation because it describes the pressure loss along a pipe.
Explicit forms of the head-loss equation are called the Darcy–Weisbach equation,
ϕ i , j , t = sign q i , j , t q i , j , t 2 8 L i , j λ i , j π 2 g D i , j 5 ( i , j ) P i , t T ,
or the Hazen–Williams equation,
ϕ i , j , t = sign q i , j , t q i , j , t 1.852 10.7 L i , j k i , j 1.852 D i , j 4.87 ( i , j ) P i , t T .
Both formulations include constants like the gravitational acceleration, g, the pipe length, L i , j , and the pipe material, k i , j , roughness coefficient. The friction factor λ i , j = λ i , j q i , j , t depends on the Reynolds number ( Re ) , which in turn depends on the flow in a nonlinear and continuous manner.
The friction coefficient λ i , j v i , j , t in (8) is determined by the nature of the flow, as characterised by the value of the non-dimensional Reynolds number:
Re i , j , t = D i , j ν v i , j , t = 4 π ν D i , j q i , j , t ( i , j ) P i , t T ,
where ν denotes the kinematic viscosity of water ( ν = 1.32 × 10 6 m2/s for 10 ºC, and ν = 10 6 m2/s for 20 ºC) and v i , j , t is the average water velocity.
For laminar flow ( Re < 2320 ), the friction coefficient depends on the Reynolds number only, according to the law of Hagen–Poiseuille,
1 λ HP = Re λ HP 64 λ HP = 64 Re ( i , j ) P i , t T .
Note that the pressure loss, in this case, grows linearly with the flow rate,
3 Δ h i , j , t ( q i , j , t ) = 64 4 | q i , j , t | π ν D i , j 8 L i , j π 2 g D i , j 5 q i , j , t | q i , j , t | = 128 ν L i , j π g D i , j 4 q i , j , t ( i , j ) P i , t T .
Since the graph studied in this work is directed, i.e., q i , j , t 0 , the sign q i , j , t is set to 1:
h j , t h i , t = Δ Z i , j + 8 L i , j f π 2 g D i , j 5 q i , j , t 2 ( i , j ) P i , t T ,
where f is the Darcy friction factor.
Note that if the final node j is a tank, then Δ Z i , j = Δ Z i , j + h j ¯ includes the tank height.
For future work, additional analysis could be incorporated, such as examining the impact of rust and deposits that may disrupt water flow. This effect could be investigated either as an energy loss due to turbulence within the constraints or by introducing a pipe maintenance cost penalty in the objective function.

2.3. Pumps

In pressurised networks, like the one we are working on in this paper, water flows from points of high to low pressure. Hence, increasing the pressure at certain parts of the network is necessary. For this purpose, pumps are used to raise the pressure inside a water supply network. To represent the status of the pumps, we introduce a binary variable, x i , j , t 0 , 1 , which indicates if pump ( i , j ) P u is active or shut down at time t T . Active pumps increase the hydraulic head by some controlled non-negative amount, as represented by the characteristic pump curve (Figure 3):
h j , t h i , t = α i , j β i , j q i , j , t γ i , j ( i , j ) P u , t T ,
where α i , j > 0 is the maximum possible pressure increase of the pump ( Δ Z i , j ), and β i , j > 0 and γ i , j 1 are pump-specific efficiency parameters [36].

2.3.1. Energy Loss in Pumps

As pumps behave like pipes regarding the energy loss and since the graph studied in this work is a DAG, i.e., q a 0 , and x a { 0 , 1 } indicates the state of the water pump, then the Darcy–Weisback equation and the linear Equation (14) with γ i , j = 1 are:
M ̲ ( 1 x i , j , t ) h j , t h i , t Δ Z i , j 8 L i , j f π 2 g D i , j 5 q i , j , t 2 M ¯ ( 1 x i , j , t ) ( i , j ) P u , t T ,
M ̲ ( 1 x i , j , t ) h j , t h i , t Δ Z i , j β i , j q i , j , t M ¯ ( 1 x i , j , t ) ( i , j ) P u , t T ,
q i , j , t m i n x i , j , t q i , j , t q i , j , t m a x x i , j , t ( i , j ) P u , t T
where f is the Darcy friction factor and M ̲ = h j m i n h i m a x and M ¯ = h j m a x h i m i n [36].
Normally, Equation (15b) is one of the most common approaches used for the pump head loss. It is derived from (14) with the quadratic term γ i , j = 2 . However, the coefficient in front of the quadratic term is usually small and negative [51]. Therefore, as in [48,52], we neglect the quadratic term since its contribution is small compared to the linear term, and we approximate the pump hydraulic function with energy loss as described in (15b).
Note that (16) is the linking constraint between the binary variable x i , j , t and the flow q i , j , t , where if the water pump is shut down, that is x i , j , t = 0 and q i , j , t = 0 , the pressure difference h j h i is arbitrary. The value of q i , j , t m i n > 0 is the minimal relevant non-zero flow. Therefore, a flow of less than q i , j , t m i n implies that the pump is inactive ( x i , j , t = 0 ), and a positive flow of more than q i , j , t m i n makes the pump active ( x i , j , t = 1 ).

2.3.2. Pump Power

For a pump with η being the combined efficiency of the pump and prime mover and ρ being the water density, its power consumption (MINLP) is a function of its head gain and water flow rate in MW:
P i , j , t = ρ g η q i , j , t ( h j , t h i , t ) 10 6 ( i , j ) P u , t T .

2.4. Tanks

Tanks can make the operation of the network more flexible. In a dynamic setting, where the demand at consumer nodes can vary over time, water can be stored in a tank during a period of low demand and extracted from it to satisfy peak demands.
j : ( j , i ) A q i , j , t j : ( i , j ) A q i , j , t = e i , t i S R , t T 1 ,
e i t = 1 τ t h i , t + 1 h i , t A i i S R , t T 1 ,
h i , t Z i + h i ¯ , i S R , t T ,
h i , t Z i + h i ¯ γ i m i n , i R , t T ,
h i , 1 h i , T = Z i + h i ¯ γ i i S
with e i n denoting the variable volumetric tank inflow, A i being the cross-sectional area of the tank, τ t is a time scalar, h i ¯ is the tank height, γ i is the initial and final percentage of the water tank level, and γ i m i n is the minimum water tank level percentage during the operation. Equations (18) and (19) represent the water flow balance in a tank, which depends on its volume. To bound the maximum pressure measure in the altitude of the tanks, and since they do not allow water overflow and they are open, we need Equation (20). Usually, Equation (21) is used to set the minimum water level of a tank or reservoir during the pump scheduling operation, especially if the water operator requires a conservative volume reserved in the tank or reservoir to supply the industry in case of an energy shortage or any event that would stop the water supply for a few hours or days. Industries normally require this constraint because the cost of stopping their operation due to water shortage can cost millions every hour. Finally, Equation (22) is used to set the initial value equal to the previous day’s final.

2.5. Reservoirs

As we explained before, the main difference between tanks and reservoirs is that tanks allow bidirectional flow, whereas reservoirs model the water supply source. Without loss of generality, we assume that reservoirs are infinite sources of water and that the pressure head at each reservoir, r R , is zero; in other words, the total head at the reservoir, r, only represents the elevation head [39]. Normally, reservoirs are fed by natural sources, like rivers or glaciers; therefore, it is assumed that they have an infinite supply. In this work, the “reservoirs” are, in fact, big tanks since they are located next to the mining site and they are only supplied by the desalinated WSS. Hence, they allow bidirectional flow.

2.6. Objective Function

The objective function seeks to minimise the cost of operation and the on/off penalty of the water pumps. Let X be the space of all the optimisation variables of the problem, and T = 25 h to adjust the 24 h cycle; therefore, the objective function is:
f ( X ) = ( i , j ) P u t = 1 T 1 P i , j , t C t + | x i , j , t + 1 x i , j , t | C s ,
where C t is the cost of electricity in having a pump on during time t, and C s is the penalty for a single pump switch. The value of C s is based on recommendations by [20], which consist of iterating over different values of C s and picking one that is reasonable for the electricity prices and that allows the switching of the pumps. This is in case there is no data for the future pumping station maintenance costs.
Note that pump switching can negatively affect a system’s maintenance cost due to the changing loads contributing to fatigue-related failures [45]. Hence, penalising pump switching often reduces this negative impact and accounts for maintenance costs [53,54].
Another way to represent the pump maintenance penalty is by using a quadratic term instead of the absolute value: ( i , j ) P u t = 1 T 1 ( x i , j , t + 1 x i , j , t ) 2 [55]. Both approaches are equivalent and nonlinear; however, the absolute value has fewer added constraints in the exact reformulation, which we explain in the next section.

2.7. Water Pump Scheduling Problem

Therefore, the optimisation model for the water pump scheduling problem is the following:
min ( 23 ) s . t . ( 1 ) , ( 2 ) , ( 4 ) , ( 6 ) , ( 13 ) , ( 15b ) , ( 16 ) , ( 17 ) , ( 18 ) , ( 19 ) , ( 20 ) , ( 21 ) , ( 22 )

3. Alternative Models for the WSS Operation

This section presents three methodologies to handle the nonlinearities present in the original problem, as we explained in Section 2, whose main differences lie in the final nature of the model, linear or nonlinear. We describe the three proposed models: the fixed flow model, the semi-linear model, and the binary expansion approach model. Additionally, we discuss the theoretical and practical advantages and disadvantages of each model, and we compare them using computational experiments in Section 4.

3.1. Reformulation Techniques to Solve the Complicating Constraints

To handle the complicating nonlinear and nonconvex constraints, we consider the following reformulation techniques:
  • Fixing flow to its upper bound: Note that Equations (13) and (15a) can become MILP if the quadratic element q a 2 is replaced with its upper bound ( q a m a x ) 2 . The reason for fixing this value is that almost all the optimal solutions return q a with its maximum value. Therefore, the energy loss constraint for pipes (25) and pumps (26) are:
    h j , t h i t = Δ Z i , j + 8 L i , j f π 2 g D i , j 5 ( q i , j , t m a x ) 2 ( i , j ) P i , t T ,
    M ̲ ( 1 x i , j , t ) h j , t h i , t Δ Z i , j 8 L i , j f π 2 g D i , j 5 ( q i , j , t m a x ) 2 M ¯ ( 1 x i , j , t ) ( i , j ) P u , t T ,
    M ̲ ( 1 x i , j , t ) h j , t h i , t Δ Z i , j β i , j q i , j , t M ¯ ( 1 x i , j , t ) ( i , j ) P u , t T .
    Note that, although (26a) could be used, (26b) is more common for energy loss in pumps. We rewrite (26b); however, it is the same as the original (15b).
  • Reformulating the binary and continuous products: We use an auxiliary variable, z, to linearise z = x · y , where x is binary and y is a continuous variable such that y [ 0 , b ] . The following formulation is applied:
    z y , z x · b , z y + b · ( x 1 ) .
  • Reformulating the absolute value of binary variables: We use an auxiliary variable, w, to linearise w = | x y | , where x and y are binary variables. An analogous expression for w is w = | x y | = max { x y , y x } ; therefore, the following formulation is applied:
    w x y , w y x .
    Note that the reformulation for the quadratic expression for binary variables w = ( x y ) 2 = x 2 x y + y = x 2 z + y , with z = x y , is similar to (27), with b = 1 :
    z y , z x , z y + x 1 ,
    Nevertheless, it adds | P u | × | T | more constraints than the absolute value reformulation (28) for the pump maintenance penalty in the objective function (23).
    Using expression (28) for the pump maintenance penalty in the objective function f ( X ) with B i , j , t = | x i , j , t + 1 x i , j , t | :
    f ( X ) = ( i , j ) P u t = 1 T 1 P i , j , t C t + B i , j , t C s ,
    and adding the constraints:
    B i , j , t x i , j , t + 1 x i , j , t ( i , j ) P u , t { 1 , , T 1 } ,
    B i , j , t ( x i , j , t + 1 x i , j , t ) ( i , j ) P u , t { 1 , , T 1 } ,
  • Binary expansion approach: We discretise a continuous variable, x [ x L B , x U B ] [56,57]:
    x = x L B + x U B x L B 2 N 1 · i = 1 N 2 i 1 · x i ,
    where x i is the binary variable that determines the values of the binary division of x.
    The binary expansion approach for the water flow variable, q i , j , t , is:
    q i , j , t = q i , j , t m a x 2 K 1 l = 1 K 2 l 1 q l , i , j , t ( i , j ) A , t T .
    The same approach can be applied to the product of continuous variables using the binary expansion approach in one of the variables, and the other variable is left as it is. Then, we have the product of a binary and continuous variable; therefore, we can apply (27). Therefore, to linearise the bilinear product x · y , we define the variable z i = x i · y , and use (27) with a Big M:
    x · y = x L B · y + x U B x L B 2 N 1 i = 1 N 2 i 1 z i ,  
    0 y z i M 1 x i i N ,
    0 z i M x i i N .
    Applying the reformulation to the energy loss constraint in pipes (13) using z k , i , j , t = q k , i , j , t · q i , j , t , with q k , i , j , t being the binary variable for the partition of q i , j , t and q L B = 0 , M = q U B = q i , j , t m a x , and (33), then the energy loss in pipes is:
    h j , t h i , t = Δ Z i , j + 8 L i , j f π 2 g q i , j , t m a x 2 K 1 k = 1 K 2 k 1 z k , i , j , t ( i , j ) P i , t T ,
    0 q i , j , t m a x 2 K 1 l = 1 K 2 l 1 q l , i , j , t z k , i , j , t q i , j , t m a x 1 q k , i , j , t k N , ( i , j ) P i , t T ,
    0 z k , i , j , t q i , j , t m a x q k , i , j , t k N , ( i , j ) P i , t T ,
    Similarly, as in (32), we apply the binary expansion approach to the linear energy loss constraint in pumps (15b), and in all the other constraints that have q i , j , t , using (33):
    M ̲ ( 1 x i , j , t ) h j , t h i , t Δ Z i , j β i , j q i , j , t m a x 2 K 1 l = 1 K 2 l 1 q l , i , j , t M ¯ ( 1 x i , j , t ) ( i , j ) P u , t T
    We also apply the binary expansion approach (34) to the pump power constraint (17) using p k , i , j , t = q k , i , j , t ( h j , t h i , t ) and q L B = 0 , q U B = q i , j , t m a x , and M = max { Z i , Z j } :
    P i , j , t = ρ g η q i , j , t m a x 2 N 1 k = 1 N 2 k 1 p k , i , j , t 10 6 ( i , j ) P i , t T ,
    0 h j , t h i , t p k , i , j , t max { Z i , Z j } 1 q k , i , j , t k N , ( i , j ) P i , t T ,
    0 p k , i , j , t max { Z i , Z j } q k , i , j , t k N , ( i , j ) P i , t T .

3.2. Alternative Models

We proposed three alternatives for the original water pump scheduling problem (24) to analyse the computational effectiveness of the binary expansion approach method compared to other classic approaches. The first approach is the fixed flow (FF), which fixes the water flow value in the energy loss complicated equation. The second approach is the semi-linear (SL) model, which linearises the binary and continuous products in the problem’s constraints. The third alternative is the binary expansion approach (BEA), which linearises the binary and continuous products and the complicating variables of water flow and pump power.
Model 1: FF (MINLP) The fixed flow model (FF) considers a fixed value for q i , j , t = q i , j , t m a x in (25). The approach is an upper bound for the original problem: the flow passing through the pipes is the maximum. This approach approximates the nonlinear and nonconvex constraints for the pipes’ energy loss equations. This model is still MINLP because of the bilinear term in the pump power constraint. The optimisation model is:
min ( 30 ) s . t . ( 1 ) , ( 2 ) , ( 4 ) , ( 6 ) , ( 25 ) , ( 15b ) , ( 16 ) , ( 17 ) , ( 18 ) , ( 19 ) , ( 20 ) , ( 21 ) , ( 22 ) , ( 31 )
Model 2: SL (MINLP) The semi-linear model (SL) only linearises the binary and continuous products using the (27) technique in (23), but leaves the pump power constraint bilinear and the energy loss equation in pipes quadratic. This method removes the complexity derived from the binary product in the problem’s constraints. This model is still MINLP because of the bilinear term in the pump power constraint and the quadratic water flow in the energy loss equation. The optimisation model is:
min ( 30 ) s . t . ( 1 ) , ( 2 ) , ( 4 ) , ( 6 ) , ( 13 ) , ( 15b ) , ( 16 ) , ( 17 ) , ( 18 ) , ( 19 ) , ( 20 ) , ( 21 ) , ( 22 ) , ( 31 )
Model 3: BEA (MILP) The binary expansion approach model (BEA) considers the linearisation of the binary and continuous products using the technique in (27), and the bilinear products and quadratic elements using the binary expansion approach (32) and (34) in all the constraints where q i , j , t and P i , j , t are present. It is worth mentioning that the computational efficiency of the binary expansion approach is highly dependent on the number of partitions, N, taken. The higher this number is, the more accurate it should be; however, it will take longer to solve. This is because 2N equations are added to the optimisation model for every constraint where this technique is used. The optimisation model is:
min ( 30 ) s . t . ( 1 ) , ( 2 ) , ( 4 ) , ( 6 ) , ( 35 ) , ( 36 ) , ( 16 ) , ( 37 ) , ( 18 ) , ( 19 ) , ( 20 ) , ( 21 ) , ( 22 ) , ( 31 ) , ( 33 )
Note that the set of constraints (31) are needed to linearise the objective function in the three models, and the set of equations that uses the binary expansion approach for pipes (35) and pumps (37), are needed for the BEA model.

4. Computational Experiments

The three alternative models defined in Section 3 were tested on three different and realistic high-altitude WSSs using the Gurobi 10 solver [58] via Julia [59]; the experiments were done using long and steep networks that send desalinated water from the sea level up to the mountains (more than 3000 m above sea level). For this work, it is assumed that the water production at the desalination plant and the mine site’s water demand are constant. Table 1 summarises the main characteristics of the WSSs tested.
In Figure 4, there is an example of a real WSS that pumps up desalinated water to a mine located at 3100 m.a.s.l. in the Chilean Atacama desert [2]. This water network corresponds to the Small WSS tested, and it has one reverse osmosis desalination plant and five interconnected pumping stations, combined with a water pump and tank, one reservoir, and one mine, which has a water demand. The data for the nodes and arcs can be seen in Table 2 and Table 3.
Figure 2 shows a medium-size WSS proposed by [50] to supply water to six mining sites. It has ten pumping stations and six reservoirs. The data for the nodes and arcs can be seen in Table 4 and Table 5.
Finally, a bigger water network is considered using data from [50], with fourteen pumping stations, one reservoir, and one mine, as seen in Figure 5. The data for the Large WSS can be found in the Table 6 and Table 7.
The values of other parameters for the model were obtained from [2]: water density, ρ = 1000 {Kg/m3, pump efficiency, ν = 80 % , pipe maximum speed, v m a x = 2.5 m/s, pipe diameter, D = 1 m, Darcy friction factor, f = 0.01 , pump linear parameter, β i , j , t = 1 / q i , j , t m a x , using the technique in [48], and the minimum water tank level percentage, γ i m i n = 80 % , which depends on the industry; in this case, γ i , C O D m i n = 95 % from CODELCO, a copper mining company. Finally, the electricity prices were obtained from the Chilean national electrical operator.
For example, Figure 6 shows the expected normalised results for the water pump scheduling problem in a WSS with one pump. The operator of WSSs desires to know every hour which water pumps turn on or off, what the level of the water tanks is, how much energy is being used, and what the operation cost is. Additionally, if water demands change over time, the operator wants to know if hourly or daily water demand is being met; otherwise, the model information would have to be updated, and other policies would have to be taken in the following period. Note that the maximum number of time slots when the water pumps can be active is 125 for the Small WSS, 150 for the Medium WSS, and 325 for the Large WSS. It is 325 instead of 350 because there is one water pump that has never been activated due to the network design.
The following subsection presents the different computational experiments analysed to understand the efficiency of the proposed method and the key parameters and variables of the water pump scheduling problem.

4.1. Choosing the Appropriate Cost of Maintenance C s

As we explained in the section on the objective function, the pump switching can negatively affect the water system’s maintenance cost, C s , due to the changing load contributing to fatigue-related failures [45]. Following the recommendations of [20], which consists of trying different values of C s for a given vector of electricity prices, C t , when the maintenance cost is unknown.
We analysed the C s value for the Small, Medium, and Large WSSs using different electricity prices. For this purpose, we utilised two prices: the variable price was taken from the Chilean Electricity Coordinator from a summer day in 2021 in the Radomiro Tomic Electric Bus, and the simple price is a simplified representation of the previous cost, with only two values, one for peak and one for non-peak hours. We chose the values of the simple price, such that the mean and variance were similar to the variable price, and it is a reasonable structure since some markets work in a high/low price scheme. In Figure 7 are shown the electricity prices for both the simple and the variable price.
Then, for each electricity price, we studied the impact of constraint (21) using a 90% minimum water level of the reservoir in each hour. We chose this value because it provides enough flexibility to the water pumps to have more time slots to be off, but it is high enough so that the demand node is secured with a safe level of water. In the following sections, we analyse the study case for the Small WSS using a 95% minimum water level because the mining company is highly conservative with the amount of water they need. Otherwise, in a water pump supply failure scenario, the cost of loss for their mining operation is extremely expensive.
For example, for the Small WSS, with a simple electricity price, as we can see in Figure 8 and Figure 9, from C s = $ 30 , the maintenance cost makes all the water pumps active; however, the same scenario occurs for the reservoir constrained case, with C s = $ 20 . This result makes complete sense since the reservoir constraint increases the total cost, as it reduces the feasible region, and therefore the new global optimum can be excluded. Note that from those C s values, the optimal value and the operational costs remain constant, even though the maintenance values increase. This is due to no switching being done; therefore, B i , j , t = 0 , which makes the maintenance costs zero in the optimal value. This pattern is repeated in any electricity price analysis.
In order to select an appropriate C s value, we would like to have at least 15% of flexibility in the number of active pumps, i.e., for the Small WSS, around 15–18 slots of inactive pumps in total in a 24 h horizon. This is achieved with C s = $ 4 for the unconstrained case and with C s = $ 2 for the constrained case.
A similar study was done with the variable electricity price. Since it has a slightly higher variance than the simple electricity price, it is expected that the C s needs to be smaller to compensate for the total cost, as we can observe in Figure 10 and Figure 11. For this case, the chosen value is C s = $ 3 for the unconstrained case and C s = $ 1 .

4.2. Comparison of Running Times

In Table 8 are the significant results for the Small, Medium, and Large WSSs using the variable electricity price, not activating the reservoir constraint (21) and the MINLP approaches: fixed flow (FF), semi-linear (SL), and the MILP binary expansion approach (BEA). The optimality gap of the MINLP methods is 0% in most of the cases. We ran the model using a Windows 11 computer with 11th Gen Intel(R) CORE(TM) i7-1165G7 @2.80GHz. It is worth mentioning that solving the original model (24) and the FF model for more significant instances takes too long, so we had to set a 10 min time stop to the Gurobi solver in order to add those results to the table. Otherwise, it could have taken more than 7 h to complete. Also, for this work we consider that the SL model reaches the optimal value of this problem because the other approaches are either an upper bound (FF) or a binary approximation (BEA) of the original problem.
We performed different experiments using the binary expansion approach (N = 4 for M and L, and N = 3 for S) with Gurobi MILP, which reduces the computational time of the original MINLP while keeping the Gurobi Gap within 0.9%. Also, the BEA model slightly reduces the optimal value because it is an approximation of the original problem.
The main difference is seen in the Medium and Large WSSs because they not only have more pumps and tanks, but the Medium is higher, and the Large has a bigger water demand, which makes them computationally intensive to solve due to the higher number of possible combinations. In the following sections, we explain this phenomenon in more detail.
It is worth mentioning that solving this problem with Ipopt, a free nonlinear solver, is not possible due to the mixed integer nature of this problem, which it does not support. Also, it only ensures global optimality for convex problems, and this is non-convex. Therefore, we decided to use the Gurobi solver to obtain global optimum results in a reasonable time.
We included the power required in a day because it is a good indicator of the solution’s quality. As we can see in Table 8, the optimal power needed for each WSS tested was similar for the three models: 1352 MW for the Small, 853 MW for the Medium, and 2343 MW for the Large. Note that even though the Medium WSS is the highest one, its water demand is 1 m3/s, compared with 1.5 m3/s for the Small and 4.05 m3/s for the Large. Therefore, the power needed was less than for the other cases.
In all the tested cases, the BEA model runs faster than the other models; furthermore, the goal of BEA is to obtain feasible solutions quicker with a reasonable gap because the water operator needs to make its decisions on a day-ahead basis.

4.3. Computational Impact of Network Altitude and Length

As we mentioned before, the model’s most significant parameter is the highest node’s altitude. This is because, by increasing its maximum altitude, the model takes longer to solve due to the increase in total combinations it has to compute. We computed experiments using the Medium WSS by dividing its altitude and total pipe length by ten and comparing the results. Table 9 shows the results for a medium-sized WSS using Model BEA (N = 4) and 0.5% Gurobi Gap.
When the altitude of a WSS decreases, the model has fewer possible combinations to choose from because it can send less water to the following nodes in each period of time and still meet the water demand compared to the high-altitude scenario. This becomes even more computationally intensive when the pipe length is shorter because, since the distances are smaller, there are more possibilities to send water in each period of time. The same pattern can be seen in Table 8, since the Medium WSS is slower to compute because it is the highest of the three WSS tested.
Therefore, the altitude, meaning the maximum height difference between any two nodes in a water network, is the most relevant characteristic of the WSS operation because it augments the complexity of the model resolution. Hence, it becomes a relevant problem to be solved, especially in water networks that supply multimillion-dollar industries, which depend on those inflows.

4.4. Impact of the Number of Partitions in BEA

It is evident that the higher the number of partitions in the binary expansion approach, the closer the results will be to their actual value. However, when the N value increases, the computational time of the model increases (see Table 10). Therefore, choosing a reasonable value for N is crucial to have a good balance between the computational time and the optimal solution.
To select the right N value, we used two Gaps to analyse and compare its performance: the Gurobi Gap and the SL Gap. By Gurobi Gap, we mean the MILP gap given by Gurobi, which uses the objective bounds: the incumbent and the best bound found so far. On the other hand, the SL Gap is the relative error between the optimal objective value of the BEA method in the n-th value and the optimal value of the SL model, assuming that that is the global optimum of the problem.
From these results, for the small-sized WSS, from N = 6 partitions, the Gurobi Gap and SL Gap do not improve much, while the computational time increases rapidly. It is interesting to mention that when the N value is too high, for example, N = 200, the computer cannot process the model, so it stops after a few seconds with a bad solution (around 30% Gurobi Gap). Note that we set a time stop in 600 s for the bigger N values; otherwise, the problem would take several minutes or hours to reach the 1% Gurobi Gap. It is relevant to mention that if the Gurobi Gap is too high or the time limit is too low, most of the time, the number of active pumps will be the maximum value, i.e., for the Small WSS it is 125; essentially, all the pumps are on in all the time periods.
Therefore, depending on the size of the WSS, the recommended number of partitions for the BEA model is between 3 and 5. This allows the model to be solved rapidly with reasonably small Gurobi and SL optimality gaps and a more accurate number of active pumps.

4.5. CODELCO Radomiro Tomic WSS Case Study

The optimal outcome in an optimisation model varies depending on the input data provided, and in this case the model should demonstrate sensitivity to the seasons of the year in regions where there is a clear differentiation in temperature, which consequently affects electricity prices. This section analyses the impact of the seasons of the year, the minimum reservoir level, the CODELCO energy policy, and the increase in water demand. We use as a case study for this work the Small WSS called “Aguas Horizonte,” which corresponds to the supply water network for the “Radomiro Tomic Mine” of the company CODELCO in the northern region of Chile.
The results studied from this section onwards include changes in the water tanks and reservoir capacities, the initial/final storage for the reservoir, and the water demand at the mine site of the Small WSS, obtained from the “Aguas Horizonte” environmental analysis report [60] to ensure maximum realism for the energy and economic analyses. The new data for the nodes of the CODELCO Small WSS are displayed in Table 11.

4.5.1. Impact of Seasonal Electricity Prices

We selected random days from autumn, winter, spring, and summer for this analysis. The electricity prices for these days are depicted in Figure 12, corresponding to the following dates: 31 March 2024 for autumn, 22 July 2023 for winter, 20 October 2023 for spring, and 19 January 2024 for summer.
As anticipated, the warmer months exhibit lower prices compared to the colder months. Moreover, during wintertime, there are fewer hours with USD 0 MWh, possibly due to reduced solar generation. However, because winter experiences higher minimum prices, its dispersion is lower, as illustrated in Figure 13.
Summertime records the lowest mean and median of the year, averaging around USD 30 MWh, in contrast to the USD 65 MWh observed during winter. Autumn and spring demonstrate similar behaviour, with a mean of approximately USD 50 MWh. Additionally, the median for summer is lower than its mean, indicating that there are more values below the mean, including USD 0 MWh, while the higher values contribute to its average.
Lastly, for each season, it was necessary to select an appropriate value for the maintenance cost, C S , to switch the water pumps between periods. Following the same methodology as in the preceding sections, we determined that for the Small WSS, C s = $ 3 for each season.
Using the seasonal electricity prices, we examined their impact on the water pump scheduling problem. In Figure 14, we can observe that the optimal objective value follows the same pattern as the mean and median of the electricity prices; namely, winter is the most expensive, followed by autumn, spring, and finally summer. This trend persists when implementing policies such as incorporating the minimum water level in the reservoir for each hourly constraint (21) and restricting the number of active pumps during certain hours of the day, as elaborated in subsequent sections.
Moreover, from Figure 14, it is noteworthy that, during spring, the number of active pumps increases, presumably because the problem aims to activate them during hours when electricity costs are USD 0 MWh.

4.5.2. Security and Energy Policies

For this case study, we examined two policies concerning the utilisation of reservoirs and water pumps throughout the day: firstly, the implementation of a minimum water level constraint for reservoirs for each hour (Res), as described in constraint (21), and secondly, the imposition of a maximum limit on the number of active pumps within a specified time period (Pol). Detailed explanations of each policy are provided in the subsequent sections.
1.
Impact of minimum water tank and reservoir levels (Res)
As previously discussed, the degree of flexibility concerning the minimum water tank and reservoir parameters may vary depending on the industry. This variation is determined by the company’s opportunity cost in reducing its minimum water level to mitigate energy expenses and the potential risk of inadequate water supply should all systems fail, leading to a multimillion-dollar loss for each minute its operation stops.
Therefore, we use the constraint (21):
h i , t Z i + h i ¯ γ i m i n , i R , t T ,
and we analysed two cases for the γ i m i n parameter: 90% and 95%. For the case of CODELCO, they need a 95%; however, we wanted to study how much they can save if they reduce to 90% the minimum level of water in their reservoirs.
2.
Cost Savings Relative to Current Policy (Pol)
Some industries manually optimise their processes, adhering to specific principles or rules based on their experience. However, such policies often lead to local optima. The energy policy under scrutiny in this section, pertaining to the CODELCO WSS, involves the cessation of water pump operations between 6 p.m. and 10 p.m. Initially, this may seem reasonable, considering that electricity demand typically peaks during the evening; nevertheless, the optimal results show otherwise.
For our analysis, we selected four days from each season of the year, using data from the Radomiro Tomic electric bus, as explained in the preceding section. We then compared this data with the company’s energy policy. However, upon running the model with the company’s energy policy, the problem results proved infeasible. Consequently, we opted to introduce the following constraint to the model, limiting the number of active pumps, denoted by r, during the 6 p.m. to 10 p.m. timeframe:
t = 18 22 x i , j , t r ( i , j ) P u ,
First, for the minimum reservoir level γ i m i n = 90 % , the minimum number of active pumps that made the problem feasible was r = 3 ; however, when we increase γ i m i n to 95%, r becomes 4.

4.5.3. Comparison of Policies

Before analysing all the possible policy combinations in detail, Figure 15 shows us an insight into the most relevant policies for the water scheduling problem for the Radomiro Tomic WSS.
The policy combinations with the highest optimal values are the ones that use the CODELCO energy policy (Pol), especially in the warmer months, as we can see in Figure 16 compared with Figure 14 and Figure 17. For the summertime, the cost without (Pol) policy goes from around USD 33,000 to USD 47,000 when the policy is applied. The same occurs in spring, going from around USD 37,000 to USD 50,000. Winter is the only season that remains almost the same when the policy is applied, and this is because the electricity prices throughout the day are higher than in other seasons; therefore, the savings are minor when turning off almost all the water pumps between 6 p.m. and 10 p.m.
Also, we can see a small difference in the objective value when changing the minimum reservoir level from 90% to 95%, as CODELCO mining company requires: with the 90% level, the optimal objective value is smaller than with a 95% level. This occurs both whether the CODELCO energy policy (Pol) is applied or not, as we can see in Figure 16 and Figure 17. The water pumps are activated less in the 90% case compared with the 95%, which gives more space to provide flexibility and ancillary services to the electrical grid as future work.

4.5.4. Impact of Higher Water Demand

One of the concerns the water consumer may have regarding the water operation and supply is how much pumping costs would increase or decrease if the water demand varies. To study this, we solved the Small WSS of CODELCO (Radomiro Tomic Mine) using BEA (N = 3, C s = 3, Gurobi Gap = 0.5%) with no policies for each season and varied the mine water demand over a discretised range from 0.19 m3/s to 1.96 m3/s, which is the maximum water flow allowed by the water pipes.
The results are shown in Figure 18, confirming the anticipated trend: greater water demand correlates with a higher optimal objective function. Specifically, augmenting the original water demand of 1.5 m3/s by an additional 0.46 m3/s results in a roughly 70% rise in costs across all seasons. Additionally, the seasonal patterns persist, with warmer days associated with lower costs.
It is noteworthy that achieving a comparable cost to that of winter requires a 0.5 m3/s increase in water flow during summer. In essence, while transporting approximately 1.6 m3/s at USD 40,000 in summer achieves the same cost efficiency as in winter; only 1.1 m3/s can be transported during the colder months.

4.6. Computational Performance for Checking Optimality

An alternative way to compare the computational efficiency of different models is to investigate how quickly each model proves optimality. There are two ways of doing this: using the optimal solution and the optimal value to test the model.
The first way of doing this is by evaluating the model’s speed when the optimal solution is given as the initial point. The first row of Table 12 in each block represents the model without using this initial point. The binary expansion approach is set to stop with a 0.5% Gurobi Gap to obtain the optimal solution. Then, that optimal solution is given as a starting point for the solver, and it always returns the new optimal solution with a 0% Gurobi Gap. In this case, the BEA with N = 3 model verifies the optimal solution in less than 2 s, whereas the MINLP problem using the Gurobi MINLP solver takes almost double that time. As expected, the higher the N value is, the longer it takes to solve.
The second way to verify if the restrictive approach is reaching optimality is by adding a constraint that is a lower bound for the optimal value. Like in the first optimality check, the second time the model is run the Gurobi Gap is 0%. In this approach, the BEA model is faster in realising that the optimal value is the same as the given constraint (see Table 13).
These results show us again, in computational terms, that the binary expansion approach is more efficient than the original formulation because it takes less time to verify that it is the optimal solution.
In summary, the BEA technique allows us to solve the optimal operation of a water network in a reasonable computational time with a small gap compared with other solvers. The latter is relevant because the water network operator needs to have a solution on a day-ahead basis. Also, the BEA approximation does not need to take a large number of partitions to obtain a good result. Henceforth, our recommendation is to use between three and five partitions, depending on the size of the water network.

5. Conclusions and Future Research

In this paper, a new application of the binary expansion approach was applied to the pump scheduling problem to linearise the optimisation model. The problem aims to optimise energy costs in large-scale, multi-tank, and high-altitude WSSs. The method was tested with a real-life WSS from the Radomiro Tomic Mine in Chile. The results obtained by using this approach were compared with other approximating techniques. The critical findings obtained are as follows:
  • In most cases, the binary expansion approach performs better than the MINLP Gurobi solver. The computational efficiency of the approach gives the chance to use it for hours or for day-ahead operation, such as in many types of electrical demand flexibility models in large WSSs.
  • The altitude of a water network is the parameter with the greatest impact on the solution time; that is, the higher the WSS, the slower the model will run due to the higher number of combinations the solver needs to verify. Also, the total length of the pipes is only relevant when the WSS altitude is high.
  • The recommended number of partitions in the binary expansion approach is between three and five, depending on the WSS characteristics. Using more than ten partitions is not suggested because the computational times increase rapidly, and the gap almost does not change.
  • The influence of temperature across various months significantly affects the overall expenses of WSS operations: the warmer the month, the cheaper the electrical tariffs become, leading to reduced operational costs as well.
  • The operational strategy of turning off the water pumps during a time period from 6 p.m. to 10 p.m. (Pol) amplifies expenses during warmer days by inhibiting pump usage during hours of lower electricity rates.
  • The operational strategy of having a minimum level of water in reservoirs of 90% or 95% yields minimal changes in costs; however, maintaining a lower level decreases the number of active pumps throughout the day, which allows a space to provide flexibility to the electrical grid in future endeavours.
Finally, the binary expansion approach can be used to further extensions of the problem, such as the WSS design problem, WSS capacity expansion planning problem, and demand response problem applied to WSS. In particular, we are analysing the use of WSSs as flexible sources for the power network by modifying the water pump scheduling problem to provide ancillary services to the power network while optimising the costs and revenues of the water network operator.

Author Contributions

D.C., conceptualisation, methodology, software, validation, formal analysis, investigation, resources, data curation, writing—original draft preparation, writing—review and editing, visualisation, project administration, funding acquisition; Á.L., conceptualisation, validation, writing—review and editing, supervision; M.F.A., conceptualisation, validation, writing—review and editing, supervision. All authors have read and agreed to the published version of the manuscript.

Funding

The authors thank ANID for their funding through the ”DOCTORADO NACIONAL 21211385” scholarship and ”FONDECYT-1211378” project, and CODELCO for their funding through the ”Beneficio Piensa Minerà a”.

Data Availability Statement

All data are available within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
WSSWater Supply System
WDNWater Distribution Network
MILPMixed Integer Linear Programming
MINLPMixed Integer Nonlinear Programming
BEABinary Expansion Approach
SLSemi-Linear model
FFFixed Flow model
ResPolicy of the minimum water tank and reservoir levels
PolPolicy of turning off the pumps between 6 and 10 p.m.

References

  1. COCHILCO. Proyección de consumo de agua en la minería del cobre 2019–2030. Technical Report, Chile. 2019. Available online: https://www.cochilco.cl/Listado%20Temtico/proyeccion%20agua%20mineria%20del%20cobre%202019-2030%20VF.pdf (accessed on 17 July 2024).
  2. Herrera-León, S.; Lucay, F.A.; Cisternas, L.A.; Kraslawski, A. Applying a multi-objective optimization approach in designing water supply systems for mining industries. The case of Chile. J. Clean. Prod. 2019, 210, 994–1004. [Google Scholar] [CrossRef]
  3. Alvez, A.; Aitken, D.; Rivera, D.; Vergara, M.; McIntyre, N.; Concha, F. At the crossroads: Can desalination be a suitable public policy solution to address water scarcity in Chile’s mining zones? J. Environ. Manag. 2020, 258, 110039. [Google Scholar] [CrossRef]
  4. Goldstein, R.; Smith, W. Water and Sustainability: U.S. Electricity Consumption for Water Supply and Treatment—The Next Half Century; Technical Report; EPRI: Palo Alto, CA, USA, 2002; Volume 4. [Google Scholar]
  5. Klein, G.; Krebs, M. California’s Water—Energy Relationship; Technical Report November; California Energy Commission: Sacramento, CA, USA, 2005. [Google Scholar]
  6. Ghaddar, B.; Naoum-Sawaya, J.; Kishimoto, A.; Taheri, N.; Eck, B. A Lagrangian decomposition approach for the pump scheduling problem in water networks. Eur. J. Oper. Res. 2015, 241, 490–501. [Google Scholar] [CrossRef]
  7. Government of Chile. Ministro de Energía anuncia que “para el 2025 habremos retirado el 50% de las centrales a carbón”. Chile. 2021. Available online: https://www.gob.cl/noticias/ministro-de-energia-anuncia-que-para-el-2025-habremos-retirado-el-50-de-las-centrales-a-carbon/ (accessed on 17 July 2024).
  8. Garreaud, R.D.; Boisier, J.P.; Rondanelli, R.; Montecinos, A.; Veloso-Aguila, H.H.S.D. The Central Chile Mega Drought (2010–2018): A climate dynamics perspective. Int. J. Climatol. 2020, 40, 421–439. [Google Scholar] [CrossRef]
  9. Vicuña, S.; Gil, M.; Melo, O.; Donoso, G.; Merino, P.; Vicuña, S.; Gil, M.; Melo, O.; Donoso, G.; Merino, P.; et al. Water option contracts for climate change adaptation in Santiago, Chile. Water Int. 2018, 43, 237–256. [Google Scholar] [CrossRef]
  10. Herrera, S.; Cisternas, L.A.; Gálvez, E.D. Simultaneous Design of Desalination Plants and Distribution Water Network. Comput. Aided Chem. Eng. 2015, 37, 1193–1198. [Google Scholar] [CrossRef]
  11. De la perrière, L.B.; Jouglet, A.; Nace, D. Optimisation de la Gestion des Réseaux d’eau Potable par la Programmation Linéaire en Nombre Entiers. Ph.D. Thesis, Université de Technologie de Compiègne, Compiègne, France, 2011. [Google Scholar]
  12. D’Ambrosio, C.; Lodi, A.; Wiese, S.; Bragalli, C. Mathematical programming techniques in water network optimization. Eur. J. Oper. Res. 2015, 243, 774–788. [Google Scholar] [CrossRef]
  13. Abdallah, M.; Kapelan, Z. Fast Pump Scheduling Method for Optimum Energy Cost and Water Quality in Water Distribution Networks with Fixed and Variable Speed Pumps. J. Water Resour. Plan. Manag. 2019, 145, 1–13. [Google Scholar] [CrossRef]
  14. Sherali, H.D.; Smith, E.P.; Kim, S.i. A Pipe Reliability and Cost Model for an Integrated Approach Toward Designing Water Distribution Systems. Glob. Optim. Eng. Des. 1996, 9, 333–354. [Google Scholar] [CrossRef]
  15. Bragalli, C.; D’Ambrosio, C.; Lee, J.; Lodi, A.; Toth, P. On the optimal design of water distribution networks: A practical MINLP approach. Optim. Eng. 2012, 13, 219–246. [Google Scholar] [CrossRef]
  16. Sherali, H.D.; Subramanian, S.; Loganathan, G.V. Effective Relaxations and Partitioning Schemes for Solving Water Distribution Network Design Problems to Global Optimality. J. Glob. Optim. 2001, 19, 1–26. [Google Scholar] [CrossRef]
  17. Eiger, G.; Shamir, U.; Ben-Tal, A. Optimal Design of Water Distribution Networks. Water Resour. Res. 1994, 30, 2637–2646. [Google Scholar] [CrossRef]
  18. Ormsbee, L.; Lansey, K. Optimal Control of Water Supply Pumping Systems. Water Resour. Plan. Manag. 1994, 122, 322–386. [Google Scholar] [CrossRef]
  19. Nitivattananon, V.; Sadowski, E.; Quimpo, R. Optimization of Water Supply System Operation. Water Resour. Plan. Manag. 1996, 122, 374–384. [Google Scholar] [CrossRef]
  20. van Zyl, J.E.; Savic, D.A.; Walters, G.A. Operational Optimization of Water Distribution Systems Using a Hybrid Genetic Algorithm. J. Water Resour. Plan. Manag. 2004, 130, 160–170. [Google Scholar] [CrossRef]
  21. Dreizin, Y. Examination of Possibilities of Energy Saving in Regional Water Supply Systems. Ph.D. Thesis, Technion-Israel Institute of Technology, Haifa, Israel, 1970. [Google Scholar]
  22. Sterling, M.; Coulbeck, B. A dynamic programming solution to optimization of pumping costs. Proc. Inst. Civ. Eng. 1975, 59, 813–818. [Google Scholar] [CrossRef]
  23. Zessler, U.; Shamir, U. Optimal Operation of Water Distribution Systems. J. Water Resour. Plan. Manag. 1989, 115, 735–752. [Google Scholar] [CrossRef]
  24. Coulbeck, B.; Brdys, M.; Orr, C.H.; Rance, J.P. A hierarchical approach to optimized control of water distribution systems: Part II. Lower-level algorithm. Optim. Control Appl. Methods 1988, 9, 109–126. [Google Scholar] [CrossRef]
  25. Coulbeck, B.; Brdys, M.; Orr, C.H.; Rance, J.P. A hierarchical approach to optimized control of water distribution systems: Part I decomposition. Optim. Control Appl. Methods 1988, 9, 51–61. [Google Scholar] [CrossRef]
  26. Fallside, F.; Perry, P.F. Hierarchial model for water-supply-system control. Proc. IEEE 1975, 122, 441–443. [Google Scholar] [CrossRef]
  27. Sterling, M.; Coulbeck, B. Optimisation of water pumping costs by hierarchical methods. Proc. Inst. Civ. Eng. 1975, 59, 789–797. [Google Scholar] [CrossRef]
  28. Alperovits, E.; Shamir, U. Design of optimal water distribution systems. Water Resour. Res. 1977, 13, 885–900. [Google Scholar] [CrossRef]
  29. Schwarz, J.; Meidad, N.; Shamir, U. Water quality management in regional systems. Water Resour. Manag. 1985, 153, 341–349. [Google Scholar]
  30. Ormsbee, L.E.; Walski, T.M.; Chase, D.V.; Sharp, W.W. Methodology for improving pump operation efficiency. J. Water Resour. Plan. Manag. 1989, 115, 148–164. [Google Scholar] [CrossRef]
  31. Maier, H.R.; Kapelan, Z.; Kasprzyk, J.; Kollat, J.; Matott, L.S.; Cunha, M.C.; Dandy, G.C.; Gibbs, M.S.; Keedwell, E.; Marchi, A.; et al. Evolutionary algorithms and other metaheuristics in water resources: Current status, research challenges and future directions. Environ. Model. Softw. 2014, 62, 271–299. [Google Scholar] [CrossRef]
  32. Nicklow, J.; Reed, P.; Savic, D.; Dessalegne, T.; Harrell, L.; Chan-Hilton, A.; Karamouz, M.; Minsker, B.; Ostfeld, A.; Singh, A.; et al. State of the Art for Genetic Algorithms and Beyond in Water Resources Planning and Management. J. Water Resour. Plan. Manag. 2010, 136, 412–432. [Google Scholar] [CrossRef]
  33. Creaco, E.; Pezzinga, G. Embedding linear programming in multi objective genetic algorithms for reducing the size of the search space with application to leakage minimization in water distribution networks. Environ. Model. Softw. 2015, 69, 308–318. [Google Scholar] [CrossRef]
  34. Derceto. Derceto Aquadapt, About Us Web Page. Available online: https://www.suezsmartsolutions.com/about-us (accessed on 17 July 2024).
  35. Rossman, L.S. EPANET, Web Page. Available online: https://www.epa.gov/water-research/epanet (accessed on 17 July 2024).
  36. Morsi, A.; Geißler, B.; Martin, A. Mixed Integer Optimization of Water Supply Networks. In Mathematical Optimization of Water Networks. International Series of Numerical Mathematics; Birkhäuser: Basel, Switzerland, 2012; Volume 162. [Google Scholar]
  37. Verleye, D.; Aghezzaf, E.H. Generalized Benders Decomposition to Reoptimize Water Production and Distribution Operations in a Real Water Supply Network. J. Water Resour. Plan. Manag. 2016, 142, 04015059. [Google Scholar] [CrossRef]
  38. Burgschweiger, J.; Gnädig, B.; Steinbach, M.C. Optimization models for operative planning in drinking water networks. Optim. Eng. 2009, 10, 43–73. [Google Scholar] [CrossRef]
  39. Fooladivanda, D.; Taylor, J.A. Energy-optimal pump scheduling and water flow. IEEE Trans. Control Netw. Syst. 2018, 5, 1016–1026. [Google Scholar] [CrossRef]
  40. Fugenschuh, A.; Humpola, J. A Unified View on Relaxations for a Nonlinear Network Flow Problem; Technical Report July; Zuse Institut Berlin: Berlin, Germany, 2013. [Google Scholar]
  41. Gurobi. General Constraints Page. Available online: https://www.gurobi.com/documentation/current/refman/general_constraints.html (accessed on 17 July 2024).
  42. Herrera-León, S.; Kraslawski, A.; Cisternas, L.A. A MINLP model to design desalinated water supply systems including solar energy as an energy source. In Computer Aided Chemical Engineering; Elsevier: Amsterdam, The Netherlands, 2018; Volume 44. [Google Scholar] [CrossRef]
  43. Meng, F.; Fu, G.; Farmani, R.; Sweetapple, C.; Butler, D. Topological attributes of network resilience: A study in water distribution systems. Water Res. 2018, 143, 376–386. [Google Scholar] [CrossRef] [PubMed]
  44. Basupi, I.; Kapelan, Z. Evaluating Flexibility in Water Distribution System Design under Future Demand Uncertainty. J. Infrastruct. Syst. 2015, 21, 04014034. [Google Scholar] [CrossRef]
  45. Menke, R.; Abraham, E.; Parpas, P.; Stoianov, I. Demonstrating demand response from water distribution system through pump scheduling. Appl. Energy 2018, 170, 377–387. [Google Scholar] [CrossRef]
  46. Oikonomou, K.; Parvania, M.; Khatami, R. Optimal Demand Response Scheduling for Water Distribution Systems. IEEE Trans. Ind. Inform. 2018, 14, 5112–5122. [Google Scholar] [CrossRef]
  47. Mkireb, C.; Dembele, A.; Denoeux, T.; Jouglet, A. Flexibility of drinking water systems: An opportunity to reduce CO2 emissions. Int. J. Energy Prod. Manag. 2019, 4, 134–144. [Google Scholar] [CrossRef]
  48. Stuhlmacher, A.; Mathieu, J.L. Chance-Constrained Water Pumping to Manage Water and Power Demand Uncertainty in Distribution Networks. Proc. IEEE 2020, 108, 1640–1655. [Google Scholar] [CrossRef]
  49. Zhou, X.; Zhang, H.; Qiu, R.; Liang, Y.; Wu, G.; Xiang, C.; Yan, X. A hybrid time MILP model for the pump scheduling of multi-product pipelines based on the rigorous description of the pipeline hydraulic loss changes. Comput. Chem. Eng. 2019, 121, 174–199. [Google Scholar] [CrossRef]
  50. Herrera-León, S.; Lucay, F.; Kraslawski, A.; Cisternas, L.A.; Gálvez, E.D. Optimization Approach to Designing Water Supply Systems in Non-Coastal Areas Suffering from Water Scarcity. Water Resour. Manag. 2018, 32, 2457–2473. [Google Scholar] [CrossRef]
  51. Bhave, P.; Gupta, R. Analysis of Water Distribution Networks; Alpha Science International: Oxford, UK, 2006. [Google Scholar]
  52. Li, Q.; Yu, S.; Al-Sumaiti, A.S.; Turitsyn, K. Micro water-energy nexus: Optimal demand-side management and quasi-convex hull relaxation. IEEE Trans. Control Netw. Syst. 2019, 6, 1313–1322. [Google Scholar] [CrossRef]
  53. Lansey, K.E.; Awumah, K. Optimal Pump Operations Considering Pump Switches. J. Water Resour. Plan. Manag. 1994, 120, 17–35. [Google Scholar] [CrossRef]
  54. Savic, D.; Walters, G.; Schwab, M. Multiobjective genetic algorithms for pump scheduling in water supply. In Evolutionary Computing. Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 1997; Volume 1305. [Google Scholar] [CrossRef]
  55. Menke, R.; Abraham, E.; Parpas, P.; Stoianov, I. Approximation of system components for pump scheduling optimisation. Procedia Eng. 2015, 119, 1059–1068. [Google Scholar] [CrossRef]
  56. Gunluk, O.; Lee, J.; Leung, J. A Polytope for a Product of Real Linear Functions in 0/1 Variables. In Mixed Integer Nonlinear Programming. The IMA Volumes in Mathematics and Its Applications; Springer: New York, NY, USA, 2012; Volume 154, pp. 513–529. [Google Scholar] [CrossRef]
  57. Tapia, T.; Lorca, Á.; Olivares, D.; Negrete-Pincetic, M.; Lamadrid L, A.J. A robust decision-support method based on optimization and simulation for wildfire resilience in highly renewable power systems. Eur. J. Oper. Res. 2021, 294, 723–733. [Google Scholar] [CrossRef]
  58. Gurobi Optimization. Gurobi Optimizer Reference Manual Page. Available online: https://www.gurobi.com (accessed on 17 July 2024).
  59. Julia. The Julia Programming Language. Available online: https://julialang.org/ (accessed on 17 July 2024).
  60. SGA—Soluciones Ambientales. Estudio Impacto Ambiental Proyecto RT Sulfuros CODELCO-CHILE. Technical report, Chapter 1. 2013. Available online: https://www.idbinvest.org/sites/default/files/2018-10/EIA%20Desaladora%20RT%20Cap%2001%20Descripcion%20del%20Proyecto-ilovepdf-compressed.pdf (accessed on 17 July 2024).
Figure 1. (a) Linear relaxation of the potential-flow coupling constraint. (b) Spatial branching refinement of the potential-flow equation in origin. Based on the work of [12].
Figure 1. (a) Linear relaxation of the potential-flow coupling constraint. (b) Spatial branching refinement of the potential-flow equation in origin. Based on the work of [12].
Energies 17 04107 g001
Figure 2. WSS proposed by [42] to supply six mining sites. Image made using Google Earth Pro 7.3.6.9796 (64-bit). It corresponds to the medium-size WSS used in this work.
Figure 2. WSS proposed by [42] to supply six mining sites. Image made using Google Earth Pro 7.3.6.9796 (64-bit). It corresponds to the medium-size WSS used in this work.
Energies 17 04107 g002
Figure 3. Characteristic curve for the pump energy loss.
Figure 3. Characteristic curve for the pump energy loss.
Energies 17 04107 g003
Figure 4. Conceptual representation of the water supply system topography for Radomiro Tomic (RT) Copper Chilean mine operation. This WSS corresponds to the small-sized water network with one reverse osmosis desalination plant, five pumping stations, and one mine.
Figure 4. Conceptual representation of the water supply system topography for Radomiro Tomic (RT) Copper Chilean mine operation. This WSS corresponds to the small-sized water network with one reverse osmosis desalination plant, five pumping stations, and one mine.
Energies 17 04107 g004
Figure 5. Diagram of the Large WSS used in this study. The numbers represent the nodes.
Figure 5. Diagram of the Large WSS used in this study. The numbers represent the nodes.
Energies 17 04107 g005
Figure 6. Example of a WSS with one pump and its expected results for the water pump scheduling problem. The volume of the water tanks and reservoirs, the electricity price, and the water pump status values are normalised and displayed in the same plot to analyse its variation per hour.
Figure 6. Example of a WSS with one pump and its expected results for the water pump scheduling problem. The volume of the water tanks and reservoirs, the electricity price, and the water pump status values are normalised and displayed in the same plot to analyse its variation per hour.
Energies 17 04107 g006
Figure 7. Hourly electricity prices in our case study. The variable price was taken from a summer day of 2021 in the Radomiro Tomic electric bar in the northern region of Chile. The simple price is a simplification of the variable, with only two values: one for the peak and the other for the non-peak hours.
Figure 7. Hourly electricity prices in our case study. The variable price was taken from a summer day of 2021 in the Radomiro Tomic electric bar in the northern region of Chile. The simple price is a simplification of the variable, with only two values: one for the peak and the other for the non-peak hours.
Energies 17 04107 g007
Figure 8. C s values for the simple electricity price in the Small WSS. The total costs (opt. value), the operational costs, and the active water pumps are displayed. The model was solved using the SL model with a stop of a maximum of 20 s.
Figure 8. C s values for the simple electricity price in the Small WSS. The total costs (opt. value), the operational costs, and the active water pumps are displayed. The model was solved using the SL model with a stop of a maximum of 20 s.
Energies 17 04107 g008
Figure 9. C s values for the simple electricity price with the fixed reservoir constraint of 90% in the Small WSS. The total costs (opt. value), the operational costs, and the active water pumps are displayed. The model was solved using the SL model with a stop of a maximum of 20 s.
Figure 9. C s values for the simple electricity price with the fixed reservoir constraint of 90% in the Small WSS. The total costs (opt. value), the operational costs, and the active water pumps are displayed. The model was solved using the SL model with a stop of a maximum of 20 s.
Energies 17 04107 g009
Figure 10. C s values for the variable electricity price in the Small WSS. The total costs (opt. value), the operational costs, and the active water pumps are displayed. The model was solved using the SL model with a stop of a maximum of 20 s.
Figure 10. C s values for the variable electricity price in the Small WSS. The total costs (opt. value), the operational costs, and the active water pumps are displayed. The model was solved using the SL model with a stop of a maximum of 20 s.
Energies 17 04107 g010
Figure 11. C s values for the variable electricity with the fixed reservoir constraint of 90% in the Small WSS. The total costs (opt. value), the operational costs, and the active water pumps are displayed. The model was solved using the SL model with a stop of a maximum of 20 s.
Figure 11. C s values for the variable electricity with the fixed reservoir constraint of 90% in the Small WSS. The total costs (opt. value), the operational costs, and the active water pumps are displayed. The model was solved using the SL model with a stop of a maximum of 20 s.
Energies 17 04107 g011
Figure 12. Hourly electricity prices per season for the Radomiro Tomic electric bar in the northern region of Chile. Data taken from the Chilean Electricity Operator. The days per season correspond to the following days: 31 March 2024 for autumn, 22 July 2023 for winter, 20 October 2023 for spring, and 19 January 2024 for summer.
Figure 12. Hourly electricity prices per season for the Radomiro Tomic electric bar in the northern region of Chile. Data taken from the Chilean Electricity Operator. The days per season correspond to the following days: 31 March 2024 for autumn, 22 July 2023 for winter, 20 October 2023 for spring, and 19 January 2024 for summer.
Energies 17 04107 g012
Figure 13. Electricity prices dispersion per season for the Radomiro Tomic Electric Bar.
Figure 13. Electricity prices dispersion per season for the Radomiro Tomic Electric Bar.
Energies 17 04107 g013
Figure 14. Objective values for the Small WSS with the new water tanks and reservoirs values, using the electricity prices per season and the model BEA (N = 3, Cs = USD 3, Gurobi Gap = 0.5%) for the Radomiro Tomic Electric Bar.
Figure 14. Objective values for the Small WSS with the new water tanks and reservoirs values, using the electricity prices per season and the model BEA (N = 3, Cs = USD 3, Gurobi Gap = 0.5%) for the Radomiro Tomic Electric Bar.
Energies 17 04107 g014
Figure 15. Objective values dispersion for the different policy combinations for the Small WSS using the electricity prices per season, different reservoir levels, and the CODELCO energy policy. Solved with BEA (N = 3, Cs = USD 3, Gurobi Gap = 0.5%) for the Radomiro Tomic Electric Bar.
Figure 15. Objective values dispersion for the different policy combinations for the Small WSS using the electricity prices per season, different reservoir levels, and the CODELCO energy policy. Solved with BEA (N = 3, Cs = USD 3, Gurobi Gap = 0.5%) for the Radomiro Tomic Electric Bar.
Energies 17 04107 g015
Figure 16. Optimal objective values for the Small WSS using the electricity prices per season, the different minimum levels in reservoirs, and the CODELCO energy policy. Solved with BEA (N = 3, Cs = USD 3, Gurobi Gap = 0.5%) for the Radomiro Tomic Electric Bar.
Figure 16. Optimal objective values for the Small WSS using the electricity prices per season, the different minimum levels in reservoirs, and the CODELCO energy policy. Solved with BEA (N = 3, Cs = USD 3, Gurobi Gap = 0.5%) for the Radomiro Tomic Electric Bar.
Energies 17 04107 g016
Figure 17. Objective values for the Small WSS using the electricity prices per season, different reservoirs levels. Solved with BEA (N = 3, Cs = USD 3, Gurobi Gap = 0.5%) for the Radomiro Tomic Electric Bar.
Figure 17. Objective values for the Small WSS using the electricity prices per season, different reservoirs levels. Solved with BEA (N = 3, Cs = USD 3, Gurobi Gap = 0.5%) for the Radomiro Tomic Electric Bar.
Energies 17 04107 g017
Figure 18. Objective values for the Small WSS using the electricity prices per season, varying the water demand from 0.19 m3/s to 1.96 m3/s. Solved with BEA (N = 3, Cs = USD 3, Gurobi Gap = 0.5%) for the Radomiro Tomic Electric Bar.
Figure 18. Objective values for the Small WSS using the electricity prices per season, varying the water demand from 0.19 m3/s to 1.96 m3/s. Solved with BEA (N = 3, Cs = USD 3, Gurobi Gap = 0.5%) for the Radomiro Tomic Electric Bar.
Energies 17 04107 g018
Table 1. WSS characteristics. Note that the “Tank” category includes the reservoirs, and the “Pipe Length” is the sum of all the WSS pipes.
Table 1. WSS characteristics. Note that the “Tank” category includes the reservoirs, and the “Pipe Length” is the sum of all the WSS pipes.
WSS SizePumpTankReservoirMineWater DemandElevationPipe Length
Small (S)55111.50 m3/s3100 m153 km
Medium (M)64661.00 m3/s3736 m424 km
Large (L)1412334.05 m3/s2400 m669 km
Table 2. Data of the nodes of the Small WSS.
Table 2. Data of the nodes of the Small WSS.
NodeAltitude [m]Type of NodeArea Tank [m2]Height Tank [m]Initial/Final StorageDemand [m3/s]
130RO---−2.0
230Tank8001050%-
31100Junction----
41100Tank8001050%-
51600Junction----
61600Tank8001050%-
72100Junction----
82100Tank8001050%-
92600Junction----
102600Tank8001050%-
113100Junction----
123100Reservoir10001690%-
133100Mine---1.5
Table 3. Data of the arcs of the Small WSS.
Table 3. Data of the arcs of the Small WSS.
Node fromNode toType of ArcLength [m]
12Pipe1
23Pump30
34Pipe6300
45Pump-
56Pipe85,000
67Pump-
78Pipe21,800
89Pump-
910Pipe22,500
1011Pump-
1112Pipe17,400
1213Pipe1
Table 4. Data of the nodes of the Large WSS.
Table 4. Data of the nodes of the Large WSS.
NodeAltitude [m]Type of NodeArea Tank [m2]Height Tank [m]Initial/Final StorageDemand [m3/s]
{1,2}0RO, Tank8001050%−1.50
{3,4}660Junction, Tank8001050%-
{5,6}1220Junction, Tank8001050%-
{7,8,34}1260Junction, Reservoir, Mine10001690%0.90
{9,10}1705Junction, Tank8001050%-
{11,12,13,24}2400Junction, Reservoir, Mine, Junction10001690%1.35
{14,15}0RO, Tank8001050%−2.00
{16,17}700Junction, Tank8001050%-
{18,19}1395Junction, Tank8001050%-
{20,21}1450Junction, Tank8001050%-
{22,23,33}2045Junction, Tank, Junction8001050%-
{25,26}0RO, Tank8001050%−1.00
{27,28}545Junction, Tank8001050%-
{29,30}1045Junction, Tank8001050%-
{31,32,35}1630Junction, Reservoir, Mine10001690%1.80
Table 5. Data of the arcs of the Large WSS.
Table 5. Data of the arcs of the Large WSS.
Node fromNode toType of ArcLength [m]Node fromNode toType of ArcLength [m]
12Pipe12021Pipe50,000
23Pump-2122Pump-
34Pipe83402223Pipe52,600
45Pump-2324Pump-
56Pipe14,5002526Pipe1
67Pump-2627Pump-
78Pipe49,5002728Pipe11,500
89Pump-2829Pump-
910Pipe53,4002930Pipe60,400
1011Pump-3031Pump-
1112Pipe44,0003132Pipe73,200
1213Pipe13233Pump-
1415Pipe1834Pipe1
1516Pump-921Pipe42,900
1617Pipe30,5002232Pipe49,700
1718Pump-3323Pipe44,000
1819Pipe37,5003235Pipe1
1920Pump-2412Pipe43,500
Table 6. Data of the nodes of Medium WSS.
Table 6. Data of the nodes of Medium WSS.
NodeAltitude [m]Type of NodeArea Tank [m2]Height Tank [m]Initial/Final StorageDemand [m3/s]
{1,2}0RO, Tank8001050%−1.50
{3,4}866Junction, Tank8001050%-
{5,6,22}1461Junction, Reservoir, Mine10001690%0.10
{7,8}2126Junction, Tank8001050%-
{9,10}3007Junction, Tank8001050%-
{11,12,13}3730Junction, Reservoir, Mine10001690%0.15
{14,15}3342Reservoir, Mine10001690%0.20
{16,23}1703Reservoir, Mine10001690%0.15
{17,20,21}2424Junction, Reservoir, Mine10001690%0.30
{18,19}2335Reservoir, Mine10001690%0.10
Table 7. Data of the arcs of the Medium WSS.
Table 7. Data of the arcs of the Medium WSS.
Node fromNode toType of ArcLength [m]Node fromNode toType of ArcLength [m]
12Pipe11213Pipe1
23Pump-1114Pipe31,100
34Pipe34101415Pipe1
45Pump-716Pipe36,400
56Pipe57,9001617Pump-
67Pump-1718Pipe66,300
78Pipe46,9001819Pipe1
89Pump-1720Pipe41,500
910Pipe84,3002021Pipe1
1011Pump-622Pipe1
1112Pipe31,1001623Pipe1
Table 8. Comparison of the three models using different WSS sizes using an 11th Gen Intel(R) CORE(TM) i7-1165G7 @2.80GHz.
Table 8. Comparison of the three models using different WSS sizes using an 11th Gen Intel(R) CORE(TM) i7-1165G7 @2.80GHz.
ModelSizeTimeObj. ValueActive PumpsPowerGurobi Gap
FFS4.67 s$51,9511251388 MW0.01%
SLS3.62 s$51,9311101352 MW0.01%
BEA (N = 3)S1.54 s$51,8941181352 MW0.49%
FFM10 min$30,395117853 MW0.01%
SLM10 min$30,449117853 MW0.01%
BEA (N = 4)M1.3 min$30,360117852 MW0.91%
BEA (N = 2)M8.68 s$30,382118853 MW0.91%
FFL10 min$85,4392812242 MW0.03%
SLL10 min$85,5402792343 MW0.03%
BEA (N = 4)L17.3 s$85,4622752238 MW0.89%
BEA (N = 2)L7.44 s$85,5272812240 MW0.89%
Table 9. Comparison of different altitudes and pipe length using medium-size network.
Table 9. Comparison of different altitudes and pipe length using medium-size network.
ExperimentHigh (3736 m)Low (373 m)
Long (424 Km)1.33 min10.93 s
Short (42 Km)1.73 min18.12 s
Table 10. Comparison of different N partitions in BEA for the Small WSS. We used a fixed MIPGap of 0.9 % .
Table 10. Comparison of different N partitions in BEA for the Small WSS. We used a fixed MIPGap of 0.9 % .
NTimeObj. ValueActive PumpsPowerGurobi GapSL Gap
10.50 s$51,9491151352 MW0.22%0.03%
20.99 s$51,9151141352 MW0.39%−0.03%
31.54 s$51,8941181352 MW0.49%−0.07%
43.75 s$51,8761171351 MW0.65%−0.11%
55.57 s$51,8671191351 MW0.70%−0.12%
614.06 s$51,8581161351 MW0.62%−0.14%
720.07 s$51,8541121350 MW0.75%−0.15%
820.09 s$51,8521171351 MW0.82%−0.15%
927.83 s$51,8511181351 MW0.88%−0.16%
1033.52 s$51,8501111350 MW0.89%−0.16%
2079.68 s$51,8531121350 MW0.94%−0.15%
3010 min$51,8531151350 MW1.20%−0.15%
4010 min$51,8471171350 MW1.07%−0.16%
5010 min$51,8511171350 MW1.16%−0.15%
Table 11. Data of the nodes of the Small WSS for the study case of Radomiro Tomic Mine WSS.
Table 11. Data of the nodes of the Small WSS for the study case of Radomiro Tomic Mine WSS.
NodeAltitude [m]Type of NodeArea Tank [m2]Height Tank [m]Initial/Final StorageDemand [m3/s]
130RO---−2.0
230Tank11368.8250%-
31100Junction----
41100Tank31411.350%-
51600Junction----
61600Tank31411.350%-
72100Junction----
82100Tank31411.350%-
92600Junction----
102600Tank31411.350%-
113100Junction----
123100Reservoir15,6251695%-
133100Mine---1.5
Table 12. Setting as initial point the optimal solution with gap 0% to each model in the Small WSS.
Table 12. Setting as initial point the optimal solution with gap 0% to each model in the Small WSS.
ModelInitial PointTimeObj. Value
SL-3.63 s51,931
SLyes1.66 s51,931
BEA, N = 3-1.54 s51,894
BEA, N = 3yes1.3 s51,894
BEA, N = 8-83.22 s51,844
BEA, N = 8yes66.55 s51,844
Table 13. Setting the optimal value constraint with gap 0% to each model in the Small WSS.
Table 13. Setting the optimal value constraint with gap 0% to each model in the Small WSS.
ModelOptimal ValueTimeObj. Value
SL-3.63 s51,931
SLyes11.15 s51,931
BEA, N = 3-1.54 s51,894
BEA, N = 3yes0.29 s51,894
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

Cariaga, D.; Lorca, Á.; Anjos, M.F. A Binary Expansion Approach for the Water Pump Scheduling Problem in Large and High-Altitude Water Supply Systems. Energies 2024, 17, 4107. https://doi.org/10.3390/en17164107

AMA Style

Cariaga D, Lorca Á, Anjos MF. A Binary Expansion Approach for the Water Pump Scheduling Problem in Large and High-Altitude Water Supply Systems. Energies. 2024; 17(16):4107. https://doi.org/10.3390/en17164107

Chicago/Turabian Style

Cariaga, Denise, Álvaro Lorca, and Miguel F. Anjos. 2024. "A Binary Expansion Approach for the Water Pump Scheduling Problem in Large and High-Altitude Water Supply Systems" Energies 17, no. 16: 4107. https://doi.org/10.3390/en17164107

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop