1. Introduction
The management of the urban water cycle (UWC) is a subject of increasing interest taking into account its social, economic, and environmental impacts [
1]. Drinking Water Networks (DWNs) are critical infrastructures in urban environments. DWNs are also of vital importance for supporting all kinds of social activities. For the individuals inhabiting a modern city, the water supply service is one of the basic requirements. As the progress of society and the evolution of human civilizations, a growing number of people migrate into cities. Hence, the increasing complexity of the DWNs would generate some complications for the management under multiple objectives, such as economic operations, as well as safety, reliability and sustainability. Moreover, maintaining the quality of the water supplied is another important objective that has already been addressed (e.g., [
2]).
DWNs are large-scale systems that have to be flexible and reliable to deal with continuously varying situations, such as unanticipated changes in the demands or faults in some of the elements [
3]. According to the literature [
4,
5], the main goal of the operational control of a DWN is to satisfy the consumer demand, and the operational management of water networks seeks to continuously supply water to the consumer with appropriate quality levels while minimizing production and transport cost, as well as guaranteeing safety levels in tanks and a sustainable source management strategy. Therefore, the optimal operational management of these systems is a multi-criteria management problem and poses a complicated challenge to the water stakeholder in charge of the operation. In the last decades, MPC has started to attract the attention of both academia and industry due to the possibility of dealing with type of problem including energy optimization and physical load reduction [
6]. In general, the MPC approach (using the receding horizon strategy) determines the optimal control action from a sequence of open-loop control actions ahead in a prediction horizon minimizing a set of control objectives and satisfying a set of constraints considering the system dynamic model and physical/operational limits. Furthermore, MPC enables accounting for the multivariable input and output nature, the demand forecasting requirement, and complex multi-objective operational goals of water networks (see, e.g., [
7,
8]). Generally, standard MPC is formulated as an optimization problem that penalizes the tracking error [
9]. Although this method guarantees that the set-point is achieved in a reasonable time, it does not ensure that the evolution among set-points is achieved in an effective manner. However, the common operational goal of many process industries, such as DWNs, is the minimization of economic costs related to energy consumption and water production. To this aim, Economic MPC (EMPC) contributes a systematic approach for optimizing economic performance [
10]. The optimization problem behind the EMPC strategy is responsible for finding a family of the optimal set-points taking into account economic profits instead of steering the controlled system to a given set-point [
11].
The application of health-aware control strategies based on the system and components reliability allows ensuring the quality of service. To preserve the system reliability, the controller should not only to reduce the operational costs but preserve the actuator health. In this paper, actuator health monitoring is achieved by estimating the reliability of each actuator according to the actuator operational information available.
Recently, system reliability has been considered in the control system design in the context of a Prognosis and Health Management (PHM) framework. Reliability is the ability of a system (or component) to perform its expected function [
12]. In this context, reliability allows forecasting the remaining useful life and to anticipate future system faults given the state of its components [
13,
14].
In recent years, the problem of assessing the lifetime and reliability of the system and its components has received increasing attention. In [
15], the actuator lifetime is considered as a controlled parameter to reduce maintenance cost by including an additional objective in the optimal controller. The reliability of a bearing according to its defect growth is estimated by comparing the fatigue crack propagation with the estimation from the diagnostic model in [
16]. On the other side, the MPC approach has been proven to be an adequate strategy for implementing health-aware controllers (HAC). In the HAC approach, the online prognostic information of the system is used to adjust the control actions or to develop the mission objective in order to maintain a high level of system health [
17]. In [
18], an MPC approach is proposed that involves the actuator usage as constraints with the objective to keep the accumulated utilization under a safety level at the end of the mission.
DWN reliability depends on several factors such as the pumps and valves failures rates and quantity/quality of the water, among others [
17]. The actuator reliability is usually modeled using an exponential function of the control input [
14,
19]. On the other hand, the system reliability can be determined by combining each actuator reliability and the interconnection topology. The reliability of water distribution network has already been address in the literature [
20]. In [
21], the reliability analysis methodologies of water distribution systems are described based on tailor-made “lumped supply–lumped demand” approach and a Monte Carlo framework. In [
22], a structure for devising such a proactive risk-based integrity-monitoring approach for the control of urban water distribution networks is proposed.
In previous works, the reliability of actuators in the DWN control has been considered by including a wear index [
3,
17] or by adding additional constraints to preserve actuator reliability [
5]. In those previous methods, the reliability is considered at the actuator level but not at the system level considering the interconnection topology. The main reason is because in this case a set of nonlinear constraints should be considered leading to a nonlinear MPC. Moreover, Economic Nonlinear MPC (ENMPC) is usually computationally expensive and, in general, there is no guarantee that the solution of the optimization problem is the global optimum. Another way of solving the optimization problem in the case of a nonlinear system is translating the nonlinear problem to a quadratic problem by means of linearization approach. In this manner, the system has to be linearized at each iteration, considering the system modeled by an incremental model [
23,
24]. This approach has been recently improved considering Linear Parameter Varying (LPV) models [
25]. LPV models are a class of models with linear structure but including a set of varying parameters that are scheduled online. These models allow representing a nonlinear system into a linear-like system with varying parameters by using the nonlinear embedding approach [
26].
This paper proposes a health-aware LPV-MPC controller that uses PHM information provided by the online system reliability evaluation. The reliability model is included into the MPC model. The augmented model including both the reliability and DWN models is transformed into an LPV model. Hence, the control actions obtained satisfy the control objectives/constraints and at the same time preserve the system reliability and lifetime. Finally, the case study considered in this paper to show the effectiveness of the proposed approach is based on a part of a real drinking water transport network of Barcelona. The dynamic model of transport network considered is based on previous works [
8,
27] where only the flow model is used.
The remainder of the paper is organized as follows. In
Section 2, the control-oriented model of DWN from Barcelona is presented. In
Section 3, the system reliability modeling is exhibited. In
Section 4, the reliability model is integrated into the control algorithm and the economic health-aware controller is presented based on an LPV-MPC approach. In
Section 5, results of implementing the proposed control strategy to the DWN network as a case study are compiled. Finally, the conclusion of this work is illustrated and some research lines for future work are introduced in
Section 6.
4. Economic Health-Aware LPV-MPC
This section presents the incorporation of reliability information in the predictive control law as a new state of the model. As mentioned in
Section 2, the reliability of the DWN can be estimated using the control input (actuator commands) information. To include a new objective in the MPC that proposes to extend the system reliability, the reliability model is represented by means of the model in Equation (
22). In fact, the new control model of DWN that includes the reliability and dynamic model of DWN is obtained based on the structure shown in
Figure 1. Actually, there is a direct relationship between the dynamic model of DWN and its system reliability.
Thus, the new MPC model has the following structure
where the state and output vector are given by
and
, respectively. The new matrices are defined as
Therefore, the new MPC model in Equation (
23) can be viewed as an LPV model that has as scheduling variable the control action
related to each state and actuator. The new MPC model in Equation (
23) cannot be estimated before solving the optimization problem in Equation (9) since the future state sequence is not identified. In fact,
depends on the future control inputs
and scheduling parameters, which, for general LPV models, are not expected to be known prior but only to be measurable online at current time
k. The idea is to obtain a solution to the problem in Equation (9) by solving an online optimization problem as a QP problem. The solution for this problem is to modify the exact LPV-MPC to a linear approximation of the LPV-MPC. This approximation uses an estimation of scheduling variables,
, instead of applying
. Indeed, the scheduling variables in the prediction horizon are determined and used to update the matrices of the model adopted by the MPC controller. In fact, to solve this problem, the sequence of the control input is used to adjust the system matrices of the model applied in the prediction horizon. Hence, based on the optimal control sequence
(
k), the following sequence of states and predicted parameters can be achieved:
Therefore, with slight abuse of notation, f can be defined as: . The vector includes parameters from time k to whilst the state prediction is accomplished for time to .
Hence, by using the definitions in Equation (
25), the predicted states can be simply formulated as follows
where
and
are given by Equations (
27) and (
28).
and
By using Equation (
26) and augmented block diagonal weighting matrices
and
, the cost function in Equation (
8) with new additional objective that aims to maximize the system reliability can be rewritten in vector form as
subject to:
where
is additional objective with the corresponding weight
into the EMPC-LPV cost function to maximize the system reliability. Since the predicted states
in Equation (
26) are linear in control inputs
, the optimization problem can be solved as a QP problem, which is significantly easier than solving a nonlinear optimization problem.
Using this idea, the following iterative approach at each time instant k is applied:
In the first iteration, the problem in Equation (9) is solved considering that the quasi-LPV model in Equation (23) is instantiated by the LTI model considering that ≃≃≃… ≃ along the prediction horizon .
The parameter varying sequence is updated using the optimal value of the scheduling variables , where and are the optimal input and state sequences obtained after the solution of the MPC problem, respectively.
The parameter varying values for the next iteration are obtained considering and , i.e., .
5. Application to the Water Transport Network of Barcelona
In this section, two motivational examples are used to assess the implementation of the proposed economic health-aware LPV-MPC based on system reliability assessment. For both examples, the system under study is a portion extracted from the Barcelona DWN [
34]. This network is managed by Aguas de Barcelona (AGBAR), which supplies drinking water for Barcelona and its metropolitan area [
35]. The general task of this system is to supply water resources from sources to consumers minimizing the operational costs. The DWN of Barcelona covers a territorial extension of 425 km
, with a total pipe length of 4470 km. Every year, it supplies
hm
of drinking water to a population over
million inhabitants. Regarding the DWN reliability study, sectors, sources, pipelines and tanks are assumed to be perfectly reliable, whereas active elements such as pumps and valves are considered not completely reliable [
4]. The results were obtained using a 2.4 GHz and 12.00 Gb RAM Intel(R) Core(TM)i7-5500 CPU. Matlab and Yalmip toolbox were used to perform the simulations.
5.1. Water Transport Network (3-Tanks)
In the first example, the proposed study concentrates on a small network based on the Barcelona DWN. Two sources of water and four demand sectors, which represent the district metered area (DMA), are considered (see
Figure 2). It is expected that the demand forecast (
) at each demand sector is known and that every single source can provide this water demand (
Figure 3). First, system components must be identified. In this case, there are three pumps, three valves, two sources, three tanks, two intersection nodes, and several pipes.
Afterwards, according the definition of minimal path
in
Section 3.2, the minimal path sets is determined for the water network, while the
is determined based on the relation and the possible connection between each source and demand sector. By considering all the paths from all sources to the demand sector, the combination of all flow paths should follow the functional requirements necessary to satisfy the consumer demands. A minimal path set is composed by those elements which allow a flow path between sources and demand sector, such as pipes, tanks, pumps and valves. Based on this analysis, the following list of each minimal path is presented in
Table 1. There are five minimal path sets in the system of
Figure 2. The reliability of each minimal path set depends on the reliability of its components. Tanks and pipes are supposed to be perfectly reliable. However, sources are involved in the minimal path sets only for illustrative purposes of the proposed procedure.
Table 2 provides the simulation parameters used.
Figure 4 shows the evolution of the valves and pumps commands that were obtained using the new approach of the health-aware LPV-MPC in the three tanks example with and without the reliability-aware objective. As can be seen in
Figure 4, the behavior of valve control actions are different from the ones corresponding to the pumps. However, in all of them, the behaviors of control actions in both scenarios are almost the same, thus the reliability-aware objective is not significantly affecting the behavior of the valves and pumps. The comparison of the volume evolution of three tanks based on the health-aware LPV-MPC with and without the reliability-aware objective is presented in
Figure 5. The safety volume of each tank is satisfied and hence able to cope with unexpected demands. The system reliability prediction of the DWN, which was obtained when using the proposed controller with and without the reliability-aware objective, is presented in
Figure 6. According to these results, it can be observed that, with the use of reliability-aware objective in the MPC, the network reliability is better preserved compared to the case that the reliability is not considered in the MPC objectives. However, the responses of water tanks are similar in both scenarios. The trade-off between the decreasing operating cost and increasing system reliability can be observed in
Figure 6. Note that the differences in the amount of the operational cost using the proposed approach is similar to the EMPC controller without reliability objective.
Figure 6 shows that the system reliability is increased from
to
and that is about
of improvement, while the accumulated cost is increased from
to
that is about
of increment.
5.2. Water Transport Network of Barcelona (17-Tanks)
Now, a more complex and realistic example also based on the Barcelona DWN is considered as a case study. This case includes 17 tanks and nine sources, consisting of five underground and four surface sources, which currently provide an inflow of about 2 m
/s. The case study also includes 61 actuators (valves and pumps), 12 nodes and 25 demands.
Figure 7 presents the general topology of the network, showing a complex system in terms of its elements and the relationships and connections between them.
Figure 8 presents the graph obtained from this network; the nodes correspond to reservoirs or pipe merging/splitting nodes and the arcs correspond to actuators (pumps and valves). The graph of the water network was obtained from the state space representation of the system. This approach is explained with more detail in [
36].
As in the previous example, demand sectors, sources, pipelines and tanks are considered perfectly reliable, whereas actuators are not [
4]. Moreover, it is expected that the demand forecast (
) at each demand sectors is known and that every single source can supply the required water demand (see some demand sectors in
Figure 9).
The economic reliability-aware LPV-MPC formulation proposed in previous section was applied to the simulation model of the DWN presented in
Figure 9.
From the reliability analysis, it could be obtained which states are structurally controllable since the path computation analysis provide all possible paths from a source to a target sectors. Moreover, for each path, an approximate operational cost (according to the electricity cost of each element) and a maximal water flow (according to the physical constraints of the actuators) can also be derived.
Table 3 and
Table 4 show that there exist several critical actuators within the network, considering the topology and the way of network elements are connected, as most actuators (valves or pumps) are the only link between demands and tanks. Consequently, if an actuator fails, then the corresponding demand will not be satisfied. Therefore, if an actuator fails, then the corresponding demand will not be satisfied. Note that the information shown in
Table 3 and
Table 4 is especially significant for AGBAR since it identifies the critical elements in the network for surveillance/correction policies to be implemented in the event of element damage [
5]. According to the DWN (
Figure 7),
Table 3 and
Table 4 and the above analysis of the success minimal path of the water network, there are 607 minimal path sets in the system of
Figure 7. Some samples of success minimal paths are presented in
Table 5. The objective of the MPC as explained above is to minimize the multi-objective cost function in Equation (29). The prediction horizon is 24 h because the system and the electrical tariff have periodicity of one day. The sampling time is 1 h. However, in all of them, the behaviors of control actions in both scenarios are almost the same, considering the reliability-aware objective doe not greatly affect the behavior of the valves and pumps.
Figure 10 shows the comparative evolution of the valves and pumps commands obtained using the new approach with the case without the reliability-aware objective. Note that the plot of control actions 5, 7, 42, and 29 correspond to pump set-points while control actions 51 and 52 correspond to valve set-points (see
Figure 7). The behavior of pumps and valves in both scenarios are almost the same even by including the reliability objective inside the cost function of the controller.
Figure 11 presents the comparison of volume evolutions of selected storage tanks.
Figure 11 shows the proper replenishment planning that the predictive controller dictates according to the cyclic behavior of demands. Notice that the net demand of each tank is properly satisfied along the simulation horizon. The system reliability evolution of the DWN that was obtained from the proposed controller with and without the reliability-aware objective is presented in
Figure 12. According to these results, it can be observed that, with the use of reliability-aware objective in the MPC, the reliability of the network is better preserved compared to the case that the reliability is not considered in the MPC design. There is a trade-off between the increasing system reliability and operational cost. However, the operational cost obtained with new proposed approach is almost the same as the EMPC controller that not considers reliability. This figure also shows that the system reliability is improved about
in the case of the LPV-MPC controller with the reliability objective while keeping the performance and the cost is increased just
. To have better compare the economics of LPV-MPC with and without the reliability-aware objective, several simulations with different tunings were implemented. Finally, the trade-off curves between the system reliability and economic operational cost for both control schemes are presented in
Figure 13. This figure shows that independently of the tuning the economic reliability-aware LPV-MPC control is able to improve and increase the system reliability. The results obtained from the preliminary analysis of
Figure 13 are provided in
Table 6 and
Table 7. The results, as shown in these tables, indicate that the system reliability is improved in different tunings while the cost is increased. However, the increased percentage of operational cost is negligible compared to the improvement of reliability obtained.
6. Conclusions
This paper proposes an economic health-aware LPV-MPC strategy based on the system reliability for water transport networks.
The system reliability is evaluated online considering the control action value. The system reliability is obtained from the reliability of each component and the interconnection topology leading to a nonlinear model. This model is transformed into a linear-like form by means of the LPV framework.
The system reliability is considered during the calculation of the MPC control action by including an extra objective in the cost function and an by augmenting the MPC model with additional states. Then, the by using a LPV-MPC approach, the associated optimization problem can be efficiently solved using quadratic programming. The MPC model is updated at each time iteration instantiating the varying parameters considering the value of the scheduling variables.
The results show that, using the proposed economic health-aware LPV-MPC, the DWN network reliability is maximized with a slight rise in the cost, achieving a good trade-off between both system reliability and cost. In this way, it is possible to maximize the lifetime of elements just by reducing slightly the economic optimality.
Future research will extend the study to water distribution networks by considering the pressure model. Moreover, the problem of re-designing the network by adding some additional paths to overcome the limitations due to critical elements. Moreover, it would be interesting to consider the water quality objective into the proposed approach.