Full text
Economic Model Predictive Control for Optimal Operation of Combined Heat and Power Systems Jenny L. Diaz C. ∗Thomas Weber ∗∗ Niklas Panten ∗∗ Carlos Ocampo-Martinez ∗Eberhard Abele ∗∗ ∗Automatic Control Department, Universitat Polit`ecnica de Catalunya, Institut de Rob`otica i Inform`atica Industrial (CSIC-UPC), Llorens i Artigas 4-6, Planta 2, 08028 Barcelona, Spain (e-mail: jdiaz,cocamp[email protected]c.edu) ∗∗ Institute of Production Management, Technology and Machine Tools (PTW), Otto-Berndt-Str. 2, 64287 Darmstadt, Germany (weber,p[email protected]) Abstract: The use of decentralized Combined Heat and Power (CHP) plants is increasing since the high levels of efficiency they can achieve. Hence, to determine the optimal operation of these systems in the changing energy market, the time-varying price profiles for both electricity as well as the required resources and the energy-market constraints should be considered into the design of the control strategies. To solve these issues and maximize the profit during the operation of the CHP plant, this paper proposes an optimization-based controller, which will be designed according to the Economic Model Predictive Control (EMPC) approach. The proposed controller is designed considering a non-constant time step to get a high sampling frequency for the near instants and a lower resolution for the far instants. Besides, a soft constraint to met the market constraints for the sale of electric power is proposed. The proposed controller is developed based on a real CHP plant installed in the ETA research factory in Darmstadt, Germany. Simulation results show that lower computational time can be achieved if a nonconstant step time is implemented while the market constraints are satisfied. Keywords: Combined heat and power systems, Profit maximization, Economic model predictive control, Mixed Integer Linear Programming 1. INTRODUCTION The energy supply in Germany is increasingly changing from a centralized to a decentralized generation structure (Strasser et al., 2015). In particular, the use of decentralized Combined Heat and Power plants (CHP) is increasing, as they can achieve high levels of fuel utilization (Khaljani et al., 2015). The cost efficiency of a CHP is highly dependent on the operation strategy. However, identifying the optimal operation strategy in volatile energy markets while covering thermal demands can be challenging though. For this reason, optimization algorithms are often used for scheduling tasks (Zhang et al., 2017). In order to take price fluctuations on the electricity market into account when choosing an operation strategy for CHPs in a microgrid, a sufficiently large optimization horizon is required. For intraday optimization, this horizon is usually assumed to be about one day, which is usually modeled with a temporal resolution of 15 minutes (Aluisio et al., 2017; Sasaki et al., 2018). Additionally, it must be ensured that the plant actually produces the amount of electricity traded, whereby a higher temporal resolution and more accurate modeling are required (Parisio et al., 2015). If both a long time horizon and a high temporal resolution are chosen, the number of time steps taken into account increases rapidly. This problem is aggravated by an increased requirement for model accuracy when mapping the transient behavior of the plant. Thus, in order to solve the optimization problem within a short time, the number of considered decision variables must be kept low. One way to reduce the complexity of the problem is to divide it into a planning problem and a fulfillment or adaptation problem (Luo et al., 2017). The longer-term energy marketing is considered in the planning problem and then given as a target to the fulfillment problem. However, with the introduction of the continuous intraday market, the boundaries between the planning and compliance phases become blurred. Trading of electrical energy can be carried out within the control zones in Germany on the continuous intraday market up to 5 minutes before fulfillment (Epex- Spot, 2018). Thus, to make the best possible use of the resulting optimization opportunities on the market, an approach that combines the optimization of both problems in a single model is required. In order to meet these requirements with respect to the optimization horizon, temporal resolution, and model accuracy, this paper presents a predictive-like controller with a varying time step, designed using the Economic Model Predictive Control (EMPC) approach (Angeli et al.,
Fig. 1. Combined Heat and Power (CHP) system with an integrated Thermal Energy Storage (TES). 2012; Rawlings et al., 2012). Some relevant applications of EMPC that combine the planning and tracking problems have been proposed in (Kuboth et al., 2019; Tian et al., 2019). In the proposed controller, the width of the time step increases for the future time steps, since if only the most recent time step is executed, the accuracy of the model can be maintained while the number of variables is reduced. Hence, the general idea of the proposed controller is to predict both the thermal and electrical power production to maximize the profit during the CHP operation considering its operating constraints and the energy market. The modeling of the operational behavior of CHP is based on a data-driven model obtained from subspace identification (SI) methods. These methods directly deliver a state-space model, which have a great application in the design of control strategies (Verhaegen and Hansson, 2016). Finally, the proposed approach is validated using a simulation model for a real cogeneration plant. The remainder of the paper is organized as follows. The problem statement regarding the optimal operation of a CHP is presented in Section 2. Next, the proposed controller based on the EMPC approach is presented in Section 3. In Section 3.1 the way as the process model have been obtained by SI methods is reported. A detailed description of the case study is presented in Section 4. Then, the obtained results for the proposed approach by simulation are reported and analyzed in Section 5. Finally, conclusions and future work are drawn in Section 6. 2. PROBLEM STATEMENT According to Figure 1, a gas flow FGis feeding the CHP for generating electric power PE, which is usually injected into the local grid point of common connection. During this combustion process, heat is generated as waste but a significant amount is recovered by heating a cooling fluid (e.g. water) from temperature T1up to T2via heat transfer. Afterward, the warm fluid is pumped with a constant flow rate FWtowards a Thermal Energy Storage (TES), from which the thermal power demand Qdem is supplied. In this sense, the costs associated to FGshould be minimized to determine the optimal operation of the CHP that satisfies Qdem. In addition, costs for the wear of the system caused by too many switching operations and operating hours should be minimized. On the other hand, besides to minimize costs associated with the production of Qdem, revenue for selling the produced electric power could be maximized taking into account the current energy-price profile in the market. Thereby, in order to determine the economic-optimal operation of a CHP along an operation time T, the following objectives could be defined: •Minimization of cost by gas consumption FG: θ1= T X k=1 FG(k)Pr,g,(1) being k∈Z≥0the discrete-time index, FG(k)∈R≥0 the gas consumption at instant k, and Pr,g ∈R≥0the gas price. •Minimization of costs related to the CHP operation: θ2= T X k=1 u(k)Pr,on,(2) with u(k)∈ {0,1}the on/off state of system on at instant k, and Pr,on ∈R≥0the costs of keeping the system activated. •Minimization of switching frequency, fsw: θ3= T X k=1 fsw(k)Pr,s,(3) being fsw(k) = |u(k)−u(k−1)|,∈ {0,1}and Pr,s ∈ R≥0costs for switching on/off the system. •Maximization of revenue produced by the sale of PE: θ4= T X k=1 PE(k)Pr,e(k),(4) with PE∈Rand Pr,e(k)∈R≥0the energy price at instant k. Based on the previous discussion, in order to determine the optimal activation sequence and the use of resources in a CHP with an integrated TES, the control objective can be defined as the profit maximization as follows: J=−(θ4−θ1−θ2−θ3),(5) being Jthe profit for operation of CHP along T, which is equal to total revenue (θ4) minus total costs (θ1, θ2, θ3). Thus, in order to achieve the control objective in (5), the suitable instants for activation of the CHP and the optimal amount of gas to feed the system should be determined. Therefore, to compute both the revenue and total costs, dynamic expressions that relate the variables of interest for the CHP operation are required, i.e., PE=f1(FW, T1, FG, u), T2=f2(FW, T1, FG, u),(6) where f1, f2:{0,1} × R7→ Rare linear/non-linear maps in function of the inputs signals (FW, T1, FGand u). Additional to the operation of the CHP, the dynamics of the TES should be modeled in order to guarantee the thermal power supply and its operating constraints. Thus, the dynamic of energy stored on a TES is defined as Qs(k+ 1) = Qs(k)+∆t(QCHP (k)−Qdem(k)) ,(7) with QCHP (k) = FW(k)Cp(T2(k)−T1(k)) ,(8) being QCHP ∈Rthe thermal flow produced by CHP at instant k,Qdem ∈Rthe required thermal power, Qs∈ Rthe energy stored in TES at instant k,T1(k), FW(k) measured inputs, Cpthe heat capacity of water, and ∆t the sampling time. It should be noted that Qs≤Qs≤Qs for all k, with Qsand Qsthe lower and upper bounds of Qs, respectively. Finally, in addition to the models for the analyzed processes, other operating constraints, e.g., operating ranges, operation times, idle time, should be considered.
Fig. 2. Control scheme for the optimal operation of CHP with a integrated TES. 3. PROPOSED APPROACH In order to determine the optimal operation of the CHP system from an economic viewpoint, the EMPC approach is addressed to design an optimization-based controller that allows maximize the revenue while minimize the total cost along a prediction horizon Hp. Thus, behind the design of such a controller, an optimization problem is solved at each discrete-time instant k, which considers the models for operation of the CHP and TES, as well as their operating constraints. In this sense, based on the receding horizon approach and considering a fixed Hp, the general idea is to predict the optimal sequences uand FGthat allow maximizing the profit taking into account both the operating constraints and the price profiles in the market. Moreover, since the electric power traded Pcon with the electric company is update each 15 minutes and, Pcon must be approximately equal to PE, a new control objective for minimizing the difference between PEand Pcon up to the next updating period Tc= 15min is defined as follows θ5=Pr,∆P i=k+Tc X i=k kPcon(i)−PE(i)k2.(9) Thus, at each instant kan optimal sequence is found along Hpand the predicted PEfrom kup to k+Tcis sold to the electric company. Then, for next iteration k+ 1, the objective in (9) is minimized in order to guarantee that the sold electric power Pcon can be achieved at instant k+Tc avoiding economical penalties. Next, when k=Tc, a new electric power to be sold is predicted and updated, and the process is repeated again. Thereby, θ5is considered only for the first 15 minutes of Hpsince Pcon for this time period has been already selling while for the rest of Hp new targets can be defined according to the variations of the energy market. Thus, (5) can be redefined as follows J=−(θ4−θ1−θ2−θ3−θ5).(10) According to the defined control objectives, the sequences for Jand the system inputs along Hpare defined as J(k),{J(k|k),...J(k+Hp−1|k)},(11a) U(k),{u(k|k),...u(k+Hp−1|k)},(11b) FG(k),{FG(k|k),...FG(k+Hp−1|k)},(11c) Psp(k),{Psp(k|k),...Psp(k+Hp−1|k)},(11d) with J(k)∈RHp,U(k)∈ {0,1}Hp,FG(k)∈RHp, and Psp(k)∈RHpbeing the set point for the generated electric power PE. Then, the proposed economic predictive controller is based on the following open-loop optimization problem: min U(k),FG(k),Psp(k)J(k) (12a) subject to PE(k+ 1|k) = f1(FW(k), T1(k), FG(k), u(k)) ,(12b) T2(k+ 1|k) = f2(FW(k), T1(k), FG(k), u(k)) ,(12c) Qs(k+ 1|k) = q1(FW(k), T1(k), u(k), T2(k)) ,(12d) FW(k|k) = Fwu(k|k),(12e) PE(k|k)≤Psp(k|k),(12f) u(k|k)∈ {0,1},(12g) Qs(k|k)∈[Qmin, Qmax],(12h) T2(k|k)∈[Tmin, Tmax],(12i) and the following logical conditions u(k|k)=1⇐⇒ FG(k|k)∈[Fmin, Fmax],(13a) u(k|k)=1⇐⇒ Psp(k|k)∈[Pmin, Pmax],(13b) u(k|k)=0⇐⇒ Psp(k|k) = 0,(13c) u(k|k)=0⇐⇒ FG(k|k) = 0,(13d) being q1the right-hand side of equation (7), Fwthe constant flow of water to recover heat produced by CHP, Psp the set point for the electric power generated, and Fmin, Fmax, Pmin, Pmax, Qmin, Qmax and Tmin, Tmax the lower and upper bounds for FG, Psp, Qsand T2, respectively. Afterward, assuming that the optimization problem (12) is feasible, i.e., U(k)6=∅,FG(k)6=∅,Psp(k)6=∅, the optimal sequences U∗(k),FG∗(k),Psp∗(k) exist and, according to receding horizon approach, the first components u∗(k|k), FG∗(k|k), Psp∗(k|k) are sent to the plant. This process is repeated for the next instant k+ 1 once measurements of input signals and estimation of the required information about the plant is update for the next iteration. Thus, to obtain suitable estimations of model states for the next iteration an state estimator could be required. The proposed control scheme to determined the optimal inputs to system along Hpis shown in Figure 2. Based on Figure 2, the optimization problem in (12) is solved into the controller module in order to determine the optimal inputs u∗(k|k), FG∗(k|k), Psp∗(k|k). Next, the first component of each optimal signal U∗,FG∗,Psp∗is sent to the plant and the estimator. Then, from these signals as well as the real measurements from the CHP, the current states of CHP model are estimated and fed back to the controller for the next iteration. Thereby, a Kalman filter to estimate the states of the CHP based on the real system outputs is proposed in this paper. Since the optimization problem (12) explicitly considers models for the generation of both electric and thermal power (12b) and (12c), respectively, suitable expressions for maps f1and f2are required. Due to the complexity of these systems, this paper proposes the identification of data-driven models by SI methods, as explained in the next section. 3.1 Model of a Combined Heat and Power System Although the expression for map q1is given by (7), suitable expressions for the maps f1and f2can be determined based on real data. Different methods for model identification have been developed during the last years, however, the SI methods have been selected in this paper due to
allow obtaining a state space representation from inputoutput data (Sinquin and Verhaegen, 2017). Thus, this paper considers a linear approximation for maps f1and f2, which will be obtained from these methods and real data of the system. The general idea of SI methods is to determine the model order Nand the set of model matrices A∈Rnx×nx, B ∈ Rnx×nu, C ∈Rny×nx and D∈Rny×nu, which satisfy a unknown state space realization (Overschee and De Moor, 1996), with nx, nu and ny the dimension of the state (x), input (u), and output vectors (y), respectively, i.e., x(k+ 1) = Ax(k) + Bu(k),(14a) y(k) = Cx(k) + Du(k).(14b) Then, in order to determine model matrices and N, first, a state estimation ˆxbased on the projection of inputoutput data is performed. Next, the model matrices are determined according to the obtained ˆx(Verhaegen and Hansson, 2016). Some examples of these algorithms are the Canonical Variate Analysis (CVA) and Numerical algorithm for Subspace IDentification (N4SID). However, due to the great application and implementation in software of N4SID algorithm, this paper focuses on it to get proper expressions for maps f1and f2. Finally, to obtain a suitable state space representation, proper experiments should be performed for getting information about the real system behavior at different operating conditions. 4. CASE STUDY The system to be analyzed in this paper is based on a real CHP system with a integrated TES installed in the ETA research factory at Technische Universit¨at Darmstadt, Germany. As shown in Figure 1, a CHP system is formed by an engine, a generator and a heat recovery unit. However in this paper, the model for each component is not addressed, and instead all elements are considered as a unique system, i.e., CHP. Therefore, the analyzed system has three inputs T1, FWand FG, which feed the system to produce the outputs PEand T2. Although the direct output of the CHP is T2, from this variable the thermal power QCHP can be computed by using 8. The considered CHP has a maximum electric power capacity PE,max = 6kW when the maximum flow of gas Fmax is fed to the system. Thus, when the system is turned on, the produced PEis sold to the power grid in order to maximize revenue and mitigate the cost associated to the thermal power production, which is the main objective of the CHP in the ETA research factory. Therefore, the warm water flow FWis transported towards a TES with a maximum capacity of 1MWh, from which the required QCHP is supplied to the building. It should be noted that a pump with a constant flow rate FW= 2753.4 L/h is assumed, and since the fluid is recirculated through the system there are no costs associated. On the other hand, in order to get real data, the CHP is equipped with several sensing devices that provide information in near real time about inputs and outputs of the system. Due to the nature of these systems, their settling times, and the number of variables to be sensed, a sampling time of ∆t= 10s was fixed to provide data 0 200 400 600 800 1000 1200 1400 t [min] 0.02 0.04 0.06 0.08 Pr,e Fig. 3. Time-varying price profile for the sale of PE. 0 2 4 6 8 10 12 104 0 2000 4000 6000 8000 PE [W] 0 2 4 6 8 10 12 t [s] 104 0 20 40 60 80 T2 [C] Model Data Fiting: 73.51% Fiting: 93.12% Fig. 4. Validation of the model for the CHP system. about the real system operation. This information will be available for both model identification and its validation. In order to maximize the profit and satisfying both the operating and market constraints, a total simulation time Ts= 24h and a prediction horizon of Hp= 24h were established to test the proposed approach. However, since ∆t= 10s implicates a high computational cost due to the amount of variables to be optimized, a higher sampling time for optimization might be required. In this sense, this paper proposes to use a non-constant time step tswith the aim to reduce the computational burden. The considered daily price profile for electric power is shown in Figure 3. 5. SIMULATION RESULTS 5.1 Model identification According to Section 3.1, the modeling process for the analyzed CHP was identified by using the routine n4sid of the System Identification ToolboxTM provided by Matlab R . Thus, according to real data sets of the CHP in the ETA factory, different values of Nwere tested, and then, the model matrices A, B, C, and Dwere identified searching the highest fitting degree between the real and the modeled outputs. The obtained results for the system outputs (i.e., PEand T2) are presented in Figure 4. It should be noted that the dynamic for the TES is given by equation (7) and not obtained from data. 5.2 Proposed control scheme Based on the case study in Section 4, a non-constant time step tsis defined. This last is established considering a higher sampling time during the first hour with the aim to obtain a high-performance respect with the market constraints for the sale of PE. Thereby, tswill be ts= 5min during the first 30 minutes of Hp, then, ts= 15min along the next 30 minutes, and after 1 hour, it will be equal ts= 60min. Although a non-constant tsis defined, the model for CHP keeps running each 10s, and a short subsampled time scale is defined into the optimization loop. Thus, taking into account the receding horizon philosophy
Table 1. Simulation parameters of the CHP. Parameter Value Parameter Value Pr,g 0.0218 e/kWh Pgas 11.384 kW/m3 Pr,on 10 e/kWh Pr,s 5e/kWh Qs1 MW Qs2 kW Cp4.180 kJ/kmol K ρ1000 kg/m3 Tmin 25 ◦CTmax 80 ◦C Fmin 0.5 m3/hFmax 2.4 m3/h Pmin 3000 W Tmax 6000 W in which only the first component of the optimal sequence is sent to the system, the proposed control will be executed each 5 minutes, with a total number of iterations of NIt = 288 that corresponds to a whole day. Therefore, given the mixed-integer linear programming nature of the optimization problem in (12), and the need to solve this problem fast enough to react in real time, simulations were developed in Matlab R using the solver IBM ILOG CPLEX Optimization Studio (ILOG, 2013) and YALMIP toolbox (L¨ofberg, 2004) for stating the problem optimization in an intuitive format. Besides, the proposed algorithms were developed using a processor Intel R CoreTM i7-5500U CPU 2.40GHz and RAM of 8.0 GB. The obtained results using both the proposed control approach (EMPC) and a typical rule-based control (RBC) implemented in these systems are presented and discussed below. It should be noted that the proposed Kalman filter for estimation of the model states was validated by simulation although the result is not shown here by space limitations. The simulations were performed using the parameters in Table 1. In Figure 5 the optimal sequences obtained for the activation of the CHP, and both the water and gas flows, which are fed to CHP are presented. From these results is possible to observe that RBC has a higher switching frequency than EMPC, which increases the wear of systems and therefore the associated cost. Besides, for each activation of the CHP the optimal value found for FGpresents some small variations regarding its maximum value. This last fact could be a consequence of the trade-off between control objectives of maximizing revenue for selling PEand compensate the total costs. Then, according to optimal input sequences, in Figure 6 the corresponding outputs are shown. Thus, in order to maximize the sale of PE, the operation of CHP is always set at the highest level, while the resulting QCHP vary according to the current value of T1to the system. However, it should be noted that the produced QCHP is higher than Qdem for each time the CHP is turned on. Thus, the excesses in the thermal power production are sent to the TES for its later use when the system is turned off or even for supplying an unexpected demand. According to the control objective for the sale of PEin the market, and the energy trading constraints, Figure 7 shows a comparison between the generated PEand the reported Pcon at each 15 minutes. In this sense, a high fitting degree between PEand Pcon can be achieved with an error percentage near 0.33%. It should be noted that results are only shown for EMPC strategy because using RBC it is not possible to get a prediction of electric power generation, and therefore, economic penalties can no be reduced. Thus, including θ5in (10), the economic penalties can be reduced or even avoided if a suitable analysis of 0 200 400 600 800 1000 1200 1400 0 0.5 1 u [-] EMPC RBC 0 200 400 600 800 1000 1200 1400 0 1 2 3 FG [m3/h] 0 200 400 600 800 1000 1200 1400 t [min] 0 1000 2000 3000 FW [L/h] Fig. 5. Optimal sequences for the CHP activation (a), gas flow (b) and water flow (c) for both control strategies. 0 200 400 600 800 1000 1200 1400 0 5000 PE [W] Psp (EMPC) EMPC RBC 0 200 400 600 800 1000 1200 1400 0 10 20 30 QCHP [W] EMPC Qdem RBC 0 200 400 600 800 1000 1200 1400 t [min] 0 500 1000 Qs [W] EMPC RBC Fig. 6. Generated electric power (a), production of thermal power (b), and thermal power level in TES (c) for both control strategies. 0 200 400 600 800 1000 1200 1400 0 5 10 Pi [W] 104PEPcon 0 200 400 600 800 1000 1200 1400 t [min] 0 100 200 300 Error [W] Fig. 7. Comparison between PEand Pcon for the proposed approach (a), and its corresponding error (b). variance between these values is performed and reported to the electric company. Finally, taking into account the importance to reduce the sampling time, in Figure 8 the computing time tc[s] by iteration along Tsis presented. It should be noted that for each iteration a Hp= 24 hours is considered with the suitable update of price profiles and thermal power demand. Thus, it can be observed that even for a great number of decision variables and long prediction horizon, values of tclower than 7s could be achieved. Then, considering the updating time for the price profiles is equal
0 200 400 600 800 1000 1200 1400 t [min] 3 4 5 6 tc [s] Fig. 8. Computational time by iteration along Ts. Table 2. Total costs for daily operation by using both EMPC and RBC. Approach Cost EMPC 201.3814 e RBC 208.3417 e 15min, and the optimal inputs are found and sent to plant at each 5min, there is time enough for the implementation of the proposed control strategy in real time. Afterward, in Table 2 the total cost for one day of operation using both the proposed control strategy and RBC are reported. Thus, even if the economic penalties by the difference between PEand Pcon are neglected when the RBC is used, a cost reduction near 3.4% per day with respect to RBC can be achieved if the proposed EMPC is implemented. 6. CONCLUSION A predictive-like controller has been designed considering a non-constant time step and a soft constraint in order to include the energy market constraints and minimize the total costs during the operation of cogeneration plants. Thus, a high resolution has been defined for near instants with the aim to include more decision variables in the near future, from which significant cost reductions per day were achieved while satisfying the traded electric power with small differences. Based on the obtained results, lower computational cost for long prediction horizons and a considerable number of decision variables were achieved. As further work, the energy balance in the TES could be improved in order to include the energy losses and to represent a more realistic scenario. Besides, a stage of co-design for the implementation of the proposed control strategy in the real system could be developed. Finally, the proposed control strategy could be tested for disturbed and more complex systems, e.g., a microgrid with two or more different CHP systems and only one TES to validate its performance. ACKNOWLEDGEMENTS Authors would like to thank the FI-AGAUR scholarship of the Catalan Government and the project IKERCON ref. c- 10683 for their financial and scientific support in this work, respectively. Besides, parts of this work are funded by the German Federal Ministry of Education and Research (BMBF) in the project SynErgie and the German Federal Ministry of Economic Affairs and Energy (BMWi) in the project PHI-Factory. REFERENCES Aluisio, B., Dicorato, M., Forte, G., and Trovato, M. (2017). An optimization procedure for microgrid dayahead operation in the presence of chp facilities. Sustainable Energy, Grids and Networks, 11, 34–45. Angeli, D., Amrit, R., and Rawlings, J.B. (2012). On average performance and stability of economic model predictive control. IEEE Transactions on Automatic Control, 57(7), 1615–1626. doi:10.1109/TAC.2011.2179349. Epex-Spot (2018). Intraday market with delivery in one of the german control areas. urlhttps://www.epexspot.com/de/produkte/intraday continuous/deutschland. ILOG, I. (2013). Ibm ilog cplex optimization studio, v12. 5. Khaljani, M., Saray, R.K., and Bahlouli, K. (2015). Comprehensive analysis of energy, exergy and exergoeconomic of cogeneration of heat and power in a combined gas turbine and organic rankine cycle. Energy Conversion and Management, 97, 154–165. Kuboth, S., Heberle, F., K¨onig-Haagen, A., and Br¨uggemann, D. (2019). Economic model predictive control of combined thermal and electric residential building energy systems. Applied Energy, 240, 372–385. L¨ofberg, J. (2004). Yalmip : A toolbox for modeling and optimization in Matlab. In In Proceedings of the CACSD Conference. Taipei, Taiwan. Luo, Z., Wu, Z., Li, Z., Cai, H., Li, B., and Gu, W. (2017). A two-stage optimization and control for CCHP microgrid energy management. Applied Thermal Engineering, 125, 513–522. Overschee, P. and De Moor, B. (1996). Subspace Identification for Linear Systems : Theory - Implementation - Applications. Springer US, Boston, MA. Parisio, A., Wiezorek, C., Kyntaja, T., Elo, J., and Johansson, K.H. (2015). An mpc-based energy management system for multiple residential microgrids. In 2015 IEEE International Conference on Automation Science and Engineering (CASE), 7–14. Rawlings, J.B., Angeli, D., and Bates, C.N. (2012). Fundamentals of economic model predictive control. In 2012 IEEE 51st IEEE Conference on Decision and Control (CDC), 3851–3861. Sasaki, Y., Yorino, N., Zoka, Y., and Wahyudi, F.I. (2018). Robust stochastic dynamic load dispatch against uncertainties. IEEE Transactions on Smart Grid, 9(6), 5535– 5542. Sinquin, B. and Verhaegen, M. (2017). A subspace like identification method for large-scale LTI dynamical systems. In 2017 Signal Processing Symposium, 1–6. Strasser, T., Andr´en, F., Kathan, J., Cecati, C., Buccella, C., Siano, P., Leit˜ao, P., Zhabelova, G., Vyatkin, V., Vrba, P., and Maˇr´ık, V. (2015). A review of architectures and concepts for intelligence in future electric energy systems. IEEE Transactions on Industrial Electronics, 62(4), 2424–2438. Tian, H., Lu, Q., Gopaluni, R., Zavala, V., and Olson, J. (2019). An economic model predictive control framework for mechanical pulping processes. Control Engineering Practice, 85, 100–109. Verhaegen, M. and Hansson, A. (2016). N2sid: Nuclear norm subspace identification of innovation models. Automatica, 72, 57–63. Zhang, G., Cao, Y., Cao, Y., Li, D., and Wang, L. (2017). Optimal energy management for microgrids with combined heat and power CHP generation, energy storages, and renewable energy sources. Energies, 10(9).