scieee AI-readable full text Open interactive document viewer

Reliable fault-tolerant model predictive control of drinking water transport networks

Robles Guillem, Deneb,Puig Cayuela, Vicenç,Ocampo-Martínez, Carlos,Garza Castañón, Luís Eduardo

Abstract

This paper proposes a reliable fault-tolerant model predictive control applied to drinking water transport networks. After a fault has occurred, the predictive controller should be redesigned to cope with the fault effect. Before starting to apply the fault-tolerant control strategy, it should be evaluated whether the predictive controller will be able to continue operating after the fault appearance. This is done by means of a structural analysis to determine loss of controllability after the fault complemented with feasibility analysis of the optimization problem related to the predictive controller design, so as to consider the fault effect in actuator constraints. Moreover, by evaluating the admissibility of the different actuator-fault configurations, critical actuators regarding fault tolerance can be identified considering structural, feasibility, performance and reliability analyses. On the other hand, the proposed approach allows a degradation analysis of the system to be performed. As a result of these analyses, the predictive controller design can be modified by adapting constraints such that the best achievable performance with some pre-established level of reliability will be achieved. The proposed approach is tested on the Barcelona drinking water transport network.

Full text

Reliable Fault-Tolerant Model Predictive Control of Drinking Water Transport Networks Deneb Roblesa, Vicenç Puigb, Carlos Ocampo-Martinezb, Luis E. Garzaa aTecnológico de Monterrey, Campus Monterrey, Av. Eugenio Garza Sada Sur No. 2501 Monterrey, N.L. 64489 México bAutomatic Control Department, Universitat Politècnica de Catalunya (UPC), Institut de Robòtica i Informàtica Industrial (CSIC-UPC), Llorens i Artigas, 4-6, 08028 Barcelona, Spain Abstract This paper proposes a reliable fault-tolerant model predictive control applied to drinking water transport networks. After a fault has occurred, the predictive controller should be redesigned to cope with the fault effect. Before starting to apply the faulttolerant control strategy, it should be evaluated whether the predictive controller will be able to continue operating after the fault appearance. This is done by means of a structural analysis to determine loss of controllability after the fault complemented with feasibility analysis of the optimization problem related to the predictive controller design, so as to consider the fault effect in actuator constraints. Moreover, by evaluating the admissibility of the different actuator-fault configurations, critical actuators regarding fault tolerance can be identified considering structural, feasibility, performance and reliability analyses. On the other hand, the proposed approach allows a degradation analysis of the system to be performed. As a result of these analyses, the predictive controller design can be modified by adapting constraints such that the best achievable performance with some pre-established level of reliability will be achieved. The proposed approach is tested on the Barcelona drinking water transport network. Keywords: Fault tolerance evaluation, model predictive control, actuator-fault configurations, structural analysis, reliability, drinking water transport networks 1. Introduction Potable water is provided to consumers and industry by means of drinking water networks, which are large-scale systems that can be structurally organized in several layers (Ocampo-Martinez et al., 2013): •A supply layer, composed of water sources, large reservoirs and natural aquifers. •A transportation layer, linking water treatment and desalination plants with reservoirs distributed all over a city. ∗Corresponding author. Fax: +34 93 401 5750. Email address: [email protected] (Vicenç Puig) Preprint submitted to Submitted to Control Engineering Practice Wednesday 3rd August, 2016 •A distribution layer, used to meet consumer demands and link reservoirs with consumers. This paper is focused on the transportation layer and, in particular, on drinking water transport networks (DWTNs). These networks require sophisticated supervisorycontrol strategies to ensure and maintain optimal performance even in faulty conditions. In order to take advantage of these expensive infrastructures, also necessary is a highly sophisticated real-time control (RTC) scheme to ensure optimal performance (Brdys & Ulanicki, 1994; Ocampo-Martinez et al., 2013). The RTC scheme in a DWTN might be local or global. When control is local, regulation devices only use measurements taken at specific locations. While this control structure is applicable in many simple cases, it may not be the most efficient option for large systems with a highly interconnected and complex sensor and actuator infrastructure. A global control strategy, in contrast, which computes control actions taking into account real-time measurements all through the network, is likely the best way to use infrastructure capacity and all available sensor information. Global RTC deals with the problem of generating control strategies (ahead of time), based on a predictive dynamic model and telemetry readings of the network to optimize operation (Ocampo-Martinez et al., 2013). The multi-variable and largescale nature of DWTNs have led to the use of some variants of model predictive control (MPC) as a global control strategy (Pascual et al., 2013). Global RTC of DWTNs needs to be operative even in faulty conditions. This problem calls for the use of fault-tolerant control (FTC) mechanisms after a fault is diagnosed so as to avoid the global RTC stopping every time a fault appears. FTC was developed in order to address the growing demand for plant availability (Blanke et al., 2016). The aim of FTC is to keep a plant fully operative by designing its control system such that system performance can be kept close to desirable levels and stability conditions can be maintained, not only when the system is in nominal conditions but also in the presence of system component faults; FTC should, at the very least, ensure acceptable degraded performance (Noura et al., 2009). Tolerance against faults can be embedded in MPC relatively easily in several different ways, as discussed in Maciejowski (2002): •Changing the constraints in order to represent the fault effect, with the algorithms for actuator faults being especially easy to adapt. •Modifying the internal plant model used by the MPC in order to reflect fault influence on the plant. •Relaxing the nominal control objectives in order to reflect system limitations under faulty conditions. Reviewing the literature, the inclusion of fault tolerance in MPC has already been considered by several authors, including (Zhang & Jiang, 2008), who provides a detailed review of the state-of-the-art in FTC. Camacho et al. (2010) provides a general overview on how fault tolerance can be embedded in MPC. The inclusion of faulttolerance in MPC has mainly been addressed by considering practical strategies according to the application domain. For example, Prodan et al. (2015) described a 2 method for including fault tolerance in MPC for smart grids in order to ensure the proper amount of energy in storage devices and reliable coverage of essential consumer demand. Ocampo-Martinez & Puig (2009) applied fault tolerance in MPC to sewage networks considering a hybrid systems framework. Yang & Maciejowski (2012) designed a group of predictive controllers to compensate for the fault effects for each component in a wind turbine. More theoretical aspects have also begun to be studied, such as coupling with active fault diagnosis (Raimondo et al., 2013) and the use of setinvariance theory (Yetendje et al., 2012). More recent additional objectives for MPC controllers, proposed in Sanchez et al. (2015) and Salazar et al. (2015), have been to preserve system health and reliability, respectively. The research presented in this paper is based on three concepts: •How fault accommodation/reconfiguration strategies were applied in a linear quadratic regulator (LQR) (Staroswiecki & Berdjag, 2010). •The idea that fault configurations should be evaluated before applying FTC strategies (Staroswiecki et al., 2012). •The idea of using reliability with the FTC design (Guenab et al., 2011). Starting from these key ideas,we propose a new reliable fault-tolerant MPC scheme for application to DWTNs. After a fault has occurred, the MPC controller should be redesigned to cope with the fault by considering either a reconfiguration or an accommodation strategy, depending on knowledge available on the fault. Before starting to apply the FTC strategy, whether the MPC controller will be able to continue operating after the fault appears should be evaluated. This is done in two ways: first, a structural analysis is done to determine the level of loss in post-fault controllability; second, a feasibility analysis is done of the optimization problem related to the MPC design so as to consider the fault effect on actuator constraints. By evaluating the admissibility of different actuator-fault configurations (AFCs), critical actuators regarding fault tolerance can be identified considering structural, feasibility, performance and reliability analyses. This has been studied in Robles et al. (2012), where only some of the analyses proposed here were considered. Our approach allows a degradation analysis of the system to be performed in terms of performance and reliability. As a result of this analysis, the MPC controller design can be modified, adapting the constraints so as to achieve the best achievable performance with some pre-established level of reliability. The proposed approach was tested in the Barcelona DWTN, in an application that also shows that relevant information about critical actuators can be extracted by considering the different analyses we propose. The main contribution of this paper is the design of methodologies for the analysis of the influence of faults taking into account reliability features. As discussed, some of the proposed methodologies have been previously documented but not their application in the considered fault tolerance framework, to the best of our knowledge, after a thorough literature review (a secondary contribution of the paper). The remainder of the paper is organized as follows. MPC controller design for DTWNs to include fault tolerance is introduced in Section 2. Section 3 describes the 3 proposed fault tolerance evaluation approach for the MPC controller after fault occurrence. Section 4 deeply describes the design of the MPC controller such as the reliability can be preserved. The results of an application of this approach to the Barcelona DWTN are provided in Section 5. Finally, Section 6 concludes with some suggestions for further research. 2. MPC of DWTN with fault-tolerant capabilities 2.1. Flow-based control-oriented model This paper considers a general DWTN as represented by a digraph G(V,E)(see Šiljak (1991) for more details), where a set of elements, i.e., nssources, nxstorage elements, nqintersection nodes, and ndsinks, are represented by v∈ V vertices connected by a∈ E links. Due to the network function, water is transported along the links by nuflow actuators (i.e., pipes and valves), passing through reservoirs or tanks, from specific origin locations to specific destination locations. The network is subject to several capacity and operational constraints, and to measured stochastic flows to customer sinks as driven by water demand. Selecting the volume in storage elements as the state variable x∈Rnx, the flow through the actuators as the manipulated inputs u∈Rnu, and the demanded flow as additive measured disturbances d∈Rnd, the control-oriented model of the DWTN may be described by the following set of linear (or linearized) discrete-time differencealgebraic equations (DAE) for all time instants k∈N: xk+1 =Axk+Buk+Bddk,(1a) 0 = Euuk+Eddk,(1b) where the difference equation in (1a) describes the dynamics of the storage tanks, and the algebraic equation in (1b) describes static relations in the network (i.e., mass balance at junction nodes). Moreover, A,B,Bd,Euand Edare time-invariant matrices of suitable dimensions as dictated by the network topology. System (1) is subject to hard state and input polytopic constraints given by: U,{u∈Rnu|umin ≤u≤umax},(2a) X,{x∈Rnx|xmin ≤x≤xmax},(2b) where umin,umax,xmin and xmax are the actuator and tank operational limits. 2.2. Statement of the control problem The DWTN (1) is controlled using an MPC law that aims to minimize the operational costs of the DWTN as proposed in economic model predictive control (EMPC) (Rawlings et al., 2012; Limon et al., 2014; Ellis et al., 2014). According to Blanke et al. (2016), the solution of a control problem consists of finding a control law from a given set of control laws U, such that the controlled system achieves the control objectives O while its behaviour satisfies a set of constraints C. Thus, the solution to the problem is 4 completely defined by the triplet hO,C,Ui. In the case of an MPC, the triplet hO,C,Ui is defined by O: min ˜x,˜uJ(˜x, ˜u),(3a) subject to: C:xi+1|k=Axi|k+Bui|k+Bddi|k, i ∈[0, N −1] ⊂N,(3b) 0 = Euui|k+Eddi|k, i ∈[0, N]⊂N,(3c) ui|k∈U, i ∈[0, N −1] ⊂N,(3d) xi|k∈X, i ∈[0, N]⊂N,(3e) where ˜x=x1|k, . . . , xN|k,(4a) ˜u=u0|k, u1|k, . . . , uN−1|k,(4b) ˜ d=d0|k, d1|k, . . . , dN−1|k(4c) are the state, input and disturbance sequences over N, respectively. Ndenotes the prediction horizon used by the MPC controller. The sequence ˜ dcomes from a forecasting module based on existing time-series techniques (see Pascual et al. (2013) and Wang et al. (2015) for more details). The MPC law belongs to the set Uand is obtained using the receding horizon philosophy (Maciejowski, 2002; Rawlings et al., 2012). This technique consists of solving the optimization problem (3a) from the current time instant kto k+Nusing x0|kas the initial condition obtained from measurements (or state estimation) at time k. Only the first value u∗ 0|kfrom the optimal input sequence ˜u∗(which arises from the solution of the optimization problem (3a)) is applied to the system. At time k+ 1, in order to compute u∗ 0|k+1 the optimization problem (3a) is solved again from k+ 1 to k+1+N(i.e., the time window is shifted), updating initial states x0|k+1 from measurements (or state estimation) at time k+ 1. The same procedure is repeated for the following time instants. The objective function Jin (3a) collects all the control objectives of the closedloop system, taking the name multiobjective cost function. In general form, (3a) can be written as: J(˜x, ˜u) = nJ X i=0 N X k=0 Ji,k,(5) where nJis the number of objectives and Ji,k corresponds to the evaluation of each particular objective iat time k. In the case of DWTNs, (5) typically includes the following objectives (Ocampo-Martinez et al., 2013): •Minimization of water production and transport costs. The main economic costs associated with drinking-water production are treatment processes, water acquisition and use costs and, most importantly, electricity costs, as delivering drink- 5 ing water at appropriate pressure levels through the network implies significant costs in booster pumping and elevation from underground storage. This objective can be mathematically formulated as Je,k ,α> kWeuk,(6) where αk,(α1+α2,k)∈Rnu, which takes into account a fixed waterproduction cost α1∈Rnuand a time-varying water-pumping cost α2∈Rnu that changes in each time instant kaccording to the dynamic electricity tariff. Weallows the priority economic objective to be weighted in the objective function (5). •Appropriate safety management of stored water. Water demand must be fulfilled at all times. However, some risk prevention mechanisms need to be introduced in tank management so that the stored volume is maintained above a certain safety value for possible emergencies and to guarantee future water availability. This objective can be mathematically formulated as: Js,k ,ξ> kWsξk,(7) which penalizes the volume falling below the threshold sby including the following soft constraint xk≥s−ξk≥0,∀k, (8) where s∈Rnx +is a positive vector of base stocks (the minimum volume in each tank to avoid stock-outs) and ξk∈Rnx +is a vector of positive slack variables to be minimized, representing the water volume allowed to fall below the desired base stock level. Wsallows the priority economic objective to be weighted in the objective function (5). •Smoothing of control actions. Valves must also operate smoothly in order to avoid major pressure transients in pressurized pipes, as this could result in damage to pipes. The use of a smooth reference changes also helps the lower-level regulator performance. Similarly, water flows requested from treatment plants must have a smooth profile due to operational constraints. To ensure the smoothing effect, control signal variation between consecutive time instants is penalized. This objective can be mathematically formulated as: J∆u,k ,∆u> kW∆u∆uk,(9) which penalizes control signal variations ∆uk,uk−uk−1so as to extend the life of actuators and ensure smooth operation. W∆uallows the priority economic objective to be weighted in the objective function (5). 2.3. Inclusion of fault-tolerant capabilities The control problem hO,C,Ui described in Section 2.2 will now be reformulated to consider faults. If an active FTC strategy is considered, there are two main ways to adapt the MPC law to introduce fault tolerance (Blanke et al., 2016): 6 1. System reconfiguration. This consists of finding a new set of constraints Cf(Θf), where Θfis the set of parameters changed by the faults such that the control problem hO,Cf(Θf),Ufican be solved. This strategy can be applied when the fault detection and isolation (FDI) module does not provide a fault estimation. The faulty components are therefore unplugged by the supervisory system and the control objectives are achieved using non-faulty components. In the case of the actuators, this implies that the model (1) used by the MPC controller is modified as follows: xk+1 =Axk+X i∈IN Biuk,i +Bddk,(10) 0 = X i∈IN Eu,iuk,i +Eddk,(11) where INis the subset of non-faulty actuators. 2. Fault accommodation. This consists of solving the control problem hO,ˆ Cf(ˆ Θf),ˆ Ufi, where ˆ Cf(ˆ Θf)is an estimate of current system constraints and parameters provided by the FDI module. This strategy can be applied when a change occurs in either system structure or parameters. In this strategy, the control law is modified while the remaining elements within the control loop are kept unchanged. In the case of the actuators, this requires that the system model (1) used by the MPC controller should be modified as follows: xk+1 =Axk+X i∈IN Biuk,i +X i∈IF βi(uk,i, θi) + Bddk,(12) 0 = X i∈IN Eu,iuk,i +X i∈IF εi(uk,i, θi) + Eddk,(13) where the functions βiand εiand the parameters θishould be estimated by the FDI module for actuators belonging to the faulty actuator subset IF. Note that, in changing the model (1) of the MPC controller using either of the two previous strategies, the controller will consider the effect of the fault in the system model when computing the control action u∗ 0|k. According to Maciejowski (2002), this is different from other control laws (e.g., LQR, pole placement), where the control law should be designed off-line for the considered set of faults, so as to produce a bank of controllers that should be gain-scheduled on-line according to the fault features. However, depending on how critical the fault is, the MPC controller will not be able to compute a control input or else the computed control input will not lead to acceptable performance. For this reason, when using an MPC controller the effect of the fault and the admissibility of the obtained control input needs to be evaluated. 3. Actuator fault-tolerance evaluation This section describes a series of analyses to assess the fault-tolerance capabilities of the system after a fault has occurred and before applying a reconfiguration or accommodation strategy to achieve fault tolerance. 7 In case that a fault occurs, then: •The system might have lost some of the properties required to proceed with system control, or •That system performance is degraded to an unacceptable level and it is not worth continuing with system control by activating fault-tolerant strategies. 3.1. Admissibility analysis algorithms Before starting to apply the FTC strategies described above, it should be evaluated whether the MPC controller will be able to continue operating after fault occurrence. This is done by means of a set of admissibility analysis algorithms, which are based on a structural analysis to determine the loss of post-fault controllability, complemented by a feasibility analysis of the optimization problem related to the MPC design so as to consider the effect of the fault on actuator constraints. Moreover, by evaluating the admissibility of the different AFCs, critical actuators regarding fault tolerance can be identified considering structural, feasibility, performance and reliability analyses. Let Ibe the set of system actuators. The different admissibility analysis algorithms consider that the set of all subsets of system actuators is denoted by 2I. For each subset K⊆I, corresponding to a given AFC, and using the reconfiguration (or accommodation) approach described in Section 2.3, the algorithms evaluate whether or not a given system property, denoted by P(K), is satisfied (Blanke et al., 2016). Thus, PK=1if the property is satisfied, 0if the property is not satisfied. (14) This evaluation induces the set of all subsets of I,2I, to be partitioned in two classes as follows: 2I+={K⊆I;PK= 1},(15) 2I−={K⊂I;PK= 0}.(16) The class 2I+contains all the subsets of the actuators for which PKis satisfied. Thus, the admissibility analysis mainly aims to identify the following (see Figure 2): •Critical actuators, i.e., the set of actuators that are required to satisfy PK. For every analysis in Figure 1, a set of critical actuators will be identified. •Redundant actuators, i.e., the actuators that are not critical for correct functioning of the system. These may be excluded as PKwill continue to be satisfied. •Redundancy degree, consisting of the number of extra non-critical actuators through which PKcould hold. There are two types of redundancy: weak (corresponding to the largest number of sequential faults that can be tolerated in the best case scenario, i.e, while continuing to satisfy PK) and strong (corresponding to the smallest number of sequential faults that can be tolerated in the worst case scenario). 8 System Model Structural Analysis Reliability Analysis Feasability Analysis Performance Analysis Type Graph Mathematical Equations Figure 1: Flow diagram of the proposed actuator fault-tolerance evaluation approach The approach proposed here consists of a set of analyses based on both the graph and the mathematical model of the system (see Figure 1): •From the system graph, the structural analysis allows us to determine whether or not the system with a given AFC is structurally controllable. It does this by checking the existence of at least one path linking demands with sources. At this stage, all possible paths linking demands and sources are also determined. Using this information, the reliability of the AFC can also be evaluated. •From the system mathematical model, a constraint satisfaction problem (CSP) can be formulated that allows a feasibility analysis to be performed. This analysis allows the physical capacity of the system to be checked considering constraints in actuators and states (see (3a)). Moreover, as a complementary analysis, the closed-loop performance based on a given global objective for the AFC can be evaluated. These two sets of analyses are complementary. When a reconfiguration strategy is used, connectivity between demands and sources may be lost when the faulty actuator is removed (see Section 2.3). This will affect both controllability and reliability. However, those properties do not take into account the physical limitations of the system actuators. Hence, although connectivity is preserved, the MPC-related optimization problem might lead to an unfeasible solution, due either to the lack of capacity of the remaining actuators or the poor performance of the control loop. This happens when 9 Algorithm 4 MPC redesign to preserve reliability 1: for k= 1 to Ndo 2: Uk−1⇐U 3: end for 4: W ⇐ { ˜u z }| { u1, u2, . . . , uN−1} 5: D ⇐ {U1,U2,...,UN−1} 6: Z ⇐ Rg,k =f(Ri,k), Ri,k =eλo ieβi|ui|k, i = 1,...,nuN−1 k=0 , Rg,N−1> Rth 7: HA= (W,D,Z) 8: {U1,U2,...,UN−1} ⇐ solve(HA) Currently, there are four water treatment plants: the Abrera and Sant Joan Despí plants, which extract water from the Llobregat river; the Cardedeu plant, which extracts water from the Ter river; and the Besòs plant, which treats underground water from the Besòs river aquifer. There are also several underground sources (wells) that can provide water through pumping. For this case study, ten sources were considered, consisting of seven underground and three surface sources, which currently provide an inflow of about 12 m3/s. The Barcelona DWTN is comprised of 63 tanks and 130 actuators distributed across 46 valves and 84 pumps6. Figure 3, which shows the general topology of the network, depicts a complex system in terms of its elements and the relationships and connections among them. Figure 4 shows the graph derived from this network; the nodes correspond to reservoirs or pipe merging/splitting nodes and the arcs correspond to actuators (valves and pumps). Five of the pumps are used to draw water from underground sources and the remaining pumps satisfy water demand at appropriate pressure levels. The network has 88 main water consumption sectors (for further information regarding the Barcelona DWTN, see (Pascual et al., 2013)). Both the demand episode and the calibration set-up of the network are as established by AGBAR. The AGBAR control centre has a telecontrol system for network management. The Barcelona DWTN also has some 98 remote stations, which manage about 450 elements in real time, including flow meters, pumps, valves and chlorine dosing instruments. The system control objective set for the MPC controller is to minimize operational costs (water transport and production for the entire network) while satisfying water demand for each consumption sector (Pascual et al., 2013). Thus, recapping on Section 2, the financial objective in (6) can be written as follows: Jk= N−1 X i=0 [α1+α2,k]uk,(27) 6For our purposes we refer to pumps, although, in fact, pumping stations would be more correct, as the stations consist of arrays of pumps with a given local control/coordination strategy regarding certain outflow requirements. 16 Figure 3: Barcelona Drinking Water Transport Network 17 Figure 4: Graph of the Barcelona DWTN which takes into account the water cost α1(price of water at source) and the electricity cost α2,k (operation of pumps and valves). Note that the time variance of α2is due to the fact that pumping costs vary according to the time of day. The prediction horizon Nis 24 hours. No terminal cost is considered in this application. Demands are imposed as equality constraints in the model (1) used by the MPC controller, which, in the case of the DWTN, can be expressed in discrete-time statespace form (1) using a sampling time Ts= 1 hour. x∈X⊆Rnxis the state vector corresponding to the water volumes of the nx= 63 tanks, u∈U⊆Rnurepresents the vector of manipulated flows through the nu= 130 actuators (pumps and valves) and d∈D⊆Rpcorresponds to the vector of the p= 88 water demands (consumption sectors). There are 16 nodes in the Barcelona DWTN and since demand can be forecasted, these are assumed to be known. Thus, dis a known vector of non-negative elements that contains the measured disturbances (demands) affecting the system. 5.2. Results Several tests and analyses were performed for the Barcelona DWTN case study to illustrate the proposed methodology. Figure 1 shows the sequence of tests applied. In this section, all the capabilities of each analysis are explored, while Section 5.3 describes only the ones necessary for this study. The results were obtained using a 1.5 GHz and 2.00 Gb RAM Intel(R) Core(TM)2 Duo PC . Matlab c and Tomlab were used to perform the simulations. The structural analysis was carried out using the computed reachability matrix and path computation, which, as expected, produced equivalent results. However, each technique yielded several additional results that provided important information concerning to the operation and behaviour of the DWTN. From the reachability analysis, we could determine which states were structurally controllable, while the path computation analysis obtained all possible paths from a source to a destination node as well as, for each path, an approximate operational cost (according to the electricity cost of 18 each element) and a maximal water flow (according to the physical constraints of the actuators). In this stage, critical actuators were located and different approaches were used according to the applied strategy. Although a fault scenario with a faulty actuator at each time instant was considered in both cases, the representation of the malfunction was denoted in different ways. In the reachability analysis, the malfunction was determined from the state-space matrices (a zero value was forced in the position where a connection value previously existed between the state and the actuator failure). In path computation, all paths with the faulty component were extracted from the path matrix (22). From this study, the critical actuators for each state and for the whole network could be identified. Note that although the results obtained by both techniques in the structural analysis were similar, the computation time required for the reachabilitymatrix-based strategy was much higher, at almost 200 times the time consumed by the path computation technique (579 s vs. 3 s). The feasibility analysis can only be implemented if the previous analysis is first made, since its implementation is based on the path matrix calculation. The result of this analysis was a set of paths that guaranteed that demand was satisfied, taking into account the physical constraints of the network actuators. The cost of maintaining correct network operations was also obtained in this stage. The time consumed by this analysis was 1.57s. Performance was computed using the objective function (27) and the actuator constraints. The analyses were performed taking into account faulty components and comparing the corresponding performance with the fully operative case (non-faulty system). The computation time needed for this analysis was 8 s. Finally, the reliability analysis showed the level of reliability of each component and path and of the whole network. AFCs were analysed by extracting all paths using the faulty actuator and re-computing the reliability of the DWTN. Two rankings were computed: the first one according to demand satisfaction, showing which demands were more likely to be unsatisfied; and the second one according to the most critical actuators, showing how the reliability of the entire network decreased if those actuators were damaged. The computation time in this case was 5s. 5.3. Discussion Although each of the previous analyses can individually provide a great deal of information about the fault tolerance of a network, linking them up reduces the computational burden. In order to clearly present and easily discuss the proposed methodologies, a smaller portion of the Barcelona DWTN (see Figure 5) was used for illustrative purposes. The first test consisted of locating the critical network actuators by means of a structural analysis. These critical actuators are those without which (outage) path connectivity is lost. The results of this analysis, summarized in Tables 1 and 2, point to an important number of critical actuators within the network, due to the topology and the way of connecting network elements, as most actuators (valves or pumps) are the only link between tanks and demands. Therefore, if an actuator fails, then the corresponding demand will not be satisfied. Note that the information shown in Tables 1 and 2 is particularly significant for AGBAR (the manager of the water infrastructure), since it 19 Figure 5: Portion of the DWTN related to Demand 56 Table 1: Structural Critical Actuators (towards tanks) No. Name No. Name No. Name No. Name 122 iAltures 15 iCanGuey2 62 iGuinardera1 30 iPapiol1 10 iBegues1 14 iCanGuey3 60 iGuinardera2 88 iSJD10 6 iBegues2 21 iCanRoig 101 iLaSentiu 7 iStBoi 2 iBegues3 57 iCanRuti 34 iMasGuimbau1 9 iStCliment1 1 iBegues4 37 iCarmel 31 iMasGuimbau2 5 iStCliment2 32 iBellsoleig 43 iCerdMontflorit 100 iMasJove 40 iStGenis1 61 iBonavista 42 iCerdUAB 68 iMntjcStaAmalia 38 iStGenis2 20 iCanGuell1 12 iCesalpina1 69 iMntjcTresPins 13 iStaClmCervello 17 iCanGuell2d3 11 iCesalpina2 3 iOrioles 45 iStaMaMontcada 16 iCanGuell2d5 82 iCornella100 23 iPalleja1 35 iTibidabo 18 iCanGuey1d2 39 iFlorMaig 24 iPalleja2 56 iTorreBaro1 19 iCanGuey1d5 109 iFnestrelles300 27 vPalleja70 65 iTorreoCastell 44 iVallensana1 8 iViladecans1 4 iViladecans2 25 vAbrera 54 vCerdanyola90 63 vMontigala 90 vSJD 59 vTerStaColoma 104 vSJDTot 58 vTer identifies the critical elements in the network for surveillance/correction policies to be implemented in the event of element damage (fault). Applying the first test to the network, as depicted in Figure 5, four possible paths were detected. These were: Path 1: AportT →u58 →u50 →u52 →u54 →u43 →d56 Path 2: AportT →u58 →u51 →u52 →u54 →u43 →d56 Path 3: AportT →u58 →u55 →u54 →u43 →d56 Path 4: aP ousB →u53 →u52 →u54 →u43 →d56 Analysing the structure of the network, as depicted in Figure 5, it can be observed that it contains two critical actuators: 54 and 43. If either of these actuators fail, then Demand 56 will not be satisfied. All the remaining actuators can be considered as 20 Table 2: Structural Critical Actuators (towards demands) No. Name No. Name No. Name No. Name 115 vPallejaATLL 116 iPalleja3 117 iMasGuimbau3 118 iVallvidrera 119 vHorta 120 iUAB 121 iVallensana2 122 iBoscVilaro 123 iTorreBaro2 124 iCerdSabadell 125 vBesosStaColoma 126 v117Montigala 127 v70CFE 128 v55BAR 129 iMontemar 130 vAltures redundant actuators. The second analysis done to the Barcelona DWTN was to identify the actuators whose physical constraints limit water transport capacity through a certain path. Note that this analysis did not consider any fault in those actuators. The analysis, performed using Algorithm 2, also pinpointed several alternative paths through which water transport is possible (or even mandatory) given the constraints of the paths for supplying demands. Results for this last analysis considering the whole DWTN identified other critical actuators: 26, 52 and 91 (namely iPalleja4, vBesosMontCerd and vGava100a80, respectively, in Figure 3). Note that the increase in the number of critical actuators, taking into account their physical constraints, is not significant. For the network in Figure 5, actuator 52 is not a critical element according to the structural controllability property, meaning that connectivity is not lost when this component fails. However, the feasibility analysis determined that this actuator was in fact critical when the actuator physical constraints were considered. Actuator 52 cooperates with a flow of water to satisfy the demand that cannot be satisfied with a flow through a single path. The third analysis identified the optimal paths to reach a selected destination node without considering the system constraints, i.e., the structural optimal paths. This analysis was performed using the structural algorithm, as explained in Section 3.2.1. For the smaller network the cost of each path was computed, corresponding to the electricity cost of the actuators for both paths and the cost of water treatment in a determined source. For paths 1, 2 and 3, the cost was 0.54 e.u.7, while for path 4 the cost was 0.77 e.u. This small example would indicate that any of the first three paths is optimal for satisfying Demand 56. A criterion to decide which of the three paths is optimal for this demand is to calculate the maximum flow of water for each path, which can also be computed in this analysis and is given by the smallest value of the maximum flow of water of the actuators in a given path. In this case, since all paths were restricted to 0.3 m3/s, due to the physical capacities of actuator 43, any of the first three paths are recommended. However, if actuator 43 were not considered, path 1 would be the optimal path as it has a maximum flow of 2.2m3/s, while in the other paths, actuator 55 is restricted to 0.35 m3/s, and actuators 51 and 52 to 0.8 m3/s. The fourth analysis consisted of identifying the set of optimal paths including the 7Note that costs are given in economic units (e.u.) rather than real units (e) for confidentiality reasons. 21 Table 3: Entire DWTN Performance Analysis Actuator No. Faulty cost [e.u.] Cost overrun [%] 41 514.44 2.43 47 515.94 2.73 74 528.05 5.14 78 557.62 11.03 86 515.08 2.55 89 556.22 10.74 97 510.49 1.64 102 539.87 7.49 103 552.21 9.95 objective function (27) and the system constraints (2a)-(2b). Path details are not provided here, but the total costs of maintaining the whole DTWN in proper working order and satisfying all its demands was 502.25 e.u. In the case of the network depicted in Figure 5, the optimal path obtained from the fourth analysis was path 4. Although it may appear that, when only Demand 56 is considered without the interconnection of the entire network, the other paths are less costly when the entire network is considered, this is not true. The actuators used in path 4 are also used to satisfy other demands, so sharing components results in an optimal solution. The fifth test was performance analysis, taking into account the critical actuators already identified in the previous tests, with the difference in costs showing the impact that a single faulty actuator could have on an entire network. Results from this analysis are summarized in Table 3. Note that all comparisons took into account an optimal functioning cost (under non-faulty conditions) of 502.25e.u. Moreover, fault cost denotes the functioning cost under faulty conditions. According to the analysis of the entire DWTN, some actuators did not have a significant impact on the total performing cost (e.g., actuators 28, 29, 33, 64, 71, 80, 81, 85, 87, 94, 107, 108, 113). However, other actuators (such as 78 or 89) significantly increased cost, taking into account daily estimates. These latter actuators are shown in Table 3. Degradation in costs obtained with this analysis can be the foundation for the introduction of redundant actuators in the network or an alternative fault tolerance strategy. For the network depicted in Figure 5, the performance analysis shows that the cost of maintaining operations for the network with a fault in any of these actuators does not increase the cost. The accommodation and reconfiguration strategies presented in Section 2.3 are now illustrated for the case of a fault in actuator 108 (named vTerMontcada), which according to the previous analysis, is redundant. First the reconfiguration strategy is illustrated. Figure 6 presents the volume behaviour of tank 33, which is supplied by 22 Figure 6: Volume evolution of Tank 33 with MPC using Reconfiguration two actuators: 73 (iCornella130) and 108 (vTerMontcada). It can be seen that in a non-faulty situation, the volume of this tank presents a repetitive pattern (filling when pumping is cheaper and emptying otherwise) to satisfy the water demand. However, when a fault occurs (at k= 50 hours), if the MPC controller is not reconfigured (labelled as fault occurrence in the plots), tank 73 volume drops to zero at k= 58 hours and demand is not satisfied anymore (unfeasible solution). However, if the MPC controller is reconfigured by removing the faulty actuator 108 from the control model, the tank level is still able to supply the required demand. However, the tank volume decreases with time, indicating that the faulty actuator should be repaired. Figures 7 and 8, which depict the behaviour of actuators 108 and 73, show that actuator 73 starts to deliver more flow in an effort to compensate for the faulty actuator 108 that is removed. Figures 9, 10 and 11 depict tank 33 volume and actuator 108 and 73 flows when the fault is accommodated by the MPC controller. The fault affecting actuator 108 reduces the operating range by 50%. In this case, the faulty actuator is not removed from the control model of the MPC controller; rather, the operating limits of actuator 108 are updated according to the new operating range. Figure 9 shows how the volume behaviour of tank 33 in a non-fault situation and when using accommodation looks exactly the same; in contrast, when the controller is not accommodated, the volume tends to zero and demand is not satisfied. From Figures 10 and 11, it can be seen that the MPC controller compensates for the reduction in the faulty actuator’s operating range by increasing use of the non-faulty actuator, thereby compensating for the impact of the fault. Although the proposed algorithm improves handling of the behaviour of the tank volume and actuator flows, it has computational and financial costs, as implementation of this feature increments computation time by 30s (12%) and the cost overrun by 23 0 10 20 30 40 50 60 70 80 90 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 time [hours] Water Flow [m3/s] Normal Operation Fault Occurrence Fault Occurrence with MPC with Reconfiguration Saturation of Actuator 108 Fau l t occurrence at t=50 Figure 7: Water flow in Actuator 108 with MPC using Reconfiguration 0 10 20 30 40 50 60 70 80 90 0 0.05 0.1 0.15 0.2 0.25 time [hours] Water Flow [m3/s] Normal Operation Fault Occurrence Fault Occurrence MPC with Reconfiguration Saturation of Actuator 73 Fau l t occurrence at t=50 Figure 8: Water flow in Actuator 73 with MPC using Reconfiguration around 9%. The reliability analysis also takes into account the results of the previous analysis. The reliability of the entire network considering proper operation is 90.74% success- 24 Figure 9: Evolution of volume in Tank 33 with MPC using Accommodation 0 10 20 30 40 50 60 70 80 90 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 time [hours] Water Flow [m3/s] Normal Operation Fault Occurrence Fault Occurrence MPC with Accommodation Saturation of Actuator 108, without fault Saturation of Actuator 108, with fault Faul t Occurrence at t=50 Figure 10: Water flow in Actuator 108 with MPC using Accommodation ful in satisfying the desired property when the reliability of each component is calculated using (20) with λ= 0.0034 (data obtained Ministry of Work and Social Affairs (2008)). The association between demand satisfaction and reduced reliability when a faulty component exists is shown in Table 4. 25 Salazar, J., Weber, P., Sarrate, R., Theilliol, D., & Nejari, F. (2015). MPC design based on a DBN reliability model: application to drinking water networks. In 9th IFAC Symposium on Fault Detection, Supervision and Safety of Technical Processes (pp. 688–693). Paris, France. Sanchez, H., Escobet, T., Puig, V., & P. F, O. (2015). Health-aware model predictive control of wind turbines using fatigue prognosis. In 9th IFAC Symposium on Fault Detection, Supervision and Safety of Technical Processes (pp. 1363–1368). Paris, France. Šiljak, D. (1991). Decentralized control of complex systems. Academic Press. Staroswiecki, M., & Berdjag, D. (2010). A general fault tolerant linear quadratic control strategy under actuator outages. International Journal of Systems Science,41, 971–985. Staroswiecki, M., Commault, C., & Dion, J. (2012). Fault tolerance evaluation based on the lattice of system configurations. International Journal of Adaptive Control and Signal Processing,26, 54–72. Torii, A., & Lopez, R. (2012). Reliability analysis of water distribution networks using the adaptive response surface approach. Journal of Hydraulic Engineering,138, 227–236. Wang, Y., Ocampo-Martinez, C., & Puig, V. (2015). Robust model predictive control based on Gaussian processes: Application to drinking water networks. In European Control Conference. Linz (Austria). Weber, P., Simon, C., Theilliol, D., & Puig, V. (2012). Fault-tolerant control design for over-actuated system conditioned by reliability: A drinking water network application. In 8th IFAC Symposium on Fault Detection, Supervision and Safety for Technical Processes (Safeprocess12). Mexico City, Mexico. Yang, X., & Maciejowski, J. (2012). Fault-tolerant model predictive control of a wind turbine benchmark. In 8th IFAC Symposium on Fault Detection, Supervision and Safety of Technical Processes (pp. 337–342). Mexico City, Mexico. Yetendje, A., Seron, M., & Doná, J. D. (2012). Fault-tolerant model predictive control in the hybrid systems framework: Application to sewer networks. International Journal of Applied Mathematics and Computer Science,22, 211–223. Zhang, Y., & Jiang, J. (2008). Bibliographical review on reconfigurable fault-tolerant control systems. Annual Reviews in Control,32, 229 – 252. 32