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

Optimal Hybrid Energy Storage System Planning of Community Multi-Energy System Based on Two-Stage Stochastic Programming

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Xin Shen — Faculty of Electric Power Engineering, Kunming University of Science and Technology, Kunming, China|||Metering Center of Yunnan Power Grid Company Ltd., Kunming, China|||Kunming University of Science and Technology, Kunming, China
  2. Zhao Luo — Faculty of Electric Power Engineering, Kunming University of Science and Technology, Kunming, China
  3. Jun Xiong — Metering Center of Yunnan Power Grid Company Ltd., Kunming, China
  4. Hongzhi Liu — Faculty of Electric Power Engineering, Kunming University of Science and Technology, Kunming, China
  5. Xin Lv — Faculty of Electric Power Engineering, Kunming University of Science and Technology, Kunming, China
  6. Taiyang Tan — Metering Center of Yunnan Power Grid Company Ltd., Kunming, China
  7. Jianwei Zhang — Metering Center of Yunnan Power Grid Company Ltd., Kunming, China
  8. Yuting Wang — Yunnan Communications Vocational and Technical College, Kunming, China
  9. Yinghao Dai — Faculty of Electric Power Engineering, Kunming University of Science and Technology, Kunming, China
DOI
10.1109/access.2021.3074151
저널
IEEE Access
발행년도
2021
발행기관
Institute of Electrical and Electronics Engineers
피인용수
33
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2021.3074151
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W3153934443

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The multi-energy system (MES) provides a good environment for the local consumption of renewable energy such as wind and solar power because of its high operational flexibility. In the MES, the hybrid energy storage system (HESS) composed of the battery and thermal storage tank plays an important role in enhancing reliability, economics, and operational flexibility. Hence, determining the optimal size of HESS in the MES is a critical problem but has not received enough attention. In light of this problem, this paper focuses on the optimal HESS planning problem in the community MES (CMES) under diverse uncertainties. Firstly, a two-stage stochastic planning model is proposed for the CMES to coordinate the optimal long-term HESS allocation and the short-term system operation. The thermal inertia in the heating network, space heating demand, and domestic hot water demand is utilized to reduce both the planning and operational cost. Secondly, a deterministic equivalence is proposed for the two-stage planning model to convert it into a mixed-integer linear programming model, which is then solved by off-the-shelf solvers. Finally, simulation results verify the effectiveness of the proposed method. The results reveal that the HESS can enhance the operational flexibility of the CMES but only needs a very few investment costs and prove that the thermal inertia in the CMES can reduce the investment cost of HESS, the fuel, and the operational maintenance cost.

본문 82,235자

본문 펼치기
Received April 6, 2021, accepted April 15, 2021, date of publication April 20, 2021, date of current version April 28, 2021. _Digital Object Identifier 10.1109/ACCESS.2021.3074151_ # Optimal Hybrid Energy Storage System Planning of Community Multi-Energy System Based on Two-Stage Stochastic Programming XIN SHEN 1,2,3, (Member, IEEE), ZHAO LUO 2, (Member, IEEE), JUN XIONG1, HONGZHI LIU2, XIN LV <sup>2</sup>, TAIYANG TAN <sup>1</sup>, JIANWEI ZHANG <sup>1</sup>,YUTING WANG <sup>4</sup>, AND YINGHAO DAI <sup>2</sup> 1Metering Center of Yunnan Power Grid Company Ltd., Kunming 650051, China 2Faculty of Electric Power Engineering, Kunming University of Science and Technology, Kunming 650500, China 3Department of Mechanical and Electrical Engineering, Kunming University of Science and Technology, Kunming 650500, China 4Yunnan Communications Vocational and Technical College, Kunming 650500, China Corresponding author: Zhao Luo (waiting.1986@live.com) This work was supported in part by the National Natural Science Foundation of China under Grant 51907084, in part by the Science and Technology Project of Yunnan Power Grid Company Ltd., under Grant YNKJXM20200106, in part by the Applied Basic Research Foundation of Yunnan Province under Grant KKS0202104007, and in part by the Scientific Research Foundation of the Yunnan Provincial Department of Education under Grant 2018JS032. ABSTRACT The multi-energy system (MES) provides a good environment for the local consumption of renewable energy such as wind and solar power because of its high operational flexibility. In the MES, the hybrid energy storage system (HESS) composed of the battery and thermal storage tank plays an important role in enhancing reliability, economics, and operational flexibility. Hence, determining the optimal size of HESS in the MES is a critical problem but has not received enough attention. In light of this problem, this paper focuses on the optimal HESS planning problem in the community MES (CMES) under diverse uncertainties. Firstly, a two-stage stochastic planning model is proposed for the CMES to coordinate the optimal long-term HESS allocation and the short-term system operation. The thermal inertia in the heating network, space heating demand, and domestic hot water demand is utilized to reduce both the planning and operational cost. Secondly, a deterministic equivalence is proposed for the two-stage planning model to convert it into a mixed-integer linear programming model, which is then solved by off-the-shelf solvers. Finally, simulation results verify the effectiveness of the proposed method. The results reveal that the HESS can enhance the operational flexibility of the CMES but only needs a very few investment costs and prove that the thermal inertia in the CMES can reduce the investment cost of HESS, the fuel, and the operational maintenance cost. INDEX TERMS Battery, community multi-energy system, hybrid energy storage system, mixed-integer linear programming, operational flexibility, renewable energy, thermal storage tank, two-stage stochastic programming, uncertainty. I. INTRODUCTION With the development of the distributed renewable energy generation technology such as wind turbines and photovoltaic cells, the modern power system is becoming more and more green and sustainable [1], [2]. Owing to the inherent intermittent, fluctuation, and randomness of renewable energy sources (RES), it is still a hard problem to promote the local consumption of RES [3], [4]. As a novel form of the energy system, the multi-energy system (MES) couples multi kinds The associate editor coordinating the review of this manuscript and approving it for publication was Behnam Mohammadi-Ivatloo . of energy flow, such as electricity, natural gas, and heat, which not only meets the different energy demands of users but also has considerable operational flexibility because of the energy complementary [5], [6]. Hence, the MES is believed to an excellent choice to promote the local consumption of RES and improve energy efficiency [7], [8]. Lots of research has been focused on the operation problem of MES. In [9], a large-scale nonlinear optimization model is proposed for the electrical and heating systems to enhance the flexibility of power systems, in which a decompositioncoordination algorithm is proposed for solving the model. In [10], a coordinated operation model with a linearized coupling relationship between energy carriers is proposed for MES, in which the linear weighted sum and grasshopper optimization algorithm are combined to solve the model. In [11], a mixed-integer nonlinear programming model is proposed for the dispatch of MES, for which an iterative optimizationcorrection algorithm is proposed. Several pieces of literature take into consideration the uncertainties in the MES operation. In [12], an affinely adjustable robust optimization model is proposed for MES to coordinate the unit commitment and dispatch under uncertain renewable energy power and energy demands. In [13], a two-stage adaptive robust dispatch model is proposed for MES, in which the uncertainties in both electricity and heat are considered. In summary, the above research has provided good foundations in models and algorithms for the operation problem of MES. On the other hand, the reasonable planning of MES is the basis for a stable and economical system operation. Lots of research has been focused on the planning problem of MES. In [14], the optimal configuration problem of two real-world MES in China is studied, in which the impacts of different carbon emission reduction and renewable energy penetration constraints are investigated. In [15], the long-term planning of a CCHP system considering the energy storage and demand response is investigated. In [16], the energy hub concept is used to define the configuration planning problem of MES, which is then formulated into a mixed-integer linear programming (MILP) model. In [17], a MILP model is proposed for the planning of MES, in which both the economic cost and the environmental cost are taken into consideration. In [18], a multi-stage expansion model is proposed for the integrated power, gas, and heat systems, which is then formulated into a mixed-integer nonlinear programming problem and solved by an improved generalized Benders decomposition method. In [19], an optimal expansion planning model is proposed for the energy hub to determine candidates for the combined heat and power (CHP) units, generating units, transmission lines, and gas furnaces, in which the reliability, energy efficiency, and emission of the planning scheme are evaluated. In [20], an expansion model considering the integration of the active distribution network is proposed for MES, in which a modified piecewise linearization method is used to convert the original nonlinear model into a mixed-integer secondorder constrained programming model. The above research has offered an excellent theoretical and methodological basis for the planning problem of MES. In the MES planning, a significant problem lies in the different kinds of uncertainties coming from the different subsystems [21], [22]. For example, the renewable energy power in the electrical power system and the outdoor temperature of buildings that directly affects the space heating load of users cannot be forecasted accurately. These uncertainties affect both the planning and operation of the MES, and hence they need to be well addressed in the planning stage to ensure the performance of the MES. The commonly used methods for dealing with the uncertainties in the planning problem include stochastic programming, robust optimization [23], etc. In [24], a chance-constrained stochastic programming model is proposed for the integrated planning of power generation, gas network, and gas storage. In [25], a two-stage stochastic optimization is proposed for the coordinated planning of power system and natural gas system, in which the uncertainties in both the electricity and natural gas demands are considered. In [26], a datadriven two-stage robust stochastic programming model is proposed for determining the optimal capacity of the energy hub, in which the ambiguous probability distributions based on the Kullback-Leibler divergence are used to model the uncertainties in the RES power and loads. In [27], a robust co-optimization model is proposed for the long-term planning of the electricity and gas systems, and then a decomposition approach including a based-case master problem and two scenario subproblems is utilized to solve the model. In summary, the above research has investigated different methods for address the planning problem of MES under uncertainties. Moreover, from the physical system’s perspective, the storage system is an excellent choice for compensating for the uncertainties and improving the operational flexibility of the energy system [28], [29]. In the MES, the hybrid energy storage system (HESS) consisting of the battery and thermal energy storage can be equipped to provide extra flexibility for both the electrical power system and heating system, such as balance the source and loads and dealing with the RES fluctuations. In [30], an allocation method of battery and thermal energy storage is proposed for the district energy system, in which the seasonal difference of the electrical load is considered while the uncertainties from the renewable energy and loads are ignored. In [31], a storage capacity expansion model is proposed for the integrated energy system to determine the size of the HESS consisting of the power type battery and capacity type battery, but the heterogeneous energy storage system such as thermal storage and cooling storage is not considered. In [32], an environmental constrained optimal HESS planning model is proposed for an Indian distribution network to promote renewable energy consumption, in which the HESS is defined as a combination of different electrical batteries, such as Na-S battery, NaNiCl battery, and Vanadium battery, rather than the energy storage system composed of different energy carriers. In [33], the optimal siting and sizing of renewable energy sources and electrical energy storage systems in the distribution system are investigated, where the ‘‘hybrid energy system’’ is defined as an energy system consisting of renewable energy units, electrical battery system, and plug-in electric vehicles, which is different with the MES focused in this paper. Above all, most of the existing research related to the HESS planning problem only focuses on the different kinds of electricity storage. A summary of the existing related research is given in TABLE 1. It can be found that determining the capacity of the HESS composed of heterogeneous energy storage in the energy systems has not received enough attention. Actually, it is not a trivial work to determine the capacity TABLE 1. Summary of related research. of the heterogeneous HESS in an MES. Firstly, the capacity of battery energy (or thermal energy storage) will not only affect the operation of the electrical system (or heating system) but only bring indirect impact to the operation of the heating system (or electrical system). Hence, their capacity has been optimized together to achieve the best performance. Secondly, the excessive (or too small) HESS capacity will increase the planning cost (or operational cost), and thus the capacity of HESS needs to be optimized by coordinating both the planning and operation stages. Thirdly, the uncertainties in both the electrical system and heating system will affect the planning results of heterogeneous HESS, and hence they should be carefully addressed. Based on the above analysis, the research gaps in the existing research can be summarized as follows: (1) How to size the HESS composed of the electrical battery storage and thermal energy storage in an energy system has received few attentions; and (2) How to coordinate the long-term planning and short-term operation of HESS under various uncertainties is still an unsolved problem. To fill these research gaps, we propose a two-stage stochastic planning model to determine the optimal size of the HESS and coordinate the short-term operation of systems in an existing CMES with consideration of different uncertainties from subsystems. In the proposed model, the first stage aims to determine the optimal size of the HESS, and the second stage aims to make the optimal dispatch decision. Case studies verify the effectiveness of the proposed method. The main contributions of this paper are as follows: (1) A two-stage stochastic planning model is firstly proposed to coordinate the long-term planning of the HESS and the short-term operation of the CMES. Diverse uncertain factors, including wind power, electrical load, and outdoor temperature, are modeled and considered in the proposed model to reduce their adverse impacts on system operation. (2) The thermal inertial of the heating network, space heating demand, and domestic hot water are modeled and considered in the operation of CMES, which is proven to provide considerable operational flexibility for the whole system and play a positive role in reducing both the investment cost and operational cost. (3) A deterministic equivalence is proposed for the two-stage stochastic planning model to convert into a mixed-integer linear programming problem, which can be easily solved by off-the-shelf solvers and thus has strong applicability in practical engineering. (4) Simulation results demonstrate that deploying the HESS in the CMES can significantly improve the economic performance of the system with minor investment costs, which verifies the practical value of this work. The remainder of this paper is as follows. Section II proposes the two-stage stochastic planning model for the HESS in the CMES. Section III proposes the solution method. Case studies are given in Section IV, and Section V concludes this paper. II. TWO-STAGE STOCHASTIC PLANNING MODEL The typical structure of the CMES that we focused on is given in FIGURE 1. The system consists of the CHP unit, gas turbine, renewable energy such as wind power and photovoltaic cells, and energy storage systems. The CHP unit includes the gas turbine and the heat recovery unit. The CMES provides both electricity and thermal energy for the residents through the energy distribution networks. The thermal energy supplied for the users is used for space heating and domestic hot water. The starting point of this paper is to improve the operational flexibility of the CMES by deploying extra HESS consisting of battery storage and thermal storage. Therefore, we focus on the problem that determines the optimal HESS capacity in an existing CMES, i.e., determining the optimal size of both the battery and thermal storage tank. In the following, we propose the two-stage stochastic HESS planning model for the CMES. FIGURE 1. Typical structure of the community multi-energy systems. _A._ _FIRST-STAGE MODEL_ The first-stage model aims to determine the optimal size of the hybrid energy storage. The objective of the first stage includes the investment cost of the battery and thermal storage tank, as follows: _<u>r (</u>_ <u>1 +</u> _<u>r)</u>_ <sup>_m_</sup> _Cinv_ = _(_ 1 + _r)_ <sup>_m_</sup> - 1 _c_ <sup>_om_</sup> _gt_ - _c_ <sup>_inv_</sup> _bt_ <sup>_cap_</sup> _bt_ + _c_ <sup>_inv_</sup> _tst_ _tst_ The operational maintenance cost of the gas turbine, gas boiler, battery, and thermal storage tank is considered, which can be calculated as follows: <sup>_inv_</sup> _bt_ <sup>_W cap_</sup> _bt_ <sup>_inv_</sup> _tst_ <sup>_W cap_</sup> _tst_ (1) _gb_ <sup>_t_</sup> <sup>_�t_</sup> <sup>+</sup> <sup>_c_</sup> _res_ <sup>_om_</sup> _gt_ <sup>_t_</sup> <sup>_�t_</sup> <sup>+</sup> <sup>_com_</sup> _gb_ <sup>_chr_</sup> _bt_ <sup>_,t_</sup> _�t_ + _c_ <sup>_om_</sup> _bt_ <sup>_P_</sup> _bt_ <sup>_dis,t_</sup> <sup>_chr_</sup> _tst_ <sup>_,t_</sup> _�t_ + _c_ <sup>_om_</sup> _tst_ <sup>_Q_</sup> _tst_ <sup>_dis,t_</sup>   (6) <sup>_om_</sup> _gt_ <sup>_Pt_</sup> _c_ <sup>_om_</sup> _bt_ <sup>_Pchr_</sup> _bt_ <sup>_,t_</sup> _c_ <sup>_om_</sup> _tst_ <sup>_Qchr_</sup> _tst_ <sup>_,t_</sup> <sup>_om_</sup> _gb_ <sup>_Qt_</sup> _res_ <sup>_omPt_</sup>   _c_ <sup>_om_</sup> _gt_ <sup>_P_</sup> _gt_ <sup>_t_</sup> <sup>_�t_</sup> <sup>+</sup> <sup>_com_</sup> _gb_ <sup>_Q_</sup> _gb_ <sup>_t_</sup> <sup>_�t_</sup> <sup>+</sup> <sup>_c_</sup> _res_ <sup>_omPt_</sup> _res_ <sup>_�t_</sup> + _c_ <sup>_om_</sup> _bt_ <sup>_Pchr_</sup> _bt_ <sup>_,t_</sup> _�t_ + _c_ <sup>_om_</sup> _bt_ <sup>_P_</sup> _bt_ <sup>_dis,t_</sup> _�t_ + _c_ <sup>_om_</sup> _bt_ <sup>_Pchr_</sup> _bt_ <sup>_,t_</sup> _�t_ + _c_ <sup>_om_</sup> _bt_ <sup>_P_</sup> _bt_ <sup>_dis,t_</sup> _�t_ + _c_ <sup>_om_</sup> _tst_ <sup>_Qchr_</sup> _tst_ <sup>_,t_</sup> _�t_ + _c_ <sup>_om_</sup> _tst_ <sup>_Q_</sup> _tst_ <sup>_dis,t_</sup> <sup>_�t_</sup> _tst_ <sup>_dis,t_</sup> <sup>_�t_</sup> where _Cinv_ is the annualized investment cost of HESS, ¥; _r_ is the capital interest rate; _m_ is the investment return year; _c_ <sup>_inv_</sup> _bt_ <sup>is the unit capacity investment cost of the battery, ¥/kWh;</sup> _c_ <sup>_inv_</sup> _tst_ <sup>is the unit capacity investment cost of the thermal storage</sup> tank, ¥/kWh; _Wbt_ <sup>_cap_</sup> is the capacity of the battery, kWh; and _Wtst_ <sup>_cap_</sup> is the capacity of the thermal storage tank, kWh. The constraints of the first-stage model include the range of the sizes of the battery and thermal storage tank, as follows: _Com_ = _t_ ∈N - _Wbt_ <sup>_cap_</sup> _Wbt_ <sup>_cap_</sup> ≥ 0 _Wtst_ <sup>_cap_</sup> ≥ 0 _bt_ (2) _tst_ <sup>_cap_</sup> ≥ 0 where _c_ <sup>_om_</sup> _gt_ <sup>is</sup> <sup>the</sup> <sup>unit</sup> <sup>operational</sup> <sup>maintenance</sup> <sup>cost</sup> <sup>of</sup> <sup>the</sup> gas turbine, ¥/kWh; _c_ <sup>_om_</sup> _gb_ <sup>is the unit operational maintenance</sup> cost of the gas boiler, ¥/kWh; _c_ <sup>_om_</sup> _res_ <sup>is</sup> <sup>the</sup> <sup>unit</sup> <sup>operational</sup> maintenance cost of the RES unit, ¥/kWh; _c_ <sup>_om_</sup> _bt_ <sup>is</sup> <sup>the</sup> <sup>unit</sup> operational maintenance cost of the battery, ¥/kWh; _c_ <sup>_om_</sup> _tst_ <sup>is</sup> the unit operational maintenance cost of the thermal storage tank, ¥/kWh. 2) CONSTRAINTS The constraints of the CMES include the tie-line power constraints, the device constraints, the power balance constraints, the heating network constraints, and the heat load constraints. In the following, the constraints are introduced in detail. _(1)_ TIE-LINE POWER CONSTRAINTS The CMES exchanges electricity with the main grid through the tie-line. The tie-line power limit is given as follows: _B._ _SECOND-STAGE MODEL_ The second-stage model aims to make the optimal dispatch decisions for the CMES under the given planning scheme of HESS. 1) OBJECTIVE The objective of the second stage includes the fuel cost, the net electricity purchasing cost, and the operational maintenance cost, as follows: _Coper_ = _Cfuel_ + _Cgrid_ + _Com_ (3) where _Coper_ is the annual operational cost of CMES, ¥; _Cfuel_ is the fuel cost, ¥; _Cgrid_ is the net cost of electricity purchase, ¥; and _Com_ is the operational maintenance cost, ¥. The fuel cost _Cfuel_ includes the natural cost of the gas boiler and the gas boiler, which can be calculated as follows: (7)    0 ≤ _P_ <sup>_b_</sup> _grid_ <sup>_,t_</sup> <sup>≤</sup> <sup>_ε_</sup> _grid_ <sup>_b,t_</sup> _εgrid_ <sup>_b,t_</sup> _grid_ <sup>_b,t_</sup> <sup>_, ε_</sup> _grid_ <sup>_s,t_</sup> _grid_ 0 ≤ _P_ <sup>_s_</sup> _grid_ <sup>_,t_</sup> <sup>≤</sup> <sup>_ε_</sup> _grid_ <sup>_s,t_</sup> <sup>_P_</sup> _grid_ <sup>max</sup> _εgrid_ <sup>_b,t_</sup> <sup>+</sup> <sup>_ε_</sup> _grid_ <sup>_s,t_</sup> <sup>= 1</sup> _grid_ <sup>_b,t_</sup> <sup>+</sup> <sup>_ε_</sup> _grid_ <sup>_s,t_</sup> _grid_ <sup>_b,t_</sup> <sup>_P_</sup> _grid_ <sup>max</sup> _grid_ <sup>_s,t_</sup> <sup>_P_</sup> _grid_ <sup>max</sup> _grid_ <sup>_s,t_</sup> <sup>= 1</sup> _grid_ <sup>_s,t_</sup> <sup>∈{0</sup> <sup>_,_</sup> <sup>1}</sup> <sup>_max_</sup> _grid_ <sup>is</sup> <sup>the</sup> <sup>tie-line</sup> <sup>power</sup> <sup>capacity,</sup> <sup>kW;</sup> <sup>_ε_</sup> _grid_ <sup>_b,t_</sup> where _P_ <sup>_max_</sup> _grid_ _�t_ + _cgas_ _t_ ∈N _Q_ <sup>_t_</sup> _<u>gb</u>_ _ηgb_ _P_ <sup>_t_</sup> _<u>gt</u>_ _ηgt_ where _P_ <sup>_max_</sup> _grid_ <sup>is</sup> <sup>the</sup> <sup>tie-line</sup> <sup>power</sup> <sup>capacity,</sup> <sup>kW;</sup> <sup>_ε_</sup> _grid_ <sup>_b,t_</sup> <sup>is</sup> <sup>the</sup> binary variable denoting whether the CMES buys electricity from the main grid at period _t_ ; _ε_ <sup>_s,t_</sup> _grid_ <sup>is</sup> <sup>the</sup> <sup>binary</sup> <sup>variable</sup> denoting whether the CMES sells electricity to the main grid at period _t_ . _Cfuel_ = _cgas_ _t_ ∈N _�t_ (4) where N is the index set of the period; _�t_ is the time interval, h; _cgas_ is the energy price of the natural gas; ¥/kWh; _ηgt_ is the generation efficiency of the gas turbine; _ηgb_ is the efficiency of the gas boiler; _P_ <sup>_t_</sup> _gt_ <sup>is the electrical power of the gas turbine</sup> at period _t_, kW; _Q_ <sup>_t_</sup> _gt_ <sup>is the thermal power of the gas boiler at</sup> period _t_, kW. The net cost of electricity purchase of CMES is equal to the cost of electricity purchase minus the income from electricity sale, as follows: _(2)_ DEVICES CONSTRAINTS _a:_ _CHP UNIT_ The operational constraints of the CHP unit include the electrical power limit and the electricity-thermal equation, as follows:    0 ≤ _P_ <sup>_t_</sup> _gt_ <sup>≤</sup> <sup>_P_</sup> _gt_ <sup>_cap_</sup> _gt_ (8) _Q_ <sup>_t_</sup> _gt_ <sup>=</sup> <sup>_ηhr_</sup> 1 − _ηgt_ - _ηloss_ _ηgt_ _P_ <sup>_t_</sup> _gt_ <sup>_b_</sup> _grid_ <sup>_,t_</sup> <sup>_�t_</sup> <sup>−</sup> <sup>_s_</sup> _grid_ <sup>_,t_</sup> <sup>_�t_</sup> (5) _c_ <sup>_b_</sup> _grid_ <sup>_,t_</sup> <sup>_b_</sup> _grid_ <sup>_,t_</sup> <sup>_Pb_</sup> _grid_ <sup>_,t_</sup> _c_ <sup>_s_</sup> _grid_ <sup>_,t_</sup> <sup>_s_</sup> _grid_ <sup>_,t_</sup> <sup>_Ps_</sup> _grid_ <sup>_,t_</sup> _t_ ∈N where _P_ <sup>_cap_</sup> _gt_ is the rated generating power of the gas turbine, kW; _Q_ <sup>_t_</sup> _gt_ <sup>is the thermal power of the gas turbine at period</sup> <sup>_t_</sup> <sup>,</sup> kW; _ηloss_ is the energy loss rate of the gas turbine; _ηhr_ is the efficiency of the heat recovery device in the CHP unit. _b:_ _GAS BOILER_ The operational constraints of the gas boiler include the thermal power limit, as follows: 0 ≤ _Q_ <sup>_t_</sup> _gb_ <sup>≤</sup> <sup>_Qcap_</sup> _gb_ (9) _Cgrid_ = _t_ ∈N where _c_ <sup>_b,t_</sup> _grid_ <sup>is</sup> <sup>the</sup> <sup>price</sup> <sup>of</sup> <sup>the</sup> <sup>electricity</sup> <sup>purchased</sup> <sup>from</sup> the main grid at period _t_, ¥/kWh; _c_ <sup>_s,t_</sup> _grid_ <sup>is</sup> <sup>the</sup> <sup>price</sup> <sup>of</sup> <sup>the</sup> electricity sold to the main grid at period _t_, ¥/kWh; _P_ <sup>_b,t_</sup> _grid_ <sup>is</sup> the electrical power purchased from the main grid at period _t_, kW; and _P_ <sup>_s,t_</sup> _grid_ <sup>is the electrical power sold to the main grid at</sup> period _t_, kW. where _Q_ <sup>_cap_</sup> _gb_ <sup>is</sup> <sup>the</sup> <sup>thermal</sup> <sup>power</sup> <sup>capacity</sup> <sup>of</sup> <sup>the</sup> <sup>gas</sup> <sup>boiler,</sup> kW. _c:_ _RES UNIT_ The operational constraints of the RES unit are as follows: 0 ≤ _P_ <sup>_t_</sup> _res_ <sup>≤˜</sup> <sup>_Pt_</sup> _res_ (10) limit coefficient of the energy level; and _Wtst_ <sup>_t_</sup> <sup>is</sup> <sup>the</sup> <sup>energy</sup> level of the thermal storage tank, kWh. _(3)_ POWER BALANCE CONSTRAINTS The power balance constraints of the CMES include the electrical power balance equations and thermal power balance equations, as follows: where _P_ <sup>˜</sup> <sup>_t_</sup> _res_ <sup>is</sup> <sup>the</sup> <sup>forecasted</sup> <sup>value</sup> <sup>of</sup> <sup>the</sup> <sup>RES</sup> <sup>power</sup> <sup>at</sup> period _t_ . _d:_ _HESS_ The operational constraints of the HESS include the battery constraints and the thermal storage tank constraints. The battery constraints include the charging power limit, the discharging power limit, the energy level equation, the energy level limit, and the charging/discharging states limit, as follows: _bt_ + _P_ <sup>_b_</sup> _grid_ <sup>_,t_</sup>    _load_ _Q_ <sup>_t_</sup> _gt_ <sup>+</sup> <sup>_Qt_</sup> _gb_ <sup>−</sup> <sup>_Q_</sup> _tst_ <sup>_chr,t_</sup> + _Q_ <sup>_dis_</sup> _tst_ <sup>_,t_</sup> = _Q_ <sup>_t_</sup> _hn_ <sup>_t_</sup> _gt_ <sup>+</sup> <sup>_Qt_</sup> <sup>_t_</sup> _gb_ <sup>−</sup> <sup>_Q_</sup> _tst_ <sup>_chr,t_</sup> _P_ <sup>_t_</sup> _gt_ <sup>_t_</sup> _gt_ <sup>+</sup> <sup>_Pt_</sup> <sup>_t_</sup> _res_ <sup>−</sup> <sup>_Pchr_</sup> _bt_ <sup>_,t_</sup> <sup>_chr_</sup> _bt_ <sup>_,t_</sup> + _P_ <sup>_dis_</sup> _bt_ <sup>_,t_</sup> (13) <sup>_b_</sup> _grid_ <sup>_,t_</sup> <sup>−</sup> <sup>_Ps_</sup> _grid_ <sup>_,t_</sup> <sup>_s_</sup> _grid_ <sup>_,t_</sup> <sup>=</sup> <sup>_P_</sup> <sup>˜</sup> <sup>_t_</sup> _hn_ _tst_ <sup>_chr,t_</sup> + _Q_ <sup>_dis_</sup> _tst_ <sup>_,t_</sup> <sup>_dis_</sup> _tst_ <sup>_,t_</sup> = _Q_ <sup>_t_</sup> 0 ≤ _Pbt_ <sup>_chr,t_</sup> ≤ _εbt_ <sup>_chr,t_</sup> <sup>_dis_</sup> _bt_ <sup>_W cap_</sup> _bt_ <sup>_chr_</sup> _bt_ <sup>_W cap_</sup> _bt_    _bt_ <sup>_chr,t_</sup> _, εbt_ <sup>_dis,t_</sup> _bt_ <sup>_dis,t_</sup> ∈{0 _,_ 1} _bt_ <sup>_chr,t_</sup> _λ_ <sup>_chr_</sup> _bt_ _bt_ _bt_ _bt_ 0 ≤ _Pbt_ <sup>_dis,t_</sup> ≤ _εbt_ <sup>_dis,t_</sup> _λ_ <sup>_dis_</sup> _bt_ <sup>_W cap_</sup> _bt_ _bt_ <sup>_dis,t_</sup> _λ_ <sup>_dis_</sup> _bt_ _bt_ _bt_ _bt_ _Wbt_ <sup>_t_</sup> <sup>+1</sup> = _Wbt_ <sup>_t_</sup> <sup>+</sup> - _ηbt_ <sup>_chr_</sup> <sup>_P_</sup> _bt_ <sup>_chr_</sup> _bt_ (11) _bt_ <sup>_chr,t_</sup> - _P_ <sup>_dis_</sup> _bt_ <sup>_,t_</sup> _�t_ _bt_ <sup>_t_</sup> <sup>+1</sup> = _Wbt_ <sup>_t_</sup> - _ηbt_ <sup>_chr_</sup> _bt_ <sup>_t_</sup> <sup>+</sup> _bt_ <sup>_chr_</sup> <sup>_P_</sup> _bt_ <sup>_chr,t_</sup> - _ηbt_ <sup>_dis_</sup> - _ηbt_ <sup>_dis_</sup> _bt_ <sup>_lowW cap_</sup> _bt_ _πbt_ <sup>_low_</sup> <sup>_cap_</sup> _bt_ ≤ _Wbt_ <sup>_t_</sup> _bt_ <sup>_upW cap_</sup> _bt_ _bt_ _bt_ _εbt_ <sup>_chr,t_</sup> + _εbt_ <sup>_dis,t_</sup> = 1 _bt_ <sup>_chr,t_</sup> + _εbt_ <sup>_dis,t_</sup> _bt_ <sup>_t_</sup> <sup>≤</sup> <sup>_π_</sup> _bt_ <sup>_up_</sup> _εbt_ <sup>_chr,t_</sup> + _εbt_ <sup>_dis,t_</sup> = 1 _εbt_ <sup>_chr,t_</sup> _, εbt_ <sup>_dis,t_</sup> ∈{0 _,_ 1 <sup>_chr_</sup> _bt_ <sup>is the coefficient of the charging power limit;</sup> <sup>_λ_</sup> _bt_ <sup>_dis_</sup> where _λ_ <sup>_chr_</sup> _bt_ _bt_ is the coefficient of the discharging power limit; _ηbt_ <sup>_chr_</sup> is the charging efficiency of the battery; _ηbt_ <sup>_dis_</sup> <sup>is the discharging effi-</sup> ciency of the battery; _πbt_ <sup>_low_</sup> is the lower limit coefficient of the energy level; _π_ <sup>_up_</sup> _bt_ <sup>is the upper limit coefficient of the energy</sup> level; _εbt_ <sup>_chr,t_</sup> is the binary variable denoting the charging state of the battery at period _t_ ; _εbt_ <sup>_dis,t_</sup> is the binary variable denoting the discharging state of the battery at period _t_ ; and _Wbt_ <sup>_t_</sup> <sup>is the</sup> energy level of the battery, kWh. The thermal storage tank constraints include the storing power limit, the releasing power limit, the energy level equation, the energy level limit, and the storing/releasing states limit, as follows: 0 ≤ _Qtst_ <sup>_chr,t_</sup> ≤ _εtst_ <sup>_chr,t_</sup> <sup>_chr_</sup> _tst_ <sup>_W cap_</sup> _tst_    _tst_ <sup>_chr,t_</sup> _, εtst_ <sup>_dis,t_</sup> _tst_ <sup>_dis,t_</sup> ∈{0 _,_ 1} _tst_ <sup>_chr,t_</sup> _λ_ <sup>_chr_</sup> _tst_ _tst_ _tst_ _tst_ 0 ≤ _Qtst_ <sup>_dis,t_</sup> ≤ _εtst_ <sup>_dis,t_</sup> <sup>_λdis_</sup> _tst_ <sup>_W cap_</sup> _tst_ _tst_ <sup>_dis,t_</sup> <sup>_λdis_</sup> _tst_ _tst_ _tst_ <sup>_λdis_</sup> _tst_ _Wtst_ <sup>_t_</sup> <sup>+1</sup> = _Wtst_ <sup>_t_</sup> <sup>+</sup> - _ηtst_ <sup>_chr_</sup> <sup>_Q_</sup> _tst_ <sup>_chr_</sup> _tst_ _tst_ <sup>_chr,t_</sup> - _Q_ <sup>_dis_</sup> _tst_ <sup>_,t_</sup> (12) _�t_ _tst_ <sup>_t_</sup> <sup>+1</sup> = _W_ <sup>_t_</sup> - _ηtst_ <sup>_chr_</sup> _tst_ <sup>_t_</sup> <sup>+</sup> <sup>_dis_</sup> _tst_ <sup>_W cap_</sup> _tst_ _tst_ <sup>_chr_</sup> <sup>_Q_</sup> _tst_ <sup>_chr,t_</sup> - _ηtst_ <sup>_dis_</sup> - _ηtst_ <sup>_dis_</sup> where _P_ <sup>˜</sup> <sup>_t_</sup> _load_ <sup>is</sup> <sup>the</sup> <sup>forecasted</sup> <sup>value</sup> <sup>of</sup> <sup>the</sup> <sup>electrical</sup> <sup>load</sup> <sup>of</sup> users at period _t_ ; _Q_ <sup>_t_</sup> _hn_ <sup>is</sup> <sup>the</sup> <sup>thermal</sup> <sup>power</sup> <sup>injected</sup> <sup>into</sup> <sup>the</sup> heating network at period _t_ . _(4)_ ELECTRICAL NETWORK CONSTRAINTS The electrical network has a significant impact on electricity distribution, and thus the power flow constraints should be considered in the operation of CMES. Considered the CMES is a distribution-level energy system, the electrical network usually has a radial structure. Hence, the linearized DistFlow model [34], [35] is used to describe the AC power flow, which is omitted here for the sake of brevity. _(5)_ HEATING NETWORK CONSTRAINTS The heating network plays an important role in the CMES in delivering the thermal energy from the source to the end-users and supplying operational flexibility for the system [36]. The node method is adopted in this paper to model the transmission delay and heat loss. Usually, there are three control strategies for the heating network operation, including the constant-flow & variable-temperature strategy, constant-temperature & variable-flow control strategy, and variable-flow & variable-temperature strategy. The constant-flow & variable temperature control strategy has been widely used in engineering in many countries, such as China, because of its convenience and stability [37], [38]. Hence, we assume that the heating network follows this control strategy. The structure of the heating network is given in FIGURE 2. _a:_ _Pipelines: Transmission Delay and Heat Loss_ The mass flow in the pipelines has considerable transmission delay and heat loss. According to the node method [37], [38], the outlet water temperature of the pipelines can be represented as follows: _tst_ <sup>_lowW cap_</sup> _tst_ _πtst_ <sup>_low_</sup> <sup>_cap_</sup> _tst_ ≤ _Wtst_ <sup>_t_</sup> _tst_ <sup>_upW_</sup> _tst_ <sup>_cap_</sup> _tst_ _tst_ _εtst_ <sup>_chr,t_</sup> + _εtst_ <sup>_dis,t_</sup> = 1 _tst_ <sup>_chr,t_</sup> + _εtst_ <sup>_dis,t_</sup> _tst_ <sup>_t_</sup> <sup>≤</sup> <sup>_π_</sup> _tst_ <sup>_up_</sup> _εtst_ <sup>_chr,t_</sup> + _εtst_ <sup>_dis,t_</sup> = 1 _εtst_ <sup>_chr,t_</sup> _, εtst_ <sup>_dis,t_</sup> ∈{0 _,_ where _εtst_ <sup>_chr,t_</sup> where _εtst_ <sup>_chr,t_</sup> is the binary variable denoting the storing state of the thermal storage tank at period _t_ ; _εtst_ <sup>_dis,t_</sup> is the binary variable denoting the releasing state of the thermal storage tank at period _t_ ; _λ_ <sup>_chr_</sup> _tst_ <sup>is</sup> <sup>the</sup> <sup>coefficient</sup> <sup>of</sup> <sup>the</sup> <sup>storing</sup> <sup>power</sup> limit; _λ_ <sup>_dis_</sup> _tst_ <sup>is the coefficient of the releasing power limit;</sup> <sup>_η_</sup> _tst_ <sup>_chr_</sup> _K_ <sup>_b,k_</sup> _Ts_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_k_</sup> _s_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_k_</sup> <sup>−</sup> <sup>_T t_</sup>  + _Tam_ <sup>_t_</sup> ∀ _b_ ∈ _�pipe_ _Ts_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_t_</sup> <sup>=</sup> <sup>_ξ_</sup> <sup>_b_</sup>   _t_ - _γ_ <sup>_b_</sup> _am_  + _Tam_ <sup>_t_</sup>  (14) <sup>_dis_</sup> _tst_ <sup>is the coefficient of the releasing power limit;</sup> <sup>_η_</sup> _tst_ <sup>_chr_</sup> _Tr_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_t_</sup> <sup>=</sup> <sup>_ξ_</sup> <sup>_b_</sup> _tst_ <sup>is the coefficient of the releasing power limit;</sup> <sup>_η_</sup> _tst_ is the storing efficiency of the thermal storage tank; _ηtst_ <sup>_dis_</sup> <sup>is the</sup> _k_ = _t_ - _β_ <sup>_b_</sup>  _t_ - _γ_ <sup>_b_</sup>  _k_ = _t_ - _β_ <sup>_b_</sup> _K_ <sup>_b,k_</sup> _Tr_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_k_</sup> _r_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_k_</sup> <sup>−</sup> <sup>_T t_</sup> _am_  is the storing efficiency of the thermal storage tank; _ηtst_ <sup>_dis_</sup> <sup>is the</sup> releasing efficiency of the thermal storage tank; _πtst_ <sup>_low_</sup> is the lower limit coefficient of the energy level; _πtst_ <sup>_up_</sup> <sup>is</sup> <sup>the</sup> <sup>upper</sup> _tst_ <sup>_up_</sup> <sup>is</sup> <sup>the</sup> <sup>upper</sup>    In (17), _c_ is the specific heat capacity of water, kJ/(kg· <sup>◦</sup> C); _λ_ <sup>_b_</sup> is the heat transfer coefficient of pipeline _b_, kW/(m· <sup>◦</sup> C). _b:_ _Nodes: Energy Conservation and Temperature Mixing_ At the source node of the heating network, the heat power injected into the network can be calculated as follows: _r,out_ (18) _ms_ <sup>_b_</sup> _pipe_ _Q_ <sup>_t_</sup> _hn_ <sup>=</sup> <sup>_c_</sup> <sup>·</sup> - _Ts_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> _s_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> <sup>−</sup> <sup>_T b_</sup> _r,_ <sup>_,_</sup> _out_ <sup>_t_</sup> _b_ ∈ _�_ <sup>_src_</sup> _pipe_ where _�_ <sup>_src_</sup> _pipe_ <sup>is the index set of the pipelines connected with</sup> the source node. At the load node of the heating network, the heat power supplied to the loads can be calculated as follows: FIGURE 2. Structure of the heating network. _Q_ <sup>_k_</sup> _load_ <sup>_,t_</sup> <sup>_k_</sup> _load_ <sup>_,t_</sup> <sup>=</sup> <sup>_c_</sup> <sup>·</sup> <sup>_msb_</sup> _r,in_ - ∀ _k_ ∈ I <sup>_load_</sup> _node_ _pipe_ _pipe_ <sup>_load_</sup> _node_ <sup>_, b_</sup> <sup>∈</sup> <sup>_�k_</sup> - _Ts_ <sup>_b_</sup> _,_ <sup>_,t_</sup> _s_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_t_</sup> <sup>−</sup> <sup>_T_</sup> _r_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> (19) where _�pipe_ is the index set of the pipelines; _Ts_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_k_</sup> <sup>is the inlet</sup> water temperature of the supply pipeline _b_ at period _k_, <sup>◦</sup> C; _T_ <sup>_b,k_</sup> _r,in_ <sup>is</sup> <sup>the</sup> <sup>inlet</sup> <sup>water</sup> <sup>temperature</sup> <sup>of</sup> <sup>the</sup> <sup>return</sup> <sup>pipeline</sup> <sup>_b_</sup> at period _k_, <sup>◦</sup> C; _Ts_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_k_</sup> <sup>is</sup> <sup>the</sup> <sup>outlet</sup> <sup>water</sup> <sup>temperature</sup> <sup>of</sup> <sup>the</sup> supply pipeline _b_ at period _k_, <sup>◦</sup> C; _Tr_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_k_</sup> <sup>is</sup> <sup>the</sup> <sup>outlet</sup> <sup>water</sup> temperature of the return pipeline _b_ at period _k_, <sup>◦</sup> C; _Tam_ <sup>_t_</sup> <sup>is</sup> the ambient temperature of the heating network at period _t_, ◦C; and _γ b_, _βb_, _K b,k_, and _ξ_ _b_ are parameters. _γ_ <sup>_b_</sup> and _β_ <sup>_b_</sup> are related to the transmission delay of the pipeline _b_ . _K_ <sup>_b,k_</sup> is the ratio of the mass flow flowing in the pipeline _b_ at period _t_ - _k_ to the current mass flow flowing out of the pipeline _b_ . _ξ_ <sup>_b_</sup> is the temperature drop ratio of pipeline _b_ . These parameters can be calculated based on the node method, as follows: where I <sup>_load_</sup> _node_ where I <sup>_load_</sup> _node_ <sup>is</sup> <sup>the</sup> <sup>index</sup> <sup>set</sup> <sup>of</sup> <sup>the</sup> <sup>load</sup> <sup>nodes</sup> <sup>in</sup> <sup>the</sup> <sup>heating</sup> network; and _�_ <sup>_k_</sup> _pipe_ <sup>is</sup> <sup>the</sup> <sup>index</sup> <sup>set</sup> <sup>of</sup> <sup>pipelines</sup> <sup>connected</sup> with the load node _k_ . According to the energy conservation law, the energy flowing into the node should be equal to that flowing out of the node. Hence, we have:  - - _Ts_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_t_</sup> <sup>·</sup> <sup>_msb_</sup> _pipe_ - = _Ts_ <sup>_k_</sup> _,_ <sup>_,_</sup> _node_ <sup>_t_</sup> - _ms_ <sup>_b_</sup> _pipe_ _b_ ∈ _�_ <sup>_k_</sup> _pipe_ - _b_ ∈ _�_ <sup>_k_</sup> _pipe_  ∀ _k_ ∈ I <sup>_inter_</sup> _node_ _pipe_ _pipe_ _ms_ <sup>_b_</sup> - _Ts_ <sup>_b_</sup> _,_ <sup>_,t_</sup> _s_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_t_</sup> <sup>·</sup> <sup>_msb_</sup> - = _Ts_ <sup>_k_</sup> _,_ <sup>_,t_</sup> _s,node_ _b_ ∈ _�_ <sup>_k_</sup> _pipe_ _b_ ∈ _�_ <sup>_k_</sup> _pipe_ ∀ _k_ ∈ I <sup>_inter_</sup> _node_ _node_ - - _T_ <sup>_b,t_</sup> - = _T_ <sup>_k,t_</sup> _pipe_ _ms_ <sup>_b_</sup> _pipe_ (20) - = _Tr_ <sup>_k_</sup> _,_ <sup>_,t_</sup>  - _Tr_ <sup>_b_</sup> _,_ <sup>_,t_</sup> _r_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_t_</sup> <sup>·</sup> <sup>_msb_</sup> ∀ _k_ ∈ I <sup>_inter_</sup> _node_ _r,node_ _b_ ∈ _�_ <sup>_k_</sup> _pipe_ + _b_ ∈ _�_ <sup>_k_</sup> _pipe_ + ≥ where I <sup>_inter_</sup> _node_ <sup>_inter_</sup> _node_ <sup>is the index set of the intersection nodes;</sup> <sup>_�k_</sup> - _ms_ <sup>_b_</sup> _pipe_ <sup>_�t_</sup> - _ms_ <sup>_b_</sup> _γ_ <sup>_b_</sup> = min _n_ _β_ <sup>_b_</sup> = min _m_ _n_ : _s.t._ ( _n_ + 1) · _ρA_ <sup>_b_</sup> _l_ <sup>_b_</sup> _, m_ ≥ 0 _, m_ ∈ Z _ρA_ <sup>_b_</sup> _l_ <sup>_b_</sup> _, n_ ≥ 0 _, n_ ∈ Z - _ms_ <sup>_b_</sup> _pipe_ <sup>_�t_</sup> - _ms_ <sup>_b_</sup> ≥ _m_ : _s.t. m_ <sup>_t_</sup> (15) where I <sup>_inter_</sup> _node_ <sup>is the index set of the intersection nodes;</sup> <sup>_�_</sup> _pipe_ <sup>_k_</sup> - <sup>is</sup> the index set of the pipelines flowing out of the node _k_ ; _�_ <sup>_k_</sup> _pipe_ + is the index set of the pipelines flowing into the node _k_ ; _Ts_ <sup>_k_</sup> _,_ <sup>_,_</sup> _node_ <sup>_t_</sup> is the supply water temperature at the node _k_ at period _t_, <sup>◦</sup> C; _T_ <sup>_k,t_</sup> _r,node_ <sup>is</sup> <sup>the</sup> <sup>return</sup> <sup>water</sup> <sup>temperature</sup> <sup>at</sup> <sup>the</sup> <sup>node</sup> <sup>_k_</sup> <sup>at</sup> period _t_, <sup>◦</sup> C. Besides, the water flowing out of the same node should have the same temperature, and hence we have: _R_ <sup>_b_</sup> = ( _γ_ <sup>_b_</sup> + 1) - _ms_ <sup>_b_</sup> _pipe_ <sup>_�t_</sup> - _ms_ <sup>_b_</sup> _ms_ <sup>_b_</sup> _pipe_ <sup>_�t_</sup> _ms_ <sup>_b_</sup> - _ρA_ <sup>_b_</sup> _l_ <sup>_b_</sup> + _ms_ <sup>_b_</sup> _pipe_ <sup>_�t_</sup> <sup>−</sup> <sup>_Rb_</sup> <sup>���</sup> - _ρA_ <sup>_b_</sup> _l_ <sup>_b_</sup> + _ms_ <sup>_b_</sup> _k_ = _t_ - _γ_ <sup>_b_</sup> 0 _otherwise_ _,_ _s_ <sup>_k_</sup> _,_ <sup>_,_</sup> _node_ <sup>_t_</sup> ∀ _k_ ∈ I _node, b_ ∈ _�_ <sup>_k_</sup> _r_ <sup>_k_</sup> _,_ <sup>_,_</sup> _node_ <sup>_t_</sup> ∀ _k_ ∈ I _node, b_ ∈ _�_ <sup>_k_</sup> (21) _k_ = _t_ - _β_ <sup>_b_</sup> - _Ts_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> _K_ <sup>_b,k_</sup> =    1 _, k_ = _t_ - _β_ <sup>_b_</sup> + 1 _,_ - · · _, t_ - _γ_ <sup>_b_</sup> - 1 - _R_ <sup>_b_</sup> - _ρA_ <sup>_b_</sup> _l_ <sup>_b_</sup> <sup>���</sup> _ms_ <sup>_b_</sup> _pipe_ <sup>_�t_</sup> _,_ _ms_ <sup>_b_</sup> <sup>_b_</sup> _pipe_ <sup>_�t_</sup> _s,node_ _pipe_ + _Tr_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> <sup>=</sup> <sup>_T_</sup> _r_ <sup>_k_</sup> _,_ <sup>_,_</sup> _node_ <sup>_t_</sup> ∀ _k_ ∈ I _node, b_ ∈ _�_ <sup>_k_</sup> _pipe_ _s_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> <sup>=</sup> <sup>_T_</sup> _s_ <sup>_k_</sup> _,_ <sup>_,t_</sup> _r_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> <sup>=</sup> <sup>_T_</sup> _r_ <sup>_k_</sup> _,_ <sup>_,t_</sup>    _s_ _s_ _Tr_ <sup>min</sup> ≤ _Tr_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> <sup>≤</sup> <sup>_T_</sup> _r_ _s_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_t_</sup> <sup>≤</sup> <sup>_T_</sup> _s_ <sup>max</sup> _pipe_ _,_ <sup><u>3</u></sup> 2 <sup>+</sup> <sup>_ρ_</sup> _ms_ <sup>_<u>Abb</u>_</sup> _pipe_ <sup>_<u>lb</u>_</sup> <sup>−</sup> <sup>_�Rt_</sup> <sup>_b_</sup> - <sup><u>3600</u></sup> <sup>_λb�t_</sup> _A_ <sup>_b_</sup> _ρc_ _γ_ <sup>_b_</sup> + <sup><u>3</u></sup> 2 _c:_ _Temperature limitations_ To ensure the quality of the heating supply, the water temperature of the heating network should be varying within a reasonable range. Hence, we have: _s_ _s_ _Ts_ <sup>min</sup> ≤ _Ts_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_t_</sup> <sup>≤</sup> <sup>_T_</sup> _ms_ <sup>_b_</sup> <sup>_b_</sup> _pipe_ <sup>_�t_</sup> _ξ_ <sup>_b_</sup> = exp _r_ _s_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> <sup>≤</sup> <sup>_T_</sup> <sup>max</sup> _s_ _Ts_ <sup>min</sup> _r_ _r_ _Tr_ <sup>min</sup> ≤ _Tr_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_t_</sup> <sup>≤</sup> <sup>_T_</sup> _s_ <sup>min</sup> ≤ _Ts_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> _s_ <sup>min</sup> ≤ _Ts_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_t_</sup> _r_ <sup>min</sup> ≤ _Tr_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> _r_ <sup>min</sup> ≤ _Tr_ <sup>_b_</sup> _,_ <sup>_,t_</sup> _r_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_t_</sup> <sup>≤</sup> <sup>_T_</sup> _r_ <sup>max</sup> (16) �� (17) (22) In (15), _ms_ <sup>_b_</sup> _pipe_ <sup>is the mass flow rate of the pipeline</sup> <sup>_b_</sup> <sup>, kg/h;</sup> _ρ_ is the water density, kg _/_ m <sup>3</sup> ; _A_ <sup>_b_</sup> is the cross sectional area of pipeline _b_, m <sup>2</sup> ; _l_ <sup>_b_</sup> is the length of pipeline _b_, m; Z is the integer set; and _R_ <sup>_b_</sup> is the total mass flow that flows into the pipeline _b_ from period _t_ - _γ_ <sup>_b_</sup> to _t_ . where _Ts_ <sup>_max_</sup> and _Ts_ <sup>_min_</sup> are the maximum and minimum supply temperature, respectively, <sup>◦</sup> C; _Tr_ <sup>_max_</sup> and _Tr_ <sup>_min_</sup> are the maxi mum and minimum return temperature, respectively, <sup>◦</sup> C. _r_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> <sup>≤</sup> <sup>_T_</sup> _r_ <sup>max</sup> where _Ts_ <sup>_max_</sup> _s_ <sup>_max_</sup> and _Ts_ <sup>_min_</sup> _r_ <sup>_max_</sup> and _Tr_ <sup>_min_</sup> _(6)_ HEAT LOAD CONSTRAINTS _a:_ _Space Heating Load_ The space heating load of buildings is modeled using the equivalent thermal parametric model [36], as follows: III. SOLUTION METHOD _A._ _MODEL FORMULATION_ Based on the above models, the compact form of the proposed two-stage stochastic planning model is as follows: - _<u>�t</u>_ _R_ <sup>_k_</sup> _C_ <sup>_<u>k</u>_</sup> 1 − e min _x_ ∈ _X_ <sup>_c_</sup> <sup>T</sup> <sup>_x_</sup> <sup>+</sup> _u_ ∼ <sup>E</sup> _<u>sh</u>_ <sup>_k_</sup> <sup>_Qk,_</sup> _D_ <sup>_k_</sup> _air_ _Tin_ <sup>_k,t_</sup> <sup>+1</sup> _in_ <sup>_k,t_</sup> <sup>+1</sup> = _Tin_ <sup>_k,t_</sup> <sup>_k,t_</sup> _in_ <sup>e</sup> - _<u>�t</u>_ _R_ <sup>_k_</sup> _C_ <sup>_<u>k</u>_</sup> _air_ _u_ ∼ _U_ _<u>t</u>_ <sup>_<u>k</u>_</sup> _<u>sh</u>_ _air_ + <sup>_Rk_</sup> <sup>_Qk,t_</sup> min min _y_ ∈ _Y_ min _y_ ∈ _Y_ <sup>_d_</sup> <sup>T</sup> <sup>_y (x, u)_</sup> ∀ _k_ ∈ I <sup>_load_</sup> _node_ (23) _X_ = { _x_ | _Ax_ ≤ _b_ } _Y_ = { _y_ | _Ex_ + _Fy_ + _Gu_ ≤ _h_ } (28) + _T_ <sup>˜</sup> _out_ <sup>_t_</sup> - _<u>�t</u>_ 1 − e _R_ <sup>_k_</sup> _Cair_ <sup>_<u>k</u>_</sup> - _<u>�t</u>_ 1 − e _R_ <sup>_k_</sup> _Cair_ <sup>_<u>k</u>_</sup> where _R_ <sup>_k_</sup> is the equivalent thermal resistance of the buildings at load node _k_, <sup>◦</sup> C/kW; _Cair_ <sup>_k_</sup> <sup>is the equivalent thermal capacity</sup> of the buildings at load node _k_, kWh/ <sup>◦</sup> C; _D_ <sup>_k_</sup> is the number of users at load node _k_ ; _T_ <sup>˜</sup> _out_ <sup>_t_</sup> <sup>is</sup> <sup>the</sup> <sup>forecasted</sup> <sup>value</sup> <sup>of</sup> <sup>the</sup> outdoor temperature of buildings at period _t_, <sup>◦</sup> C; _Tin_ <sup>_k,t_</sup> is the indoor temperature of the buildings at load node _k_ at period _t_, ◦C; _Q_ <sup>_k,t_</sup> _sh_ <sup>is the space heating load at load node</sup> <sup>_k_</sup> <sup>at period</sup> <sup>_t_</sup> <sup>.</sup> To ensure the thermal comfort of end-users, the following constraints are added: <sup>_b_</sup> _grid_ <sup>_,t_</sup> <sup>,</sup> <sup>_Ps_</sup> _grid_ <sup>_,t_</sup> <sup>_t_</sup> _hn_ <sup>,</sup> <sup>_T_</sup> _s_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> _s_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> <sup>,</sup> <sup>_T_</sup> _s_ <sup>_b_</sup> _,_ <sup>_,t_</sup> <sup>_t_</sup> _gt_ <sup>,</sup> <sup>_Qt_</sup> <sup>_t_</sup> _gb_ <sup>,</sup> <sup>_Pt_</sup> _s_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_t_</sup> <sup>,</sup> <sup>_T_</sup> _r_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> _r_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> <sup>,</sup> <sup>_T_</sup> _r_ <sup>_b_</sup> _,_ <sup>_,t_</sup> <sup>_chr_</sup> _tst_ <sup>_,t_</sup>, _Q_ <sup>_dis_</sup> _tst_ <sup>_,t_</sup> _in_ <sup>_k,t_</sup> <sup>,</sup> <sup>_Qk_</sup> _sh_ <sup>_,t_</sup> <sup>_t_</sup> _tst_ <sup>,</sup> <sup>_Qt_</sup> _hn_ <sup>_s_</sup> _grid_ <sup>_,t_</sup> <sup>,</sup> <sup>_Pt_</sup> _gt_ <sup>_t_</sup> <sup>,</sup> <sup>_Qt_</sup> _dhw_ <sup>_k,t_</sup> <sup>,</sup> <sup>_ε_</sup> _bt_ <sup>_chr,t_</sup> _res_ <sup>_t_</sup> <sup>,</sup> <sup>_Pchr_</sup> _bt_ <sup>_,t_</sup> _bt_ <sup>_chr,t_</sup>, _εbt_ <sup>_dis,t_</sup> <sup>_chr_</sup> _bt_ <sup>_,t_</sup>, _P_ <sup>_dis_</sup> _bt_ <sup>_,t_</sup>, _bt_ <sup>_dis,t_</sup>, _εtst_ <sup>_chr,t_</sup> _r_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_t_</sup> <sup>,</sup> <sup>_T_</sup> _s_ <sup>_k_</sup> _,_ <sup>_,t_</sup> <sup>_dis_</sup> _bt_ <sup>_,t_</sup>, _Wbt_ <sup>_t_</sup> _w_ <sup>_k,t_</sup> <sup>,</sup> <sup>_Q_</sup> _dhw_ <sup>_k,t_</sup> <sup>_dis_</sup> _tst_ <sup>_,t_</sup> <sup>,</sup> <sup>_W t_</sup> _tst_ <sup>_k_</sup> _load_ <sup>_,t_</sup> <sup>,</sup> <sup>_T_</sup> _in_ <sup>_k,t_</sup> <sup>_k_</sup> _sh_ <sup>_,t_</sup> <sup>,</sup> <sup>_T_</sup> _w_ <sup>_k,t_</sup> _r_ <sup>_k_</sup> _,_ <sup>_,_</sup> _node_ <sup>_t_</sup> <sup>_,Qk_</sup> _load_ <sup>_,t_</sup> _in_ <sup>min</sup> ≤ _Tin_ <sup>_i,t_</sup> _Tin_ <sup>min</sup> _in_ <sup>_i,t_</sup> <sup>≤</sup> <sup>_T_</sup> _in_ <sup>max</sup> _in_ _in_ - _T_ <sup>_i,t_</sup> _Tin_ <sup>_i,t_</sup> _in_ <sup>_opt_</sup> (24) _in_ <sup>_i,t_</sup> <sup>=</sup> <sup>_N_</sup> <sup>·</sup> <sup>_T_</sup> _in_ <sup>_opt_</sup> _t_ ∈N _in_ <sup>_max_</sup> and _Tin_ <sup>_min_</sup> where _x_ is the first-stage decision variables (i.e., planning decision variables), including the battery capacity _Wbt_ <sup>_cap_</sup> and the thermal storage tank _Wtst_ <sup>_cap_</sup> <sup>;</sup> <sup>_y_</sup> <sup>is</sup> <sup>the</sup> <sup>second-stage</sup> <sup>deci-</sup> sion variables (i.e., operation decision variables), including the output of devices, heating network states, and building states, i.e., _P_ <sup>_b_</sup> _grid_ <sup>_,t_</sup> <sup>,</sup> <sup>_Ps_</sup> _grid_ <sup>_,t_</sup> <sup>,</sup> <sup>_P_</sup> _gt_ <sup>_t_</sup> <sup>,</sup> <sup>_Qt_</sup> _gt_ <sup>,</sup> <sup>_Qt_</sup> _gb_ <sup>,</sup> <sup>_P_</sup> _res_ <sup>_t_</sup> <sup>,</sup> <sup>_Pchr_</sup> _bt_ <sup>_,t_</sup>, _P_ <sup>_dis_</sup> _bt_ <sup>_,t_</sup>, _Wbt_ <sup>_t_</sup> <sup>,</sup> _Q_ <sup>_chr_</sup> _tst_ <sup>_,t_</sup>, _Q_ <sup>_dis_</sup> _tst_ <sup>_,t_</sup> <sup>,</sup> <sup>_W t_</sup> _tst_ <sup>,</sup> <sup>_Qt_</sup> _hn_ <sup>,</sup> <sup>_T_</sup> _s_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> <sup>,</sup> <sup>_T_</sup> _s_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_t_</sup> <sup>,</sup> <sup>_T_</sup> _r_ <sup>_b_</sup> _,_ <sup>_,_</sup> _in_ <sup>_t_</sup> <sup>,</sup> <sup>_T_</sup> _r_ <sup>_b_</sup> _,_ <sup>_,_</sup> _out_ <sup>_t_</sup> <sup>,</sup> <sup>_T_</sup> _s_ <sup>_k_</sup> _,_ <sup>_,_</sup> _node_ <sup>_t_</sup> <sup>,</sup> _Tr_ <sup>_k_</sup> _,_ <sup>_,_</sup> _node_ <sup>_t_</sup> <sup>_,Qk_</sup> _load_ <sup>_,t_</sup> <sup>,</sup> <sup>_T_</sup> _in_ <sup>_k,t_</sup> <sup>,</sup> <sup>_Qk_</sup> _sh_ <sup>_,t_</sup> <sup>,</sup> <sup>_T_</sup> _w_ <sup>_k,t_</sup> <sup>,</sup> <sup>_Q_</sup> _dhw_ <sup>_k,t_</sup> <sup>,</sup> <sup>_ε_</sup> _bt_ <sup>_chr,t_</sup>, _εbt_ <sup>_dis,t_</sup>, _εtst_ <sup>_chr,t_</sup>, and _εtst_ <sup>_dis,t_</sup> <sup>;</sup> <sup>_u_</sup> <sup>is</sup> <sup>the</sup> <sup>random</sup> <sup>variables,</sup> <sup>including</sup> <sup>the</sup> <sup>forecasted</sup> value of the renewable energy _P_ <sup>˜</sup> <sup>_t_</sup> _res_ <sup>,</sup> <sup>the</sup> <sup>forecasted</sup> <sup>value</sup> <sup>of</sup> the electrical load _P_ <sup>_t_</sup> _load_ <sup>, the forecasted value of the outdoor</sup> temperature _T_ <sup>˜</sup> _out_ <sup>_t_</sup> <sup>,</sup> <sup>and</sup> <sup>the</sup> <sup>forecasted</sup> <sup>value</sup> <sup>of</sup> <sup>the</sup> <sup>hot</sup> <sup>water</sup> mass _M_ <sup>˜</sup> _w_ <sup>_k,_</sup> _,_ <sup>_t_</sup> _out_ <sup>;</sup> <sup>_X_</sup> <sup>is the feasible region of the decisions</sup> <sup>_x_</sup> <sup>;</sup> <sup>_Y_</sup> <sup>is</sup> the feasible region of the decisions _y_ ; _U_ is the probability distribution functions of _u_ ; _c_, _d_, _b_, and _h_ are the constant vectors; _A_, _E_, _F_ and _G_ are the constant matrix. In the model (28), the first-stage objective _c_ <sup>T</sup> _x_ is defined as (1), and the second-stage objective _d_ <sup>T</sup> _y_ ( _x, u_ ) is defined as (3)∼(6). The feasible region _X_ is defined as (2). The feasible region _Y_ is defined as (7)∼(14) and (18)∼(27). The probability distribution function _U_ can be determined based on the historical data of the random variables _u_, and the Weibull distribution and Gaussian distribution are commonly-used to model the random variables. In summary, the proposed model optimizes the optimal capacity of the HESS in the first stage and makes the optimal dispatch decisions in the second stage. Various uncertainties, including renewable energy, the electrical load, and the outdoor temperature, are considered in the proposed model. Hence, it can coordinate the planning and operation of CMES under uncertainties. _B._ _DETERMINISTIC EQUIVALENCE_ The model (28) is usually intractable and cannot be solved by off-the-shelf solvers. To obtain a tractable formulation, we assume that the random variables _u_ have a finite number of realizations, denoted as scenarios _u_ 1, _u_ 2 _, . . ., uM_ . The possibilities of these scenarios are assumed as _ω_ 1, _ω_ 2 _, . . ., ωM_ . Then, the model (28) can be reformulated into the following deterministic model: where _N_ is the length of the decision period; _Tin_ <sup>_max_</sup> _in_ _in_ are the maximum and minimum indoor temperature for thermal comfort, <sup>◦</sup> C; _Tin_ <sup>_opt_</sup> is the expected indoor temperature, <sup>◦</sup> C. _in_ <sup>_opt_</sup> is the expected indoor temperature, <sup>◦</sup> C. _b:_ _Domestic hot water load_ The heat load for the domestic hot water is modeled using the first-order dynamic model [39], [40], as follows: _w_ <sup>_k,t_</sup> - _Tw_ <sup>_cold_</sup> _<u>dhw</u>_ + <sup>3600</sup> <sup>_Qk,t_</sup> _cD_ <sup>_k_</sup> _Mw_ <sup>_k_</sup> _w_ _Tw_ <sup>_k,t_</sup> <sup>+1</sup> _w_ <sup>_k,t_</sup> _w_ <sup>_k,t_</sup> <sup>+1</sup> = _Tw_ <sup>_k,t_</sup> _M_ ˜ _<u>w</u>_ <sup>_k,_</sup> _<u>,</u>_ <sup>_t_</sup> _<u>out</u>_ _Mw_ <sup>_k_</sup> - _Tw_ <sup>_k,t_</sup> _<u>dhw</u>_ + <sup>3600</sup> <sup>_Qk,t_</sup> ∀ _k_ ∈ I <sup>_load_</sup> _node_ (25) _w_ <sup>_k_</sup> <sup>is the water tank capacity at load node</sup> <sup>_k_</sup> <sup>, kg;</sup> <sup>_M_</sup> <sup>˜</sup> _w_ <sup>_k,_</sup> _,_ <sup>_t_</sup> where _Mw_ <sup>_k_</sup> where _Mw_ <sup>_k_</sup> <sup>is the water tank capacity at load node</sup> <sup>_k_</sup> <sup>, kg;</sup> <sup>_M_</sup> <sup>˜</sup> _w_ <sup>_k,_</sup> _,_ <sup>_t_</sup> _out_ is the forecasted hot water mass consumed by users at load node _k_ at period _t_, kg _/_ h; _Tw_ <sup>_cold_</sup> is the cold water temperature injected into the water tank, <sup>◦</sup> C; _Tw_ <sup>_k,t_</sup> is the temperature of the hot water at load node _k_ at period _t_, <sup>◦</sup> C; _Q_ <sup>_k,t_</sup> _dhw_ <sup>is the heat load</sup> of the hot water at load node _k_ at period _t_, kW. The water temperature should be kept in a reasonable range to ensure user satisfaction, as follows. _w_ <sup>min</sup> ≤ _Tw_ <sup>_i,t_</sup> _Tw_ <sup>min</sup> _w_ <sup>_i,t_</sup> <sup>≤</sup> <sup>_T_</sup> _w_ <sup>max</sup> _w_ _w_ - _T_ <sup>_i,t_</sup> _Tw_ <sup>_i,t_</sup> _w_ <sup>_opt_</sup> (26) _w_ <sup>_i,t_</sup> <sup>=</sup> <sup>_N_</sup> <sup>·</sup> <sup>_T_</sup> _w_ <sup>_opt_</sup> _t_ ∈N where _Tw_ <sup>_max_</sup> _w_ <sup>_max_</sup> and _Tw_ <sup>_min_</sup> where _Tw_ <sup>_max_</sup> and _Tw_ <sup>_min_</sup> are the maximum and minimum water temperature, respectively, <sup>◦</sup> C; _Tw_ <sup>_opt_</sup> is the expected water temperature, <sup>◦</sup> C. Then, the heat load supplied for the load node can be calculated as follows: _M_ _x,y_ 1 _,_ min _y_ 2 _,_ ··· _,yM_ <sup>_c_</sup> <sup>T</sup> <sup>_x_</sup> <sup>+</sup> _i_ =1 _s.t. Ax_ ≤ _b_ _ωiyi_ _Q_ <sup>_k_</sup> _load_ <sup>_,t_</sup> <sup>_k_</sup> _load_ <sup>_,t_</sup> <sup>=</sup> <sup>_Qk_</sup> _sh_ <sup>_,t_</sup> <sup>_k_</sup> _sh_ <sup>_,t_</sup> <sup>+</sup> <sup>_Qk_</sup> _dhw_ <sup>_,t_</sup> <sup>_k_</sup> _dhw_ <sup>_,t_</sup> <sup>∀</sup> <sup>_k_</sup> <sup>∈</sup> <sup>I</sup> _node_ <sup>_load_</sup> _node_ <sup>_load_</sup> (27) _Ex_ + _Fyi_ - _Gui_ ≤ _h_ _i_ = 1 _,_ 2 _,_ - · · _, M_ (29) where _yi_ is the second-stage decision variables under the scenario _ui_ . The scenarios _u_ 1, _u_ 2 _, . . ., uM_ can be generated by sampling from the probability distribution functions of the random variables _u_ . Many methods can be used to generate the scenarios, including simple random sampling, importance sampling, Latin hypercube sampling, and so on. In this paper, we choose the Latin hypercube sampling method because of its advantages in spreading the sample points more evenly [6]. In summary, the model (29) is a MILP model, which can be solved easily by off-the-shelf solvers such as CPLEX and GUROBI. IV. CASE STUDIES A hypothesis CMES located in the Northeast of China is used for simulation to verify the effectiveness of the proposed two-stage stochastic planning model. The structure of the system is given in FIGURE 3. The CMES has been equipped with a 4MW gas turbine, a 4WM gas boiler, and photovoltaic cells with a total capacity of 10MW. The current task is to equip the CMES with the HESS, including battery and thermal storage tank, to enhance the operational flexibility. The simulation is performed on a personal computer with an i7 CPU and 16GB RAM. The simulation platform is Matlab 2020b, and the MILP model is used by GUROBI [41]. FIGURE 3. Structure of the heating network. _A._ _SYSTEM PARAMETERS AND SIMULATION SETTINGS_ The parameters used in the simulation are given in TABLE 2. The voltage of node 0 in the electrical network is set to 1.05p.u. The upper and lower limits of the voltage are set to 1.1p.u. and 0.9p.u., respectively. The supply and return temperature ranges of the heating network are set to 70∼100 <sup>◦</sup> C and 40∼75 <sup>◦</sup> C, respectively. The annual operation days of the CMES are divided into four types based on the seasons, i.e., spring (21 Jan-20 Apr), summer (21 Apr-20 Jul), autumn (21 Jul-14 Oct), and winter (15 Oct-20 Jan). The four seasons all have the domestic hot water demand, but only winter and spring have the space heating demand. The unit investment cost of the battery and the thermal storage tank is set to 500¥/kWh and 100¥/kWh, respectively. The forecast errors of the electrical load, solar power, outdoor temperature, and water domestic hot water mass are assumed to follow a FIGURE 4. Scenarios: (a) Power of photovoltaic cells; (b) electrical load; (c) outdoor temperature of buildings; and (d) Domestic hot water. TABLE 2. Parameters of devices in the CMES. TABLE 3. Settings of cases. normal distribution with a mean of 0 and a standard deviation of 20%. Fifty scenarios are generated for each season, respectively, and thus there are 200 scenarios finally. The scenarios are given in FIGURE 4. Because there is no space heating demand in summer and autumn, the outdoor temperature scenarios only include the spring and winter data. Four cases are set to investigate the impact of the thermal inertia on the planning results, whose details are given in TABLE 3. _B._ _PLANNING RESULTS ANALYSIS_ The planning results of the four cases are given in TABLE 4 and TABLE 5. In Case 1, because the thermal inertia in of TABLE 4. Annual investment and operational costs. TABLE 5. Investment capacity of HESS. the heating network, space heating demand, and hot water demand are all ignored, the total cost is the most expensive in these cases, and the invested capacity of the battery and thermal storage tank is also the largest. In Case 2, the thermal inertia of heating network and space heating demand is considered, which reduces the total cost by 6.7% compared with Case 1. The planned capacity of the battery and thermal storage tank is reduced by 1.03MW and 4.85MW compared with Case 1, respectively. An interesting result is that the capacity of the thermal storage tank is the smallest in these cases, indicating that the thermal inertia of buildings contributes considerable thermal storage ability to the operation of CMES. In Case 3, the thermal inertia of the heating network and domestic hot water demand is considered, which reduces the total cost by 8.6% compared with Case 1. The planned capacity of the battery and thermal storage tank is reduced by 1.40MW and 2.33MW compared with Case 1, respectively. Compared with Case 2, the annual total cost is reduced, but the capacity of the thermal storage tank is increased. The reasons are twofold. Firstly, the space heating demand in summer and autumn is zero while the domestic hot water demand exists during the whole year, and hence in Case 3 the thermal inertia of domestic hot water can provide operational flexibility in the whole year, which reduces more operational cost. Secondly, the thermal inertia of domestic hot water demand is smaller than that of the space heating demand, and hence more thermal storage tank capacity needed to be installed to offer the required operational flexibility for CMES. In Case 4, the thermal inertia of heating network, space heating demand, and domestic hot water demand is considered, which reduces the total cost by 10.2% compared with Case 1. The planned capacity of the battery and thermal storage tank is reduced by 2.71MW and 2.30MW compared with Case 1, respectively. Interestingly, in this case, the capacity of the battery decreases while that of the thermal storage tank increases compared with Case 2 and Case 3. The reason is FIGURE 5. Details of the annual cost of CMES in each case. TABLE 6. Impact of battery location on the planning results. that the unit investment cost of the battery is higher than the thermal storage tank. The capacity of the thermal storage tank in Case 3 and Case 4 is very close, indicating that the extra thermal inertia offered by the space heating demand is used to decrease the investment capacity of the battery in Case 4. To reveal the impact of the thermal inertia of the heating network, space heating demand, and domestic hot water demand on the annual investment cost, fuel cost, transaction cost with grid, and maintenance cost, the details of the annual cost results in each case are given in FIGURE 5. In the planning results of all four cases, the optimal installation location of the battery is node 1 of the electrical network in FIGURE 3, i.e., the solar cells node. For the heat storage tank, we assume that it is installed in the source node of the heating network to operate with the heat source because it is usually the case in practical engineering. To investigate the impact of the battery installation locations on the planning results, based on the settings of Case 4, we test several subcases in which the location of the battery is set to nodes 1-3, respectively. The planning results are given in TABLE 6. The results indicate the worst installment location is node 3, and in this subcase, the investment cost and operational cost are increased by 7.7% and 2.6%, respectively. The difference between installing the battery at node 1 and node 2 is very small and can be ignored. Besides, another interesting result is that the location of the battery affects the capacity of the thermal storage tank, and the better the location, the smaller the capacity. In summary, the results verify the effectiveness of the proposed planning model. The results also show that the thermal inertia of the heating system can efficiently reduce both the HESS investment cost and system operational cost of the CMES. It can be concluded from the results that the FIGURE 6. Electrical power of gas turbine in different scenarios: (a) Spring; (b) Summe; (c) Autum; and (d) Winter. HESS can enhance the operational flexibility for the CMES but only needs minimal investment cost. _C._ _OPERATION RESULTS ANALYSIS_ 1) ELECTRICAL POWER RESULTS In the following, the operation results in Case 4 are analyzed. The electrical power of the gas turbine in different scenarios is given in FIGURE 6. The results show that the output of the gas turbine has large differences in different seasons. In the heating seasons (i.e., spring and winter), the output of the gas turbine keeps high during 00:00∼8:00, in which the electrical load is at a low level. The reason is that the outdoor temperature during this period is low, and hence more heat power is needed for space heating. Therefore, the gas turbine keeps a high output to meet the heat demand. Overall, the output of the gas turbine has a similar trend in the heating seasons. The output of the gas turbine during 00:00∼08:00 is very low in summer but has a large fluctuation in autumn. The output of the gas turbine has a similar trend during 16:00∼24:00 in summer and autumn. Moreover, In the same season, the output of the gas turbine in different scenarios has some differences, and the differences are large during 8:00∼16:00 and small during 00:00∼08:00 and 16:00∼24:00. Based on this result, we can conclude that in the same season, the output of the gas turbine varies a little when the electrical and heat loads are extremely high or extremely low but varies largely when the loads are at a moderate level. The reason for this result is that the extreme load level will reduce the operational flexibility of the CMES. 2) HEATING POWER RESULTS The injected heat power results of the heating network in different scenarios are given in FIGURE 7. In the heating seasons, there are space heating demand and domestic hot water demand, and hence the heat load keeps at a high level. In summer and autumn, there is only domestic hot water demand in the community, and hence the heat load keeps at a moderate level. The interesting thing is that the curves of the injected heat power of the heating network have a FIGURE 7. Injected heat power of heating network: (a) Spring; (b) Summe; (c) Autum; and (d) Winter. similar tendency with the curves of the gas turbine output. This result indicates that the output of the gas turbine largely depends on the heat load of the community. Based on the above results, we can conclude that the proposed two-stage stochastic planning model can not only determine the optimal HESS size but only coordinate the operation of the CMES. 3) IMPACT OF BATTERY STORAGE ON VOLTAGE PROFILES To investigate the impact of the battery storage on voltage profiles, we set the capacity of the battery storage tank to 0 and the capacity of the thermal storage tank to the same value as in Case 4. We denote this case as Case 5. Under this setting, the proposed two-stage stochastic model degrades into a single-stage operation model. The operational cost of Case 5 is 2382 _._ 4 × 10 <sup>4</sup> ¥, increasing by 3.6% compared with Case 4. The increased cost is much higher than the investment cost of the battery, indicating that installing the battery storage is economically advantageous. In Case 4 and 5, the voltage profiles of all the scenarios are given in FIGURE 8. The results show that the installation of battery storage can improve the voltages of each node. During 00:00∼06:00 and 16:00∼24:00, compared with Case 5, the voltage fluctuation ranges of Case 4 are reduced greatly by the battery. During 8:00∼16:00, the voltages of all the nodes are at a high level because the electrical power generation in the CMES exceeds the load and is feedbacked into the main grid. Therefore, we can conclude that the battery installation can not only affect the operational cost and but also improve the power quality. 4) IMPACT OF THERMAL ENERGY STORAGE ON SUPPLY AND RETURN TEMPERATURE To investigate the impact of the thermal storage on the supply and return temperature of the heating network, we set the capacity of the thermal storage tank to 0 and the capacity of the battery storage to the same value as in Case 4. We denote this case as Case 6. Similar to Case 5, under this setting, the proposed two-stage stochastic model degrades FIGURE 8. Voltage profiles: (a) Node 1 in Case 4; (b) Node 1 in Case; (c) Node 2 in Case; (d) Node 2 in Case; (e) Node 3 in Case; (d) Node 3 in Case 5. FIGURE 9. (a) Supply temperature in Case 4; (b) Supply temperature in Case; (c) Return temperature in Case; (d) Return temperature in Case 6. into a single-stage operation model. The operational cost of Case 6 is 2423 _._ 1 × 10 <sup>4</sup> ¥, increased by 5.4% compared with Case 4. The increased cost is much higher than the investment cost of the thermal storage tank, indicating that installing the thermal storage tank is economically advantageous. In Case 4 and 6, the supply and return temperatures of all the scenarios are given in FIGURE 9. Overall, the results show that the impacts of the thermal storage tank on the supply and return temperatures are not significant. The impact is relatively large during 00:00∼06:00 and 17:00∼21:00. However, these differences do not affect the heating quality since the thermal comfort constraints can be satisfied in both Case 4 and 6. Therefore, we can conclude that installing the thermal storage tank has a considerable impact on the operational cost but little impact on the heating quality. In summary, the simulation results demonstrate the effectiveness of the proposed planning model for the HESS in the CMES. The results show that the allocation of HESS in the CMES brings just a few investment costs but brings considerable benefits for the system operation. Therefore, the proposed method has potential engineering application value. V. CONCLUSION This paper focuses on the HESS planning problem in a community multi-energy system. A two-stage stochastic programming model is proposed to coordinate the HESS planning and the operation of the system, in which diverse uncertain factors, including the renewable energy power, electrical load, the outdoor temperature of buildings, and the domestic hot water of users, are considered. Then, the proposed model is converted into a mixed-integer linear programming model that can be solved efficiently by offthe-shelf solvers. Case studies verify the effectiveness of the proposed methods. Several important conclusions can be obtained from the results, as follows: (1) The investment cost of the HESS accounts for only a small part of the annual cost of CMES, while the benefits brought by the HESS are considerable. This result demonstrates the applicability and practical value of this work in real engineering. (2) The thermal inertia of the heating network and heat load has a consistent advantageous impact on the investment cost of HESS and system operation cost, which can enhance the operational flexibility of the system significantly. Therefore, the results reveal the economic value of the thermal inertia and verify the practical significance of the work. (3) Simulation results indicate that the fuel cost exceeds the total annual cost, and the CMES obtains considerable benefits by selling electricity to the main grid. Therefore, it can be considered that the CMES can meet almost all the electricity and heat energy demands of the community at a lower cost by deploying HESS. Besides, in the practical application, the multi-energy system could be planned in multiple stages to integrate the future evolution trends of different energy demands in a unified manner. This problem will be focused on in our future research. Furthermore, the current research ignores the degradation cost of the energy storage systems. In future research, we will focus on developing more accurate but convenient energy storage degradation models for both the electrical battery model and the thermal energy storage model and investigate the impacts of the degradation cost on the planning results of HESS. REFERENCES [1] S. Chen, P. Liu, and Z. Li, ‘‘Low carbon transition pathway of power sector with high penetration of renewable energy,’’ _Renew. Sustain. Energy Rev._, vol. 130, Sep. 2020, Art. no. 109985. [2] J. M. Weinand, S. Ried, M. Kleinebrahm, R. McKenna, and W. Fichtner, ‘‘Identification of potential off-grid municipalities with 100% renewable energy supply for future design of power grids,’’ _IEEE Trans. Power Syst._, [early access, Oct. 26, 2020, doi: 10.1109/TPWRS.2020.3033747.](http://dx.doi.org/10.1109/TPWRS.2020.3033747) [3] H. Li, Z. Lu, Y. Qiao, B. Zhang, and Y. Lin, ‘‘The flexibility test system for studies of variable renewable energy resources,’’ _IEEE Trans. Power Syst._, vol. 36, no. 2, pp. 1526–1536, Mar. 2021. [4] A. R. Silva and A. Estanqueiro, ‘‘Optimal planning of isolated power systems with near 100% of renewable energy,’’ _IEEE Trans. Power Syst._, vol. 35, no. 2, pp. 1274–1283, Mar. 2020. [5] C. Lv, H. Yu, P. Li, K. Zhao, H. Li, and S. Li, ‘‘Coordinated operation and planning of integrated electricity and gas community energy system with enhanced operational resilience,’’ _IEEE Access_, vol. 8, pp. 59257–59277, 2020. [6] Z. Li and Y. Xu, ‘‘Temporally-coordinated optimal operation of a multi energy microgrid under diverse uncertainties,’’ _Appl._ _Energy_, vol. 240, pp. 719–729, Apr. 2019. [7] S. Lu, W. Gu, S. Zhou, W. Yu, S. Yao, and G. Pan, ‘‘High-resolution mod eling and decentralized dispatch of heat and electricity integrated energy system,’’ _IEEE_ _Trans._ _Sustain._ _Energy_, vol. 11, no. 3, pp. 1451–1463, Jul. 2020. [8] A. Coelho, N. Neyestani, F. Soares, and J. P. Lopes, ‘‘Wind variability mitigation using multi-energy systems,’’ _Int. J. Electr. Power Energy Syst._, vol. 118, Jun. 2020, Art. no. 105755. [9] J. Li, J. Fang, Q. Zeng, and Z. Chen, ‘‘Optimal operation of the integrated electrical and heating systems to accommodate the intermittent renewable sources,’’ _Appl. Energy_, vol. 167, pp. 244–254, Apr. 2016. [10] J. Liu, A. Wang, Y. Qu, and W. Wang, ‘‘Coordinated operation of multi integrated energy system based on linear weighted sum and grasshopper optimization algorithm,’’ _IEEE Access_, vol. 6, pp. 42186–42195, 2018. [11] S. Lu, W. Gu, J. Zhou, X. Zhang, and C. Wu, ‘‘Coordinated dispatch of multi-energy system with district heating network: Modeling and solution strategy,’’ _Energy_, vol. 152, pp. 358–370, Jun. 2018. [12] L. Moretti, E. Martelli, and G. Manzolini, ‘‘An efficient robust optimization model for the unit commitment and dispatch of multi-energy systems and microgrids,’’ _Appl. Energy_, vol. 261, Mar. 2020, Art. no. 113859. [13] S. Lu, W. Gu, S. Zhou, S. Yao, and G. Pan, ‘‘Adaptive robust dis patch of integrated energy system considering uncertainties of electricity and outdoor temperature,’’ _IEEE_ _Trans._ _Ind._ _Informat._, vol. 16, no. 7, pp. 4691–4702, Jul. 2020. [14] Y. Cheng, N. Zhang, D. S. Kirschen, W. Huang, and C. Kang, ‘‘Planning multiple energy systems for low-carbon districts with high penetration of renewable energy: An empirical study in China,’’ _Appl. Energy_, vol. 261, Mar. 2020, Art. no. 114390. [15] Z. Liu, Y. Zhao, and X. Wang, ‘‘Long-term economic planning of combined cooling heating and power systems considering energy storage and demand response,’’ _Appl. Energy_, vol. 279, Dec. 2020, Art. no. 115819. [16] Y. Wang, N. Zhang, Z. Zhuo, C. Kang, and D. Kirschen, ‘‘Mixed-integer linear programming-based optimal configuration planning for energy hub: Starting from scratch,’’ _Appl. Energy_, vol. 210, pp. 1141–1150, Jan. 2018. [17] H. Cheng, J. Wu, Z. Luo, F. Zhou, X. Liu, and T. Lu, ‘‘Optimal planning of multi-energy system considering thermal storage capacity of heating network and heat load,’’ _IEEE Access_, vol. 7, pp. 13364–13372, 2019. [18] W. Yang, W. Liu, C. Y. Chung, and F. Wen, ‘‘Coordinated planning strategy for integrated energy systems in a district energy sector,’’ _IEEE_ _Trans._ _Sustain. Energy_, vol. 11, no. 3, pp. 1807–1819, Jul. 2020. [19] X. Zhang, M. Shahidehpour, A. Alabdulwahab, and A. Abusorrah, ‘‘Opti mal expansion planning of energy hub with multiple energy infrastructures,’’ _IEEE_ _Trans._ _Smart_ _Grid_, vol. 6, no. 5, pp. 2302–2311, Sep. 2015. [20] J. Wang, Z. Hu, and S. Xie, ‘‘Expansion planning model of multi-energy system with the integration of active distribution network,’’ _Appl. Energy_, vol. 253, Nov. 2019, Art. no. 113517. [21] J. Wei, Y. Zhang, J. Wang, X. Cao, and M. A. Khan, ‘‘Multi-period plan ning of multi-energy microgrid with multi-type uncertainties using chance constrained information gap decision method,’’ _Appl._ _Energy_, vol. 260, Feb. 2020, Art. no. 114188. [22] D. Yang, C. Jiang, G. Cai, D. Yang, and X. Liu, ‘‘Interval method based optimal planning of multi-energy microgrid with uncertain renewable generation and demand,’’ _Appl. Energy_, vol. 277, Nov. 2020, Art. no. 115491. [23] A. Velloso, D. Pozo, and A. Street, ‘‘Distributionally robust transmission expansion planning: A multi-scale uncertainty approach,’’ _IEEE_ _Trans._ _Power Syst._, vol. 35, no. 5, pp. 3353–3365, Sep. 2020. [24] B. Odetayo, M. Kazemi, J. MacCormack, W. D. Rosehart, H. Zareipour, and A. R. Seifi, ‘‘A chance constrained programming approach to the integrated planning of electric power generation, natural gas network and storage,’’ _IEEE_ _Trans._ _Power_ _Syst._, vol. 33, no. 6, pp. 6883–6893, Nov. 2018. [25] B. Zhao, A. J. Conejo, and R. Sioshansi, ‘‘Coordinated expansion planning of natural gas and electric power systems,’’ _IEEE_ _Trans._ _Power_ _Syst._, vol. 33, no. 3, pp. 3064–3075, May 2018. [26] Y. Cao, W. Wei, J. Wang, S. Mei, M. Shafie-Khah, and J. P. S. Catalao, ‘‘Capacity planning of energy hub in multi-carrier energy networks: A data-driven robust stochastic programming approach,’’ _IEEE_ _Trans._ _Sustain. Energy_, vol. 11, no. 1, pp. 3–14, Jan. 2020. [27] C. He, L. Wu, T. Liu, and Z. Bie, ‘‘Robust co-optimization planning of interdependent electricity and natural gas systems with a joint N-1 and probabilistic reliability criterion,’’ _IEEE Trans. Power Syst._, vol. 33, no. 2, pp. 2140–2154, Mar. 2018. [28] H. M. Teamah and M. F. Lightstone, ‘‘Numerical study of the elec trical load shift capability of a ground source heat pump system with phase change thermal storage,’’ _Energy Buildings_, vol. 199, pp. 235–246, Sep. 2019. [29] R. Renaldi and D. Friedrich, ‘‘Techno-economic analysis of a solar district heating system with seasonal thermal storage in the UK,’’ _Appl._ _Energy_, vol. 236, pp. 388–400, Feb. 2019. [30] Z. Yan, Y. Zhang, R. Liang, and W. Jin, ‘‘An allocative method of hybrid electrical and thermal energy storage capacity for load shifting based on seasonal difference in district energy planning,’’ _Energy_, vol. 207, Sep. 2020, Art. no. 118139. [31] Y. Wang, F. Song, Y. Ma, Y. Zhang, J. Yang, Y. Liu, F. Zhang, and J. Zhu, ‘‘Research on capacity planning and optimization of regional integrated energy system based on hybrid energy storage system,’’ _Appl._ _Thermal_ _Eng._, vol. 180, Nov. 2020, Art. no. 115834. [32] V. B. Venkateswaran, D. K. Saini, and M. Sharma, ‘‘Environmental con strained optimal hybrid energy storage system planning for an indian distribution network,’’ _IEEE Access_, vol. 8, pp. 97793–97808, 2020. [33] M. S. Javadi, A. Anvari-Moghaddam, and J. M. Guerrero, ‘‘Optimal planning and operation of hybrid energy system supplemented by storage devices,’’ in _Proc. 7th Solar Integr. Workshop_, 2017, pp. 1–6. [34] C. Zhang, Y. Xu, Z. Li, and Z. Y. Dong, ‘‘Robustly coordinated operation of a multi-energy microgrid with flexible electric and thermal loads,’’ _IEEE_ _Trans. Smart Grid_, vol. 10, no. 3, pp. 2765–2775, May 2019. [35] S. Lu, W. Gu, C. Zhang, K. Meng, and Z. Dong, ‘‘Hydraulic-thermal cooperative optimization of integrated energy systems: A convex optimization approach,’’ _IEEE_ _Trans._ _Smart_ _Grid_, vol. 11, no. 6, pp. 4818–4832, Nov. 2020. [36] S. Lu, W. Gu, K. Meng, S. Yao, B. Liu, and Z. Y. Dong, ‘‘Thermal inertial aggregation model for integrated energy systems,’’ _IEEE_ _Trans._ _Power_ _Syst._, vol. 35, no. 3, pp. 2374–2387, May 2020. [37] Z. Li, W. Wu, J. Wang, B. Zhang, and T. Zheng, ‘‘Transmission-constrained unit commitment considering combined electricity and district heating networks,’’ _IEEE_ _Trans._ _Sustain._ _Energy_, vol. 7, no. 2, pp. 480–492, Apr. 2016. [38] C. Lin, W. Wu, B. Zhang, B. Wang, W. Zheng, and Z. Li, ‘‘Decentralized reactive power optimization method for transmission and distribution networks accommodating large-scale DG integration,’’ _IEEE Trans. Sustain._ _Energy_, vol. 8, no. 1, pp. 363–373, Jan. 2017. [39] H. T. Nguyen, D. T. Nguyen, and L. B. Le, ‘‘Energy management for households with solar assisted thermal load considering renewable energy and price uncertainty,’’ _IEEE Trans. Smart Grid_, vol. 6, no. 1, pp. 301–314, Jan. 2015. [40] Q. Shi, C.-F. Chen, A. Mammoli, and F. Li, ‘‘Estimating the profile of incentive-based demand response (IBDR) by integrating technical models and social-behavioral factors,’’ _IEEE_ _Trans._ _Smart_ _Grid_, vol. 11, no. 1, pp. 171–183, Jan. 2020. [41] _Gurobi_ _Optimization_ . Accessed: Nov. 18, 2020. [Online]. Available: https://www.gurobi.com/ XIN SHEN (Member, IEEE) was born in Qujing, Yunnan, China, in 1981. He received the B.Sc. and M.D. degrees from the Kunming University of Science and Technology, in 2003 and 2012, respectively, where he is currently pursuing the Ph.D. degree in automated transmission and transformation with the Department of Mechanical and Electrical Engineering. ZHAO LUO (Member, IEEE) received the B.S. degree in electronic science and technology from the Nanjing University of Posts and Telecommunications, China, in 2008, and the M.S. and Ph.D. degrees in electrical engineering from Southeast University, China, in 2013 and 2018, respectively. He is currently an Associate Professor with the Faculty of Electric Power Engineering, Kunming University of Science and Technology. His research interests include distributed generations, micro-grids, and active distribution networks. JUN XIONG is currently with the Metering Center of Yunnan Power Grid Company Ltd. His research interests include active distribution networks and power system operation. HONGZHI LIU is currently pursuing the master’s degree with the Faculty of Electric Power Engineering, Kunming University of Science and Technology, Kunming, China. His research interests include distributed generations and micro-grids. XIN LV is currently pursuing the master’s degree with the Faculty of Electric Power Engineering, Kunming University of Science and Technology, Kunming, China. Her research interests include distributed generations and micro-grids. TAIYANG TAN is currently with the Metering Center of Yunnan Power Grid Company Ltd. His research interests include active distribution networks and power system operation. JIANWEI ZHANG is currently with the Metering Center of Yunnan Power Grid Company Ltd. His research interests include active distribution networks and power system operation. YUTING WANG is currently with Yunnan Communications Vocational and Technical College. Her research interests include active distribution networks and power system operation. YINGHAO DAI is currently pursuing the master’s degree with the Faculty of Electric Power Engineering, Kunming University of Science and Technology, Kunming, China. His research interests include distributed generations and micro-grids.

섹션 본문 96문단 · 42,507자

(제목 없음)

1The multi-energy system (MES) provides a good environment for the local consumption of renewable energy such as wind and solar power because of its high operational flexibility. In the MES, the hybrid energy storage system (HESS) composed of the battery and thermal storage tank plays an important role in enhancing reliability, economics, and operational flexibility. Hence, determining the optimal size of HESS in the MES is a critical problem but has not received enough attention. In light of this problem, this paper focuses on the optimal HESS planning problem in the community MES (CMES) under diverse uncertainties. Firstly, a two-stage stochastic planning model is proposed for the CMES to coordinate the optimal long-term HESS allocation and the short-term system operation. The thermal inertia in the heating network, space heating demand, and domestic hot water demand is utilized to reduce both the planning and operational cost. Secondly, a deterministic equivalence is proposed for the two-stage planning model to convert it into a mixed-integer linear programming model, which is then solved by off-the-shelf solvers. Finally, simulation results verify the effectiveness of the proposed method. The results reveal that the HESS can enhance the operational flexibility of the CMES but only needs a very few investment costs and prove that the thermal inertia in the CMES can reduce the investment cost of HESS, the fuel, and the operational maintenance cost.INDEX TERMS Battery, community multi-energy system, hybrid energy storage system, mixed-integer linear programming, operational flexibility, renewable energy, thermal storage tank, two-stage stochastic programming, uncertainty.

I. INTRODUCTION

2With the development of the distributed renewable energy generation technology such as wind turbines and photovoltaic cells, the modern power system is becoming more and more green and sustainable [1], [2]. Owing to the inherent intermittent, fluctuation, and randomness of renewable energy sources (RES), it is still a hard problem to promote the local consumption of RES [3], [4]. As a novel form of the energy system, the multi-energy system (MES) couples multi kinds The associate editor coordinating the review of this manuscript and approving it for publication was Behnam Mohammadi-Ivatloo .

3of energy flow, such as electricity, natural gas, and heat, which not only meets the different energy demands of users but also has considerable operational flexibility because of the energy complementary [5], [6]. Hence, the MES is believed to an excellent choice to promote the local consumption of RES and improve energy efficiency [7], [8].

4Lots of research has been focused on the operation problem of MES. In [9], a large-scale nonlinear optimization model is proposed for the electrical and heating systems to enhance the flexibility of power systems, in which a decompositioncoordination algorithm is proposed for solving the model. In [10], a coordinated operation model with a linearized VOLUME 9, 2021 This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/ coupling relationship between energy carriers is proposed for MES, in which the linear weighted sum and grasshopper optimization algorithm are combined to solve the model. In [11], a mixed-integer nonlinear programming model is proposed for the dispatch of MES, for which an iterative optimizationcorrection algorithm is proposed. Several pieces of literature take into consideration the uncertainties in the MES operation. In [12], an affinely adjustable robust optimization model is proposed for MES to coordinate the unit commitment and dispatch under uncertain renewable energy power and energy demands. In [13], a two-stage adaptive robust dispatch model is proposed for MES, in which the uncertainties in both electricity and heat are considered. In summary, the above research has provided good foundations in models and algorithms for the operation problem of MES.

5On the other hand, the reasonable planning of MES is the basis for a stable and economical system operation. Lots of research has been focused on the planning problem of MES. In [14], the optimal configuration problem of two real-world MES in China is studied, in which the impacts of different carbon emission reduction and renewable energy penetration constraints are investigated. In [15], the long-term planning of a CCHP system considering the energy storage and demand response is investigated. In [16], the energy hub concept is used to define the configuration planning problem of MES, which is then formulated into a mixed-integer linear programming (MILP) model. In [17], a MILP model is proposed for the planning of MES, in which both the economic cost and the environmental cost are taken into consideration. In [18], a multi-stage expansion model is proposed for the integrated power, gas, and heat systems, which is then formulated into a mixed-integer nonlinear programming problem and solved by an improved generalized Benders decomposition method. In [19], an optimal expansion planning model is proposed for the energy hub to determine candidates for the combined heat and power (CHP) units, generating units, transmission lines, and gas furnaces, in which the reliability, energy efficiency, and emission of the planning scheme are evaluated. In [20], an expansion model considering the integration of the active distribution network is proposed for MES, in which a modified piecewise linearization method is used to convert the original nonlinear model into a mixed-integer secondorder constrained programming model. The above research has offered an excellent theoretical and methodological basis for the planning problem of MES.

6In the MES planning, a significant problem lies in the different kinds of uncertainties coming from the different subsystems [21], [22]. For example, the renewable energy power in the electrical power system and the outdoor temperature of buildings that directly affects the space heating load of users cannot be forecasted accurately. These uncertainties affect both the planning and operation of the MES, and hence they need to be well addressed in the planning stage to ensure the performance of the MES. The commonly used methods for dealing with the uncertainties in the planning problem include stochastic programming, robust optimization [23], etc. In [24], a chance-constrained stochastic programming model is proposed for the integrated planning of power generation, gas network, and gas storage. In [25], a two-stage stochastic optimization is proposed for the coordinated planning of power system and natural gas system, in which the uncertainties in both the electricity and natural gas demands are considered. In [26], a datadriven two-stage robust stochastic programming model is proposed for determining the optimal capacity of the energy hub, in which the ambiguous probability distributions based on the Kullback-Leibler divergence are used to model the uncertainties in the RES power and loads. In [27], a robust co-optimization model is proposed for the long-term planning of the electricity and gas systems, and then a decomposition approach including a based-case master problem and two scenario subproblems is utilized to solve the model. In summary, the above research has investigated different methods for address the planning problem of MES under uncertainties.

7Moreover, from the physical system's perspective, the storage system is an excellent choice for compensating for the uncertainties and improving the operational flexibility of the energy system [28], [29]. In the MES, the hybrid energy storage system (HESS) consisting of the battery and thermal energy storage can be equipped to provide extra flexibility for both the electrical power system and heating system, such as balance the source and loads and dealing with the RES fluctuations. In [30], an allocation method of battery and thermal energy storage is proposed for the district energy system, in which the seasonal difference of the electrical load is considered while the uncertainties from the renewable energy and loads are ignored. In [31], a storage capacity expansion model is proposed for the integrated energy system to determine the size of the HESS consisting of the power type battery and capacity type battery, but the heterogeneous energy storage system such as thermal storage and cooling storage is not considered. In [32], an environmental constrained optimal HESS planning model is proposed for an Indian distribution network to promote renewable energy consumption, in which the HESS is defined as a combination of different electrical batteries, such as Na-S battery, Na-NiCl battery, and Vanadium battery, rather than the energy storage system composed of different energy carriers. In [33], the optimal siting and sizing of renewable energy sources and electrical energy storage systems in the distribution system are investigated, where the ''hybrid energy system'' is defined as an energy system consisting of renewable energy units, electrical battery system, and plug-in electric vehicles, which is different with the MES focused in this paper. Above all, most of the existing research related to the HESS planning problem only focuses on the different kinds of electricity storage.

8A summary of the existing related research is given in TABLE 1. It can be found that determining the capacity of the HESS composed of heterogeneous energy storage in the energy systems has not received enough attention. Actually, it is not a trivial work to determine the capacity of the heterogeneous HESS in an MES. Firstly, the capacity of battery energy (or thermal energy storage) will not only affect the operation of the electrical system (or heating system) but only bring indirect impact to the operation of the heating system (or electrical system). Hence, their capacity has been optimized together to achieve the best performance. Secondly, the excessive (or too small) HESS capacity will increase the planning cost (or operational cost), and thus the capacity of HESS needs to be optimized by coordinating both the planning and operation stages. Thirdly, the uncertainties in both the electrical system and heating system will affect the planning results of heterogeneous HESS, and hence they should be carefully addressed. Based on the above analysis, the research gaps in the existing research can be summarized as follows: (1) How to size the HESS composed of the electrical battery storage and thermal energy storage in an energy system has received few attentions; and (2) How to coordinate the long-term planning and short-term operation of HESS under various uncertainties is still an unsolved problem.

9To fill these research gaps, we propose a two-stage stochastic planning model to determine the optimal size of the HESS and coordinate the short-term operation of systems in an existing CMES with consideration of different uncertainties from subsystems. In the proposed model, the first stage aims to determine the optimal size of the HESS, and the second stage aims to make the optimal dispatch decision. Case studies verify the effectiveness of the proposed method.

10The main contributions of this paper are as follows:

11(1) A two-stage stochastic planning model is firstly proposed to coordinate the long-term planning of the HESS and the short-term operation of the CMES. Diverse uncertain factors, including wind power, electrical load, and outdoor temperature, are modeled and considered in the proposed model to reduce their adverse impacts on system operation.

12(2) The thermal inertial of the heating network, space heating demand, and domestic hot water are modeled and considered in the operation of CMES, which is proven to provide considerable operational flexibility for the whole system and play a positive role in reducing both the investment cost and operational cost.

13(3) A deterministic equivalence is proposed for the two-stage stochastic planning model to convert into a mixed-integer linear programming problem, which can be easily solved by off-the-shelf solvers and thus has strong applicability in practical engineering.

14(4) Simulation results demonstrate that deploying the HESS in the CMES can significantly improve the economic performance of the system with minor investment costs, which verifies the practical value of this work.

15The remainder of this paper is as follows. Section II proposes the two-stage stochastic planning model for the HESS in the CMES. Section III proposes the solution method. Case studies are given in Section IV, and Section V concludes this paper.

II. TWO-STAGE STOCHASTIC PLANNING MODEL

16The typical structure of the CMES that we focused on is given in FIGURE 1. The system consists of the CHP unit, gas turbine, renewable energy such as wind power and photovoltaic cells, and energy storage systems. The CHP unit includes the gas turbine and the heat recovery unit. The CMES provides both electricity and thermal energy for the residents through the energy distribution networks. The thermal energy supplied for the users is used for space heating and domestic hot water. The starting point of this paper is to improve the operational flexibility of the CMES by deploying extra HESS consisting of battery storage and thermal storage. Therefore, we focus on the problem that determines the optimal HESS capacity in an existing CMES, i.e., determining the optimal size of both the battery and thermal storage tank. In the following, we propose the two-stage stochastic HESS planning model for the CMES.

A. FIRST-STAGE MODEL

17The first-stage model aims to determine the optimal size of the hybrid energy storage. The objective of the first stage includes the investment cost of the battery and thermal VOLUME 9, 2021 storage tank, as follows:

18where C inv is the annualized investment cost of HESS, ; r is the capital interest rate; m is the investment return year; c inv bt is the unit capacity investment cost of the battery, /kWh; c inv tst is the unit capacity investment cost of the thermal storage tank, /kWh; W cap bt is the capacity of the battery, kWh; and W cap tst is the capacity of the thermal storage tank, kWh. The constraints of the first-stage model include the range of the sizes of the battery and thermal storage tank, as follows:

19The second-stage model aims to make the optimal dispatch decisions for the CMES under the given planning scheme of HESS.

1) OBJECTIVE

20The objective of the second stage includes the fuel cost, the net electricity purchasing cost, and the operational maintenance cost, as follows:

21where C oper is the annual operational cost of CMES, ; C fuel is the fuel cost, ; C grid is the net cost of electricity purchase, ; and C om is the operational maintenance cost, .

22The fuel cost C fuel includes the natural cost of the gas boiler and the gas boiler, which can be calculated as follows:

23where N is the index set of the period; t is the time interval, h; c gas is the energy price of the natural gas; /kWh; η gt is the generation efficiency of the gas turbine; η gb is the efficiency of the gas boiler; P t gt is the electrical power of the gas turbine at period t, kW; Q t gt is the thermal power of the gas boiler at period t, kW.

24The net cost of electricity purchase of CMES is equal to the cost of electricity purchase minus the income from electricity sale, as follows:

25where c b,t grid is the price of the electricity purchased from the main grid at period t, /kWh; c s,t grid is the price of the electricity sold to the main grid at period t, /kWh; P b,t grid is the electrical power purchased from the main grid at period t, kW; and P s,t grid is the electrical power sold to the main grid at period t, kW.

26The operational maintenance cost of the gas turbine, gas boiler, battery, and thermal storage tank is considered, which can be calculated as follows:

27where c om gt is the unit operational maintenance cost of the gas turbine, /kWh; c om gb is the unit operational maintenance cost of the gas boiler, /kWh; c om res is the unit operational maintenance cost of the RES unit, /kWh; c om bt is the unit operational maintenance cost of the battery, /kWh; c om tst is the unit operational maintenance cost of the thermal storage tank, /kWh.

2) CONSTRAINTS

28The constraints of the CMES include the tie-line power constraints, the device constraints, the power balance constraints, the heating network constraints, and the heat load constraints. In the following, the constraints are introduced in detail.

(1) TIE-LINE POWER CONSTRAINTS

29The CMES exchanges electricity with the main grid through the tie-line. The tie-line power limit is given as follows:

30where P max grid is the tie-line power capacity, kW; ε b,t grid is the binary variable denoting whether the CMES buys electricity from the main grid at period t; ε s,t grid is the binary variable denoting whether the CMES sells electricity to the main grid at period t.

(2) DEVICES CONSTRAINTS a: CHP UNIT

31The operational constraints of the CHP unit include the electrical power limit and the electricity-thermal equation, as follows:

32where P cap gt is the rated generating power of the gas turbine, kW; Q t gt is the thermal power of the gas turbine at period t, kW; η loss is the energy loss rate of the gas turbine; η hr is the efficiency of the heat recovery device in the CHP unit.

b: GAS BOILER

33The operational constraints of the gas boiler include the thermal power limit, as follows:

34where Q cap gb is the thermal power capacity of the gas boiler, kW.

c: RES UNIT

35The operational constraints of the RES unit are as follows:

36whereP t res is the forecasted value of the RES power at period t.

d: HESS

37The operational constraints of the HESS include the battery constraints and the thermal storage tank constraints. The battery constraints include the charging power limit, the discharging power limit, the energy level equation, the energy level limit, and the charging/discharging states limit, as follows:

38where λ chr bt is the coefficient of the charging power limit; λ dis bt is the coefficient of the discharging power limit; η chr bt is the charging efficiency of the battery; η dis bt is the discharging efficiency of the battery; π low bt is the lower limit coefficient of the energy level; π up bt is the upper limit coefficient of the energy level; ε chr,t bt is the binary variable denoting the charging state of the battery at period t; ε dis,t bt is the binary variable denoting the discharging state of the battery at period t; and W t bt is the energy level of the battery, kWh.

39The thermal storage tank constraints include the storing power limit, the releasing power limit, the energy level equation, the energy level limit, and the storing/releasing states limit, as follows:

40where ε chr,t tst is the binary variable denoting the storing state of the thermal storage tank at period t; ε dis,t tst is the binary variable denoting the releasing state of the thermal storage tank at period t; λ chr tst is the coefficient of the storing power limit; λ dis tst is the coefficient of the releasing power limit; η chr tst is the storing efficiency of the thermal storage tank; η dis tst is the releasing efficiency of the thermal storage tank; π low tst is the lower limit coefficient of the energy level; π up tst is the upper limit coefficient of the energy level; and W t tst is the energy level of the thermal storage tank, kWh.

(3) POWER BALANCE CONSTRAINTS

41The power balance constraints of the CMES include the electrical power balance equations and thermal power balance equations, as follows:

42whereP t load is the forecasted value of the electrical load of users at period t; Q t hn is the thermal power injected into the heating network at period t.

(4) ELECTRICAL NETWORK CONSTRAINTS

43The electrical network has a significant impact on electricity distribution, and thus the power flow constraints should be considered in the operation of CMES. Considered the CMES is a distribution-level energy system, the electrical network usually has a radial structure. Hence, the linearized DistFlow model [34], [35] is used to describe the AC power flow, which is omitted here for the sake of brevity.

(5) HEATING NETWORK CONSTRAINTS

44The heating network plays an important role in the CMES in delivering the thermal energy from the source to the end-users and supplying operational flexibility for the system [36]. The node method is adopted in this paper to model the transmission delay and heat loss. Usually, there are three control strategies for the heating network operation, including the constant-flow & variable-temperature strategy, constant-temperature & variable-flow control strategy, and variable-flow & variable-temperature strategy. The constant-flow & variable temperature control strategy has been widely used in engineering in many countries, such as China, because of its convenience and stability [37], [38]. Hence, we assume that the heating network follows this control strategy. The structure of the heating network is given in FIGURE 2.

a: Pipelines: Transmission Delay and Heat Loss

45The mass flow in the pipelines has considerable transmission delay and heat loss. According to the node method [37], [38], the outlet water temperature of the pipelines can be represented as follows:

46VOLUME 9, 2021 where pipe is the index set of the pipelines; T b,k s,in is the inlet water temperature of the supply pipeline b at period k, • C; T b,k r,in is the inlet water temperature of the return pipeline b at period k, • C; T b,k s,out is the outlet water temperature of the supply pipeline b at period k, • C; T b,k r,out is the outlet water temperature of the return pipeline b at period k, • C; T t am is the ambient temperature of the heating network at period t, • C; and γ b , β b , K b,k , and ξ b are parameters.

47γ b and β b are related to the transmission delay of the pipeline b. K b,k is the ratio of the mass flow flowing in the pipeline b at period t − k to the current mass flow flowing out of the pipeline b. ξ b is the temperature drop ratio of pipeline b. These parameters can be calculated based on the node method, as follows:

48In (15), ms b pipe is the mass flow rate of the pipeline b, kg/h; ρ is the water density, kg/m 3 ; A b is the cross sectional area of pipeline b, m 2 ; l b is the length of pipeline b, m; Z is the integer set; and R b is the total mass flow that flows into the pipeline b from period t − γ b to t.

49In (17), c is the specific heat capacity of water, kJ/(kg· • C); λ b is the heat transfer coefficient of pipeline b, kW/(m· • C).

b: Nodes: Energy Conservation and Temperature Mixing

50At the source node of the heating network, the heat power injected into the network can be calculated as follows:

51where src pipe is the index set of the pipelines connected with the source node.

52At the load node of the heating network, the heat power supplied to the loads can be calculated as follows:

53where I load node is the index set of the load nodes in the heating network; and k pipe is the index set of pipelines connected with the load node k.

54According to the energy conservation law, the energy flowing into the node should be equal to that flowing out of the node. Hence, we have: (20) where I inter node is the index set of the intersection nodes; k pipe− is the index set of the pipelines flowing out of the node k; k pipe+ is the index set of the pipelines flowing into the node k; T k,t s,node is the supply water temperature at the node k at period t, • C; T k,t r,node is the return water temperature at the node k at period t, • C.

55Besides, the water flowing out of the same node should have the same temperature, and hence we have:

c: Temperature limitations

56To ensure the quality of the heating supply, the water temperature of the heating network should be varying within a reasonable range. Hence, we have:

57where T max s and T min s are the maximum and minimum supply temperature, respectively, • C; T max r and T min r are the maximum and minimum return temperature, respectively, • C. The space heating load of buildings is modeled using the equivalent thermal parametric model [36], as follows:

58where R k is the equivalent thermal resistance of the buildings at load node k, • C/kW; C k air is the equivalent thermal capacity of the buildings at load node k, kWh/ • C; D k is the number of users at load node k;T t out is the forecasted value of the outdoor temperature of buildings at period t, • C; T k,t in is the indoor temperature of the buildings at load node k at period t,

59sh is the space heating load at load node k at period t. To ensure the thermal comfort of end-users, the following constraints are added: (24) where N is the length of the decision period; T max in and T min in are the maximum and minimum indoor temperature for thermal comfort, • C; T opt in is the expected indoor temperature, • C.

b: Domestic hot water load

60The heat load for the domestic hot water is modeled using the first-order dynamic model [39], [40], as follows:

61where M k w is the water tank capacity at load node k, kg;M k,t w,out is the forecasted hot water mass consumed by users at load node k at period t, kg/h; T cold w is the cold water temperature injected into the water tank, • C; T k,t w is the temperature of the hot water at load node k at period t, • C; Q k,t dhw is the heat load of the hot water at load node k at period t, kW.

62The water temperature should be kept in a reasonable range to ensure user satisfaction, as follows.

63where T max w and T min w are the maximum and minimum water temperature, respectively, • C; T opt w is the expected water temperature, • C.

64Then, the heat load supplied for the load node can be calculated as follows:

III. SOLUTION METHOD A. MODEL FORMULATION

65Based on the above models, the compact form of the proposed two-stage stochastic planning model is as follows:

66where x is the first-stage decision variables (i.e., planning decision variables), including the battery capacity W cap bt and the thermal storage tank W cap tst ; y is the second-stage decision variables (i.e., operation decision variables), including the output of devices, heating network states, and building states, i.e., P b,t grid , P s,t grid , P t gt , Q t gt , Q t gb , P t res , P chr,t bt , P dis,t bt , W t bt ,

67bt , ε chr,t tst , and ε dis,t tst ; u is the random variables, including the forecasted value of the renewable energyP t res , the forecasted value of the electrical load P t load , the forecasted value of the outdoor temperatureT t out , and the forecasted value of the hot water massM k,t w,out ; X is the feasible region of the decisions x; Y is the feasible region of the decisions y; U is the probability distribution functions of u; c, d, b, and h are the constant vectors; A, E, F and G are the constant matrix.

68In the model (28), the first-stage objective c T x is defined as (1), and the second-stage objective d T y(x, u) is defined as (3)∼(6). The feasible region X is defined as (2). The feasible region Y is defined as (7)∼ (14) and (18)∼ (27). The probability distribution function U can be determined based on the historical data of the random variables u, and the Weibull distribution and Gaussian distribution are commonly-used to model the random variables.

69In summary, the proposed model optimizes the optimal capacity of the HESS in the first stage and makes the optimal dispatch decisions in the second stage. Various uncertainties, including renewable energy, the electrical load, and the outdoor temperature, are considered in the proposed model. Hence, it can coordinate the planning and operation of CMES under uncertainties.

B. DETERMINISTIC EQUIVALENCE

70The model (28) is usually intractable and cannot be solved by off-the-shelf solvers. To obtain a tractable formulation, we assume that the random variables u have a finite number of realizations, denoted as scenarios u 1 , u 2 , . . . , u M . The possibilities of these scenarios are assumed as ω 1 , ω 2 , . . . , ω M . Then, the model (28) can be reformulated into the following deterministic model:

71where y i is the second-stage decision variables under the scenario u i .

72The scenarios u 1 , u 2 , . . . , u M can be generated by sampling from the probability distribution functions of the random variables u. Many methods can be used to generate the scenarios, including simple random sampling, importance sampling, Latin hypercube sampling, and so on. In this paper, we choose the Latin hypercube sampling method because of its advantages in spreading the sample points more evenly [6].

73In summary, the model (29) is a MILP model, which can be solved easily by off-the-shelf solvers such as CPLEX and GUROBI.

IV. CASE STUDIES

74A hypothesis CMES located in the Northeast of China is used for simulation to verify the effectiveness of the proposed two-stage stochastic planning model. The structure of the system is given in FIGURE 3. The CMES has been equipped with a 4MW gas turbine, a 4WM gas boiler, and photovoltaic cells with a total capacity of 10MW. The current task is to equip the CMES with the HESS, including battery and thermal storage tank, to enhance the operational flexibility. The simulation is performed on a personal computer with an i7 CPU and 16GB RAM. The simulation platform is Matlab 2020b, and the MILP model is used by GUROBI [41].

A. SYSTEM PARAMETERS AND SIMULATION SETTINGS

75The parameters used in the simulation are given in TABLE 2. The voltage of node 0 in the electrical network is set to 1.05p.u. The upper and lower limits of the voltage are set to 1.1p.u. and 0.9p.u., respectively. The supply and return temperature ranges of the heating network are set to 70∼100 • C and 40∼75 • C, respectively. The annual operation days of the CMES are divided into four types based on the seasons, i.e., spring (21 Jan-20 Apr), summer (21 Apr-20 Jul), autumn (21 Jul-14 Oct), and winter (15 Oct-20 Jan). The four seasons all have the domestic hot water demand, but only winter and spring have the space heating demand. The unit investment cost of the battery and the thermal storage tank is set to 500 /kWh and 100 /kWh, respectively. The forecast errors of the electrical load, solar power, outdoor temperature, and water domestic hot water mass are assumed to follow a normal distribution with a mean of 0 and a standard deviation of 20%. Fifty scenarios are generated for each season, respectively, and thus there are 200 scenarios finally. The scenarios are given in FIGURE 4. Because there is no space heating demand in summer and autumn, the outdoor temperature scenarios only include the spring and winter data. Four cases are set to investigate the impact of the thermal inertia on the planning results, whose details are given in TABLE 3.

B. PLANNING RESULTS ANALYSIS

76The planning results of the four cases are given in TABLE 4 and TABLE 5. In Case 1, because the thermal inertia in of the heating network, space heating demand, and hot water demand are all ignored, the total cost is the most expensive in these cases, and the invested capacity of the battery and thermal storage tank is also the largest. In Case 2, the thermal inertia of heating network and space heating demand is considered, which reduces the total cost by 6.7% compared with Case 1. The planned capacity of the battery and thermal storage tank is reduced by 1.03MW and 4.85MW compared with Case 1, respectively. An interesting result is that the capacity of the thermal storage tank is the smallest in these cases, indicating that the thermal inertia of buildings contributes considerable thermal storage ability to the operation of CMES.

77In Case 3, the thermal inertia of the heating network and domestic hot water demand is considered, which reduces the total cost by 8.6% compared with Case 1. The planned capacity of the battery and thermal storage tank is reduced by 1.40MW and 2.33MW compared with Case 1, respectively. Compared with Case 2, the annual total cost is reduced, but the capacity of the thermal storage tank is increased. The reasons are twofold. Firstly, the space heating demand in summer and autumn is zero while the domestic hot water demand exists during the whole year, and hence in Case 3 the thermal inertia of domestic hot water can provide operational flexibility in the whole year, which reduces more operational cost. Secondly, the thermal inertia of domestic hot water demand is smaller than that of the space heating demand, and hence more thermal storage tank capacity needed to be installed to offer the required operational flexibility for CMES.

78In Case 4, the thermal inertia of heating network, space heating demand, and domestic hot water demand is considered, which reduces the total cost by 10.2% compared with Case 1. The planned capacity of the battery and thermal storage tank is reduced by 2.71MW and 2.30MW compared with Case 1, respectively. Interestingly, in this case, the capacity of the battery decreases while that of the thermal storage tank increases compared with Case 2 and Case 3. The reason is that the unit investment cost of the battery is higher than the thermal storage tank. The capacity of the thermal storage tank in Case 3 and Case 4 is very close, indicating that the extra thermal inertia offered by the space heating demand is used to decrease the investment capacity of the battery in Case 4.

79To reveal the impact of the thermal inertia of the heating network, space heating demand, and domestic hot water demand on the annual investment cost, fuel cost, transaction cost with grid, and maintenance cost, the details of the annual cost results in each case are given in FIGURE 5.

80In the planning results of all four cases, the optimal installation location of the battery is node 1 of the electrical network in FIGURE 3, i.e., the solar cells node. For the heat storage tank, we assume that it is installed in the source node of the heating network to operate with the heat source because it is usually the case in practical engineering. To investigate the impact of the battery installation locations on the planning results, based on the settings of Case 4, we test several subcases in which the location of the battery is set to nodes 1-3, respectively. The planning results are given in TABLE 6. The results indicate the worst installment location is node 3, and in this subcase, the investment cost and operational cost are increased by 7.7% and 2.6%, respectively. The difference between installing the battery at node 1 and node 2 is very small and can be ignored. Besides, another interesting result is that the location of the battery affects the capacity of the thermal storage tank, and the better the location, the smaller the capacity.

81In summary, the results verify the effectiveness of the proposed planning model. The results also show that the thermal inertia of the heating system can efficiently reduce both the HESS investment cost and system operational cost of the CMES. It can be concluded from the results that the HESS can enhance the operational flexibility for the CMES but only needs minimal investment cost.

C. OPERATION RESULTS ANALYSIS 1) ELECTRICAL POWER RESULTS

82In the following, the operation results in Case 4 are analyzed. The electrical power of the gas turbine in different scenarios is given in FIGURE 6. The results show that the output of the gas turbine has large differences in different seasons. In the heating seasons (i.e., spring and winter), the output of the gas turbine keeps high during 00:00∼8:00, in which the electrical load is at a low level. The reason is that the outdoor temperature during this period is low, and hence more heat power is needed for space heating. Therefore, the gas turbine keeps a high output to meet the heat demand. Overall, the output of the gas turbine has a similar trend in the heating seasons. The output of the gas turbine during 00:00∼08:00 is very low in summer but has a large fluctuation in autumn. The output of the gas turbine has a similar trend during 16:00∼24:00 in summer and autumn. Moreover, In the same season, the output of the gas turbine in different scenarios has some differences, and the differences are large during 8:00∼16:00 and small during 00:00∼08:00 and 16:00∼24:00. Based on this result, we can conclude that in the same season, the output of the gas turbine varies a little when the electrical and heat loads are extremely high or extremely low but varies largely when the loads are at a moderate level. The reason for this result is that the extreme load level will reduce the operational flexibility of the CMES.

2) HEATING POWER RESULTS

83The injected heat power results of the heating network in different scenarios are given in FIGURE 7. In the heating seasons, there are space heating demand and domestic hot water demand, and hence the heat load keeps at a high level. In summer and autumn, there is only domestic hot water demand in the community, and hence the heat load keeps at a moderate level. The interesting thing is that the curves of the injected heat power of the heating network have a similar tendency with the curves of the gas turbine output. This result indicates that the output of the gas turbine largely depends on the heat load of the community. Based on the above results, we can conclude that the proposed two-stage stochastic planning model can not only determine the optimal HESS size but only coordinate the operation of the CMES.

3) IMPACT OF BATTERY STORAGE ON VOLTAGE PROFILES

84To investigate the impact of the battery storage on voltage profiles, we set the capacity of the battery storage tank to 0 and the capacity of the thermal storage tank to the same value as in Case 4. We denote this case as Case 5. Under this setting, the proposed two-stage stochastic model degrades into a single-stage operation model. The operational cost of Case 5 is 2382.4 × 10 4 , increasing by 3.6% compared with Case 4. The increased cost is much higher than the investment cost of the battery, indicating that installing the battery storage is economically advantageous.

85In Case 4 and 5, the voltage profiles of all the scenarios are given in FIGURE 8. The results show that the installation of battery storage can improve the voltages of each node. During 00:00∼06:00 and 16:00∼24:00, compared with Case 5, the voltage fluctuation ranges of Case 4 are reduced greatly by the battery. During 8:00∼16:00, the voltages of all the nodes are at a high level because the electrical power generation in the CMES exceeds the load and is feedbacked into the main grid. Therefore, we can conclude that the battery installation can not only affect the operational cost and but also improve the power quality.

4) IMPACT OF THERMAL ENERGY STORAGE ON SUPPLY AND RETURN TEMPERATURE

86To investigate the impact of the thermal storage on the supply and return temperature of the heating network, we set the capacity of the thermal storage tank to 0 and the capacity of the battery storage to the same value as in Case 4. We denote this case as Case 6. Similar to Case 5, under this setting, the proposed two-stage stochastic model degrades into a single-stage operation model. The operational cost of Case 6 is 2423.1 × 10 4 , increased by 5.4% compared with Case 4. The increased cost is much higher than the investment cost of the thermal storage tank, indicating that installing the thermal storage tank is economically advantageous.

87In Case 4 and 6, the supply and return temperatures of all the scenarios are given in FIGURE 9. Overall, the results show that the impacts of the thermal storage tank on the supply and return temperatures are not significant. The impact is relatively large during 00:00∼06:00 and 17:00∼21:00. However, these differences do not affect the heating quality since the thermal comfort constraints can be satisfied in both Case 4 and 6. Therefore, we can conclude that installing the thermal storage tank has a considerable impact on the operational cost but little impact on the heating quality.

88In summary, the simulation results demonstrate the effectiveness of the proposed planning model for the HESS in the CMES. The results show that the allocation of HESS in the CMES brings just a few investment costs but brings considerable benefits for the system operation. Therefore, the proposed method has potential engineering application value.

V. CONCLUSION

89This paper focuses on the HESS planning problem in a community multi-energy system. A two-stage stochastic programming model is proposed to coordinate the HESS planning and the operation of the system, in which diverse uncertain factors, including the renewable energy power, electrical load, the outdoor temperature of buildings, and the domestic hot water of users, are considered. Then, the proposed model is converted into a mixed-integer linear programming model that can be solved efficiently by offthe-shelf solvers. Case studies verify the effectiveness of the proposed methods. Several important conclusions can be obtained from the results, as follows:

90(1) The investment cost of the HESS accounts for only a small part of the annual cost of CMES, while the benefits brought by the HESS are considerable. This result demonstrates the applicability and practical value of this work in real engineering.

91(2) The thermal inertia of the heating network and heat load has a consistent advantageous impact on the investment cost of HESS and system operation cost, which can enhance the operational flexibility of the system significantly. Therefore, the results reveal the economic value of the thermal inertia and verify the practical significance of the work.

92(3) Simulation results indicate that the fuel cost exceeds the total annual cost, and the CMES obtains considerable benefits by selling electricity to the main grid. Therefore, it can be considered that the CMES can meet almost all the electricity and heat energy demands of the community at a lower cost by deploying HESS.

93Besides, in the practical application, the multi-energy system could be planned in multiple stages to integrate the future evolution trends of different energy demands in a unified manner. This problem will be focused on in our future research. Furthermore, the current research ignores the degradation cost of the energy storage systems. In future research, we will focus on developing more accurate but convenient energy storage degradation models for both the electrical battery model and the thermal energy storage model and investigate the impacts of the degradation cost on the planning results of HESS. TAIYANG TAN is currently with the Metering Center of Yunnan Power Grid Company Ltd. His research interests include active distribution networks and power system operation.

94JIANWEI ZHANG is currently with the Metering Center of Yunnan Power Grid Company Ltd. His research interests include active distribution networks and power system operation.

95YUTING WANG is currently with Yunnan Communications Vocational and Technical College. Her research interests include active distribution networks and power system operation.

96YINGHAO DAI is currently pursuing the master's degree with the Faculty of Electric Power Engineering, Kunming University of Science and Technology, Kunming, China. His research interests include distributed generations and micro-grids. VOLUME 9, 2021

참고문헌 40건

  1. Optimal operation of the integrated electrical and heating systems to accommodate the intermittent renewable sources Applied Energy · Elsevier BV · 2015 10.1016/j.apenergy.2015.10.054
  2. Optimal Expansion Planning of Energy Hub With Multiple Energy Infrastructures IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2015 10.1109/tsg.2015.2390640
  3. Energy Management for Households With Solar Assisted Thermal Load Considering Renewable Energy and Price Uncertainty IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2014 10.1109/tsg.2014.2350831
  4. Transmission-Constrained Unit Commitment Considering Combined Electricity and District Heating Networks IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2015 10.1109/tste.2015.2500571
  5. Decentralized Reactive Power Optimization Method for Transmission and Distribution Networks Accommodating Large-Scale DG Integration IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2016 10.1109/tste.2016.2599848
  6. 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
  7. Mixed-integer linear programming-based optimal configuration planning for energy hub: Starting from scratch Applied Energy · Elsevier BV · 2017 10.1016/j.apenergy.2017.08.114
  8. Coordinated Expansion Planning of Natural Gas and Electric Power Systems IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tpwrs.2017.2759198
  9. Optimal Planning and Operation of Hybrid Energy System Supplemented by Storage Devices Research Portal Denmark · Ministry of Higher Education and Science Denmark · 2017
  10. Robustly Coordinated Operation of a Multi-Energy Microgrid With Flexible Electric and Thermal Loads IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2018 10.1109/tsg.2018.2810247
  11. Coordinated dispatch of multi-energy system with district heating network: Modeling and solution strategy Energy · Elsevier BV · 2018 10.1016/j.energy.2018.03.088
  12. A Chance Constrained Programming Approach to the Integrated Planning of Electric Power Generation, Natural Gas Network and Storage IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2018 10.1109/tpwrs.2018.2833465
  13. Coordinated Operation of Multi-Integrated Energy System Based on Linear Weighted Sum and Grasshopper Optimization Algorithm IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2859816
  14. Distributionally Robust Transmission Expansion Planning: A Multi-Scale Uncertainty Approach IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2020 10.1109/tpwrs.2020.2979118
  15. Capacity Planning of Energy Hub in Multi-Carrier Energy Networks: A Data-Driven Robust Stochastic Programming Approach IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2018 10.1109/tste.2018.2878230
  16. Techno-economic analysis of a solar district heating system with seasonal thermal storage in the UK Applied Energy · Elsevier BV · 2018 10.1016/j.apenergy.2018.11.030
  17. Optimal Planning of Multi-Energy System Considering Thermal Storage Capacity of Heating Network and Heat Load IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2893910
  18. Temporally-coordinated optimal operation of a multi-energy microgrid under diverse uncertainties Applied Energy · Elsevier BV · 2019 10.1016/j.apenergy.2019.02.085
  19. Estimating the Profile of Incentive-Based Demand Response (IBDR) by Integrating Technical Models and Social-Behavioral Factors IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2019 10.1109/tsg.2019.2919601
  20. Numerical study of the electrical load shift capability of a ground source heat pump system with phase change thermal storage Energy and Buildings · Elsevier BV · 2019 10.1016/j.enbuild.2019.06.056
  21. High-Resolution Modeling and Decentralized Dispatch of Heat and Electricity Integrated Energy System IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2019 10.1109/tste.2019.2927637
  22. Expansion planning model of multi-energy system with the integration of active distribution network Applied Energy · Elsevier BV · 2019 10.1016/j.apenergy.2019.113517
  23. Coordinated Planning Strategy for Integrated Energy Systems in a District Energy Sector IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2019 10.1109/tste.2019.2941418
  24. Optimal Planning of Isolated Power Systems with near 100% of Renewable Energy IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2019 10.1109/tpwrs.2019.2943058
  25. Thermal Inertial Aggregation Model for Integrated Energy Systems IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2019 10.1109/tpwrs.2019.2951719
  26. Adaptive Robust Dispatch of Integrated Energy System Considering Uncertainties of Electricity and Outdoor Temperature IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tii.2019.2957026
  27. Multi-period planning of multi-energy microgrid with multi-type uncertainties using chance constrained information gap decision method Applied Energy · Elsevier BV · 2019 10.1016/j.apenergy.2019.114188
  28. Wind variability mitigation using multi-energy systems International Journal of Electrical Power & Energy Systems · Elsevier BV · 2019 10.1016/j.ijepes.2019.105755
  29. An efficient robust optimization model for the unit commitment and dispatch of multi-energy systems and microgrids Applied Energy · Elsevier BV · 2019 10.1016/j.apenergy.2019.113859
  30. Planning multiple energy systems for low-carbon districts with high penetration of renewable energy: An empirical study in China Applied Energy · Elsevier BV · 2020 10.1016/j.apenergy.2019.114390
  31. Coordinated Operation and Planning of Integrated Electricity and Gas Community Energy System With Enhanced Operational Resilience IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2982412
  32. Environmental Constrained Optimal Hybrid Energy Storage System Planning for an Indian Distribution Network IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2997338
  33. Low carbon transition pathway of power sector with high penetration of renewable energy Renewable and Sustainable Energy Reviews · Elsevier BV · 2020 10.1016/j.rser.2020.109985
  34. Hydraulic-Thermal Cooperative Optimization of Integrated Energy Systems: A Convex Optimization Approach IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2020 10.1109/tsg.2020.3003399
  35. An allocative method of hybrid electrical and thermal energy storage capacity for load shifting based on seasonal difference in district energy planning Energy · Elsevier BV · 2020 10.1016/j.energy.2020.118139
  36. Interval method based optimal planning of multi-energy microgrid with uncertain renewable generation and demand Applied Energy · Elsevier BV · 2020 10.1016/j.apenergy.2020.115491
  37. Research on capacity planning and optimization of regional integrated energy system based on hybrid energy storage system Applied Thermal Engineering · Elsevier BV · 2020 10.1016/j.applthermaleng.2020.115834
  38. The Flexibility Test System for Studies of Variable Renewable Energy Resources IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2020 10.1109/tpwrs.2020.3019983
  39. Long-term economic planning of combined cooling heating and power systems considering energy storage and demand response Applied Energy · Elsevier BV · 2020 10.1016/j.apenergy.2020.115819
  40. Identification of Potential Off-Grid Municipalities With 100% Renewable Energy Supply for Future Design of Power Grids IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2020 10.1109/tpwrs.2020.3033747