원시데이터 수집 시스템
선정목록으로

Optimal Dispatch of Multi-Energy Integrated Micro-Energy Grid: A Model Predictive Control Method

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)

기본 정보

저자
  1. Xurui Huang — Guangzhou Power Supply Bureau, Guangdong Power Grid Co., Ltd., Guangzhou, China
  2. Bo Yang — Guangzhou Power Supply Bureau, Guangdong Power Grid Co., Ltd., Guangzhou, China
  3. Fengyuan Yu — Guangzhou Power Supply Bureau, Guangdong Power Grid Co., Ltd., Guangzhou, China
  4. Jun Pan — Guangzhou Power Supply Bureau, Guangdong Power Grid Co., Ltd., Guangzhou, China
  5. Qin Xu — Guangzhou Power Supply Bureau, Guangdong Power Grid Co., Ltd., Guangzhou, China
  6. Wanxin Xu — State Key Laboratory of Alternate Electrical Power System with Renewable Energy Source, North China Electrical Power University, Beijing, China
DOI
10.3389/fenrg.2021.766012
저널
Frontiers in Energy Research
발행년도
2021
발행기관
Frontiers Media
피인용수
5
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3389/fenrg.2021.766012
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W3215699059

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
solid oxide fuel cell, multi-energy integrated micro-energy grid, model predictive control, optimal dispatch, energy storage
판단 근거
논문은 고체산화물 연료전지(SOFC)를 포함한 마이크로 에너지 그리드의 최적 운영을 위한 모델 예측 제어(MPC) 알고리즘을 다루고 있습니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC) 사업과는 연료전지 유형이 다르지만, 에너지 관리 시스템 및 최적화 제어 원리 측면에서 간접적인 기술적 연관성이 있습니다.
R&D 활용 포인트
연료전지 시스템의 에너지 효율 최적화 및 전력/열 관리 시스템(EMS)의 제어 알고리즘 고도화에 응용 가능합니다.
평가 입력
본문 55,862자 중 30,032자 발췌

초록

In order to reduce the impacts caused by large-scale renewable energy resources accessing the utility grid, the micro-energy grid system, as a natural extension of the microgrid in the energy internet era, is proposed and developed to provide a new solution for the optimal utilization of renewable energy resources. In this paper, a multi-energy integrated micro-energy system is proposed which contains wind, PV, bedrock energy storage, magnetic levitation electric refrigeration, solid oxide fuel cell, solar thermal collector, energy storage, and V2G technologies, and detailed models of the energy generation/conversion/storage devices are formulated. Besides this, the uncertainties of renewable energy resources and cold/heat/electricity loads are considered, and the optimal dispatch problem of the micro-energy system is established from day-ahead and real-time time scales based on a model predictive control method. The day-ahead optimal scheduling aims at economic optimization and guides real-time scheduling, and real-time scheduling utilizes rolling optimization and a feedback correction mechanism to effectively correct the deviation of renewable energy generations and loads at a real-time horizon, which improves the optimization control accuracy, follows the day-ahead dispatch plan, and ensures the economics of real-time scheduling at the same time.

본문 55,862자

본문 펼치기
Edited by: Bin Zhou, Hunan University, China Reviewed by: Li He, The University of Texas at Dallas, United States Qifang Chen, Beijing Jiaotong University, China Tianyang Zhao, Jinan University, China *Correspondence: Xurui Huang [huangxurui@hotmail.com](mailto:huangxurui@hotmail.com) Specialty section: This article was submitted to Process and Energy Systems Engineering, a section of the journal Frontiers in Energy Research Received: 28 August 2021 Accepted: 20 October 2021 Published: 30 November 2021 Citation: Huang X, Yang B, Yu F, Pan J, Xu Q and Xu W (2021) Optimal Dispatch of Multi-Energy Integrated Micro-Energy Grid: A Model Predictive Control Method. Front. Energy Res. 9:766012. doi: [10.3389/fenrg.2021.766012](https://doi.org/10.3389/fenrg.2021.766012) ORIGINAL [RESEARCH](https://www.frontiersin.org/journals/energy-research#editorial-board) published: 30 November 2021 doi: [10.3389/fenrg.2021.766012](https://doi.org/10.3389/fenrg.2021.766012) # Optimal Dispatch of Multi-Energy Integrated Micro-Energy Grid: A Model Predictive Control Method Xurui Huang <sup>1</sup> *, Bo Yang <sup>1</sup>, Fengyuan Yu <sup>1</sup>, Jun Pan <sup>1</sup>, Qin Xu <sup>1</sup> and Wanxin Xu <sup>2</sup> 1Guangzhou Power Supply Bureau, Guangdong Power Grid Co., Ltd., Guangzhou, China, 2State Key Laboratory of Alternate Electrical Power System with Renewable Energy Source, North China Electrical Power University, Beijing, China In order to reduce the impacts caused by large-scale renewable energy resources accessing the utility grid, the micro-energy grid system, as a natural extension of the microgrid in the energy internet era, is proposed and developed to provide a new solution for the optimal utilization of renewable energy resources. In this paper, a multi-energy integrated micro-energy system is proposed which contains wind, PV, bedrock energy storage, magnetic levitation electric refrigeration, solid oxide fuel cell, solar thermal collector, energy storage, and V2G technologies, and detailed models of the energy generation/conversion/storage devices are formulated. Besides this, the uncertainties of renewable energy resources and cold/heat/electricity loads are considered, and the optimal dispatch problem of the micro-energy system is established from day-ahead and real-time time scales based on a model predictive control method. The day-ahead optimal scheduling aims at economic optimization and guides real-time scheduling, and real-time scheduling utilizes rolling optimization and a feedback correction mechanism to effectively correct the deviation of renewable energy generations and loads at a real-time horizon, which improves the optimization control accuracy, follows the day-ahead dispatch plan, and ensures the economics of real-time scheduling at the same time. Keywords: micro energy grid, optimal dispatch, uncertainty, model predictive control, rolling optimization 1 INTRODUCTION In the context of the carbon peak and carbon neutrality goal, vigorously developing clean energy and renewable energy and reducing the proportion of fossil energy is the only way to eradicate smog and reduce greenhouse gas emissions. The randomness and volatility of new energy represented by wind and solar energy are strong, and this determines the uncertainty of its power generation. The access of large-scale new energy sources to the power grid will have a huge impact on the power grid and bring severe challenges to the safe and stable operation of the power system (Li et al., 2021; Xu et al., 2021). In this context, the research and construction of a new energy system represented by the micro-energy grid (MEG) provides a new solution for the optimization and utilization of renewable energy. Abbreviations: BES, bedrock energy storage; DA, day-ahead; DG, diesel generator; EES, electric energy storage; EHP, electric heat pump; EV, electric vehicle; HTWT, high temperature water tank; LBR, lithium bromide refrigerator; MEG, micro-energy grid; MLER, magnetic levitation electric refrigeration; MPC, model predictive control; MTWT, medium temperature water tank; PV, hotovoltaic; RER, renewable energy resources; RT, Real-time; SCS, solar collector system; SOC, state of charge; SOFC, solid oxide fuel cell; V2G, Vehicle-to-grid; WT, wind turbine. The MEG is a micro-integrated energy system, which is a natural extension of the microgrid under the background of the energy Internet. The MEG involves the production, transmission, storage, conversion, and utilization of various forms of energy, such as cooling, heating, and electricity. It connects the power grid, natural gas pipeline network, heating pipeline network, and other energy networks through energy hubs to meet the needs of end users for cooling, heating, and electricity energy. While making full use of renewable energy, the MEG realizes multienergy complementary and coordinated operation, ultimately achieving the goal of environmental friendliness and sustainable development. Effective optimization scheduling methods determine the quality of the energy management of the MEG and the overall performance of the system (Zhou et al., 2021). Until recently, there has been some research on the energy management and optimal dispatching of MEGs. The concepts and design principles of a smart MEG are proposed in (Mei et al., 2017), and an engineering game theory–based energy management system with self-approaching-optimum capability is investigated to realize the vision of the smart MEG. A novel battery energy management system for an MEG is proposed in (Thirugnanam et al., 2018), which considers multiple types of batteries’ characteristics and the reduction of DGs’ operating hours simultaneously. There are multiple stakeholders in the MEGs, including users, equipment operators, and system operators. How to take into account the demands of various stakeholders is the key and difficult point in the energy management of MEGs. A multiparty energy management framework of MEG is considered in (Liu et al., 2018a; Liu et al., 2018b; Liu et al., 2020a), which formulate the utility models for the system operator and prosumers, respectively, and an optimization model based on Stackelberg game is designed for the energy management of MEGs. Besides this, how to deal with uncertainty is also a difficult problem in the energy management of MEGs. The processing methods of existing literature are roughly divided into scene-based random optimization (Neyestani et al., 2015; Pazouki and Haghifam, 2016; Alipour et al., 2018) and robust optimization (Zugno et al., 2016; He et al., 2018). However, the former requires an accurate probability distribution of uncertain factors to give a statistically optimal solution, and the latter needs to optimize the worst scenarios that rarely occur in practice in a predefined set of uncertainties, which make its optimization strategy too conservative. Most of the abovementioned works study the DA optimal scheduling of MEGs on a single time scale, and the forecast errors caused by the uncertainty of renewable energy outputs are not taken into consideration so that the results of decision making in accordance with the abovementioned strategies in the actual operation of the system is suboptimal or even infeasible. Therefore, shorter time scale forecasting and scheduling are required for energy management of MEGs, and the combination of multiple time scales can make the energy management of MEGs more accurate and practical (Sharma et al., 2019). A two-stage optimal scheduling model is proposed in (Daneshvar et al., 2020) and (Liu et al., 2019) to improve the profits of commercial microgrids equipped with 100% RERs and determine the most economic operational mode of CCHP commercial building system integrated with a threeway valve, respectively. The above two-stage optimization scheduling method greatly improves the utilization of renewable energy, but these works are all open-loop control methods, and there is no feedback mechanism to correct the optimization control process. Model predictive control (MPC), as a modern control theory method, is used in many engineering practices, and the ideas of rolling optimization and feedback correction can better solve the uncertainty problem and have strong robustness (Solanki et al., 2017; e Silva et al., 2020). In Liu et al. (2020b), an optimization model for the management of an isolated microgrid is formulated via hybrid economic model predictive control using weather forecasts performed by a mesoscale meteorological model. Considering the operating characteristics of various devices in the MEG and demand response simultaneously, a multi-time scale MEG energy management model based on model predictive control is established in Hu et al. (2020). However, the above research based on the MPC method are mostly aimed at microgrids or relatively simple MEGs. The energy forms involved and the various links of energy generation, conversion, transmission, storage, and utilization in MEGs are not considered in enough detail. The contributions of this paper are summarized as follows: 1) A detailed analysis and modeling method is proposed in this paper for the abundant energy generation, conversion, and storage equipment based on the actual MEG system with eight kinds of energy integrated. 2) A two-stage optimal scheduling method based on model predictive control is proposed for the energy management of the actual MEG system to improve the optimization control accuracy. 2 SYSTEM MODEL 2.1 The Structure of MEG The system structure of the multi-energy integrated MEG is shown in Figure 1. The corresponding energy-generation devices are wind turbine (WT), PV, diesel generator (DG), solar collector system (SCS), and solid oxide fuel cell (SOFC) system. The energy storage equipment are the bedrock energy storage (BES) and electric energy storage (EES) systems (Figure 2). The energy conversion equipment are medium-/ high-temperature water tanks (MTWT/HTWT), electric heat pump (EHP), lithium bromide refrigerator (LBR), and magnetic levitation electric refrigeration (MLER) system, and the load demands contain electricity, heat, cold, and electric vehicles (EVs). 2.2 Equipment Model 2.2.1 Solid Oxide Fuel Cell System A SOFC is a kind of all-solid energy conversion device that directly converts chemical energy in fuel and oxidized gas into electrical energy, which has the structure of the general fuel cell. The input fuel is natural gas, and the output electrical and thermal power are given as follows: FIGURE 1 | Schematic diagram of the multi-energy integrated MEG. PSOFC - ηhVCH4FSOFC (1) HSOFC - �1 − ηh�ηkVCH4FSOFC (2) where PSOFC and HSOFC denote the output electrical and thermal power, ηh is the reversible thermodynamic efficiency of the fuel cell, which is the ratio of Gibbs free energy of per unit fuel to the contained thermal energy of the fuel, ηh is the residual energy thermal efficiency, and FSOFC are natural gas low calorific value and natural gas consumption, respectively. Owing to the existence of the voltage and fuel utilization losses in the reaction process of SOFC, the practical output electrical and thermal power can be updated as PSOFC - ηhηvηgVCH4FSOFC (3) HSOFC - �1 − ηhηvηg�ηkVCH4FSOFC (4) where ηv and ηg are the voltage and fuel utilization efficiency. 2.2.2 Solar Collector System An SCS is a kind of energy-conversion devices that converts the radiant energy of the sun into thermal energy. It uses the coating to focus sunlight scattered in parallel and collect heat. According to the law of conservation of energy, the effective energy obtained by the collector in each time slot equals the solar radiation energy absorbed by the collector minus the energy loss of the collector lost to the surrounding environment (Cheng et al., 2021): Qu - S − Ql (5) where S and Ql are related to factors such as the solar radiation, thermal collector parameters, and ambient temperature; therefore, the effective energy is calculated as Qu: Qu - ApI(τα)e − APUL�Tp − Ta� (6) 2.2.5 Energy Conversion Devices First, the thermal energy (hot water) of the SOFC and solar thermal collector can make the hot water temperature meet the requirements of the LBR through the HTWT, and then be where Ap and Tp are the area and average temperature of the STC’s absorption plate, I is the solar irradiance, UL is coefficient of total heat loss, and Ta is the ambient temperature. 2.2.3 Electric Energy Storage System The state of charge (SOC) of the EES system is denoted as - (7) <sup>t</sup> EES <sup>�(1 −</sup> <sup>σe)SOC</sup> EES <sup>t−1</sup> <u>ch</u> <sup>t</sup> EEES <u>ch</u> <sup><u>ηe</u></sup> <u>ch</u> <sup>t</sup> SOC <sup>t</sup> <u>ch</u> EES <sup>t−1</sup> <sup>+</sup> <sup>~~�~~</sup> <sup><u>Pt</u></sup> - <u>P</u> <sup>t</sup> <u>dis</u> <u>dis</u> η <sup>e</sup> dis <sup>E</sup> <sup>e</sup> dis <sup>EEES</sup> where σe is the self-discharge coefficient and P <sup>t</sup> <sup>t</sup> ch <sup>and ηe</sup> ch where σe is the self-discharge coefficient and P <sup>t</sup> ch <sup>and ηe</sup> ch <sup>are the</sup> charge power and efficiency, respectively. P <sup>t</sup> dis <sup>and</sup> <sup>ηe</sup> dis <sup>are</sup> <sup>the</sup> discharge power and efficiency and EEES is the capacity of the EES system. <sup>t</sup> dis <sup>and</sup> <sup>ηe</sup> 2.2.4 Bedrock Energy Storage System The BES system utilizes drilling holes in the underground bedrock to store heat in the bedrock and then release the heat when needed. There is little energy loss and high conversion efficiency. Similar to the update rule of SOC of the EES system, the SOC of the BES system is calculated as: <u>H</u> <sup>t</sup> <u>dis</u> η <sup>h</sup> dis <sup>Q</sup> ~~�~~ (8) <sup>t</sup> BES <sup>�(1 −</sup> <sup>σh)SOCt</sup> BES <sup>−1</sup> <u>ch</u> <sup>t</sup> QBES <u>ch</u> <sup><u>ηh</u></sup> <u>ch</u> <sup>t</sup> SOC <sup>t</sup> <sup>t</sup> BES <sup>−1</sup> <sup>+</sup> <sup>~~�~~</sup> <sup><u>Ht</u></sup> <sup>h</sup> dis <sup>QBES</sup> where σh is the self-discharge coefficient and H <sup>t</sup> <sup>t</sup> ch <sup>and ηh</sup> ch where σh is the self-discharge coefficient and H <sup>t</sup> ch <sup>and ηh</sup> ch <sup>are the</sup> charge power and efficiency, respectively. H <sup>t</sup> dis <sup>and</sup> <sup>ηh</sup> dis <sup>are</sup> <sup>the</sup> discharge power and efficiency, and QBES is the capacity of the BES system. <sup>t</sup> dis <sup>and</sup> <sup>ηh</sup> refrigerated to supply the cold loads of users. Second, the hot water that cannot be used for refrigeration enters the low temperature tank, and then outputs hot water with a specified temperature to meet the hot water loads of users. Third, if there is still remaining hot water, then it is stored in the BES system; if the hot water is deficient, then the hot water stored in the BES system is released to supply. The energy conversion devices can be represented by the following unified model: 2.3.1 Objective Function The objective function of DA optimization dispatch is minimizing the operation cost, which is formulated as follows: T min C � t�1 N i�1 t�1 T λiP <sup>t</sup> out,i <sup>+ �</sup> λiP <sup>t</sup> �C <sup>t</sup> EES <sup>+ Ct</sup> <sup>t</sup> BES <sup>+ Ct</sup> <sup>t</sup> DG <sup>+ Ct</sup> <sup>t</sup> grid <sup>+ Ct</sup> SOFC + CEV� <sup>t</sup> ch <sup>· ηe</sup> ch <sup>t</sup> ch <sup>· ηh</sup> ch <sup>e</sup> ch <sup>+ P</sup> dis <sup>t</sup> <sup>h</sup> ch <sup>+ H</sup> dis <sup>t</sup> dis <sup>t</sup> <sup>/ηe</sup> P <sup>t</sup> <sup>t</sup> out,i <sup>�</sup> <sup>η</sup> i <sup>· Pt</sup> in,i <sup>t</sup> (9) ⎪⎧⎪⎪⎪⎪⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎩ C <sup>t</sup> C <sup>t</sup> EES <sup>�</sup> <sup>KEES · �Pt</sup> ch <sup>· ηe</sup> ch <sup>+ P</sup> dis <sup>t</sup> <sup>/ηe</sup> dis <sup>�</sup> C <sup>t</sup> BES <sup>�</sup> <sup>KBES · �Ht</sup> ch <sup>· ηh</sup> ch <sup>+ H</sup> dis <sup>t</sup> <sup>/ηh</sup> dis C <sup>t</sup> BES <sup>�</sup> <sup>KBES · �Ht</sup> ch <sup>· ηh</sup> ch <sup>+ H</sup> dis <sup>t</sup> <sup>/ηh</sup> dis <sup>�</sup> C <sup>t</sup> DG <sup>�</sup> <sup>a · �P</sup> DG <sup>t</sup> <sup>�</sup> 2 + b · PtDG <sup>+ c</sup> dis <sup>t</sup> <sup>/ηh</sup> dis <sup>t</sup> EES <sup>�</sup> <sup>KEES · �Pt</sup> ch <sup>t</sup> BES <sup>�</sup> <sup>KBES · �Ht</sup> ch where P <sup>t</sup> <sup>t</sup> in,i <sup>and Pt</sup> <sup>t</sup> DG <sup>�</sup> <sup>a · �Pt</sup> where P <sup>t</sup> in,i <sup>and Pt</sup> out,i <sup>are the input and output power of the device</sup> i at time slot t, and ηi is the conversion efficiency of device i. C <sup>t</sup> DG <sup>�</sup> <sup>a · �P</sup> DG <sup>t</sup> <sup>�</sup> 2 + b · PtDG <sup>+ c</sup> C <sup>t</sup> grid <sup>�</sup> <sup>λ</sup> s <sup>t</sup> <sup>·</sup> <sup>max�P</sup> grid <sup>t</sup> <sup>, 0�</sup> <sup>+ λt</sup> b <sup>t</sup> grid <sup>�</sup> <sup>λ</sup> s <sup>t</sup> s <sup>t</sup> <sup>·</sup> <sup>max�Pt</sup> DG <sup>t</sup> <sup>�</sup> <sup>t</sup> b <sup>·</sup> <sup>min�Pt</sup> (13) (14) grid <sup>t</sup> <sup>, 0�</sup> <sup>+ λt</sup> b 2.2.6 Electric vehicle An EV is an important part of the MEG and plays an important role in system peak-load shifting, demand response, fossil energy consumption reduction, and climate change mitigation. Considering the interaction between EVs and the MEG, EVs are special mobile storage devices with different traveling habits and electricity demands; therefore, they have different tradingrelated parameters. For any EV, its parameters can be denoted as A �[T <sup>dep</sup> EV <sup>, T</sup> EV <sup>arr, SOCdep</sup> EV <sup>, SOC</sup> EV <sup>arr],</sup> <sup>Tdep</sup> EV <sup>and</sup> <sup>Tarr</sup> EV <sup>are</sup> <sup>the</sup> <sup>time</sup> <sup>of</sup> leaving and connecting to the MEG, SOC <sup>dep</sup> EV <sup>and SOCarr</sup> EV <sup>are the</sup> corresponding SOC, which can be obtained by the Monte Carlo method: trading electricity with the utility grid; P <sup>t</sup> grid <sup>> 0 denotes the MEG</sup> buys energy from utility grid; denotes the power output of DG at time slot t; λ <sup>t</sup> b <sup>and λt</sup> s <sup>are the electricity trading price; and ht is the</sup> C <sup>t</sup> grid <sup>�</sup> <sup>λ</sup> s <sup>t</sup> <sup>·</sup> <sup>max�P</sup> grid <sup>t</sup> <sup>, 0�</sup> <sup>+ λt</sup> b <sup>·</sup> <sup>min�P</sup> grid <sup>t</sup> <sup>, 0�</sup> C <sup>t</sup> SOFC <sup>�</sup> <sup>ht · FSOFC</sup> <sup>t</sup> SOFC <sup>�</sup> <sup>ht · FSOFC</sup> <sup>t</sup> b <sup>and λt</sup> s m C <sup>t</sup> EV <sup>�</sup> <sup>�</sup> C <sup>t</sup> KEV · �E <sup>t</sup> <sup>t</sup> ch,j <sup>· ηev</sup> ch <sup>ev</sup> ch <sup>+ Et</sup> dis,j <sup>t</sup> <sup>/ηev</sup> dis <sup>ev</sup> dis <sup>�</sup> j�1 EV <sup>arr, SOCdep</sup> EV EV <sup>arr],</sup> <sup>Tdep</sup> EV <sup>dep</sup> EV <sup>and SOCarr</sup> EV <sup>dep</sup> EV <sup>, T</sup> EV <sup>arr</sup> <sup>dep</sup> EV <sup>, SOC</sup> EV <sup>arr</sup> <sup>dep</sup> EV <sup>and</sup> <sup>Tarr</sup> EV where Eq. 14 is the cost models of the EES, BES, DG, SOFC systems; EVs; and trading energy with the utility grid, respectively. T is the optimization period; N is the number of energy conversion devices; λi is the maintenance cost of device i; KEES, KBES, KEV are unit price of charging/discharging of EES, BES system, and EV; a, b, c are cost coefficients of DG; P <sup>t</sup> grid <sup>is the</sup> trading electricity with the utility grid; P <sup>t</sup> grid <sup>> 0 denotes the MEG</sup> time slot t; λ <sup>t</sup> b <sup>and λt</sup> s <sup>are the electricity trading price; and ht is the</sup> unit price of natural gas. 2 �x − SOC <sup><u>arr</u></sup> EV <sup>�</sup> (10) 2σ <sup>2</sup> ⎞⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎠ SOC <sup>arr</sup> EV <sup>(x) �</sup> ~~√�~~ <u>1</u> ~~�~~ 2π <sup>arr</sup> EV <sup>(x) �</sup> ~~√�~~ <u>1</u> ~~�~~ 2π ⎜⎛⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎝ <sup>−</sup> σ <sup>exp</sup> 2.3.2 Constraints 1) System constraints - P <sup>t</sup> load <sup>−</sup> <sup>Pt</sup> <sup>t</sup> PV <sup>−</sup> <sup>Pt</sup> WT <sup>t</sup> (16) <sup>t</sup> grid <sup>≤</sup> <sup>P</sup> grid <sup>max</sup> grid <sup>max</sup> (15) −P <sup>max</sup> grid <sup>max</sup> grid <sup>≤</sup> <sup>Pt</sup> SOC <sup>dep</sup> EV <sup>(x) �</sup> ~~√�~~ <u>1</u> ~~�~~ 2π <sup>dep</sup> EV <sup>(x) �</sup> ~~√�~~ <u>1</u> ~~�~~ 2π ⎜⎛⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎝ <sup>t</sup> dis <sup>−</sup> <sup>Pt</sup> <sup>t</sup> ch <sup>+ Pt</sup> <sup>t</sup> grid <sup>+ Pt</sup> <sup>t</sup> DG <sup>−</sup> <sup>Pt</sup> <sup>t</sup> MLER <sup>−</sup> <sup>Pt</sup> EHP 2 �x − SOC <sup>dep</sup> EV <sup>�</sup> 2ς <sup>2</sup> ⎞⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟ ~~⎟⎟⎟⎟⎟⎟~~ <u>⎟⎟⎟⎟⎠</u> (11) P <sup>t</sup> <sup>t</sup> SOFC <sup>+ Pt</sup> ς <sup>exp</sup> <sup>t</sup> SOFC <sup>+ Ht</sup> <sup>t</sup> SCS <sup>+ Ht</sup> dis <sup>t</sup> dis <sup>−</sup> <sup>Ht</sup> ch <sup>t</sup> ch <sup>−</sup> <sup>Ht</sup> <sup>t</sup> LBR <sup>�</sup> <sup>Ht</sup> load <sup>t</sup> (17) Eqs 10, 11 indicate that the SOC at the departure and access time satisfies the normal distribution, and SOC <sup>des</sup> EV <sup>, SOCarr</sup> EV <sup>, σ</sup> <sup>and</sup> H <sup>t</sup> <sup>t</sup> EHP <sup>+ Ht</sup> <sup>t</sup> LBR <sup>�</sup> <sup>Ft</sup> load <sup>t</sup> (18) <sup>des</sup> EV <sup>, SOCarr</sup> EV time satisfies the normal distribution, and SOC <sup>des</sup> EV <sup>, SOCarr</sup> EV <sup>, σ</sup> <sup>and</sup> ς are corresponding mean and standard deviation. From the time the EV connects to the MEG to the time to leave, its SOC can be formulated as F <sup>t</sup> <sup>t</sup> MLER <sup>+ Ft</sup> <sup>t</sup> MLER <sup>and</sup> <sup>Pt</sup> where P <sup>max</sup> grid <u>E</u> <sup>t</sup> <u>dis</u> η <sup>ev</sup> dis <sup>E</sup> <sup>ev</sup> dis <sup>EEV</sup> <sup>t</sup> PV <sup>and Pt</sup> <sup>t</sup> EV <sup>�(1 −</sup> <sup>σ</sup> <sup>ev)SOCt</sup> EV <sup>−1</sup> <u>ch</u> <sup><u>ηev</u></sup> <u>ch</u> <sup>t</sup> EEV SOC <sup>t</sup> <sup>t</sup> EV <sup>−1</sup> <sup>+</sup> <sup>~~�~~</sup> <sup><u>Et</u></sup> where P <sup>max</sup> grid <sup>is</sup> <sup>the</sup> <sup>maximum</sup> <sup>power</sup> <sup>flow</sup> <sup>of</sup> <sup>the</sup> <sup>line</sup> <sup>between</sup> <sup>the</sup> MEG and utility grid. Eqs 16–18 are electric, thermal, and cold power balance constraints, respectively. P <sup>t</sup> MLER <sup>and</sup> <sup>Pt</sup> EHP <sup>are</sup> <sup>the</sup> input electric power of MIER and EHP; P <sup>t</sup> PV <sup>and Pt</sup> WT <sup>are the output</sup> power of the WT and PV system; H <sup>t</sup> EHP <sup>and Ht</sup> CSC <sup>are the output</sup> thermal power of EHP and SCS; H <sup>t</sup> LBR <sup>is the input thermal power of</sup> LBR; F <sup>t</sup> MLER <sup>and Ft</sup> LBR <sup>are the output cold power of MLER and LBR;</sup> and P <sup>t</sup> load <sup>,</sup> <sup>Ht</sup> load <sup>,</sup> <sup>and</sup> <sup>Ft</sup> load <sup>are</sup> <sup>electric,</sup> <sup>thermal,</sup> <sup>and</sup> <sup>cold</sup> <sup>loads.</sup> <sup>t</sup> EHP <sup>and Ht</sup> ~~�~~ (12) <sup>t</sup> load <sup>are</sup> <sup>electric,</sup> <sup>thermal,</sup> <sup>and</sup> <sup>cold</sup> <sup>loads.</sup> where σev is the self-discharge coefficient, and E <sup>t</sup> <sup>t</sup> ch <sup>and ηev</sup> ch where σev is the self-discharge coefficient, and E <sup>t</sup> ch <sup>and ηev</sup> ch <sup>are the</sup> charge power and efficiency, respectively. E <sup>t</sup> dis <sup>and</sup> <sup>ηev</sup> dis <sup>are</sup> <sup>the</sup> discharge power and efficiency, and EEV is the capacity of the EV. 2.3 Day-Ahead Optimization Scheduling DA optimization scheduling is an important part to ensure the safe and economic operation of the MEG, it makes decisions on the system operation with the consideration of DA predictions, economic operations, and several constraints. In this paper, the DA optimization schedule periods are 24 h. <sup>t</sup> MLER <sup>and Ft</sup> <sup>t</sup> load <sup>,</sup> <sup>Ht</sup> <sup>t</sup> load <sup>,</sup> <sup>and</sup> <sup>Ft</sup> <sup>t</sup> dis <sup>and</sup> <sup>ηev</sup> dis 2) Power output constraints ⎪⎧⎪⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎪⎪⎩ −Prd ≤ P <sup>t</sup> −Prd ≤ P <sup>t</sup> DG <sup>−</sup> <sup>Pt</sup> DG <sup>−1</sup> <sup>≤</sup> <sup>Pru</sup> 0 ≤ P <sup>t</sup> DG <sup>≤</sup> <sup>P</sup> DG <sup>max</sup> MLER 0 ≤ F <sup>t</sup> LBR <sup>≤</sup> <sup>F</sup> LBR <sup>max</sup> <sup>t</sup> DG <sup>−</sup> <sup>Pt</sup> DG <sup>−1</sup> DG 0 ≤ P <sup>t</sup> SOFC <sup>≤</sup> <sup>P</sup> SOFC <sup>max</sup> (19) SOFC 0 ≤ H <sup>t</sup> EHP <sup>≤</sup> <sup>H</sup> EHP <sup>max</sup> 0 ≤ F <sup>t</sup> MLER <sup>≤</sup> <sup>F</sup> MLER <sup>max</sup> LBR where Prd and Pru are the upper and lower limits of climbing power. P <sup>max</sup> DG <sup>, P</sup> SOFC <sup>max</sup> <sup>, Hmax</sup> EHP <sup>, Fmax</sup> MLER <sup>, Fmax</sup> LBR <sup>are the maximum output</sup> power of DG, SOFC, EHP, MLER, LBR. <sup>max</sup> DG <sup>, P</sup> SOFC <sup>max</sup> SOFC <sup>max</sup> <sup>, Hmax</sup> EHP <sup>max</sup> EHP <sup>, Fmax</sup> MLER <sup>max</sup> MLER <sup>, Fmax</sup> LBR 3) Constraints of EES <sup>t</sup> ch <sup>≤</sup> <sup>Pmax</sup> ch ⎪⎧⎪⎪⎨ ⎪⎪⎪⎩ n <sup>t</sup> n <sup>t</sup> ch <sup>+ nt</sup> dis <sup>≤</sup> <sup>1</sup> P <sup>min</sup> ch <sup>· nt</sup> ch <sup>≤</sup> <sup>P</sup> dis SOC <sup>min</sup> EES <sup>≤</sup> <sup>SOCt</sup> EES <sup>≤</sup> <sup>SOC</sup> EES <sup>max</sup> n <sup>t</sup> ch <sup>+ nt</sup> dis <sup>min</sup> EES <sup>≤</sup> <sup>SOCt</sup> <sup>min</sup> ch <sup>· nt</sup> <sup>min</sup> dis <sup>· nt</sup> <sup>t</sup> ch <sup>≤</sup> <sup>Pt</sup> ch <sup>t</sup> dis <sup>≤</sup> <sup>Pt</sup> dis <sup>t</sup> dis <sup>≤</sup> <sup>Pmax</sup> dis,t <sup>t</sup> EES <sup>≤</sup> <sup>SOC</sup> EES <sup>max</sup> <sup>max</sup> ch <sup>· nt</sup> ch P <sup>min</sup> dis <sup>· nt</sup> dis <sup>≤</sup> <sup>Pt</sup> dis <sup>≤</sup> <sup>Pmax</sup> dis,t <sup>· nt</sup> (20) <sup>max</sup> dis,t <sup>· n</sup> dis <sup>t</sup> EES Eq. 20 is the operation constraints of EES, including the charging and discharging state constraint, charging and discharging power constraint, and SOC constraint. n <sup>t</sup> ch <sup>and</sup> n <sup>t</sup> dis <sup>are</sup> <sup>binary</sup> <sup>variables</sup> <sup>denoting</sup> <sup>the</sup> <sup>charging</sup> <sup>or</sup> <sup>discharging</sup> state; n <sup>t</sup> ch <sup>�</sup> <sup>1 denotes the EES is charging; Pmin</sup> ch <sup>, Pmax</sup> ch <sup>, P</sup> dis <sup>min, and</sup> P <sup>min</sup> dis <sup>are the minimum and maximum charging and discharging</sup> power of EES, SOC <sup>min</sup> EES <sup>,</sup> <sup>and</sup> <sup>SOCmax</sup> EES <sup>are</sup> <sup>the</sup> <sup>upper</sup> <sup>and</sup> <sup>lower</sup> limits of SOC. <sup>t</sup> ch <sup>�</sup> <sup>1 denotes the EES is charging; Pmin</sup> ch <sup>,</sup> <sup>min</sup> ch <sup>, Pmax</sup> ch <sup>max</sup> ch <sup>, P</sup> dis <sup>min</sup> <sup>min</sup> EES <sup>,</sup> <sup>and</sup> <sup>SOCmax</sup> EES 4) Constraints of BES <sup>t</sup> BES <sup>≤</sup> <sup>SOC</sup> BES <sup>max</sup> <sup>t</sup> dis <sup>≤</sup> <sup>Hmax</sup> dis,t <sup>t</sup> ch <sup>≤</sup> <sup>Hmax</sup> ch ⎪⎧⎪⎪⎨ ⎪⎪⎪⎩ m <sup>t</sup> m <sup>t</sup> ch <sup>+ mt</sup> dis <sup>≤</sup> <sup>1</sup> H <sup>min</sup> ch <sup>· mt</sup> ch <sup>≤</sup> <sup>H</sup> ch H <sup>min</sup> dis <sup>· mt</sup> dis <sup>≤</sup> <sup>Ht</sup> dis <sup>≤</sup> <sup>Hmax</sup> dis,t <sup>· m</sup> dis <sup>t</sup> SOC <sup>min</sup> BES <sup>≤</sup> <sup>SOCt</sup> BES <sup>≤</sup> <sup>SOC</sup> BES <sup>max</sup> <sup>t</sup> ch <sup>+ mt</sup> dis <sup>min</sup> ch <sup>· mt</sup> ch <sup>min</sup> dis <sup>· mt</sup> <sup>min</sup> BES <sup>≤</sup> <sup>SOCt</sup> <sup>t</sup> ch <sup>≤</sup> <sup>Ht</sup> ch <sup>t</sup> dis <sup>≤</sup> <sup>Ht</sup> <sup>max</sup> ch <sup>· m</sup> ch <sup>t</sup> <sup>max</sup> dis,t <sup>· m</sup> dis <sup>t</sup> (21) BES Eq. 21 is the operation constraints of BES, including the charging and discharging state constraint, charging and discharging power constraint, and BES capacity constraint. 5) Constraints of EES <sup>t</sup> ch <sup>≤</sup> <sup>Emax</sup> ch ⎪⎧⎪⎪⎨ ⎪⎪⎪⎩ δ <sup>t</sup> δ <sup>t</sup> ch <sup>+ δt</sup> dis <sup>≤</sup> <sup>1</sup> E <sup>min</sup> ch <sup>· δ</sup> ch <sup>t</sup> <sup>≤</sup> <sup>E</sup> dis SOC <sup>min</sup> EV <sup>≤</sup> <sup>SOCt</sup> EV <sup>≤</sup> <sup>SOC</sup> EV <sup>max</sup> δ <sup>t</sup> ch <sup>+ δt</sup> dis <sup>min</sup> EV <sup>≤</sup> <sup>SOCt</sup> <sup>min</sup> ch <sup>· δt</sup> <sup>min</sup> dis <sup>· δt</sup> <sup>t</sup> dis <sup>≤</sup> <sup>Emax</sup> dis,t <sup>t</sup> EV <sup>≤</sup> <sup>SOC</sup> EV <sup>max</sup> ch <sup>t</sup> <sup>≤</sup> <sup>Et</sup> ch <sup>t</sup> dis <sup>≤</sup> <sup>Et</sup> dis <sup>max</sup> ch <sup>· δt</sup> ch E <sup>min</sup> dis <sup>· δt</sup> dis <sup>≤</sup> <sup>Et</sup> dis <sup>≤</sup> <sup>Emax</sup> dis,t <sup>· δt</sup> Eq. 22 is the operation constraints of EV, including the charging and discharging state constraint, charging and discharging power constraint, and EV capacity constraint. Eq. 23 is the state transmission constraint, δ <sup>t</sup> ctd <sup>is the binary variable</sup> denoting the state of EV from charging transformed into discharging, and δ <sup>t</sup> dtc <sup>is</sup> <sup>the</sup> <sup>binary</sup> <sup>variable</sup> <sup>denoting</sup> <sup>the</sup> <sup>state</sup> of EV from discharging transformed into charging. Eq. 24 indicates that the transition state in the current period is related to the transition state in the adjacent period, tc and td are the time periods with the EV connected to and off the MEG, and NEV is maximum charging or discharging times when the EV is connected to the MEG. 3 REAL-TIME OPTIMIZATION SCHEDULING Owing to the uncertainty and fluctuations of renewable energy output and cold/heat/electricity loads, RT prediction is more accurate than DA prediction. DA scheduling has errors and cannot perfectly match the RT system state, so RT rescheduling is required on the basis of DA scheduling. MPC can update the scheduling decisions in a real-time horizon according to the latest status of the micro energy network. The time step is 15 min. MPC is a kind of model-based finite-time domain, closed-loop optimal control method with consideration of future time steps, which includes three parts: predictive model, rolling optimization, and feedback correction. The essential thing is predicting the system input at each time step and obtaining the output according to the historical information and the prediction model. The output of the first time step in the period is taken as the scheduling result of the time step, the results of the remaining time steps are ignored, and the operation is repeated when the next time step comes, and the RT optimization scheduling result is finally obtained. Schematic diagram of MPC is shown in Figure 2. 3.1 Prediction Model The function of the prediction model is to minimize the objective function and to obtain the dispatch results (22) <sup>max</sup> dis,t <sup>· δ</sup> dis <sup>t</sup> EV δ <sup>t</sup> <sup>t</sup> ctd <sup>+ δt</sup> dtc <sup>t</sup> dtc <sup>≤</sup> <sup>1</sup> (23) δ <sup>t</sup> <sup>t</sup> ctd <sup>−</sup> <sup>δt</sup> <sup>t</sup> dtc <sup>�</sup> <sup>δt</sup> dis <sup>+1</sup> <sup>δt</sup> dis <sup>+1</sup> <sup>−</sup> <sup>δt</sup> dis <sup>t</sup> (24) td−1 t�tc �δ <sup>t</sup> ctd <sup>+ δ</sup> dtc <sup>t</sup> dtc <sup>t</sup> <sup>�</sup> <sup>≤</sup> <sup>NEV</sup> (25) FIGURE 2 | Schematic diagram of MPC. FIGURE 3 | Flow chart of RT optimal scheduling. TABLE 1 | Cost parameters of MEG system. Parameters Value Parameters Value λLBR 0.048 ¥ /kWh KEV 0.32 ¥ /kWh λMIER 0.42 ¥ /kWh a 0.00012 ¥ /kWh <sup>2</sup> λEHP 0.08 ¥ /kWh b 0.255 ¥ /kWh KEES 0.32 ¥ /kWh c 10 ¥ KBES 0.06 ¥ /kWh h 2.7 ¥ /m <sup>3</sup> TABLE 2 | Technical parameters of MEG system. Parameters Value Parameters Value ηh 0.83 EEES 1500kW ηv 0.9 QBES 2000kW ηg 0.8 EEV 18kW ηk 0.6 SOC <sup>min</sup> EES,BES,EV 0.15 VCH4 10kWh/m <sup>3</sup> SOC <sup>max</sup> EES, VCH4 10kWh/m <sup>3</sup> SOC <sup>max</sup> EES,BES,EV 0.95 ηMIER 5.3 η <sup>e</sup> ch <sup>,h</sup>,dis 0.95 <sup>e</sup> ch <sup>,h</sup>,dis 0.95 ηLBR 1.3 η <sup>ev</sup> ch ηLBR 1.3 η <sup>ev</sup> ch,dis 0.99 ηEHP 0.8 Pch <sup>max</sup>,dis 600kW Pgrid <sup>max</sup> 2800kW H <sup>max</sup> ch,dis 100kW grid <sup>max</sup> 2800kW H <sup>max</sup> ch, DG <sup>max</sup> 200kW Ech <sup>max</sup>, <sup>max</sup> ch,dis 100kW FIGURE 4 | Net electric load and electricity price. DA schedule results. The first part is to minimize the deviation between the RT output of the controllable device and the energy storage output relative to the DA optimization reference value. The second part is to minimize the sum of the RT power output adjustment values of the controllable devices and energy storage system between adjacent time steps. PDG <sup>max</sup> PDG <sup>max</sup> 200kW Ech <sup>max</sup>,dis 3.3kW PSOFC <sup>max</sup> 60kW 0 PSOFC <sup>max</sup> 60kW 0 H <sup>max</sup> EHP 500kW 0 FMIER <sup>max</sup> 3517kW 0 MIER <sup>max</sup> 3517kW 0 200kW 100kW Ns s�1 rq,s <sup>t+τ</sup> <sup>�</sup> ��P <sup>t</sup> now,s <sup>+τ</sup> <sup>−</sup> <sup>P</sup> rq,s <sup>t+τ</sup> rq,s <sup>t+τ</sup> <sup>�</sup> TWerr�Pnow,st+τ now,st+τ <sup>−</sup> <sup>P</sup> rq,s <sup>t+τ</sup> according to the DA planning, the output of renewable energy and prediction of loads in the future time step. DA optimization scheduling ensures the operation economy of the micro energy system and plays a guiding role for the RT dispatch. The objective function of RT optimization scheduling is divided into two parts to ensure that the scheduling results track the Ts min � τ�0 + �Δu <sup>t</sup> now,s <sup>+τ</sup> <sup>�</sup> TWuΔutnow,s+τ <sup>�</sup> (26) where t is the current time slot, Ns is the number of controllable devices, Werr and Wu are the coefficient matrix, is the RT dispatch decisions of controllable devices, which contains power output of each device and SOC of each storage device. Prq,s <sup>t+τ</sup> is the reference value of the DA scheduling plan, and △unow,s <sup>t+τ</sup> <sup>is</sup> the increment of the controllable device output compared with the previous time slot. 3.2 Rolling Optimization Rolling optimization and feedback correction make MPC different from traditional optimization methods. The optimization process is repeated at each time slot, and the optimization time horizons keep moving forward to form rolling optimization. This requires a forecast of renewable energy output and cold/heat/electricity loads at each time step; therefore, the optimization process of MPC is different from the traditional optimization method, it is a repeating online rolling optimization process. Rolling optimization of limited time horizons may not be able to get the global optimal results, but it can constantly consider the impact of uncertainty and make timely correction, which is more adaptable to the actual process and has stronger robustness compared with the one-time optimization only based on the model. 3.3 Feedback Correction After the MPC obtains the dispatch results within a time slot through the prediction information of the current time step, to prevent the dispatch results from deviating from the ideal state due to the uncertain interference, it only adopts the scheduling results of the current time step. At the next time step, the RT prediction information of the current time step is used to modify the model-based prediction, and then the previous step is repeated for a new round of optimization. At the RT scale, the uncertainty of the output of renewable energy and cold/heat/ electric loads lead to the prediction error between the actual power output and the RT prediction value. To express this prediction error, normal distribution is superimposed on the DA prediction to simulate the practical scenario: FIGURE 5 | Heat load and output of solar collector system. The electricity price, electric load, and the output of WT, PV are shown in Figure 4. The heat load and the output of SCS are shown in Figure 5. The cold load is shown in Figure 6. The power of the charging pile in the MEG is 50 kW, which can accommodate 15 EVs charging or discharging at the same time. The time periods for EVs accessing to or leaving the MEG are 12:00–24:00, and the SOC of EVs are shown in Figure 7. It can be seen from Figures 4–7 that the MEG system is characterized by a large cold load and small electric and heat loads. 4.2 Day-Ahead and Real-Time Optimization Results The DA optimization period is 24 h, and the time step is 1 h. The RT optimization period is 1 h, and the time step is 15 min. The RT optimization predicts the renewable energy output and cold, heat, FIGURE 6 | Cold load. Ynow - Yrq + ~~√�~~ <u>1</u> ~~�~~ 2π (27) ζ <sup>exp�</sup> <sup>−</sup> 2 <sup><u>x</u></sup> ζ <sup>22�</sup> where Ynow and Yrq are the prediction value of the DA and RT horizons, and ζ is the standard deviation, which is set according to the value of the DA prediction. The optimization in MPC is not only based on the model, but also utilizes the feedback information, thus forming a closed-loop optimization process, which is shown in Figure 3. Through the MPC method, the RT operation of MEG follows the DA plan as much as possible and smoothly controls the increase and decrease of output of each equipment caused by uncertainty. 4 CASE STUDY 4.1 Basic Data In this paper, a demonstration MEG system in Nansha, Guangzhou is taken as an example to analyze the feasibility of the proposed method. The cost and technical parameters of MEG system are listed in Tables 1, 2, respectively (Dong et al., 2016; Zhou et al., 2018; Cheng et al., 2021). FIGURE 7 | SOC of EVs. and electric loads in the next hour every 15 min; the normal distribution is superimposed on the DA prediction data, and the standard deviation is set as 2%. Through rolling optimization and feedback correction, the RT optimization results are obtained. The cold loads of MEG are very large, which are satisfied by LBR and MLER. Due to the small capacity of LBR, MLER undertakes most of the cold load satisfaction tasks, which requires obtaining electric energy from the utility grid, EES, SOFC, etc. According to Figure 8, LBR has power output in periods 1:00–8:00 and 19:00–24:00, and the power output in other periods is almost zero. Because the cold loads exceed 3,000 kW in these two periods, which is almost the upper limit of the output of MLER, it is necessary to increase the output of LBR. As LBR needs heat for refrigeration, BES and EHP are the main heating equipment. The low electricity price during period 1:00–8:00 guides EHP to release heat to meet the heat FIGURE 8 | DA and RT cold power output optimization result. demands of LBR,at the same time, and the high cold load guides the BES to release heat to meet the heat demands of LBR, which are shown in Figure 9. Because a large amount of electric energy needs to be purchased from the utility grid to convert into cold energy, SOFC and DG are working all the time. According to Figure 10, period 20:00–22:00 is the period with the highest electricity price, which guides EVs and EES to discharge in this period and charge when the electricity prices are low. The dispatching scheme reflects the guiding effect of electricity price and load on equipment’s power output. According to Figures 8–10, the DA and RT scheduling trends are consistent, and electric, heat, and cold output follow the DA scheduling results. 4.3 Real-Time and Ideal Optimization Results After 96 time slots of rolling prediction and optimization, the final input sequence, which includes renewable energy output and cold, heat, and electric loads are obtained. In this paper, the ideal optimization scheme is introduced to compare with the proposed scheme, which is taking this final sequence as the input and the economic optimization as the goal. Because the RT prediction and optimization results are continuously updated, the 24-h renewable energy output and cold, heat, and electric loads can be obtained only after RT optimization is completed, which leads to the ideal optimization scheme only being used as a reference for verifying the method in this paper. Taking the electric power output as an example, the dispatching results of DA, RT, and ideal situations are compared. From Figures 10A, 11, it can be obtained that, in the DA, RT, and ideal conditions, the electricity output has the same trend in the total periods, and the RT dispatching results are smoother than the ideal results. There are large fluctuations in the periods 7:00–8:00 and 17:00–19:00 in the ideal situation, but almost none in the RT electric power output, which FIGURE 9 | DA and RT heating output optimization result. indicates that the MPC RT rolling optimization tries to make the changes of adjacent output more stable while follow the DA optimization schedule. The advantage of MPC is sacrificing the economy of some periods to achieve the stability and economy of the whole periods. Table 3 compares the total costs of the two cases. The cost of the ideal situation is close to the DA cost, which shows the rationality of the RT rolling prediction and scheduling results in this paper. 4.4 Robustness Analysis The influence of uncertainty on the system and the advantages of MPC in dealing with RT uncertainty are studied. The RT optimization results corresponding to standard deviation of 5 and 10% are compared in Figure 12. Figure 12 shows that most of the scheduling results with 2% uncertainty in the figure are covered, indicating the volatility FIGURE 10 | DA and RT electric power output optimization result. of RT scheduling results increases with the increase of uncertainty, which is in line with the actual situation. However, even if the uncertainty reaches 10%, the scheduling results continue to follow the plan of DA, which shows that the simple feedback correction in MPC improves robustness and has good dynamic control effect for the uncertainty in MEG. 4.5 Deviation and Smoothness Indices To statistically compare sensitivity under three different uncertainty scenarios, the deviation and smoothness indices are introduced, and the analysis is performed from both the vertical and horizontal perspectives. The deviation index is defined by Eq. 28. The low deviation and smoothness index values represent the good performance of the optimization results. TABLE 3 | DA cost and ideal situation cost. Comparison items Total cost/¥ DA plan 34,601 Ideal situations 35,107.5 TABLE 4 | Deviation index and smoothness index. Comparison items Deviation e (%) Smoothness r DA plan 5.4866 Ideal situation 3.47 14.6281 RT 2% uncertainty 0.40 12.2670 RT 5% uncertainty 0.57 17.2264 RT 10% uncertainty 0.81 24.3286 ����/(T − 1) (29) T−1 t�1 Ns r � s�1 Ns s.t cs - 1 ����Pts+1 - P <sup>t</sup> s FIGURE 11 | Comparison of ideal and RT electric output. FIGURE 12 | Comparison diagram of electrical output under different uncertainties. ⎪⎧⎪⎪⎨ ⎪⎪⎪⎩ cs s�1 where cs is the coefficient. Ps <sup>t+1</sup> s <sup>t+1</sup> and P <sup>t</sup> s ⎪⎧⎪⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎪⎪⎩ <u>rq,s</u> P <sup>t</sup> rq,s βs - 1 (28) Ns e � s�1 rq,s Ns ⎞⎠/T s.t � s�1 where cs is the coefficient. Ps <sup>t+1</sup> and P <sup>t</sup> s represent the power output of device s at the time t + 1 and t, and the value of βs and cs are set according to the magnitude of each device. Comparing the deviation and smoothness under three RT uncertainties, the results are shown in Table 4. According to Table 4, the deviation increases with the uncertainty, and it has a much smaller increment than the uncertainty. The deviation of the ideal case is large, which indicates that the ideal scheduling is optimized based on the RT prediction with the goal of economy rather than obeying the DA plan. RT scheduling with uncertainty obeys the DA plan; thus, the deviation is smaller. As the uncertainty increases, the value of smoothness index increases, the smoothness index of the ideal situation is between the smoothness of 2 and 5% uncertainty. 5 CONCLUSION In this paper, the power generation/conversion/storage equipment in the multi-energy integrated MEG is modeled in detail, which enriches the equipment types of the MEG, enables synergetic management and control of a large number of distributed resources, and enables coordination of multi-energy, such as cold, heat, electricity, and gas. Based on MPC method, the MEG is optimized from DA and realtime time scales. The real-time results track the DA plan to ensure economy and significantly reduce the impact of renewable energy and load uncertainty. By comparing the real-time scheduling results under different uncertainties, it is illustrated that the model has good robustness. Even when there is 10% uncertainty, the real-time scheduling still closely follows the DA plan, and the fluctuation of the βs �� � T t�1 <u>⎝</u> <sup>Pt</sup> 2 <sup>~~⎛~~</sup> <u>now,s</u> <sup>t</sup> <sup>−</sup> <sup>Pt</sup> where βs is the weighting factor. P <sup>t</sup> now,s <sup>t</sup> <sup>and Pt</sup> where βs is the weighting factor. Pnow,s <sup>t</sup> <sup>and Pt</sup> rq,s <sup>indicate the RT</sup> power output and DA power output of device s at time t. Under the same time scale and uncertainty, the average absolute error of adjacent results is calculated, and its smoothness is expressed by Eq. 29. devices’ power output is far less than the increase of uncertainty. Furthermore, the results show that the rolling optimization and feedback correction mechanism of MPC can fully consider the uncertainty of real-time prediction results, effectively correct the deviation caused by real-time fluctuations, and guarantee the economy and security of the operation of MEG. DATA AVAILABILITY STATEMENT The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding authors. REFERENCES Alipour, M., Zare, K., and Abapour, M. (2018). MINLP Probabilistic Scheduling Model for Demand Response Programs Integrated Energy Hubs. IEEE Trans. Ind. Inf. 14 (1), 79–88. [doi:10.1109/tii.2017.2730440](https://doi.org/10.1109/tii.2017.2730440) Cheng, Y., Liu, M., Liu, Z., and Zhan, C. (2021). Operation Analysis and Optimization of Small Solar Absorption Refrigeration System Driven by Flat Plate Collector. Renew. Energ. Resour. 39 (8), 1023–1029. [doi:10.13941/](https://doi.org/10.13941/j.cnki.21-1469/tk.2021.08.006) [j.cnki.21-1469/tk.2021.08.006](https://doi.org/10.13941/j.cnki.21-1469/tk.2021.08.006) Daneshvar, M., Mohammadi-Ivatloo, B., Zare, K., and Asadi, S. (2020). Two-Stage Robust Stochastic Model Scheduling for Transactive Energy Based Renewable Microgrids. IEEE Trans. Ind. Inf. 16 (11), 6857–6867. [doi:10.1109/](https://doi.org/10.1109/tii.2020.2973740) [tii.2020.2973740](https://doi.org/10.1109/tii.2020.2973740) Dong, L., Chen, H., Pu, T., Chen, N., and Wang, X. (2016). Multi-Time Scale Dynamic Optimal Dispatch in Active Distribution Network Based on Model Predictive Control. Proc. CESS 36 (17), 4609–4617. [doi:10.13334/j.0258-](https://doi.org/10.13334/j.0258-8013.pcsee.151262) [8013.pcsee.151262](https://doi.org/10.13334/j.0258-8013.pcsee.151262) e Silva, D. P., Félix Salles, J. L., Fardin, J. F., and Rocha Pereirac, M. M. (2020). Management of an Island and Grid-Connected Microgrid Using Hybrid Economic Model Predictive Control with Weather Data. Appl. Energ. 278, 115581. [doi:10.1016/j.apenergy.2020.115581](https://doi.org/10.1016/j.apenergy.2020.115581) He, C., Wu, L., Liu, T., and Bie, Z. (2018). Robust Co-Optimization Planning of Interdependent Electricity and Natural Gas Systems with a Joint N-1 and Probabilistic Reliability Criterion. IEEE Trans. Power Syst. 33 (2), 2140–2154. [doi:10.1109/tpwrs.2017.2727859](https://doi.org/10.1109/tpwrs.2017.2727859) Hu, J., Shan, Y., Guerrero, J. M., Ioinovici, A., and Chan, K. W. (2020). Model Predictive Control of Microgrids - An Overview. Renew. Sustain. Energ. Rev. 136, 1–12. [doi:10.1016/j.rser.2020.110422](https://doi.org/10.1016/j.rser.2020.110422) Li, Z., Li, Y., Liu, Y., Wang, P., Lu, R., and Gooi, H. B. (2021). Deep Learning Based Densely Connected Network for Load Forecasting. IEEE Trans. Power Syst. 36 (4), 2829–2840. [doi:10.1109/tpwrs.2020.3048359](https://doi.org/10.1109/tpwrs.2020.3048359) Liu, C., Wang, D., and Yin, Y. (2019). Two-Stage Optimal Economic Scheduling for Commercial Building Multi-Energy System Through Internet of Things. IEEE Access 7, 174562–174572. [doi:10.1109/access.2019.2957267](https://doi.org/10.1109/access.2019.2957267) Liu, D., Wu, J., Liu, H., Song, P., and Wang, K. (2020). “Multi-Time Scale Energy Management Strategy of Micro Energy Grid Based on Model Predictive Control,” in Proceeding of the 2020 IEEE Sustainable Power and Energy Conference (iSPEC), Chengdu, China, 23-25 Nov. 2020, 1511–1516. [doi:10.1109/ispec50848.2020.9351153](https://doi.org/10.1109/ispec50848.2020.9351153) Liu, N., Cheng, M., Yu, X., Zhong, J., and Lei, J. (2018). Energy-Sharing Provider for PV Prosumer Clusters: A Hybrid Approach Using Stochastic Programming and Stackelberg Game. IEEE Trans. Ind. Electron. 65 (8), 6740–6750. [doi:10.1109/](https://doi.org/10.1109/tie.2018.2793181) [tie.2018.2793181](https://doi.org/10.1109/tie.2018.2793181) Liu, N., He, L., Yu, X., and Ma, L. (2018). Multiparty Energy Management for Grid Connected Microgrids with Heat- and Electricity-Coupled Demand Response. IEEE Trans. Ind. Inf. 14 (5), 1887–1897. [doi:10.1109/tii.2017.2757443](https://doi.org/10.1109/tii.2017.2757443) AUTHOR CONTRIBUTIONS XH, BY, and WX contributed to conception and design of the study. FY organized the database. JP performed the statistical analysis. XH and WX wrote the first draft of the manuscript. XH, BY, QX, and WX wrote sections of the manuscript. All authors contributed to manuscript revision, read, and approved the submitted version. FUNDING This work was supported by technology project of Guangzhou Power Supply Bureau of Guangdong 9 Power Grid Co., Ltd. (GZHKJXM20180152). The funder provided the research object, data source and financial support of the article. Liu, N., Tan, L., Zhou, L., and Chen, Q. (2020). Multi-party Energy Management of Energy Hub: A Hybrid Approach with Stackelberg Game and Blockchain. J. Mod. Power Syst. Clean Energ. 8 (5), 919–928. [doi:10.35833/](https://doi.org/10.35833/mpce.2019.000545) [mpce.2019.000545](https://doi.org/10.35833/mpce.2019.000545) Mei, S., Li, R., Xue, X., Chen, Y., Lu, Q., Chen, X., et al. (2017). Paving the Way to Smart Micro Energy Grid: Concepts, Design Principles, and Engineering Practices. Csee Jpes 3 (4), 440–449. [doi:10.17775/](https://doi.org/10.17775/cseejpes.2016.01930) [cseejpes.2016.01930](https://doi.org/10.17775/cseejpes.2016.01930) Neyestani, N., Yazdani-Damavandi, M., Shafie-khah, M., Chicco, G., and Catalão, J. P. S. (2015). Stochastic Modeling of Multienergy Carriers Dependencies in Smart Local Networks with Distributed Energy Resources. IEEE Trans. Smart Grid 6 (4), 1748–1762. [doi:10.1109/](https://doi.org/10.1109/tsg.2015.2423552) [tsg.2015.2423552](https://doi.org/10.1109/tsg.2015.2423552) Pazouki, S., and Haghifam, M.-R. (2016). Optimal Planning and Scheduling of Energy Hub in Presence of Wind, Storage and Demand Response under Uncertainty. Int. J. Electr. Power Energ. Syst. 80, 219–239. [doi:10.1016/](https://doi.org/10.1016/j.ijepes.2016.01.044) [j.ijepes.2016.01.044](https://doi.org/10.1016/j.ijepes.2016.01.044) Sharma, S., Xu, Y., Verma, A., and Panigrahi, B. K. (2019). Time-Coordinated Multienergy Management of Smart Buildings Under Uncertainties. IEEE Trans. Ind. Inf. 15 (8), 4788–4798. [doi:10.1109/tii.2019.2901120](https://doi.org/10.1109/tii.2019.2901120) Solanki, B. V., Raghurajan, A., Bhattacharya, K., and Cañizares, C. A. (2017). Including Smart Loads for Optimal Demand Response in Integrated Energy Management Systems for Isolated Microgrids. IEEE Trans. Smart Grid 8 (4), 1739–1748. [doi:10.1109/tsg.2015.2506152](https://doi.org/10.1109/tsg.2015.2506152) Thirugnanam, K., Kerk, S. K., Yuen, C., Liu, N., and Zhang, M. (2018). Energy Management for Renewable Microgrid in Reducing Diesel Generators Usage with Multiple Types of Battery. IEEE Trans. Ind. Electron. 65 (8), 6772–6786. [doi:10.1109/tie.2018.2795585](https://doi.org/10.1109/tie.2018.2795585) Xu, D., Zhou, B., Liu, N., Wu, Q., Voropai, N., Li, C., et al. (2021). Peer-to-Peer Multienergy and Communication Resource Trading for Interconnected Microgrids. IEEE Trans. Ind. Inf. 17 (4), 2522–2533. [doi:10.1109/](https://doi.org/10.1109/tii.2020.3000906) [tii.2020.3000906](https://doi.org/10.1109/tii.2020.3000906) Zhou, B., Zou, J., Yung Chung, C., Wang, H., Liu, N., Voropai, N., et al. (2021). Multi-Microgrid Energy Management Systems: Architecture, Communication, and Scheduling Strategies. J. Mod. Power Syst. Clean Energ. 9 (3), 463–476. [doi:10.35833/mpce.2019.000237](https://doi.org/10.35833/mpce.2019.000237) Zhou, L., Liu, N., Guo, B., and Dong, D. (2018). Optimized Energy Management Method of Multi-Operating Mode for Integrated Energy System in Commercial Area. South. Power Syst. Technol. 12 (3), 91–97. [doi:10.13648/j.cnki.issn1674-](https://doi.org/10.13648/j.cnki.issn1674-0629.2018.03.013) [0629.2018.03.013](https://doi.org/10.13648/j.cnki.issn1674-0629.2018.03.013) Zugno, M., Morales, J. M., and Madsen, H. (2016). Commitment and Dispatch of Heat and Power Units via Affinely Adjustable Robust Optimization. Comput. Operations Res. 75 (8), 191–201. [doi:10.1016/j.cor.2016.06.002](https://doi.org/10.1016/j.cor.2016.06.002) Conflict of Interest: Authors XH, BY, FY, JP, and QX are employed by Guangzhou Power Supply Bureau, Guangdong Power Grid Co., Ltd., Guangzhou, China. The authors also declare that this study received funding from Guangzhou Power Supply Bureau of Guangdong 9 Power Grid Co., Ltd. The funder provided the research object, data source and financial support of the article. Publisher’s Note: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher. Copyright © 2021 Huang, Yang, Yu, Pan, Xu and Xu. This is an open-access article [distributed under the terms of the Creative Commons Attribution License (CC BY).](https://creativecommons.org/licenses/by/4.0/) The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

섹션 본문 60문단 · 28,645자

(제목 없음)

1In order to reduce the impacts caused by large-scale renewable energy resources accessing the utility grid, the micro-energy grid system, as a natural extension of the microgrid in the energy internet era, is proposed and developed to provide a new solution for the optimal utilization of renewable energy resources. In this paper, a multi-energy integrated micro-energy system is proposed which contains wind, PV, bedrock energy storage, magnetic levitation electric refrigeration, solid oxide fuel cell, solar thermal collector, energy storage, and V2G technologies, and detailed models of the energy generation/conversion/storage devices are formulated. Besides this, the uncertainties of renewable energy resources and cold/heat/electricity loads are considered, and the optimal dispatch problem of the micro-energy system is established from day-ahead and real-time time scales based on a model predictive control method. The day-ahead optimal scheduling aims at economic optimization and guides real-time scheduling, and real-time scheduling utilizes rolling optimization and a feedback correction mechanism to effectively correct the deviation of renewable energy generations and loads at a real-time horizon, which improves the optimization control accuracy, follows the day-ahead dispatch plan, and ensures the economics of real-time scheduling at the same time.

INTRODUCTION

2In the context of the carbon peak and carbon neutrality goal, vigorously developing clean energy and renewable energy and reducing the proportion of fossil energy is the only way to eradicate smog and reduce greenhouse gas emissions. The randomness and volatility of new energy represented by wind and solar energy are strong, and this determines the uncertainty of its power generation. The access of large-scale new energy sources to the power grid will have a huge impact on the power grid and bring severe challenges to the safe and stable operation of the power system Xu et al., 2021). In this context, the research and construction of a new energy system represented by the micro-energy grid (MEG) provides a new solution for the optimization and utilization of renewable energy.

3The MEG is a micro-integrated energy system, which is a natural extension of the microgrid under the background of the energy Internet. The MEG involves the production, transmission, storage, conversion, and utilization of various forms of energy, such as cooling, heating, and electricity. It connects the power grid, natural gas pipeline network, heating pipeline network, and other energy networks through energy hubs to meet the needs of end users for cooling, heating, and electricity energy. While making full use of renewable energy, the MEG realizes multienergy complementary and coordinated operation, ultimately achieving the goal of environmental friendliness and sustainable development. Effective optimization scheduling methods determine the quality of the energy management of the MEG and the overall performance of the system .

4Until recently, there has been some research on the energy management and optimal dispatching of MEGs. The concepts and design principles of a smart MEG are proposed in (Mei et al., 2017), and an engineering game theory-based energy management system with self-approaching-optimum capability is investigated to realize the vision of the smart MEG. A novel battery energy management system for an MEG is proposed in (Thirugnanam et al., 2018), which considers multiple types of batteries' characteristics and the reduction of DGs' operating hours simultaneously. There are multiple stakeholders in the MEGs, including users, equipment operators, and system operators. How to take into account the demands of various stakeholders is the key and difficult point in the energy management of MEGs. A multiparty energy management framework of MEG is considered in (Liu et al., 2018a;Liu et al., 2018b;Liu et al., 2020a), which formulate the utility models for the system operator and prosumers, respectively, and an optimization model based on Stackelberg game is designed for the energy management of MEGs. Besides this, how to deal with uncertainty is also a difficult problem in the energy management of MEGs. The processing methods of existing literature are roughly divided into scene-based random optimization (Neyestani et al., 2015;Pazouki and Haghifam, 2016;Alipour et al., 2018) and robust optimization (Zugno et al., 2016;He et al., 2018). However, the former requires an accurate probability distribution of uncertain factors to give a statistically optimal solution, and the latter needs to optimize the worst scenarios that rarely occur in practice in a predefined set of uncertainties, which make its optimization strategy too conservative.

5Most of the abovementioned works study the DA optimal scheduling of MEGs on a single time scale, and the forecast errors caused by the uncertainty of renewable energy outputs are not taken into consideration so that the results of decision making in accordance with the abovementioned strategies in the actual operation of the system is suboptimal or even infeasible. Therefore, shorter time scale forecasting and scheduling are required for energy management of MEGs, and the combination of multiple time scales can make the energy management of MEGs more accurate and practical (Sharma et al., 2019). A two-stage optimal scheduling model is proposed in (Daneshvar et al., 2020) and (Liu et al., 2019) to improve the profits of commercial microgrids equipped with 100% RERs and determine the most economic operational mode of CCHP commercial building system integrated with a threeway valve, respectively. The above two-stage optimization scheduling method greatly improves the utilization of renewable energy, but these works are all open-loop control methods, and there is no feedback mechanism to correct the optimization control process. Model predictive control (MPC), as a modern control theory method, is used in many engineering practices, and the ideas of rolling optimization and feedback correction can better solve the uncertainty problem and have strong robustness (Solanki et al., 2017;e Silva et al., 2020). In Liu et al. (2020b), an optimization model for the management of an isolated microgrid is formulated via hybrid economic model predictive control using weather forecasts performed by a mesoscale meteorological model. Considering the operating characteristics of various devices in the MEG and demand response simultaneously, a multi-time scale MEG energy management model based on model predictive control is established in Hu et al. (2020). However, the above research based on the MPC method are mostly aimed at microgrids or relatively simple MEGs. The energy forms involved and the various links of energy generation, conversion, transmission, storage, and utilization in MEGs are not considered in enough detail.

6The contributions of this paper are summarized as follows:

71) A detailed analysis and modeling method is proposed in this paper for the abundant energy generation, conversion, and storage equipment based on the actual MEG system with eight kinds of energy integrated. 2) A two-stage optimal scheduling method based on model predictive control is proposed for the energy management of the actual MEG system to improve the optimization control accuracy.

The Structure of MEG

8The system structure of the multi-energy integrated MEG is shown in Figure 1. The corresponding energy-generation devices are wind turbine (WT), PV, diesel generator (DG), solar collector system (SCS), and solid oxide fuel cell (SOFC) system. The energy storage equipment are the bedrock energy storage (BES) and electric energy storage (EES) systems ( Figure 2). The energy conversion equipment are medium-/ high-temperature water tanks (MTWT/HTWT), electric heat pump (EHP), lithium bromide refrigerator (LBR), and magnetic levitation electric refrigeration (MLER) system, and the load demands contain electricity, heat, cold, and electric vehicles (EVs).

Solid Oxide Fuel Cell System

9A SOFC is a kind of all-solid energy conversion device that directly converts chemical energy in fuel and oxidized gas into electrical energy, which has the structure of the general fuel cell. The input fuel is natural gas, and the output electrical and thermal power are given as follows:

10where P SOFC and H SOFC denote the output electrical and thermal power, η h is the reversible thermodynamic efficiency of the fuel cell, which is the ratio of Gibbs free energy of per unit fuel to the contained thermal energy of the fuel, η h is the residual energy thermal efficiency, and F SOFC are natural gas low calorific value and natural gas consumption, respectively. Owing to the existence of the voltage and fuel utilization losses in the reaction process of SOFC, the practical output electrical and thermal power can be updated as

11where η v and η g are the voltage and fuel utilization efficiency.

Solar Collector System

12An SCS is a kind of energy-conversion devices that converts the radiant energy of the sun into thermal energy. It uses the coating to focus sunlight scattered in parallel and collect heat. According to the law of conservation of energy, the effective energy obtained by the collector in each time slot equals the solar radiation energy absorbed by the collector minus the energy loss of the collector lost to the surrounding environment (Cheng et al., 2021):

13where S and Q l are related to factors such as the solar radiation, thermal collector parameters, and ambient temperature; therefore, the effective energy is calculated as Q u :

14where A p and T p are the area and average temperature of the STC's absorption plate, I is the solar irradiance, U L is coefficient of total heat loss, and T a is the ambient temperature.

Electric Energy Storage System

15The state of charge (SOC) of the EES system is denoted as

16where σ e is the self-discharge coefficient and P t ch and η e ch are the charge power and efficiency, respectively. P t dis and η e dis are the discharge power and efficiency and E EES is the capacity of the EES system.

Bedrock Energy Storage System

17The BES system utilizes drilling holes in the underground bedrock to store heat in the bedrock and then release the heat when needed. There is little energy loss and high conversion efficiency. Similar to the update rule of SOC of the EES system, the SOC of the BES system is calculated as:

18where σ h is the self-discharge coefficient and H t ch and η h ch are the charge power and efficiency, respectively. H t dis and η h dis are the discharge power and efficiency, and Q BES is the capacity of the BES system.

Energy Conversion Devices

19First, the thermal energy (hot water) of the SOFC and solar thermal collector can make the hot water temperature meet the requirements of the LBR through the HTWT, and then be November 2021 | Volume 9 | Article 766012 refrigerated to supply the cold loads of users. Second, the hot water that cannot be used for refrigeration enters the low temperature tank, and then outputs hot water with a specified temperature to meet the hot water loads of users. Third, if there is still remaining hot water, then it is stored in the BES system; if the hot water is deficient, then the hot water stored in the BES system is released to supply. The energy conversion devices can be represented by the following unified model:

20where P t in,i and P t out,i are the input and output power of the device i at time slot t, and η i is the conversion efficiency of device i.

Electric vehicle

21An EV is an important part of the MEG and plays an important role in system peak-load shifting, demand response, fossil energy consumption reduction, and climate change mitigation. Considering the interaction between EVs and the MEG, EVs are special mobile storage devices with different traveling habits and electricity demands; therefore, they have different tradingrelated parameters. For any EV, its parameters can be denoted as

22Eqs 10, 11 indicate that the SOC at the departure and access time satisfies the normal distribution, and SOC des EV , SOC arr EV , σ and ς are corresponding mean and standard deviation.

23From the time the EV connects to the MEG to the time to leave, its SOC can be formulated as

24where σ ev is the self-discharge coefficient, and E t ch and η ev ch are the charge power and efficiency, respectively. E t dis and η ev dis are the discharge power and efficiency, and E EV is the capacity of the EV.

Day-Ahead Optimization Scheduling

25DA optimization scheduling is an important part to ensure the safe and economic operation of the MEG, it makes decisions on the system operation with the consideration of DA predictions, economic operations, and several constraints. In this paper, the DA optimization schedule periods are 24 h.

Objective Function

26The objective function of DA optimization dispatch is minimizing the operation cost, which is formulated as follows:

27where Eq. 14 is the cost models of the EES, BES, DG, SOFC systems; EVs; and trading energy with the utility grid, respectively. T is the optimization period; N is the number of energy conversion devices; λ i is the maintenance cost of device i; K EES , K BES , K EV are unit price of charging/discharging of EES, BES system, and EV; a, b, c are cost coefficients of DG; P t grid is the trading electricity with the utility grid; P t grid > 0 denotes the MEG buys energy from utility grid; denotes the power output of DG at time slot t; λ t b and λ t s are the electricity trading price; and h t is the unit price of natural gas.

Constraints

28where P max grid is the maximum power flow of the line between the MEG and utility grid. Eqs 16-18 are electric, thermal, and cold power balance constraints, respectively. P t MLER and P t EHP are the input electric power of MIER and EHP; P t PV and P t WT are the output power of the WT and PV system; H t EHP and H t CSC are the output thermal power of EHP and SCS; H t LBR is the input thermal power of LBR; F t MLER and F t LBR are the output cold power of MLER and LBR; and P t load , H t load , and F t load are electric, thermal, and cold loads.

292) Power output constraints where P rd and P ru are the upper and lower limits of climbing power. P max DG , P max SOFC , H max EHP , F max MLER , F max LBR are the maximum output power of DG, SOFC, EHP, MLER, LBR.

3) Constraints of EES

30Eq. 20 is the operation constraints of EES, including the charging and discharging state constraint, charging and discharging power constraint, and SOC constraint. n t ch and n t dis are binary variables denoting the charging or discharging state; n t ch 1 denotes the EES is charging; P min ch , P max ch , P min dis , and P min dis are the minimum and maximum charging and discharging power of EES, SOC min EES , and SOC max EES are the upper and lower limits of SOC.

4) Constraints of BES

31Eq. 21 is the operation constraints of BES, including the charging and discharging state constraint, charging and discharging power constraint, and BES capacity constraint.

5) Constraints of EES

32Eq. 22 is the operation constraints of EV, including the charging and discharging state constraint, charging and discharging power constraint, and EV capacity constraint. Eq. 23 is the state transmission constraint, δ t ctd is the binary variable denoting the state of EV from charging transformed into discharging, and δ t dtc is the binary variable denoting the state of EV from discharging transformed into charging. Eq. 24 indicates that the transition state in the current period is related to the transition state in the adjacent period, t c and t d are the time periods with the EV connected to and off the MEG, and N EV is maximum charging or discharging times when the EV is connected to the MEG.

REAL-TIME OPTIMIZATION SCHEDULING

33Owing to the uncertainty and fluctuations of renewable energy output and cold/heat/electricity loads, RT prediction is more accurate than DA prediction. DA scheduling has errors and cannot perfectly match the RT system state, so RT rescheduling is required on the basis of DA scheduling. MPC can update the scheduling decisions in a real-time horizon according to the latest status of the micro energy network. The time step is 15 min.

34MPC is a kind of model-based finite-time domain, closed-loop optimal control method with consideration of future time steps, which includes three parts: predictive model, rolling optimization, and feedback correction. The essential thing is predicting the system input at each time step and obtaining the output according to the historical information and the prediction model. The output of the first time step in the period is taken as the scheduling result of the time step, the results of the remaining time steps are ignored, and the operation is repeated when the next time step comes, and the RT optimization scheduling result is finally obtained. Schematic diagram of MPC is shown in Figure 2.

Prediction Model

35The function of the prediction model is to minimize the objective function and to obtain the dispatch results according to the DA planning, the output of renewable energy and prediction of loads in the future time step. DA optimization scheduling ensures the operation economy of the micro energy system and plays a guiding role for the RT dispatch. The objective function of RT optimization scheduling is divided into two parts to ensure that the scheduling results track the DA schedule results. The first part is to minimize the deviation between the RT output of the controllable device and the energy storage output relative to the DA optimization reference value. The second part is to minimize the sum of the RT power output adjustment values of the controllable devices and energy storage system between adjacent time steps.

36where t is the current time slot, N s is the number of controllable devices, W err and W u are the coefficient matrix, is the RT dispatch decisions of controllable devices, which contains

Rolling Optimization

37Rolling optimization and feedback correction make MPC different from traditional optimization methods. The optimization process is repeated at each time slot, and the optimization time horizons keep moving forward to form rolling optimization. This requires a forecast of renewable energy output and cold/heat/electricity loads at each time step; therefore, the optimization process of MPC is different from the traditional optimization method, it is a repeating online rolling optimization process. Rolling optimization of limited time horizons may not be able to get the global optimal results, but it can constantly consider the impact of uncertainty and make timely correction, which is more adaptable to the actual process and has stronger robustness compared with the one-time optimization only based on the model.

Feedback Correction

38After the MPC obtains the dispatch results within a time slot through the prediction information of the current time step, to prevent the dispatch results from deviating from the ideal state due to the uncertain interference, it only adopts the scheduling results of the current time step. At the next time step, the RT prediction information of the current time step is used to modify the model-based prediction, and then the previous step is repeated for a new round of optimization. At the RT scale, the uncertainty of the output of renewable energy and cold/heat/ electric loads lead to the prediction error between the actual power output and the RT prediction value. To express this prediction error, normal distribution is superimposed on the DA prediction to simulate the practical scenario:

39where Y now and Y rq are the prediction value of the DA and RT horizons, and ζ is the standard deviation, which is set according to the value of the DA prediction. The optimization in MPC is not only based on the model, but also utilizes the feedback information, thus forming a closed-loop optimization process, which is shown in Figure 3. Through the MPC method, the RT operation of MEG follows the DA plan as much as possible and smoothly controls the increase and decrease of output of each equipment caused by uncertainty.

Basic Data

40In this paper, a demonstration MEG system in Nansha, Guangzhou is taken as an example to analyze the feasibility of the proposed method. The cost and technical parameters of MEG system are listed in Tables 1, 2, respectively (Dong et al., 2016;Zhou et al., 2018;Cheng et al., 2021).

41The electricity price, electric load, and the output of WT, PV are shown in Figure 4. The heat load and the output of SCS are shown in Figure 5. The cold load is shown in Figure 6.

42The power of the charging pile in the MEG is 50 kW, which can accommodate 15 EVs charging or discharging at the same time. The time periods for EVs accessing to or leaving the MEG are 12:00-24:00, and the SOC of EVs are shown in Figure 7.

43It can be seen from Figures 4-7 that the MEG system is characterized by a large cold load and small electric and heat loads.

Day-Ahead and Real-Time Optimization Results

44The DA optimization period is 24 h, and the time step is 1 h. The RT optimization period is 1 h, and the time step is 15 min. The RT optimization predicts the renewable energy output and cold, heat, and electric loads in the next hour every 15 min; the normal distribution is superimposed on the DA prediction data, and the standard deviation is set as 2%. Through rolling optimization and feedback correction, the RT optimization results are obtained. The cold loads of MEG are very large, which are satisfied by LBR and MLER. Due to the small capacity of LBR, MLER undertakes most of the cold load satisfaction tasks, which requires obtaining electric energy from the utility grid, EES, SOFC, etc. According to Figure 8, LBR has power output in periods 1:00-8:00 and 19:00-24:00, and the power output in other periods is almost zero. Because the cold loads exceed 3,000 kW in these two periods, which is almost the upper limit of the output of MLER, it is necessary to increase the output of LBR.

45As LBR needs heat for refrigeration, BES and EHP are the main heating equipment. The low electricity price during period 1:00-8:00 guides EHP to release heat to meet the heat demands of LBR,at the same time, and the high cold load guides the BES to release heat to meet the heat demands of LBR, which are shown in Figure 9.

46Because a large amount of electric energy needs to be purchased from the utility grid to convert into cold energy, SOFC and DG are working all the time. According to Figure 10, period 20:00-22:00 is the period with the highest electricity price, which guides EVs and EES to discharge in this period and charge when the electricity prices are low. The dispatching scheme reflects the guiding effect of electricity price and load on equipment's power output. According to Figures 8-10, the DA and RT scheduling trends are consistent, and electric, heat, and cold output follow the DA scheduling results.

Real-Time and Ideal Optimization Results

47After 96 time slots of rolling prediction and optimization, the final input sequence, which includes renewable energy output and cold, heat, and electric loads are obtained. In this paper, the ideal optimization scheme is introduced to compare with the proposed scheme, which is taking this final sequence as the input and the economic optimization as the goal. Because the RT prediction and optimization results are continuously updated, the 24-h renewable energy output and cold, heat, and electric loads can be obtained only after RT optimization is completed, which leads to the ideal optimization scheme only being used as a reference for verifying the method in this paper.

48Taking the electric power output as an example, the dispatching results of DA, RT, and ideal situations are compared. From Figures 10A, 11, it can be obtained that, in the DA, RT, and ideal conditions, the electricity output has the same trend in the total periods, and the RT dispatching results are smoother than the ideal results. There are large fluctuations in the periods 7:00-8:00 and 17:00-19:00 in the ideal situation, but almost none in the RT electric power output, which indicates that the MPC RT rolling optimization tries to make the changes of adjacent output more stable while follow the DA optimization schedule. The advantage of MPC is sacrificing the economy of some periods to achieve the stability and economy of the whole periods. Table 3 compares the total costs of the two cases. The cost of the ideal situation is close to the DA cost, which shows the rationality of the RT rolling prediction and scheduling results in this paper.

Robustness Analysis

49The influence of uncertainty on the system and the advantages of MPC in dealing with RT uncertainty are studied. The RT optimization results corresponding to standard deviation of 5 and 10% are compared in Figure 12. Figure 12 shows that most of the scheduling results with 2% uncertainty in the figure are covered, indicating the volatility of RT scheduling results increases with the increase of uncertainty, which is in line with the actual situation. However, even if the uncertainty reaches 10%, the scheduling results continue to follow the plan of DA, which shows that the simple feedback correction in MPC improves robustness and has good dynamic control effect for the uncertainty in MEG.

Deviation and Smoothness Indices

50To statistically compare sensitivity under three different uncertainty scenarios, the deviation and smoothness indices are introduced, and the analysis is performed from both the vertical and horizontal perspectives. The deviation index is defined by Eq. 28. The low deviation and smoothness index values represent the good performance of the optimization results.

51where β s is the weighting factor. P t now,s and P t rq,s indicate the RT power output and DA power output of device s at time t.

52Under the same time scale and uncertainty, the average absolute error of adjacent results is calculated, and its smoothness is expressed by Eq. 29.

53where c s is the coefficient. P t+1 s and P t s represent the power output of device s at the time t + 1 and t, and the value of β s and c s are set according to the magnitude of each device.

54Comparing the deviation and smoothness under three RT uncertainties, the results are shown in Table 4.

55According to Table 4, the deviation increases with the uncertainty, and it has a much smaller increment than the uncertainty. The deviation of the ideal case is large, which indicates that the ideal scheduling is optimized based on the RT prediction with the goal of economy rather than obeying the DA plan. RT scheduling with uncertainty obeys the DA plan; thus, the deviation is smaller. As the uncertainty increases, the value of smoothness index increases, the smoothness index of the ideal situation is between the smoothness of 2 and 5% uncertainty.

CONCLUSION

56In this paper, the power generation/conversion/storage equipment in the multi-energy integrated MEG is modeled in detail, which enriches the equipment types of the MEG, enables synergetic management and control of a large number of distributed resources, and enables coordination of multi-energy, such as cold, heat, electricity, and gas. Based on MPC method, the MEG is optimized from DA and realtime time scales. The real-time results track the DA plan to ensure economy and significantly reduce the impact of renewable energy and load uncertainty. By comparing the real-time scheduling results under different uncertainties, it is illustrated that the model has good robustness. Even when there is 10% uncertainty, the real-time scheduling still closely follows the DA plan, and the fluctuation of the devices' power output is far less than the increase of uncertainty. Furthermore, the results show that the rolling optimization and feedback correction mechanism of MPC can fully consider the uncertainty of real-time prediction results, effectively correct the deviation caused by real-time fluctuations, and guarantee the economy and security of the operation of MEG.

DATA AVAILABILITY STATEMENT

57The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding authors.

58Supply Bureau of Guangdong 9 Power Grid Co., Ltd. The funder provided the research object, data source and financial support of the article.

59Publisher's Note: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

60Copyright © 2021 Huang, Yang, Yu, Pan, Xu and Xu. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

참고문헌 20건

  1. Stochastic Modeling of Multienergy Carriers Dependencies in Smart Local Networks With Distributed Energy Resources IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2015 10.1109/tsg.2015.2423552
  2. Commitment and dispatch of heat and power units via affinely adjustable robust optimization Computers & Operations Research · Elsevier BV · 2016 10.1016/j.cor.2016.06.002
  3. Optimal planning and scheduling of energy hub in presence of wind, storage and demand response under uncertainty International Journal of Electrical Power & Energy Systems · Elsevier BV · 2016 10.1016/j.ijepes.2016.01.044
  4. Including Smart Loads for Optimal Demand Response in Integrated Energy Management Systems for Isolated Microgrids IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2015 10.1109/tsg.2015.2506152
  5. Robust Co-Optimization Planning of Interdependent Electricity and Natural Gas Systems With a Joint N-1 and Probabilistic Reliability Criterion IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tpwrs.2017.2727859
  6. MINLP Probabilistic Scheduling Model for Demand Response Programs Integrated Energy Hubs IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tii.2017.2730440
  7. Multiparty Energy Management for Grid-Connected Microgrids With Heat- and Electricity-Coupled Demand Response IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tii.2017.2757443
  8. Energy-Sharing Provider for PV Prosumer Clusters: A Hybrid Approach Using Stochastic Programming and Stackelberg Game IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tie.2018.2793181
  9. Energy Management for Renewable Microgrid in Reducing Diesel Generators Usage With Multiple Types of Battery IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tie.2018.2795585
  10. Time-Coordinated Multienergy Management of Smart Buildings Under Uncertainties IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tii.2019.2901120
  11. Paving the way to smart micro energy grid: concepts, design principles, and engineering practices CSEE Journal of Power and Energy Systems · China Electric Power Research Institute · 2017 10.17775/cseejpes.2016.01930
  12. Two-Stage Optimal Economic Scheduling for Commercial Building Multi-Energy System Through Internet of Things IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2957267
  13. Two-Stage Robust Stochastic Model Scheduling for Transactive Energy Based Renewable Microgrids IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tii.2020.2973740
  14. Management of an island and grid-connected microgrid using hybrid economic model predictive control with weather data Applied Energy · Elsevier BV · 2020 10.1016/j.apenergy.2020.115581
  15. Multi-party Energy Management of Energy Hub: A Hybrid Approach with Stackelberg Game and Blockchain Journal of Modern Power Systems and Clean Energy · Springer Nature · 2020 10.35833/mpce.2019.000545
  16. Model predictive control of microgrids – An overview Renewable and Sustainable Energy Reviews · Elsevier BV · 2020 10.1016/j.rser.2020.110422
  17. Deep Learning Based Densely Connected Network for Load Forecasting IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2020 10.1109/tpwrs.2020.3048359
  18. Peer-to-Peer Multienergy and Communication Resource Trading for Interconnected Microgrids IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tii.2020.3000906
  19. Multi-Time Scale Energy Management Strategy of Micro Energy Grid Based on Model Predictive Control 2021 IEEE Sustainable Power and Energy Conference (iSPEC) · 2020 10.1109/ispec50848.2020.9351153
  20. Multi-microgrid Energy Management Systems: Architecture, Communication, and Scheduling Strategies Journal of Modern Power Systems and Clean Energy · Springer Nature · 2021 10.35833/mpce.2019.000237