Full text
IFAC PapersOnLine 50-1 (2017) 31–36 ScienceDirect ScienceDirect Available online at www.sciencedirect.com 2405-8963 © 2017, IFAC (International Federation of Automatic Control) Hosting by Elsevier Ltd. All rights reserved. Peer review under responsibility of International Federation of Automatic Control. 10.1016/j.ifacol.2017.08.006 © 2017, IFAC (International Federation of Automatic Control) Hosting by Elsevier Ltd. All rights reserved. 10.1016/j.ifacol.2017.08.006 2405-8963 Advanced Control for Energy Management of Grid-Connected Hybrid Power Systems in the Sugar Cane Industry Marcelo Menezes Morato ∗Paulo Renato da Costa Mendes ∗ Julio Elias Normey-Rico ∗Carlos Bordons ∗∗ ∗Departamento de Automa¸c˜ao e Sistemas ( DAS), Universidade Federal de Santa Catarina, Florian´opolis-SC, Brazil ∗∗ Departamento de Ingenier´ıa de Sistemas y Autom´atica, Universidad de Sevilla, Spain Abstract: This work presents a process supervision and advanced control structure, based on Model Predictive Control (MPC) coupled with disturbance estimation techniques and a finite-state machine decision system, responsible for setting energy productions set-points. This control scheme is applied to energy generation optimization in a sugar cane power plant, with non-dispatchable renewable sources, such as photovoltaic and wind power generation, as well as dispatchable sources, as biomass. The energy plant is bound to produce steam in different pressures, cold water and, imperiously, has to produce and maintain an amount of electric power throughout each month, defined by contract rules with a local distribution network operator (DNO). The proposed predictive control structure uses feedforward compensation of estimated future disturbances, obtained by the Double Exponential Smoothing (DES) method. The control algorithm has the task of performing the management of which energy system to use, maximize the use of the renewable energy sources, manage the use of energy storage units and optimize energy generation due to contract rules, while aiming to maximize economic profits. Through simulation, the proposed system is compared to a MPC structure, with standard techniques, and shows improved behavior. Keywords: Disturbance Estimation, Model Predictive Control, Decision System, Microgrids, Renewable Sources. 1. INTRODUCTION Energy generation in efficient ways is a key element for achieving greater goals aiming sustainable and eco-friendly development. The current foundations on energy generation are about to change in a profound way: affordable fossil fuel reserves are decreasing each year whereas, at the same time, energy demands grow in every country. Notably, in the instance of this work, the Brazilian energy scenario will be taken into account, for the country has an immensely diversified energy matrix, as seen on Minist´erio de Minas e Energia (2015). The sugar cane processing plants, studied in Gonz´alez (2011), are, as well, particularly significant to this study, given the importance of sugar-ethanol power plants in the Brazilian energy setting and knowing that these are mostly established in high insolation sites, they become potential candidates to be managed as distributed power plants of hybrid sources, as seen in Costa Filho (2013), considering biomass, biogas, solar and wind power energy. The optimization of a hybrid energy generation system, with the reuse of the sugar cane residues coupled with the The authors thank CNPq and Ministerio de Econom´ıa y Competitividad de Espa˜na for financing the projects CNPq401126/2014-5, CNPq303702/2011-7 and DPI2016-78338-R. use of other renewable sources, external to the plant, as photovoltaic panels and wind turbines, is discussed herein. The studied energy plant is based on a real sugar cane power plant and has to attend to process electric and steam demands and, also, ensure a pre-established multiobjective energy sales contract with the local Distribution Network Operator (DNO). The control of hybrid generation and storage, including renewable and non-renewable sources, is a significant issue to be studied in order to allow the optimal management and operation, carrying out a coordination between legal standards, minimal environmental standards and state of the art techniques Ferrari-Trecate et al. (2004). Recent works have brought to light MPC -based control structures used for energy management of microgrids (a set of generators, loads and storage units that operate together, in isolated mode, or connected to the main grid) with renewable sources. Valverde et al. (2013) shows a MPC- controlled hydrogen-based domestic microgrids; Garcia- Torres and Bordons (2015) also refer to optimal generation for renewable microgrid; Mendes et al. (2016) propose MPC structure for energy management of experimental microgrids, coupled with hydrogen storage systems. Solar radiation and wind speed present frequent changes due to climatic issues, and its stochastic behavior repre- Proceedings of the 20th World Congress The International Federation of Automatic Control Toulouse, France, July 9-14, 2017 Copyright © 2017 IFAC 33 Advanced Control for Energy Management of Grid-Connected Hybrid Power Systems in the Sugar Cane Industry Marcelo Menezes Morato ∗Paulo Renato da Costa Mendes ∗ Julio Elias Normey-Rico ∗Carlos Bordons ∗∗ ∗ Departamento de Automa¸c˜ao e Sistemas ( DAS), Universidade Federal de Santa Catarina, Florian´opolis-SC, Brazil ∗∗ Departamento de Ingenier´ıa de Sistemas y Autom´atica, Universidad de Sevilla, Spain Abstract: This work presents a process supervision and advanced control structure, based on Model Predictive Control (MPC) coupled with disturbance estimation techniques and a finite-state machine decision system, responsible for setting energy productions set-points. This control scheme is applied to energy generation optimization in a sugar cane power plant, with non-dispatchable renewable sources, such as photovoltaic and wind power generation, as well as dispatchable sources, as biomass. The energy plant is bound to produce steam in different pressures, cold water and, imperiously, has to produce and maintain an amount of electric power throughout each month, defined by contract rules with a local distribution network operator (DNO). The proposed predictive control structure uses feedforward compensation of estimated future disturbances, obtained by the Double Exponential Smoothing (DES) method. The control algorithm has the task of performing the management of which energy system to use, maximize the use of the renewable energy sources, manage the use of energy storage units and optimize energy generation due to contract rules, while aiming to maximize economic profits. Through simulation, the proposed system is compared to a MPC structure, with standard techniques, and shows improved behavior. Keywords: Disturbance Estimation, Model Predictive Control, Decision System, Microgrids, Renewable Sources. 1. INTRODUCTION Energy generation in efficient ways is a key element for achieving greater goals aiming sustainable and eco-friendly development. The current foundations on energy generation are about to change in a profound way: affordable fossil fuel reserves are decreasing each year whereas, at the same time, energy demands grow in every country. Notably, in the instance of this work, the Brazilian energy scenario will be taken into account, for the country has an immensely diversified energy matrix, as seen on Minist´erio de Minas e Energia (2015). The sugar cane processing plants, studied in Gonz´alez (2011), are, as well, particularly significant to this study, given the importance of sugar-ethanol power plants in the Brazilian energy setting and knowing that these are mostly established in high insolation sites, they become potential candidates to be managed as distributed power plants of hybrid sources, as seen in Costa Filho (2013), considering biomass, biogas, solar and wind power energy. The optimization of a hybrid energy generation system, with the reuse of the sugar cane residues coupled with the The authors thank CNPq and Ministerio de Econom´ıa y Competitividad de Espa˜na for financing the projects CNPq401126/2014-5, CNPq303702/2011-7 and DPI2016-78338-R. use of other renewable sources, external to the plant, as photovoltaic panels and wind turbines, is discussed herein. The studied energy plant is based on a real sugar cane power plant and has to attend to process electric and steam demands and, also, ensure a pre-established multiobjective energy sales contract with the local Distribution Network Operator (DNO). The control of hybrid generation and storage, including renewable and non-renewable sources, is a significant issue to be studied in order to allow the optimal management and operation, carrying out a coordination between legal standards, minimal environmental standards and state of the art techniques Ferrari-Trecate et al. (2004). Recent works have brought to light MPC -based control structures used for energy management of microgrids (a set of generators, loads and storage units that operate together, in isolated mode, or connected to the main grid) with renewable sources. Valverde et al. (2013) shows a MPC- controlled hydrogen-based domestic microgrids; Garcia- Torres and Bordons (2015) also refer to optimal generation for renewable microgrid; Mendes et al. (2016) propose MPC structure for energy management of experimental microgrids, coupled with hydrogen storage systems. Solar radiation and wind speed present frequent changes due to climatic issues, and its stochastic behavior repre- Proceedings of the 20th World Congress The International Federation of Automatic Control Toulouse, France, July 9-14, 2017 Copyright © 2017 IFAC 33 Advanced Control for Energy Management of Grid-Connected Hybrid Power Systems in the Sugar Cane Industry Marcelo Menezes Morato ∗Paulo Renato da Costa Mendes ∗ Julio Elias Normey-Rico ∗Carlos Bordons ∗∗ ∗Departamento de Automa¸c˜ao e Sistemas ( DAS), Universidade Federal de Santa Catarina, Florian´opolis-SC, Brazil ∗∗ Departamento de Ingenier´ıa de Sistemas y Autom´atica, Universidad de Sevilla, Spain Abstract: This work presents a process supervision and advanced control structure, based on Model Predictive Control (MPC) coupled with disturbance estimation techniques and a finite-state machine decision system, responsible for setting energy productions set-points. This control scheme is applied to energy generation optimization in a sugar cane power plant, with non-dispatchable renewable sources, such as photovoltaic and wind power generation, as well as dispatchable sources, as biomass. The energy plant is bound to produce steam in different pressures, cold water and, imperiously, has to produce and maintain an amount of electric power throughout each month, defined by contract rules with a local distribution network operator (DNO). The proposed predictive control structure uses feedforward compensation of estimated future disturbances, obtained by the Double Exponential Smoothing (DES) method. The control algorithm has the task of performing the management of which energy system to use, maximize the use of the renewable energy sources, manage the use of energy storage units and optimize energy generation due to contract rules, while aiming to maximize economic profits. Through simulation, the proposed system is compared to a MPC structure, with standard techniques, and shows improved behavior. Keywords: Disturbance Estimation, Model Predictive Control, Decision System, Microgrids, Renewable Sources. 1. INTRODUCTION Energy generation in efficient ways is a key element for achieving greater goals aiming sustainable and eco-friendly development. The current foundations on energy generation are about to change in a profound way: affordable fossil fuel reserves are decreasing each year whereas, at the same time, energy demands grow in every country. Notably, in the instance of this work, the Brazilian energy scenario will be taken into account, for the country has an immensely diversified energy matrix, as seen on Minist´erio de Minas e Energia (2015). The sugar cane processing plants, studied in Gonz´alez (2011), are, as well, particularly significant to this study, given the importance of sugar-ethanol power plants in the Brazilian energy setting and knowing that these are mostly established in high insolation sites, they become potential candidates to be managed as distributed power plants of hybrid sources, as seen in Costa Filho (2013), considering biomass, biogas, solar and wind power energy. The optimization of a hybrid energy generation system, with the reuse of the sugar cane residues coupled with the The authors thank CNPq and Ministerio de Econom´ıa y Competitividad de Espa˜na for financing the projects CNPq401126/2014-5, CNPq303702/2011-7 and DPI2016-78338-R. use of other renewable sources, external to the plant, as photovoltaic panels and wind turbines, is discussed herein. The studied energy plant is based on a real sugar cane power plant and has to attend to process electric and steam demands and, also, ensure a pre-established multiobjective energy sales contract with the local Distribution Network Operator (DNO). The control of hybrid generation and storage, including renewable and non-renewable sources, is a significant issue to be studied in order to allow the optimal management and operation, carrying out a coordination between legal standards, minimal environmental standards and state of the art techniques Ferrari-Trecate et al. (2004). Recent works have brought to light MPC -based control structures used for energy management of microgrids (a set of generators, loads and storage units that operate together, in isolated mode, or connected to the main grid) with renewable sources. Valverde et al. (2013) shows a MPC- controlled hydrogen-based domestic microgrids; Garcia- Torres and Bordons (2015) also refer to optimal generation for renewable microgrid; Mendes et al. (2016) propose MPC structure for energy management of experimental microgrids, coupled with hydrogen storage systems. Solar radiation and wind speed present frequent changes due to climatic issues, and its stochastic behavior repre- Proceedings of the 20th World Congress The International Federation of Automatic Control Toulouse, France, July 9-14, 2017 Copyright © 2017 IFAC 33 Advanced Control for Energy Management of Grid-Connected Hybrid Power Systems in the Sugar Cane Industry Marcelo Menezes Morato ∗Paulo Renato da Costa Mendes ∗ Julio Elias Normey-Rico ∗Carlos Bordons ∗∗ ∗Departamento de Automa¸c˜ao e Sistemas ( DAS), Universidade Federal de Santa Catarina, Florian´opolis-SC, Brazil ∗∗ Departamento de Ingenier´ıa de Sistemas y Autom´atica, Universidad de Sevilla, Spain Abstract: This work presents a process supervision and advanced control structure, based on Model Predictive Control (MPC) coupled with disturbance estimation techniques and a finite-state machine decision system, responsible for setting energy productions set-points. This control scheme is applied to energy generation optimization in a sugar cane power plant, with non-dispatchable renewable sources, such as photovoltaic and wind power generation, as well as dispatchable sources, as biomass. The energy plant is bound to produce steam in different pressures, cold water and, imperiously, has to produce and maintain an amount of electric power throughout each month, defined by contract rules with a local distribution network operator (DNO). The proposed predictive control structure uses feedforward compensation of estimated future disturbances, obtained by the Double Exponential Smoothing (DES) method. The control algorithm has the task of performing the management of which energy system to use, maximize the use of the renewable energy sources, manage the use of energy storage units and optimize energy generation due to contract rules, while aiming to maximize economic profits. Through simulation, the proposed system is compared to a MPC structure, with standard techniques, and shows improved behavior. Keywords: Disturbance Estimation, Model Predictive Control, Decision System, Microgrids, Renewable Sources. 1. INTRODUCTION Energy generation in efficient ways is a key element for achieving greater goals aiming sustainable and eco-friendly development. The current foundations on energy generation are about to change in a profound way: affordable fossil fuel reserves are decreasing each year whereas, at the same time, energy demands grow in every country. Notably, in the instance of this work, the Brazilian energy scenario will be taken into account, for the country has an immensely diversified energy matrix, as seen on Minist´erio de Minas e Energia (2015). The sugar cane processing plants, studied in Gonz´alez (2011), are, as well, particularly significant to this study, given the importance of sugar-ethanol power plants in the Brazilian energy setting and knowing that these are mostly established in high insolation sites, they become potential candidates to be managed as distributed power plants of hybrid sources, as seen in Costa Filho (2013), considering biomass, biogas, solar and wind power energy. The optimization of a hybrid energy generation system, with the reuse of the sugar cane residues coupled with the The authors thank CNPq and Ministerio de Econom´ıa y Competitividad de Espa˜na for financing the projects CNPq401126/2014-5, CNPq303702/2011-7 and DPI2016-78338-R. use of other renewable sources, external to the plant, as photovoltaic panels and wind turbines, is discussed herein. The studied energy plant is based on a real sugar cane power plant and has to attend to process electric and steam demands and, also, ensure a pre-established multiobjective energy sales contract with the local Distribution Network Operator (DNO). The control of hybrid generation and storage, including renewable and non-renewable sources, is a significant issue to be studied in order to allow the optimal management and operation, carrying out a coordination between legal standards, minimal environmental standards and state of the art techniques Ferrari-Trecate et al. (2004). Recent works have brought to light MPC -based control structures used for energy management of microgrids (a set of generators, loads and storage units that operate together, in isolated mode, or connected to the main grid) with renewable sources. Valverde et al. (2013) shows a MPC- controlled hydrogen-based domestic microgrids; Garcia- Torres and Bordons (2015) also refer to optimal generation for renewable microgrid; Mendes et al. (2016) propose MPC structure for energy management of experimental microgrids, coupled with hydrogen storage systems. Solar radiation and wind speed present frequent changes due to climatic issues, and its stochastic behavior repre- Proceedings of the 20th World Congress The International Federation of Automatic Control Toulouse, France, July 9-14, 2017 Copyright © 2017 IFAC 33
32 Marcelo Menezes Morato et al. / IFAC PapersOnLine 50-1 (2017) 31–36 sents an additional challenge to energy management in renewable energy based power systems. Estimation of the future behavior of these variables is also important to the studied hybrid generation system. The importance of disturbance estimation is thoroughly discussed on Pawlowski et al. (2010) and Pawlowski et al. (2011). In this work, a two-layer advanced control strategy is proposed to deal with the system’s operational requirements and find an optimal operating point. The top level consists of a process supervision and decision layer and is responsible for deciding the monthly energy sale goal, while the second layer is composed by a MPC algorithm that aims to provide a stable operating point according the control goals and system constraints. The advanced control structure must be able to deal with the effect of the non-dispatchable disturbances predictions on the system operation conditions. By this, this study deals with the estimation of disturbances with long-term prediction horizons, as depicted on Reikard (2009), based on timeseries methods, seen on Brockwell and Davis (2002). This paper is organized as follows: section 2 presents the studied power plant discrete model and the respective energy contract rules, section 3 describes the process supervision and decision layer, depicting the optimization problems that have to be solved and detailing the MPC control structure, section 4 presents the disturbance forecasting methods used to estimate wind speed and solar radiation. Finally, section 5 shows simulations of the proposed control strategy. The paper ends with conclusions. 2. THE STUDIED PROBLEM The hybrid generation energy system herein studied is based upon a sugar cane processing plant, that produces sugar, ethanol and electric power. This system is composed by the following subsystems: two boilers, with different efficiencies; two steam turbines, with different efficiencies; a combined heat and power system, denoted as CHP; a water chiller; a hot water tank; photovoltaic panels; water heating solar panels; a wind turbine; two pressure reduction valves; one heat exchanger; stocks of bagasse, straw and compressed biogas and a battery bank. This plant is interesting from an economic and sustainable point-of-view, as it proposes the use of renewable sources and the recycling of the sugar cane residues, aiming to use the best possible technology for sustainable energy generation. This plant has four demands to satisfy: electric power demand, due to ethanol and sugar production process; middle and low pressure steam demands, defined by the process, and refrigeration (chilled water) demands, used to cool down generators, oil tanks and water for fermentation units. It is important to mention that satisfying each demand alone is not adequate, as they are inextricably linked. 2.1 Hybrid Energy Plant Model It is important to depict the studied hybrid generation energy plant more minutely, as seen in Morato et al. (2016). Figure 1 shows the outline of the studied plant and table 1 details the used nomenclature; QA Eand QB E represent the biomass (bagasse and straw) input flows, measured in ( t h). Fig. 1. Studied Hybrid Generation Energy Plant Table 1. Manipulated Variables Symbol MV Unit SPB CLower-Efficiency Boiler’s Set-Point ( t h) SPB TU Lower-Efficiency Turbine’s Set-Point (kW) SPA TU Better-Efficiency Turbine’s Set-Point (kW) P otBat Energy Flow to the Battery Bank (kW) SPCHP CHP’s set-point (kW) SPch Water Chiller’s Set-Point ( m3 h) SPTC Heat Exchanger’s Set-Point ( m3 h) QOut VHigh-middle Press. Reduc. Valve’s SP (t h) QMB VMiddle-low Press. Reduc. Valve’s SP (t h) QT ank Esc Hot Water Escape Flow ( m3 h) QM Esc Middle Pressure Steam Escape Flow ( t h) QB Esc Low Pressure Steam Escape Flow ( t h) P otNet Electric Power Available to Network (kW) The studied energy plant is composed of internal stocks, put as system states. The use of intermediate storage units allows the system to accumulate energy (or biomass, that can be converted into energy) when the renewable generation is high and use fit when there is no renewable production. From a discrete time standpoint, a state xs, at sampling time k+ 1, depends on the state at previous sample kand on the total exchanged flow ˘uE s(k) during the period ∆T, ranging from kto k+ 1, assuming ˘uE s(k) to remain constant during ∆T- this is: xs(k+1) = Asxs(k)+ ˘uE s(k)∆T. As described in Geidl (2007), the discrete state space representation model of the studied plant can be put as in (1). This mathematical model was obtained and validated through simulation and with the use of experimental data; to see full details refer to Morato et al. (2016) and Mendes (2016). x(k+ 1) = Ax(k)+Bu(k)+Cz(k) y(k)=Dx(k)+Eu(k)+Fz(k)(1) The system state vector is defined as on (2), where each entry represents the normalized percentage of each stock: battery bank, bagasse stock, straw stock, biogas stock and hot water tank. The system’s manipulated variables are continuous and are put in table 1. The set-points will be treated by lower level internal controls. The complete manipulated variables vector is seen on (3). In terms of the system’s outputs, the output vector is defined as on (4), Proceedings of the 20th IFAC World Congress Toulouse, France, July 9-14, 2017 34 being PP roc the electric power produced due to the sugar cane processing demand (kW); QM Vthe flow of middle pressure steam ( t h); QL Vthe flow of low pressure steam (t h); QCW the flow of cold water required by the distillery process (m3 h); finally, PSale represents the electric power made available for the external network (kW). And, finally, the external disturbances to the system are herein put as on (5), being Wndin the speed of the wind (measured in km h) present in the microgrid’s area, used by the wind turbines to generate electric power, and Irrdin the amount of solar irradiation (measured in W m2) on the microgrid’s solar panels (photovoltaic and water heating). Bagin,Strin and Bgin represent the income (t/h) of bagasse, straw and compressed biogas to the respective stocks. These last three are known and well-described curves, whereas the first two are not - from a control point- of-view, they shall be estimated, as put in subsection 4. x=XBat XBag XStr XBg XTT(2) u=[SPA TU SPB TU P otNet SPB C... (3) QOut VQM Esc QB Esc SPCHP SPCh SPTC P otBat QMB VQT Esc ]T y=PP roc QM VQL VQCW PSale T(4) z=W ndin Irrdin Bagin Strin Bgin T(5) 2.2 Electric Energy Contract The electric power that has to be produced by the microgrid consists of two factors: the internal power demands, to maintain the sugar cane processing - in average 5.76 GWh per month, and the amount of energy that is sold to the local distribution network operator (DNO). The later is a key point to this study. The rules accorded with the DNO can be summarized as this: the plant has to supply at least χ= 11.52 GWh (obligatory) of energy per month, without paying for transmission fees, and can supply more than χ, but, then, paying for the transmission fees (optional). In the scenario of a production greater than χ, it is only profitable (without economic loss) when the production is greater or equal to 2χper month. So, the energy production goals have to abide by the rules set in figure 2. It is important to remark that this studied energy plant has a generation capability of 2.5χper month. It is also wise to mention that the contract rules also state that there is a tolerance of ψ= 15% when the production is over χ. Fig. 2. Contract Production Rules This work focuses on solving the problem brought by the energy production rules, proposing a process supervision and decision layer, composed by a finite state machine (FSM ), that aims to maximize production, whenever possible, using the future disturbance estimation information, passing energy production set-points to an advanced control layer. 3. PROPOSED SOLUTION As depicted beforehand, the main problem to be addressed by this work is to maximize production, in the most efficient and profitable way, while always abiding to energy production contract rules (seen in figure 2), using the future disturbance estimation information. This shall be solved with an hierarchical control structure, as defined on Galus and Art (2012) and explained on this section. The studied plant has to produce the contract-defined amount of electric energy, while still meeting all the system demands: internal power demand, steam demands and refrigeration demands. The optimization has to define the manipulated vector (3) so that the monthly production of energy corresponds to the set-point and the system state vector (2) follows a reference (for example: all stocks at 50 %). This is subject to the following restrictions: i) The manipulated variables have to stay within physical limits; ii) The system output vector (4) has to contemplate the system demands; iii) The system state vector (2) has to stay within bounded operational bands. For this, a hierarchical control strategy is proposed, composed of two levels: a process supervision and decision layer, composed by a finite state machine (FSM ), and a Disturbance Estimation algorithm (DES), that passes energy production set-points toaMPC predictive controller, which represents the lower level. A view of the complete proposed system control strategy is seen in figure 3, depicting the FSM, the disturbance estimation, the MPC controller and the energy plant (process). The interactions between the two layers is, then, clear: the DES estimation algorithm is responsible for providing the future disturbance estimation for the FSM and the MPC (with different sampling rates); then, the FSM decides which operational set-point should be passed to the MPC (given estimation and produced energy data); finally, the MPC controller computes the control action u at every instant kand applies it to the process; there is a feedback of measured output yto the MPC controller and to the FSM. Fig. 3. Proposed Control Structure Proceedings of the 20th IFAC World Congress Toulouse, France, July 9-14, 2017 35
Marcelo Menezes Morato et al. / IFAC PapersOnLine 50-1 (2017) 31–36 33 being PP roc the electric power produced due to the sugar cane processing demand (kW); QM Vthe flow of middle pressure steam ( t h); QL Vthe flow of low pressure steam (t h); QCW the flow of cold water required by the distillery process (m3 h); finally, PSale represents the electric power made available for the external network (kW). And, finally, the external disturbances to the system are herein put as on (5), being Wndin the speed of the wind (measured in km h) present in the microgrid’s area, used by the wind turbines to generate electric power, and Irrdin the amount of solar irradiation (measured in W m2) on the microgrid’s solar panels (photovoltaic and water heating). Bagin,Strin and Bgin represent the income (t/h) of bagasse, straw and compressed biogas to the respective stocks. These last three are known and well-described curves, whereas the first two are not - from a control point- of-view, they shall be estimated, as put in subsection 4. x=XBat XBag XStr XBg XTT(2) u=[SPA TU SPB TU P otNet SPB C... (3) QOut VQM Esc QB Esc SPCHP SPCh SPTC P otBat QMB VQT Esc ]T y=PP roc QM VQL VQCW PSale T(4) z=W ndin Irrdin Bagin Strin Bgin T(5) 2.2 Electric Energy Contract The electric power that has to be produced by the microgrid consists of two factors: the internal power demands, to maintain the sugar cane processing - in average 5.76 GWh per month, and the amount of energy that is sold to the local distribution network operator (DNO). The later is a key point to this study. The rules accorded with the DNO can be summarized as this: the plant has to supply at least χ= 11.52 GWh (obligatory) of energy per month, without paying for transmission fees, and can supply more than χ, but, then, paying for the transmission fees (optional). In the scenario of a production greater than χ, it is only profitable (without economic loss) when the production is greater or equal to 2χper month. So, the energy production goals have to abide by the rules set in figure 2. It is important to remark that this studied energy plant has a generation capability of 2.5χper month. It is also wise to mention that the contract rules also state that there is a tolerance of ψ= 15% when the production is over χ. Fig. 2. Contract Production Rules This work focuses on solving the problem brought by the energy production rules, proposing a process supervision and decision layer, composed by a finite state machine (FSM ), that aims to maximize production, whenever possible, using the future disturbance estimation information, passing energy production set-points to an advanced control layer. 3. PROPOSED SOLUTION As depicted beforehand, the main problem to be addressed by this work is to maximize production, in the most efficient and profitable way, while always abiding to energy production contract rules (seen in figure 2), using the future disturbance estimation information. This shall be solved with an hierarchical control structure, as defined on Galus and Art (2012) and explained on this section. The studied plant has to produce the contract-defined amount of electric energy, while still meeting all the system demands: internal power demand, steam demands and refrigeration demands. The optimization has to define the manipulated vector (3) so that the monthly production of energy corresponds to the set-point and the system state vector (2) follows a reference (for example: all stocks at 50 %). This is subject to the following restrictions: i) The manipulated variables have to stay within physical limits; ii) The system output vector (4) has to contemplate the system demands; iii) The system state vector (2) has to stay within bounded operational bands. For this, a hierarchical control strategy is proposed, composed of two levels: a process supervision and decision layer, composed by a finite state machine (FSM ), and a Disturbance Estimation algorithm (DES), that passes energy production set-points toaMPC predictive controller, which represents the lower level. A view of the complete proposed system control strategy is seen in figure 3, depicting the FSM, the disturbance estimation, the MPC controller and the energy plant (process). The interactions between the two layers is, then, clear: the DES estimation algorithm is responsible for providing the future disturbance estimation for the FSM and the MPC (with different sampling rates); then, the FSM decides which operational set-point should be passed to the MPC (given estimation and produced energy data); finally, the MPC controller computes the control action u at every instant kand applies it to the process; there is a feedback of measured output yto the MPC controller and to the FSM. Fig. 3. Proposed Control Structure Proceedings of the 20th IFAC World Congress Toulouse, France, July 9-14, 2017 35
34 Marcelo Menezes Morato et al. / IFAC PapersOnLine 50-1 (2017) 31–36 3.1 Process Supervision and Decision Layer The process supervision and decision layer is composed by afinite state machine of three states (X), correlated with the energy production goals: χ,2χand 2.5χ. As stated, χ represents the obligatory energy generation of 11.52 GWh per month. Every half day, the FSM decides whether to change or not the state, which implies on the set-points passed to the control layer. It is important to remark that this decision layer acts every ∆T= 12 h. This sampling period, chosen through simulation study, is appropriate so that there are not too many set-point changes and the influence of the oscillation of weather prediction on the MPC (lower level) is avoided. The decision strategy is based on the future disturbance estimation data. The supervision structure knows how much energy has already been produced and makes a model-based (as put in section 4) end-of-month production estimate ( ˆ Pk) of the controlled energy plant, taking into account the future disturbance estimations and the amount of produced energy. If the euclidean distance (d) between the iteration state Xkand ˆ Pkis greater than ψ(the production goal cannot be achieved), there is a state transition, so that the amount of produced energy, at the end of the month, never settles inside the unwanted interval (χ, 2.χ). What is of importance from the estimated future disturbance data to the FSM is the mean value of the data, so the effect of small prediction mistakes is mitigated. The initial FSM state X0is set by the initial disturbance predictions. ψis defined by the contract rules boundaries. The transitions between the FSM state can be exemplified: given a certain month, at day 15, the system is following a2.5.χ energy production set-point, but the estimate of future disturbances is low, so the production estimate P15 is inside 2χ±ψ, then, there is a transition from state 2.5χ to 2χ. The schematic figure 4 and algorithm 1 explicit the FSM operation. The state transitions conditions, seen on the algorithm, when || ˆ Pk−Xk|| ≤ ψ, were defined empirically, given the energy plant model. Fig. 4. Proposed Process Supervision and Decision Layer 3.2 Predictive Control Strategy The Model Predictive Control strategy aims at demand optimization, one of the key topics of this study and was previously used with success to control renewable energy based power plants, as seen on Mendes et al. (2015). The proposed MPC controller works at sampling time ∆T=1hand uses future estimation data of wind speed and solar radiation. It has the following objective function: Algorithm 1 FSM Algorithm Input: Ts,ψ,χ Output: SP Set-Point 1: procedure FSM 2: X←X0 3: End ←LastDay Days until end-of-month 4: for k= 1 to End do 5: if k//Ts=0then Every Tshours Input: z,El DES Predictions, Produced Energy 6: Compute ˆ Pk(z,El)Estimative 7: if || ˆ Pk−Xk|| ≤ ψ,then 8: Xk←XkMaintains state 9: else 10: if ˆ Pk≤1.3χthen 11: Xk←χGoal of χ 12: if 1.3χ< ˆ Pk≤1.9χthen 13: Xk←2χGoal of 2χ 14: else 15: Xk←2.5χGoal of 2.5χ 16: SP ←XkPass Set-Point to Lower Layer JMPC=Nc−1 i=0 P otNetwork (k+i)−(SPFSM −Esum) ∆TT(6) QPP otNetwork (k+i)−(SPFSM −Esum) ∆T+ Nc−1 i=0 quˆu(k+i)+ Np−1 i=0 (ˆx(k+i)−ˆxref (k+i))TQx(ˆx(k+i)−ˆxref (k+i)) where Esum represents the electric energy that has already been produced by the microgrid, at given iteration k; SPFSM represents the energy production set-point given by the FSM ; the system state reference is put as ˆxref ; Np= 12 h represents the prediction horizon, while Nc= 5h represents the control horizon. As it can be seen, (SPFSM −Esum) represents how much electric energy the microgrid still has to produce until the end of the month, due to contract requirement. For this, when minimizing [PotNetwork(k+i)−(SPFSM −Esum) ∆T], the main controller forces the production of energy at iteration kto approach the necessary amount to meet the contract requirement, so, by the end of the month, the amount of electric energy supplied to the network is the one defined by contract. The objective function (6) is subject to the following constraints: xj≤ˆxj(k+i+ 1) ≤xj(7) uj≤ˆuj(k+i)≤ui(8) ˆy(k+i)=Demands(k) (9) 0≤PotNetwork(k) (10) for i=0,...,N p−1, where quis a positive defined vector, QPand Qxare positive definite weighting matrices. The notation hat over variables (ˆa) is used to denote variables over the prediction horizon, aiand ¯aidenote minimum and maximum allowed values respectively. The matrix QPis adjusted so that the electric energy production is prioritized; Qxis used to maintain the system state vector values near a referenced region of 50 % of all stocks. The vector quis used so that the production of energy comes preferably from the most efficient and sustainable energy sources. It is important to remark that the model used by the controller to compute uis based on what is put on (1), where zrepresents, here, the estimated disturbances. Proceedings of the 20th IFAC World Congress Toulouse, France, July 9-14, 2017 36 Details about the implementation and solution to the MPC problem presented herein are clearly explained on Morato et al. (2017). 4. DISTURBANCE FORECASTING METHODS This section exposes the selected time-series methods used, herein, to estimate wind speed and solar radiation present on field. The estimated curves are based upon real meteorological data from a real sugar cane processing plant, settled on the state of Paran´a, Brazil. A time-series can be put as a continuous or discrete sequence of events Hamilton (1994) and can be applied to identify and analyse the nature of different phenomena, depicted as a sequence of measurements. In this work, the Double Exponential Smoothing (DES) technique is used to estimate the behavior of wind speed and solar radiation curves, present on the studied hybrid energy plant. The DES technique can be depicted, as seen in LaViola (2003), by the following equations: Sk=αzk+ (1 −α)(Sk−1+bk−1) (11) bk=λ(Sk−Sk−1)+(1−λ)bk−1(12) where Skis the forecast to be adjusted, bkis the predicted course, αand λ1are the smoothing parameters for the curve and the course, respectively. The actual measured event of the time-series zkis used to compute the respective smoothed value Skin the DES. The next (estimated) sample event and jsteps ahead event are given by ˆzk+1 =Sk+bk(13) ˆzk+j=Sk+jbk(14) The initial values for S0and b0follow the suggestion put in Pawlowski et al. (2010), being S0=z1and b0=3 j=1 zj 3. Finally, it is important to show the estimation of the disturbances by the DES technique. Figure 5 shows the respective DES time-series estimation curves to wind speed and solar radiation present on the field, with a 12 hour prediction horizon, compared with real meteorological data. It is notable how this chosen technique can be helpful to the advanced control structure and to the decision layer, presenting good estimations to the studied curves. Fig. 5. DES Estimated Curves 5. APPLICATION AND RESULTS The results of the proposed control strategy, applied to a simulated model of the studied energy plant, are presented in this section. The control strategy and process supervision and decision layer were implemented using the software Matlab Mathworks (2009) with Yalmip toolbox 1αand λ∈(0,1) can be obtained by optimization techniques Lofberg (2004) and CPLEX solver ILOG (2007). Once again, the tuning of the predictive controller is thoroughly discussed on Morato et al. (2017). The control objectives are to maximize the use of renewable energy sources, ensure the energy production defined by contract and ensure the load demand at all periods of time. The use of the renewable sources and the respectfulness to contract rules are visible. The results of the proposed advanced control strategy, coupled with the FSM and the efficient disturbance estimation (DES), are summarized on figures 6 and 7. Firstly, figure 6 displays the need for the FSM decision layer: the production starts with a set-point of χ, but, as the days pass, the FSM cognizes the possibility of generating 2χand, later on, 2.5χ, given the high prediction (DES) of non-dispatchable renewable sources (wind speed and solar radiation). The proposed control structure (MPC+DES+FSM ) is compared with a ”complete” predictive control structure (MPC-Perfect), that has the actual future disturbance information (instead of the DES estimates) and follows a fixed set-point of 2.5χ. It can be observed that the proposed structure presents a very close behavior to the MPC with future disturbance knowledge case, being robust. Finally, figure 7 shows a different simulation scenario, where the presence of renewable energy sources gradually increases during the month. A raw MPC controller (only lower layer of the full proposed advanced control structure) issettoaχenergy production set-point, for the given month. This controller is compared with the proposed structure (MPC+FSC+DES), set on the same month. It can be seen that the proposed structure can manage to produce 2.5χ, given the presence of the FSM and the continuous predictions of the DES layer, while the raw MPC infringes the energy contract rules (penalty region), given the gradual increase of the renewable sources. 6. CONCLUSION AND FUTURE WORK This paper presented the issue of controlling a microgrid that integrates renewable energy generation and hybrid storage technologies, with energy production rules. A MPC control structure and a process supervision and decision layers, combined with disturbance estimation techniques were proposed to perform the electric energy production optimization, management of storage and subsystems and maximize economic profit. As showed by the simulation results, the proposed control structure presented satisfactory results. On future publications, the exploitation of different operating scenarios (months with different seasonal conditions) shall be presented and discussed with care. For future works, an interesting theme is to study other disturbance estimation techniques and a higher level management system, considering different contracts of electric energy production to be diluted upon several microgrids. REFERENCES Brockwell, P.J. and Davis, R.A. (2002). Introduction to time series and forecasting. Costa Filho, M.V.A.d. (2013). Modelagem, controle e otimiza¸c˜ao de processos da ind´ustria do etanol. Proceedings of the 20th IFAC World Congress Toulouse, France, July 9-14, 2017 37
Marcelo Menezes Morato et al. / IFAC PapersOnLine 50-1 (2017) 31–36 35 Details about the implementation and solution to the MPC problem presented herein are clearly explained on Morato et al. (2017). 4. DISTURBANCE FORECASTING METHODS This section exposes the selected time-series methods used, herein, to estimate wind speed and solar radiation present on field. The estimated curves are based upon real meteorological data from a real sugar cane processing plant, settled on the state of Paran´a, Brazil. A time-series can be put as a continuous or discrete sequence of events Hamilton (1994) and can be applied to identify and analyse the nature of different phenomena, depicted as a sequence of measurements. In this work, the Double Exponential Smoothing (DES) technique is used to estimate the behavior of wind speed and solar radiation curves, present on the studied hybrid energy plant. The DES technique can be depicted, as seen in LaViola (2003), by the following equations: Sk=αzk+ (1 −α)(Sk−1+bk−1) (11) bk=λ(Sk−Sk−1)+(1−λ)bk−1(12) where Skis the forecast to be adjusted, bkis the predicted course, αand λ1are the smoothing parameters for the curve and the course, respectively. The actual measured event of the time-series zkis used to compute the respective smoothed value Skin the DES. The next (estimated) sample event and jsteps ahead event are given by ˆzk+1 =Sk+bk(13) ˆzk+j=Sk+jbk(14) The initial values for S0and b0follow the suggestion put in Pawlowski et al. (2010), being S0=z1and b0=3 j=1 zj 3. Finally, it is important to show the estimation of the disturbances by the DES technique. Figure 5 shows the respective DES time-series estimation curves to wind speed and solar radiation present on the field, with a 12 hour prediction horizon, compared with real meteorological data. It is notable how this chosen technique can be helpful to the advanced control structure and to the decision layer, presenting good estimations to the studied curves. Fig. 5. DES Estimated Curves 5. APPLICATION AND RESULTS The results of the proposed control strategy, applied to a simulated model of the studied energy plant, are presented in this section. The control strategy and process supervision and decision layer were implemented using the software Matlab Mathworks (2009) with Yalmip toolbox 1αand λ∈(0,1) can be obtained by optimization techniques Lofberg (2004) and CPLEX solver ILOG (2007). Once again, the tuning of the predictive controller is thoroughly discussed on Morato et al. (2017). The control objectives are to maximize the use of renewable energy sources, ensure the energy production defined by contract and ensure the load demand at all periods of time. The use of the renewable sources and the respectfulness to contract rules are visible. The results of the proposed advanced control strategy, coupled with the FSM and the efficient disturbance estimation (DES), are summarized on figures 6 and 7. Firstly, figure 6 displays the need for the FSM decision layer: the production starts with a set-point of χ, but, as the days pass, the FSM cognizes the possibility of generating 2χand, later on, 2.5χ, given the high prediction (DES) of non-dispatchable renewable sources (wind speed and solar radiation). The proposed control structure (MPC+DES+FSM ) is compared with a ”complete” predictive control structure (MPC-Perfect), that has the actual future disturbance information (instead of the DES estimates) and follows a fixed set-point of 2.5χ. It can be observed that the proposed structure presents a very close behavior to the MPC with future disturbance knowledge case, being robust. Finally, figure 7 shows a different simulation scenario, where the presence of renewable energy sources gradually increases during the month. A raw MPC controller (only lower layer of the full proposed advanced control structure) issettoaχenergy production set-point, for the given month. This controller is compared with the proposed structure (MPC+FSC+DES), set on the same month. It can be seen that the proposed structure can manage to produce 2.5χ, given the presence of the FSM and the continuous predictions of the DES layer, while the raw MPC infringes the energy contract rules (penalty region), given the gradual increase of the renewable sources. 6. CONCLUSION AND FUTURE WORK This paper presented the issue of controlling a microgrid that integrates renewable energy generation and hybrid storage technologies, with energy production rules. A MPC control structure and a process supervision and decision layers, combined with disturbance estimation techniques were proposed to perform the electric energy production optimization, management of storage and subsystems and maximize economic profit. As showed by the simulation results, the proposed control structure presented satisfactory results. On future publications, the exploitation of different operating scenarios (months with different seasonal conditions) shall be presented and discussed with care. For future works, an interesting theme is to study other disturbance estimation techniques and a higher level management system, considering different contracts of electric energy production to be diluted upon several microgrids. REFERENCES Brockwell, P.J. and Davis, R.A. (2002). Introduction to time series and forecasting. Costa Filho, M.V.A.d. (2013). Modelagem, controle e otimiza¸c˜ao de processos da ind´ustria do etanol. Proceedings of the 20th IFAC World Congress Toulouse, France, July 9-14, 2017 37
36 Marcelo Menezes Morato et al. / IFAC PapersOnLine 50-1 (2017) 31–36 Fig. 6. Energy Production of 2.5χ- Comparative with complete MPC Fig. 7. Comparison with raw MPC Ferrari-Trecate, G., Gallestey, E., Letizia, P., Spedicato, M., Morari, M., and Antonine, M. (2004). Modeling and control of co-generation power plants: a hybrid system approach. IEEE Transactions on Control Systems Technology, 12(5), 694–705. doi:10.1109/TCST.2004.826958. Galus, M.D. and Art, G.S. (2012). A hierarchical, distributed PEV charging control in low voltage distribution grids to ensure network security. In Power and Energy Society General Meeting, 2012 IEEE, 1–8. IEEE. Garcia-Torres, F. and Bordons, C. (2015). Optimal economical schedule of hydrogen-based microgrids with hybrid storage using model predictive control. Industrial Electronics, IEEE Transactions on, 62(8), 5195–5207. doi:10.1109/TIE.2015.2412524. Geidl, M. (2007). Integrated modeling and optimization of multi-carrier energy systems. Ph.D. thesis, ETH Zurich. Gonz´alez, J.R.P. (2011). Libro Blanco de la Automatizaci´on y Control en la Industria de la Ca˜na de Az´ucar. Hamilton, J.D. (1994). Time series analysis, volume 2. Princeton university press Princeton. ILOG, I. (2007). Cplex. LaViola, J.J. (2003). Double exponential smoothing: an alternative to kalman filter-based predictive tracking. ACM. Lofberg, J. (2004). Yalmip: A toolbox for modeling and optimization in matlab. IEEE International Symposium on Computer Aided Control Systems Design, 284–289. doi:10.1109/CACSD.2004.1393890. Mathworks (2009). Matlab. Mendes, P.R.C., Isorna, L.V., Bordons, C., and Normey- Rico, J.E. (2016). Energy management of an experimental microgrid coupled to a V2G system. Journal of Power Sources, 702–713. Mendes, P.C. (2016). Predictive Control for Energy Management of Renewable Energy Based Microgrids. Ph.D. thesis, Universidade Federal de Santa Catarina. Mendes, P.C., Normey-Rico, J., and Bordons Alba, C. (2015). Economic energy management of a microgrid including electric vehicles. In Innovative Smart Grid Technologies Latin America (ISGT LATAM), 2015 IEEE PES, 869–874. doi:10.1109/ISGT-LA.2015.7381269. Minist´erio de Minas e Energia, G.F. (2015). Resenha Energ´etica Brasileira: Exerc´ıcio de 2014. Morato, M.M., Mendes, P.R.C., Bertol, D.W., Cembranel, D., Bordons, C., and Normey-Rico, J.E. (2016). Estudo de uma planta h´ıbrida de gera¸c˜ao de energia na ind´ustria da cana-de-a¸c´ucar (study of a hybrid energy generation plant in the sugar cane industry). Congresso Brasileiro de Autom´atica. (in press). Morato, M.M., da Costa Mendes, P.R., Normey-Rico, J.E., and Bordons, C. (2017). Optimal operation of hybrid power systems including renewable sources in the sugar cane industry. IET Renewable Power Generation. Pawlowski, A., Guzm´an, J.L., Rodr´ıguez, F., Bereguel, M., and Normey-Rico, J.E. (2011). Predictive control with disturbance forecasting for greenhouse diurnal temperature control. In IFAC Proceedings, volume 44.1. Elsevier. Pawlowski, A., Guzm´an, J.L., Rodr´ıguez, F., Berenguel, M., and S´anchez, J. (2010). Application of time-series methods to disturbance estimation in predictive control problems. In IEEE International Symposium on Industrial Electronics. Reikard, G. (2009). Predicting solar radiation at high resolutions: A comparison of time series forecasts. Valverde, L., Rosa, F., Del Real, A., Arce, A., and Bordons, C. (2013). Modeling, simulation and experimental set-up of a renewable hydrogen-based domestic microgrid. international journal of hydrogen energy, 38(27), 11672–11684. Proceedings of the 20th IFAC World Congress Toulouse, France, July 9-14, 2017 38