Full text
Applied Energy 334 (2023) 120740 Available online 24 January 2023 0306-2619/© 2023 The Author(s). Published by Elsevier Ltd. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/bync-nd/4.0/). Contents lists available at ScienceDirect Applied Energy journal homepage: www.elsevier.com/locate/apenergy Coalitional model predictive control of parabolic-trough solar collector fields with population-dynamics assistance✩ Ana Sánchez-Amores a,∗, Juan Martinez-Piazuelo b, José M. Maestre a, Carlos Ocampo-Martinezb, Eduardo F. Camacho a, Nicanor Quijano c aDepartment of Systems and Automation Engineering, University of Seville, Spain bAutomatic Control Department, Universitat Politècnica de Catalunya, Spain cDepartamento de Ingeniería Eléctrica y Electrónica, Universidad de los Andes, Colombia ARTICLE INFO Keywords: Model predictive control Coalitional control Population dynamics Distributed solar collector field ABSTRACT Parabolic-trough solar collector fields are large-scale systems, so the application of centralized optimizationbased control methods to these systems is often not suitable for real-time control. As such, this paper formulates a novel coalitional control approach as an appropriate alternative to the centralized scheme. The key idea is to split the overall solar collector field into smaller subsystems, each of them governed by a local controller. Then, controllers are clustered into coalitions to solve a local optimization-based problem related to the corresponding subset of subsystems, so that an approximate solution of the original centralized problem can be obtained in a decentralized fashion. However, the operational constraints of the solar collector field couple the optimization problems of the multiple coalitions, thus limiting the ability to solve them in a fully decentralized manner. To overcome this issue, a novel population-dynamics-assisted resource allocation strategy is proposed as a mechanism to decouple the local optimization problems of the multiple coalitions. The proposed coalitional methodology allows to solve the multiple local subproblems in parallel, hence reducing the overall computational burden, while guaranteeing the satisfaction of the operational constraints and without significantly compromising the overall performance. The effectiveness of proposed approach is shown through numerical simulations of a 10- and 100-loop version of the ACUREX solar collector field of Plataforma Solar de Almería, Spain. 1. Introduction In 2015, all United Nations members approved the 2030 Agenda for Sustainable Development, where seventeen sustainable development goals can be found. In particular, Goals #7 and #13, (‘‘Affordable and clean energy’’ and ‘‘Climate action’’ respectively), focus on the need to tackle climate change and protect the environment [1], since carbon dioxide and other greenhouse gases in the atmosphere have reached record levels in recent years. For this reason, there is great interest in the use of renewable energy to reduce the high environmental impact of fossil fuel systems. Among the different sources of renewable energy (for example, solar, wind, geothermal, hydropower, ocean, bioenergy), solar energy is the most abundant [2]. To generate electricity from ✩The authors gratefully acknowledge the financial support by the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation program (OCONTSOLAR, grant agreement No 789051). In addition, the authors would like to thank the projects PID2020-119476RB-I00 (C3PO- R2D2), PID2020-115905RB-C21 (L-BEST), and TED2021-129927B-I00 (MASHED), funded by MCIN/ AEI/10.13039/501100011033 and by the European Union Next GenerationEU/PRTR, for supporting this research. Finally, Juan Martinez-Piazuelo gratefully acknowledges the Universitat Politècnica de Catalunya and Banco Santander, Spain for the financial support of his predoctoral grant FPI-UPC. ∗Corresponding author. E-mail addresses: [email protected] (A. Sánchez-Amores), [email protected] (J. Martinez-Piazuelo), [email protected] (J.M. Maestre), [email protected] (C. Ocampo-Martinez), [email protected] (E.F. Camacho), [email protected] (N. Quijano). sunlight, two main techniques can be distinguished: directly through photovoltaic panels or indirectly using concentrated solar power (CSP) systems. CSP systems, reviewed in [3,4], collect solar radiation and concentrate it to heat a fluid that will produce steam to drive turbine generators. This technology includes parabolic troughs [5], Fresnel collectors [6], solar power towers [7], and dish collectors [8]. However, this article will focus exclusively on the control for parabolic-trough solar collector fields. Unlike other power generation processes, where the main energy source can be handled as a control variable, solar energy cannot be manipulated and therefore acts as a disturbance from a control view point. In this regard, model predictive control (MPC) is one of the most https://doi.org/10.1016/j.apenergy.2023.120740 Received 3 August 2022; Received in revised form 28 December 2022; Accepted 18 January 2023
Applied Energy 334 (2023) 120740 2 A. Sánchez-Amores et al. popular techniques applied in the control of parabolic-trough plants, as it deals with system disturbances and constraints in a recedinghorizon fashion. For example, the authors of [9] formulate a dual MPC approach for reference tracking and disturbance rejection, while the authors of [10] propose an MPC for the optimal scheduling of CSP systems. However, one of the main drawbacks of the MPC approach is the computational effort required to solve large-scale optimization problems in real time. To overcome this issue in parabolic-through plants, recent research has focused on decreasing the computational burden with respect to the implementation of a centralized MPC. For example, neural networks are applied to approximate the optimal flow value given by an MPC in [11], reducing the computational load. Moreover, the authors of [12] propose a fuzzy MPC for the parabolictrough plant to predict the future evolution of the outlet temperature while reducing the computational time with respect to the original non-linear model of the plant. As an alternative, coalitional MPC partitions the large-scale system into clusters of local controllers (or agents), achieving a trade-off between coordination and performance. This type of distributed control dynamically adjusts the structure of the global problem, creating clusters of cooperative agents only when it improves overall performance. The main objective of coalitional control is to offer an intermediate solution between fully cooperative and decentralized schemes, providing better performance than decentralized control while reducing the communication and computation burden of fully cooperative approaches [13]. A major problem that arises in the application of centralized strategies to large-scale systems is that the number of control variables explodes while increasing the size of the model. To address this issue, coalitional control splits the global control problem into multiple local subproblems, which are solved in a decentralized fashion by the agents within a coalition. In particular, the local subproblems in a parabolic-trough solar collector field are coupled to each other by a global shared resource constraint, referring to the total amount of heat transfer fluid that can be provided to the field; see [14,15]. Hence, a key problem is how to decouple the shared constraint, so that the local problem of each coalition can be solved in a decentralized fashion and independently of other coalitions. In this way, such a decentralized framework seeks to reduce the computational burden of the overall approach by taking advantage of parallel executions. Note that, for classical decentralized schemes, the satisfaction of the coupled constraint requires an equal distribution of this constraint among all the local problems, without any dynamic adjustment, since there is no cooperation between the different parts of the system. As a result, there could be a greater loss of performance. In contrast to previous works and inspired by ideas on evolutionary game theory, this paper proposes a novel approach to decouple the aforementioned shared resource constraint. Recently, the field of evolutionary games and population dynamics [16,17] has received significant attention with respect to applications of dynamic resource allocation in large-scale systems [18]. Some examples include wireless networks [19], water distribution systems [20], demand response applications [21], coordination of electric vehicle charging [22], and congestion games in autonomous vehicle fleets [23], among others. A motivation behind such applications is that population dynamics have certain invariance and stability features that make them suitable for dynamic resource allocation problems. Namely, granted an appropriate initial condition, some population dynamics guarantee the dynamic satisfaction of simplex-like constraints without relying on repeated projections. In the context of dynamic resource allocation, this invariance property can be exploited to guarantee the feasibility of the resource distribution at any point in time. On the other hand, several population dynamics have well-studied asymptotic stability properties, which guarantee their asymptotic convergence to the optimal solution of an underlying optimization problem [17]. Based on the above, this work combines a coalitional model predictive control approach with population dynamics for resource distribution. In particular, the coalitional approach splits the global control problem into multiple coupled local subproblems, whereas population dynamics are employed to allocate the available resource over the multiple coalitions, guaranteeing the satisfaction of the coupled constraint at any point in time so that the multiple local control subproblems can be solved in parallel to reduce computational time. In summary, the contributions of this paper are twofold: •First, a novel coalitional MPC approach with population-dynamics assistance is formulated for the temperature regulation of parabolic-trough solar collector fields. The proposed approach not only guarantees the exact satisfaction of the shared resource constraint, but also reduces computational burden, leading to improved scalability for large-scale scenarios. •Second, the proposed approach is validated through numerical simulations of a 10- and 100-loop version of the ACUREX solar collector field of the Plataforma Solar de Almería, Spain. The numerical results show that, when compared to a centralized MPC approach, the proposed method provides a significant reduction in computation times, yet with negligible losses on performance. The proposed strategy is presented as an alternative to relieve the computational burden, since, apart from considering a coalition approach, it proposes a linearization of the lumped parameter model of the solar plant. In this way, the use of a nonlinear distributed parameter models is avoided as it would increase the overall computational burden. Another alternative on how to deal with the non-linearity of the system model can be found in [24], where the authors use a linear parameter varying model of the solar plant. In such a work, the authors present an adaptive MPC in which two consecutive quadratic programming problems are solved to obtain the optimal control law. In contrast with such an approach, our proposed strategy relies on static linearization techniques, reducing the overall computational burden of the method. On the other hand, it is worth to highlight that although our approach employs an additional control layer for the dynamic resource allocation of the coupled constraint (which may be seen as a disadvantage as it increases the overall complexity of the strategy), such a control layer can be executed at a different time-scale than the (bottom) MPC layer, ruling out any significant bottlenecks at real-time execution. Moreover, despite this additional complexity, our proposed approach reduces the total computation time in comparison with centralized MPC, with a minimal impact on the overall performance. The remainder of this article is organized as follows. In Section 2, the mathematical model of the parabolic-trough solar collector field and the operational constraints considered are presented. Section 3de- scribes the overall control objective and introduces the problem setting for coalitional MPC. Furthermore, Section 3motivates the assistance via population-dynamics to distribute the available resource and handle the coupled constraint, and presents the proposed control scheme. Section 4includes some numerical simulation results on a 10- and 100-loop solar collector field. Finally, concluding remarks and future research lines are provided in Section 5. Notations. R𝑛denotes the 𝑛-dimensional Euclidean space, while R𝑛 ≥0 and R𝑛 >0denote the non-negative and positive orthants of R𝑛, respectively. Moreover, let col (𝑎, 𝑏, …, 𝑧)denote the stacked column vector obtained from the collection of column vectors 𝑎, 𝑏, …, 𝑧. Similarly, let diag (𝐴1, 𝐴2,…, 𝐴𝑁)be the diagonal block matrix with the square matrices 𝐴1, 𝐴2,…, 𝐴𝑁in its main diagonal. Given a vector 𝑎∈R𝑛, the notation 𝑎𝑖refers to the 𝑖th element of 𝑎. Finally, given a square matrix 𝐴∈R𝑛×𝑛, the notation 𝜆max (𝐴)refers to the maximum eigenvalue of 𝐴. 2. Parabolic-trough solar collector field 2.1. Description of the ACUREX solar plant system Throughout this article, the ACUREX parabolic-trough solar collector field located in Plataforma Solar de Almería (PSA), Spain, is
Applied Energy 334 (2023) 120740 3 A. Sánchez-Amores et al. Fig. 1. Schematic of the ACUREX parabolic-trough solar collector plant. studied. The solar field consists of a set of parabolic mirrors, known as collectors, which concentrate solar irradiance in a pipe located in its focal line, where a heat transfer fluid (HTF) heats up as it circulates. The HTF carries the thermal energy to produce steam, and the electrical energy is generated by a steam turbine. For this plant, Therminol 55 is used as the HTF, whose density (𝜌) and specific heat capacity (𝑐) are temperature dependent and are given by [25] 𝜌(𝑇𝑓(𝑡))= 903 − 0.672𝑇𝑓(𝑡), 𝑐(𝑇𝑓(𝑡))= 1820 + 3.478𝑇𝑓(𝑡),(1) where 𝑇𝑓(𝑡)is the temperature of the HTF at time instant 𝑡. The distributed collector field can be modeled as a set = {1,…, 𝑁} of 𝑁parallel loops; in particular, the ACUREX solar collector field consists of 480 east–west aligned single-axis tracking collectors that form 𝑁= 10 loops. Each loop measures 174 m in length, and consists of four 12-module collectors connected in series. For each loop 𝑗∈, it is possible to distinguish an active part that receives solar irradiance (144 m length) from a passive part where solar radiation does not reach (30 m length). Moreover, it is assumed that the HTF inflow of each loop 𝑗∈is controllable. Furthermore, in general, loops have different dynamics, because their mirrors might have different levels of cleanliness and thermal losses. However, there are some homogeneous parameters for all loops 𝑗∈, such as the length 𝐿of each loop, the cross-sectional area 𝑎𝑓of the HTF, and the reflective surface 𝑆of each loop. As an illustration, Fig. 1 shows a diagram of the ACUREX plant. 2.2. Concentrated parameter model This section presents the dynamical model considered, which describes the behavior of the ACUREX solar plant [26]. For the sake of clarity, the model variables and parameters are summarized in Table 1. In what follows, each loop 𝑗∈will be described using the concentrated parameter model, which provides a global description of a loop by modeling the variation of the internal energy of the HTF. More formally, each loop 𝑗∈can be described by the continuous-time model given by 𝐶𝑗(𝑡)𝑑𝑇𝑗(𝑡) 𝑑𝑡 =𝛼𝑗𝜂𝑆𝐼(𝑡) − 𝛽𝑗𝑆𝐻𝑗(𝑡)( 𝑇𝑗(𝑡) − 𝑇𝑎(𝑡)) −𝑃𝑗(𝑡)𝑞𝑗(𝑡)(𝑇𝑗(𝑡) − 𝑇𝑖𝑛 𝑗(𝑡)), (2) with 𝐶𝑗(𝑡) = 𝜌𝑗(𝑇(𝑡))𝑐𝑗(𝑇(𝑡))𝑎𝑓𝐿, 𝑃𝑗(𝑡) = 𝜌𝑗(𝑇(𝑡))𝑐𝑗(𝑇(𝑡)), 𝑇𝑗(𝑡) = 𝑇𝑗(𝑡) + 𝑇𝑖𝑛 𝑗(𝑡) 2. Here, the global coefficient of thermal losses 𝐻𝑗(𝑡)depends on the outlet (𝑇𝑗), inlet (𝑇𝑖𝑛 𝑗), and ambient (𝑇𝑎) temperatures, and its expression can be found in [25]. Moreover, 𝜂is the overall efficiency of the collectors, considering the optical and geometric efficiencies. In addition, the difference in loop dynamics is modeled through two scaling factors 𝛼𝑗and 𝛽𝑗that characterize the mirror cleanliness and thermal losses of each loop, respectively. Furthermore, notice that, as (2) describes the dynamics of the outlet temperature of loop 𝑗, the properties in (1) of the HTF in loop 𝑗become dependent on the corresponding outlet temperature 𝑇𝑗(𝑡). 2.3. Characteristics and operational constraints of the system Let us assume that the inlet temperature of each loop is equal to the inlet temperature of the fluid to the field, i.e., 𝑇𝑖𝑛 𝑗=𝑇𝑖𝑛, for all 𝑗∈. Additionally, the inlet temperature, direct normal irradiance (DNI), and ambient temperature are considered disturbances that can be measured or estimated. Moreover, the outlet temperature of the whole field is given by 𝑇(𝑡) = ∑𝑁 𝑗=1 𝑇𝑗(𝑡)𝑞𝑗(𝑡) 𝑞𝑇(𝑡),(3) where the total HTF flow of the field is defined as 𝑞𝑇(𝑡) = 𝑁 ∑ 𝑗=1 𝑞𝑗(𝑡).(4) On the other hand, several operating restrictions must be considered due to the minimum (𝑇min)and maximum (𝑇max)temperatures supported by the HTF, and also the operating limits of the pump and valves. Namely, it is required that 𝑇min ≤𝑇𝑗(𝑡)≤𝑇max,∀𝑗∈(5a) 𝑞min ≤𝑞𝑗(𝑡)≤𝑞max,∀𝑗∈(5b)
Applied Energy 334 (2023) 120740 4 A. Sánchez-Amores et al. Table 1 Model’s variables (top) and parameters (bottom). Symbol Description Units 𝑡Continuous-time variable s 𝑘Discrete-time index – 𝑇𝑗Outlet temperature of loop 𝑗◦C 𝑇𝑖𝑛 𝑗Inlet temperature of loop 𝑗◦C 𝑇Outlet temperature of the field ◦C 𝑇𝑖𝑛 Inlet temperature of the field ◦C 𝑇𝑎Ambient temperature ◦C 𝑇Mean inlet–outlet temperature ◦C 𝑞𝑗HTF flow in loop 𝑗l/s 𝑞𝑇Total HTF flow l/s 𝐼Direct solar irradiance W/m2 𝐻𝑗Coef. of thermal losses of loop 𝑗W/(m2◦C) 𝛿Discretization time s 𝑁Number of loops – 𝐿Length of each loop m 𝑆Reflective surface of each loop m2 𝑎𝑓Cross-sectional area of the fluid m2 𝜌Density of the HTF kg/m3 𝑐Specific heat capacity of the HTF J/(kg ◦C) 𝐶𝑗Thermal capacity of a loop J/◦C 𝜂Efficiency of the collectors – 𝛼𝑗Cleanliness scale factor of loop 𝑗– 𝛽𝑗Loss scale factor of loop 𝑗– 𝑞𝑇(𝑡)≤𝑞𝑇 ,max,(5c) where the minimum flow value in a loop, 𝑞min, is such that there is a turbulent regime within the loop, and the maximum flow in a loop, 𝑞max, is related to the maximum pressure drop allowed. Moreover, the pump limits the total HTF flow of the field within a maximum value 𝑞𝑇 ,max. 2.4. Linear discrete-time model of the system For the control strategy formulated in this paper, a linearization of the concentrated parameter model of each loop, i.e., (2), is proposed to operate every loop close to a desired operating point (𝑇◦ 𝑗, 𝑞◦ 𝑗). For this purpose, the temperature and flow of each loop 𝑗∈are redefined as the sum of its value at the operating point plus a small increment represented by the deviation variables (𝑥𝑗, 𝑢𝑗). That is, 𝑇𝑗(𝑡) = 𝑇◦ 𝑗+𝑥𝑗(𝑡), 𝑞𝑗(𝑡) = 𝑞◦ 𝑗+𝑢𝑗(𝑡).(6) Assumption 1. Since only small variations around the operating point are considered, it is assumed that temperature-dependent parameters, e.g. 𝑃𝑗, 𝐶𝑗and 𝐻𝑗, are fixed at a temperature value equal to 𝑇◦ 𝑗. Consequently, these time-varying parameters are now assumed to be constant. For the sake of clarity, these parameters are identified with the superscript ◦in the linear model to emphasize their dependence on the operating point. Based on (6), the lumped model defined in (2) can be expressed as 𝐶◦ 𝑗 𝑑𝑥𝑗(𝑡) 𝑑𝑡 = − (𝑃◦ 𝑗𝑞◦ 𝑗+𝛽𝑗𝑆𝐻◦ 𝑗 2)𝑥𝑗(𝑡) −𝑃◦ 𝑗(𝑇◦ 𝑗−𝑇𝑖𝑛(𝑡))𝑢𝑗(𝑡) +𝛼𝑗𝜂𝑆𝐼(𝑡) − 𝑃◦ 𝑗𝑞◦ 𝑗(𝑇◦ 𝑗−𝑇𝑖𝑛(𝑡)) −𝛽𝑗𝑆𝐻◦ 𝑗 2(𝑇◦ 𝑗+𝑇𝑖𝑛(𝑡)−2𝑇𝑎(𝑡)), (7) for every loop 𝑗∈. Moreover, by grouping and identifying the terms that accompany 𝑥𝑗as 𝐴𝑐 𝑗, those that accompany 𝑢𝑗as 𝐵𝑐 𝑗, and the disturbances as 𝑤𝑐 𝑗, the model in (7) can be rewritten as 𝐶◦ 𝑗𝑥𝑗(𝑡) = 𝐴𝑐 𝑗𝑥𝑗(𝑡) + 𝐵𝑐 𝑗𝑢𝑗(𝑡) + 𝑤𝑐 𝑗(𝑡),∀𝑗∈,(8) where the superscript 𝑐emphasizes the continuous-time nature of the model. The forward Euler method is used to approximate the time derivatives in order to express the model of each loop 𝑗∈in discrete time, that is, 𝑑𝑥𝑗(𝑡) 𝑑𝑡 ≈𝑥𝑗[𝑘+ 1] − 𝑥𝑗[𝑘] 𝛿,(9) being 𝛿the discretization time. Dividing by 𝐶◦ 𝑗, and following (9), Eq. (7) can be expressed in discrete time as 𝑥𝑗[𝑘+ 1] = (𝛿 𝐶◦ 𝑗 𝐴𝑐 𝑗+ 1) ⏟⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏟ 𝐴𝑗 𝑥𝑗[𝑘] + 𝛿 𝐶◦ 𝑗 𝐵𝑐 𝑗 ⏟⏟⏟ 𝐵𝑗 𝑢𝑗[𝑘] + 𝛿 𝐶◦ 𝑗 𝑤𝑐 𝑗 ⏟⏟⏟ 𝑤𝑗 [𝑘],(10) for all 𝑗∈. By the identified terms, the local discrete-time model of each loop 𝑗∈is given by 𝑥𝑗[𝑘+ 1] = 𝐴𝑗𝑥𝑗[𝑘] + 𝐵𝑗𝑢𝑗[𝑘] + 𝑤𝑗[𝑘].(11) Equivalently, by defining 𝑥[𝑘] = col (𝑥1[𝑘], 𝑥2[𝑘],…, 𝑥𝑁[𝑘])∈R𝑁, 𝑢[𝑘] = col (𝑢1[𝑘], 𝑢2[𝑘],…, 𝑢𝑁[𝑘])∈R𝑁, 𝑤[𝑘] = col (𝑤1[𝑘], 𝑤2[𝑘],…, 𝑤𝑁[𝑘])∈R𝑁, 𝐴=diag (𝐴1, 𝐴2,…, 𝐴𝑁)∈R𝑁×𝑁, 𝐵=diag (𝐵1, 𝐵2,…, 𝐵𝑁)∈R𝑁×𝑁, the model of the whole field can be written more compactly based on (11) as 𝑥[𝑘+ 1] = 𝐴𝑥[𝑘] + 𝐵𝑢[𝑘] + 𝑤[𝑘].(12) Finally, the constraints in (5) can be rewritten in terms of the deviation variables 𝑥𝑗[𝑘] = 𝑇𝑗[𝑘] − 𝑇◦ 𝑗and 𝑢𝑗[𝑘] = 𝑞𝑗[𝑘] − 𝑞◦ 𝑗as 𝑇min −𝑇◦ 𝑗≤𝑥𝑗[𝑘]≤𝑇max −𝑇◦ 𝑗,∀𝑗∈(13a) 𝑞min −𝑞◦ 𝑗≤𝑢𝑗[𝑘]≤𝑞max −𝑞◦ 𝑗,∀𝑗∈(13b) ∑ 𝑗∈ 𝑢𝑗[𝑘]≤𝑞𝑇 ,max −∑ 𝑗∈ 𝑞◦ 𝑗.(13c) Remark 1. We highlight that since the control strategy formulated in this paper relies on the discrete-time linear time-invariant (LTI) model presented in (12), our proposed method is also applicable for other nonlinear models of the solar plant (i.e., models different than (2), for each loop 𝑗∈) for which a discrete-time LTI model as (12) can be obtained. 3. Problem statement and proposed approach 3.1. Overall control objective This section introduces the overall control objective considered in this paper. Throughout, the linear discrete-time model of each loop given in (11) is considered, or equivalently, the model of the entire solar field given in (12). Both models are defined in terms of the deviation variables 𝑥𝑗[𝑘] = 𝑇𝑗[𝑘] − 𝑇◦ 𝑗and 𝑢𝑗[𝑘] = 𝑞𝑗[𝑘] − 𝑞◦ 𝑗. Thus, the goal is to regulate the deviation variables at the origin, so that the system is kept close to the desired operating point (𝑇◦ 𝑗, 𝑞◦ 𝑗), for all 𝑗∈, while satisfying the operational constraints given in (13). Definition 1 (Control Objective).Let 𝑁p∈Z≥1be the prediction horizon. The model predictive optimization-based control problem to be solved at time 𝑘is given by min 𝐮[𝑘] 𝑁p ∑ 𝑛=1 𝑥[𝑘+𝑛]⊤𝑄𝑥[𝑘+𝑛] + 𝑁p−1 ∑ 𝑛=0 𝑢[𝑘+𝑛]⊤𝑅𝑢[𝑘+𝑛],(14)
Applied Energy 334 (2023) 120740 5 A. Sánchez-Amores et al. subject to the constraints in (12) and (13). The weighting matrices for state and input 𝑄, 𝑅 ∈R𝑁×𝑁are symmetric positive definite, and the vector 𝐮[𝑘]describes the sequence of inputs 𝑢[⋅]from instants 𝑛=𝑘to 𝑘+𝑁p− 1, i.e., 𝐮[𝑘] = col (𝑢[𝑘], 𝑢[𝑘+ 1],…, 𝑢[𝑘+𝑁p− 1]). Remark 2. Regarding Definition 1, it is worth highlighting that the corresponding model predictive controller receives an estimate of the solar DNI profile over the prediction horizon, which can be forecast using several techniques, such as those proposed in [27,28]. Furthermore, Assumption 2 is imposed to guarantee the existence of a solution. Assumption 2. The set of solutions to the problem in Definition 1 is not empty. Moreover, 𝑁𝑞min ≤𝑞𝑇 ,max ≤𝑁𝑞max. Although the problem in Definition 1 could be solved by standard centralized methods, if the size of the solar field is sufficiently large, the computational burden of the underlying optimization problem might render the application of such centralized methods unfeasible for realtime control. As such, a coalitional control approach is formulated. The key idea is to group subsets of loops into so-called coalitions, and define a local (decoupled) optimization problem for each coalition, so that by solving these multiple (smaller) decoupled problems in parallel one obtains an approximate solution of the centralized problem in Definition 1. Consequently, through a trade-off between computational burden and performance, the centralized controller is replaced by a set of local controllers whose corresponding optimization problems have lower computational costs and can be solved in parallel in a decentralized fashion. The proposed coalitional method is detailed below. 3.2. Coalitional control approach In what follows, we proceed as in previous coalitional control schemes in the solar plant framework [14,15]. Following graph-theoretic partitioning approaches [29], the parabolic-trough plant can be characterized by a graph = (,) that models a cooperative network. Being the set of loops, it is assumed that a local controller or agent governs each loop 𝑗∈. Furthermore, represents a set of links ⊆×that establish data-exchange connections between the different loops. The state of these links is dynamically switched between enabled and disabled according to the needs of the system. When a given link is enabled, the corresponding loops are connected through a bidirectional flow of information, allowing their controllers to exchange data. Assumption 3. At any time, the graph is partitioned by a set of 𝑀disjoint complete subgraphs 1,2,…,𝑀. More formally, for every 𝑖∈ {1,2,…, 𝑀}it exists a subgraph 𝑖=(𝑖,𝑖), with 𝑖⊆and 𝑖=𝑖×𝑖. Also, 𝑖∩𝓁= ∅ holds for all 𝑖≠𝓁, and 1∪2∪⋯∪𝑀=. Definition 2 (Coalition).Under the partitioning provided by Assumption 3, a coalition 𝑖=𝑖is a subset of loops whose controllers are connected through a set of enabled links 𝑖according to the complete subgraph 𝑖. In this regard, agents within a coalition operate as a single entity. In general, the size of a coalition can range from a singleton 𝑖=𝑗, i.e., |𝑖|= 1, to the grand coalition 𝑖=, i.e., |𝑖|=𝑁, where |𝑖|denotes the cardinality of 𝑖. Throughout, let ={1,2,…,𝑀} be the set of coalitions, and thus characterizes the partition of the system. Remark 3. The partitioning of the field can be done following different criteria such as geographical proximity, e.g., grouping loops that are close to each other in the solar plant; difference in the DNI, e.g., associating loops that receive more solar irradiance with those that are dirty or shaded; or simply by creating random coalitions. In particular, this article does not focus on a specific partitioning method. Instead, it is assumed that the partition is given by an arbitrary previously selected criterion. Based on the partition , the maximum HTF flow of the field (given in deviation variables by 𝑞𝑇 ,max −∑𝑗∈𝑞◦ 𝑗) is distributed over the coalitions using a population-dynamics-assisted resource allocation method (the details of such a method are given in Section 3.3). Namely, let 𝑞max 𝑖denote the maximum HTF flow allowed for coalition 𝑖∈, and these maximum coalition-level flows are set to satisfy ∑𝑀 𝑖=1 𝑞max 𝑖= 𝑞𝑇 ,max −∑𝑗∈𝑞◦ 𝑗. In terms of the deviation variables, it is thus required that ∑ 𝑗∈𝑖 𝑢𝑗[𝑘]≤𝑞max 𝑖,∀𝑖∈.(15) Consequently, if the constraint in (15) holds in all coalitions, then the field-level constraint in (13c) is satisfied. Therefore, assuming that an appropriate 𝑞max 𝑖has been determined for every coalition, the local control objective for each coalition is defined as follows. Definition 3 (Local Control Objective).The model predictive optimization-based control problem to be solved at time 𝑘by coalition 𝑖∈ is given by min 𝐮𝑖[𝑘] 𝑁p ∑ 𝑛=1 ∑ 𝑗∈𝑖 𝑥𝑗[𝑘+𝑛]𝑄𝑗𝑥𝑗[𝑘+𝑛] + 𝑁p−1 ∑ 𝑛=0 ∑ 𝑗∈𝑖 𝑢𝑗[𝑘+𝑛]𝑅𝑗𝑢𝑗[𝑘+𝑛], (16) subject to (11),(13a), and (13b), for all 𝑗∈𝑖, and (15). The local weighting scalars 𝑄𝑗, 𝑅𝑗∈R≥0are set according to the global weighting matrices in (14), for all 𝑗∈𝑖. The vector 𝐮𝑖[𝑘]describes the sequence of inputs within the coalition 𝑖from instants 𝑛=𝑘to 𝑘+𝑁p− 1, i.e., 𝐮𝑖[𝑘] = col (𝑢𝑖[𝑘], 𝑢𝑖[𝑘+ 1],…, 𝑢𝑖[𝑘+𝑁p− 1]), where the vector 𝑢𝑖[⋅] = col ({𝑢𝑗[⋅]}𝑗∈𝑖)is comprised of the inputs of the loops belonging to coalition 𝑖. Remark 4. By means of the maximum coalition-level flows 𝑞max 𝑖, for all 𝑖∈, and the constraints in (15), the local control problems of Definition 3 are solved by each coalition in a decentralized fashion, i.e., independently of the other coalitions. Furthermore, Remark 2 also applies to each problem in Definition 3. On the other hand, it is worth highlighting that Assumption 2 is not enough to guarantee the nonemptiness of the set of solutions of each problem in Definition 3 under a general partition and resource allocation {𝑞max 𝑖}𝑀 𝑖=1. However, to overcome such an issue, the constraints in (13a) can be formulated as barrier functions whose corresponding weighting coefficients can be set locally by each coalition’s controller (see, for instance, [14,15]). Based on the discussion above, the question that remains to be answered is: how to determine 𝑞max 𝑖, for all 𝑖∈, so that an appropriate approximation to the solution of the problem in Definition 1 can be obtained by means of solving the multiple decoupled problems in Definition 3? As such, to compute 𝑞max 𝑖, for all 𝑖∈, we propose the population-dynamics-assisted resource allocation method presented below. 3.3. Population-dynamics-assisted resource allocation This section formulates the proposed population-dynamics-assisted resource allocation method that is used to determine 𝑞max 𝑖for each
Applied Energy 334 (2023) 120740 6 A. Sánchez-Amores et al. coalition 𝑖∈. In broad terms, the approach solves a model predictive optimization-based control problem with a unitary control horizon, whose solution provides an estimate of the average flow of HTF required by each loop over 𝑁p, and thus provides information to determine 𝑞max 𝑖, for all 𝑖∈, such that an approximate solution of the centralized problem in Definition 1 can be obtained by means of the coalitional control approach of Section 3.2. The solution of such a unitary control horizon problem is computed iteratively by exploiting certain properties of invariance and asymptotic stability of discrete-time population dynamics [30], and the numerical simulations in Section 4show that the proposed method indeed leads to an acceptable trade-off between computational burden and performance. For the sake of clarity, we now proceed to describe in detail the proposed population-dynamics-assisted resource allocation method. Throughout this section, the following model predictive control problem with unitary control horizon is considered. Definition 4 (Control Objective under Unitary Control Horizon).The unitary control horizon model predictive optimization-based control problem to be solved at time 𝑘is given by 𝑣[𝑘] = arg min 𝑢[𝑘] 𝑁p ∑ 𝑛=1 𝑥[𝑘+𝑛]⊤𝑄𝑥[𝑘+𝑛] + 𝑁p−1 ∑ 𝑛=0 𝑢[𝑘]⊤𝑅𝑢[𝑘],(17) subject to the constraints in (12),(13b), and the coupled constraint ∑𝑗∈𝑢𝑗[𝑘] = 𝑞𝑇 ,max −∑𝑗∈𝑞◦ 𝑗. The weighting matrices for state and input, namely 𝑄and 𝑅, are the same as those considered in Definition 1. In contrast to the control problem of Definition 1, notice that the one in Definition 4 considers the constraint in (13c) with strict equality and disregards the constraints in (13a).1We enforce the constraint in (13c) with strict equality to allocate the totality of the available resource over the multiple coalitions, so that ∑𝑀 𝑖=1 𝑞max 𝑖=𝑞𝑇 ,max − ∑𝑗∈𝑞◦ 𝑗. On the other hand, the reason to remove the constraints in (13a) is to guarantee the non-emptiness of the set of solutions under the unitary control horizon constraint. In particular, observe that under Assumption 2 it immediately follows that the set of solutions of the problem in Definition 4 is not empty. However, such a claim does not hold in general if the constraints in (13a) were to be considered in the problem of Definition 4. Clearly, one might deal with this issue by including the constraints in (13a) as penalty terms in (17), but such an approach increases the overall complexity of the method, as it involves the computation of additional penalty parameters, and increases the number of iterations required to guarantee the convergence of the proposed population dynamics to a solution (because a higher Lipschitz constant of (17) requires a smaller step size in the updates of the dynamics, c.f., [30, Theorem 5]). Finally, it is worth highlighting that Remark 2 also applies to the problem in Definition 4. Now, note that according to the dynamics in (12), the state of the system at time instant 𝑘+𝑛under a constant input 𝑢[𝑘]applied during times 𝑘, 𝑘 + 1,…, 𝑘 +𝑛− 1 is given by 𝑥[𝑘+𝑛] = 𝐴𝑛𝑥[𝑘] + 𝐺𝑛𝑢[𝑘] + 𝑑[𝑘+𝑛− 1],∀(𝑘+𝑛)≥1, where 𝐺𝑛= 𝑛−1 ∑ 𝓁=0 𝐴𝓁𝐵 𝑑[𝑘+𝑛− 1] = 𝑛−1 ∑ 𝓁=0 𝐴𝓁𝑤[𝑘+𝑛−1−𝓁]. 1Nevertheless, recall that the constraints in (13a) are still considered at the local level of each coalition’s controller (see Remark 4). Consequently, the cost function in (17) can be equivalently written as 𝐽(𝑢[𝑘])= 𝑁p ∑ 𝑛=1 (𝑥[𝑘]⊤𝐴𝑛⊤𝑄𝐴𝑛𝑥[𝑘]+2𝑥[𝑘]⊤𝐴𝑛⊤𝑄𝐺𝑛𝑢[𝑘] + 2𝑥[𝑘]⊤𝐴𝑛⊤𝑄𝑑[𝑘+𝑛− 1] + 𝑢[𝑘]⊤𝐺⊤ 𝑛𝑄𝐺𝑛𝑢[𝑘] + 2𝑢[𝑘]⊤𝐺⊤ 𝑛𝑄𝑑[𝑘+𝑛− 1] +𝑑[𝑘+𝑛− 1]⊤𝑄𝑑[𝑘+𝑛− 1] )+𝑁p𝑢[𝑘]⊤𝑅𝑢[𝑘], and the gradient of 𝐽(⋅)with respect to 𝑢[𝑘], which is denoted as 𝑔(⋅), is given by 𝑔(𝑢[𝑘])= 𝑁p ∑ 𝑛=1 (2𝐺⊤ 𝑛𝑄𝐴𝑛𝑥[𝑘]+2𝐺⊤ 𝑛𝑄𝐺𝑛𝑢[𝑘] + 2𝐺⊤ 𝑛𝑄𝑑[𝑘+𝑛− 1] )+2𝑁p𝑅𝑢[𝑘]. Based on these formulations and motivated by the results in [30], to solve the problem in Definition 4 the following iterative dynamics (with state 𝑣[𝜅] = col (𝑣1[𝜅], 𝑣2[𝜅],…, 𝑣𝑁[𝜅])and output 𝑣[𝜅] = col (𝑣1[𝜅], 𝑣2[𝜅],…, 𝑣𝑁[𝜅])) are considered 𝜗𝑗[𝜅] = max (𝑞max −𝑞min −𝑣𝑗[𝜅],0)(18a) 𝜚𝑖𝑗 [𝜅] = min (max (𝑔𝑖(𝑣[𝜅])−𝑔𝑗(𝑣[𝜅]),0), 𝛾)(18b) 𝜇𝑗[𝜅] = ∑ 𝑖∈(𝑣𝑖[𝜅]𝜗𝑗[𝜅]𝜚𝑖𝑗 [𝜅] − 𝑣𝑗[𝜅]𝜗𝑖[𝜅]𝜚𝑗𝑖[𝜅])(18c) 𝑣𝑗[𝜅+ 1] = 𝑣𝑗[𝜅] + 𝜖𝜇𝑗[𝜅](18d) 𝑣𝑗[𝜅] = 𝑣𝑗[𝜅] + 𝑞min −𝑞◦ 𝑗,(18e) for all 𝑖, 𝑗 ∈, where 𝛾, 𝜖 ∈R>0are strictly positive constants whose values are defined in Theorem 1, and the initial condition 𝑣[0] satisfies that 𝑣[0] ∈ {𝑣 ∈R𝑁 ≥0∶∑𝑗∈𝑣𝑗=𝑞𝑇 ,max −𝑁𝑞min 𝑣𝑗≤𝑞max −𝑞min,∀𝑗∈}.(19) Moreover, it is worth to highlight that the updates in (18) occur at discrete-time instants 𝜅, which are not necessarily the same time instants 𝑘of the discrete-time model in (12). Finally, given the partition , the resource allocation for each coalition 𝑖∈at time 𝜅is calculated as 𝑞max 𝑖[𝜅] = ∑ 𝑗∈𝑖 𝑣𝑗[𝜅].(20) The iterative dynamics in (18) correspond to a discretization of the so-called Smith population dynamics with carrying capacities [31], which are a particular case of the population dynamics studied in [30, 32], and whose evolutionary game theoretical interpretation is as follows. Remark 5 (Interpretation of the Dynamics in (18)).Population dynamics describe the temporal evolution of the strategic interaction of a large population of non-descriptive players under the mean-field approximation [17], i.e., assuming an infinite number of players modeled as continuum of a given mass. Under such a framework, 𝑣𝑗(𝑡) ∈ R≥0repre- sents the mass of players choosing strategy 𝑗∈at the continuous-time 𝑡∈R≥0(notice that the set of loops is interpreted as the set of strategies of the game), and the temporal evolution of 𝑣𝑗(𝑡)is given by the (mean) evolutionary dynamics model 𝑣𝑗(𝑡) = ∑ 𝑖∈(𝑣𝑖(𝑡)𝜗𝑗(𝑡)𝜚𝑖𝑗 (𝑡) − 𝑣𝑗(𝑡)𝜗𝑖(𝑡)𝜚𝑗𝑖(𝑡)). Here, 𝜗𝑗(𝑡) ∈ R≥0denotes the carrying capacity of strategy 𝑗at time 𝑡 (with 𝜗𝑗(𝑡)=0meaning that no more players can choose strategy 𝑗at time 𝑡), and 𝜚𝑖𝑗 (𝑡) ∈ R≥0is the switch rate of players from strategy 𝑖to strategy 𝑗at time 𝑡. Hence, 𝑣𝑖(𝑡)𝜗𝑗(𝑡)𝜚𝑖𝑗 (𝑡)is the mass of players switching from strategy 𝑖to strategy 𝑗at time 𝑡, while 𝑣𝑗(𝑡)𝜗𝑖(𝑡)𝜚𝑗𝑖(𝑡)is the mass
Applied Energy 334 (2023) 120740 7 A. Sánchez-Amores et al. of players switching from strategy 𝑗to strategy 𝑖at time 𝑡. Adding these terms over all strategies 𝑖∈gives the total variation 𝜇𝑗(𝑡)≜ 𝑣𝑗(𝑡)of the mass of players playing strategy 𝑗at time 𝑡. Furthermore, to ease the practical application of the dynamics, the above continuous-time evolutionary dynamics model is discretized following a forward Euler discretization with step-size 𝜖∈R>0,asin(18d). In addition, to relate the population dynamics to the underlying optimization problem, the carrying capacity 𝜗𝑗[𝜅]is set according to the HTF capacity of loop 𝑗, as in (18a); and the strategic switch rate 𝜚𝑖𝑗 [𝜅]is defined based on the gradients of the cost function 𝐽(⋅)and the saturation parameter 𝛾∈R>0, as in (18b). Finally, employing (18e), the variable 𝑣𝑗[𝜅] ∈ [0, 𝑞max −𝑞min] is shifted to 𝑣𝑗[𝜅]∈[𝑞min −𝑞◦ 𝑗, 𝑞max −𝑞◦ 𝑗], so that (13b) is satisfied. Overall, the dynamics in (18) comprise a population-dynamics-inspired iterative algorithm to update the variables 𝑣𝑗[𝜅], for all 𝑗∈, which are in turn related to the solution of (17). For further details on how to apply population dynamics to solve convex optimization problems, as well as on the related analogies, we refer the interested reader to [18]. As mentioned above, our interest on the dynamics in (18) is to exploit certain invariance and asymptotic stability properties that these dynamics have. For the sake of completeness, such properties are formalized next. Theorem 1. Consider the iterative dynamics in (18) with 𝛾= 2 (𝑞𝑇 ,max −𝑁𝑞min)𝜆max ⎛⎜⎜⎝ 𝑁p ∑ 𝑛=1 𝐺⊤ 𝑛𝑄𝐺𝑛+𝑁p𝑅⎞⎟⎟⎠ , and 0< 𝜖 < (𝛾(𝑞max −𝑞min)(𝑁− 1))−1. Moreover, let 𝑣[0] satisfy the condition in (19). The following facts hold. (1) For all 𝜅≥0, the vector 𝑣[𝜅]satisfies the constraints of the problem in Definition 4. (2) The set of solutions of the problem in Definition 4is asymptotically stable under the considered dynamics. (3) For all 𝜅≥0, if 𝑣[𝜅]is not a solution of the problem in Definition 4, then 𝐽(𝑣[𝜅+ 1])< 𝐽 (𝑣[𝜅]). Proof. Fact (1) follows immediately from [30, Theorem 3]. Namely, following the same steps as in the proof of [30, Theorem 3], one can show that under the given conditions for 𝛾,𝜖, and 𝑣[0], the set in (19) is positively invariant under the discrete-time dynamics in (18d). That is, if 𝑣[0] satisfies (19), then 𝑣[𝜅]belongs to the set in (19), for all 𝜅≥0. Consequently, by (18e) it holds that 𝑞min −𝑞◦ 𝑗≤𝑣𝑗[𝜅]≤𝑞max −𝑞◦ 𝑗,∀𝑗∈ ∑ 𝑗∈ 𝑣𝑗[𝜅] = 𝑞𝑇 ,max −∑ 𝑗∈ 𝑞◦ 𝑗, for all 𝜅≥0, which means that the vector 𝑣[𝜅]indeed satisfies the constraints of the problem in Definition 4, for all 𝜅≥0. Similarly, Facts (2) and (3) also follow from [30]. More precisely, following the formulation in Remark 5 and [30, Section 3], it holds that the discrete-time dynamics in (18a)–(18d) can be rewritten compactly as 𝑣[𝜅+ 1] = 𝑣[𝜅] + 𝜖𝐋[𝜅]𝐟[𝜅], where 𝐟[𝜅] = −𝑔(𝑣[𝜅])and 𝐋[𝜅] ∈ R𝑁×𝑁 is a symmetric positive semi-definite matrix, for all 𝜅≥0[30, Lemma 1]. Also, based on (18e), the output vector 𝑣[𝜅]is a constant shift of the state vector 𝑣[𝜅], for all 𝜅≥0. Hence, consider the (convex quadratic) Lyapunov function candidate given by 𝑉(𝑣[𝜅])=𝐽(𝑣[𝜅])−𝐽(𝑣∗), where 𝑣∗is an arbitrary optimal solution of the problem in Definition 4. Following the same steps as in the proof of [30, Theorem 5] it can be shown that 𝑉(𝑣[𝜅+ 1])−𝑉(𝑣[𝜅])≤−𝜖(1 − 𝜖𝜃)𝐟[𝜅]⊤𝐋[𝜅]𝐟[𝜅], where 𝜃=𝛾(𝑞max −𝑞min)(𝑁− 1). Moreover, from [30, Lemma 1] and [30, Theorem 1], one can conclude that 𝐟[𝜅]⊤𝐋[𝜅]𝐟[𝜅]=0if and only if 𝑣[𝜅] = 𝑣∗, and that 𝑣[𝜅+ 1] = 𝑣[𝜅]if and only if 𝑣[𝜅] = 𝑣∗. Thus, if 0< 𝜖 < 1∕𝜃, then 𝑉(𝑣[𝜅+ 1])−𝑉(𝑣[𝜅])<0, for every 𝑣[𝜅+ 1] ≠𝑣[𝜅]≠𝑣∗. Consequently, 𝑣∗is asymptotically stable under the dynamics in (18) and Fact (2) holds. Also, Fact (3) holds from the previous Lyapunov stability analysis by noting that 𝑉(𝑣[𝜅+ 1])− 𝑉(𝑣[𝜅])=𝐽(𝑣[𝜅+ 1])−𝐽(𝑣[𝜅]).■ Based on Theorem 1, note that if the constraint in (19) is satisfied, then the feasible set of the problem in Definition 4 is positively invariant under the dynamics in (18), which in turn implies that the resource allocation in (20) always satisfies ∑𝑀 𝑖=1 𝑞max 𝑖=𝑞𝑇 ,max −∑𝑗∈𝑞◦ 𝑗, as desired. In addition, such a property holds without relying on recursive projections onto the feasible set, which simplifies the execution of the proposed dynamics. Furthermore, the cost function in (17) strictly decreases under the trajectories of the dynamics in (18), and its minimizer is achieved asymptotically. Thus, under the dynamics in (18), the resource allocation 𝑣[𝜅2]at time 𝜅2is always better, in the sense of the problem in Definition 4, than the allocation 𝑣[𝜅1]at time 𝜅1, for all 0≤𝜅1< 𝜅2and granted that the allocation at time 𝜅1is not optimal (in this case 𝑣[𝜅2] = 𝑣[𝜅1]). These facts show that, regardless of the number of update iterations applied to the dynamics in (18), the corresponding resource allocation is always better than the initial one (again, here better is to be understood in the sense of the problem in Definition 4). This property is attractive in the scenario where the updates in (18) can only be executed a limited number of times due to real-time constraints. Moreover, note that this property does not hold under other iterative approaches, such as the so-called primal– dual gradient dynamics [33], where the feasibility of the solution is guaranteed only in the asymptotic sense. For clarity, a summary of the proposed general approach is provided below. 3.4. Summary of the proposed approach The proposed coalitional model predictive control approach consists of two layers. At the top layer, the population-dynamics-assisted resource allocation method of Section 3.3 is employed to solve the unitary control horizon problem of Definition 4, and to allocate the resource 𝑞max 𝑖to each coalition 𝑖∈. At the bottom layer, on the other hand, the controller of each coalition 𝑖∈solves the local model predictive control problem of Definition 3 subject to the resource allocation provided by the top layer. Both layers can be executed at different time-scales, so that the bottom layer uses the most up-to-date value of 𝑞max 𝑖when required. For completeness, the proposed approach is summarized in Algorithm 1. Remark 6. The parameters 𝑁iter,𝑡top, and 𝑡bot in Algorithm 1are set according to the computational capacities of the corresponding controllers, as well as to the associated time-scales of the solar plant. In particular, the time-scale 𝑡bot is set as a multiple of the discretization time 𝛿of the model, while the time-scale 𝑡top is set as a multiple of 𝑡bot. The rationale for setting 𝑡top slower than 𝑡bot is to avoid recomputing the resource allocation and partitioning of the system too frequently, and thus to reduce the computational burden of the overall approach. In fact, to further reduce the computational burden, the upper control layer might be executed in an event-triggered fashion based on the DNI disturbances. 4. Numerical simulations This section provides simulation results on a 10 and 100 loop parabolic-trough solar plant such as the one described in Section 2. The control objective is to operate the plant around a desired operating temperature of 250 ◦C, while satisfying the coupled constraint in the total HTF flow, as well as the remaining operational constraints. All simulations have been performed using Matlab®R2020.a on a Windows 4.1 GHz hexa-core Intel®CoreTM i7-8750H CPU and 16 GB RAM computer. Hereafter, the results obtained with the proposed coalitional
Applied Energy 334 (2023) 120740 8 A. Sánchez-Amores et al. Algorithm 1 Overall control scheme. The top and bottom control layers are repeatedly executed at possibly different time-scales. Top control layer (executed at a time-scale 𝑡top) 1. Given an initial condition 𝑣[0] satisfying (19), the dynamics in (18) are updated a number of 𝑁iter iterations. The resulting vector 𝑣[𝑁iter]provides a feasible approximation for the solution of the problem in Definition 4 (with the error of the approximation converging to 0as 𝑁iter →∞). 2. The field partition is computed by forming coalitions using the selected criterion (see Remark 3). 3. The resource allocation for each coalition 𝑖∈is computed by means of (20). Namely, 𝑞max 𝑖[𝑁iter] = ∑ 𝑗∈𝑖 𝑣𝑗[𝑁iter],∀𝑖∈. Bottom control layer (executed at a time-scale 𝑡bot) 1. For every coalition 𝑖∈, the local optimization problem in Definition 3 is solved. Such a local optimization problem is subject to the (most up-to-date) resource allocation provided by the top layer, and its solution corresponds to the profile 𝐮∗ 𝑖[𝑘], where 𝑘denotes the current time instant under the time-scale 𝑡bot. 2. Every coalition 𝑖∈applies the first component of the optimal sequence 𝐮∗ 𝑖[𝑘]to its associated loops (the deviation variables are transformed back to the original inputs by adding their corresponding operating values). approach, summarized in Algorithm 1, are compared to those obtained with a centralized MPC. For this purpose, the index 𝐏is introduced to measure the performance of a given control algorithm throughout the entire simulation. The selected performance index is formulated as 𝐏= 𝑇sim ∑ 𝑘=0 𝑥[𝑘+ 1]⊤𝑄𝑥[𝑘+ 1] + 𝑢[𝑘]⊤𝑅𝑢[𝑘],(21) where the simulation length is set to 𝑇sim = 60min for both case studies. Moreover, a one-hour DNI profile2is used to model the disturbances, while the ambient temperature 𝑇𝑎and the inlet temperature 𝑇𝑖𝑛 of the HTF to the field are considered constant for simplicity. As shown in the DNI profiles of Figs. 2 and 6, if the total length of a loop is discretized into one-meter segments, the passive parts of the loops correspond to the segments {37–42},{79–96}, and {133–138}, respectively. Since these segments are not reached by concentrated solar radiation, their DNI is set to 0. Finally, Table 2 includes the values of the homogeneous parameters for all loops, and the values of operational constraints, which are taken equal for both simulations. For these numerical simulations, the partition of the field is calculated by grouping sets of |𝑖|unbalanced loops according to the effective solar irradiance they receive. For instance, loops that are dirty or shaded due to a cloud are associated with loops that receive more DNI, either because they are not affected by any cloud or because they are cleaner. Moreover, let us assume that all coalitions have the same number of loops, i.e., |𝑖|=|𝓁|, for all 𝑖, 𝓁∈ {1,2,…, 𝑀}with 𝑖≠𝓁. On the other hand, to compare the coalitional and centralized control strategies by means of the required computational time, 𝜏comp is defined as the average computation time in the simulation, calculated as 𝜏comp =∑𝑇sim 𝑘=1 𝜏[𝑘] 𝑇sim ,with 𝜏[𝑘] = ∑𝑖∈𝜏𝑖[𝑘] ||,(22) 2The considered DNI profile is generated as in [34]. Table 2 Parameters (top) and constraints (bottom) of ACUREX field. Symbol Value Units 𝐿174 m 𝑆267.4 m2 𝑎𝑓7.55 ⋅10-4 m2 𝜂0.64 – 𝛼𝑗[0.6, 1] – 𝛽𝑗[1, 1.25] – 𝑇min 220 ◦C 𝑇max 300 ◦C 𝑞min 0.2 l/s 𝑞max 1.5 l/s Table 3 Time comparison for the centralized and coalitional simulations of the 10 and 100 loop plants. Strategy 𝜏comp 𝜎comp Units Cen. MPC 𝑁= 10 0.2804 0.0466 s Coal. MPC 𝑁= 10 0.1463 0.0154 s Cen. MPC 𝑁= 100 2.7260 0.4522 s Coal. MPC 𝑁= 100 0.2511 0.0045 s where 𝜏[𝑘]is the average computation time per coalition at the time instant 𝑘, and 𝜏𝑖[𝑘]is the time it takes for the coalition 𝑖to solve the local optimization problem in Definition 3. Seeking to be more rigorous with the results provided, Table 3 shows, in addition to the average computation time 𝜏comp, the value of the standard deviation 𝜎comp of the sample. The times included in Table 3 are measured in seconds. 4.1. Simulation results for the 10-loop field The first case of study corresponds to the 10-loop ACUREX field located in the PSA. This scenario considers 𝑞𝑇 ,max = 5.7209 l/s as the maximum flow value, which corresponds to the total HTF flow at the desired operating point of the system. Moreover, without loss of generality, five coalitions of two loops are considered. That is, 𝑀= 5 and |𝑖|= 2, for all 𝑖∈. For this simulation, two moving clouds have been generated for the DNI profile, which cross the field at specific times. As shown in Fig. 2, a small cloud moves through the plant between 𝑡= 13 min and 𝑡= 26 min, and a larger one appears between 𝑡= 38 min and 𝑡= 52 min. These clouds produce a decrease in the solar radiation received by the shaded loops, which in turn has an impact on the partition of the field (as loops are grouped according to the effective DNI that they receive). As an illustration, the coalitional topology of the entire simulation is depicted in Fig. 3, where it can be seen that if the plant is not affected by the presence of any cloud, then the coalitions remain constant, but when a cloud enters the field, the partition of the system changes, resulting in new coalitions. Finally, it is worth to highlight that besides the two moving clouds, it has been considered that some loops’ collectors might be cleaner than others, and thus receive more solar radiation. This fact adds more heterogeneity to the components of the field. In Fig. 4, the top plot shows the evolution over time of the outlet temperature of each loop, while the bottom plot depicts the evolution of the HTF flow circulating through each loop. Here, loops that have cleaner collectors and are therefore more efficient, have a higher flow value at the operating point 𝑞◦ 𝑗(see, for example, that flows in loops #1 or #6converge to a value 𝑞𝑗far above the corresponding values in loops #3or #5). In addition, the passing of the larger cloud has a greater impact on both the temperature and the flows of the system, when compared to the passing of the smaller cloud (as expected). Moreover, such an impact is more notable in the less efficient loops (see, for
Applied Energy 334 (2023) 120740 9 A. Sánchez-Amores et al. Fig. 2. Effective DNI profile of the 10-loop collector field with clouds passing. Fig. 3. Coalition forming of the 10-loop collector field. example, the drop in the outlet temperature of loop #3, represented by a pink line in Fig. 4, when the second cloud appears). A comparison of the proposed coalitional approach with respect to the centralized approach is presented in Fig. 5 in terms of the outlet temperature and the total HTF flow of the field. We highlight that the temporal evolution of both 𝑇(𝑡)and 𝑞𝑇(𝑡)under the coalitional approach follows up closely the ones of the centralized solution. In fact, the proposed coalitional algorithm results only in a 1.1771% drop in the overall performance 𝐏with respect to the centralized solution. Fig. 4. Outlet temperature (top plot) and HTF flow (bottom plot) for each loop 𝑗∈ {1,2,…,10} in the 10-loop field, when using the coalitional approach. Fig. 5. Outlet temperature (top plot) and total HTF flow (bottom plot) of the 10-loop field. Solid lines represent the evolution using the proposed coalitional algorithm, while dashed lines represent the result using a centralized MPC. Here, the coupled constraint 𝑞𝑇 ,max is represented with a dotted line, and 𝑇(𝑡)and 𝑞𝑇(𝑡)are given by (3) and (4), respectively. Likewise, as shown in Table 3, the computational time of the coalitional approach is lower than that of the centralized strategy, reducing the centralized time by half. This result is expected because the centralized approach solves the problem in Definition 1 using a single controller, whereas the coalitional one employs 𝑁∕|𝑖|decentralized controllers to solve the local problems of Definition 3 in parallel. 4.2. Simulation results for the 100-loop field Let us now consider a 100-loop extension of the original 10-loop ACUREX field. As such, the values of the local constraints in (5) are also set according to Table 2, yet, since the number of loops is ten times greater, the value of 𝑞𝑇 ,max is set an order of magnitude higher than the 10-loop plant. Likewise, the maximum flow value in the plant is considered equal to 𝑞𝑇 ,max = 53.8834 l/s, which corresponds to the total HTF flow at the desired operating point of the system. Besides, without loss of generality, in this scenario ten coalitions of ten loops are considered. That is, 𝑀= 10 and |𝑖|= 10, for all 𝑖∈. For this simulation, the DNI profile generates two moving clouds that cross over the 100-loop field. A large cloud moves through the plant almost during the whole simulation, between 𝑡= 4 min and