scieee AI-readable full text Open interactive document viewer

Dynamical tuning for MPC using population games: a water supply network application

Barreiro Gómez, Julián,Ocampo-Martínez, Carlos,Quijano Silva, Nicanor

Abstract

Model predictive control (MPC) is a suitable strategy for the control of large-scale systems that have multiple design requirements, e.g., multiple physical and operational constraints. Besides, an MPC controller is able to deal with multiple control objectives considering them within the cost function, which implies to determine a proper prioritization for each of the objectives. Furthermore, when the system has time-varying parameters and/or disturbances, the appropriate prioritization might vary along the time as well. This situation leads to the need of a dynamical tuning methodology. This paper addresses the dynamical tuning issue by using evolutionary game theory. The advantages of the proposed method are highlighted and tested over a large-scale water supply network with periodic time-varying disturbances. Finally, results are analyzed with respect to a multi-objective MPC controller that uses static tuning.

Full text

Dynamical Tuning for MPC using Population Games: A Water Supply Network Application Julian Barreiro-Gomez a,b,⋆, Carlos Ocampo-Martinez a, and Nicanor Quijano b aAutomatic Control Department, Universitat Polit`ecnica de Catalunya, Institut de Rob`otica i Inform`atica Industrial (CSIC-UPC), Llorens i Artigas, 4-6, 08028 Barcelona, Spain bDepartamento de Ingenier´ıa El´ectrica y Electr´onica, Universidad de los Andes, Carrera 1 No 18A-10, Bogot´a, Colombia Abstract Model predictive control (MPC) is a suitable strategy for the control of large-scale systems that have multiple design requirements, e.g., multiple physical and operational constraints. Besides, an MPC controller is able to deal with multiple control objectives considering them within the cost function, which implies to determine a proper prioritization for each of the objectives. Furthermore, when the system has time-varying parameters and/or disturbances, the appropriate prioritization might vary along the time as well. This situation leads to the need of a dynamical tuning methodology. This paper addresses the dynamical tuning issue by using evolutionary game theory. The advantages of the proposed method are highlighted and tested over a large-scale water supply network with periodic time-varying disturbances. Finally, results are analyzed with respect to a multi-objective MPC controller that uses static tuning. Key words: Dynamical tuning, model predictive control, game theory, large-scale systems, water supply networks 1 Introduction Model predictive control (MPC) is one of the most used control techniques in industrial applications because of its versatility to deal with multiple design requirements. The MPC controller is an optimization-based technique that computes an optimal control sequence that minimizes a multi-objective cost function subject to physical and/or operational constraints. However, multiple control objectives imply to assign a prioritization weight for each objective. The task of finding the appropriate set of the aforementioned weights is known as the MPC tuning problem. In many cases, the tuning procedure is determined intuitively depending on the engineering application, or the adequate weights are found by a trial-and-error procedure. Furthermore, applications of large-scale nature, the consideration of a large number of constraints, and/or the need of including several control objectives make even more complex to determine the appropriate values for the MPC tuning weights. Therefore, the necessity of developing selftuning methodologies has arisen. Additionally, when having time-varying parameters, disturbances and/or nominal conditions within the system, the appropriate tuning may also vary through time. The tuning problem has been discussed by many authors and by using different approaches. A general review about different on-line and off-line tuning approaches for MPC controllers is presented in [6]. An alternative to determine the appropriate tuning of MPC controllers is by matching the MPC performance with the performance of a preestablished controller. For instance, in [5] the tuning of an MPC controller is computed based on a matching to a desired reference controller, then weights are adjusted in order to obtain a behavior close to the performance of the mentioned reference controller. Afterwards, an extension of this approach has been presented in [30]. In [27], ⋆Corresponding author Email addresses: [email protected] - [email protected] (Julian Barreiro-Gomez), [email protected] (Carlos Ocampo-Martinez), [email protected] (Nicanor Quijano). Preprint submitted to 31 March 2017 the matching to a linear controller is also used to determine the values of the MPC parameters for multiple-input- multiple-output systems. Authors in [20] present a tuning methodology for the weights of an MPC controller in the frequency domain using also control matching. In [35], an automatic tuning strategy is proposed consisting of a controller and a state observer. In [1], a tuning strategy is studied with an optimization algorithm, which uses an approximation between both a closed-loop predicted output and the parameters that can be adjusted in the MPC controller, and in [26] an optimal tuning of MPC policies with simultaneous perturbation stochastic approximation is presented. Other perspectives to solve the problem without the use of a reference model have emerged. For instance, in [29] it is proposed to compute several points of the Pareto front associated to the cost function in a multi-objective MPC controller. Then, a pre-established management point allows to determine the desired value within the Pareto front from which the appropriate tuning weights are determined. In [40], the system output is controlled to maintain it within a region instead of achieving a reference point. Therefore, weights are selected to penalize the output error with respect to a zone for a crude distillation unit. Besides, heuristic directions have also been used to determine the appropriate tuning in an MPC controller as in [38]. Moreover, in [32] and [8] the authors use neural networks and fuzzy-based decision making to establish a tuning in an MPC controller, illustrating examples for a mixing tank and for water networks, respectively. Further methods have been explored in the tuning task. In [36], a two-step off-set free tuning procedure is proposed. At first stage, the setup of a nominal MPC loop is made, and then the second step is in charge of adapting the external reference. In [31], a systematic tuning procedure is presented by using multi-objective optimization methods; in [10], a robust tuning problem for a two-degree-of-freedom MPC is presented for single-input-single-output system; and authors in [15] have presented a self-tuning of the terminal cost in an economic MPC controller. On the other hand, game theory has gotten special importance in the last years for the design of control and decision-making algorithms. A general view about the role of game theory in distributed control is presented in [13]. It is shown that game theory is quite suitable to achieve global objectives by setting local rules. Furthermore, evolutionary-game theory allows to model the evolution of agents when they interact strategically in a population [37], [25]. In the evolution process of the population, each rational agent makes rational decisions in order to pursue an improvement over its benefits until reaching a scenario where it is not possible to obtain an enhancement by unilaterally making a decision (this situation is given by a Nash equilibrium). Besides, evolutionary game theory allows to design systems that guarantee convergence to a Nash equilibrium. Additionally, there is a close relationship between the Nash equilibrium with a maximum point in a concave constrained optimization problem due to the fact that under certain conditions the Nash equilibrium satisfies the Karush-Kuhn-Tucker (KKT) first-order conditions [25], making evolutionary-game theory a powerful tool to address optimization-based control design. For instance, in [2], [4], [12], [17], [21], [22], [23], [24], and [28], a game-theoretical approach has been presented for optimization and/or control purposes. Given the suitability of game theory in control applications and its relationship with optimization, this paper proposes a dynamical tuning methodology based on evolutionary game theory. The contribution of this paper is a novel methodology for the on-line dynamical tuning of a multi-objective MPC controller based on evolutionary game theory. The method consists of a normalization of the cost function associated to the optimization problem that the MPC controller solves to determine the optimal control inputs at each time instant, and a population game that fixes the appropriate set of prioritization weights according to a desired region over the Pareto front known as management region. Furthermore, the method establishes a weighted sum, i.e., the sum of all weights should be equal to one [7]. The population game is solved by using a discrete version of the projection dynamics, which converge to a Nash equilibrium. It is shown that the projection dynamics satisfy the constraint given by the weighted sum, and the stability analysis of the Nash equilibrium under the discrete projection dynamics is formally presented. Some of the aforementioned previous works related to the tuning problem require either a reference controller or an observer, e.g., [5],[27], and [35]. Differently, the proposed method, based on population dynamics, do not require a reference controller. Moreover, other control strategies need to compute several points in the Pareto front in order to select an appropriate prioritization, which implies a high computational burden, e.g., [29]. As an advantage, the proposed method does not require to generate multiple points within the Pareto front associated to the multi-objective cost function in an MPC controller. Furthermore, most of the tuning techniques are static and performed off-line as part of a design procedure. Nevertheless, the proposed tuning methodology can continuously adjust the prioritization of the control objectives to maintain the system operating within the desired management region. In order to illustrate the enhancement over the performance of an MPC controller using the dynamical population-games-based tuning, the proposed methodology is applied to a large-scale water supply network. The results are analyzed and compared with respect to a multi-objective MPC controller with static tuning. The remainder of this paper is organized as follows. Section 2 introduces the background associated to multi-objective predictive control and population games. This section also introduces a discrete version of the projection dynamics and formally presents their properties. Section 3 presents the proposed dynamical tuning based on population 2 games, explaining in detail its different steps (normalization and dynamical weighting procedure). Then, Section 4 introduces the water supply network application, its control objectives, and motivates the necessity for implementing a dynamical tuning strategy. Furthermore, this section compares the results of a predictive controller with standard static tuning with respect to results when implementing the proposed dynamical tuning. Simulation results are analyzed and discussed highlighting the enhancement of the performance when adopting the dynamical tuning based on population games. Finally, concluding remarks are drawn in Section 5. Notation All column vectors are denoted by bold style, e.g., x. Matrices are denoted by bold upper case, e.g., A. In contrast, scalars are denoted by non-bold style, e.g., n. The sets are denoted by calligraphic upper case, e.g., S. The norm ∣∣x∣∣ of the vector x∈Rnxis defined as ∣∣x∣∣=√x⊺x. The identity matrix of size n×nis denoted by In,1nis the column vector with nunitary entries, i.e., 1n=[1... 1]⊺∈Rn, the vector of null entries and suitable dimensions is denoted by 0, and diag(p)is the diagonal matrix of the vector p. Finally, real numbers are denoted by R, all the non-negative numbers are denoted by R≥0, and all the strictly positive real numbers are denoted by R>0. Similarly, the integer numbers, non-negative integer numbers, and the strictly positive integer numbers are denoted by Z,Z≥0, and Z>0, respectively. Throughout this document, both continuous- and discrete-time systems are treated. Therefore, k∈Z≥0denotes that the system is described in discrete time, whereas the use of time denoted by tin the continuoustime expressions is mostly omitted in order to simplify the notation. Regarding the discrete time notation for the MPC controller, x(k+j∣k)denotes the prediction made at time kof the vector xfor time k+j, where k, j ∈Z≥0, i.e., in the argument (k+j∣k), the first element k+jindicates discrete time for prediction, whereas the second element kindicates the actual discrete time. 2 Background Prior to presenting the proposed population-games-based dynamical tuning, it is necessary to introduce some preliminary concepts that are used throughout the paper. First, some preliminaries related to the multi-objective MPC design and its corresponding optimization problem statement are introduced. Moreover, the mathematical formalism associated to the population dynamics, the discrete version of the projection dynamics, and their properties are shown and analyzed. 2.1 Multi-objective model predictive control Consider a system whose dynamics are represented by the following discrete-time state-space model: x(k+1)=Ax(k)+Bu(k)+Bdd(k),(1) where k∈Z≥0denotes the discrete time. The vector x∈Rnxdenotes the system states, u∈Rnudenotes the vector of control inputs, d∈Rndcorresponds to the vector of disturbances affecting the system, and A,B, and Bdare the system matrices of suitable dimensions. System states and control inputs are constrained because of physical and/or desired operational limits. These constraints are established by defining the following feasible sets: X≜{x∈Rnx∶Gx ≤g},(2a) U≜{u∈Rnu∶Hu ≤h},(2b) where G,g,H, and hare matrices and vectors of suitable dimensions to represent the constraints for the system states and control inputs, respectively. Let ˆ u(k)be a sequence of feasible control inputs within a pre-establish prediction horizon denoted by Hp∈Z>0. Similarly, let ˆ x(k)be the sequence of feasible system states when applying the control input sequence ˆ u(k)to the system (1). Finally, let ˆ d(k)be the forecasting of the disturbances as in [9],[33], and [34]. Hence, ˆ u(k)≜{u(k∣k),u(k+1∣k), ..., u(k+Hp−1∣k)},(3a) ˆ x(k)≜{x(k+1∣k),x(k+2∣k), ..., x(k+Hp∣k)},(3b) ˆ d(k)≜{d(k∣k),d(k+1∣k), ..., d(k+Hp−1∣k)}.(3c) 3 The system (1) is controlled by a multi-objective MPC controller with n≥2 control objectives. The optimization problem behind the MPC controller is as follows: minimize ˆ u J(x(k),d(k),u)=n ∑ j=1 γjJj(x(k),d(k),u),(4a) subject to: x(k+i+1∣k)=Ax(k+i∣k)+Bu(k+i∣k)+Bld(k+i∣k), i ∈[0, Hp−1]∩Z≥0,(4b) u(k+i∣k)∈U, i ∈[0, Hp−1]∩Z≥0,(4c) x(k+i∣k)∈X, i ∈[1, Hp]∩Z≥0,(4d) where x(k∣k)∈Rnxis the current measured state, and γj∈R≥0, with j=1,...,n, are the nprioritization weights in the cost function J(x(k),u)satisfying that ∑n j=1γj=1. Assuming that the optimization problem (4) is feasible, its solution is an optimal control input sequence denoted by ˆ u∗(k), i.e., ˆ u∗(k)≜{u∗(k∣k),u∗(k+1∣k), ..., u∗(k+Hp−1∣k)}. Therefore, it follows that the controller may only apply the first control input from the optimal sequence, which is given by u∗(k)≜u∗(k∣k). Then, after having applied the optimal control input to the system (1), a new state x(k+1)is measured and the procedure is repeated in order to determine the optimal sequence ˆ u∗(k+1)from which the control input u∗(k+1)is obtained. 2.2 Population games Consider a large and finite number of rational agents pursuing an improvement of their benefit within a population. It is assumed that each agent has the chance to select from a set of n≥2 available strategies from the set S={1,...,n}. Making the analogy with the optimization problem behind the MPC controller (4), each control objective is associated to a strategy. The scalar pi∈R≥0represents the proportion of agents selecting the strategy i∈S, and the vector p∈Rn ≥0represents the strategic distribution of agents, i.e., p=[p1. . . pn]⊺. Since each pi, for all i∈S, represents a proportion of agents, then it should be satisfied that ∑j∈Spj=1. Therefore, all the possible strategic distributions in the population are given by a simplex set ∆=⎧ ⎪ ⎪ ⎨ ⎪ ⎪ ⎩p∈Rn ≥0∶∑ j∈S pj=1⎫ ⎪ ⎪ ⎬ ⎪ ⎪ ⎭.(5) The incentives that agents have in order to switch from one strategy to another one are determined by a fitness function whose mapping is fi∶∆↦R, for all i∈S, i.e., fi(p)receives a strategic distribution of the population, and returns the benefits that the proportion of agents piobtains for selecting strategy i∈S. Therefore, the vector of fitness functions f∶∆↦Rnis a function that receives strategic distribution and returns the benefits for all the proportions in the population, i.e., f(p)=[f1(p). . . fn(p)]⊺. In this regard, notice that agents stop switching among strategies once they do not have more incentives to do so. This situation is achieved at an equilibrium point known as the Nash equilibrium introduced in Definition 1 [25]. Definition 1 A population state p∗∈∆is a Nash equilibrium if each used strategy entails the maximum benefit for the proportion of agents that chooses it. Equivalently, the Nash equilibrium p∗∈∆is given by the condition that p∗ i>0⇒fi(p∗)≥fj(p∗), for all i, j ∈S. The framework for the population games in this paper is given by full-potential and stable games. These two classes of population games allow to guarantee the stability of the Nash equilibrium under population dynamics. Full-potential and stable games are introduced in Definitions 2 and 3, respectively [25]. Definition 2 The game f(p)is a full-potential game if there exists a continuous differentiable function V(p), known as potential function, satisfying that ∂V (p) ∂pi=fi(p), for all i∈S,p∈∆. Then, a full-potential game is generated from a known potential differentiable function V(p).♢ 4 Definition 3 The population game f∶∆↦Rnis a stable game if (p−q)⊺(f(p)−f(q))≤0,for all p,q∈∆.(6) This condition is equivalent to the condition that Df(p)is negative semidefinite, where [Df(p)]ij =∂fi(p) ∂pj.♢ 2.2.1 Projection dynamics The projection dynamics are one of the six fundamental population dynamics [2][23][25], which have been introduced in [16]. These dynamics are given by the following differential equation: d dtpi(t)=fi(p)−1 n n ∑ j=1 fj(p),for all i∈S.(7) Then, according to (7), the proportion of agents pigrows as the fitness function fi(p)is greater than the average of fitness functions 1 n∑n j=1fj(p), and decreases otherwise. Alternatively, the projection dynamic in (7) can be re-written as follows: d dtpi(t)=1 n n ∑ j=1 fi(p(t))−1 n n ∑ j=1 fj(p(t)),for all i∈S, d dtpi(t)=1 n n ∑ j=1(fi(p(t))−fj(p(t))),for all i∈S, d dtp(t)=1 nLf(p(t)), where Lcorresponds to the Laplacian matrix of a complete graph [14]. The equilibrium point of the projection dynamics (7) is achieved when fi(p∗)=1 n∑n j=1fj(p∗), for all i∈S. This fact implies that at the equilibrium of (7), fi(p∗)=fj(p∗), for all i, j ∈S, and therefore p∗∈∆ is a Nash equilibrium according to Definition 1. For the population-games-based dynamical tuning for multi-objective MPC controllers, it is proposed to use the discrete version of the projection dynamics, which is obtained by using the Euler approximation for a sampling time τ∈R>0, i.e., d dtpi(t)≈(pi(k+1)−pi(k)) τ. Then, pi(k+1)=τ⎛ ⎝fi(p)−1 n n ∑ j=1 fj(p)⎞ ⎠+pi(k), for all i∈S. Notice that the projection dynamics can be re-written in a compacted manner as follows: p(k+1)=τ(In−1 n 1n1⊺ n)f(p)+p(k),(8) p(k+1)=τ nL f(p)+p(k).(9) The equilibrium of (8) is the same as the equilibrium of (7). Then, the equilibrium of (8) implies that fi(p∗)=fj(p∗), for all i, j ∈S. Prior making the stability analysis of the equilibrium point p∗∈∆, it is shown in Proposition 1 that the set of population states ∆ is invariant under the discrete projection dynamics (8). Proposition 1 The simplex ∆is an invariant set under the discrete projection dynamics (8), i.e., being p(0)the initial condition of the population state, if p(0)∈∆, then p(k)∈∆, for all k∈Z≥0. 5 Proof. It is desired to prove that 1⊺ np(k+1)=1⊺ np(k). Then 1⊺ np(k+1)=τ1⊺ n(In−1 n 1n1⊺ n)f(p)+1⊺ np(k), =τ1⊺ n(f(p)−1 n 1n1⊺ nf(p))+1⊺ np(k), =τ(1⊺ nf(p)−1 n 1⊺ n1n1⊺ nf(p))+1⊺ np(k). Since 1 n1⊺ n1n=1, it is obtained that 1⊺ np(k+1)=τ(1⊺ nf(p)−1⊺ nf(p))+1⊺ np(k). Finally, 1⊺ np(k+1)=1⊺ np(k), which completes the proof. ∎ The equilibrium point p∗∈∆ is asymptotically stable under the discrete projection dynamics (8) by selecting appropriately the sampling time τas stated in Proposition 2. Proposition 2 Let fbe a potential and stable game with potential function V(p), then the equilibrium point p∗∈∆ is asymptotically stable under the discrete projection dynamics (8) if the sampling time τis selected such that the matrix Ξ(τ)=Ψ+τ 2Ψ⊺Df(p)Ψis positive definite, where Ψ=(In−1 n1n1⊺ n)=1 nL. Proof. Since f(p)=∇V(p), and fis a stable game, then V(p)is a concave function. Consider the following Lyapunov function candidate: Ev(k)=V(p∗)−V(p(k)) τ, where Ev>0, for all p≠p∗, and Ev=0 for p=p∗. It is necessary to show that ∆Ev=Ev(k+1)−Ev(k)≤0, i.e., ∆Ev=V(p∗)−V(p(k+1))−V(p∗)+V(p(k)) τ, =−V(p(k+1))+V(p(k)) τ. As in [39], the Taylor expression of V(p)at pyields V(p(k+1))=V(p(k))+∇V(p(k))⊺∆p(k)+1 2∆p⊺∇2V(z(k))∆p(k), where ∆p(k)=p(k+1)−p(k), and z(k)is a value between p(k), and p(k+1). It follows that ∆Ev=−1 τ∇V(p(k))⊺∆p(k)−1 2τ∆p⊺∇2V(z(k))∆p(k).(10) Then, replacing from (8) the term ∆pin (10) yields ∆Ev=−∇V(p(k))⊺Ψ∇V(p)−τ 2∇V(p)⊺Ψ⊺∇2V(z(k))Ψ∇V(p), =−∇V(p(k))⊺(Ψ+τ 2Ψ⊺Df(k)Ψ)∇V(p). In conclusion, the equilibrium point p∗∈∆ is asymptotically stable if Ξ(τ)=Ψ+τ 2Ψ⊺Df(k)Ψ is positive definite. In addition, notice that there exists a τ∈R>0. To verify this fact, ∆Evis expressed in terms of the Laplacian L, i.e., ∆Ev=−1 n∇V(p(k))⊺L∇V(p) ´¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¸¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¶ ∆E1 v −τ 2n2∇V(p(k))⊺L⊺Df(k)L∇V(p) ´¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¸¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¶ ∆E2 v , 6 where the term ∆E1 v≤0 since it is a quadratic form and Lis positive definite [14], and ∆E2 v≥0 since it is a quadratic form and Df(k)is negative semidefinite according to Definition 3. Therefore, there exists a sufficiently small τ∈R>0 such that ∣∆E1 v∣≥∣∆E2 v∣.∎ Proposition 2 requires that the game fwas full potential. Nevertheless, the discrete projection dynamics (8) can also be implemented for other types of games. Therefore, Proposition 3 presents the stability proof for a game that does not require that the game is full potential, but still stable. Afterwards, it is shown that both results are equivalent for full-potential games. Proposition 3 Let fbe a stable game, then there exists a sampling time τ∈R>0such that the equilibrium point p∗∈∆is asymptotically stable under the discrete projection dynamics (8). The sampling time τis selected such that ∣2(p(k)−p∗)⊺f(p)∣>∣τf(p)⊺Ψ⊺Ψf(p)∣ is satisfied. Proof. Consider the Lyapunov function E(k)=1 τ∑n i=1(pi(k)−p∗ i)2, where E(k)>0 for all p≠p∗, and E(k)=0 for p=p∗. It is necessary to show that ∆Ev=Ev(k+1)−Ev(k)≤0, i.e., ∆Ev=1 τ n ∑ i=1{p2 i(k+1)−2pi(k+1)p∗ i+p∗2 i−p2 i(k)+2pi(k)p∗ i−p∗2 i}, =1 τ n ∑ i=1{−2pi(k+1)p∗ i+2pi(k)p∗ i+p2 i(k+1)−p2 i(k)}, =1 τ n ∑ i=1{−2pi(k+1)p∗ i+2pi(k)p∗ i}+1 τ n ∑ i=1{p2 i(k+1)−p2 i(k)}, =1 τ n ∑ i=1−2p∗ i(pi(k+1)−pi(k))+1 τ n ∑ i=1(pi(k+1)−pi(k))2+1 τ n ∑ i=1 2pi(k)(pi(k+1)−pi(k)), =1 τ n ∑ i=1 2(pi(k)−p∗ i)(pi(k+1)−pi(k))+1 τ n ∑ i=1(pi(k+1)−pi(k))2. Replacing the projection dynamics, it follows that ∆Ev=2(p(k)−p∗)⊺Ψf(p) ´¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¸¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¶ ∆E1 v +τf(p)⊺Ψ⊺Ψf(p) ´¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¸¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¶ ∆E2 v . The first term ∆E1 vis re-written as follows: ∆E1 v=2(p(k)−p∗)⊺(In−1 n 1n1⊺ n)f(p) =2(p(k)−p∗)⊺f(p)−2 n(p(k)−p∗)⊺1n1⊺ nf(p) =2(p(k)−p∗)⊺f(p)−2 n(p(k)⊺1n−p∗⊺1n) ´¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¸¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¶ 0 1⊺ nf(p) =2(p(k)−p∗)⊺f(p), then it is concluded that ∆E1 v≤0 since fis stable. On the other hand, ∆E2 v=τ n2f(p)⊺L⊺Lf(p), and it is concluded that ∆E2 v≥0. Finally, there exists a sampling time τ∈R>0such that ∣∆E1 v∣≥∣∆E2 v∣.∎ 2.2.2 Finding the sampling time: A potential-game example Consider the coordination game given by the following potential function: V(p)=−p2 1 2−p2 2−3p2 3 2, 7 Fig. 1. Evolution of proportion of agents for the coordination game under the discrete projection dynamics for four different values of τ. a) stable with τ=0.1<0.776, b) stable with τ=0.5<0.776, c) stable with τ=0.6<0.776, and d) marginally stable with τ=0.776. then, Df(p)=diag([−1−2−3]). According to Proposition 2, the condition for asymptotic stability of the equilibrium point p∗∈∆ is given by Ξ(τ)=⎡ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎣ 2 3−τ 2 τ 6−1 3 τ 3−1 3 τ 6−1 3 2 3−2τ 3 τ 2−1 3 τ 3−1 3 τ 2−1 3 2 3−5τ 6 ⎤ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎦ . The conditions over τto make Ξ(τ)positive definite are: 2 3−1 2τ>0,and 11 36τ2−2 3τ+1 3>0. It follows that Ξ(τ)is positive definite for any τ<0.776s,which is the condition to have asymptotic stability of the equilibrium point p∗∈∆ under the discrete projection dynamics (8). Figure 1 shows the evolution of the proportion of agents p∈∆ for the coordination game under the discrete projection dynamics using different sampling times. It can be seen that the system is marginally stable when τ=0.776 s, validating the condition over τto have asymptotic stability. Considering Proposition 3, it is also possible to find the conditions over the sampling time τby solving the following problem minτ∈R>0,p∈∆τ, subject to 0 ≤2(p(k)−p∗)⊺f(p)+τ n2f(p)⊺L⊺Lf(p), i.e., the minimum τsuch that stability condition is not satisfied with a p∈∆. When solving this optimization problem with f(p)=diag([-1 -2 -3])p, it is found that τc=0.7762 is the critical sampling time with p=[0.5941 0.4058 0]⊺. This example validates the equivalence between the conditions for τin Propositions 2 and 3. 3 Proposed dynamical tuning methodology The proposed dynamical tuning methodology based on population games consists of two different stages. First, it is necessary to normalize the multi-objective cost function, and then the discrete projection dynamics assign permanently the appropriate weights pifor each one of the control objectives Ji(x(k),u), for all i∈S. These two main steps of the dynamical tuning methodology are explained next. 3.1 Normalization The cost function (4a) has several control objectives, which might depend on different parameters, e.g., one objective depending on the system states in contrast with another objective in function of the control inputs. Furthermore, several objectives (even if they involve the same variables) might have different order of magnitude. Therefore, it is necessary to perform a normalization procedure in order to make a fair comparison among all the control objectives. Let x∗ i,u∗ ibe the optimal solution of the optimization problem (4) considering only the function Ji(x(k),u), i.e., the solution of (4) with weights γi=1, and γj=0, for all j∈S/{i}. Then, the Utopia point denoted by Jutopia = [Jutopia 1. . . Jutopia n]⊺is computed as in [11], i.e., Jutopia =[J1(x∗ 1,u∗ 1)J2(x∗ 2,u∗ 2)⋯Jn(x∗ n,u∗ n)]⊺.(11) 8 Optimizer Constraints System u p Prediction model Normalized cost function Projection dynamics Fitness functions f x Cost function Normalization Jutopia,Jnadir MPC DYNAMICAL TUNING w Constraints Prediction model ˆ x∗ ˆ u∗ Forecasting algorithm d ˆ d Fig. 2. General scheme of the proposed dynamical tuning. On the other hand, the ith Nadir value is computed as in [11], i.e., Jnadir i=max(Ji(x∗ 1,u∗ 1), Ji(x∗ 2,u∗ 2),⋯, Ji(x∗ n,u∗ n)),(12) where the Nadir point Jnadir is given by Jnadir =[Jnadir 1Jnadir 2⋯Jnadir n]⊺.(13) Finally, the normalized multi-objective cost function denoted by ˜ J(x(k),u)has the form ˜ J(x(k),u)=n ∑ i=1 ˜ Ji(x(k),u), where each normalized objective is given by ˜ Ji(x(k),u)=Ji(x(k),u)−Jutopia i Jnadir i−Jutopia i . Having normalized the cost function J(x(k),u), then the established weights assign a prioritization without being affected by the order of magnitude of each objective. This procedure is illustrated in Figure 2, receiving information from the cost function, prediction model, and constraints. 3.2 Dynamical weighting procedure Once the cost function has been normalized, it is considered that the prioritization weights at each control objective Ji(x(k),u)are given by a time-varying parameter pi(k), for all i∈S. Hence, the normalized optimization problem behind the MPC controller is formulated as follows: minimize ˆ u n ∑ i=1 pi(k)˜ Ji(x(0),u),(14a) subject to: x(k+j+1∣k)=Ax(k+j∣k)+Bu(k+j∣k)+Bld(k+j∣k), j ∈[0, Hp−1]∩Z≥0,(14b) u(k+j∣k)∈U, j ∈[0, Hp−1]∩Z≥0,(14c) x(k+j∣k)∈X, j ∈[1, Hp]∩Z≥0,(14d) where p(k)=[p1(k)⋯pn(k)]⊺, satisfying the constraint ∑n i=1pi(k)=1. The unitary value in the constraint of weights is associated to the population mass that defines the simplex set ∆ in the population game. Notice that 9 Figures 7 and 8 show the evolution of system states, control inputs, and dynamic prioritization weights for the first and second scenario with management regions given by w=[0.4 0.25 0.35]⊺,w=[0.6 0.15 0.25]⊺, and w=[0.8 0.05 0.15]⊺. The performance exhibits an oscillatory behavior for the adjustment of weights because of the disturbances in the system. In fact, it can be seen that the periodicity of the oscillation in the weights adjustment corresponds to the diary periodicity of the demands (see Figure 5). In addition, it can be seen in Figures 7 and 8 that the dynamical tuning suffers an abrupt change at the end of the fourth day adjusting weights appropriately. This fact occurs since, at that point, the decrement or increment of the mean value for the demand profiles is applied. 5 Concluding remarks A novel dynamical tuning methodology for multi-objective MPC controllers has been presented. The dynamical tuning methodology requires to normalize the cost function of the optimization problem behind the MPC controller. Therefore, a population game is solved with a discrete version of the projection dynamics, which update the appropriate tuning by using information about the current value of the normalized control objectives. The proposed dynamical tuning does not require to generate multiple points of the Pareto front, which implies that it is not computationally costly with respect to other reported on-line approaches. The proposed tuning has been established to be a weighting sum, for which it is required that the sum of all the weights is equal one. It has been shown that the discrete version of the projection dynamics satisfies this constraint throughout the evolution of their variables. Furthermore, the stability analysis of the Nash equilibrium under the discrete projection dynamics has been made, and it is guaranteed as long as the control objectives decrease as more priority is assigned to them (Assumption 1). Finally, the dynamical tuning methodology is implemented to a large-scale water supply network. Results have shown a reduction of costs when adopting the proposed population-games-based dynamical tuning. The reduction of costs is achieved for all the six tested tuning cases, and for two different scenarios for demand abrupt changes (one scenario considering a decrement of demand, and another considering an increment of demand). It is worth to point out that these achieved cost reductions have been presented for a period of eight days, and that these reductions are maintained along the time. Therefore, the proposed dynamical tuning strategy, according to the results obtained during a week, might represent a bigger reduction of costs in a larger period of time, e.g., a month or a year. Acknowledgement Authors would like to thank COLCIENCIAS (grant 6172) and Ag`encia de Gesti´o d’Ajust Universitaris i de Recerca AGAUR (FI-2014) for supporting J. Barreiro-Gomez. This work has been partially supported by the projects “Drenaje urbano y cambio clim´atico: Hacia los sistemas de alcantarillados del futuro, fase II. COLCIENCIAS”, and ECOCIS (Ref. DPI2013-48243-C2-1-R). References [1] A. Al-Ghazzawi, E. Ali, A. Nouh, and E. Zafiriou. On-line tuning strategy for model predictive controllers. Journal of Process Control, 11:265–284, 2001. [2] J Barreiro-Gomez, G Obando, and N Quijano. Distributed population dynamics: Optimization and control applications. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 47(2):304–314, 2017. [3] J. Barreiro-Gomez, C. Ocampo-Martinez, and N. Quijano. Evolutionary-game-based dynamical tuning for multi-objective model predictive control. In S. Olaru, A. Grancharova, and F. Lobo Pereira, editors, Developments in Model-Based Optimization and Control, pages 115–138. Springer Verlag, 2015. [4] J. Barreiro-Gomez, N. Quijano, and C. Ocampo-Martinez. Constrained distributed optimization: A population dynamics approach. Automatica, 69:101–116, 2016. [5] S. Di Cairano and A. Bemporad. Model predictive control tuning by controller matching. IEEE Transactions on Automatic Control, 55:185–190, 2010. [6] J.L. Garriga and M. Soroush. Model predictive control tuning methods: A review. Industrial & Engineering Chemistry Research (I&EC), 49:3505–3515, 2010. [7] O. Grodzevich and O. Romanko. Normalization and other topics in multi-objective optimization. In Proceedings of the Fields- MITACS Industrial Problems Workshop, pages 89–101, Toronto, Ontario, 2006. [8] J.M. Grosso, C. Ocampo-Martinez, and V. Puig. Learning-based tuning of supervisory model predictive control for drinking water networks. Engineering Applications of Artificial Intelligence, 26:1741–1750, 2013. [9] J.M. Grosso, C. Ocampo-Martinez, V. Puig, and B. Joseph. Chance-constrained model predictive control for drinking water networks. Journal of Process Control, 24:504–516, 2014. 16 [10] N. He, D. Shi, J. Wang, M. Forbes, J. Backstrom, and T. Chen. User friendly robust mpc tuning of uncertain paper-making processes. Proceedings of the 9th IFAC Symposium on Advanced Control of Chemical Processes (ADCHEM), 48:1021–1026, 2015. [11] I.Y. Kim and O. L. de Weck. Adaptive weighted sum method for multiobjective optimization: a new method for pareto front generation. Structural and Multidisciplinary Optimization, 31:105–116, 2006. [12] S. Lasaulce and H. Tembine. Game theory and learning for wireless networks: fundamentals and applications. Academic Press, 2011. [13] J. Marden and J. Shamma. Game theory and distributed control. Handbook of Game Theory, 4:861–899, 2014. [14] Mehran Mesbahi and Magnus Egerstedt. Graph theoretic methods in multiagent networks. Princeton series in applied mathematics. Princeton University Press, Princeton (N.J.), 2010. [15] M.A. M¨uller, D. Angeli, and F. Allg¨ower. On the performance of economic model predictive control with self-tuning terminal cost. Journal of Process Control, 24:1179–1186, 2014. [16] A. Nagurney and D. Zhang. Projected dynamical systems in the formulation, stability analysis, and computation of fixed demand traffic network equilibria. Transportation Science, 31:147–158, 1997. [17] G. Obando, A. Pantoja, and N. Quijano. Building temperature control based on population dynamics. IEEE Transactions on Control Systems Technology, 22(1):404–412, 2014. [18] C. Ocampo-Martinez, D. Barcelli, V. Puig, and Bemporad A. Hierarchical and decentralised model predictive control of drinking water networks: application to Barcelona case study. IET Control Theory and Applications, 6(1):62–71, 2012. [19] C. Ocampo-Martinez, V. Puig, G. Cembrano, and J. Quevedo. Application of predictive control strategies to the management of complex networks in the urban water cycle. IEEE Control Systems Magazine, 33(1):15–41, 2013. [20] L. Ozkan, J. Meijs, and A.C.P.M. Backx. A frequency domain approach for MPC tuning. In Proceedings of the Symposium on Process Systems Engineering, pages 15–19, Singapore, 2012. [21] S. Parsons and M. Wooldridge. Game theory and decision theory in multi-agent systems. Autonomous Agents and Multi-Agent Systems, 5(3):243–254, 2002. [22] L. Pavel. Game theory for control of optical networks. Springer Science & Business Media, 2012. [23] N. Quijano, C. Ocampo-Martinez, J. Barreiro-Gomez, G. Obando, A. Pantoja, and E. Mojica-Nava. The role of population games and evolutionary dynamics in distributed control systems. IEEE Control Systems, 37(1):70–97, 2017. [24] E. Ramirez-Llanos and N. Quijano. A population dynamics approach for the water distribution problem. International Journal of Control, 83:1947–1964, 2010. [25] W. H. Sandholm. Population games and evolutionary dynamics. Cambridge, Mass. MIT Press, 2010. [26] J.D. Schwartz and D.E. Rivera. Simulation-based optimal tuning of model predictive control policies for supply chain management using simultenuous perturbation stochastic approximation. In Proceedings of the American Control Conference (ACC), pages 14–16, Minneapolis, Minnesota, USA, 2006. [27] G. Shah and S. Engell. Tuning MPC for desired closed-loop performance for MIMO systems. In Proceedings of the American Control Conference (ACC), pages 4404–4409, San Francisco, USA, 2011. [28] H. Tembine, E. Altman, R. El-Azouzi, and Y. Hayel. Evolutionary games in wireless networks. IEEE Transactions on Systems, Man, and Cybernetics, Part B: Cybernetics, 40(3):634–646, 2010. [29] R. Toro, C. Ocampo-Martinez, F. Logist, J.V. Impe, and V. Puig. Tuning of predictive controllers for drinking water networked systems. In Proceedings of the 18th IFAC World Congress, pages 14507–14512, Milan, Italy, 2011. [30] Q.N. Tran, R. Octaviano, L. ¨ Ozkan, and A.C.P.M. Backx. Generalized predictive control tuning by controller matching. In Proceedings of the American Control Conference (ACC), pages 4889–4894, Portland, USA, 2014. [31] M. Vallerio, J.V. Impe, and F. Logist. Tuning of NMPC controllers via multi-objective optimisation. Computers and Chemical Engineering, 61:38–50, 2014. [32] J.H. van der Lee, W.Y. Svrcek, and B.R. Young. A tuning algorithm for model predictive controllers based on genetic algorithms and fuzzy decision making. ISA Transactions, 47:53–59, 2008. [33] Y. Wang, C. Ocampo-Martinez, and V. Puig. Stochastic model predictive control based on Gaussian processes applied to drinking water networks. IET Control Theory and Applications, 10:947–955, 2016. [34] Y. Wang, C. Ocampo-Martinez, V. Puig, and J. Quevedo. Gaussian-process-based demand forecasting for predictive control of drinking water networks. In C. G. Panayiotou, G. Ellinas, E. Kyriakides, and M. M. Polycarpou, editors, Critical Information Infrastructures Security. Lecture Notes in Computer Science 8985: CRITIS 2014, pages 69–80. Springer International Publishing, 2016. [35] H. Waschl and L. Alberer, D.and del Re. Automatic Tuning Methods for MPC Environments, pages 41–48. Springer Berlin Heidelberg, Berlin, Heidelberg, 2012. [36] H. Waschl, J.B. Jogensen, J.K. Huusom, and L. del Re. A tuning approach for offset-free MPC with conditional reference adaptation. In Proceedings of the 19th World Congress, pages 24–29, Cape Town, South Africa, 2014. [37] J. W. Weibull. Evolutionary Game Theory. The MIT Press, London, England, 1997. [38] W. Wojsznis, J. Gudaz, T. Blevins, and A. Mehta. Practical approach to tuning MPC. ISA Transactions, 42:149–162, 2003. [39] L. Xiao and S. Boyd. Optimal scaling of a gradient method for distributed resource allocation. Journal of Optimization Theory and Applications, 129:469–488, 2006. [40] A.S. Yamashita, A.C. Zanin, and D. Odloak. Tuning the model predictive control of a crude distillation unit. ISA Transactions, 60:178–190, 2016. 17