scieee AI-readable full text Open interactive document viewer

Reliability-based economic model predictive control for generalized flow-based networks including actuators' health-aware capabilities

Grosso Pérez, Juan Manuel,Ocampo-Martínez, Carlos,Puig Cayuela, Vicenç

Abstract

This paper proposes a reliability-based economic model predictive control (MPC) strategy for the management of generalized flow-based networks, integrating some ideas on network service reliability, dynamic safety stock planning, and degradation of equipment health. The proposed strategy is based on a single-layer economic optimisation problem with dynamic constraints, which includes two enhancements with respect to existing approaches. The first enhancement considers chance-constraint programming to compute an optimal inventory replenishment policy based on a desired risk acceptability level, leading to dynamically allocate safety stocks in flow-based networks to satisfy non-stationary flow demands. The second enhancement computes a smart distribution of the control effort and maximises actuators’ availability by estimating their degradation and reliability. The proposed approach is illustrated with an application of water transport networks using the Barcelona network as the considered case study.

Full text

Int. J. Appl. Math. Comput. Sci., 2016, Vol. 26, No. 3, 641–654 DOI: 10.1515/amcs-2016-0044 RELIABILITY–BASED ECONOMIC MODEL PREDICTIVE CONTROL FOR GENERALISED FLOW–BASED NETWORKS INCLUDING ACTUATORS’ HEALTH–AWARE CAPABILITIES JUAN M. GROSSOa,CARLOS OCAMPO-MARTINEZa,VICENÇ PUIGa,∗ aAutomatic Control Department, Institute of Robotics and Industrial Informatics (CSIC-UPC) Polytechnic University of Catalonia (UPC), Llorens and Artigas 4–6, 08028 Barcelona, Spain e-mail: {jgrosso,cocampo,vpuig}@iri.upc.edu This paper proposes a reliability-based economic model predictive control (MPC) strategy for the management of generalised flow-based networks, integrating some ideas on network service reliability, dynamic safety stock planning, and degradation of equipment health. The proposed strategy is based on a single-layer economic optimisation problem with dynamic constraints, which includes two enhancements with respect to existing approaches. The first enhancement considers chance-constraint programming to compute an optimal inventory replenishment policy based on a desired risk acceptability level, leading to dynamical allocation of safety stocks in flow-based networks to satisfy non-stationary flow demands. The second enhancement computes a smart distribution of the control effort and maximises actuators’ availability by estimating their degradation and reliability. The proposed approach is illustrated with an application of water transport networks using the Barcelona network as the case study considered. Keywords: model predictive control, flow-based networks, dynamic safety stocks, actuator health, service reliability, chance constraints, economic optimisation. 1. Introduction The normal functioning of modern society strongly relies on many instances of networks, e.g., communication networks, electrical power networks, public transport networks, road-traffic networks, water networks, oil and gas networks, or supply chains, among other things. Consequently, such networks are critical infrastructures (Negenborn and Hellendoorn, 2010), and maintaining an efficient, reliable and sustainable operation is a must for all network managers (Kyriakides and Polycarpou, 2015). Although critical infrastructures are conceived and designed to supply different specific services, many of the problems that trigger their operation (e.g., minimisation of displacement times, maximisation of plants throughput, minimisation of energy consumption, maximisation of demand satisfaction, etc.) share a common feature: some commodity (or many at the same time), e.g., water, oil, energy, products, among any other real or abstract entities, needs to be transported through the network infrastructure. Such similarity gave raise to ∗Corresponding author the concept of generalised flow-based networks and to classical network flow problems (cf. Ford and Fulkerson, 1962; Papageorgiou, 1984; Ahuja et al., 1993) that aim to specify some control inputs influencing the flow process in the network so as to optimise a given performance criterion subject to constraints and to continuously varying conditions of both deterministic and probabilistic nature. The management of generalised flow-based networks is a complex task and has become a research subject worldwide. Strategical and tactical decisions in physical network operation can be addressed by different methods proposed within the supply-chain theory (Papageorgiou, 2009), but the mathematical tools available in control systems theory have shown to be more suitable to handle the problem consisting of time variance, uncertainties, delays, dimensionality and lack of system information (see, e.g., Ortega and Lin, 2004; Sarimveis et al., 2008; Schwartz and Rivera, 2010; Subramanian et al., 2013). Most of the approaches developed in the aforementioned references for the control of dynamic networks are mainly focused on performance and robustness, and the control 642 J.M. Grosso et al. strategy is often implemented in a multi-layer control architecture. However, due to the stochastic nature of customer demands and the ageing behaviour of the infrastructure components, there is an important issue that needs to be considered in the design of the control strategy, which is system/service reliability. This latter aspect is the main focus of this paper. Generally, reliability can be defined as the probability that units, components, equipments and systems will accomplish their intended function for a specified period of time under some operating conditions and specific environments (Gertsbakh, 2010). Thus, from the perspective of supply-chain engineering, reliability analysis of a generalised flow-based network may be associated with the α-service level (type I) (Goetschalckx, 2011), which is an event-oriented performance criterion that measures the probability that all customer demands will be completely served within a given time interval from the stock on hand without delay, under normal and emergency conditions. Service reliability and economic optimisation in flow-based networks have been important research topics in the field of inventory management for planning against uncertainty in demand and/or supply. The main strategy reported in the literature to assure a service level in flow-based networks consists in performing demand forecasting to guarantee a safety stock in storage units (if existing) as a countermeasure to secure network performance against forecast inaccuracy. Obtaining and using advanced demand information enable network operators to be more responsive to customer needs and to improve inventory management (Özer, 2003). The interaction between forecasting and stock control is well reviewed by Betts (2011), Guide and Srivastava (2000), Kanet et al. (2010), Osman and Demirli (2012), Schoenmeyr and Graves (2009), Strijbosch et al. (2011) and the references therein. Nevertheless, to guarantee a service level in flow-based networks, the control strategies should consider not only demand uncertainty but also network topological reliability, which refers to the probability that a network is connected given its components’ probability to remain operative at any time. To the best of the authors’ knowledge, reliability and degradation models of system and components have not been addressed simultaneously with dynamic safety stock planning in the framework of generalised flow-based networks control. Reliability in flow-based networks is commonly analysed off-line, i.e., a posteriori of the operation cycle, but without a measure of capacity degradation that may exist in the actuators of the network. Relevant attempts to compute the required safety stocks considering the network’s health were presented by Blanchini et al. (1997; 2000) for the control of production-distribution systems with uncertain demands and system failures. In these works, necessary and sufficient conditions to drive and keep the state within the least storage level are obtained, but under the requirement that the controller must be aware of the demand uncertainty bounds and the actuator failure configuration, which are not always possible to identify and isolate. Most of other approaches that study component-health management and system reliability lie within the framework of fault-tolerant control or in the field of maintenance scheduling (see, e.g., the works of Guida and Giorgio (1995), Martorell et al. (1999), Gallestey et al. (2002), Khelassi et al. (2011), Pereira et al. (2010),Chamseddineet al. (2014)and the references therein), but they do not consider demand uncertainty. Several economic-oriented controllers have been recently proposed within the MPC framework (Ellis et al., 2014), but without considering reliability issues. Both safety stock and actuator lifetime share the fact that they are conflicting with the economic performance of the system. Therefore, it is desired to have a flexible control strategy that allows a trade-off between the economic optimisation and the reliability of the system. To achieve this aim, only a two-layer hierarchical control strategy has been proposed by Grosso et al. (2012) for network flow optimisation considering both economic and reliability criteria. In such a work, first an upper layer performs a local steady-state economic optimisation to set up a uniform back-off of a demand satisfaction constraint due to an assumption of stationary demand uncertainty. At the same stage, a deterministic model of actuator degradation is used to monitor the system health and to set up the maximum allowable degradation of the actuators at each time step to distribute the overall control effort. Later, in a lower layer, an economic MPC algorithm is implemented to compute optimal control set-points that minimise a multi-objective cost function. The main contribution of this paper consists in an improved reliability-based economic MPC strategy that is aware of the actuator health and allows dynamic management of risk for non-stationary demand uncertainty, extending the results presented by Grosso et al. (2012; 2014). Specifically, the two-layer control architecture proposed by Grosso et al. (2012) is here simplified and reduced to a less conservative single-layer stochastic approach following the chance-constrained MPC approach presented by Grosso et al. (2014). The actuator-health management policy used in this paper follows the one introduced by Pereira et al. (2010), but considers stochastic actuator-degradation models and probabilistic actuator lifetime constraints rather than deterministic ones. The customer service level is guaranteed here by means of probabilistic demand satisfaction constraints. The proposed MPC controller optimises directly the economic (possibly multi-objective) performance of the network operation instead of the commonly used tracking cost function. Reliability-based economic model predictive control for generalised flow-based networks... 643 The reliability-based tuning strategy proposed by Khelassi et al. (2011) is here used as part of the constrained optimisation problem to contribute in the optimal allocation of the control effort. The Barcelona water network is used to illustrate and assess the proposed approach. The remainder of this paper is organised as follows. Section 2 briefly describes a control-oriented model of generalised flow-based networks, and states the safety stock allocation policy and the actuator-health management policy. Section 3 is devoted to the formulation of the proposed reliability-based economic MPC strategy. Section 4 describes the case study where the effectiveness of the proposed approach is analysed via simulations. Finally, Section 5 highlights the concluding remarks that can be drawn from the results presented in this paper, as well as some ideas for future research. Notation. Throughout this paper, R,Rn,Rm×nand R+ denote the field of real numbers, the set of column real vectors of length n,thesetofmby nreal matrices and the set of non-negative real numbers, respectively, while Z+ denotes the set of non-negative integer numbers including zero. Define Z[a,b]:={x∈Z+|a≤x≤b}for some a, b ∈Z+and Z≥c:={x∈Z+|x≥c}for some c∈Z+. For a vector x∈Rn,x(i)denotes the i-th element of x. Similarly, X(i)denotes the i-th row of amatrixX∈Rn×m. Additionally, · Zdenotes the weighted 2-norm of a vector, i.e., xZ=(xZx)1/2. If not otherwise noted, all vectors are column vectors. Transposition is denoted by the superscript and the operators <, ≤,=,>,≥denote element-wise relations of vectors. Moreover, 0denotes a zero column vector and I the identity matrix, both of appropriate dimensions. For a given vector x∈Rn,letdiag(x)denote a diagonal matrix in Rn×nwhose main diagonal contains the elements of x. For a symmetric matrix Z∈Rn×n,letZ0(0) denote that Zis positive definite (semi-definite). 2. Problem statement Consider a generalised flow-based network being denoted as N=(G,p,S), which consists of a directed graph G=(V,A)formed by a finite set of nodes V⊆Z≥1, and a finite set of arcs A⊆V×V, with an arc a∈A being an ordered link between a pair of nodes (i, j)with i, j ∈V, whose order indicates the direction of the flow between the two nodes. The network has a special subset of nodes S⊂Vcalled terminals. A terminal is either asource or a sink. The set of source nodes is denoted as S+and the set of sink nodes is denoted as S−,andit follows that S=S+∪S −. The rest of nodes i∈V\S, are called intermediate nodes. These latter nodes can be further classified according to their flow storage capacity into dynamic nodes and static nodes. The dynamic nodes have non-zero storage capacity, while in the static ones the transshipment of the commodity is immediate. The functioningof the network is driven by a vector function p containing the functions that define the dynamic attributes of the graph, i.e., capacities, transit times, gains, supplies, demands. It is supposed here that only the attributes conforming pare time varying, while the structure of the network (defined by Gand S) remains unchanged. In this paper, the following initial assumptions are considered regarding the network operation. Assumption 1. The network operates in a push-flow regime with zero transit time for all a∈A. Assumption 2. The flow through each arc a∈Ais controlled by an actuator for all a=(i, j)with i, j ∈ {V \ S−}. The flow does not experience any gain or loss while traversing an arc. In order to derive a control-oriented model, define the state vector x∈Rnto represent the storage at the dynamic nodes. Similarly, define the vector u∈Rmof controlled inputs as the collection of the flow rate through the arcs (i, j)∈A u:={(i, j)∈Asuch that i, j ∈ V\S −}, and the vector d∈Rpof uncontrolled inputs (demands) as the collection of flow rate through the arcs (i, j)∈A d:={(i, j)∈Asuch that i∈V\S −and j∈ S−}. Following flow/mass balance principles as well as Assumptions 1 and 2, a discrete-time model based on linear difference-algebraic equations can be formulated for the network Nas follows: xk+1 =Axk+Buk+Bddk, 0=Euuk+Eddk, (1a) (1b) where k∈Z+is the current time step while A,B,Bd, Euand Edare matrices of compatible dimensionsdictated by the network topology. Specifically, (1a) represents the mass balance at dynamic nodes while (1b) represents the mass balance at static nodes. The system is subject to state and input constraints considered here in the form of convex polyhedra defined as xk∈X:={x∈Rn|Gx ≤g},(2a) uk∈U:={u∈Rm|Hu ≤h},(2b) for all k,whereG∈Rrx×n,g∈Rrx,H∈Rru×m, h∈Rru,beingrx∈Z+and ru∈Z+the number of state and input constraints, respectively. Assumption 3. The states in xand the demands in dare measured at any time step k∈Z+. Assumption 4. The realisation of demands at any time step k∈Z+can be decomposed as dk=ˆ dk+ek,(3) 644 J.M. Grosso et al. General Management Policies Actuator Health Monitoring Demand Forecasting Reliability-based Economic MPC Local Feedback Control Plant Disturbance (measured demands) Prices Service L evel Objectives Priorities V0 N(k, x) dk zk ˆ dk u k W u,k xk ukxk Fig. 1. Reliability-based MPC structure. where ˆ dk∈Rpis the vector of expected disturbances and ek∈Rpis the vector of forecasting errors with non-stationaryuncertainty and a known (or approximated) quasi-concave probability distribution D(0,Σ(e(j),k)). The stochastic nature of each j-th row of dkis described then by d(j),k ∼D i(ˆ d(j),k,Σ(e(j),k)),whereˆ d(j),k denotes its mean and Σ(e(j),k)its variance. The control goal is to minimise a convex (possibly multi-objective and time-varying) stage cost function : Z+×X×U→R+, which might bear any functional relationship to the economics of the system operation. To do so, the control strategy addressed in this paper is based on the control system structure shown in Fig. 1, where the information given by forecasting demand and actuator health estimation modules is used within an economic MPC controller to ensure a given service level in the network. In such a structure, zkis the state of the cumulative degradation of actuators and Wu,k is a reliability-dependant matrix that adjusts the tuning of the MPC controller (see Section 2.2 for details). Moreover, u kand V0 Ndenote respectively the optimal control action computed in the predictive control block and the optimal value of the cost function that is embedded and minimised within the proposed MPC controller (see Section 3). 2.1. Safety stock allocation policy. There is often the need for guaranteeing a safety stock at each storage node of a generalised flow-based network in order to decrease the probability of stock-outs (when a node has insufficient resources to satisfy either external demands or the flow requested by other intermediate nodes) due to possible uncertainties in the network. As discussed in Section 1, stock allocation problems have been addressed before in the literature of supply chain management, where solutions are mainly based on inventory planning strategies that incorporate, within deterministic formulations, safety mechanisms to cope with randomness and risks associated with network operation (Christopher, 2005). Most techniques from inventory management suppose a hierarchical and descendant flow of products, even in multi-stage multi-echelon schemes, in a way that predicted safety stock changes are easily communicated backwards in order to support availability of quantities when they are needed (Kanet et al., 2010). Nevertheless, this behaviour is not true in real large-scale generalised flow-based networks since a meshed topology with multi-directional flows between nodes prevails instead of spread tree configurations. To circumvent the aforementioned limitation and determine optimal dynamic safety stocks, the chance-constrained MPC strategy described by Grosso et al. (2014) is used here. Such a strategy relaxes the original state constraint (2a) by using probabilistic statements, leading to the form of the so-called (probabilistic) chance constraint, i.e., xk∈{x∈Rn|P[G(j)x≤g(j),∀j∈Z[1,rx]]≥1−δx}, (4) for all k,wherePdenotes the probability operator, δx∈(0,1) is the risk acceptability level of constraint violation for the states, and G(j)and g(j)denote the j-th row of Gand g, respectively. This requires that all rows jhave to be jointly fulfilled with the probability 1−δx.Alowerδximplies a harder constraint. As discussed by Grosso et al. (2014), the constraint (4) is difficult to be addressed since it lacks analytic expressions due to the multivariate probability distributions involved. Nevertheless, there are tractable approximations that can be derived if each element of the demand vector follows a log-concave univariate distribution with a known stochastic description; see the work of Grosso et al. (2014, Section 3) for details. Specifically, (4) can be enforced by the following constraints: G(j)(Axk+Buk)≤g(j)−F−1 G(j)Bddk(1 −δx,j),(5) rx  j=1 δx,j ≤δx,(6) 0≤δx,j ≤1,(7) for all j∈Z[1,rx],whereFG(j)Bddk(·)and F−1 G(j)Bddk(·) are the cumulative distribution and the left-quantile function of G(j)Bddk, respectively. The constraints (5) are the deterministic equivalent of the set of rxresultant individual chance constraints. Moreover, (6) and (7) are conditions imposed to bound the new single risks in such a way that the joint risk bound is not violated. Any solution that satisfies the above constraints is guaranteed to satisfy (4). As suggested by Nemirovski and Shapiro (2006, Remark 2.1), assigning a fixed and equal value of risk to each individual constraint, i.e., δx,j =δx/rxfor all j∈Z[1,rx], satisfies (6) and (7). In this way, the safety stocks are optimally allocated and represented by the constraint back-off effect caused Reliability-based economic model predictive control for generalised flow-based networks... 645 by the term FG(j)Bddk(1−δx,j)in (4). Hence, the original state constraint set Xis contracted by the effect of the rxdeterministic equivalents in (5) and replaced with the stochastic feasibility set given by Xs,k :={xk∈Rn|∃uk∈U,such that G(j)(Axk+Buk)≤g(j)−F−1 G(j)˜ Bddk(1 −δx,j), ∀j∈Z[1,rx]and Euuk+Edˆ dk=0}, for all k,whereˆ d=E[d]is the first moment of d. From convexity of G(j)xk+1 ≤g(j)and the log-concavity assumption of the distribution, it follows that the set Xs,k is convex when non-empty for all δx,j ∈(0,1) in most distribution functions (Kall and Mayer, 2005). For some particular distributions, e.g., Gaussian, convexity is retained for δx,j ∈(0,0.5]. Remark 1. This strategy deals specifically with storage node reliability (assuming their faulty behaviour as the inability to satisfy their own demands), which is affected by both the capacity and reliability of the elements supplying flow to them. If the flow capacity is less than the average demand, no storage unit will probablybe large enough to provide a sustained service. 2.2. Actuator-health management policy. Unless some damage mitigating policy is adopted to ensure the availability of actuators for a given maintenance horizon, their inherent degradation could compromise the overall service reliability of the network. Therefore, system safety can be enhanced by taking into account the health of the components explicitly in controller design. Several models have been proposed in the literature to describe reliability and ageing of actuators under nominal operation; see the works of Gorjian et al. (2009), Guida and Giorgio (1995), and Letot and Dehombreux(2012)for a review. Nevertheless, as pointed out by Khelassi et al. (2011) and Martorell et al. (1999), a realistic health measurement should also include the trend of actuator ageing according to the variation of the operating conditions. Rates of degradation can be assumed constant for some equipment, but others present a highly variable and non-linear rate depending on the degradation mechanism and the local conditions. For the sake of simplicity, the linear proportional degradation model presented by Pereira et al. (2010) and its uniform rationing heuristic are adopted in this paper, but with the inclusion of an additive uncertainty. The approach considers the health condition of each actuator being described by a wear process with the rate associated with the exerted control effort as follows: zk+1 =zk+ϕ|uk|+ηk,(8) where zk∈Rmdenotes the state of cumulative degradation of actuators at time step kand ϕ:= diag(ψ1,...,ψ m)is a diagonal matrix of constant degradation coefficients ψi∈R,i∈Z[1,m], associated with the mactuators. Moreover, η∈Rmis a random vector whose components lie in a normal distribution N(0,Ση(i)). Degradation of each actuator will accumulate until the element reaches a state in which it will not perform its function at an acceptable level. At such a point, it can be considered that the actuator operation may be compromising the network supply service unless demands result reachable from other redundant flow paths or a fault-tolerant mechanism is activated. Therefore, instead of incurring into a failure that requires corrective control actions, a preventive strategy can be implemented to improve the overall system reliability by guaranteeing that each actuator remains available until the instant of a programmed maintenance intervention. To circumvent the system availability problem, an obvious approach is to constrain the accumulated degradation of actuators at each time instant to remain below a safe threshold until a predefined maintenance horizon is reached. Here, the health management is considered to be ruled by the probabilistic version of the constraints proposed by Pereira et al. (2010), that is, P[zk+N|k≤zmax,k]≥(1 −δz),(9) zmax,k :=zk+Nzthresh −zk M+N−k,(10) where N∈Z+is a prediction horizon used for prognosis, δz∈(0,1) is a risk acceptability level, zmax,k ∈Rm is the vector of maximum accumulated degradation of actuators’ allowed for the time step k,andzthresh ∈Rm is the vector of thresholds for the terminal degradation at a maintenance horizon M∈Z+. Notice that (9) restricts the predicted accumulated degradation of actuators health at N-steps ahead from the current time step kand its deterministic equivalent can be obtained similarly to Section 2.1. The right-hand side of (10) is a uniform rationing of the remaining allowed degradation (zthresh − zk)that is updated at each time step according to the control actions applied and ensures that zk≤zthresh for k=M. Remark 2. Despite the inherent relation, a degraded state is not the same as a faulty state (see Hsu et al., 1991). In fact, under nominal conditions of operation, degradation always precedes failure. When a component is degraded, maintenance actions should be executed to improve its performance to acceptable levels, but when the component is faulty, repairing actions are needed to restore its functionality. Keeping in mind the difference between degraded and faulty states, it can be noticed that the strategy for 646 J.M. Grosso et al. uniform rationing of degradation should be complemented with an another other safety mechanism to incorporate the remaining useful life of the actuators on the basis of their reliability and keep them available as long as possible. Accordingly, here the improvement of the safety and reliability of a generalised flow-based network is proposed using a smarter control allocation policy following the results of Khelassi et al. (2011) and the proportional hazard model reported by Weber et al. (2012). The main idea is to add to the process cost function a penalisation on control actions, which is weighted with a matrix Wu∈ Rm×m +that depends directly on actuators’ reliability. This strategy leads to a smart use of actuators minimising the frequency of unscheduled downtimes and related costs. Consider that actuators’ reliability can be estimated for the variable operating conditions with the following modified exponential distribution: Ri,k =exp−λ0 iexp βi˜ui2kΔt,(11) with i∈Z[1,m],whereλ0 i∈R+is the nominal failure rate of the i-th actuator, βi∈R+is a shape parameter of the actuator failure for an expected life tM∈Z+,and exp(βi˜ui2)∈R+is the load function that modifies the failure rate according to the root-mean-square (denoted by ˜ui) of the control actions applied from the initial time until the time step k. From (11), it follows that the cumulative probability of the failure rate can be written as Fi,k =1−Ri,k. Hence, the optimal control actions can be distributed among actuators so that components with larger accumulated damage are relieved. This can be achieved by adding to the original economic cost function a weighed term for the suppression of control moves, i.e., Δuk2 Wu,k , in which the weighing matrix is given by Wu,k :=diag(w1,w 2,...,w m),(12) where wi,k =Fi,k =1−Ri,k for i∈Z[1,m]. Notice that the weighing matrix is re-computed on-line at each time step kto take into account the variation of the control actions and actuators’ reliability. Hence, this weighing strategy allows us to improve system availability, i.e., to retain the operability of the network elements for longer times. 3. Reliability-based economic MPC problem After discussing reliability aspects of storage and supply infrastructure, next the setting of the proposed reliability-based economic MPC controller is shown, which incorporates into its optimisation problem both the dynamic safety stock policy and the actuator-health management policy, in order to improve the flow supply service level in a given network, facing demand uncertainty and equipment wear. The design of the controller is based on Interpretation 1. Interpretation 1.(Sup-Inf type information) At any time step k, when computing the corresponding controlled flow uk, both the state xkand the demand (uncontrolled flow) dkare known. Future demands dk+iare unknown for all i∈Z+, but forecast information of their first two moments (i.e., the expected value and the variance) is available for a given prediction horizon N∈Z+. The controller has also knowledge of the current estimated accumulated degradation zkof the network actuators. Therefore, for a given demand sequence ˆ dk= {ˆ dk+i|k}i∈Z[0,N−1] , estimated actuator degradation zk, acceptable risk levels δxand δz, and reliability-based weight Wu,k, the proposed approach relies on solving the following optimisation problem at each time step k: min uk,ξx k,ξz k N−1  i=0 [(k+i, xk+i|k,W u,k uk+i|k) +Δuk+i|k2 Wu,k +ξx k+i|k2 Wx +ξz k+i|k2 Wz],(13a) subject to (10), (12), xk+i+1|k=Axk+i|k+Buk+i|k+Bdˆ dk+i|k,(13b) zk+i+1|k=zk+i|k+ϕ|uk+i|k|,(13c) Euuk+i|k+Edˆ dk+i|k=0,(13d) G(j)(Axk+i|k+Buk+i|k)(13e) ≤g(j)−φx k,j(δx)+ξx k+i|k, Δuk+i|k=uk+i|k−uk+i−1|k,(13f) z(l),k+N|k≤zmax(l),k −φz k,l(δz)+ξz k+i|k,(13g) uk+i|k∈U,(13h) ξx k+i|k≥0,ξ z k+i|k≥0,(13i) (xk|k,z k|k,u k−1|k,ˆ dk|k)=(xk,z k,u k−1,d k),(13j) for all i∈Z[0,N−1],j∈Z[1,rx]and l∈Z[1,m], where uk={uk+i|k}i∈Z[0,N−1] ,ξx k={ξx k+i|k}i∈Z[0,N−1] and ξz k={ξz k+i|k}i∈Z[0,N−1] are the decision variables, with ukbeing the sequence of controlled flows while ξx kand ξz ksequences of slack variables introduced to retain feasibility of the optimisation problem. Moreover, ˆ dk+i|kis the forecasted demand for the i-step ahead of k. Additionally, the terms φx k,j(δx)=F−1 G(j)Bddk+i1−δx rxN and φz k,l(δz)=F−1 η(l)1−δz mN  Reliability-based economic model predictive control for generalised flow-based networks... 647 are the quantile functions involved in the state- and actuator-health deterministic equivalent constraints. Weighing matrices Wx∈Rn×n +and Wz∈Rm×m +are used to manage the penalisation of the slack variables ξx k+i|kand ξz k+i|k, while Wu,k ∈Rm×m +is the reliability-based weighing matrix introduced to relieve the actuators with larger accumulated degradation. The constraint (13j) represents the measurements available at time step k. Denote by (u k,ξx k,ξz k)the optimal solution of (13) at time step k. Then, following the MPC philosophy, only the first optimal control action is applied, i.e., uk=u k|k. Remark 3. The core of the proposed reliability-based economic MPC approach relies on the dynamic handling of constraints that allows a trade-off between reliability and economic optimisation to obtain an enhanced robust performance. Note that the worse the demand forecasting and actuator degradation models, the stricter the constraints and the more conservative control policy. The proposed controller gives just an enhancement of robustness, without guaranteeing robust feasibility and stability. In particular, the authors have addressed the case of economic recursive feasibility for periodic operation in different works by means of periodic terminal equality or inequality constraints; see preliminary results of Grosso (2015) and Limon et al. (2014). Such references do not include explicitly the reliability component, but it can be incorporated in the recursively feasible schemes by augmenting the state vector with the degradation state z. 4. Numerical results In this section, the performance of the proposed reliability-based economic MPC approach is assessed with a case study consisting of a large-scale real system reported by Ocampo-Martinez et al. (2009), specifically, the Barcelona drinking water network (DWN). The general role of this system is the spatial and temporal re-allocation of water resources from both superficial (i.e., rivers) and underground water sources (i.e., wells) to distribution nodes located all over the city. The structure of this network (i.e., its directed graph Gand the set Sof source and sink nodes) can be obtained from the layout shown in Fig. 2 and its model in the form of (1) can be derived by setting the state xk∈R63 as the volume (in m3) of water stored in tanks at time step k, the control input uk∈R114 as the flow rate through all network actuators (expressed in m3/s) and the measured disturbance dk∈R88 as the flow rate of customer demands (expressed in m3/s). This network is currently managed by AGBAR1and supplies potable water to the Metropolitan Area of Barcelona (Catalunya, Spain). 1Aguas de Barcelona S.A. Company, which manages the drinking water transport and distribution in Barcelona (Spain). The main control task for managers is to economically optimise the network flows while satisfying customer demands. These demands are characterised by patterns of water usage and can be forecasted by different methods, (see, e.g., Billings and Jones, 2008; Sampathirao et al., 2014). In this way, the function in (13a) is defined as :=c u,kWu,kukΔtand represents the economic cost of network operation at each time step k, which depends on the reliability-based weight Wu,k defined in (12) and on a time-of-use pricing scheme driven by a time-varying price cu,k :=c1+c2,k∈R114 +of the water flow, which in this application takes into account a fixed water production/treatment price c1∈R114 +and a water pumping price c2,k ∈R114 +. This latter price is time dependant because it changes according to the electricity tariff, which is assumed to be periodically time varying. All prices are given in economic units per cubic meter (e.u./m3) due to confidentiality reasons. The state and input constraint sets for this case study are given by X= {x∈R63 |xs,k ≤x≤xmax}and U={u∈R114 |0≤ u≤umax}, respectively, where xs,k ∈R63 +is a desired time-varying safety threshold, xmax ∈R63 is the vector of maximum storage capacity in tanks (expressed in m3) and umax ∈R114 is the vector of maximum flow rates of actuators (expressed in m3/s). The prediction horizon and the sampling time used in the simulations are N=24 hours and Δt=1hour, respectively. The simulation horizon was ns=96hours. To analyse and highlight the benefits of the proposed reliability-based economic MPC approach, a numeric comparison with respect to baseline control strategies that were previously reported for the same case study is shown in Table 1. Specifically, the assessed approaches are the following. Certainty-equivalent economic MPC (CE-MPC). This approach was proposed by Ocampo-Martinez et al. (2009). It does not consider uncertainty explicitly in the controller design and might require on-line tuning to ensure an appropriate robust performance. In fact, the common action to deal with demand uncertainty for such an approach is to heuristically define a conservative constant safety threshold xs,k =βxmax for all k, with β∈(0,1), and incorporate a constraint of the form xk≥xs,k (or a softened version of it). Chance-constrained economic MPC (CC-MPC). This approach was proposed by Grosso et al. (2014). It incorporates robustness only for demand uncertainty by replacing the state deterministic constraints with chance constraints. In this approach, every constraint that involves random variables is dynamically managed by the CC-MPC controller causing a back-off with respect to the original hard constraints. The level of back-off is variable and depends on the volatility of the forecasted demand at 648 J.M. Grosso et al. c70PAL c125PAL iPalleja4 d110PAP c110PAP iPapiol2AGBAR d54REL d100CFE c100CFE vSJ D c100LLO d80GAVi80 CAS85 c80GAVi80 CAS85 c70LLO vC anyars iRelleu iGava4 iCastelldefels d115CAST c115CAST vCanRoca iBellamar dPLANTA AportLL1 iSJD70 iSJD50 cRECARREGA iSJD10 iCornella50 iCornella70 c70FLL vZonaFranca vCerdaTraja vTorrassa vRossichMaq vCollblanc iCollblanc iEsplugues vEsplugues c130BAR iFinestrelles200 iFinestrelles176 d200BLL c200BLL vFinestrelles d176BAR sud c176BARsud c200BARsc vBonanova vPortola vMinaCiutat d200ALT c200ALT vBaroStLluis c200BARnord d90C E R D c101MIR iAltures vPsgS tJoan c100BLLnord d70BBE c70BBE iCornella100 iCornella130 iRoquetes aMS iMinaSeix aPousCAST iP ousC A ST aPousB aPousE12 iEtapBesos iEstrella12 d130BAR c140LLO d125PAL AportT vPalleja70 vAbrera vFontSanta vGava100a80 vTrinitat70 vTrinitat100 vT e rM on tc a da vT e rC a rme l vTrinitat130 AportLL2 c176BARcentre AportA vTrinitat200 vSifoTer vBesosM ontcCerd v70LLFLL vTer iSJDSpf iSJDSub d205FON d320FON iP all eja1 iP all eja2 c205FON c320FON c356FON d175P AP c175i135PAP vP apiolATL L c82PAL d130LSE iLaSentiu c130LSE aCAST8 iCastelldefels8 d145MMA iMasJove c145MMA c175BVI iStBoi iViladecans1 iStCliment1 iBegues1 d150SBO d175LOR iOrioles d184BE G d255BE G iBegues2 d114SC L d190SC L iStCliment2 d135VIL d185VIL iViladecans2 d369BEG iBegues3 d450BE G iBegues4 C175LOR C185VIL c190SCL c255BEG c150SBO C135VIL c114SCL C184ESP c369BE Gc450BEG iCanR oig c195Tor d147SCC iStaClmCervello c147SC C d205CES iCescaplina1 c205CE S d263CES iCescaplina2 c263CES d252CGL d313CGL iCanGuell2d3 d246CGYd200CGY d268CGY c200CGY c246CG Y c252CGL iCanG uey1d2 iCanGuey1d5 iCanGuell1 iCanGuey2 c268CGY d361CGY c361CGY iCanGuey3 d374CGL iCanGuell2d5 c374CGL c313CGL d200BSO iBellsoleig c200BSO d437VVI c300BAR iF inestrelles300 d320MGB iPapiol1 c320MGB C437VVI iMasGuimbau1 iTibidabo d400MGB iMasGuimbau2 c400MGB c475MGB c541TIB d255CAR iCarmel c255CAR d260SGE d328SGE c260SGE c328SGE iStGenis1 iStGenis2 c250TBA iTorreBaro2 iCerdUAB d197BE T d215VALL d184SMM iStaMaMontcada d132CMF d200FDM iFlorMaig c238UAB c200FDM c184SMM c197BET c132CMF C215VALL c250VASAB iVallensana1 c260VALL c275BEV d169CME iTorreBaro1 c169CME c55BAR d120P OM iMorera iMntjcStaAmalia iMntjcTresP ins d171SAM d144TP I d190TCA c144TPI C171SAM c190TCA c120P OM d117MTG c117MTG c135SCG d151BON d197GUI c151BON c197GUI d225GU I c225GUI iBonavista iGuinardera1 iGuinardera2 c70CFE vBesosStaColoma c100BES iTorreoCastell vFinestrllEsplg c150ALT c176BARnord d202CRU c202CRU iCanRuti d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 d32 d33 d34 d35 d36 d37 d38 d39 d40 d41 d42 d43 d44 d45 d46 d47 d48 d49 d50 d51 d52 d53 d54 d55 d56 d57 d58 d59 d60 d61 d62 d63 d64 d65 d66 d67 d68 d69 d70 d71 d72 d73 d76 d77 d78 d79 d80 d81 d82 d83 d84 d86 d85 d87 d88 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x31 x32 x33 x30 x34 x35 x36 x37 x38 x39 x40 x41 x42 x43 x45 x46 x47 x48 x49 x50 x51 x52 x54 x53 x55 x58 x56 x57 x59 x60 x61 x63 x62 u1 u2 u3 u4 u5 u6 u7 u8 u9 u10 u11 u12 u13 u14 u115 u15 u16 u17 u18 u19 u20 u21 u26 u23 u24 u30 u31 u28 u34 u35 u109 u111 u108 u32 u38 u40 u37 u112 u81 u123 u47 u42 u39 u43 u44 u45 u52 u56 u57 u60 u62 u66 u61 u63 u65 u68 u69 u67 u85 u50 u51 u78 u82 u105 u88 u102 u92 u94 u101 u100 u29 u110 u107 u36 u33 u41 u46 u55 u86 u53 u125 u90 u76 u74 u72 u71 u106 u83 u89 u80 u73 u87 u103 u97 u91 u96 u93 u98 u95 u99 u49 u22 u27 u25 u48 u58 u113 u84 u64 vConflent v70CF E vM ont iga la iUAB vH o rta iMasGuimbau3 iPalleja3 iVallvidrera d300BAR v55BAR iCerdSabadell iVallensana2 iBoscVilaro d10C OR d195TOR u59 u104 vCncpcioArenal u70 c100BLLsc d74 aPousE3456 iEstrella3456 u77 u75 135MGA vAltures v117Montigala iMontemar vP all ejaATL L vTerStaColoma vSJ DTot vPousEstrella iCerdMontflorit vCerdanyola90 x44 vCornella100 x15 u116 u117 u118 u119 u120 u121 u122 u124 u54 u126 u79 u127 u128 u129 u114 u130 N4 N3 N2 N1 N5 N6 N7 N8 N9 N10 N11 N12 N13 N14 N15 N16 N17 d75 Last Update: 23 Mar, 2011 Juan Manuel Grosso SAC – IRI– UPC 63 STATE VARIABLES (x) 114 CONTROL ACTIONS (u) 130 FL OW ACTUATORS (u) 88 DISTURBANCES (d) 17 NODES (N) Model P arameters Summary Reservoir Demand sector Source (Superficial or Underground) Pumping station Valve LEGEND: Infrastructures Distribution node Fig. 2. Barcelona DWN layout. each prediction step. The approach relies on a prediction model of the stochastic properties of disturbances, which should be running in parallel with the MPC model. The CC-MPC controller is not aware of the health of the network actuators. Reliability-based economic MPC with stationary uncertainty (RB-MPC). This approach was proposed by Grosso et al. (2012). It uses the original output bounds, but incorporates a dynamic state soft constraint to guarantee a desired service level under demand uncertainty. In this approach, the stochastic description of demands, used to define the soft constraint, is computed a posteriori before each MPC execution, based on the sample mean and sample deviation of water demands. Uncertainty is considered stationary within the MPC algorithm and, as a consequence, the controller keeps a uniform back-off of demand, whose amount represents the safety stock along the prediction horizon. Additionally, this approach incorporates also the actuator-health management policy of Section 2.2, but using a deterministic actuator degradation model. Reliability-based economic MPC using chanceconstraints (RB-SMPC). This is the approach proposed by this paper, which relies on solving the problem (13). It considers non-stationary stochastic demand uncertainty and stochastic actuator degradation. Hence, the base stock constraint, the hard bounds of the states and the terminal constraint of actuator degradation are in the form of chance constraints (see Section 2). The numeric assessment of the aforementioned approaches is carried out through different key performance indicators (KPIs), which are defined as follows: KPIE:=1 ns+1 ns  k=0 c u,kukΔt, (14a) KPIΔU:=1 ns+1 m  i=1 ns  k=0 Δu(i),k2,(14b) KPIS:= n  i=1 ns  k=0 max 0,x s(i),k −x(i),k,(14c) KPIZ:=1 ns+1 m  i=1 ns  k=0 z(i),k,(14d) Reliability-based economic model predictive control for generalised flow-based networks... 649 KPIV:= ns  k=1 vk,(14e) KPIO:=topt,k,(14f) where KPIEis the average economic performance of the DWN operation, KPIΔUmeasures the smoothness of the control actions, KPISis the amount of water used from safety stocks, KPIZaccounts for the average degradation of actuators, KPIVmeasures the number of safety constraint violations that have occurred during the simulation, with vkbeing the number of tanks that required the use of their safety stock at time step k,and KPIOdetermines the difficulty to solve the optimisation tasks involved in each strategy accounting topt,k as the average time that takes to solve the corresponding MPC optimisation problem. A lower KPI value represents a better performance result. Simulations have been carried out using γ={80,95}%for RB-MPC and δ= {5,20}%for both the CC-MPC and RB-SMPC (where δx=δand δz=δ). In addition, Table 3 discloses details of the production and operational costs related to each strategy, which are the primary objectives for DWN managers. Furthermore, Table 2 summarises the capabilities handled by each controller. This qualitative information complements the quantitative evaluation of the assessed strategies in order to highlight the benefits of the proposed RB-SMPC design. An important aspect in any MPC controller is the handling of constraints. In the Barcelona DWN, manipulated variables can always be kept within bounds by the controller, but output constraints, which are subject to measured and/or unmeasured uncertainties, must be properly handled. Since the baseline CE-MPC approach relies on proper tuning of heuristic safety stocks, its robustness and economic performance might be compromised. Contrarily, the RB-MPC, CC-MPC and RB-SMPC approaches focus on economic robust performance of the DWN. They enhance the robustness of the baseline CE-MPC by performing a dynamic handling of constraints while keeping tractability of the optimisation problems even for the large-scale model of the case study. In particular, the RB-SMPC approach proposed in this paper integrates the health-aware capabilities of the RB-MPC approach with the stochastic technique of the CC-MPC approach. Figure 3 shows the mechanismthat both RB-MPC and RB-SMPC approaches use to guarantee a service level in the DWN and to avoid the violation of real output constraints due to uncertainty. The plot shows the response of both controllers for a forecasted demand with confidence levels of 80% and 95%. Notice that both the approaches dynamically generate a back-off of the original constraints. An important observation regarding the handling of constraints by both RB-MPC and RB-SMPC controllers is the inherent relation between 0 10 20 30 40 50 60 70 80 90 100 0 100 200 300 400 500 Robust Constraints Handling Time [h] Volume [m3] dnet xmin,real xmax,real xmin,RB−SMPC@80% xmax,RB−SMPC@80% xmin,RB−SMPC@95% xmax,RB−SMPC@95% xs,RB−SMPC@80% xs,RB−SMPC@95% xs,RB−MPC@80% xs,RB−MPC@95% Fig. 3. Risk averse mechanism using the RB-MPC and RBSMPC approaches. the service level in RB-MPC and the joint risk level in RB-SMPC. Despite being defined under different philosophies, both parameters represent a measure of reliability for the DWN function. Nevertheless, Fig. 3 shows that the dynamic safety stock computed by the RB-MPC controller is uniform and more conservative than the one computed by RB-SMPC, which increases according to the forecast error along the prediction horizon. This fact highlights the importance of a suitable forecasting model and the effect of the explicit propagation of uncertainty within the MPC model. In general, decreasing the value of the service level, e.g., from 95% to 80% (equivalent to increasing the value of the risk level from 5% to 20%), causes a reduction in the safety stock and leads the base stock closer to the demand pattern, which means that the probability of not achieving the customer requirements increases due to the demand uncertainty. After reviewing the results in Tables 1 and 2, it can be said that the robustness enhancements of the MPC strategy proposed in this paper outperform the CE-MPC controller in terms of reliability, i.e., CE-MPC may have low values in most of KPIs but without any guarantee of reliability and robust or probabilistic feasibility. Despite having the lowest KPIS, the baseline CE-MPC approachis the one that presents the highest number of soft constraint violations, which means that the safety thresholds might be overestimated (as observed in several tanks in the DWN), causing more oscillations in the excursion of water, or keeping states near the threshold with easiness of activating the constraints in the controller. Therefore, the baseline CE-MPC approach, with fixed and empirical safety stocks, limits the economic optimisation. Instead, the CC-MPC approach reached the lowest KPIE(in both 80% and 95% risk levels) by incorporating robust and