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

Integrated energy system operation optimization with gas linepack and thermal inertia

관련 수소연료전지 · (7) MEA(막전극접합체)

기본 정보

저자
  1. Suyang Zhou — School of Electrical Engineering, Southeast University, 2 Sipailou, Nanjing, China
  2. Rui Pei — School of Electrical Engineering, Southeast University, 2 Sipailou, Nanjing, China
  3. Jihua Xie — School of Electrical Engineering, Southeast University, 2 Sipailou, Nanjing, China
  4. Wei Gu — School of Electrical Engineering, Southeast University, 2 Sipailou, Nanjing, China
  5. Xiaogang Chen — State Grid Zhejiang Electric Power Co., 8 Huanglong Road, Hangzhou, China
DOI
10.1049/rpg2.12271
저널
IET Renewable Power Generation
발행년도
2021
발행기관
Institution of Engineering and Technology
피인용수
13
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1049/rpg2.12271
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W3196433417

평가 내용

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

초록

Abstract An optimal scheduling model that can integrate the power, heat and gas networks considering the gas linepack and the thermal inertia of heating system is proposed here. By coupling the characteristics of various energy flows, the flexibility and reliability of system operation can be improved without further investment on the storage equipment. First, the storage capacity of the gas pipeline, the process of thermal system transmission and the heat storage capability at the consumer side are analysed and modelled. The associated gas linepack model, heat system thermal inertia model and primary electricity‐gas‐heat model are subsequently combined and simplified through incremental linearization to establish an optimal scheduling model that can be applied for the Integrated Energy System (IES) based on the characteristics of thermal inertia and gas linepack. Case studies are conducted to assess the potential of optimizing the two energy flows using the proposed optimal scheduling method and the results indicate that the IES can significantly enhance the system capability to accommodate excessive renewable energy and maintain reliable operation during peak hours.

본문 79,479자

본문 펼치기
DOI: 10.1049/rpg2.12271 ORIGINAL RESEARCH PAPER # Integrated energy system operation optimization with gas linepack and thermal inertia Suyang Zhou <sup>1</sup> Rui Pei <sup>1</sup> Jihua Xie <sup>1</sup> Wei Gu <sup>1</sup> Xiaogang Chen <sup>2</sup> 1 School of Electrical Engineering, Southeast University, 2 Sipailou, Nanjing, China 2 State Grid Zhejiang Electric Power Co., 8 Huanglong Road, Hangzhou, China Correspondence SuyangZhou, SchoolofElectricalEngineering, SoutheastUniversity, 2Sipailou, Nanjing, China. [Email: suyang.zhou@seu.edu.cn](mailto:suyang.zhou@seu.edu.cn) Fundinginformation StateGridCorporationofChina, Grant/Award Number: 5400-201999493A-0-0-00 1 INTRODUCTION Abstract An optimal scheduling model that can integrate the power, heat and gas networks considering the gas linepack and the thermal inertia of heating system is proposed here. By coupling the characteristics of various energy flows, the flexibility and reliability of system operation can be improved without further investment on the storage equipment. First, the storage capacity of the gas pipeline, the process of thermal system transmission and the heat storage capability at the consumer side are analysed and modelled. The associated gas linepack model, heat system thermal inertia model and primary electricity-gas-heat model are subsequently combined and simplified through incremental linearization to establish an optimal scheduling model that can be applied for the Integrated Energy System (IES) based on the characteristics of thermal inertia and gas linepack. Case studies are conducted to assess the potential of optimizing the two energy flows using the proposed optimal scheduling method and the results indicate that the IES can significantly enhance the system capability to accommodate excessive renewable energy and maintain reliable operation during peak hours. KEYWORDS gas linepack, integrated energy system, operation optimization, thermal inertia With the development of human society, the dependence of various countries on energy continues to increase. Though fossil fuel has dramatically improved the energy efficiency, the resulted energy depletion and environmental pollution problems have deteriorated. In order to relieve the environmental pressures and prevent the depletion of natural resources, the energy strategy that was mainly relied on fossil energy is transforming towards the direction where sustainable energy development is the key. The characteristics of renewable energy, such as lower level of air pollution and greenhouse gas emission and great exploitation potential, make it an ideal way to ensure energy security and boost sustainable energy development [1, 2]. In the meantime, the technology of equipment applied in multienergy coupling has also been significantly improved, which can facilitate the coordination, optimization and utilization of various types of energy resources. The Integrated Energy System (IES), which is the ultimate form of multi-energy coupling, is gaining popularity as a research topic because it is promising in achieving unified planning and scheduling for electricity, gas and heat with high energy efficiency and high economic benefits [3]. IESs use electricity as the backbone and are able to realize the unified planning and coordinated operation of multiple energy sources in production, transmission and distribution, consumption, storage and other aspects by considering the complementary features of diverse energy types and principle of tiered energy utilization and using combined heat and power (CHP) plants, energy exchange equipment and renewable generation units. The devices and networks used to couple multi-energy are critical in forming the IESs but the associated complex coupling characteristics, differences in the characteristics among multiple energy flows and the dynamics of network transmission make the IES confront a larger scale and more complicated optimization problem than traditional energy systems [4]. Although this brings great challenges to the scheduling of the IESs, there will [This is an open access article under the terms of the Creative Commons Attribution License, which permits use, distribution and reproduction in any medium, provided the original work is](http://creativecommons.org/licenses/by/4.0/) properly cited. © 2021 The Authors. _IET Renewable Power Generation_ published by John Wiley & Sons Ltd on behalf of The Institution of Engineering and Technology _IET R_ _P_ _G_ 2021 15 3743 3760 il li lib /i 3743 be invaluable benefits for holistic system optimization if it can be appropriately solved. Ref. [5] proposed the concept and model of Energy Hub, which has become a main method when studying IES involving electricity, gas, cooling and heating. A decomposed algorithm which can optimize the power flow of Energy Hub based system was presented in [6, 7]. Authors of [8] showed how transmission lines and generating units of the Energy Hub based system can be optimized according to the economic optimization object function and verified the optimization effect of multienergy coupling by setting up different scenarios where various energy sources were individually or jointly planned [9, 10] have established models of equipment and energy flow and realized the optimal scheduling with the objective of minimizing the operating cost based for IESs consisting of solar energy, wind power, natural gas, and electricity. Considering the characteristics of energy supply network, a comprehensive model of Electricity-Thermal-Natural Gas coupling system was developed based on the general electricity, natural gas and thermal network models and the coupling mechanism of multi-energy network and the associated coordinated operation optimization was studied [11]. Most of the aforementioned research has been conducted for small scale IESs without consideration of the energy storage characteristics of natural gas and thermal system. When the scale of IESs grows, the optimization potential of the pipeline linepack and thermal inertia of heating system will have a significant impact on the system operation. Gas turbines play a key role in the peak regulation of power system because they are able to quickly respond to fluctuation of renewable generation [12] and the widespread applications of gas turbines have contributed to the growing interdependence between electricity and natural gas networks. Different from electricity, natural gas has good compressibility and travels at a lower speed. Therefore, there could be considerable gas storage potential in large scale natural gas networks and this can significantly improve the network flexibility. Works in [13] first implemented individual optimization for power network, gas network and heat network within the IES, where the dynamic characteristics of natural gas was considered, and subsequently used iterations to achieve the system optimum. The results demonstrate that the gas network storage can be beneficial for the optimization of IES. Ref. [14] proposed a transient model of natural gas network considering the transmission delays and compressibility of natural gas and focused on the dynamic optimization operation strategy of integrated power and natural gas systems. A method to achieve unified dispatch of electricity and natural gas systems was proposed in [15]. More specifically, a new MISCOP was developed to model the gas linepack and bidirectional natural gas flow and the capability of gas linepack to provide short-term operation flexibility for the power system was evaluated. Compared with electricity, the heating energy is easier to store but harder to transfer. Furthermore, the heating inertia is reflected in all aspects of heating system and the transmission delays of heat from heat plants to consumers varies from a few minutes to hours, which is opposite to the instantaneous transmission of electricity. In addition to the inertia in the transmission process, the buildings at the consumer end also have certain level of storage capacity, which is manifested by the time delay of temperature changes in the buildings following the start and end of the heating process [16]. Taking advantages of the thermal inertia, the spatiotemporal decoupling of the thermal supply and demand can be achieved whilst the spatiotemporal correlation between wind power and heat demand can be established [17]. In this way, more wind generation can be absorbed alleviating the problem of excess wind power curtailment during the night time. Therefore, the thermal inertia can potentially play an important role in the unified scheduling and collaborative optimization for integrated power and heat energy systems. Refs. [18] and [19] proposed an optimal scheduling scheme for combined power and heat systems considering the transmission delay and temperature loss of heating network, which can enhance the capability of the combined heat and power system to consume wind power by using the thermal inertia to achieve thermoelectric decoupling. Researchers of [20] presented a feasible method to simulate the energy storage capacity of buildings in the regional heating network, which can realize the optimal dispatch for integrated electrical and thermal energy system with the objective of minimizing the operating cost. Ref. [21] established an optimization model of combined heat and electricity system based on the heat storage capacity of buildings and the transmission delay of heating networks to improve the flexibility of the integrated energy system. From the literature review, there are two common shortcomings in the existing studies. Firstly, the gas network linepack and the heat network inertia were not considered in most of the studies focusing on integrated energy system and the potential of energy storage to improve the system flexibility was not fully exploited. Secondly, existing researches tend to explore the characteristics of energy storage used in either gas or thermal network instead of simultaneously considering the linepack of gas networks, the transmission delay of thermal networks and the thermal inertia of consumption terminals (such as buildings). This paper focuses on the coordination of power, natural gas and heat systems, the linepack of natural gas networks, the transmission delay of thermal networks and the heat storage capacity of buildings, and establishes an optimal dispatch model for the integrated power, natural gas and heat system. The nonlinear models proposed in this paper are converted into mixed-integer linear programs through incremental linearization to reduce the solve time and improve the model robustness. Contributions of this paper can be summarized as: 1. By introducing the inertia of natural gas network and thermal system into the integrated energy system, the simulation model is much more approximate to the realistic situation, indicating the optimization performance of both inertia characteristics especially in renewable energy consumption and load security. The storage potential in the pipelines of both networks that could be released during dispatch period is quantitatively analysed based on the simulation results, while the simulation results and analysis are also given to demonstrate the economic benefits of proposed inertial IES IES Physical Structure ## CHP Unit Gas Network Gas Source Grid Electric Load <mark>Linepack</mark> Basic Model of Subsystems <mark>Thermal Inertia</mark> Incremental Linearization Objective: Minimize the Operation Cost ## Simulation ## IES Model Optimal Scheduling Thermal Network Buildings Hot water Flow Gas Flow Power Flow Operation Analysis Economic Analysis Case Study 1 CHP TPU Well Well Building1 Building2 Building3 5 6 7 2 3 4 3 4 2 5 1 Building4 9 7 10 11 13 Heating System 8 Nodes Power System IEEE 14-Bus Gas System 10 Nodes 7 8 6 12 14 WT 8 7 8 GT 3 4 5 6 8 9 1 1 Well 7 10 FIGURE 1 Research structure model including operation costs reduction and investment costs retrenchment. 2. Based on the heat exchange mechanism in buildings, the thermal inertia model of buildings can be quantitatively expressed by building parameters and temperatures with the virtual heat storage capacity of buildings taken into consideration. Including the thermal inertia model of buildings can transform stable heat load into flexible heat load, exerting the potential of flexible heat load regulation. The integration of thermal inertia further taps the heat storage potential within the coordination between thermal networks and terminates, decoupling the correlation among thermal load and wind power so as to improve the wind power utilization efficiency. By a comparative analysis of different scenarios applying various combinations of both two thermal inertia characteristics, the environmental improvement and the economy of the integration of thermal inertia are profoundly explored, which shows the integrated thermal inertia model is a promising means of improving the IES operation. In Section 1, the inertia of natural gas networks and thermal networks is modelled with emphasis on the pipeline storage in gas networks and the transmission delay and heat storage capacity in thermal networks. Section 2 develops the optimal day-ahead operation model of the IES and the case studies are presented in Section 3 to demonstrate the benefit and effectiveness of the proposed method. Findings and conclusions are provided in Section 4. 2 IES MODEL INCORPORATING GAS LINEPACK AND THERMAL INERTIA The research structure of this paper is shown in Figure 1. A typical integrated energy system consists of a natural gas system, a thermal system and a power system, whose structure is as shown as the first block in Figure 1. In the first block, the combined heat and power (CHP) unit is the core device that will achieve interaction among the three subsystems of the IES. The natural gas is transported from the gas source to the CHP unit through gas network. CHP units usually run in a heat-driven mode where the generation output of CHP units is determined by the heat demand. The buildings are heated by the produced thermal energy through the thermal network, while the generation output is used for the supply of electric loads through the power grid. The linepack model and the thermal inertia model are established and introduced into the basic model, helping ensure the energy supply security and improve the wind power utilization efficiency. By the incremental linearization method, the IES model is transferred from a nonlinear model to a MILP model. The optimal scheduling can be developed by solving the MILP model with an objective to minimize the operation cost. By the operation and economic analysis of case study results, the effectiveness of the proposed model is verified. 2.1 Natural gas system model with linepack Natural gas typically travels slowly in pipelines and has good compressibility, leading to the flow mismatch between ingress and egress gas of the pipelines. When the amount of natural gas being injected into the pipeline is more than the discharged amount, the excessive gas will be temporarily contained in the pipeline and this is defined as linepack. Such gas storage capacity of pipelines can help mitigate the issue of tight gas supply and enhance the flexibility of natural gas systems without deploying additional gas storage devices. The linepack model is often used to represent the natural gas systems in the IESs and describe the gas storage capacity of pipelines. For any natural gas pipeline _mn_, the transient model considering the gas pipeline storage capacity can be expressed by partial differential Equation (1) – (2). The selected time interval is represented as Δ _t_ and the length of the pipeline _ij_ as _li j_ . According to the principle of mass conservation, the pipe linepack at time _t_ equals to the sum of linepack at previous time _t_ - 1 and the difference between the ingress and egress gas at time t, as expressed by Equation (5): _Mi j_,0 = ⋅Δ _t_ (5) ) _Mi j_, _t_ = _Mi j_, _t_ −1 + ( _qi_, _t_ - _q j_, _t_ where _Mi j_, _t_ is the gas linepack (m <sup>3</sup> ) at time _t_ . Using Equations (3) and (5), the line pack can be expressed as a function of the average pressure as shown by Equation (6): <sup><u>?</u></sup> _Li j_ _Di j_ 4 <sup>⋅</sup> _RTZ_ ? 2 _Mi j_, _t_ = <sup><u>?</u></sup> 4 _RTZ_ ?0 ⋅ _pi j_, _t_ (6) Similar to the reserve capacity in power system, the linepack can alleviate the spatial-temporal mismatch between gas sources and loads by changing the balance mechanism. In order to ensure there will be sufficient gas linepack to optimize the operation of IES in each scheduling period, the initial value of the linepack must be set and returned to the initial level at the end of the scheduling period. Such requirement can be expressed as Equation (7): ∑ _i j_ ∈Ω _line_ _Mi j_, _T_ (7) ∑ _i j_ ∈Ω _line_ ? _ql_, _<u>t</u>_ <sup><u>?</u></sup> _<u>D</u>_ <sup>2</sup> 4 <sup>⋅</sup> _RTZ_ _ql_, _<u>t</u>_ + <sup><u>?</u></sup> ? _l_ 4 _RTZ_ ?0 ? _pl_, _<u>t</u>_ = 0 (1) ? _t_ ⋅ )2 _<u>D</u>_ <sup>5</sup> _FRTZ_ ? <sup>2</sup> 0 ? _p_ <sup>2</sup> _<u>l</u>_, _<u>t</u>_ = 0 (2) ? _l_ _ql_, _t_ <sup>|</sup> | _ql_, _t_ <sup>|</sup> | + ( <u>?</u> 4 where _ql_, _t_ is the amount of natural gas flow (m <sup>3</sup> ∕s) at pipeline length/location _l_ at time _t_ and _pl_, _t_ is the pressure (bar) at pipeline length/location _l_ at time _t_ . The radius of the pipeline and the coefficient of friction are denoted as D and F, respectively. R represents the natural gas constant (m <sup>2</sup> ∕(s <sup>2</sup> ⋅ K)) whilst _T_ represents the gas temperature in the pipeline (K). The gas compression coefficient of the pipeline is _Z_ and the gas density (kg∕m <sup>3</sup> ) under standard condition is ?0. Assume that the average flow (m <sup>3</sup> ∕s) at pipeline _ij_ is _<u>qi j</u>_, _t_ at time _t_ and the average pressure is _pi j_, _t_ . Equations (1) and (2) can be converted to Equations (3) and (4) through implicit difference approximation. _q_ _j_, _t_ - _qi_, _t_ _li j_ <sup><u>?</u></sup> _<u>D</u>_ <sup>2</sup> 4 _RTZ_ + <sup><u>?</u></sup> _RTZ_ ?0 _pi j_, _t_ −̄ _pi j_, _t_ −1 = 0 (3) Δ _t_ )2 _<u>D</u>_ <sup>5</sup> _FRTZ_ ? <sup>2</sup> 0 <sup>−</sup> <sup>_p_</sup> <sup>2</sup> _i_, _t_ _li j_ = 0 (4) _qi j_, _t_ <sup>|</sup> ||̄ _qi j_, _t_ <sup>|</sup> || + ( <u>?</u> 4 _p_ <sup>2</sup> _j_ <sup>2</sup> _j_, _t_ <sup>−</sup> <sup>_p_</sup> <sup>2</sup> _i_, _t_ In Equation (7), Ω _line_ is the collection of pipelines within the gas network and _T_ is the scheduling period. The natural gas linepack model indicating the pipeline storage capacity is represented by Equations (5)–(7). 2.2 Heating system model with thermal inertia The thermal inertia not only exists in the transmission process within the heat water network but is also presented as the heat storage capacity of buildings. In contrast to the instant transmission of electricity networks, the time delay of heat transmission in thermal system varies from a few minutes to several hours. Therefore, it will be necessary to take into account the thermal inertia that could considerably affect the optimal system operation, when analysing and modelling the thermal sub-system in an electrical-thermal network. When there is renewable energy (e.g. wind power) that has strong spatiotemporal correlation with the thermal demand, the thermal inertia has a significant potential to help achieve the optimal operation of the system. More specifically, the thermal inertia can decouple the thermal supply and demand from the perspective of time and space and this can help the system accommodate additional wind power. The thermal inertia model of a heating system can be divided into two parts: the model of heating network and the model of terminal building. _pi_, _t_ and _p j_, _t_ denote the pressure (bar) at end i and j of the pipeline whilst _qi_, _t_ and _q j_, _t_ are the corresponding flow (m <sup>3</sup> ∕s). FIGURE 2 Vertical section of a pipeline 2.2.1 Thermal inertia model of heating network The thermal inertia of heating networks mainly come from the transmission delay of the hot water in pipelines. Since the hot water travels at a low speed in pipes, it takes several minutes or hours for the heat to be transferred from the heating source to the thermal load. Meanwhile, the water temperature will be lowered when conveying hot water in the pipeline due to the heat dissipation from the hotter water to the cooler ambient air surrounding the pipes. This paper models the heating network with thermal inertia by utilizing the node method which separately calculates the transmission delay and heat loss [22]. _Transmission delay_ Figure 2 shows the vertical section of a pipeline at the end of period _t_, where the total length of the pipeline is _L_ and the total mass of hot water contained in the pipelines equals to ? _AL_ (i.e. ? is the water density and _A_ is the cross-sectional area). The shaded blocks along the sectional axis denote a sequence of water masses in continuous periods. The red blocks represent the water masses flowing into the pipeline over period _t_ whilst the grey ones represent the water masses outflowing by the end of period _t_ . Two variables, ? _k_, _t_ and ? _k_, _t_, are constructed to carry out the quantitative analysis of the time delay. More specifically, ? _k_, _t_ indicates the water outflowing from the pipeline k at time _t_ and such water mass is initially injected at time _t_ −? _k_, _t_ . Similarly, ? _k_, _t_ denotes the water outflowing from the pipeline k at time _t_ - 1 and such water mass in injected at time _t_ −? _k_, _t_ . The total amount of hot water flowing into the pipeline from _t_ −? _k_, _t_ to _t_ is represented by _Rk_, _t_ and those injected from _t_ −? _k_, _t_ to _t_ is _Sk_, _t_ . The delay variables ? _k_, _t_ and ? _k_, _t_ are defined as: In Equations (8) and (9), ? is the hot water density (kg∕m <sup>3</sup> ) within the pipeline and _Ak_ is the sectional area (m <sup>2</sup> ) of pipeline k. The length (m) of pipeline k is represented by _Lk_ whilst the water flow (kg∕s) in pipeline k at time _i_ is _qk_, _i_ . The mass variables _Rk_, _t_ and _Sk_, _t_ can be expressed as: _Rk_, _t_ = ∑ _t_ _i_ = _t_ −? _k_, _t_ ( _qk_, _i_ ⋅Δ _t_ ) (10) ∑ _t_ _i_ = _t_ −? _k_, _t_ +1 <sup>(</sup> <sup>_qk_</sup> <sup>,</sup> <sup>_i_</sup> <sup>⋅Δ</sup> <sup>_t_</sup> <sup>)</sup> ? _k_, _t_ ≥ ? _k_, _t_ + 1 _Rk_, _t_ ? _k_, _t_ < ? _k_, _t_ + 1 _Sk_, _t_ = ⎧ ⎪ ⎨ ⎪⎩ (11) The temperature at the outlet of the pipeline can be estimated by averaging the temperature of the water mass outflowing the pipeline during period _t_, equalling to the linear temperature averages of the water masses contained in the grey blocks. When the heat loss is not considered, the temperature of each outflowing water block is equal to the inlet temperature of the pipeline as the inflowing block enters and it can be modelled using Equations (12) and (13). ′ _outs_ <u>1</u> _T_ = _k_, _t_ _qk_, _i_ Δ _t_ [ ( _Rk_, _t_ −? _AkLk_ ) ⋅ _Tk_ <sup>_ins_</sup>, _t_ −? _k_, _t_ + _t_ −?∑ _k_, _t_ −1 _i_ = _t_ −? _k_, _t_ +1 ( _qk_, _i_ ⋅Δ _t_ ⋅ _Tk_ <sup>_ins_</sup>, _i_ <sup>)</sup> (12) (13) + ( _qk_, _t_ Δ _t_ + ? _AkLk_ - _Sk_, _t_ ) ⋅ _Tk_ <sup>_ins_</sup>, _t_ −? _k_, _t_ ] ] [ ∑ _t_ _i_ = _t_ - _n_ ( _qk_, _i_ ⋅Δ _t_ ) ≥ ? _AkLk_ ( _Rk_, _t_ −? _AkLk_ ) ⋅ _Tk_ <sup>_inr_</sup>, _t_ −? _k_, _t_ } ? _k_, _t_ = min _n_ ∈ _N_ { { _n_ ∶ _s_ . _t_ . ′ _outr_ <u>1</u> _T_ = _k_, _t_ _qk_, _i_ Δ _t_ + ( _qk_, _t_ Δ _t_ + ? _AkLk_ - _Sk_, _t_ ) ⋅ _Tk_ <sup>_inr_</sup>, _t_ −? _k_, _t_ _t_ −?∑ _k_, _t_ −1 _i_ = _t_ −? _k_, _t_ +1 ( _qk_, _i_ ⋅Δ _t_ ⋅ _Tk_ <sup>_inr_</sup>, _i_ <sup>)</sup> + ? _k_, _t_ = min _n_ ∈ _N_ (8) } (9) _m_ ∶ _s_ . _t_ . ∑ _t_ _i_ = _t_ - _m_ ( _qk_, _i_ ⋅Δ _t_ ) ≥ ? _AkLk_ + _qk_, _t_ ⋅Δ _t_ ′ _outs_ ′ _outr_ where _Tk_, _t_ and _Tk_, _t_ represent the outlet temperature at pipeline k in the water supply network and return network at time _t_ . Note the heat loss is not considered in Equations (12) and (13). In opposite, the inlet temperature in the water supply network and return network at time _t_ are denoted as _Tk_ <sup>_ins_</sup>, _t_ <sup>and</sup> ′ _outs_ _k_, _t_ and _T_ where _T_ network and return network at time _t_ are denoted as _Tk_ <sup>_ins_</sup>, _t_ <sup>and</sup> _Tk_ <sup>_inr_</sup>, _t_ <sup>, respectively.</sup> _Envelope heat loss_ Theoretically, the heat transmission in building envelope is complicated because it involves heat convection, heat conduction and heat radiation. Steady-state heat loss is thus adopted in this paper to simplify the calculation. The thermal load of the building envelope can generally be calculated using Equation (17). _k_ <sup>_inr_</sup>, _t_ <sup>, respectively.</sup> <sup>_in_</sup> _k_, _t_ <sup>−?</sup> _k_ <sup>_out_</sup>, _t_ )( 1 + _xk_ <sup>_ch_</sup> ) (17) _Heat loss_ To incorporate the heat loss in the model, the Sukhov formula is used to correct the outlet temperature of the pipeline and can be written as Equations (14) and (15). _Qk_ <sup>_BE_</sup>, _t_ <sup>=</sup> <sup>_AkFe_</sup> <sup>,</sup> <sup>_k_</sup> _Qk_ <sup>_BE_</sup>, _t_ ( ? _k_ <sup>_in_</sup>, _k_ <sup>_out_</sup>, _t_ )( 1 + _xk_ <sup>_g_</sup> In Equation (17), _Qk_ <sup>_BE_</sup>, _t_ _k_ ′, _outst_ - _Tt_ <sup>_am_</sup> (14) (15) _k_ <sup>_in_</sup>, _t_ <sup>and ?</sup> _k_ <sup>_out_</sup>, _t_ _k_ <sup>_out_</sup>, _t_ <sup>, respectively.</sup> <sup>_x_</sup> _k_ <sup>_g_</sup> _T_ <sup>_outs_</sup> _k_, _t_ _k_ <sup>_outs_</sup>, _t_ = _Tt_ <sup>_am_</sup> _t_ <sup>_am_</sup> + _Jk_, _t_ _T_ ( _t_ _k_ ′, _outrt_ - _Tt_ <sup>_am_</sup> ) ) _T_ <sup>_outr_</sup> _k_, _t_ _k_ <sup>_outr_</sup>, _t_ = _Tt_ <sup>_am_</sup> _t_ <sup>_am_</sup> + _Jk_, _t_ ( _T_ _t_ The corrected outlet temperature at pipeline k in the water supply network and return network at time _t_ is denoted as _Tk_ <sup>_outs_</sup>, _t_ and _Tk_ <sup>_outr_</sup>, _t_ <sup>.</sup> <sup>_T_</sup> _t_ <sup>_am_</sup> is the ambient temperature ( <sup>◦</sup> C) and _Jk_, _t_ is the Sukhov _Tk_ <sup>_outr_</sup>, _t_ <sup>.</sup> <sup>_T_</sup> _t_ <sup>_am_</sup> is the ambient temperature ( <sup>◦</sup> C) and _Jk_, _t_ is the Sukhov correction coefficient. _k_ <sup>_outr_</sup>, _t_ <sup>.</sup> <sup>_T_</sup> _t_ <sup>_am_</sup> The coefficient of Sukhov formula is defined as: <sup><u>1</u></sup> _Sk_, _<u>t</u>_ - _Rk_, _<u>t</u>_ 2 <sup>+</sup> _qk_, _t_ −? _k_, _t_ ⋅Δ _t_ [ )] ( (16) ? _k_, _t_ + <sup><u>1</u></sup> 2 _Jk_, _t_ = exp - <sup><u>?</u></sup> <sup>_<u>k</u>_</sup> <sup><u>Δ</u></sup> <sup>_<u>t</u>_</sup> _Ak_ ? <sup><u>?</u></sup> <sup>_<u>k</u>_</sup> <sup><u>Δ</u></sup> <sup>_<u>t</u>_</sup> _Ak_ ? _C_ <sup>⋅</sup> In Equation (17), _Qk_ <sup>_BE_</sup>, _t_ <sup>is</sup> <sup>the</sup> <sup>envelop</sup> <sup>thermal</sup> <sup>load</sup> <sup>(kW)</sup> <sup>of</sup> building _k_ at time _t_ and _Ak_ is the envelop area (m <sup>2</sup> ) of building _k_ . _Fe_, _k_ represents the envelop thermal conductivity (kW∕(m ⋅ <sup>◦</sup> C)) of building _k_ . The indoor and outdoor temperature ( <sup>◦</sup> C) of building _k_ at time _t_ are denoted as ? _k_ <sup>_in_</sup>, _t_ <sup>and ?</sup> _k_ <sup>_out_</sup>, _t_ <sup>, respectively.</sup> <sup>_x_</sup> _k_ <sup>_g_</sup> and _xk_ <sup>_ch_</sup> <sup>are the height and direction correction factor of building</sup> _k_, respectively. The level of comfort is influenced not only by the air temperature, but also the dressing style and body metabolism. When the indoor temperature is outside the optimum range, people in the building will have to take corresponding actions to adapt to the uncomfortable condition. Therefore, it is necessary to keep the temperature in a proper range and restrict the pace of temperature change. Such temperature constraints are shown in Equations (18) and (19). where ? _k_ is the thermal conductivity (W∕(m ⋅ <sup>◦</sup> C)) of the pipeline _k_ and _C_ is the heat capacity (J∕(kg ⋅ <sup>◦</sup> C)) of the hot water within the pipe. In this paper, the operational mode of the heating system is set as the quality regulation mode, which means that the amount of water flow remains constant in all pipelines of the water supply and return network and only the temperature of the flow will be changed to regulate the heating system. In the quality regulation mode, the heating system model involving thermal inertia is linear because the variables such as ? _k_, _t_ �? _k_, _t_ - _Rk_, _t_ - _Sk_, _t_ are constants determined by the pipeline conditions. This can significantly reduce the computational complexity and makes the model more operable. 2.2.2 Thermal inertia model of buildings As the consumption terminals of thermal system, buildings are heated by thermal exchangers through heat radiation. The building thermal inertia indicates the building’s capability to maintain the temperature, which is determined by factors including building envelope and the difference between indoor and outdoor temperature. In fact, the heat dissipation in buildings is an unstable process expressed by partial differential equations, increasing the problem complexity. As for general civil buildings, stable heat transfer calculation can not only simplify the optimization problem, but also meet the thermal demand of buildings. Based on the stable heat transfer mechanism, the heat loss is divided into three parts: the envelop heat loss, infiltration heat loss and ventilation heat loss [23]. ? <sup>_in_</sup> min <sup>_in_</sup> <sup>≤</sup> <sup>?</sup> _k_ <sup>_in_</sup>, _k_ <sup>_in_</sup>, _t_ <sup>≤</sup> <sup>?max</sup> <sup>_in_</sup> (18) −? _ch_ ≤ ? _k_ <sup>_in_</sup>, _k_ <sup>_in_</sup>, _t_ +1 <sup>−?</sup> _k_ <sup>_in_</sup>, _k_ <sup>_in_</sup>, _t_ <sup>≤</sup> <sup>?</sup> <sup>_ch_</sup> (19) where ?max <sup>_in_</sup> and ?max <sup>_in_</sup> are the upper and lower limit ( <sup>◦</sup> C) for the indoor temperature, respectively. ? _ch_ denotes the maximum temperature fluctuation within a unit time. _Infiltration heat loss_ Due to the difference of wind pressure and air pressure between interior and exterior, the external cold air can infiltrate through the gaps at the edge of windows and doors, leading to indoor temperature drop. The infiltration heat loss can be estimated using Equation (20). <sup>_in_</sup> _k_, _t_ <sup>−?</sup> _k_ <sup>_out_</sup>, _t_ (20) _Qk_ <sup>_In f_</sup>, _t_ _t_ _k_ <sup>_In f_</sup>, _t_ <sup>= 0.278</sup> <sup>_NumVkcp_</sup> <sup>?</sup> _t_ <sup>_out_</sup> ( ? _k_ <sup>_in_</sup>, _k_ <sup>_out_</sup>, _t_ ) _Q_ <sup>_In f_</sup> _k_, _t_ _Q_ <sup>_In f_</sup> _k_, _t_ <sup>in</sup> <sup>Equation</sup> <sup>(20)</sup> <sup>is</sup> <sup>the</sup> <sup>infiltration</sup> <sup>thermal</sup> <sup>load</sup> <sup>(kW)</sup> <sup>of</sup> building _k_ at time _t_ and _Num_ is the number of air changes per hour. The constant value 0.278 indicates the unit conversion factor whilst _Vk_ represents the envelop volume (m <sup>3</sup> ) of building _k_ . The heat capacity (KJ∕(kg ⋅ <sup>◦</sup> C)) of cold air under constant pressure is written as _cp_ and the density of outdoor air (kg∕m <sup>3</sup> ) at time _t_ is denoted as ? _t_ <sup>_out_</sup> <sup>.</sup> _t_ <sup>_out_</sup> <sup>.</sup> _Ventilation heat loss_ Ventilation is required to maintain the air quality in the building, which inevitably results in ventilation heat loss. The ventilation FIGURE 3 The structure of IES heat loss can be calculated using Equation (21). ? _t_ <sup>_in_</sup>, <sup>_in_</sup> _t_, _k_ <sup>−?</sup> _t_ <sup>_out_</sup>, _k_ (21) _Q_ <sup>_Ven_</sup> _k_, _t_ <sup>_Ven_</sup> _k_, _t_ <sup>= 0.278</sup> <sup>_Vencp_</sup> <sup>?</sup> _t_ <sup>_out_</sup> _t_ ( _t_ <sup>_out_</sup>, _k_ ) 3 DAY-AHEAD OPTIMAL SCHEDULING MODEL OF IES As illustrated in Figure 3, the IES being studied in this paper consists of power, heat and natural gas which are interrelated by coupling devices. More specifically, the gas turbines connect the natural gas system with the power system, ensuring a stable supply of power during peak time. While the CHP units are the core equipment to link the thermal system with the power system. 3.1 Objective function The objective function of the scheduling model is to minimize the total operation cost of the IES over the entire scheduling period, including the operation cost of thermal power units, the natural gas purchase cost, the penalty cost of wind curtailment and the penalty cost of supply shortage. The operation cost of thermal power units is estimated using the coefficient method, and the operation cost of CHP units and gas turbines is related to the amount of natural gas consumed in these devices contributing to the total natural gas purchase cost. To maximize the use of wind power, the cost of wind power is set to 0 but there will be penalty if the wind power is abandoned. In Equation (21), _Q_ <sup>_Ven_</sup> _k_, _t_ <sup>is</sup> <sup>the</sup> <sup>ventilation</sup> <sup>thermal</sup> <sup>load</sup> <sup>(kW)</sup> <sup>of</sup> building _k_ at time _t_ and _Ven_ indicates the amount of air (m <sup>3</sup> ∕s) being ventilated per hour. The walls and air of buildings deploying radiator heating system are able to store thermal energy which can subsequently be used to reduce the peak thermal load and mitigate the fluctuation of indoor temperature. Note that windows, doors and furniture have negligible capability to store thermal energy. Several hypotheses are adopted to simplify the analysis of the implication of building’s heat storage on the indoor temperature: 1. the air temperature in the building is evenly distributed, which is denoted as? _k_ <sup>_in_</sup>, _t_ <sup>;</sup> 2. _Hk_ <sup>_b_</sup>, _t_ <sup>represents</sup> <sup>the</sup> <sup>total</sup> <sup>amount</sup> <sup>of</sup> <sup>heat</sup> <sup>obtained</sup> <sup>by</sup> <sup>the</sup> building from the radiator over period _t_ . So, the thermal inertia of a building can be expressed as a function of the indoor temperature in Equation (22). Δ _t_ ( _<u>k</u>_ <sup>_b_</sup>, _<u>t</u>_ <sup>−</sup> <sup>_Q_</sup> _<u>k</u>_ <sup>_BE_</sup>, _<u>t</u>_ _<u>k</u>_ <sup>_BE_</sup>, _<u>t</u>_ <sup>−</sup> <sup>_Q_</sup> _<u>k</u>_ <sup>_In f_</sup>, _<u>t</u>_ _<u>k</u>_ <sup>_In f_</sup>, _<u>t</u>_ <sup>−</sup> <sup>_QVen_</sup> _<u>k</u>_, _<u>t</u>_ <sup>_Ven_</sup> _<u>k</u>_, _<u>t</u>_ ) (22) ? _k_ <sup>_in_</sup>, _k_ <sup>_in_</sup>, _t_ +1 <sup>= ?</sup> _k_ <sup>_in_</sup>, _k_ <sup>_in_</sup>, _t_ <sup>+</sup> _Hk_ <sup>_b_</sup> _CM_ _Mk_ [ ? _u_ ⎧ ⎪ ⎨ ⎪⎩ _N_ ∑ _tpu_ _u_ =1 ( _Pu_ <sup>_tpu_</sup>, _t_ )2 + ? _uPu_ <sup>_tpu_</sup>, _t_ <sup>+ ?</sup> _u_ ] ∑ _T_ _t_ =1 In Equation (22), _CM_ is the heat capacity (KJ∕(kg ⋅ <sup>◦</sup> C)) of indoor air and _Mk_ is the mass of air (kg) in building k. min _C_ = _w_ <sup>_w f_</sup>, _t_ <sup>−</sup> <sup>_P_</sup> _w_ <sup>_wt_</sup>, _t_ Equations (25–27) define the generation output constraints where Ω _tpu_, Ω _gt_ and Ω _chp_ are the collection of thermal power units, gas turbines and CHP units. For thermal power unit _u_, _Pu_ <sup>_tpu_</sup>,min <sup>and</sup> <sup>_P_</sup> _u_ <sup>_tpu_</sup>,max <sup>specify the upper and lower output limit (MW).</sup> _w_ <sup>_wt_</sup>, _t_ _i_ <sup>_well_</sup>, _t_ <sup>+</sup> ∑ _Nwt_ _w_ =1 _Pw_ <sup>_w f_</sup>, _t_ ) + + _Nwell_ ∑ _i_ =1 ∑ _Np_ _i_ =1 _C_ <sup>_ps_</sup> _Pi_, <sup>_ps_</sup> _t_ <sup>+</sup> _C_ <sup>_ps_</sup> _Pi_, <sup>_ps_</sup> _t_ _Ci_ <sup>_well_</sup> _i_ <sup>_well_</sup> _qi_ <sup>_well_</sup>, _t_ _Cw_ <sup>_wt_</sup> ( limit (MW) for gas turbine _g_ whilst _Pc_ <sup>_chp_</sup>,min <sup>and</sup> <sup>_P_</sup> _c_ <sup>_chp_</sup>,max <sup>indicate the</sup> output limit (MW) of CHP unit _c_ . _u_ <sup>_tpu_</sup>,min <sup>and</sup> <sup>_P_</sup> _u_ <sup>_tpu_</sup>, ⎫ ⎪ ⎬ ⎪⎭ limit (MW) for gas turbine _g_ whilst _Pc_ <sup>_chp_</sup>, _u_ <sup>_tpu_</sup>,max <sup>specify the upper and lower output limit (MW).</sup> _g_ <sup>_gt_</sup>,max <sup>denote</sup> <sup>the</sup> <sup>upper</sup> <sup>and</sup> <sup>lower</sup> <sup>output</sup> _c_ <sup>_chp_</sup>,min <sup>and</sup> <sup>_P_</sup> _c_ <sup>_chp_</sup>, ∑ _Ng_ _i_ =1 _C_ <sup>_gs_</sup> _qi_ <sup>_gs_</sup>, _t_ _C_ <sup>_gs_</sup> _qi_ <sup>_gs_</sup>, _t_ (23) Similarly, _Pg_ <sup>_gt_</sup>, _Pg_ <sup>_gt_</sup>,min <sup>and</sup> <sup>_P_</sup> _g_ <sup>_gt_</sup>, Equation (23) shows the objective function where _C_ is the total operation cost of IES within a scheduling period. The number of thermal power units, gas sources/wells, wind turbines, power network nodes, heat network nodes and gas network nodes are denoted as _Ntpu_, _Nwell_, _Nwt_, _Np_, _Nh_ and _Ng_, respectively. _Pu_ <sup>_tpu_</sup>, _t_ indicates the generating power (MW) of thermal power unit _u_ at time _t_ whilst _qi_ <sup>_well_</sup>, _t_ represents the amount of gas (m <sup>3</sup> ) purchased _Rg_ <sup>_down_</sup> Δ _t_ ≤ _Pg_ <sup>_gt_</sup>, _t_ _g_ <sup>_gt_</sup>, _t_ <sup>−</sup> <sup>_P_</sup> _g_ <sup>_gt_</sup>, _t_ _Ramping constrains_ _Ru_ <sup>_down_</sup> Δ _t_ ≤ _Pu_ <sup>_tpu_</sup>, _t_ _u_ <sup>_tpu_</sup>, _t_ <sup>−</sup> <sup>_P_</sup> _u_ <sup>_tpu_</sup>, _t_ _u_ <sup>_tpu_</sup>, _t_ −1 <sup>≤</sup> <sup>_R_</sup> _u_ <sup>_up_</sup> _u_ <sup>_up_</sup> <sup>Δ</sup> <sup>_t_</sup> <sup>_u_</sup> <sup>∈Ω</sup> _tpu_ (28) <sup>_P_</sup> _g_ <sup>_gt_</sup>, _t_ −1 <sup>≤</sup> <sup>_R_</sup> _g_ <sup>_up_</sup> _g_ <sup>_up_</sup> <sup>Δ</sup> <sup>_t_</sup> <sup>_g_</sup> <sup>∈Ω</sup> _gt_ (29) by gas source/well _i_ at time _t_ . _Pw_ <sup>_w f_</sup>, _t_ _w_ <sup>_w f_</sup>, _t_ <sup>and</sup> <sup>_P_</sup> _w_ <sup>_wt_</sup>, _t_ by gas source/well _i_ at time _t_ . _Pw_ <sup>_w f_</sup>, _t_ <sup>and</sup> <sup>_P_</sup> _w_ <sup>_wt_</sup>, _t_ <sup>show</sup> <sup>the</sup> <sup>forecast</sup> and actual output power (MW) of wind turbine _w_ at time _t_ . The electrical load deficit (MW) of power network node _i_ and gas load deficit (m <sup>3</sup> ) of gas network node _i_ at time _t_ are written as _Pi_, <sup>_ps_</sup> _t_ <sup>and</sup> <sup>_q_</sup> _i_ <sup>_gs_</sup>, _t_ <sup>.</sup> <sup>?</sup> <sup>_u_</sup> <sup>,</sup> <sup>?</sup> <sup>_u_</sup> <sup>and</sup> <sup>?</sup> <sup>_u_</sup> <sup>are</sup> <sup>the</sup> <sup>output</sup> <sup>cost</sup> <sup>coefficients</sup> <sup>of</sup> _Rc_ <sup>_down_</sup> Δ _t_ ≤ _Pc_ <sup>_chp_</sup>, _t_ _Pc_ <sup>_chp_</sup>, _t_ <sup>−</sup> <sup>_P_</sup> _c_ <sup>_chp_</sup>, _t_ <sup>_P_</sup> _c_ <sup>_chp_</sup>, _t_ −1 <sup>≤</sup> <sup>_R_</sup> _c_ <sup>_up_</sup> _c_ <sup>_up_</sup> <sup>Δ</sup> <sup>_t_</sup> <sup>_c_</sup> <sup>∈Ω</sup> _chp_ (30) _i_, <sup>_ps_</sup> _t_ <sup>and</sup> <sup>_q_</sup> _i_ <sup>_gs_</sup>, _t_ _Pi_, <sup>_ps_</sup> _t_ <sup>and</sup> <sup>_q_</sup> _i_ <sup>_gs_</sup>, _t_ <sup>.</sup> <sup>?</sup> <sup>_u_</sup> <sup>,</sup> <sup>?</sup> <sup>_u_</sup> <sup>and</sup> <sup>?</sup> <sup>_u_</sup> <sup>are</sup> <sup>the</sup> <sup>output</sup> <sup>cost</sup> <sup>coefficients</sup> <sup>of</sup> thermal power unit _u_ . The unit price to purchase gas ($∕m <sup>3</sup> ) by gas source/well _i_ is expressed as _Ci_ <sup>_well_</sup> and the coefficient of wind curtailment penalty ($∕MW) as _Ci_ <sup>_wt_</sup> <sup>.</sup> <sup>_C ps_</sup> <sup>and</sup> <sup>_C gs_</sup> <sup>($∕MW)</sup> The ramping constraints are specified in Equations (28–30) where _Ru_ <sup>_down_</sup> and _Ru_ <sup>_up_</sup> represent the maximum ramp-up and as _Rg_ <sup>_down_</sup> and _Rg_ <sup>_up_</sup> <sup>. For the CHP unit</sup> <sup>_c_</sup> <sup>, the associated maximum</sup> up and down speed (MW∕h) are written as _Rc_ <sup>_down_</sup> and _Rc_ <sup>_up_</sup> <sup>.</sup> _i_ wind curtailment penalty ($∕MW) as _Ci_ <sup>_wt_</sup> <sup>.</sup> <sup>_C ps_</sup> <sup>and</sup> <sup>_C gs_</sup> <sup>($∕MW)</sup> are the coefficient of electrical load deficit penalty and gas load deficit penalty, respectively. where _Ru_ <sup>_down_</sup> and _Ru_ <sup>_up_</sup> represent the maximum ramp-up and ramp-down speed (MW∕h) for thermal power unit _u_ . The maximum up and down speed (MW∕h) of gas turbine _g_ are expressed as _Rg_ <sup>_down_</sup> and _Rg_ <sup>_up_</sup> <sup>. For the CHP unit</sup> <sup>_c_</sup> <sup>, the associated maximum</sup> _c_ <sup>_up_</sup> <sup>.</sup> 3.2 Constraints 3.2.1 Power system constraints _Power balance constraint_ _Transmission flow constraints_ ? _i j_, _t_ || _Pi j_, _t_ || = _xi j_ ≤ _Pi j_,max (31) ∑ _u_ ∈ _i_ _p_ <sup>_tpu_</sup> _u_, _t_ <sup>+</sup> ∑ _c_ ∈ _i_ _p_ <sup>_chp_</sup> _c_, _t_ <sup>+</sup> ∑ _g_ ∈ _i_ _p_ <sup>_gt_</sup> _g_, _t_ <sup>+</sup> _p_ <sup>_gt_</sup> _g_, ∑ _w_ ∈ _i_ _p_ <sup>_wt_</sup> _w_, _t_ <sup>_wt_</sup> _w_, _t_ <sup>+</sup> <sup>_P_</sup> _i_ <sup>_ps_</sup>, _t_ _i_, _t_ = _Pi_ <sup>_load_</sup>, _t_ + = _Pi_ <sup>_load_</sup>, _t_ ∑ _j_ ∈ _i_ _Pi j_, _t_ (24) The upper limit of the power flow that can be carried on the transmission line connecting to node _i_ and _j_ are specified by _Pi j_,max in Equation (31). ? _i j_, _t_ is the phase angle difference (rad) between node _i_ and _j_ at time _t_ and _xi j_ is the reactance of the line connecting to node _i_ and _j_ . 3.2.2 Heat system constraints _CHP constraints_ CHP units run in a heat-driven mode and the relationship between the electricity and heat production of CHP units could be expressed in Equation (32), where _kc_ is the heat-to-electricity ratio of the units. The constraint of power flow balance is shown in Equation (24) where _p_ <sup>_chp_</sup> _c_, _t_ <sup>and</sup> <sup>_pgt_</sup> _g_, _t_ <sup>are the generation power (MW) of CHP unit</sup> _c_ and gas turbine _g_ connecting to node _i_ at time t. _Pi_ <sup>_load_</sup>, _t_ denotes the electrical load of node _i_ at time _t_ whilst _Pi j_, _t_ represents the power (MW) of the transmission line connected with node _i_ at time _t_ . Note that the power flow is positive when it enters node _i_ and becomes negative when it exits the node. _Generation output constraints_ _Pc_ <sup>_chp_</sup>, _t_ _c_ <sup>_chp_</sup>, _t_ <sup>=</sup> <sup>_k_</sup> _c_ <sup>_H_</sup> _c_ <sup>_chp_</sup>, _t_ _c_ <sup>_chp_</sup>, _t_ <sup>_c_</sup> <sup>∈Ω</sup> _chp_ (32) _Pu_ <sup>_tpu_</sup>, _Pu_ <sup>_tpu_</sup>,min <sup>≤</sup> <sup>_P_</sup> _u_ <sup>_tpu_</sup>, _t_ _u_ <sup>_tpu_</sup>, _t_ <sup>≤</sup> <sup>_P_</sup> _u_ <sup>_tpu_</sup>,max _u_ <sup>_tpu_</sup>,max <sup>_u_</sup> <sup>∈Ω</sup> _tpu_ (25) The thermal output of the CHP units is used to heat the water flow in the network, which is related to the temperature of the supply and return pipes, as shown in Equation (33). _Tc_, <sup>_s_</sup> _t_ <sup>,</sup> <sup>_in_</sup> - _Tc_, <sup>_r_</sup> _t_ <sup>,</sup> <sup>_out_</sup> _c_, _t_ ) _c_ ∈Ω _chp_ (33) ( _Tc_, <sup>_s_</sup> _t_ <sup>,</sup> <sup>_in_</sup> _Pg_ <sup>_gt_</sup>, _g_ <sup>_gt_</sup>,min <sup>≤</sup> <sup>_P_</sup> _g_ <sup>_gt_</sup>, _t_ _g_ <sup>_gt_</sup>, _t_ <sup>≤</sup> <sup>_P_</sup> _g_ <sup>_gt_</sup>, <sup>_P_</sup> _g_ <sup>_gt_</sup>,max <sup>_g_</sup> <sup>∈Ω</sup> _gt_ (26) _Hc_ <sup>_chp_</sup>, _t_ <sup>=</sup> <sup>_C_</sup> <sup>⋅</sup> <sup>_q_</sup> _c_ <sup>⋅</sup> _Pc_ <sup>_chp_</sup>, _c_ <sup>_chp_</sup>,min <sup>≤</sup> <sup>_P_</sup> _c_ <sup>_chp_</sup>, _t_ _c_ <sup>_chp_</sup>, _t_ <sup>≤</sup> <sup>_P_</sup> _c_ <sup>_chp_</sup>,max _c_ <sup>_chp_</sup>,max <sup>_c_</sup> <sup>∈Ω</sup> _chp_ (27) _Hc_ <sup>_chp_</sup>, _t_ <sup>represents the thermal output of CHP units (MW) and</sup> <sup>_q_</sup> _c_ <sup>is</sup> the amount of water flow (kg∕s) at the boundary between CHP and the water pipelines. _Tc_, <sup>_s_</sup> _t_ <sup>,</sup> <sup>_in_</sup> _c_, <sup>_s_</sup> _t_ <sup>,</sup> <sup>_in_</sup> and _Tc_, <sup>_r_</sup> _t_ <sup>,</sup> <sup>_out_</sup> and the water pipelines. _Tc_, <sup>_s_</sup> _t_ <sup>,</sup> <sup>_in_</sup> and _Tc_, <sup>_r_</sup> _t_ <sup>,</sup> <sup>_out_</sup> denote the temperature at the inlet of the water supply pipe and the outlet of the water return pipe. Note that both the supply and return pipelines are connected to the CHP. _Temperature constraints of pipelines_ The temperatures of supply and return pipelines need to remain within their limits in order to maintain the reliable operation of thermal system and these limits are given in Equations (34)–(37). _Ts_ <sup>min</sup> ≤ _Tk_ <sup>_s_</sup>, <sup>,</sup> _t_ <sup>_in_</sup> ≤ _Ts_ <sup>max</sup> (34) _Ts_ <sup>min</sup> ≤ _Tk_ <sup>_s_</sup>, <sup>,</sup> _t_ <sup>_out_</sup> ≤ _Ts_ <sup>max</sup> (35) _Tr_ <sup>min</sup> ≤ _Tk_ <sup>_r_</sup>, _t_ <sup>,</sup> <sup>_in_</sup> ≤ _Tr_ <sup>max</sup> (36) _Tr_ <sup>min</sup> ≤ _Tk_ <sup>_r_</sup>, _t_ <sup>,</sup> <sup>_out_</sup> ≤ _Tr_ <sup>max</sup> (37) _Heat exchange station constraints_ Thermal energy in the primary network enters the secondary network through the heat exchange station and is subsequently distributed to users through the secondary network. The heat exchange station can be modelled as a heat load using the following equation, where Ω _hes_ represents the collection of heat exchange stations and _Hh_ <sup>_hes_</sup>, _t_ <sup>is the load (MW) of station</sup> <sup>_h_</sup> <sup>. The</sup> amount of water flow (kg∕s) in the pipeline connected with the exchange station is _qh_ . _Th_ <sup>_s_</sup>, _t_ <sup>,</sup> <sup>_out_</sup> and _Th_ <sup>_r_</sup>, _t_ <sup>,</sup> <sup>_in_</sup> represent the outlet and _h_ <sup>_s_</sup>, _t_ <sup>,</sup> <sup>_out_</sup> and _Th_ <sup>_r_</sup>, _t_ <sup>,</sup> <sup>_in_</sup> exchange station is _qh_ . _Th_ <sup>_s_</sup>, _t_ <sup>,</sup> <sup>_out_</sup> and _Th_ <sup>_r_</sup>, _t_ <sup>,</sup> <sup>_in_</sup> represent the outlet and inlet temperature ( <sup>◦</sup> C) of the water supply pipeline and return pipeline connecting to the exchange at time _t_ . _h_ ∈Ω _hes_ (42) <sup>_s_</sup> <sup>,</sup> <sup>_out_</sup> - _T_ <sup>_r_</sup> <sup>,</sup> <sup>_in_</sup> _h_, _t_ _h_, _t_ _h_, _t_ ) _Hh_ <sup>_hes_</sup>, _t_ <sup>=</sup> <sup>_C_</sup> <sup>⋅</sup> <sup>_qh_</sup> <sup>⋅</sup> ( _T_ <sup>_s_</sup> <sup>,</sup> <sup>_out_</sup> _h_, _t_ In this paper, only the primary network is considered and the influence of secondary network is neglected, due to the small size and limited heat storage capacity of the secondary network. As a consequence, the thermal energy obtained by buildings equals to the heat output from the heat exchange stations and can be expressed as Equation (43). ∑ _k_ ∈ _h_ _Hk_ <sup>_b_</sup>, _t_ (43) The upper and lower temperature limit ( <sup>◦</sup> C) for the supply and return pipelines are expressed as _Ts_ <sup>min</sup>, _Ts_ <sup>max</sup> and _Tr_ <sup>min</sup>, _Tr_ <sup>max</sup> . The temperature at the inlet and outlet of supply pipeline _k_ at time _t_ is represented by _Tk_ <sup>_s_</sup>, <sup>,</sup> _t_ <sup>_in_</sup> and _Tk_ <sup>_s_</sup>, <sup>,</sup> _t_ <sup>_out_</sup> whilst the temperature _Hh_ <sup>_hes_</sup>, _t_ <sup>=</sup> _k_ <sup>_s_</sup>, <sup>,</sup> _t_ <sup>_in_</sup> and _Tk_ <sup>_s_</sup>, <sup>,</sup> _t_ <sup>_out_</sup> 3.2.3 Natural gas system constraints _Nodal flow balance_ According to conservation of mass, the total amount of gas flowing into one node is equal to the amount flowing out, which can be formulated as Equation (24). of return pipeline _k_ are _Tk_ <sup>_r_</sup>, _t_ <sup>,</sup> <sup>_in_</sup> _k_ <sup>_r_</sup>, _t_ <sup>,</sup> <sup>_in_</sup> and _Tk_ <sup>_r_</sup>, _t_ <sup>,</sup> <sup>_out_</sup> _k_ <sup>_r_</sup>, _t_ <sup>,</sup> <sup>_out_</sup> . _k_ <sup>_s_</sup>, <sup>,</sup> _t_ <sup>_out_</sup> whilst the temperature _Fusion of temperature_ According to the first law of thermodynamics, the amount of thermal energy flowing into one node is equal to the amount flowing out and such relationship can be illustrated by Equations (38) and (39) ∑ _w_ ∈ _i_ _qw_ <sup>_well_</sup>, _t_ <sup>+</sup> ∑ ∑ _i_ <sup>_gs_</sup>, _t_ <sup>=</sup> <sup>_q_</sup> _i_ <sup>_load_</sup>, _t_ + _i_ <sup>_load_</sup>, _t_ _g_ ∈ _i_ <sup>_P_</sup> _g_ <sup>_gt_</sup>, _t_ ? _gt HG_ _g_ ∈ _i_ <sup>_P_</sup> _g_ <sup>_gt_</sup>, _t_ ∑ _j_ ∈ _i_ _qi j_ <sup>_e_</sup> <sup>,</sup> <sup>_out_</sup>, _t_ _i j_ <sup>_e_</sup> <sup>,</sup> <sup>_out_</sup>, _t_ <sup>+</sup> <sup>_q_</sup> _i_ <sup>_gs_</sup>, _t_ ∑ _j_ ∈ _i_ ( _qi j_ <sup>_s_</sup> <sup>,</sup> <sup>_in_</sup>, _t_ <sup>+</sup> _<u>c</u>_ <sup>_chp_</sup>, _<u>t</u>_ <sup>+</sup> <sup>_H_</sup> _<u>c</u>_ <sup>_chp_</sup>, _<u>t</u>_ ∑ _k_ ∈Ω _pipes_, _i_ ∑ _k_ ∈Ω _piper_, _i_ ( <sup>_s_</sup> <sup>,</sup> <sup>_out_</sup> ⋅ _q_ <sup>_s_</sup> _k_, _t_ _k_ = _Ti_, <sup>_r_</sup> _t_ <sup>⋅</sup> _T_ <sup>_s_</sup> <sup>,</sup> <sup>_out_</sup> _k_, _t_ _k_, _t_ _qk_ <sup>_s_</sup>, _t_ (38) _<u>c</u>_, _<u>t</u>_ ) (44) ) ) = _Ti_, <sup>_s_</sup> _t_ <sup>⋅</sup> _Pc_ <sup>_chp_</sup>, _<u>t</u>_ + _<u>c</u>_ <u>∈</u> _<u>i</u>_ ? _chpHG_ ( <sup>_r_</sup> <sup>,</sup> <sup>_out_</sup> ⋅ _q_ <sup>_r_</sup> _k_, _t_ _k_ _T_ <sup>_r_</sup> <sup>,</sup> <sup>_out_</sup> _k_, _t_ _k_, _t_ ∑ _k_ ∈Ω _pipes_, _i_ ∑ _k_ ∈Ω _piper_, _i_ _qk_ <sup>_r_</sup>, _t_ (39) _qw_ <sup>_well_</sup>, _t_ _qw_ <sup>_well_</sup>, _t_ <sup>indicates</sup> <sup>the</sup> <sup>amount</sup> <sup>of</sup> <sup>gas</sup> <sup>being</sup> <sup>purchased</sup> <sup>at</sup> <sup>the</sup> <sup>gas</sup> source/well connecting the node _i_ at time _t_ whilst _qi j_ <sup>_e_</sup> <sup>,</sup> <sup>_out_</sup>, _t_ rep resents the amount of gas flow (m <sup>3</sup> ∕h) at the outlet of pipeline _ij_ ending at node _i_ at time _t_ . The gas load and the supply deficit (m <sup>3</sup> ) at node _i_ at time _t_ are denoted as _qi_ <sup>_load_</sup>, _t_ and _qi_ <sup>_gs_</sup>, _t_ <sup>, respectively.</sup> Ω _pipes_, _i_ - and Ω _piper_, _i_ - represents the collection of water supply and return pipelines whose end point is node _i_ . Similarly, Ω _pipes_, _i_ + and Ω _piper_, _i_ + are the collection of supply and return pipelines starting from node _i_ . The temperature at the _i_ th node within the supply and return network at time _t_ are denoted as _T_ <sup>_s_</sup> _i_, _t_ and _T_ <sup>_r_</sup> _i_, _t_ . After the temperature fusion at one node, a steady temperature field is formed at the node where the nodal temperature is equal to the inlet temperature of the pipeline starting with the node. _T_ <sup>_s_</sup> _i_, _t_ = _Tk_ <sup>_s_</sup>, <sup>,</sup> _t_ <sup>_in_</sup> (40) _T_ <sup>_r_</sup> _i_, _t_ = _Tk_ <sup>_r_</sup>, _t_ <sup>,</sup> <sup>_in_</sup> (41) _qi j_ <sup>_s_</sup> <sup>,</sup> <sup>_in_</sup>, _t_ _i_ <sup>_load_</sup>, _t_ and _qi_ <sup>_gs_</sup>, _t_ <sup>_gs_</sup> _i_, _t_ <sup>, respectively.</sup> _i j_ <sup>_s_</sup> <sup>,</sup> <sup>_in_</sup>, _t_ <sup>is the amount of gas flow (m3∕h) at the inlet of pipeline</sup> <sup>_ij_</sup> starting at node _i_ at time _t_ and _Pg_ <sup>_gt_</sup>, _t_ starting at node _i_ at time _t_ and _Pg_ <sup>_gt_</sup>, _t_ <sup>is</sup> <sup>the</sup> <sup>output</sup> <sup>power</sup> <sup>(MW)</sup> of gas turbine connecting to node _i_ at time _t_ . The power output and thermal output (MW) of the CHP connecting to node _i_ at time _t_ are expressed as _Pc_ <sup>_chp_</sup>, _t_ <sup>and</sup> <sup>_H_</sup> _c_ <sup>_chp_</sup>, _t_ <sup>.</sup> <sup>?</sup> _gt_ <sup>and</sup> <sup>?</sup> _chp_ <sup>are</sup> <sup>the</sup> _c_ <sup>_chp_</sup>, _t_ <sup>and</sup> <sup>_H_</sup> _c_ <sup>_chp_</sup>, _t_ <sup>.</sup> _i_ at time _t_ are expressed as _Pc_ <sup>_chp_</sup>, _t_ <sup>and</sup> <sup>_H_</sup> _c_ <sup>_chp_</sup>, _t_ <sup>.</sup> <sup>?</sup> _gt_ <sup>and</sup> <sup>?</sup> _chp_ <sup>are</sup> <sup>the</sup> conversion efficiency of the gas turbine and CHP. The calorific value of the gas is represented as _HG_ whose value is 39MJ∕m <sup>3</sup> . _Gas production constraints_ _qw_ <sup>min</sup> ≤ _qw_ <sup>_well_</sup>, _t_ <sup>≤</sup> <sup>_q_</sup> _w_ <sup>max</sup> (45) Equation (45) specifies the constraint for gas production, where _qw_ <sup>min</sup> and _qw_ <sup>max</sup> are the minimum and maximum amount of gas that can be purchased from gas source/well _w_ . _Nodal pressure constraints_ The security of system operation will significantly decrease when the pressure of nodes is higher than the maximum threshold whilst excessively low nodal pressure can impact the reliability of natural gas supply. Therefore, the nodal pressure should not exceed the limit of each node as shown in Equation (46). _p_ <sup>min</sup> _i_ _p_ <sup>min</sup> _i_ ≤ _pi_, _t_ ≤ _p_ <sup>max</sup> _i_ <sup>max</sup> _i_ (46) FIGURE 4 Approximation of a nonlinear function tion (50) where _Ci j_ 2 is the flow-pressure related coefficient that is merely determined by the pipe characteristics. where _p_ <sup>min</sup> _i_ <sup>min</sup> _i_ and _p_ <sup>max</sup> _i_ where _p_ <sup>min</sup> _i_ and _p_ <sup>max</sup> _i_ is upper and lower limit of the pressure (bar) at node _i_ within the gas network. _pi_, _t_ is the pressure of node _i_ at time _t_ . ||| = _Ci j_ ||| _<u>qi j</u>_, _t_ 2( _pi_, _t_ 2 − _p j_, _t_ 2) (50) _Compressor constraints_ The pressure loss increases with the transmission distance and it is necessary to add compressors at intermediate nodes in order to ensure the reliability of natural gas supply. A simplified compressor model which neglects the own energy consumption is adopted in this paper and can be represented as Equation (47). _pl_, _t_ ≤ _kco_, _kl pk_, _t_ _kl_ ∈Ω _pipe_, _co_ (47) Ω _pipe_, _co_ denotes the collection of the gas pipelines employing compressors. The gas pressure of node _k_ and node _l_ at time _t_ are indicated by _pk_, _t_ and _pl_, _t_ . The compression efficient of the compressor deployed in pipeline _kl_ is represented by _kco_, _kl_ . _Flow–pressure constraints_ _<u>qi j</u>_, _t_ 3.2.4 Incremental linearization Squared terms exist in part of the objective function that is related to the operation cost of thermal units as well as the flowpressure constraint equations, which leads to a non-linear IES model. In order to reduce the computational complexity, the squared thermal power output ( _Pu_ <sup>_tpu_</sup>, _t_ <sup>),</sup> <sup>squared</sup> <sup>pressures</sup> <sup>(</sup> <sup>_p_</sup> <sup>2</sup> _i_, _t_ <sup>,</sup> _u_ <sup>_tpu_</sup>, _t_ <sup>),</sup> <sup>squared</sup> <sup>pressures</sup> <sup>(</sup> <sup>_p_</sup> <sup>2</sup> _i_, <sup>2</sup> _j_, _t_ <sup>)</sup> <sup>and</sup> <sup>squared</sup> <sup>average</sup> <sup>gas</sup> <sup>flow</sup> <sup><u>(</u></sup> <sup>_<u>q</u>_</sup> <sup>~~2~~</sup> _i j_ <sup>2</sup> _i_, _t_ <sup>,</sup> _p_ <sup>2</sup> _j_ )2 ( _pi_, _t_ <sup>2</sup> - _p j_, _t_ <sup>2)</sup> (48) 5 _<u>qi j</u>_, _t_ <sup>|</sup> | _<u>qi j</u>_, _t_ <sup>|</sup> | = ( <u>?</u> 4 ⋅ _Li j_ _Fi j_ _RTZ_ ?0 <sup>2</sup> _Di j_ _p_ <sup>2</sup> _j_, _t_ <sup>)</sup> <sup>and</sup> <sup>squared</sup> <sup>average</sup> <sup>gas</sup> <sup>flow</sup> <sup><u>(</u></sup> <sup>_<u>q</u>_</sup> <sup>~~2~~</sup> _i j_, _t_ <sup>)</sup> <sup>are</sup> <sup>linearized.</sup> <sup>More</sup> specifically, the incremental linearization method is adopted to derive a MILP model. The performance of the incremental linearization method has been examined within a gas network optimization problem in terms of accuracy and computation speed [24]. The aforementioned quadratic functions are univariate functions in the form of _f_ ( _x_ ) = _x_ <sup>2</sup> and each variable has a specific range, which means they could be approximated using a piecewise method as shown in Figure 4. The number ( _k_ - 1) of linear segments is determined according to the model scale and characteristics and the relationship between the discrete point is _A_ = _X_ 1 ≤ _X_ 2 ≤ ⋅⋅⋅ ≤ _Xk_ = _B_ with corresponding function value calculated by _f_ ( _x_ 1), _i_ ∈ _V_ ∶ {1, ⋅⋅⋅, _k_ }. The functions could be approximated with following expressions: _<u>qi j</u>_, _t_ = _qi_, _t_ + _q_ _j_, _t_ (49) 2 Equations (48) and (49) model the flow-pressure constraints where _<u>qi j</u>_, _t_ is the amount of gas flow (m <sup>3</sup> ∕s) in pipeline _ij_ at time _t_ . The inner diameter (m) and length (m) of pipeline _ij_ are denoted as _Di j_ and _Li j_ . _Fi j_ is the friction coefficient of pipeline _ij_ whilst _R_ is the natural gas constant (m <sup>2</sup> ∕(s <sup>2</sup> ⋅ K)). The temperature and gas compression coefficient of the pipeline are expressed as _T_ and _Z_, respectively. ?0 represents the gas density (kg∕m <sup>3</sup> ) inside the pipeline under standard conditions. _pi_, _t_, _p_ _j_, _t_ are pressure (bar) at both ends of pipeline _ij_, and _qi_, _t_, _q j_, _t_ are the amount of gas flow (m <sup>3</sup> ∕s) at both ends of pipeline _ij_ . By combining the parameters related to pipe characteristics and the constants, Equation (48) can be simplified as Equa 0 ≤ ? _i_ ≤ 1 ∀ _i_ ∈ _p_ (54) [ _f_ ( _Xi_ +1) − _f_ ( _Xi_ )] ⋅? _i_ (51) ( _Xi_ +1 − _Xi_ ) ⋅? _i_ (52) ∀ _i_ ∈ _P_ - 1 (53) _f_ ( _x_ ) ≈ _f_ ( _X_ 1) + _x_ ≈ _X_ 1 + ∑ _i_ ∈ _P_ ∑ _i_ ∈ _P_ { ? _i_ +1 ≤ ? _i_ ? _i_ ≤ ? _i_ FIGURE 5 IES topology _P_ is the collection of approximate points and ? _i_ is the continuous variable whose value is in the range between 0 and 1. ? _i_ is a binary variable which ensures that the linear segments cover the full value range. If ? _i_ is greater than 0 for any _i_ within the range (2, _k_ - 1), ? _j_ will be equal to 1 for any _j_ within the range (1, _i_ ). This means when segment _i_ is selected, all other segments on its left side must be selected. 4 CASE STUDY 4.1 Simulation system Figure 5 shows the overview of the IES used in the case study, which consists of an IEEE 14-bus power system, a 10-node gas system and an 8-node heating system. The 10-node natural gas system is given by [25], as well as the 8-node heating system is given by [22]. The data of buildings is given by [26]. For the gas system, the initial gas linepack is set to 5 × 10 <sup>5</sup> m <sup>3</sup> . With regard to the heating system, the temperature range of the water supply pipelines is set to 70–90 <sup>◦</sup> C and the range of the return pipelines is set to 30–50 <sup>◦</sup> C. To reduce the amount of required computation resources, the thermal model of an entire building is simplified as that of a single room using a centralized approach instead of modelling each room within the building. Each of the four heat exchange stations is connected to one building. The scheduling timestep of power system and natural gas system is configured as 1 h while the timestep of the heating system is 10 min. Output power of the devices will remain unchanged during the same scheduling timestep. Both the penalty cost of wind curtailment and supply deficit is set as 50$∕(MW ⋅ h). The electric heat ratio of CHP is configured as 1.5 with the conversion efficiency equal to 60% whilst the conversion efficiency of gas turbines is 30%. Hourly loads and forecast wind power are shown in Figure 6. It is worth noting that the heat load is derived in a way that it can maintain the indoor temperature at 20 <sup>◦</sup> C in a typical winter day. Other information about the simulated system such as the subsystem and unit parameters can be found in Appendix A. All tests are performed on a computer with four processors running at 2.90 GHz with 16 GB of memory. Programs are coded using MATLAB R2020a, solved by GUROBI. To compare and analyses the impact of the linepack and inertia of the heating system, the following cases are investigated. Case 1: base case where the thermal inertia and gas linepack are not considered. As a result, linepack constraints specified in Equations (5–7) and thermal constraints defined in Equations (8–16) are not used and the inflow equals to the outflow in each water pipeline. The indoor FIGURE 6 Hourly loads and forecast wind power temperature of buildings is set at20 <sup>◦</sup> C. Equation (55) is added to the IES model as a new constraint for the heating system, replacing Equations (33–42). ∑ _c_ ∈Ω _chp_ _Hc_ <sup>_chp_</sup>, _t_ <sup>=</sup> ∑ _h_ ∈Ω _hes_ _Hh_ <sup>_hes_</sup>, _t_ (55) Case 2-a: the IES operation only considers the thermal inertia of the heating network. Therefore, the linepack constraints specified in Equations (5)–(7) are dropped. Similar to Case 1, the indoor temperature of buildings is set as 20 <sup>◦</sup> C. Case 2-b: the IES operation considers the heat inertia of the heating network and buildings. So, the linepack constraints specified in Equations (5)–(7) are neglected. The temperature range of buildings is restricted to the range of 18–22 <sup>◦</sup> C. Case 3: the IES operation only considers the gas linepack and the thermal constraints specified in Equations (8)–(16) are not involved. The indoor temperature is restrained at 20 <sup>◦</sup> C. Equation (55) is added to the IES model as a new constraint for the heating system, replacing Equations (33)–(42). Case 4: the IES operation considers the thermal inertia of the network and buildings as well as and the gas linepack. 4.2 Analysis of thermal inertia and gas linepack characteristics 4.2.1 Thermal inertia characteristics Case 1 is compared with Case 2-a and 2-b to study how the inertia of heating system can affect the system operation optimization. FIGURE 7 Heat outputs of CHP in Case 1, 2-a and 2-b The thermal output power of CHP units in Case 1, 2-a and 2-b are presented in Figure 7. In case 1 where no thermal inertia is considered, the CHP units run in the heat-driven mode so the total heat production of CHP units is in line with the heat demand. After incorporating the inertia of the heating system, the heat output of CHP units in case 2-a and 2-b does not follow the heat demand pattern. Instead, the thermal storage of the heating system takes effect so that the output of the CHP units can be flexibly adjusted and the spatiotemporal decoupling between the heat generation and demand can be achieved. For case 2-a considering only the inertia of the heating network, the pipelines release a total amount of thermal energy during 21–9 h to meet the heat demand, which can lower the generation output of the CHP units and create more room for wind power consumption. The flexibility of the heating system can be further improved when the inertia of both heating network and buildings are used, as demonstrated in Case 2-b. More FIGURE 8 Wind power output in Case 1, 2-a and 2-b specifically, the buildings provide thermal energy in addition to that from the system. This can further reduce the CHP output and enhance the system capacity to accommodate more wind power. The generation output of wind turbines is shown in Figure 8. By shifting the peak CHP generation output from the night time to the day time, the utilization of wind power at night has been significantly improved. It is predicted that the daily available wind generation is approximately 1321.22MW ⋅ h and the actual wind power consumption is up to 1136.33MW ⋅ h in Case 1. If the inertia of the heating network is considered, the actual wind power being utilized increases to 1204.95MW ⋅ h. Moreover, when the heat inertia of buildings is also taken into account, the actual consumed volume ultimately reaches 1268.76MW ⋅ h, with the curtailment rate decreasing from 14.00% to 3.97%. It is obvious that the heating system has a huge amount of heat storage potential, which could improve the flexibility of CHP units and solve the problem of wind power curtailment due to the spatiotemporal coupling between heat demand and wind power. 4.2.2 Gas linepack characteristics Case 1 is compared with Case 3 to investigate the influence of gas linepack on the system optimization. The gas source output is illustrated in Figure 9. In case 1, the gas demand is only supplied by the gas sources and the gas supply shortage occurs during 9 and 13 h when the sources run in full load failing to respond to the increase of gas demand, which would reduce the reliability of the system. When the linepack of pipelines is deployed in Case 3, the natural gas stored in pipelines could be released to satisfy the gas demand during high load period. Note that it is impossible for the pipelines to completely release the linepack due to the threshold of nodal pressure. In general, the gas sources also purchase excess natural gas at the trough of gas load in order to store the extra amount of gas in pipelines that can be subsequently provided to satisfy FIGURE 9 Gas source output in Case 1 and 3 FIGURE 10 GT output in two cases the peak demand. Utilizing the linepack can avoid the gas supply deficit when the sources operate at full output and thus the flexibility and reliability of the entire system can be improved. The linepack can also facilitate the peak shaving capacity of gas turbines during the peak time. The power output of gas turbines in case 1 and case 3 are shown in Figure 10 and the associated power supply shortage is shown in Figure 11. Electricity produced from the natural gas generally costs more than that coming from the coal (i.e. thermal power plant). Furthermore, the gas turbines can provide a high degree of flexibility because they can start and stop quickly. As a result, the gas turbines are normally used for peak shaving. In case 1, the power generation of gas turbines is limited by the gas source resulting in the power supply shortage. When the linepack is released in Case 3, peak shaving capacity of gas turbines can be expanded due to increasing _g_ amount of available gas supply. Consequently, the FIGURE 11 Electrical supply shortage TABLE 1 Operation cost of all study cases Case Cost / (10 <sup>5</sup> $) Cost reduction ratio / % 1 6.8093 / 2-a 6.7148 −1.39 2-b 6.5796 −3.37 3 6.6676 −2.08 4 6.5164 −4.30 issue of power supply shortage can be solved and the reliability of the system can be strengthened. 4.3 Cost analysis 4.3.1 Operation cost Case 1, 2-b, 3 and 4 are selected to conduct the operation cost analysis. The system operation states of each case are show in Figure 12 with the associated operation cost and cost reduction ratio listed in Table 1. The operation cost of Case 1 is the highest because the gas linepack and heat inertia are not utilized resulting in wind power curtailment and power supply shortage. When thermal inertia is taken into consideration in Case 2-b, the utilization efficiency of wind power has been obviously improved by shifting the output of CHP units but the peak shaving capacity of gas turbines is still restricted by the upper limit of gas source output. In Case 3, the natural gas network is modelled with gas storage capacity (i.e. pipe linepack), which provides more available gas during the peak demand period and thus squeezes more peak shaving capacity from the gas turbines that meeting gas load demand is no longer constrained to the gas supply ceiling. Though the line pack in Case 3 helps decrease the penalty cost of supply shortage, considerable amount of wind power is always abandoned at night leading to additional penalty fees. For Case 4, both gas linepack and thermal inertia are considered. The simulation results demonstrate that the optimal system operation is achieved in Case 4 from the perspective of security and economy where there is less wind power curtailment, no power supply deficit and the total operation cost drops by 4.30%. This shows the great potential of the gas linepack and heat inertia to facilitate the optimal operation of a multi-energy coupled system. 4.3.2 Investment cost Based on the aforementioned analysis, natural gas network, heating network and buildings all have appreciable energy storage capacity. The changes in energy storage in the natural gas system and heating system are depicted in Figures 13 and 14. From Figures 13 and 14, the maximum amount of storage in natural gas network reaches 189.868 × 10 <sup>3</sup> m <sup>3</sup> whilst the heat inertia of the network could release up to 46.665 MWh thermal energy. If the inertial of buildings is also included, the entire heating system is able to release up to 92.221 MWh heat energy. The amount of energy stored in the gas linepack is equivalent to that provided from three 100 m <sup>3</sup> LNG tanks whose capital expenditure is around $1.3 × 10 <sup>5</sup> . Similarly, the thermal inertia of heating network and buildings is equivalent to the heat storage tanks installed in heating system. The device cost of traditional water heat storage tanks is approximately 0.12$/kWh and the heat inertia of heating network and buildings could thus save $5600 and $5480, respectively. It is also worth noting that the operation and maintenance cost associated with the LNG tanks and water heat storage devices can also be avoided. The utilization of gas linepack and heat inertia can at least reduce the investment cost by $1.411 × 10 <sup>5</sup> . 5 CONCLUSION This paper proposed an optimal day-ahead scheduling model for the integrated electricity, natural gas and heat system considering the gas linepack and the thermal inertia of heating system. The main conclusions are summarized below. 1. The gas linepack is modelled with the dynamic characteristic of the gas network considered in detail, which can be equivalent to gas storage tanks. In case study, the maximum available linepack is up to 12.86% of the total gas load in the typical day, which shows remarkable peak load regulation capacity of the gas network. The linepack can be released to maintain the gas supply security when the gas sources cannot satisfy the load demand at peak time without the need for additional investment. The utilization of linepack is a convenient alternative to operating gas storage tanks, because linepack could respond to the demand of entire network rapidly, which avoids the disadvantage of gas storage tanks FIGURE 12 Operation states in various study cases that storage tanks have limited coverage area while using linepack can save large initial investment and high maintenance costs. Thus, linepack is one of the most promising means to improve the economy and reliability of integrated power-gas-heat system. 2. The thermal inertia model includes the heating network model and buildings model, which is established based on the transmission delay of heating network and the equivalent heat storage capacity of buildings. The problem of wind power curtailment caused by positive correlation between FIGURE 13 Linepack capacity changes FIGURE 14 Heat storage capacity changes wind power and heat demand can get solved by the utilization of thermal inertia model, with the utilization efficiency increasing from 86% to 96.03% in case study. The thermal inertia model saves the installation and maintenance costs of heat storage tanks, as well as prevents repetitive heat loss in storage tanks so as to improve the energy efficiency, making the entire system more reliable and economical 3. A day-ahead scheduling model for the IES is proposed involving the inertia characteristics of heating system and natural gas system. In the case study, the IES saves all physical storage investment cost and reduce operation costs at most by 4.3%, which verifies the effectiveness of the proposed model. The analysis of operating mechanism and costs concretely explain the role of gas linepack and heat inertia in the optimal operation of IES, and case study results demonstrate that the inertial characteristics of both systems have substantial potential to improve the system flexibility, accommodate more wind power, and reduce the system costs. ACKNOWLEDGEMENTS This project is supported by the Science and Technology Project of State Grid Corporation of China under the grant number 5400-201999493A-0-0-00. ORCID _RuiPei_ [https://orcid.org/0000-0002-8474-1986](https://orcid.org/0000-0002-8474-1986) REFERENCES 1. Hwangbo, S., et al.: Hydrogen-based self-sustaining integrated renewable electricity network (HySIREN) using a supply-demasnd forecasting model and deep-learning algorithms. Energy Convers. Manage. 185, 353–367 (2019) 2. Lian, J., et al.: A review on recent sizing methodologies of hybrid renewable energy systems. Energy Convers. Manage. 199, 112027 (2019) 3. Wang, Y.L., et al.: Planning and operation method of the regional integrated energy system considering economy and environment. Energy 171, 731– 750 (2019) 4. Fang, J., et al.: Dynamic optimal energy flow in the integrated natural gas and electrical power systems. IEEE Trans. Sustainable Energy 9(1), 188– 198 (2017) 5. Mu, Y.F., et al.: A double-layer planning method for integrated community energy systems with varying energy conversion efficiencies. Appl. Energy 279, 115700 (2020) 6. Moeini-Aghtaie, M., et al.: A decomposed solution to multiple-energy carriers optimal power flow. IEEE Trans. Power Syst. 29(2), 707–716 (2013) 7. Shabanpour-Haghighi, A., Seifi, A.R.: Simultaneous integrated optimal energy flow of electricity, gas, and heat. Energy Convers. Manage. 101, 579–591 (2015) 8. Zhang, X., et al.: Optimal expansion planning of energy hub with multiple energy infrastructures. IEEE Trans. Smart Grid 6(5), 2302–2311 (2015) 9. Jiang, X.S., et al.: Modelling and operation optimization of an integrated energy based direct district water-heating system. Energy 64, 375–388 (2014) 10. Jing, Z.X., et al.: Modelling and optimal operation of a small-scale integrated energy based district heating and cooling system. Energy 73, 399– 415 (2014) 11. Wang, Y., et al.: Operation optimization of regional integrated energy system based on the modeling of electricity-thermal-natural gas network. Appl. Energy 251, 113410 (2019) 12. Moniz, E.J., et al.: The Future of Natural Gas. Massachusetts Institute of Technology, Cambridge (2011) 13. Bao, Z.J., et al.: Optimal inter- and intra-hour scheduling of islanded integrated-energy system considering linepack of gas pipelines. Energy 171, 326–340 (2019) 14. Correa-Posada, C.M., Sánchez-Martín, P.: Integrated power and natural gas model for energy adequacy in short-term operation. IEEE Trans. Power Syst. 30(6), 3347–3355 (2014) 15. Schwele, A., et al.: Coordination of power and natural gas systems: Convexification approaches for linepack modeling. In: 2019 IEEE Milan PowerTech, Milan, Italy, pp. 1–6 (2019) 16. Luo, Z., et al.: A two-stage energy management strategy for CCHP microgrid considering house characteristics. In: 2015 IEEE Power & Energy Society General Meeting, Denver, Colorado, pp. 1–5 (2015) 17. Chen, H., Yu, Y., Jiang, X.: Optimal scheduling of combined heat and power units with heat storage for the improvement of wind power integration. In: 2016 IEEE PES Asia-Pacific Power and Energy Engineering Conference (APPEEC), Xi’an, China, pp. 1508–1512 (2016) 18. Li, Z., et al.: Combined heat and power dispatch considering pipeline energy storage of district heating network. IEEE Trans. Sustainable Energy 7(1), 12–22 (2015) 19. Li, Z., et al.: Transmission-constrained unit commitment considering combined electricity and district heating networks. IEEE Trans. Sustainable Energy 7(2), 480–492 (2015) 20. Pan, Z., Guo, Q., Sun, H.: Feasible region method based integrated heat and electricity dispatch considering building thermal inertia. Appl. Energy 192, 395–407 (2017) 21. Gu, W., et al.: Optimal operation for integrated energy system considering thermal inertia of district heating network and buildings. Appl. Energy 199, 234–246 (2017) 22. Dai, Y., et al.: Dispatch model for CHP with pipeline and building thermal energy storage considering heat transfer process. IEEE Trans. Sustainable Energy 10(1), 192–203 (2018) 23. Chen, H., Tang, Y.: Heating Engineering, 1st ed. Wuhan University of Technology Press, Wuhan, China (2008) 24. Correa-Posada, C.M., Sánchez-Martín, P.: Gas network optimization: A comparison of piecewise linear models. Optimization Online (2014) 25. Chen, Z.: Research on the model and algorithm of collaborative operation optimization for integrated electric power and natural gas system. Ph.D. thesis, South China University of Technology (2019) 26. Wu, C.: Combined economic dispatch considering the time-delay of district heating network and multi-regional indoor temperature control. Ph.D. thesis, Southeast University (2019) How to cite this article: Zhou, S., et al.: Integrated energy system operation optimization with gas linepack and thermal inertia. IET Renew. Power Gener. 15, [3743–3760 (2021). https://doi.org/10.1049/rpg2.12271](https://doi.org/10.1049/rpg2.12271) APPENDIX A TABLE A1 Parameters of power system From To _Xij_ (p.u.) _Pij_ (MVA) 1 2 0.05917 360 1 5 0.22304 360 2 3 0.19797 360 2 4 0.17632 360 2 5 0.17388 360 3 4 0.17103 360 4 5 0.04211 360 4 7 0.20912 360 4 9 0.55618 360 5 6 0.25202 360 6 11 0.1989 360 6 12 0.25581 360 6 13 0.13027 360 7 8 0.17615 360 7 9 0.11001 360 9 10 0.0845 360 9 14 0.27038 360 10 11 0.19207 360 12 13 0.19988 360 13 14 0.34802 360 TABLE A2 Parameters of generation units Unit _P_ min (MW) _P_ max (MW) _Rdown_ (MW ⋅ h <sup>–1</sup> ) _Rup_ (MW ⋅ h <sup>–1</sup> ) TPU 50 125 100 100 CHP 50 200 100 100 GT 0 80 80 80 TABLE A3 Parameters of gas source Node _Q_ min (10 <sup>3</sup> m <sup>3</sup> ) _Q_ max (10 <sup>3</sup> m <sup>3</sup> ) _P_ min (bar) _P_ max (bar) Cost ($/m <sup>3</sup> ) 1 0 40 20 40 0.062 3 30 80 20 50 0.0638 9 0 20 20 40 0.0594 TABLE A4 Parameters of gas system No. From To Pipeline coefficient Linepack coefficient 1 1 2 0 0 2 2 4 6.7 5.06 3 2 7 6.48 5.39 4 3 4 6.96 4.69 5 4 5 6.54 5.3 6 6 5 10.19 6.99 7 7 6 10.51 6.57 8 8 6 10.13 6.38 9 9 8 10.94 6.06 10 9 10 8.19 3.38 TABLE A5 Parameters of thermal system Pipe thermal conductivity (W ∕ (m ⋅ <sup>◦</sup> C)) Water flow within pipe (kg/s) Pipeline length (m) No. From To Pipeline diameter (m) 1 1 1 1.1 800 600 0.12 2 2 2 1.1 600 500 0.12 3 3 3 1.1 450 350 0.12 4 4 2 0.6 450 100 0.12 5 5 3 0.6 300 150 0.12 6 6 4 0.8 350 250 0.12 7 7 4 0.6 250 100 0.12 TABLE A6 Parameters of buildings _<u>k</u>_ <sup>_ch_</sup> _Num_ _CM_ ⋅ _Mk_ (GJ ∕ <sup>◦</sup> C) _cp_ (KJ/ (kg ⋅ <sup>◦</sup> C)) No. _Ak_ (km <sup>2</sup> ) _Fe_, _k_ (kW/ (m ⋅ <sup>◦</sup> C)) _x_ <sup>_g_</sup> _<u>k</u>_ <sup>_g_</sup> _xk_ <sup>_ch_</sup> _Ven_ (m <sup>2</sup> /s) 1 0.78 0.44 0.02 −0.15 0.2 15 1 1 2 1.2 0.44 0.02 −0.15 0.2 15 1 1 3 2 0.44 0.02 −0.15 0.2 15 1 1 4 0.78 0.44 0.02 −0.15 0.2 15 1 1

섹션 본문

섹션 본문이 없습니다.

참고문헌 22건

  1. A Two-Stage Energy Management Strategy for CCHP Microgrid considering house characteristics 2015 10.1109/pesgm.2015.7285845
  2. Integrated Power and Natural Gas Model for Energy Adequacy in Short-Term Operation IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2014 10.1109/tpwrs.2014.2372013
  3. Modelling and operation optimization of an integrated energy based direct district water-heating system Energy · Elsevier BV · 2013 10.1016/j.energy.2013.10.067
  4. 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
  5. A Decomposed Solution to Multiple-Energy Carriers Optimal Power Flow IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2013 10.1109/tpwrs.2013.2283259
  6. Modelling and optimal operation of a small-scale integrated energy based district heating and cooling system Energy · Elsevier BV · 2014 10.1016/j.energy.2014.06.030
  7. Gas Network Optimization: A comparison of Piecewise Linear Models 2014
  8. Combined Heat and Power Dispatch Considering Pipeline Energy Storage of District Heating Network IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2015 10.1109/tste.2015.2467383
  9. 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
  10. Feasible region method based integrated heat and electricity dispatch considering building thermal inertia Applied Energy · Elsevier BV · 2016 10.1016/j.apenergy.2016.09.016
  11. Optimal scheduling of combined heat and power units with heat storage for the improvement of wind power integration 2016 10.1109/appeec.2016.7779742
  12. Optimal operation for integrated energy system considering thermal inertia of district heating network and buildings Applied Energy · Elsevier BV · 2017 10.1016/j.apenergy.2017.05.004
  13. Dynamic Optimal Energy Flow in the Integrated Natural Gas and Electrical Power Systems IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2017 10.1109/tste.2017.2717600
  14. Dispatch Model for CHP With Pipeline and Building Thermal Energy Storage Considering Heat Transfer Process IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2018 10.1109/tste.2018.2829536
  15. Optimal inter- and intra-hour scheduling of islanded integrated-energy system considering linepack of gas pipelines Energy · Elsevier BV · 2019 10.1016/j.energy.2019.01.016
  16. Planning and operation method of the regional integrated energy system considering economy and environment Energy · Elsevier BV · 2019 10.1016/j.energy.2019.01.036
  17. Hydrogen-based self-sustaining integrated renewable electricity network (HySIREN) using a supply-demand forecasting model and deep-learning algorithms Energy Conversion and Management · Elsevier BV · 2019 10.1016/j.enconman.2019.02.017
  18. Operation optimization of regional integrated energy system based on the modeling of electricity-thermal-natural gas network Applied Energy · Elsevier BV · 2019 10.1016/j.apenergy.2019.113410
  19. Coordination of Power and Natural Gas Systems: Convexification Approaches for Linepack Modeling 2019 10.1109/ptc.2019.8810632
  20. A review on recent sizing methodologies of hybrid renewable energy systems Energy Conversion and Management · Elsevier BV · 2019 10.1016/j.enconman.2019.112027
  21. A double-layer planning method for integrated community energy systems with varying energy conversion efficiencies Applied Energy · Elsevier BV · 2020 10.1016/j.apenergy.2020.115700
  22. Simultaneous integrated optimal energy flow of electricity, gas, and heat Energy Conversion and Management · Elsevier BV · 2015 10.1016/j.enconman.2015.06.002