• Nem Talált Eredményt

Booklet of the Ph.D. dissertation

N/A
N/A
Protected

Academic year: 2023

Ossza meg "Booklet of the Ph.D. dissertation"

Copied!
20
0
0

Teljes szövegt

(1)

.

Pump schedule optimization techniques for water distribution systems

Booklet of the Ph.D. dissertation

Written by J´ ozsef Gergely BENE, Budapest, 01 June 2013 Supervised by Csaba H˝ os, Ph.D. Prof. Enso Ikonen

Budapest University of University of Oulu, Technology and Economics,

Department of Hydrodynamic Systems Engineering

Systems Laboratory

(2)

Contents

Introduction 1

1 Genetic Algorithm based optimization method used for a wide range of pump

scheduling problems 5

2 An exact dynamic programming method for finding the global optimum of

combinatorial pump scheduling problems 7

3 An approximate dynamic programming technique for solving a wide range of

pump scheduling problems 9

4 Minimizing the specific energy consumption in order to achieve the energy optimum of systems fed by one variable speed pump 12

Appendix: Test networks 14

WoS journal publications with IF 15

Non-WoS publications 16

References 18

Notation Meaning

ADP Approximate dynamic programming DDP Discrete dynamic programming

DNA Genotype in case of genetic algorithms (stems from deoxyribonucleic acid) DP Dynamic programming

FDM Fully discretized network model

FHM Network model with detailed (full) hydraulics LP Linear programming

SEC Specific energy consumption SLO Series of local optima

SRM Semi-realistic network model without coupled hydraulics

VWM Network model, where variable speed pumps are only in the well fields Table 1: Acronyms

Introduction

Pumping in potable and waste water systems consumes a significant part of all generated elec- tricity. This ratio is for example 5% in the United States [14] and similarly high in the Euro- pean countries. Thus reducing power consumptions in waterwork systems affects significantly the amount of total consumed energy of a country and might play an important role from the viewpoint of sustainable development and environment-protection.

This Ph.D. work focuses on the cost and energy optimization of treated water systems. The aim of the work was not to find the ’ultimate schedule optimizer’ but to present optimization algorithms dedicated to solve typical problems emerging for different kinds of water distribution systems. In addition, more topics focus not only on determining optimal or near-optimal schedules, but also understanding the optimality of the results. The presented methods can possible serve

(3)

as a basis of further approaches. However, some of the presented techniques have already been realized in the industry and solve every-day real life problems of a high standard.

Water distribution system model

Fig. 1 depicts a model waterwork including the key elements of a real water distribution system.

The primary objective for the control of the system is to satisfy the residential and the industrial consumers.

Constant speed pump (discrete flow rate, pump without frequency converter)

Variable speed pump (continuous flow rate, pump with frequency converter)

Power Station Water

Reservoir

Water Source

Water Reservoir

Power Station Water

Reservoir

Water Reservoir

Power Station

Water Source Power

Station

Water consumption

Water reservoir regulation valve (The valves of pumps are not depicted.)

Pipeline node

Figure 1: A model water distribution system of minimal size but full complexity

Pumps and pump groups deliver the water between the nodes of the system (pressure zones).

The operation of these pumps consumes the majority of the energy need of the system thus their operating points are the most important variables of the problem. They are either on/off-type pumps (which can be only switched on or off) or pumps with frequency converter (where the flow rate is continuous by adjustable).

Valves are usually used for controlling the reservoirs’ flow: they can set the reservoirs in ’filling’,

’emptying’ or ’closed’ state. They are mostly modelled as on/off type valves.

Power stations: The pump groups consume electric energy which is supplied by the power stations. The price of the energy can change during the optimization time horizon and our goal is to satisfy the consumer demands with the smallest operational cost. If the energy tariff is uniform, the cost optimization gives also the energy minimum. The total power of the pump groups which is connected to the power station must not exceed a given limit.

Water sources: The amount of water which is fed into the network is obtained from wells (water sources). The exploitation of the wells must fulfil several technological requirements e.g. the

(4)

flow rate can be changed only few times a day, the wells have lower and upper daily capacity limits.

Reservoirs: these elements represent the storage capacity of the network thus allowing the pos- sibility of various controls. They form important constraints for the problem due to e.g. fire safety issues, which are the minimal and maximal water volumes (levels).

Pipelines, valves and bends serve as conveyors for the water. They cause energy losses which must be covered by the pumps.

Water demands exist in several nodes of the network and they are stochastic in the real world.

In this work I assume that the demands are deterministic and known a priori; usually they are predicted by forecast techniques.

A typical aim is to find the optimal control of the above detailed waterworks thus we are looking for the operating points of the pumps (e.g. a series of rules telling when to switch them on and off) for the next (typically) 24 hours, for an example see Fig.4. Since the pumps should not be switched too often (because frequent starting and stopping shortens their expected lifetime) the switching period is set to 1 hour which turns the control problem into a discrete problem (in time).

Typical objectives

There are several objective functions is use of water distribution systems. The basic idea under- lying pump (and valve) schedule optimization is that the water consumptions can be satisfied by several different schedules. The electric energy used by the pumps is the largest part of a waterworks’ total electricity bill [15]. Therefore the most frequently used objective function is the total electric cost of the pumps over a finite time horizon.

Alternative objective function can be the number of switches of the pumps. It describes how many times the pump operating points are changed during the optimization time horizon. The total operation time of the pumps can be also minimized. The two latter objective functions take into account the pumps’ maintenance cost.

Possibilities to spare electric cost

The key question of the optimizations is how to exploit the storage capacity of the reservoirs in order to decrease the electrical expenses and how to find an optimal schedule within reasonable time. Computational time plays a significant role since operators need to generate new schedules in minutes under real-life circumstances.

The most obvious possibility for decreasing the workload costs is filling up the reservoirs during the time intervals when electricity is less expensive and covering the water demands from these reservoirs in the expensive tariff hours. The idea seems clear, but due to the large number of constraints (reservoir capacity, node pressure and power limits) and the mixed-integer type variables (constant and variable speed pumps) the problem becomes highly challenging from the mathematical point of view.

The second possibility of decreasing the expenses is reducing the power consumption itself.

This plays an important role especially if the energy tariff is uniform (as in Hungary and in Finland nowadays). In this case the specific energy consumption (the energy need for conveying a unit volume of fluid, kWh/m3) of the pumps is a good quantity to describe the thrift of the system. Energy can be saved by using the pumps with lower specific consumption values more frequently or using the pumps close to their best-efficiency points (which is determined by the revolution number and the state of the whole system). In these cases the storage capacity is also essential: it allows to store the spare water if the pumps deliver more water in their efficient operating points than needed.

(5)

Typical constraints

Although the above mentioned rules of thumb seem obvious, determining the optimal schedule is a highly challenging task due to system’s constraints: capacity limits of the reservoirs, the exploitation limits of wells, the maximum constraints of the power stations and nodal pressure limitations.

Typical modelling levels

In this section typical water network models are introduced which will be used later. These models assume that the water consumptions (such as the initial water volumes) are known, deterministic input data of the optimization.

Model with full hydraulics (FHM) At this modelling level, a coupledsteady state hydraulic simulation is required for computing the state evolution and the immediate cost. As a first step, the flow rates in each branch and the pressures in each node are computed i.e. the steady state solution of the network must be determined. These hydraulic models are known as ’flow and pressure models’, see [16]. A non-linear algebraic equation system describes the steady-state flow conditions of a water network and incorporates the mass conservation and the energy conservation as well, the solution can be obtained via non-linear algebraic solvers e.g. with Newton-Raphson method. Once the flow rates and pressures are determined, the new water volumes, the values of the objective functions and the constraint violations can be easily calculated. Although this model is the most accurate it has an enormous computational demand which makes its use cumbersome for optimization processes.

Semi-realistic model without coupled hydraulics (SRM) If the friction losses and the wa- ter level variations in the reservoirs are negligible compared to the geodetic height differences, the operation points of the pumps are mostly determined by the latter ones. In that case the pumps’ flow rate–consumed energy functions can be obtained (usually measured) a priori and there is no need for coupled hydraulic simulations. This model is often referred as ’flow only model’ (see [16]). Although this methodology gives up the computation of the nodal pressures, the state evolution can be calculated using the continuity law.

Variable speed pumps only in the well fields (VWM) A common type of network (e.g.

the waterworks of Sopron or Szokolya) when the ’well pumps’ (which are delivering the water from the wells to the distribution system) are variable speed pumps and the rest of the pumps in the distribution systems are fixed speed pumps. It is also a common as- sumption that the energy consumption of the well-pumps is negligible related to the whole system, however, the constraints of the well field remain and must not be neglected.

Fully discretized model (FDM) The fully discretized model is a further simplified description of the semi-realistic (SRM) model. In this case the flow rates of variable speed pumps (and also the consumed energy values) are discretized turning the continuous problem into a discrete one.

On the complexity of the problem

Consider a small-scaled network whose topology is depicted in Fig.7. Let us assume that the well flow rate is known, both pumps have 3-3 operating points and the optimization horizon is 24×1h.

The free search space of the problem is (32)248×1022. If we made an unrealistic assumption that one candidate solution can be evaluated using 103 CPU operation, then the world’s current fastest supercomputer (IBM Sequoia, 16.32×1015 flop/s, source: Wikipedia) would solve the problem by exhaustive search in approximately 150 years.

(6)

Heuristic and deterministic methods in the literature

Several researchers have been developing techniques for minimizing the operating costs associated with pumping systems of water supply. An overview and state of the art of the applied (math- ematical programming and spatial decomposition) methods can be found in [17] and a detailed review is given in [18]. Among these techniques soft computing methods and metaheuristics be- came more popular (due to their robustness) during the last decades, such as fuzzy logic [19], nonlinear heuristic optimization [20], genetic algorithms [21, 22] and genelogical decesion trees [23]. Although these techniques are robust and more or less insensitive for the modelling (e.g.

for non-linearities) they suffer from the lack of reliability: they cannot guarantee reliable results, one even cannot be sure whether they are able to find a feasible solution (which satisfies all the constraints) for a single run.

Hence deterministic solvers own a great fraction of the stake. Among those, dynamic program- ming (DP) has long been recognized as powerful tool and global optimizer [24]. The dynamic programming itself guarantees to find the global optimum at a given discretization level, how- ever, for this it requires a huge amount of evaluations which makes the problem computationally infeasable. Thus the majority of the developed approaches place significant approximations in order to reduce the search space, see [25, 26].

1 Genetic Algorithm based optimization method used for a wide range of pump scheduling problems

In this section a genetic algorithm based optimization method will be introduced which is able to optimize the pump schedule of real-size water distribution systems at any hydraulic modelling level (FHM, SRM, VWM, FDM; see the previous section for the details). The presented algorithm is the first application of a novel neutral genetic algorithm [27]. Furthermore, a novel constraint-handling technique was developed in order to increase the efficiency of the algorithm. The potential of the developed method is illustrated by comparing it to other types of genetic algorithms and by performing a case-study on a large-scale water distribution system.

Transformation of the reservoir limit constraints

The method exploits the fact the reservoir level constraints are usually stricter at the end of the optimization period (t=T) than before (t < T) resulting a ’sudden jump’ in constraint system (see Fig. 2). By implementing smooth, relaxed reservoir constraints in time, the candidate solutions are not allowed to evolve into dead storage spaces (from which all constraints in the system can not be satisfied). This avoids the drift of the candidate solutions towards a fix point from which it is not possible to escape by any pump action while increasing the success rate of the optimization.

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2500

3000 3500 4000 4500 5000

Time [h]

Water level [m3]

Dead storage Initial condition Maximum Minimum

Time−dependent minimum

Figure 2: Relaxed constraint system for Water Reservoir 5 of the Sopron network (Fig.7

(7)

Search Constraint handling

technique Full Only dead storage Only scaling Nothing

Neutral Search 7217 7295 7313 7342

289 841 1797 1469

Penalty 7248 7293 7223 7294

475 678 462 709

Powell’s method 7240 7309 7235 7288

469 643 510 624

Deb’s approach 7262 7304 7237 7281

462 660 493 582

Table 2: Mean values. The bold valuesshow the objective (cost) function values in e, and the normal typeset values are the number of evaluations until the 1st feasible solution was found, in 1000 evaluations.

Time dependent scaling of the constraints

In the novel algorithm the constraint violations of the reservoirs were scaled by the time periods, thus the pump schedules which cannot satisfy the constraints in the earlier periods get worse fitness values than other schedules which violates the constraints only in the latter periods. The constraint violations are scaled with a polynomial function in order to emphasize the importance of feasibility in time:

sc(t) = (T + 1−t)λ (1)

Constraints at the beginning of the optimization period are evaluated with higher emphasis than others using relaxed weighting on the optimization horizon. The most significant term is the 1st having a scaling factor Tλ while the less significant is the last one (Tth) using a scaling factor 1.

Tests and performance

The developed algorithm was compared with standard genetic algorithms based on Penalty method, Deb’s approach and Powell–Skolnick method. The test network for the comparison was the water distribution system of Sopron (see Fig.9 for details). It was showed, that the neutral genetic algorithm is the most efficient method (in point of objective values and finding feasible solutions as well) – but if and only if the above prescribed constraint handling technique is used. Detailed results can be found in Table 2.

The novel algorithm was also compared to state-of-the-art solvers of the NEOS server [28]. The obtained results suggest that the genetic algorithm could be a good alternative of these methods in the case of water distribution management problems. Finally, case studies of a large-scale, real water distribution system were performed (Budapest – 1.7 million consumers, Fig.10).

The most significant advantage of the developed method is that it is able to solve scheduling problems of large-scale water distribution systems. It is insensible for non-linearities, therefore it is applicable also for complex optimization problems, where coupled hydraulic simulations are needed to compute the pumps’ operating points.

The main drawback of the algorithm that it does not handle the water demand uncertainties explicitly rather it uses expected values instead. Industrial experiments showed, that this approx- imation provides good enough schedules which can be valid for the 6-8 hours long, but after that new optimization is required in order to satisfy the reservoir constraints. Taking into account the stochastic nature of the water demands could serve as basis of a more reliable and robust optimization.

Another disadvantage is the computational requirement of the algorithm in case of coupled hydraulic simulations. A possible future research direction could be to accelerate the hydraulic

(8)

solver. Although the above mentioned difficulties are exist and thorough parameter study was not performed on the algorithm, the executed tests showed the potential of the approach.

Contribution 1

I added two novel techniques to the algorithm presented by Selek in [27] that allow the optimization of pump schedules in the case of complex, real-size pipe networks.

I developed a novel DNA representation to handle variable speed pumps and fixed speed pumps simultaneously.

I develop a novel constraint handling technique for improving the efficiency of the algorithm.

The approach is based on the equivalent transformation of the constraint system and uses a time-dependent scaling factor.

I compared this algorithm to three standard, widely used genetic algorithms. It was found that the current approach finds the first feasible solution with 39% less computational time in average than the second best method. The obtained objective is also statistically lower (the average difference is 0.1% compared to the second best technique).

The results were obtained by a joint research project with Istv´an Selek, Ph.D. The original version of the technique (the starting point of this research) can be found in his Ph.D.

dissertation, see [27]. Having said this, I emphasise that the above results are outcomes of my own work.

Related articles: [6], [7], [1], [8], [9], [2], [10].

2 An exact dynamic programming method for finding the global optimum of combinatorial pump scheduling problems

In this section a novel dynamic programming based algorithm will be presented which provides theexact optimum of combinatorial water network scheduling problems. Combinatorial problems mean that the pumps in the network have physically discrete operation points, i.e. the flow rates and the corresponding power consumptions compose well determined pairs which are not effected by the current state of the system, thus they can be determined a priori. This is a very common simplification in case of small scale waterworks, the problem group was former introduced in the Introduction as ’FDM’, fully discretized model.

Dynamic programming difficulties

In general dynamic programming implements the ’pulling’ model [29] which requires the state space to be quantized beforehand, that is, the state nodes must be generated and stored prior to initiating the computations. Due to quantization the value of the cost–to–go function is calculated over a finite set of node points which requires inverted state dynamics to obtain controls as a function of consecutive states. However, in deterministic problems if the space of the possible decisions is discrete mostly no control action exists for state pairs{x(t),x(t+ 1)}on a finite grid, see top of Fig.3.

Other possibility is the use of DDP by parceling the state space i.e. introducing state cells by partitioning instead of state nodes by sampling [30]. Partitions can be simply treated as sink cells by keeping only the best candidate solution within a cell at time t (all others are removed causing remarkable information loss) as it is shown in the middle of Fig.3. The method is simple to implement, however, it usually obtains solution far from global optimum when coarse discretization is used.

(9)

Novel method based on the permutational invariance of the pump schedules In my work, it was shown that the water delivered by the pumps in certain time intervals can permutated such a way, that the state of the network (the reservoir levels) will be the same at the end of the investigated time horizon (assuming the same initial state and exactly 1 reservoir belongs to 1 pressure zone). In other words, the state of the system is invariant to the permutations of the delivered amounts of water.

Then the optimization problem can be solved in finite number of steps by using the delivered water of the pumps as state variable of a dynamic programming. The introduced approach solves the discretization problem of the sate space as well. The discrete pseudo state space simultaneously generates a grid, see bottom of Fig.3. The nodes are introduced only on the achievable subset of the original state space at time t by a non uniform discretization. In what follows computer resources are not wasted by introducing nodes beforehand which can not be reached at timetand the algorithm gives the exact optimum due to the perfect discretization.

t x(t)

minimum maximum

0

0 1

t x(t)

minimum maximum

0

0 1 2 k k+1

t x(t)

minimum maximum

0

0 1 2 k k+1

Using inverted dynamics

Parceling the state space

Using permutational symmetries

nodesnodescells

k k+1

x

x x

x

x x

No feasible control between the nodes!

No feasible control between the nodes!

Information loss by keeping only the best trajectory ending in a cell!

Automatic discretization No cells

No information loss!

Figure 3: Solution strategies in case of combinatorial pump scheduling problems, where a pump group is delivering the water to a reservoir and consumptions exist.

Test

As test-network a small scale artificial Network called ’Small Sopron problem’ (Fig.7, with fixed well flow rate) was used. There are dozens of deterministic/stochastic approaches which can get close to the global optimum (or determine the global optimum) within seconds. For informative comparison some of those were executed on the test network, none of them was able to outperform the developed algorithm which provided the global solution within 0.03 second on a standard desktop PC, the corresponding optimal schedule is shown in Fig.4.

The developed algorithm finds the global optimum of pump scheduling problems if the above

(10)

0 6 12 18 24 0

200 400

time [h]

Flow rate [m3/h]

Well pump (0)

0 6 12 18 24

0 100 420

time [h]

Flow rate [m3/h]

Pump (0)

0 6 12 18 24

0 320 550

time [h]

Flow rate [m3/h]

Pump (1)

0 6 12 18 24

0 100 200 300

time [h]

Energy [kWh]

Power Station (0)

0 6 12 18 24

500 1000 1500 2000

time [h]

Water volume [m3]

Water Reservoir (0)

0 6 12 18 24

1000 2000 3000

time [h]

Water volume [m3]

Water Reservoir (1)

0 6 12 18 24

500 1000 1500 2000

time [h]

Water volume [m3]

Water Reservoir (2)

Figure 4: Optimal schedule: 5830 e. Peak charging periods (2 e/kWh) are grey shaded while off–peak periods (1 e/kWh) are colourless. Thin lines represent constraints.

mentioned conditions are true (combinatorial problems, deterministically modelled water con- sumptions) without any further restrictions for the constraint system and the electricity tariff.

The approach solves the curse of dimensionality [31] on the state space by exploiting the phe- nomenon of permutational invariance and using the introduced pseudo state space instead of the original state space. However, the curse of dimensionality on the action space still remains a significant drawback thus the method is restricted to small and moderate sized network.

The presented approach still has benefits despite of the above mentioned restrictions. First of all it is a powerful tool for obtaining the global optima of medium size benchmark problems.

Furthermore it is directly applicable for the on-line pump scheduling of local waterwork systems on hilly terrain (which usually have the following characteristics: there are only fixed speed pumps in the network, the operation points are determined by the geodetic heights and the network contains only 3-4 pump stations).

Contribution 2

I developed a dynamic programming based optimization algorithm for finding the global optimum of combinatorial pump schedule problems (i.e., the pumps have discrete, fixed operating points and exactly one reservoir is connected to each pressure zone).

I showed for combinatorial water networks that a schedule of a pump can be permuted without changing the resulting state of the system, independently from the electric tariff and the power peak limitations. This phenomenon is called permutational invariance.

I developed an approach, that exploits the permutational invariance. As a result the dis- cretization of the state space is performed automatically without any information loss thus the algorithm provides the global optimum.

Related publication: [3].

3 An approximate dynamic programming technique for solving a wide range of pump scheduling problems

The previous section introduced a dynamic programming approach which provides the global optimum of certain pump schedule optimization problems. This algorithm was interesting from the scientific point of view – however the direct application for real networks is restricted to small and medium scale water network systems, which can be modelled as combinatorial problems (the

(11)

pumps’ flow rate – consumed power pairs are discrete values). On the other hand, section 1 described a genetic algorithm, which is able to provide near-optimal solutions for various types of water distribution system problems but sometimes fail to provide any feasible solution. The scientific aim of this part is to merge the advantages of these methods and develop a dynamic pro- gramming technique which always provide feasible solutions for various types of water distribution systems.

If one wants to solve the above mentioned problem by dynamic programming methods – approximations must be performed. The present section introduces an approximate dynamic programming approach which based on the spatial decomposition of the network and aggregation technique in order to decrease the state space and make the algorithm computationally feasible.

Novel spatial decomposition technique

The basic idea of the novel method is splitting the network into smaller units in order to reduce the state and the action space of the solvable sub-models compared to the original one. The remaining sub-models are the main distribution system and the well fields as shown in Figs. 7, 9.

The novel algorithm solves the optimization tasks of the main distribution system and the well fields step-by-step together, simultaneously. The core of the algorithm could be any kind of dynamic programming approach but works only on the main distribution system: the constraints derived from the well fields (daily exploitation limits, switching limitations and the corresponding (well) reservoir limits) are removed in the first step, only the trajectories which do not satisfy constraints of the main distribution system’s reservoir or power limits are removed.

Then, the constraints of the well field are checked in an embedded subroutine. For each well field a linear programming problem can be defined in period t which consists of t+ 1 linear equations. In most real-life cases the LP problem stands without any objective function due to the fact that the power consumption of the well pumps can be neglected compared to the whole system, see VWM model. However, a linear objective function (the power consumption - flow rate function of the well pump) can be involved without any modification on the algorithm.

Further decreasing of the state space

Although the above introduced well-handling method decreases the search space significantly, it is not satisfying for solving the pump scheduling problems of medium or large scale networks such as the waterworks of Sopron (Fig.9). A new technique is introduced here which applies the novel well-handling as well, but uses a different algorithm for solving the problem of the main distribution system instead of doing dynamic programming in the pseudo state space.

The idea is to diminish the state space to only a small number of reservoirs, which are called askey reservoirs. The action space remains the same which allows computing the actual volume of all reservoirs in order to check to constraints which overcome the difficulty of aggregation techniques mentioned before. However, only two reservoirs are used for making a computational grid for the dynamic programming. The pseudo code of the algorithm is given in Alg. 1.

However, selecting the key reservoirs is a challenging task: one must ensure that their state can describe the state of the whole system sufficiently accurate in order to achieve good solutions.

The selection can be done based on personal experience and intuition or by exhaustive test-runs.

Tests

10 different test-cases were defined for the Sopron network, which differ in the initial water volumes of the reservoirs; the objective function was the total cost. Each of two key reservoirs was discretized into 50 cells which was found as a good compromise between the computer demand and the quality of the solutions. These test cases have been already solved by the neutral genetic algorithm (introduced in the first section).

(12)

Algorithm 1 Pseudo code of the approximate dynamic program which uses the key reservoirs for generating the state space

set the initial state fort= 1 toT do

for allstate built from the key reservoirs (KR) do

for all possible control action of the main distribution system (MDS)do compute the new state of the KR

if the MDS is feasiblethen

solve all LP-subproblems which describe the well fields (WF) if allWF is feasible then

...

check the cost and write the new solution if necessary ...

end if end if end for end for end for

choose the best solution

A single computation took 2 minutes for the former presented GA, 25 seconds for the ADP.

The objective values obtained by the ADP and the GA are nearly the same. The ADP has the advantage that the solution satisfies the whole constraint system in every single run while the GA fails in 4% of the cases.

Real life use

The presented ADP method has also been set up on the server machine of the waterworks of Sopron for daily use. Although the algorithm performs well, human operators found the switching number of the pumps still high. After changing the objective function to the switching number another schedule was obtained. The effect is obvious: in the first case the total cost was 7186 ewhile the switching number 72, while in the second case the values were 8555eand 29 switches.

The linear combination of these quantities as the objective function is also possible and does not need any modification in the program code.

Contribution 3

I developed a novel dynamic programming based algorithm which provides near-optimal solutions for pump schedule optimization problems for complex, real size networks.

The method handles the well fields (consisting of the well pumps and their pressure side reservoirs) as independent, but coupled linear programming problems. The method provided better (or equivalent) results on the test cases than the investigated softwares of the [28]

server.

I developed a novel method in order to decrease the search space. The state space is composed of the water volumes of the few most important reservoirs, called ’key-reservoirs’.

However, the volume limitations of the rest of the water distribution system are also checked.

I showed two possibilities for choosing the key-reservoirs.

I illustrated the operation of the new method through real-life example (the city Sopron) and compared the results to the ones obtained by the genetic algorithm mentioned in Con-

(13)

0 1 2 3 4 0

2 4 6 8 10 12

Q [dm3/s]

H [m],[10%]h

h=0.38 h=0.36

h=0.34

H(Q) pump h(Q) pump H(Q) network h= constant

0 1 2 3 4

0 2 4 6 8 10 12

Q [dm3/s]

H [m], F [105 J/m3 ]

F=2.2×105J/m3

F=1.9×105J/m3

F=1.6×105J/m3 H(Q) pump F(Q) pump H(Q) network F = constant

Figure 5: LEFT: Iso-efficiency lines over theH−Qspace (shell diagram), and the best efficiency point for a given system curve. RIGHT: Isolines of the specific energy consumption (SEC) over theH−Q space, and the lowest SEC point for a given system curve.

tribution 1. The objective values were find to be 0.3% worse while the computational time was decreased by 80% and the success rate of the new method is 100%.

Related publications: [4], [11], [3].

4 Minimizing the specific energy consumption in order to achieve the energy optimum of systems fed by one variable speed pump

As it was already stated before the energy consumed by the pumps constitutes the major energy need of hydraulic systems. One possibility of setting the operating point in a smooth and eco- nomical way is to change the revolution number of the driving motor with the help of a frequency converter. Nowadays, due to their advantages, variable speed pumps are routinely installed in water distribution systems.

There are two important quantities describing the energetic balance of the pump. The first one is the efficiency

η= Pout Pin

= QHρg Pin

, (2)

which is simply the ratio of the useful and input power. (Q denotes the flow rate, H the head, ρ the water’s density and g is the gravitational acceleration.) The second quantity is thespecific energy consumption [32] which measures the energy needed for conveying a given amount of fluid:

F = Ein V = Pin

Q = Pout

ηQ = QHρg

ηQ =ρgH

η , (3)

and gives the power needed to convey unit flow rate. Note, that in the case of waterworks, the volume of fluid sold represents the income of the firm while the input energy is directly related to the electric bill. Thus the specific energy consumption is basically the ratio of the outcomes and incomes.

TheH(Q),η(Q) andF(Q) curves can be recorded at different revolution numbers. Fig.5 shows them, where also the isolines of the efficiency (left panel) and the specific energy consumption (right panel) are shown. The best efficiency / lowest specific energy consumption point is exactly where one of the iso-efficient lines is tangent to the system’s curve. One can see, that these points clearly differs.

(14)

time [h]

dimensionless water level [-]

0 4 8 12 16 20 24

0.1 0.12 0.14 0.16 0.18 0.2

SLO DP

SLO total cost= 2.6928, DP total cost= 2.6974

time [h]

dimensionless rev. number [-]

0 4 8 12 16 20 24

0 0.2 0.4 0.6 0.8

SLO DP

Figure 6: Comparison of the optimal schedules obtained by the two methods: the novel developed SLO technique and the dynamic programming approach (DP)

Technique of following the series of the local optima

As a next step the system depicted in Fig.8 was investigated by using analytical characteristic curves which are close to real pumps’ performance curves. The system consists of an unlimited water source, a pump, a pipe network (modelled by a concentrated loss), an upper reservoir and a node into which the consumption is concentrated. Dimensionless varaiables were introduced in order to ease thorough parameter studies.

It was analytically shown that it is energetically better if the specific energy consumption is minimized instead of maximizing the efficiency of the pump. A formula for computing the optimal revolution number was also derived. It was also shown that the method still works with real-life, measured curves.

As an extension of the first method, a new case was investigated when the water level variation in the reservoir cannot be neglect and a constant, a priori known consumption is present. It was discovered, that global optimum can be gained by discretizing the time horizon and using the above mentioned method choosing the revolution number corresponding to the lowest specific energy consumption to find the optimal revolution number. In other words, the series of the local optima (the current revolution number at the given reservoir level) gives the global optimum (the control trajectory) for the investigated time horizon. This phenomenon was proved by comparing the results to a discrete dynamic programming method.

The last step was to solve the daily scheduling problem in the case of varying water demands.

Here the optimization process is suggested to be divided into 3 phases: emptying (i.e. reaching state with lowest allowed water level), keeping the water level close to this level and finally, a filling process which was introduced above. Comparisons showed again, that the method provides near-optimal solutions. An example is shown in Fig.6 which compares the best schedules obtained by the novel technique and a standard, but high resolution dynamic programming method.

(15)

The presented method works only on single tank filling processes and does not take into account the differences of the energy tariff during the optimization horizon. However, the aim of this work was not the developing of a general optimizer but rather to understand the optimal operation of a variable speed pump from energetic point of view.

Contribution 4

I developed a method for the energy optimization of a simple network consisting of one reservoir, a pipeline and one variable speed pump. The approach is based on minimizing the specific energy consumption. I performed a thorough parameter study on the test network and the obtained results were compared to the results of a standard, high resolution discrete dynamic program.

I investigated the tank filling process. The filling process was discretized in time and in each time period those revolution numbers were set which represented the lowest specific energy consumption at the current water level. In other words, the filling process follows the series of local optima. The method provided the same or better results within 4% of the DDP’s running time.

I developed a pump scheduling policy for a finite time horizon in the presence of deterministic but time-dependent water consumption. The optimal schedule consists of the following phases: emptying, keeping the water level close to the allowed minimum and filling as it was suggested above. The method provided the same results in average within 2.5% of the DDP’s running time.

Related publications: [12], [13], [5].

Appendix: Test networks

Small Sopron

Power Station

Water Reservoir (0)

Water Source Water

Reservoir (1)

Water Reservoir (2)

Pump (0) Pump (1)

Node (0) Node (2)

Node (1) Water

Demand (0)

Water Demand (1)

Well pump

Constant speed pump (discrete flow rate,

pump without frequency converter) Variable speed pump (continuous flow rate, pump with frequency converter)

Main distribution network Well field

Figure 7: Small Sopron sample network

The topology of the Small Sopron network is depicted in Fig.7. This is an artificial network inspired by the real Sopron network, which means that the modelling properties are similar but the size of the network is much smaller. The network contains of two discrete pumps and one variable speed well pump, the energy consumption of the latter is negligible. Hydraulic simulation is not needed, the operation points are known a priori. For details about the modelling see level VWM and FDM in the Introduction.

(16)

The network has two realizations. In the first case the well flow rate is set to a fixed value and in the other case it is modelled as a floating point variable within a given interval. Then an additional constraint appears: the flow rate of the well can be changed only 4 times within a day due to technological reasons. Due to practical considerations, this time instances were chosen the same when the energy tariff is changing.

Single tank network

Water reservoir

Water source

Node

Water demand Pipe

network

α Pump

Figure 8: Sample network for reservoir filling

The topology is depicted in Fig.8 and takes into account the full hydraulics. The network is an artificial network which consists of a variable speed pump, a pipe network (characterized by one edge equation) and a water (or any liquid), thus it can model a waterwork of any small village or the tank filling of any other industrial (e.g. chemical) process.

Sopron

The water distribution system of Sopron supplies 120 thousands of residential consumers (60 thousand in Sopron, and the latter part in the suburban) and several industrial partners. The network contains of 7 discrete pumps and 3 variable speed well pump, the energy consumption of the latter ones are negligible. Hydraulic simulation is not needed, because the hilly terrain of Sopron determines the operational points of the pumps which can be computed a priori. For details about the modelling see level VWM in the Introduction. As optimal control problem the one-day (24h) optimal pumping policy of the test network is investigated on hourly basis (T = 24,

∆t= 1h).

Waterworks of Budapest

The waterworks of Budapest supplies almost 2 million residential consumers and several factories all around the Hungarian capital. The waterworks consist of 8 different pressure zones, however, those pumps consumes the 90% of the energy which are located in the Central zone and the so called East-Pest zone thus only these 2 zones (called Base zone) were involved to the model.

The original number of the pipes were over 50 thousand in the Base zone. This has been simplified for hydraulic simulations, the final model consists of 193 pipes, 19 fixed speed pumps, 25 variable speed pump, 13 on/off type valves, 11 reservoirs and 216 nodes. More details about the possible modelling can be found in the Introduction, FHM model.

WoS journal publications with IF

[1] J.G. Bene, I. Selek, and Cs. H˝os. Neutral search technique for short-term pump schedule optimization. Journal of Water Resources Planning and Management, 136(1):133–137, 2010.

IF: 1.908.

(17)

Water Reservoir (0)

Well 2

Pump (0) Pump (1) Pump (2) Pump (3)

Pump (5) Pump (4)

Pump (6)

Pump (7)

Node (0) Water

Demand D4

Power Station (0)

Water Reservoir (1)

Water Reservoir (2) Water

Reservoir (3) Water Reservoir (5)

Water Reservoir (4)

Water Reservoir (6)

Water Reservoir (7)

Power Station (4)

Power Station (1)

Power Station (2)

Power Station (3)

Well 1

Well 0 Well 3

W3 Water Demand

D5

Water Demand

D6

Water Demand

D7

Water Demand

D8

Node (1) Node (2) Node (5)

Node (4)

Node (6)

Node (7)

Node (3)

Well 4

Well pump (1)

Well pump (2)

Well pump (0)

Constant speed pump (discrete flow rate,

pump without frequency inverter)

Variable speed pump (c

equipped with frequency inverter) ontinuous flow rate, pump

Discrete flow input / output

Well field (2)

Well field (0) Well field (2)

Well field (1)

Main distribution system

Figure 9: Water distribution system of Sopron

[2] Istv´an Selek, J´ozsef Gergely Bene, and Csaba H˝os. Optimal (short-term) pump schedule de- tection for water distribution systems by neutral evolutionary search.Applied Soft Computing, 12(8):2336–2351, 2012. IF: 4.053.

[3] J´ozsef Gergely Bene and Istv´an Selek. Water network operational optimization: Utilizing symmetries in combinatorial problems by dynamic programming. Periodica Polytechnica Civil Engineering, 56(1):1–12, 2012. IF: 0.697.

[4] J´ozsef Gergely Bene, Istv´an Selek, and Csaba J´anos H˝os. Comparison of deterministic and heuristic optimization solvers for water network scheduling problems. Water Science and Technology: Water Supply, 2013. Accepted paper. DOI: 10.2166/ws.2013.148.IF: 0.495.

[5] J´ozsef Gergely Bene and Csaba J´anos H˝os. Finding least-cost pump schedules for reservoir filling with a variable speed pump. Journal of Water Resources Planning and Management, 138(6):682–686, 2012. IF: 1.500.

Non-WoS publications

[6] J. Bene and Cs. H˝os. Computation of cost-optimal pump scheduling for regional waterwork using genetic algorithm. In Fifth Conference on Mechanical Engineering (G´ep´eszet 2006), Budapest, Hungary, 25-26 May 2006.

(18)

Figure 10: Simplified hydraulic network of the Central zone and the East-Pest zone of Budapest [7] J´ozsef Bene and Csaba H˝os. Region´alis v´ızm˝uh´al´ozat ¨uzemvitel-optimaliz´aci´oja. In OG ´ET

2009 - XVII. Nemzetk¨ozi G´ep´eszeti Tal´alkoz´o, Gheorgeni, Romania, 23-26 April 2009.

[8] Csaba H˝os and J´ozsef Bene. Szivatty´uz´asi rendszerek ¨uzemvitel-optimaliz´aci´oja. Szivatty´uk, kompresszorok, v´akuumszivatty´uk, 17(1):57–60, 2010.

[9] J. Bene and Cs. H˝os. A novel constraint handling technique for genetic algorithm-based pump schedule optimization. In Seventh Conference on Mechanical Engineering (G´ep´eszet 2010), Budapest, Hungary, 25-26 May 2010.

[10] J´ozsef Bene, Csaba H˝os, and Bence Farkas. A case study on pump schedule optimization of large-scale waterwork system. In Eighth Conference on Mechanical Engineering (G´ep´eszet 2012), Budapest, Hungary, 24-25 May 2012.

[11] J. G. Bene, I. Selek, Cs. H˝os, A. Havas, and ´A. Varga. Comparison of deterministic and heuristic optimization solvers for water network scheduling problems. In 6th International Conference for Young Water Professionals, Budapest, Hungary, 10-13 July 2012.

[12] J´ozsef Bene and Csaba H˝os. T´aroz´o minim´alis energia-felhaszn´al´as´u t¨olt´ese v´altoztathat´o fordulatsz´am´u szivatty´uval. Szivatty´uk, kompresszorok, v´akuumszivatty´uk, 18(1):25–29, 2011.

[13] Jozsef Bene. Energy optimization of a variable speed pump. In 4th Annual JOPOKKI Post-Graduate Seminar, Oulu, Finland, 09 June 2011.

(19)

References

[14] M. Feldman, “Aspects of energy efficiency in water supply systems,” in Proceedings of the Fifth IWA Water Loss Reduction Specialist Conference, pp. 85–89, Morgan Kaufmann Pub- lishers, 2009.

[15] V. Nitivattananon, E. C. Sadowski, and R. G. Quimpo, “Optimization of Water Supply System Operation,”Journal of Water Resources Planning and Management, vol. 122, no. 5, pp. 374–384, 1996.

[16] G. Cembrano, G. Wells, J. Quevedo, and R. P. ad R. Argelaguet, “Optimal control of a water distribution network in a supervisory control system,” Control Engineering Practise, vol. 8, pp. 1177–1188, 2000.

[17] L. M. Mays, Water distribution systems handbook. McGraw-Hill Handbooks, 1999.

[18] L. E. Ormsbee and K. E. Lansey, “Optimal control of water supply pumping systems,”

Journal of Water Resources Planning and Management, vol. 120, no. 2, pp. 39–47, 1994.

[19] P. L. Angel, J. A. Hernandez, and R. Agudelo, “Fuzzy expert system model for the operation of an urban water supply system,” in Computing and control for the water industry (D. A.

Savic and G. A. Walters, eds.), (Baldock, U.K.), pp. 449–457, Research Studies, 1999.

[20] L. E. Ormsbee and S. L. Reddy, “Nonlinear heuristic for pump operations,”Journal of Water Resources Planning and Management, vol. 121, no. 4, pp. 302–309, 1995.

[21] J. W. Labadie, “Optimal operation of multireservoir systems: State–of–the–art review,”

Journal of Water Resources Planning and Management, vol. 130, pp. 93–111, March 2004.

doi:10.1061/(ASCE)0733-9496(2004)130:2(93) (19 pages).

[22] M. Tu, F. Tsai, and W. Yeh, “Optimization of water distribution and water quality by hybrid genetic algorithm,” Journal of Water Resources Planning and Management, vol. 131, no. 6, p. 431–440, 2005.

[23] E. Ikonen, I. Selek, and J. Bene, “Optimization of pumping schedules using the genealogical decision tree approach,” Chemical Product and Process Modelling, vol. 7, no. 1, pp. 1–25, 2012. Not related to own contributions. IF: 0.441.

[24] M. H. Sabet and O. J. Helweg, “Cost effective operation of urban water supply system using dynamic programming,” Water Resources Bulletin, vol. 21, no. 1, pp. 75–81, 1985.

doi:10.1111/j.1752-1688.1985.tb05353.x.

[25] V. Chandramouli and H. Raman, “Multireservoir modeling with dynamic programming and neutral networks,” Journal of Water Resources Planning and Management, vol. 127, no. 2, pp. 89–97, 2001. doi:10.1061/(ASCE)0733-9496(2001)127:2(89) (10 pages).

[26] C. Cervellera, V. C. P. Chen, and A. Wen, “Optimization of a large-scale water reservoir net- work by stochastic dynamic programming with efficient state space discretization,”European Journal of Operational Research, vol. 171, no. 3, pp. 1139–1151, 2006.

[27] I. Selek,Novel Evolutionary Methods in Engineering Optimization - Towards Robustness and Efficiency. Dissertation, University of Oulu, 2009.

[28] NEOS, “Server for optimization.” http://www.neos-server.org/neos/, 2012.

[29] P. A. Jensen and J. F. Bard, Operations research: models and methods. Wiley, 2003.

doi:10.2307/2344020.

(20)

[30] G. Hal´asz, G. Krist´of, and L. Kullmann,Aramlas cs˝´ oh´al´ozatokban. (Flow in pipe networks).

M˝uegyetemi kiad´o, 2002. (in Hungarian).

[31] W. B. Powell, Approximate Dynamic Programming: Solving the Curses of Dimensionality.

John Wiley and Sons, 2007.

[32] A. Wallbom-Carlson, “Energy comparison vfd vs. on-off controlled pumping stations,” Sci- entific Impeller, vol. 136, no. 5, pp. 29–32, 1998. ITT Flygt AB, Solna, Sweden.

Hivatkozások

KAPCSOLÓDÓ DOKUMENTUMOK

Antal Z, Hatvani L, Varga J, Kredics L, Szekeres A, Manczinger L, Vágvölgyi C, Nagy E Double-stranded RNA elements in Trichoderma strains obtained from mushroom farms ACTA

Essential minerals: K-feldspar (sanidine) &gt; Na-rich plagioclase, quartz, biotite Accessory minerals: zircon, apatite, magnetite, ilmenite, pyroxene, amphibole Secondary

In this paper, recently developed set theoretical variants of the teaching-learning-based optimization (TLBO) algorithm and the shuffled shepherd optimization algorithm (SSOA)

The proposed optimization problem is solved by using the Genetic Algorithm (GA) to find the optimum sequence- based set of diagnostic tests for distribution transformers.. The

The other military ranks held by Menyhért Ráttky was more significant than the office of deputy district-captain-general and the main function of György Ráttky in turn

The decision on which direction to take lies entirely on the researcher, though it may be strongly influenced by the other components of the research project, such as the

Abstract The extended cutting plane algorithm (ECP) is a deterministic optimization method for solving con- vex mixed-integer nonlinear programming (MINLP) problems to global

The results of the complex analytical procedure for determining the 89/90 Sr content of the liquid radioactive waste of the Paks Nuclear Power Plant (NPP), as well as the results