Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

1 Introduction

From a functional perspective, a regional water network can be structurally organized into two separate systems:

  • Transport system, composed by water sources, open channels, large reservoirs and also natural aquifers.

  • Supply system, which links water treatment and desalinization plants with reservoirs distributed all over the city.

Both of the partitions of a regional water network must be operated at different time scale because of the different dynamics they present according to their specified objectives. In general, these systems are normally separately operated. The coordinated operation of supply and transport systems in a regional network is one of the main motivations for the research reported in this chapter.

In recent literature, there is a renewed interest in hierarchical MPC either from industrial practice or from academia [10, 11]. This is specially the case when a system is composed of subsystems with multiple time scales as the case of the regional water networks. A straightforward task of designing and implementing a single centralized control unit is too difficult as discussed in [3], because the required long prediction horizon and short control time steps might lead to an optimization problem of high dimension and under large uncertainty radius. A way to cope with this problem is to apply a hierarchical control based on decomposing the original control task into a sequence of different, simpler and hierarchically structured subtasks, handled by dedicated control systems operating at different time scales [1].

This chapter proposes a temporal hierarchical MPC scheme for complex transport and supply water systems. The proposed strategy will coordinate the MPC controllers for the transport and supply systems by means of a temporal hierarchical sequence of optimization problems with constraints going from one level of the hierarchy to the other. Case study and results are described in Sect. 7.2. Interdisciplinary discussion about the unified framework and some open topics are explained in Sects. 7.3 and 7.4, respectively. Finally, conclusions and future research are provided in Sect. 7.5.

2 Case Study: Catalunya Regional Water Network

The Catalunya Regional Water Network in Fig. 7.1 lies within the Catalunya Inland Basins, from which the Metropolitan area of Barcelona is fed and where most of the population is concentrated. It composed by river Llobregat, Ter and the related components. According to definition of functional decomposition, the Catalunya Regional Water Network can be separated into two systems. The transport system, composed by rivers Llobregat, Ter and all the connected elements, lies at the two side of Fig. 7.1. The supply system, composed by metropolitan areas and also treatment, desalination plants inside them, lies in the center.

Fig. 7.1
figure 1

Aggregate diagram of Catalunya regional water network

2.1 Operational Goals of the Transport System

The goal of a water transport system is basically to maintain the river water levels while providing water to the supply system and satisfying irrigation demands.

The control problem of the transport system is typically operated within a 30-day horizon, at daily time scale and operational goals should be achieved are:

  • Operational safety (J safety ): This criterion refers to maintain appropriate water storage levels in dams and reservoirs for emergency-handling.

  • Demand management (J demand ): This is especially important in the transport system when urban and irrigation demands exist since urban demands must be fully satisfied while irrigation demands allow some degree of slackness.

  • Balance management (J balance ): This is necessary for keeping rivers or reservoirs to be used in a balanced way and escaping water deficit problem in a longer time.

  • Minimizing waste (J mwaste ): Taking into account that the river water eventually goes to the sea, this term ties to avoid unnecessary water release from reservoirs (that is release water that does not meet any demand and is eventually wasted).

  • Transport water levels (J level ): Water sources such as boreholes, reservoirs and rivers are usually subject to operational constraints to maintain certain water levels which are needed for transporting over water and maintaining ecological flows.

  • Control actions smoothness (J smoothness ): The operation of transport over water usually requires smooth flow set-point variations for best process operation.

2.2 Operational Goals of the Supply System

The immediate control goal of water supply system is to meet the demands at consumer sites with appropriate flows and optimized costs according to users’ needs.

The supply network is typically operated with a 24 h horizon, at hourly time scale. The main operational goals to be achieved in the supply network are:

  • Cost reduction (J cost ): Water cost is related to treatment, which have different prices at different sources, and due to different source elevations, which implies electrical pumping costs affected by power tariffs which may vary in a day.

  • Operational safety (J safety ): This criterion refers to maintain appropriate water storage levels in dams and reservoirs of the network for emergency-handling.

  • Control actions smoothness (J smoothness ): The operation of water treatment plants and main valves/pumps usually requires smooth flow set-point variations for best process operation.

2.3 Temporal Hierarchical Coordinating Technique

The general principle of a pure temporal hierarchical controller is that: decision of a higher level has a wider temporal extent than that of a lower level, and the higher level decision units process more aggregated information than the lower ones [2].

In this chapter, transport system could be assumed as the upper level, while supply systems could be considered as the lower level. This temporal hierarchical coordinating structure is proposed in Fig. 7.2. In the upper level, the daily model of the supply system is used in order to estimate the aggregated prices (which include both water and electricity costs) by means of the optimal path method (OPM) in [4, 6]. Detailed algorithms for this temporal coordination mechanism will be provided in detail in the following section.

Fig. 7.2
figure 2

Temporal hierarchical coordinating structure

2.4 MPC of the Transport System

2.4.1 State Space Model

State space model of transport system includes two kind of states and control variables. First kind of state variables represent reservoirs and the managed variables correspond to actuator flows:

$$\displaystyle{ x(k + 1) = A\,x(k) + B\,u(k) + B_{p}\,[d(k) -\varepsilon (k)],\quad k \in \mathbb{Z} }$$
(7.1)

where \(x(k) \in \mathbb{R}^{n_{x}}\) are reservoir volumes, \(u(k) \in \mathbb{R}^{n_{u}}\) are actuator flows, \(d(k) \in \mathbb{R}^{n_{d}}\) represents disturbance demands, \(\varepsilon (k) \in \mathbb{R}^{n_{d}}\) is slack variable for violated demands and \(\varepsilon (k)\) is introduced to control the amount of demand which has not been satisfied.

The second kind of state and control variables represent river flows with delays. For simplicity and brevity, consider river reach model as a transport delay [7]:

$$\displaystyle{ q_{out_{i}} = q_{in_{i}}(k -\tau _{d}), }$$
(7.2)

where τ d represents delay values.

For time delays associated with flows within the network, the following auxiliary state equations are introduced:

$$\displaystyle\begin{array}{rcl} x_{j},_{1}(k + 1) = q_{j}(k),& &{}\end{array}$$
(7.3)
$$\displaystyle\begin{array}{rcl} x_{j},_{i+1}(k + 1) = x_{j},_{i}(k),i = 1,\cdots \,,\tau _{d},& &{}\end{array}$$
(7.4)

where \(x_{j},_{i}(k) \in \mathbb{R}^{n_{x}^{{\prime}} }\) represent flows, \(q_{j}(k) \in \mathbb{R}^{n_{u}^{{\prime}} }\) means flow as part of control variables and \(\tau _{d} \in \mathbb{Z}\) is number of delays.

Combining (7.3), (7.4) with (7.1), state space representation (7.1) becomes

$$\displaystyle{ \tilde{x}(k + 1) =\tilde{ A}\,\tilde{x}(k) +\tilde{ B}\,\tilde{u}(k) +\tilde{ B}_{p}\,[d(k) -\varepsilon (k)],\quad k \in \mathbb{Z}, }$$
(7.5)

where

$$\displaystyle\begin{array}{rcl} \tilde{x}(k)\; =\; \left [\begin{array}{c} x(k)\\ x_{ j},_{i}(k)\\ \end{array} \right ],\quad \tilde{u}(k)\; =\; \left [\begin{array}{c} u(k)\\ q_{ j}(k)\\ \end{array} \right ],& & {}\\ \end{array}$$

and \(\tilde{x}(k) \in \mathbb{R}^{\tilde{n}_{x}}\), \(\tilde{u}(k) \in \mathbb{R}^{\tilde{n}_{u}}\).

All the variables are subject to the following inequality constraints:

$$\displaystyle{ \tilde{x}_{\mathit{min}} \leq \tilde{ x}(k) \leq \tilde{ x}_{\mathit{max}}, }$$
(7.6)
$$\displaystyle{ \tilde{u}_{\mathit{min}} \leq \tilde{ u}(k) \leq \tilde{ u}_{\mathit{max}}, }$$
(7.7)
$$\displaystyle{ \varepsilon _{\mathit{min}} \leq \varepsilon (k) \leq \varepsilon _{\mathit{max}}, }$$
(7.8)

where \(\tilde{x}_{\mathit{min}}\), \(\tilde{x}_{\mathit{max}}\) are physical limitations of reservoirs, \(\tilde{u}_{\mathit{min}}\), \(\tilde{u}_{\mathit{max}}\) are physical limitations of the river flows and ɛ min lies between zero and the related demand.

Besides that, the balance at every node should be satisfied, where E, E d , \(E_{\tilde{x}}\) are matrices which parameters can be obtained from topology of the water network:

$$\displaystyle{E\,\tilde{u} + E_{d}\,d - E_{d}\,\varepsilon + E_{\tilde{x}}\,\tilde{x} = 0.}$$

2.4.2 Control Objectives

Operational goals of the transport system lead to the following function:

$$\displaystyle\begin{array}{rcl} J& =& J_{\mathit{safety}} + J_{\mathit{demand}} + J_{\mathit{mwaste}} + J_{\mathit{balance}} + J_{\mathit{level}} + J_{\mathit{smothness}}{}\end{array}$$
(7.9)
$$\displaystyle\begin{array}{rcl} & =& \varepsilon _{\tilde{x}}(k)^{\top }W_{\tilde{ x}}\varepsilon _{\tilde{x}}(k) +\varepsilon (k)^{\top }W_{ f}\varepsilon (k){}\end{array}$$
(7.10)
$$\displaystyle\begin{array}{rcl} & & \quad + (\tilde{u}_{i\ldots j}(k) -\tilde{ u}_{s}(k))^{\top }W_{\tilde{ w}}(\tilde{u}_{i\ldots j}(k) -\tilde{ u}_{s}(k)){}\end{array}$$
(7.11)
$$\displaystyle\begin{array}{rcl} & & \quad + (\left (\begin{array}{*{10}c} 0\,\,\ldots 0\,\,\,\, \frac{1} {x_{i,max}}\,\,\,\,0\ldots 0\,\,\,\, \frac{-1} {x_{j,max}}\,\,\,\,0\ldots \,\,0 \end{array} \right )\tilde{x}(k))^{\top }w_{\tilde{m}}{}\end{array}$$
(7.12)
$$\displaystyle\begin{array}{rcl} & & \quad \times (\left (\begin{array}{*{10}c} 0\,\,\ldots 0\,\,\,\,\,\, \frac{1} {x_{i,max}}\,\,\,\,\,\,0\ldots 0\,\,\,\,\,\, \frac{-1} {x_{j,max}}\,\,\,\,\,\,0\ldots \,\,0 \end{array} \right )\tilde{x}(k)) \\ & & \quad + \Delta \tilde{u}(k)^{\top }W_{\tilde{ u}}\Delta \tilde{u}(k), {}\end{array}$$
(7.13)

where

$$\displaystyle\begin{array}{rcl} \varepsilon _{\tilde{x}}(k)& =& \tilde{x}(k) -\tilde{ x}_{r}, {}\\ \tilde{u}& =& \Theta \Delta \tilde{u} + \Pi \tilde{u}(k - 1), {}\\ \Delta \tilde{u}(k)& =& \tilde{u}(k) -\tilde{ u}(k - 1), {}\\ \end{array}$$

and \(W_{\tilde{x}}\), \(W_{f}\), \(W_{\tilde{w}}\), \(W_{\tilde{x}}\), \(w_{\tilde{m}}\), \(W_{\tilde{u}}\) are weights which decide the priorities (established by the water network authorities) for all the objective terms.

Water storage in reservoirs should be kept above a given level (named as water safety level) which is used as emergency supply for drought period. Any situation below the emergency level should be penalized using soft constraints:

$$\displaystyle{ \tilde{x} \geq \tilde{ x_{r}} -\varepsilon _{\tilde{x}}, }$$
(7.14)
$$\displaystyle{ \varepsilon _{\tilde{x}} \geq 0, }$$
(7.15)

where \(\tilde{x_{r}}\) is the water safety level and \(\varepsilon _{\tilde{x}}\) is the slack to \(\tilde{x_{r}}\).

2.5 MPC of the Supply System

Basic state-space model is used for the supply system [9].

2.5.1 Control Objectives

Operational goals of the supply system will lead to the following function:

$$\displaystyle\begin{array}{rcl} J& =& J_{\mathit{safety}} + J_{\mathit{smothness}} + J_{\mathit{cost}}{}\end{array}$$
(7.16)
$$\displaystyle\begin{array}{rcl} & =& \varepsilon _{\tilde{x}}(k)^{\top }W_{\tilde{ x}}\varepsilon _{\tilde{x}}(k) + \Delta \tilde{u}(k)^{\top }W_{\tilde{ u}}\Delta \tilde{u}(k) + W_{a}(a_{1} + a_{2}(k))\tilde{u}(k),{}\end{array}$$
(7.17)

where

$$\displaystyle\begin{array}{rcl} \varepsilon _{\tilde{x}}(k)& =& \tilde{x}(k) -\tilde{ x}_{r}, {}\\ \tilde{u}& =& \Theta \Delta \tilde{u} + \Pi \tilde{u}(k - 1), {}\\ \Delta \tilde{u}(k)& =& \tilde{u}(k) -\tilde{ u}(k - 1), {}\\ \end{array}$$

and \(W_{\tilde{x}}\), \(W_{\tilde{u}}\), W a are weights which establish the priorities for the objective terms and the vectors a 1 and a 2 contain the cost of water treatment and pumping, respectively.

2.6 Temporal Hierarchical Coordinating Technique

2.6.1 Optimal Path Method

When optimizing the transport system, the whole supply system will be simplified into a virtual demand with unitary price after considering both the treatment and electricity costs. In order to determine this unitary price, OPM is used [4].

There are three steps for realizing OPM:

  • Step 1. Searching Exhaustive Paths: Find all possible paths from sources to demands detecting closed cycles to avoid infinite loops.

  • Step 2. Choosing Optimal Path: Find optimal path from the all paths set obtained in Step 1.

  • Step 3. Calculating the source price: Calculate the source price by the total cost and the water consumption in the optimal path obtained in Step 2.

Searching exhaustive paths: In order to search optimal economical paths from sources to demands, it is necessary to determine all possible paths between them [5]. Before that, a node-arc representation method for a regional water network is provided, where a node represents a source, reservoir, demand or junction and an arc represents a transfer or trade [4].

In a regional water network, all flow paths can be obtained from node-arc incidence matrices because water always flows from upstream sources to downstream. In a node-arc incidence matrix, a node is represented by a row and an arc is represented by a column. In a row of the matrix, entry arcs are represented by + 1 and leaving arcs are represented by − 1. In a column, an element of + 1 and an element of − 1 represent the ending and starting nodes, respectively, of this arc.

Table 7.1 shows the node-arc incidence matrix for the network in Fig. 7.3. On the other hand, the node-arc incidence matrix that defines the relationship of the direction between nodes and arcs is transformed into a flow path matrix that defines all flow paths of the network. The flow path matrix A is a set of binary parameters a s, r that describe all flow paths in a water network

$$\displaystyle{A = \left (\begin{array}{cccccc} a_{1,1} & a_{1,2} & a_{1,3} & \ldots & \ldots & a_{1,p} \\ a_{2,1} & a_{2,2} & a_{2,3} & \ldots & \ldots & a_{2,p} \\ a_{3,1} & a_{3,2} & a_{3,3} & \ldots & \ldots & a_{3,p}\\ \vdots & \vdots & \vdots &\ddots &\ddots & \vdots \\ a_{n,1} & a_{n,2} & a_{n,3} & \ldots & \ldots & a_{n,p}\\ \end{array} \right ).}$$
Fig. 7.3
figure 3

A hypothetical network system

Table 7.1 Node-arc incidence matrix for the network of Fig. 7.1

In this matrix A, which is the target matrix in this section, p denotes number of paths and n denotes total number of arcs (or flow actuators) in a water network. A column represents a flow path and a row represents an arc in the network. The connection parameters a s, r is binary (0, 1) and is used to describe the connection between source nodes and receiving nodes. The connection parameters are assigned equal to 1 for linking arcs s in a flow path r, while other arcs are assigned 0.

Choosing optimal path: The objective of this step is to find the optimal flow through each path. The optimal flow path problem can be formulated as a linear optimization problem as follows:

$$\displaystyle{ \mathit{min}_{x}c^{T}Ax\qquad \text{subject to}\qquad \begin{array}{l} Ax \leq b \\ A_{eq } x = b_{eq} \\ l_{b} \leq x \leq u_{b} \end{array} }$$
(7.18)

where c, x, b, b eq , l b and u b are vectors and A and A eq are matrices. The meaning of these vectors and equations is described in the following.

Optimal path solution x: The vector x contains the optimal flow through each path that minimize the total operational cost. This cost is measured by the operational cost of each actuator, and the actuators involved in each path according to the flow path matrix A. The cost function can be expressed as c T Ax, where Ax provides the total flow through each actuator.

Operational cost c: The daily cost of each actuator is calculated as the mean cost value:

$$\displaystyle{ c(i) =\sum _{ k=1}^{24}\frac{\text{cost}(i,k)} {24}, }$$
(7.19)

where i represents the actuator and index k represents the instant time.

Actuator constraints Ax ≤ b: Inequality constraints are related to actuator operational limits. One actuator can be involved in different paths, and each path can require a different constant flow through it. So, it is necessary to guarantee that the total flow for each actuator does not go beyond its upper limit.

As explained in the previous section, A, whose row dimension is the number of actuators and column dimension is the number of paths, is a matrix formed by ones and zeros that indicates which actuators are used in each path. The product of this matrix with the solution vector x gives as a result the flow that goes through each actuator. Vector b contains the maximum actuator flow.

Demand constraints A eq x=b eq : The total volume of water from sources to each demand sector must be equal to its demand. This can be expressed by using equality constraints related to demands and by introducing matrix A eq that indicates which demand sector is supplied from which path. The row dimension of matrix A eq is number of demand sectors while column dimension is number of paths.

Path capacity constraints l b and u b : They are used to restrict the flow in each path by establishing the interval of possible values due to operational limits of the actuators involved in the path. The upper limit u b is given by the minimal of the actuator upper bounds involved the path, while the lower limit l b is the maximal of the actuator lower bounds in the path.

Calculating the source price: From the optimal flow path calculation, the source price for the transport layer (including both the production and transportation cost) can be obtained as indicated in Algorithm 7.1 in lines 23 and 24. The economical unitary costs for the sources, C s1 and C s2, are calculated by weighted averaging the optimal flow paths linking each source with the supply demands. The detailed calculations for every step of OPM are described in Algorithm 7.1.

Algorithm 7.1 Optimal path method

  1:    x: = [x 1, x 2, , x p ];

{optimization vector}

  2:    \(l_{b}:= [min_{x_{1}},min_{x_{2}},\ldots,min_{x_{p}}]\);

{lower bounds of x}

  3:    \(u_{b}:= [max_{x_{1}},max_{x_{2}},\ldots,max_{x_{p}}]\);

{upper bounds of x}

  4:    Source: = [s 1, s 2];

{source matrix}

  5:    b eq : = [d 1, d 2, , d m ];

{demand node matrix}

  6:    Actuator: = [a 1, a 2, , a n ];

{actuator matrix}

  7:    build 0 − 1 exhaustive path matrix

  8:    \(Path:= [s_{1},a_{11},a_{21},\ldots,d_{1}; \ldots; s_{2},a_{12},a_{22},\ldots,d_{m}]\)

{number of row is p}

  9:    build 0 − 1 actuator and path matrix

10:    \(A:= [a_{11},a_{21},\ldots,a_{p1}; \ldots; a_{n1},a_{n2},\ldots,a_{pn}]\)

11:    \(b:= [max_{a_{1}},max_{a_{2}},\ldots,max_{a_{n}}]\)

{maximum flow column for all the actuators}

12:    build 0 − 1 demand and path matrix

13:    \(A_{eq}:= [d_{11},d_{21},\ldots,d_{p1}; \ldots; d_{m1},d_{m2},\ldots,d_{mp}](24)(3600)\)

14:    Build cost matrix contain electrical and water cost

15:    c: = [c 1; c 2; ; c n ];

16:    Set objective function

17:    f obj  = c T Ax;

18:    Optimizing the problem

19:    \(x = linprog(f_{obj},A,b,A_{eq},b_{eq},l_{b},u_{b},x_{0},option)\)

{x 0 is provided}

20:    Calculating the flow through each actuator;

21:    flow = Ax

22:    Calculating the source price by weighted averaging the optimal flow paths linking sources and demands;

23:    \(C_{s1} = c_{s1}^{T}(A[s1,:]x(s1))/flow[s1]\)

24:    \(C_{s2} = c_{s2}^{T}(A[s2,:]x(s2))/flow[s2]\)

2.6.2 Coordinating Mechanism

As shown in Fig. 7.2, the transport and supply systems are coordinated by interchanging the following information:

  • Measured disturbance (d s): which provides the daily demands to the transport layer by aggregating the hourly demands in the supply layer.

  • Target constraint (T d): which expresses management policies from the transport system to the supply system in the form of control constraints.

Measured disturbance: In the topology of the transport system, the whole supply system is simplified as one aggregated demand. Measured disturbance for the transport system is obtained by aggregating the hourly demands in the supply layer.

$$\displaystyle{ d_{s}(k) =\sum _{ m=1}^{24}d_{ t}(k,m), }$$
(7.20)

where d t is the hourly demand vector at the supply system corresponding to the k-th day, while d s (k) could be considered as the demand for the transport system.

Target constraints: The goal for the temporal coordination algorithm is transferring management policies from the transport to the supply system for overall controlling of transport over water network and supply water network. In order to achieve this coordination, the following constraint is added to the MPC controller in the supply system:

$$\begin{array}{rlrlrl} \sum _{m=1}^{24}u(k,m) \leq T_{ d}(k), & &\end{array}$$
(7.21)

where u is the shared control vector between transport and supply systems.

This constraint is introduced to enforce the amount of water decided to be transferred from the transport to the supply system is satisfying the management policies in the transport layer. Structure of the temporal coordinator is shown at Fig. 7.4.

Fig. 7.4
figure 4

Upper and lower layer optimizations of multi-layer MPC

2.6.3 Formulation of Temporal Coordination Problem

The goal for the temporal coordination algorithm is transferring management policies from the transport to the supply layer. In order to achieve this coordination, the constraint (7.21) is added to the supply hierarchical MPC. Algorithm 7.2 shows how this constraint, that establishes a daily limitation, is generated and adapted at every time iteration of the lower layer MPC that operates at a hourly scale. Algorithm 7.2 takes into account the following facts when generating the constraint (7.21):

  • after the application of n hourly control actions u s (m) corresponding to the k-th day, the total remaining water for this day will be: \(T_{d}(k) -\sum \limits _{m=1}^{n}u(m)\).

  • when limiting the control actions in the prediction horizon L, there is a part of control actions u(m) that corresponds to hours of the current day k that should be limited by T d (k), while the control actions correspond to hours of the next day k + 1 that should be limited by \(T_{d}(k) -\sum \limits _{m=1}^{n}u(m)\).

  • the generated constraints are added as additional constraints of the BOP problem associated to the supply MPC.

Algorithm 7.2 Temporal multi-level coordinator

  1:    L: = 24 hours

  2:    I: = 24N hours

  3:    T s : = 1 hour

{start creating new constraints for lower-layer BOP }

  4:    for i: = 1 to I do

  5:        \(d:= floor(i/24)\)

  6:        t: = rem(i, 24)

  7:        if \(t == 0\) then

  8:            Update BOP by adding the following constraints:

  9:            \(u(1\vert k) \leq T_{d}(d) -\sum \limits _{j=i-L+1}^{i-1}u_{s}(j\vert k)\);

10:            \(\sum \limits _{j=2}^{L}u(j\vert k) \leq T_{d}(d + 1)\);

11:        end if

12:        if \(t == 1\) then

13:            Update BOP by adding the following constraints:

14:            \(\sum \limits _{j=1}^{L}u(j\vert k) \leq T_{d}(d + 1)\);

15:        end if

16:        if \(t == 2\) then

17:            Update BOP by adding the following constraints:

18:            \(\sum \limits _{j=1}^{L-1}u(j\vert k) \leq T_{d}(d + 1)\);

19:            u(L | k) ≤ T d (d + 2);

20:        end if

21:        if t ≥ 3 then

22:            Update BOP by adding the following constraints:

23:            \(\sum \limits _{j=1}^{L-t+1}u(j\vert k) \leq T_{d}(d + 1) -\sum \limits _{j=i-L+1}^{i-1}u_{s}(j\vert k)\);

24:            \(\sum \limits _{j=L-t+2}^{L}u(j\vert k) \leq T_{d}(d + 2)\);

25:        end if

26:        Solve BOP to obtain u(j | k), u(j + 1 | k), …with the new constraints added

27:        u s (i | k): = u(1 | k);

28:    end for

{end of loop}

2.7 Results for the Transport System

There are three scenarios in practical use, which are:

  • Scenarios 1: More initial water in Llobregat than in Ter.

  • Scenarios 2: More initial water in Ter than in Llobregat.

  • Scenarios 3: Initial water in both rivers are similar.

According to reality use, for the first two scenarios, when water in one river is adequate while in another river limited, management policies will be set to ask water from only one of the rivers. For the Scenario 3, when water is abundant in both of rivers, according to the balance management control objectives, water consumption in both of the rivers will be proportional to their supplying capacity.

Table 7.2 provides detailed results and also the improvement of water usages in the two rivers achieved by the proposed multi-hierarchical MPC scheme. In this table, Source means outside sources flow into rivers, Fixed Demand means fixed demands which can not choose water source while Variable Demand is the demand which can receive water from more than one river. BD, abbreviation of Balanced Demand, is water volume that has been consumed from each of the reservoirs and PB, abbreviation of Proportion of Balanced demand, is the proportion of BD for the two reservoirs. PR, abbreviation of Proportion of Reservoir capacity, is the proportion of storage capacities of the two reservoirs. The similar values for PB and PR is what the multi-hierarchical scheme wants to reach. And SA, abbreviation of Supplying Ability, is the ability of water supply and transport over water in days of the whole water network before meeting a deficit problem at the hypothesis of no rain and no water flow in from outside. The comparisons prove that, after using the proposed MPC scheme, the proportion of water usage from two rivers (58. 93 %, which is ratio of Llobregat/Ter) is much closer to the proportion of their storage capacities (53. 48 %). And what is more, the Catalunya Regional Water Network can transport over water and supply water 65 days longer than that without balance management, which is a good improvement regarding the sustainable usage of water resource in the long term perspective.

Table 7.2 Balancing comparison of Scenarios 3

Figure 7.5 is one of the examples of one river reach. The plot shows that, after controlling transport water levels, water flow at this reach could meet the water level needed by transporting over water during the whole optimization process.

Fig. 7.5
figure 5

River flow with ecological level before and after control in river Llobregat. (a) Before control. (b) After control

2.8 Results for Coordination

During the coordination process, management policies at the transport system are transferred to the supply system establishing the set-points for the shared actuators. Figures 7.6 and 7.7 show the amount of water consumed by the supply system from different rivers for satisfying the same demands before and after coordination, respectively. The two figures prove that average levels of water consumption from two rivers are much closer after balance management.

Fig. 7.6
figure 6

Flows from the two rivers before using temporal coordination with x-time and y-flow axis

Fig. 7.7
figure 7

Flows from the two rivers after using temporal coordination with x-time and y-flow axis

Figure 7.8 shows source flow comparisons between multi-hierarchical MPC and centralized MPC, which proves the similarity between the two kinds of controllers.

Fig. 7.8
figure 8

Source flows comparison between multi-hierarchical MPC and centralized MPC

Table 7.3 provides detailed numerical results and compares the obtained control results in terms of economical and computational performance over 4 days among the multi-hierarchical and centralized MPC control techniques:

  • Current Control: Control the supply system of Catalunya Regional Water Network using heuristic strategies by human operators.

  • Multi-hierarchical Model Predictive Control Scheme:

    Control transport-supply system of Catalunya Regional Water Network using Multi-hierarchical Model Predictive Control techniques with temporal hierarchical coordinator between the transport and supply systems.

  • Centralized Model Predictive Control:

    Control the transport-supply system of Catalunya Regional Water Network using centralized Model Predictive Control techniques without coordination.

Table 7.3 Closed-loop performance results (all values in e.u.)

In the Table 7.3, Wat., abbreviation of Water, means water cost during the day, while Ele., abbreviation of Electricity, shows electricity cost, Tot., abbreviation of Total, means the total cost which include both water and electricity, where the indices representing costs are given in economic units (e.u.) instead of Euro due to confidentiality restrictions, and Comp., abbreviation of Computation time, which means the needed computing time for that optimizing process in seconds. The row of Proportion is the improved proportion to the current control. From this table, the result shows that, Multi-hierarchical MPC technique with temporal coordination is much better than the current controller but is a little worse than centralized MPC technique regarding economical cost, especially of electricity cost. The explanation is that while introducing multi-hierarchical control scheme, which simplifies the whole supply system into a virtual demand, the optimization of electricity price for the actuators becomes invalid. On the other hand, computation time is much improved after introducing multi-hierarchical control scheme, which is also necessary for the large scale water systems. Besides that, scalability is also improved after introducing the proposed multi-hierarchical MPC scheme.

3 Interdisciplinary Discussion into the Unified Framework

Transport of water is part of the master planning of communities, counties and municipalities. Limited water supplies, conservation and sustainable policies, as well as the infrastructure complexity for meeting consumer demands with appropriate flow pressure and quality levels make water management a challenging control problem. Decision support systems provide useful guidance for operators in complex networks, as reported in [8, 12].

Transport over water, which has the advantages of less investment and low cost, has been developed as the main bearer of large, bulky freight. In reality, plenty of natural conditions, like seasonal fluctuations of water level, water forms complex, could impact easily transportation ability of inland waterways, which affect both the play of navigation and also economical interests. Stability of river flows and adequate water levels of open channels in transport water networks are critical control factors in the operational control models.

This chapter takes into account transport of water from the dams to the consumers while at the same time considers the transport over water by keeping some ecological flows in the rivers. The transport system works in a daily time scale in order to achieve the global management policies for the transport over water in different rivers and balance management of different reservoirs. The supply system works in a hourly time scale and manipulates actuator set-points to satisfy the local water supplying objectives. For each water system, an MPC controller is provided to produce optimized control sequence for different control objectives. A supervisor coordinating mechanism that coordinates transport and supply water systems for sustainable and ecological benefits is used to generate control strategies which consider objectives at different time scales. OPM is used to generate unitary source prices for the transport water system. The results of this control scheme after being applied to the Catalunya Regional Water Network in Sect. 7.2 shows that, comparing with the separated control strategies, this unified framework which deals with both short term objectives and long term objectives provides sustainable and ecological results, which even has economical benefits in the long term perspective.

4 Open Topics

Besides advantages and benefits of the unified control scheme proposed in this chapter, there still exist topics which need more research and verification, which are:

  1. T1:

    How to manage the priorities when long term objectives have conflicts with short term objectives?

  2. T2:

    How to choose the control strategies between multi-hierarchical and centralized MPC with coordination when computation load is not a problem?

  3. T3:

    In reality, how to deal with uncertainties for the complex water system, which affect both transport and supply systems?

5 Conclusions and Future Research

In this chapter, a multi-hierarchical MPC scheme with temporal coordination for complex transport and supply water systems is proposed. The need of multi-hierarchical scheme derives from the fact that different networks in the transport over water and supply systems are operated according to different management goals, with different time horizon. While the management of the transport network is mainly concerned with long term safe-yield and ecological issues, the supply hierarchical must achieve economic goals in the short term (hourly strategy), while meeting demands and operational constraints. The use of the multi-hierarchical modeling and the temporal hierarchical MPC coordination techniques proposed in this chapter makes it possible to realize communication and coordination between the two separated systems in order to let individual operational goals affect to each other, and finally, obtain short-term strategies which can effectively consider long-term objectives as well.