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

Optimal Scheduling of IES Considering Thermal Transmission Delay Based on Modelica and Julia

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

기본 정보

저자
  1. Yong Qiu — Suzhou Tongyuan Software & Control Technology Co., Ltd, China,
  2. Jin Wang — Suzhou Tongyuan Software & Control Technology Co., Ltd, China,
  3. Shubin Zhang — Suzhou Tongyuan Software & Control Technology Co., Ltd, China,
  4. Yuan He — Suzhou Tongyuan Software & Control Technology Co., Ltd, China,
  5. Hai-Ming Zhang — Suzhou Tongyuan Software & Control Technology Co., Ltd, China,
  6. Ji Ding — Suzhou Tongyuan Software & Control Technology Co., Ltd, China,
  7. Fanli Zhou — Suzhou Tongyuan Software & Control Technology Co., Ltd, China,
DOI
10.3384/ecp204561
저널
Linköping electronic conference proceedings
발행년도
2023
발행기관
Linköping University Electronic Press
피인용수
2
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3384/ecp204561
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W4392668103

평가 내용

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

초록

The Integrated Energy System (IES) enables integrated control and coordinated optimization of multiple energy flows. Due to the complexity of dynamic characteristics of multiple energy flows and the significant differences in time scales, thermodynamic problems occur during the operation of the system. In this paper, we propose an IES operation method that comprehensively considers thermodynamics to reduce the impact of thermal transmission delay on the system's operational strategy, including modeling, evaluation, and scheduling programs. Firstly, an IES model is established to describe the dynamic characteristics of the energy supply network. Secondly, a two-stage optimization scheduling model considering thermal transmission delay is established to reduce the impact of thermal transmission delay on the operation decisions of IES, and the thermal power imbalance rate index is proposed to measure the impact of thermodynamics. Finally, the proposed method's effectiveness is validated by utilizing a comprehensive energy system as an example and implementing it on the MWORKS platform using the Modelica and Julia languages.

본문 39,676자

본문 펼치기
# Optimal Scheduling of IES Considering Thermal Transmission Delay Based on Modelica and Julia Yong Qiu Jin Wang Shubin Zhang Yuan He Haiming Zhang Ji Ding Fanli Zhou Suzhou Tongyuan Software & Control Technology Co., Ltd, China, {Yong Qiu, Jin Wang, Shubin Zhang, Yuan He, Haiming Zhang, Ji Ding, Fanli Zhou}@tongyuan.cc ### Abstract The Integrated Energy System (IES) enables integrated control and coordinated optimization of multiple energy flows. Due to the complexity of dynamic characteristics of multiple energy flows and the significant differences in time scales, thermodynamic problems occur during the operation of the system. In this paper, we propose an IES operation method that comprehensively considers thermodynamics to reduce the impact of thermal transmission delay (TDD) on the system's operational strategy, including modeling, evaluation, and scheduling programs. Firstly, an IES model is established to describe the dynamic characteristics of the energy supply network. Secondly, a two-stage optimization scheduling model considering TDD is established to reduce the impact of TDD on the operation decisions of IES, and the thermal power imbalance rate index is proposed to measure the impact of thermodynamics. Finally, the proposed method's effectiveness is validated by utilizing a comprehensive energy system as an example and implementing it on the MWORKS platform using the Modelica and Julia languages. _Keywords:_ _integrated energy system, optimal dispatch,_ _heat dynamics, Modelica, Julia_ ### 1 Introduction An IES integrates green and clean energy on the production side, couples energy conversion equipment with energy networks, and provides various forms of energy such as electricity, gas, heat/cooling to the consumption side, effectively reducing energy waste and improving energy utilization efficiency (Liu, et al., 2019; Song et al., 2022). Due to the different flow characteristics of in an IES, modeling IES is different from traditional energy systems. In the IES model, it is necessary to include modeling of the same type of energy transmission network (such as heat network or natural gas network) as well as modeling of the mutual conversion and coupling of heterogeneous energy sources, which increases the difficulty of modeling the IES (Cui, et al., 2022; Liu, et al., 2020; Pan, et al., 2016). The authors in (Zhai, et al., 2021) applied the characteristic method for hyperbolic partial differential equation analysis to analyze the dynamic changes of natural gas systems in IES. The authors in (Chen X, et al., 2020) established an IES model that comprehensively considers the dynamic characteristics of heat and gas transmission, which can be used for simulation analysis of IES and the synergistic optimization among different energy subsystems, providing a basis for improving the economic and security of IES services. The authors in (Liu et al., 2016) defined the meaning of multi-energy complementarity in different energy networks and conducted a comprehensive analysis of IES containing three types of energy networks, including electricity, gas, and heat, to achieve a comprehensive modeling and simulation of the three energy systems. In (Wang et al., 2019) the authors were inspired by the individual-based modeling method in bacterial ecology. An individual-based modeling method for IES was proposed by them, which decouples the entire system into multiple independent individuals and utilizes input and output sets for each individual to achieve uniform interaction. In order to dig deeper into the dispatching value of electricity, heat/cooling, and gas loads on the demand side, plenty of research on integrated energy coordination control and dispatching optimization considering demand response has been conducted to realize the optimal utilization of various energy resources. In (Dou, et al., 2020), an elastic demand side response model in the electric-thermal coupling system is established to optimize the load scheduling, showing significant effect in cutting down the system operating cost and improving the absorption capacity of PVs. A multitime scale flexible resources coordination optimization scheme is presented in (Yan, et al., 2020), which considers the smart loads’ participation and presents a multi-time-scale power dispatch model that considers coordination and interaction between resources and electrical loads. (Shen, et al., 2020) focused on regional IES and proposed a thermal-electrical coupling energy optimization method that includes virtual energy storage resources. This method effectively improves the matching degree between energy production output and user energy consumption demand, ensuring the economic and flexible operation of the system. In (Gu, et al., 2017), the thermal storage capacity of both the heating network and buildings is applied to participate in the dispatch of the IES to decrease the operational cost and increase the wind power consumption. Besides, the DOI Proceedings of the Modelica Conference 2023 561 <u>Optimal</u> <u>Scheduling</u> <u>of</u> <u>IES</u> <u>Considering</u> <u>Thermal</u> <u>Transmission</u> <u>Delay</u> <u>Based</u> <u>on</u> <u>Modelica</u> <u>and</u> <u>Julia</u> flexible heating/cooling demand of buildings is also integrated with the flexible electrical and gas demand, to form an integrated demand response programs and participate in the energy management of energy systems, with the aim of improving economic performances and enhancing operational reliability (Wang, et al., 2017; Gu, et al., 2017). However, in almost all the existing researches, the slow heat dynamics in the heating network during the dispatch interval is usually simplified into a transient process. This simplification will result in considerable errors in the heat dynamics. It has not been investigated what impacts this simplification will bring about on the operation of the system and how to measure these impacts. Fundamentally, the heat dynamics in the heating network is governed by partial differential equations (PDE) (Jie, et al., 2012). Many numerical methods such as the finite difference method based on the characteristic path and the implicit upwind method are used to discretize the PDE into algebraic equations with proper time and spatial steps (Wang, et al., 2017). In summary, although there have been many advances in modeling, simulation, and optimization scheduling for IES, the dynamic transmission characteristics of the energy supply network are rarely considered in the research on optimization scheduling (Lu, et al., 2020). However, it has a significant impact on the operation of IES. Therefore, in this paper, we propose an IES operation method that comprehensively considers thermal dynamic, including modeling, evaluation, and scheduling programs. For the intra-day optimization scheduling of IES, we implemented the "operation decision-simulation evaluation" of IES on the same platform framework based on MWORKS (including Modelica and Julia). The main contributions of this paper are summarized as follows. (a) An IES model that considers network dynamics was developed in response to the dynamic transmission characteristics of the energy supply network. The dynamic characteristics of energy transmission in the network were simulated, and the possible impact of transmission delays on IES operational decisions was analyzed. (b) The thermal power imbalance rate was proposed as a metric to measure the impact of time resolution on IES operation. The index was calculated based on scheduling decisions and simulation results, and was used as a basis for making operational decisions. (c) An optimization scheduling model for IES considering TDD was proposed to reduce the impact of TDD on operational decisions. ### 2 Integrated Energy System Model There are significant differences between different subsystems. Therefore, in analyzing the dynamic processes of the IES, mathematical models for each subsystem should be established. Furthermore, by combining these subsystem models with the coupling element models, equipment models and network models of various types can be coupled together to form a multienergy coupled IES model. 2.1 Natural Gas Network Model The flow of natural gas in pipelines always follows the three laws of mass conservation equation, momentum conservation equation, and energy conservation equation (Vitaliy, et al., 2019). Mass conservation equation:  <u></u>  _A_    _wA_   0 (1)   _x_ where _A_ is cross-sectional area of pipeline;  is gas density; _w_ is gas flow rate. Momentum conservation equation: #####   wA     w 2 A   g  A sin    pA    w 2  A   _x_  _x_ _D_ 2 (2) where  is the friction resistance coefficient of the gas pipeline; _D_ is the inner diameter of the pipeline;  is the inclination angle of the pipeline. Energy conservation equation: <u></u> _<u>Q</u>_ <u></u>   _<u>w</u>_ 2    _wA_    _A_  _u_   _gs_      2  <u></u>   _<u>w</u>_ 2   _wA_    _H_   _gs_   _x_   2  _<u>Q</u>_ <u></u>   _<u>w</u>_ 2  _wA_    _A_  _u_   _gs_ <u></u>   _wA_    _A_  2 _<u>Q</u>_  _wA_       (3)   _<u>w</u>_ 2  _wA_    _H_   _gs_ _x_   2  _wA_  2  2 2   where _Q_ is heat exchange; _u_ is internal energy; _H_ is enthalpy. 2.2 Heating Network Model In order to study the dynamic changes in heat transfer processes inside heating system pipelines, a dynamic model of hydraulic-thermal coupling for the heating pipeline is formed by coupling a thermal calculation model with the hydraulic calculation model of the heating pipeline. <u>L</u> <u>In</u> _Ql_ <u>Out</u> _Qir_ _Qi_  _r_ 1 _Qi_  _r_ 2 _M_  <sup></sup> _T_ _r_ _Qi_  _n_ Figure 1. Physical model of pipe heat transfer. The variation of heat transfer in the heating network can be expressed as the spatiotemporal distribution of the temperature and mass flow rate of the hot water in the system. Figure1 shows the process of heat transfer along the axial direction and radial loss in the hot water. The pipeline is discretized into several units, each of which has three associated heat flows that determine the energy storage change of each unit. The radial heat transfer of each unit is independent and the heat is dissipated to the external environment through the pipe wall and insulation 562 Proceedings of the Modelica Conference 2023 DOI <u>Session</u> <u>5-D:</u> <u>Thermodynamic</u> <u>and</u> <u>energy</u> <u>systems</u> <u>applications</u> <u>4</u> layer. The axial flow is the connection condition of the radial temperature field of the entire pipe section, that is, the input of each unit is the output of the previous unit, and the output is the input of the next unit (Qiu, et al., 2022). To describe the situation of considering both axial flow and radial heat dissipation simultaneously, a dynamic model of hydraulic-thermal coupling for the heating pipeline is established. The continuity equation and motion equation of pipeline flow are the same as those of gas pipelines, shown in Equations 1 and Equations 2, while the energy equation considers the radial heat dissipation of the pipeline on the original basis, as shown in Equation 4. chp,load  = _<u>P</u>_  chp <u>+</u> _<u>H</u>_ <u></u> chp _m_ chp,load  = _<u>P</u>_ <u></u> chp <u>+</u> _<u>H</u>_  chp _H_ = _<u>P</u>_ <u></u> chp <u>+</u>  = _<u>P</u>_ <u></u> <u>+</u> _<u>H</u>_ <u></u> (7)  chp _HGV_ chp _GV_ where _H_  chp is the thermal power of CHP at time  ; _P_  chp is the electrical power of CHP at time  ; _m_ chp,load  is the mass flow rate of natural gas consumed by CHP;  chp is the efficiency of the CHP unit; _HGV_ is the high calorific value of natural gas. The relationship between heat power and electrical power of CHP units can be expressed as: chp chp _k_ chp = _HP_  chp  chp  _P_ (8)  _mi_  _ui_   _ui_   _m hi_ _i_  _mi_  1 _hi_  1  _Qir_ (4) where _k_ chp is the thermoelectric ratio of the CHP unit. The CHP unit outputs heat to the heating system, and its heat output and water temperature meet the following requirements: _d_  _mdti_  _ui_   _m hi_ _i_  _mi_  1 _hi_  1  _Qir_ where _m_ is the mass of the cell heating medium; _m_ is the mass flow rate of the cell heat medium; _Qir_ is the radial heat dissipation of each unit, it can be expressed as #### H  CHP = cpm  CHP  T  s  T  r  (9)  _Ti_,   _T_ 0 (5) where _T_  s is the water supply temperature at the time  ; _T_  r is the return water temperature at the time  . _Qi_ r  _Ti_,  _Rall_  _T_ 0 _i_ r  _Ti_,   _T_ 0 _all_ where _Ti_,  is the hot water temperature; _T_ 0 is the ambient temperature; _Rall_ represents the total thermal resistance between hot water and the external environment. 2.3 Power System Load Flow Model Compared with gas and heating systems, the power system responds quickly to disturbances, generally within milliseconds. Therefore, this paper ignores the dynamic changes in power system flow. In power system flow simulation, the power system flow simulation model can be established based on the node voltage equation, and then the solution of various state parameters of the power system can be achieved. This article adopts a classic power flow calculation model, where the basic equation for power flow calculation is: <u></u> _<u>jQi</u>_ _n_ ##  =  Yij U j  j  1,2,, n  (6) ### 3 Optimization Scheduling Model for IES Considering Thermal Transmission Delay Due to the multi-time scale characteristics of energy transmission in IES, such as electricity, gas, and heat, there is a delay in response to dispatch instructions. Compared with the power system and natural gas system, the heat dynamics of the heating system is a slowly changing process, and its response time to dispatch instructions is longer. In the determination of the operating strategy of the IES, the evolution process of heat dynamics cannot be ignored. In this paper, the framework of operation decision-making and simulation evaluation is adopted to study the optimization scheduling of IES. 3.1 Optimization Scheduling Model The optimal dispatch of the IES aims to determine the short-term (typically, day-ahead) optimal output of devices in the system in order to minimize the cost. The dispatchable variables include the state and output of each device, the networkenergy power, and the energy power supplied to end users. The constraints include the operational constraints of the electrical power system, heating system, and nature gas system. The total operating costs during the scheduling phase of the IES include the costs of purchasing and selling electricity, the costs of purchasing gas, and the costs of participating in the operation and maintenance of the energy supply equipment during the scheduling phase. The objective of the optimal dispatch model of the IES is as follows. _<u>Pi</u>_ <u></u> _<u>jQi</u>_ _n_ ##  =  Yij U j  j  1,2,, n _Ui_ _j_  1 _<u>i</u>_ <u></u> _<u>jQi</u>_ _n_ ##  =  Yij U j _Ui_ _j_  1  _j_  1,2,, _n_   ## =  Yij U j  j  1,2,, _j_  1  where _Pi_ is the active power of the node i;  _Qi_ is the reactive power of the node i; - _U_ _i_ is the voltage vector of  reactive power of the node i; - _U_ _i_ is the voltage vector of the node; _U_ _j_ is the conjugation of node j voltage; <sup>_Y_</sup> _ij_ <sup>is the</sup> the node; _U_ _j_ is the conjugation of node j voltage; <sup>_Y_</sup> _ij_ <sup>is the</sup> admittance between node i and node j. 2.4 Coupling Element Model Combined Heat and Power (CHP) unit is composed of gas turbines, waste heat boilers, internal combustion engines, and external combustion engines. It is a production method that combines heating and power generation, and it can produce both electricity and heat. The model of CHP unit can be expressed by the following formula. The mathematical model for the output power of the CHP unit can be expressed as: DOI Proceedings of the Modelica Conference 2023 563 <u>Optimal</u> <u>Scheduling</u> <u>of</u> <u>IES</u> <u>Considering</u> <u>Thermal</u> <u>Transmission</u> <u>Delay</u> <u>Based</u> <u>on</u> <u>Modelica</u> <u>and</u> <u>Julia</u>  _C_ expower  _C_ buygas  _C_ omequi  min _C_ expower  _C_ buygas  _C_ expower  _C_ buygas  _C_ omequi  _C_ buygas  ###   t 24  1  c buy t 2  c sell t Pext  c buy t 2  c sell t Pext   t (10) ###  t 24  1  c buy t 2  c sell t Pext  c buy t 2  c sell t Pext 24  _c_ <u>buy</u> _t_  _c_ <u>sell</u> _t_ _t_ _c_ <u>buy</u> _t_  _c_ <u>sell</u> _t_ ###  24 _c_ <u>buy</u> _t_  _c_ <u>sell</u> _t_ _Pext_  _c_ <u>buy</u> _t_  _c_ <u>sell</u> _t_ _Pext_   _t_ _t_  1  1 2 _ex_ 2 simulation is performed using a specific heating pipeline (L=1000m, D=0.3m, m=50kg/s, T(start)=90℃) as an example. Three load demand changes are set for three time periods: ① T(t=0)=95℃, ② T(t=3600s)=80℃, ③ T(t=7200s)=90℃. The simulation model based on Modelica is shown in Figure 2. Figure 2. Heating pipeline simulation model. The simulation results are shown in Figure 3, where "T_in" represents the temperature of the heat source adjusted based on the load demand, which is numerically equal to the user's required water supply temperature. "T_out" represents the actual temperature of the hot water supplied to the user. From the simulation results, it can be seen that heat network transmission delay can have a serious impact on supply-demand balance. The demand of the heat network is mainly met through the response of the heat source, and there is a delay of about one hour from the time the heat is emitted from the heat source to the time it reaches the load, leading to a serious supplydemand imbalance. Therefore, from the perspective of operating decision, it is necessary to consider heat network transmission delay in the day-ahead scheduling stage and control this supply-demand error within a certain range. Figure 3. Simulation results of a specific pipeline. The above results have verified the serious impact of heat network transmission delay. However, how to measure and overcome its impact has not yet been resolved. To address this issue, a further proposal is made for the heat power imbalance rate indicator and a twostage process method for operating strategy. 3.3 Two-Stage Optimization Scheduling Process for IES Considering Thermal Transmission Delay The simulation results from the previous section indicate that errors in the heat power network will lead to a supply-demand imbalance of thermal energy in the IES 's day-ahead optimization scheduling. Therefore, this ###  24  _m_ gas _t_  _c_ gas _t_   _t_ _t_  _ct_ _m_ gas _t_  _c_ gas _t_   _t_ _t_  1  _m_ gas _t_  _c_ gas _t_  _t_ gas gas  1 ###  24  _c_ CHP  _Q_ CHP _t_  _c_ PV  _P_ PV _t_  _c_ WT  _P_ WT _t_  _c_ BS  _P_ BS _t_   _t_ _t_  _c_  _Pt_  _c_  _Pt_  _c_  _Pt_ _c_ CHP  _Q_ CHP _t_  _c_ PV  _P_ PV _t_  _c_ WT  _P_ WT _t_  _c_ BS  _P_ BS _t_   _t_ _t_  1  _c_ CHP  _Q_ CHP _t_  _c_ PV  _P_ PV _t_  _c_ WT  _P_ WT _t_  _c_ BS  _P_ BS _t_  _t_ CHP CHP PV PV WT WT BS BS  1 where _C_ expower is the costs of purchasing and selling electricity; _C_ buygas is the costs of purchasing gas; _C_ omequi is the costs of participating in the operation and maintenance. The Constraints of the optimal dispatch model of the IES is as follows. Constraint on electrical power balance: _P_ WT _t_  _P_ PV _t_  _P_ NP _t_  _P_ CHP _t_  _P_ ex  _P_ BS  _P_ Load (11) where _P_ Load is the power system load. Constraint on heat power balance: _n_ _P_ h,CHP, _t_ _i_  _P_ h,Load (12) _t_ _n_ ##  P h,CHP, t i  h,CHP, _i_ _i_  1 h,CHP, _i_ h,Load _i_  1 _t_ where _P_ h,Load is the thermal load. _P_ h,CHP, _t_ _i_ is thermal power of CHP unit. where _P_ h,Load is the thermal load. _P_ h,CHP, _t_ Constraint on gas mass flow rate balance: _n_ _n_ ## t   M t   M t _n_ _n_ ##   M pipe,in t   M pipe,out t  M Load (13) _i_  1 _i_  1 ## M gas t   M pipe,in t   M pipe,out t  M _i_  1 _i_  1 gas pipe,in pipe,out Load _i_  1 _i_  1 where _M_ Load is the natural gas load. In addition to satisfying the electricity, gas, and heat power balance constraints mentioned above, the IES scheduling model also needs to satisfy operational constraints such as energy storage device constraints, interconnection power transmission constraints, and CHP output constraints. Among these constraints, Equations 14-16 represent the energy storage device constraints, Equation 17 represents the interconnection power transmission constraint, and Equation 18 represents the CHP output constraint. _S_ BSmin  _S_ BS _t_  _S_ BSmax (14) _P_ BS,chmin  _P_ BS,ch _t_  _P_ BS,chmax (15) _P_ BS,dismin  _P_ BS,dis _t_  _P_ BS,dismax (16) _P_ EXmin  _P_ EX _t_  _P_ EXmax (17) _P_ CHPmin  _P_ CHP _t_  _P_ CHPmax (18) where _S_ BS _t_ is battery capacity; _P_ BS,ch _t_ is battery charging _S_ BS _t_ is battery capacity; _P_ BS,ch _t_ where _S_ BS _t_ is battery capacity; _P_ BS,ch _t_ is battery charging power; _P_ BS,dis _t_ is battery discharge power; _P_ EX _t_ is the power; _P_ BS,dis _t_ is battery discharge power; _P_ EX _t_ is the purchasing and selling power of the tie-line. 3.2 Influence of Thermal Transmission Delay When performing optimization scheduling of an IES, the transmission delay of the heating pipeline often results in a significant time difference between our scheduling command response and the thermal load. In order to illustrate the impact of heating pipeline transmission delay on the day-ahead optimization scheduling of the IES, a _P_ BS,dis _t_ is battery discharge power; _P_ EX _t_ 564 Proceedings of the Modelica Conference 2023 DOI <u>Session</u> <u>5-D:</u> <u>Thermodynamic</u> <u>and</u> <u>energy</u> <u>systems</u> <u>applications</u> <u>4</u> section proposes the heat power imbalance rate indicator to quantify the thermal dynamic errors in the operating strategy, reflecting the supply-demand imbalance of the heat network in each time period. The specific calculation formula is as follows: _i_, _t_ _i_, _t_ ##  H % i, t   n  H s  i, tH l  100%  (19) _i_  1  _H_ s  calculation, and the heat power imbalance rate indicator is calculated based on the simulation results. (using MWORKS.Syslab and MWORKS.Sysplorer) D. Validation stage: Determine whether the operating strategy meets the thermal dynamic control accuracy requirements. If the requirements are met, the process ends; otherwise, update the day-ahead thermal load and time resolution and proceed to step B. ### 4 Case Studies This paper investigates a IES with an integrated network of electricity, gas, and heat as a case study, whose topology is illustrated in Figure 5. The power grid, nature gas network, and heat network are interconnected through a CHP unit. The power grid comprises 30 nodes, which include a wind turbine, a photovoltaic power station, a small nuclear power station, and a battery unit. The gas grid comprises 17 nodes and 16 pipelines. The heat network includes 20 nodes, with 10 of them serving as user node. 26 29 30 23 24 25 27 S _i_, _t_ _i_, _t_ ## % i, t   n  H s  i, tH l _i_  1  _H_ s _i_, _t_ _i_, _t_ ## i, t   n  H s  H l 100% _i_, _t_ ## H % i, t   n  H s  i, tH _i_  1  _H_ s _i_  1  _H_ s _i_, _t_  _H_ % _i_, _t_ is heat power balance rate index; _H_ s _i_, where  _H_ % _i_, where  _H_ % _i_, _t_ is heat power balance rate index; _H_ s _i_, _t_ is the actual supplied thermal power of each node; _H_ l _i_, _t_ actual supplied thermal power of each node; _H_ l _i_, _t_ represents the actual thermal power demand of each node. Start Initialization Dispatch decision Return H_load, t Stage 1 Stage 2 Simulation evaluation Calculate H% H% H%,max Y End Figure 4. Two-stage dispatch procedure. It should be noted that when the heat power imbalance rate exceeds the limit, it indicates that the current operating strategy does not meet the thermal dynamic control accuracy. At this point, simulation evaluation is needed to determine the delay amount, and then reevaluate the thermal load and adjust the time resolution. The two-stage optimization scheduling process for the IES based on the "operating decision-simulation evaluation" framework is shown in Figure 4. The Stage 1 is the dispatch decision process and the Stage 2 is the posterior evaluation of the supply and demand situation of thermal energy. The detailed steps are as follows: A. Initialization stage: Based on the IES model established in the second section, the IES simulation model is built. (using MWORKS.Sysplorer) B. "Operating decision" stage: Based on the established IES operation optimization model, the operating decision is made to obtain the operation optimization results. (using MWORKS.Syslab) C. "Simulation evaluation" stage: The operating decision results are input into the IES model for simulation 9 8 7 Gas 1 2 3 4 5 6 WT 14 15 18 ~~1~~ 9 20 22 21 Power <u>13</u> 12 <u>16</u> <u>17</u> <u>10</u> 9 <u>11</u> Nu 3 4 6 28 <u>1</u> 2 5 7 8 10 11 12 13 14 15 16 17 ~~C~~ HP_A ~~C~~ HP_B Tie S1 S2 PV <mark>HES1</mark> HES2 HES3 <mark>HES4</mark> <mark>HES5</mark> 6 7 8 9 10 <u>1</u> <u>2</u> <u>3</u> <u>4</u> <u>5</u> Heat 11 12 13 14 15 16 17 18 19 20 <mark>HES6</mark> <mark>HES7</mark> <mark>HES8</mark> <mark>HES9</mark> <mark>HES10</mark> Figure 5. Topological structure diagram of IES. Building upon the aforementioned work, the scheduling strategy and system simulation model for the comprehensive energy system have been implemented using the Modelica and Julia languages. The program was developed utilizing the MWORKS.Sysplorer and MWORKS.Syslab software tools, along with their unified simulation capabilities. The system model is illustrated in Figure 6. From the figure, it can be seen that the simulation model consists of two parts: a simulation module and an optimization module. The electric power system part in the simulation module is developed based on the Julia language, while the other models are developed based on the Modelica language. The optimization module is developed based on the Julia language and the Julia code is included in the Sysplorer model through the SyslabFunction of the MWORKS platform, enabling the combination of simulation and optimization. DOI Proceedings of the Modelica Conference 2023 565 <u>Optimal</u> <u>Scheduling</u> <u>of</u> <u>IES</u> <u>Considering</u> <u>Thermal</u> <u>Transmission</u> <u>Delay</u> <u>Based</u> <u>on</u> <u>Modelica</u> <u>and</u> <u>Julia</u> Figure 6. IES operating decision and simulation evaluation model. Two optimization running strategies were simulated and compared, including a two-stage optimization scheduling method (TSOSM) that considers TDD and an optimization scheduling method (TOSM) that does not consider TDD. As shown in Table 1, the heat power imbalance, temporal resolution, and operating cost of the two methods were compared, and the heat power imbalance of TSOSM was significantly lower than that of TOSM, indicating a significant improvement in supplydemand balance, and thermal comfort is greatly improved. This is our primary focus. The cost calculation results indicate that considering thermal dynamics reduces operating costs by approximately ¥10400, which is significant when viewed from an annual perspective. However, using TSOSM requires a higher time resolution, which increases computational complexity. Table 1. Comparison of results on heat power imbalance rate, <u>time resolution, and operating cost.</u> _Parameter_ _TOSM_ _TSOSM_ △h% 9.58 0.97 △t (min) 60 30 Cost (10 <sup>3</sup> RMB¥) 4011.48 4001.08 Figure 7 displays the heat demand of the most disadvantageous user node and the supply water temperature change curves of two methods. It can be clearly seen that TSOSM has a better response to the heat demand, while TOSM fails to meet the heat demand of users for a long period of time after the demand changes, which greatly reduces the users' thermal comfort and causes a very unfavorable impact. Figure 7. Temperature comparison of the most unfavorable nodes. The comparison of the day-ahead scheduling results of the IES using TSOSM and TOSM is shown in Figure 8. For tie-line, the positive values indicate purchasing electricity, and the negative values indicate selling electricity. For the batteries, the positive value represents discharging (releasing), and the negative value represents charging (storing). The output of the battery under the two operating strategies is almost the same. The difference between the output of the CHP unit is evident in both cases. The results indicate that considering TDD has a relatively small effect on the battery's output, but a significant impact on the CHP's output. In addition, under different operating strategies, the wind power, photovoltaic, and nuclear energy outputs are the same and equal to the predicted power generation. The power of the tie-line also varies in some periods under different operating strategies. In conclusion, considering TDD not only has a considerable impact on the thermal scheduling results, but also affects the power scheduling results, although the impact is relatively small. Substantially, TSOSM focuses on characterizing the thermal dynamic response, which leads to differences in the heat power injected into the heating network. Therefore, the scheduling results of equipment related to heat power (i.e., CHP units) will be directly affected. (a) Tie-line Power (b) CHP_A (c) CHP_B 566 Proceedings of the Modelica Conference 2023 DOI <u>Session</u> <u>5-D:</u> <u>Thermodynamic</u> <u>and</u> <u>energy</u> <u>systems</u> <u>applications</u> <u>4</u> particularly important in the optimization and scheduling of heating systems. (d) Battery Figure 8. Comparison of scheduling results. Under the framework of "operation decision-simulation evaluation", further analysis of the system's state can be conducted based on determining the operational decision, achieving precise control of the system, and providing a basis for scientific management in the intra-day scheduling stage. The supply and demand response of the power system is shown in Figure 9. The CHP unit, wind power generation, photovoltaic, nuclear energy, and battery jointly provide electricity for the power system. Despite the system's high demand for electricity, it still needs to purchase electricity from the main grid to meet the shortfall in load. Under this operational strategy, the supply and demand of the system are balanced, and clean energy such as wind and photovoltaic provide most of the electricity, saving the system's operational costs. In addition, the battery discharges during periods of high load (such as 9:00-11:00 and 14:00-15:00) and charges during periods of light load (such as 23:00-4:00), to achieve peak shaving and valley filling. 800 WT Battery Nuclear Tie-line Battery Nuclear Tie-line CHP_A CHP_B Load Nuclear 700 600 500 400 300 200 100 0 -100 WT PV CHP_A CHP_B 0 4 8 12 16 20 24 Time/h Figure 9. Supply and demand response of the power system. Figure 10 illustrates the temperature change curves of the supply and return pipes at the beginning and end of the heating network. As shown in the figure, the outlet temperatures of each supply and return pipe also change correspondingly with the variation of the heat load. Due to the influence of thermal inertia, the response time is about 90 minutes. Meanwhile, due to the coupling of hydraulic transmission and thermal transmission, there is a time delay of about 45 minutes between the response of the first pipe and the response of the fifth pipe, reflecting the delay characteristic of transmission, which is (a) Supply water temperature (b) Return water temperature Figure 10. Temperature variation curve of heating network supply water and return water. Changes in the state of the heating network can also trigger responses in the natural gas network, firstly affecting the load side, causing a rapid change in gas load, and then leading to the redistribution of pressure and transmission flow rate in each branch pipe. The mass flow rate changes of some sections of the natural gas network are shown in Figure 11, which shows that the flow rate of the pipe fluctuates with the load and reaches a stable state again after a period of time (about 10 minutes). Figure 11. Mass flow rate variation curve of natural gas pipeline network In summary,the above case verify both the necessity of considering heat dynamics of the heating network and the effectiveness of the proposed dispatch procedure. The simulation results show that considering thermal dynamics has different degrees of impact on the scheduling results of the power system, heating system, and natural gas system. Since the essence of considering thermal dynamics lies in correcting the heat load, the impact on the heating system is the greatest. However, due to the characteristics of multi-energy coupling in IES, the DOI Proceedings of the Modelica Conference 2023 567 <u>Optimal</u> <u>Scheduling</u> <u>of</u> <u>IES</u> <u>Considering</u> <u>Thermal</u> <u>Transmission</u> <u>Delay</u> <u>Based</u> <u>on</u> <u>Modelica</u> <u>and</u> <u>Julia</u> impact on the heating system will also be coupled to the power system and natural gas system, but to a relatively lesser extent. ### 5 Conclusions In this paper, we propose an IES operation optimization method that comprehensively considers thermal dynamics, including modeling, evaluation, and scheduling programs. The heat power imbalance rate index is introduced to evaluate the satisfaction level of heat demand. A twostage optimization scheduling model for IES considering transmission delay is proposed to reduce the impact of TDD on the system's operational strategy. Finally, the proposed method is validated using an IES. Based on theoretical analysis and simulation results, the following conclusions can be drawn: 1) TSOSM can significantly mitigate the impact of thermal supply-demand imbalance caused by TDD, and improve users' thermal comfort. In addition, compared with the TOSM, the operating cost of TSOSM has been reduced. 2) The scheduling results of TSOSM have an impact on the heating system, power system, and natural gas system. During simulation evaluation, the dynamic characteristics of the system were also well simulated, such as when the load changes, the response time of the heating network is about 1.5 hours, and the response time of the gas network is about 10 minutes. 3) The integration of optimization scheduling of IES and multi-agent power flow analysis into a unified framework is achieved in this study. Effective methods and tools are provided for optimizing the operation and scientific management of IES. ### References Liu L, Wang D and Hou K (2020). “Region model and application of regional integrated energy system security analysis”. In: _Applied_ _Energy_ . Vol. 2020.114268. DOI:10.1016/j.apenergy.2019.114268. Song D, Meng W. and Dong M (2022). “A critical survey of integrated energy system: Summaries, methodologies and analysis”. In: _Energy Conversion and Management._ Vol. 115863. DOI:10.1016/j.enconman.2022.115863. Cui Z., Chen J and Liu C (2022). “Time-domain continuous power flow calculation of electricity–gas integrated energy system considering the dynamic process of gas network”. In: Energy Reports. Vol.8:597-605. DOI:10.1016/j.egyr.2022.02. 238. Pan Z., Sun H. and Guo Q (2016). “A static security analysis method for energy internet based on multiple energy streams”. In: Power Grid Technology. Vol. 40 (06): 1627-1634. DOI:10.13335/j.1000-3673.pst.2016.06.004. Zhai J, Zhou X. and Li Y (2021). “Analysis of natural gas flow reversal in integrated energy system based on dynamic simulation”. In: _Energy Reports_ . Vol: 1149-1158.DOI: 10.1016/j.egyr.2021.09.152. Chen X, Wang C and Wu Q (2020). “Optimal operation of integrated energy system considering dynamic heat-gas characteristics and uncertain wind power”. In: _Energy,_ Vol: 117270. DOI: 10.1016/j.energy.2020.117270. Liu X., Pierluigi M (2016). “Modelling, assessment and Sankey diagrams of integrated electricity-heat-gas networks in multivector district energy systems”. In: _Applied Energy_ . Vol: 167:336-352.DOI:10.1016/j.apenergy.2015.08.089. Wang L., Zheng J. and Li M (2019). “ Multi-time scale dynamic analysis of integrated energy systems: an individual-based model”. In: _Applied Energy_ . Vol: 237: 848-861. DOI: 10.1016/j.apenergy.2019.01.045. Dou C., Zhou X.and Zhang T (2020).“Economic optimization dispatching strategy of microgrid for promoting photoelectric consumption considering cogeneration and demand response”. In: _Journal of Modern Power Systems and Clean_ _Energy._ Vol: 8,557-563. DOI: 10.35833/MPCE.2019.000214. Yan X., Li R (2020). “Flexible coordination optimization scheduling of active distribution network with smart load”. In: _IEEE Access_, Vol: PP (99).1-1. DOI:10.1109/ACCESS.2020. 2982692. Shen Y, Liang X, Hu W (2020). “Optimal Dispatch of Regional Integrated Energy Syst, et alem Based on a Generalized Energy Storage Model”. In: _IEEE Access._ Vol: 1546-1555. DOI:10.1109/ACCESS.2020.3046743. Gu W, J. Wang and S. Lu (2017). “Optimal operation for integrated energy system considering thermal inertia of district heating network and buildings.” In: _Appl. Energy_ . Vol:199pp.234–246.Aug. DOI:2017.10.1016/j.apenergy.2017.05.004. Wang J, Zhong H and Ma Z (2017). “Review and prospect of integrated demand response in the multi-energy system”. In: _Appl. Energy._ Vol: 202.pp.772–782. DOI: 2017.10.1016/ j.apenergy.2017.05.150. Gu W (2017). “Residential CCHP microgrid with load aggregator: Operation mode, pricing strategy, and optimal dispatch”. In: _Appl. Energy_ . Vol: 205.pp.173–186. Nov. 2017.DOI:10.1016/j.apenergy.2017.07.045. Jie P.F., Z. T. S. and Zhu N.(2012).“Modeling the dynamic characteristics of a district heating network.” In: _Energy._ Vol:39.No.1.pp.126–134.Mar. DOI:2012.10.1016/j.energy.2012.01.055 Wang Y (2017). “Thermal transient prediction of district heating pipeline: Optimal selection of the time and spatial steps for fast and accurate calculation”. In: _Appl. Energy._ Vol: 206.pp. 900–910.Nov.15. DOI:2017.10.1016/j.apenergy.2017.08.061 Wang YR. et al. (2017) “Thermal transient prediction of district heating pipeline:Optimal selection of the time and spatial steps for fast and accuratecalculation”. _Appl. Energy_, vol. 206, pp. 900–910, Nov. 15. DOI:10.1016/j.apenergy.2017.08.061 Lu G, Gu W, Zhou S (2020). “High-Resolution modeling and decentralized dispatch of heat and electricity Integrated Energy System.” In: _IEEE_ _TRANSACTIONS_ _ON_ _SUSTAINABLE ENERGY._ Vol: 11, NO. 3, JULY 2020. Vitaliy G, Anatoly Z (2019). “An explicit staggered-grid method for numerical simulation of large-scale natural gas pipeline networks”. In: _Applied Mathematical Modelling._ Vol: 65.pp. 34–51. DOI:10.1016/j.apm.2018.07.0510 Qiu Y, Li Gj, Wei Lin, Zhang T (2022). “Dynamic thermal performance of district heating network under typical safety accidents”. In: _Journal of Building Performance Simulation._ Vol: pp. 678-690 DOI:10.1080/19401493.2022.2078407 568 Proceedings of the Modelica Conference 2023 DOI

섹션 본문 57문단 · 26,420자

(제목 없음)

1The Integrated Energy System (IES) enables integrated control and coordinated optimization of multiple energy flows.Due to the complexity of dynamic characteristics of multiple energy flows and the significant differences in time scales, thermodynamic problems occur during the operation of the system.In this paper, we propose an IES operation method that comprehensively considers thermodynamics to reduce the impact of thermal transmission delay (TDD) on the system's operational strategy, including modeling, evaluation, and scheduling programs.Firstly, an IES model is established to describe the dynamic characteristics of the energy supply network.Secondly, a two-stage optimization scheduling model considering TDD is established to reduce the impact of TDD on the operation decisions of IES, and the thermal power imbalance rate index is proposed to measure the impact of thermodynamics.Finally, the proposed method's effectiveness is validated by utilizing a comprehensive energy system as an example and implementing it on the MWORKS platform using the Modelica and Julia languages.

Introduction

2An IES integrates green and clean energy on the production side, couples energy conversion equipment with energy networks, and provides various forms of energy such as electricity, gas, heat/cooling to the consumption side, effectively reducing energy waste and improving energy utilization efficiency (Liu, et al., 2019;Song et al., 2022).Due to the different flow characteristics of in an IES, modeling IES is different from traditional energy systems.In the IES model, it is necessary to include modeling of the same type of energy transmission network (such as heat network or natural gas network) as well as modeling of the mutual conversion and coupling of heterogeneous energy sources, which increases the difficulty of modeling the IES (Cui, et al., 2022;Liu, et al., 2020;Pan, et al., 2016).The authors in (Zhai, et al., 2021) applied the characteristic method for hyperbolic partial differential equation analysis to analyze the dynamic changes of natural gas systems in IES.The authors in (Chen X, et al., 2020) established an IES model that comprehensively considers the dynamic characteristics of heat and gas transmission, which can be used for simulation analysis of IES and the synergistic optimization among different energy subsystems, providing a basis for improving the economic and security of IES services.The authors in (Liu et al., 2016) defined the meaning of multi-energy complementarity in different energy networks and conducted a comprehensive analysis of IES containing three types of energy networks, including electricity, gas, and heat, to achieve a comprehensive modeling and simulation of the three energy systems.In (Wang et al., 2019) the authors were inspired by the individual-based modeling method in bacterial ecology.An individual-based modeling method for IES was proposed by them, which decouples the entire system into multiple independent individuals and utilizes input and output sets for each individual to achieve uniform interaction.

3In order to dig deeper into the dispatching value of electricity, heat/cooling, and gas loads on the demand side, plenty of research on integrated energy coordination control and dispatching optimization considering demand response has been conducted to realize the optimal utilization of various energy resources.In (Dou, et al., 2020), an elastic demand side response model in the electric-thermal coupling system is established to optimize the load scheduling, showing significant effect in cutting down the system operating cost and improving the absorption capacity of PVs.A multitime scale flexible resources coordination optimization scheme is presented in (Yan, et al., 2020), which considers the smart loads' participation and presents a multi-time-scale power dispatch model that considers coordination and interaction between resources and electrical loads.(Shen, et al., 2020) focused on regional IES and proposed a thermal-electrical coupling energy optimization method that includes virtual energy storage resources.This method effectively improves the matching degree between energy production output and user energy consumption demand, ensuring the economic and flexible operation of the system.In (Gu, et al., 2017), the thermal storage capacity of both the heating network and buildings is applied to participate in the dispatch of the IES to decrease the operational cost and increase the wind power consumption.Besides, the DOI 10.3384/ecp204561

4Proceedings of the Modelica Conference 2023 October 9-11, 2023, Aachen, Germany flexible heating/cooling demand of buildings is also integrated with the flexible electrical and gas demand, to form an integrated demand response programs and participate in the energy management of energy systems, with the aim of improving economic performances and enhancing operational reliability (Wang, et al., 2017;Gu, et al., 2017).However, in almost all the existing researches, the slow heat dynamics in the heating network during the dispatch interval is usually simplified into a transient process.This simplification will result in considerable errors in the heat dynamics.It has not been investigated what impacts this simplification will bring about on the operation of the system and how to measure these impacts.Fundamentally, the heat dynamics in the heating network is governed by partial differential equations (PDE) (Jie, et al., 2012).Many numerical methods such as the finite difference method based on the characteristic path and the implicit upwind method are used to discretize the PDE into algebraic equations with proper time and spatial steps (Wang, et al., 2017).In summary, although there have been many advances in modeling, simulation, and optimization scheduling for IES, the dynamic transmission characteristics of the energy supply network are rarely considered in the research on optimization scheduling (Lu, et al., 2020).However, it has a significant impact on the operation of IES.Therefore, in this paper, we propose an IES operation method that comprehensively considers thermal dynamic, including modeling, evaluation, and scheduling programs.For the intra-day optimization scheduling of IES, we implemented the "operation decision-simulation evaluation" of IES on the same platform framework based on MWORKS (including Modelica and Julia).The main contributions of this paper are summarized as follows.(a) An IES model that considers network dynamics was developed in response to the dynamic transmission characteristics of the energy supply network.The dynamic characteristics of energy transmission in the network were simulated, and the possible impact of transmission delays on IES operational decisions was analyzed.(b) The thermal power imbalance rate was proposed as a metric to measure the impact of time resolution on IES operation.The index was calculated based on scheduling decisions and simulation results, and was used as a basis for making operational decisions.(c) An optimization scheduling model for IES considering TDD was proposed to reduce the impact of TDD on operational decisions.

Integrated Energy System Model

5There are significant differences between different subsystems.Therefore, in analyzing the dynamic processes of the IES, mathematical models for each subsystem should be established.Furthermore, by combining these subsystem models with the coupling element models, equipment models and network models of various types can be coupled together to form a multienergy coupled IES model.

Natural Gas Network Model

6The flow of natural gas in pipelines always follows the three laws of mass conservation equation, momentum conservation equation, and energy conservation equation (Vitaliy, et al., 2019).

7Mass conservation equation:

8where A is cross-sectional area of pipeline;  is gas density; w is gas flow rate.Momentum conservation equation:

9(2) where  is the friction resistance coefficient of the gas pipeline; D is the inner diameter of the pipeline;  is the inclination angle of the pipeline.

10Energy conservation equation:

11where Q is heat exchange; u is internal energy; H is enthalpy.

Heating Network Model

12In order to study the dynamic changes in heat transfer processes inside heating system pipelines, a dynamic model of hydraulic-thermal coupling for the heating pipeline is formed by coupling a thermal calculation model with the hydraulic calculation model of the heating pipeline.

13In Out

14The variation of heat transfer in the heating network can be expressed as the spatiotemporal distribution of the temperature and mass flow rate of the hot water in the system.Figure1 shows the process of heat transfer along the axial direction and radial loss in the hot water.The pipeline is discretized into several units, each of which has three associated heat flows that determine the energy storage change of each unit.The radial heat transfer of each unit is independent and the heat is dissipated to the external environment through the pipe wall and insulation layer.The axial flow is the connection condition of the radial temperature field of the entire pipe section, that is, the input of each unit is the output of the previous unit, and the output is the input of the next unit (Qiu, et al., 2022).

15To describe the situation of considering both axial flow and radial heat dissipation simultaneously, a dynamic model of hydraulic-thermal coupling for the heating pipeline is established.The continuity equation and motion equation of pipeline flow are the same as those of gas pipelines, shown in Equations 1 and Equations 2, while the energy equation considers the radial heat dissipation of the pipeline on the original basis, as shown in Equation 4.

16where m is the mass of the cell heating medium; m is the mass flow rate of the cell heat medium; r i Q is the radial heat dissipation of each unit, it can be expressed as

17where , i T  is the hot water temperature; 0 T is the ambient temperature; all R represents the total thermal resistance between hot water and the external environment.

Power System Load Flow Model

18Compared with gas and heating systems, the power system responds quickly to disturbances, generally within milliseconds.Therefore, this paper ignores the dynamic changes in power system flow.In power system flow simulation, the power system flow simulation model can be established based on the node voltage equation, and then the solution of various state parameters of the power system can be achieved.

19This article adopts a classic power flow calculation model, where the basic equation for power flow calculation is:

20where i P is the active power of the node i;

Coupling Element Model

21Combined Heat and Power (CHP) unit is composed of gas turbines, waste heat boilers, internal combustion engines, and external combustion engines.It is a production method that combines heating and power generation, and it can produce both electricity and heat.The model of CHP unit can be expressed by the following formula.

22The mathematical model for the output power of the CHP unit can be expressed as:

23where chp H  is the thermal power of CHP at time  ; chp P  is the electrical power of CHP at time ; load chp, m is the mass flow rate of natural gas consumed by CHP; chp  is the efficiency of the CHP unit; GV H is the high calorific value of natural gas.

24The relationship between heat power and electrical power of CHP units can be expressed as:

25where chp k is the thermoelectric ratio of the CHP unit.The CHP unit outputs heat to the heating system, and its heat output and water temperature meet the following requirements:

26where s

27T  is the water supply temperature at the time  ; r T  is the return water temperature at the time  .

Optimization Scheduling Model for IES Considering Thermal Transmission Delay

28Due to the multi-time scale characteristics of energy transmission in IES, such as electricity, gas, and heat, there is a delay in response to dispatch instructions.Compared with the power system and natural gas system, the heat dynamics of the heating system is a slowly changing process, and its response time to dispatch instructions is longer.In the determination of the operating strategy of the IES, the evolution process of heat dynamics cannot be ignored.In this paper, the framework of operation decision-making and simulation evaluation is adopted to study the optimization scheduling of IES.

Optimization Scheduling Model

29The optimal dispatch of the IES aims to determine the short-term (typically, day-ahead) optimal output of devices in the system in order to minimize the cost.The dispatchable variables include the state and output of each device, the networkenergy power, and the energy power supplied to end users.The constraints include the operational constraints of the electrical power system, heating system, and nature gas system.

30The total operating costs during the scheduling phase of the IES include the costs of purchasing and selling electricity, the costs of purchasing gas, and the costs of participating in the operation and maintenance of the energy supply equipment during the scheduling phase.The objective of the optimal dispatch model of the IES is as follows.

31where power ex C is the costs of purchasing and selling electricity; gas buy C is the costs of purchasing gas; equi om C is the costs of participating in the operation and maintenance.

32The Constraints of the optimal dispatch model of the IES is as follows.

33Constraint on electrical power balance:

34where Load M is the natural gas load.In addition to satisfying the electricity, gas, and heat power balance constraints mentioned above, the IES scheduling model also needs to satisfy operational constraints such as energy storage device constraints, interconnection power transmission constraints, and CHP output constraints.Among these constraints, Equations 14-16 represent the energy storage device constraints, Equation 17 represents the interconnection power transmission constraint, and Equation 18 represents the CHP output constraint.

Influence of Thermal Transmission Delay

35When performing optimization scheduling of an IES, the transmission delay of the heating pipeline often results in a significant time difference between our scheduling command response and the thermal load.In order to illustrate the impact of heating pipeline transmission delay on the day-ahead optimization scheduling of the IES, a simulation is performed using a specific heating pipeline (L=1000m, D=0.3m, m=50kg/s, T(start)=90℃) as an example.Three load demand changes are set for three time periods: ① T(t=0)=95℃, ② T(t=3600s)=80℃, ③ T(t=7200s)=90℃.The simulation model based on Modelica is shown in Figure 2. The simulation results are shown in Figure 3, where "T_in" represents the temperature of the heat source adjusted based on the load demand, which is numerically equal to the user's required water supply temperature."T_out" represents the actual temperature of the hot water supplied to the user.From the simulation results, it can be seen that heat network transmission delay can have a serious impact on supply-demand balance.The demand of the heat network is mainly met through the response of the heat source, and there is a delay of about one hour from the time the heat is emitted from the heat source to the time it reaches the load, leading to a serious supplydemand imbalance.Therefore, from the perspective of operating decision, it is necessary to consider heat network transmission delay in the day-ahead scheduling stage and control this supply-demand error within a certain range.The above results have verified the serious impact of heat network transmission delay.However, how to measure and overcome its impact has not yet been resolved.To address this issue, a further proposal is made for the heat power imbalance rate indicator and a twostage process method for operating strategy.

Two-Stage Optimization Scheduling Process for IES Considering Thermal Transmission Delay

36The simulation results from the previous section indicate that errors in the heat power network will lead to a supply-demand imbalance of thermal energy in the IES 's day-ahead optimization scheduling.Therefore, this It should be noted that when the heat power imbalance rate exceeds the limit, it indicates that the current operating strategy does not meet the thermal dynamic control accuracy.At this point, simulation evaluation is needed to determine the delay amount, and then reevaluate the thermal load and adjust the time resolution.The two-stage optimization scheduling process for the IES based on the "operating decision-simulation evaluation" framework is shown in

Case Studies

37This paper investigates a IES with an integrated network of electricity, gas, and heat as a case study, whose topology is illustrated in Figure 5.The power grid, nature gas network, and heat network are interconnected through a CHP unit.The power grid comprises 30 nodes, which include a wind turbine, a photovoltaic power station, a small nuclear power station, and a battery unit.The gas grid comprises 17 nodes and 16 pipelines.The heat network includes 20 nodes, with 10 of them serving as user node.Building upon the aforementioned work, the scheduling strategy and system simulation model for the comprehensive energy system have been implemented using the Modelica and Julia languages.The program was developed utilizing the MWORKS.Sysplorer and MWORKS.Syslab software tools, along with their unified simulation capabilities.The system model is illustrated in Figure 6.From the figure, it can be seen that the simulation model consists of two parts: a simulation module and an optimization module.The electric power system part in the simulation module is developed based on the Julia language, while the other models are developed based on the Modelica language.The optimization module is developed based on the Julia language and the Julia code is included in the Sysplorer model through the SyslabFunction of the MWORKS platform, enabling the combination of simulation and optimization.Two optimization running strategies were simulated and compared, including a two-stage optimization scheduling method (TSOSM) that considers TDD and an optimization scheduling method (TOSM) that does not consider TDD.As shown in Table 1, the heat power imbalance, temporal resolution, and operating cost of the two methods were compared, and the heat power imbalance of TSOSM was significantly lower than that of TOSM, indicating a significant improvement in supplydemand balance, and thermal comfort is greatly improved.This is our primary focus.The cost calculation results indicate that considering thermal dynamics reduces operating costs by approximately ¥10400, which is significant when viewed from an annual perspective.However, using TSOSM requires a higher time resolution, which increases computational complexity.Figure 7 displays the heat demand of the most disadvantageous user node and the supply water temperature change curves of two methods.It can be clearly seen that TSOSM has a better response to the heat demand, while TOSM fails to meet the heat demand of users for a long period of time after the demand changes, which greatly reduces the users' thermal comfort and causes a very unfavorable impact.The comparison of the day-ahead scheduling results of the IES using TSOSM and TOSM is shown in Figure 8.For tie-line, the positive values indicate purchasing electricity, and the negative values indicate selling electricity.For the batteries, the positive value represents discharging (releasing), and the negative value represents charging (storing).The output of the battery under the two operating strategies is almost the same.The difference between the output of the CHP unit is evident in both cases.

38The results indicate that considering TDD has a relatively small effect on the battery's output, but a significant impact on the CHP's output.In addition, under different operating strategies, the wind power, photovoltaic, and nuclear energy outputs are the same and equal to the predicted power generation.The power of the tie-line also varies in some periods under different operating strategies.In conclusion, considering TDD not only has a considerable impact on the thermal scheduling results, but also affects the power scheduling results, although the impact is relatively small.Substantially, TSOSM focuses on characterizing the thermal dynamic response, which leads to differences in the heat power injected into the heating network.Therefore, the scheduling results of equipment related to heat power (i.e., CHP units) will be directly affected.Under the framework of "operation decision-simulation evaluation", further analysis of the system's state can be conducted based on determining the operational decision, achieving precise control of the system, and providing a basis for scientific management in the intra-day scheduling stage.

39The supply and demand response of the power system is shown in Figure 9.The CHP unit, wind power generation, photovoltaic, nuclear energy, and battery jointly provide electricity for the power system.Despite the system's high demand for electricity, it still needs to purchase electricity from the main grid to meet the shortfall in load.Under this operational strategy, the supply and demand of the system are balanced, and clean energy such as wind and photovoltaic provide most of the electricity, saving the system's operational costs.In addition, the battery discharges during periods of high load (such as 9:00-11:00 and 14:00-15:00) and charges during periods of light load (such as 23:00-4:00), to achieve peak shaving and valley filling.Changes in the state of the heating network can also trigger responses in the natural gas network, firstly affecting the load side, causing a rapid change in gas load, and then leading to the redistribution of pressure and transmission flow rate in each branch pipe.The mass flow rate changes of some sections of the natural gas network are shown in Figure 11, which shows that the flow rate of the pipe fluctuates with the load and reaches a stable state again after a period of time (about 10 minutes).In summary,the above case verify both the necessity of considering heat dynamics of the heating network and the effectiveness of the proposed dispatch procedure.The simulation results show that considering thermal dynamics has different degrees of impact on the scheduling results of the power system, heating system, and natural gas system.Since the essence of considering thermal dynamics lies in correcting the heat load, the impact on the heating system is the greatest.However, due to the characteristics of multi-energy coupling in IES, the impact on the heating system will also be coupled to the power system and natural gas system, but to a relatively lesser extent.

Conclusions

40In this paper, we propose an IES operation optimization method that comprehensively considers thermal dynamics, including modeling, evaluation, and scheduling programs.The heat power imbalance rate index is introduced to evaluate the satisfaction level of heat demand.A twostage optimization scheduling model for IES considering transmission delay is proposed to reduce the impact of TDD on the system's operational strategy.Finally, the proposed method is validated using an IES.

41Based on theoretical analysis and simulation results, the following conclusions can be drawn: 1) TSOSM can significantly mitigate the impact of thermal supply-demand imbalance caused by TDD, and improve users' thermal comfort.In addition, compared with the TOSM, the operating cost of TSOSM has been reduced.

422) The scheduling results of TSOSM have an impact on the heating system, power system, and natural gas system.During simulation evaluation, the dynamic characteristics of the system were also well simulated, such as when the load changes, the response time of the heating network is about 1.5 hours, and the response time of the gas network is about 10 minutes.

433) The integration of optimization scheduling of IES and multi-agent power flow analysis into a unified framework is achieved in this study.Effective methods and tools are provided for optimizing the operation and scientific management of IES.

44of node j voltage; ij Y is the admittance between node i and node j.

Figure 2 .

45Figure 2. Heating pipeline simulation model.

Figure 3 .

46Figure 3. Simulation results of a specific pipeline.

Figure 4 .

47Figure 4. Two-stage dispatch procedure.

48Figure 4.The Stage 1 is the dispatch decision process and the Stage 2 is the posterior evaluation of the supply and demand situation of thermal energy.The detailed steps are as follows: A. Initialization stage: Based on the IES model established in the second section, the IES simulation model is built.(using MWORKS.Sysplorer) B. "Operating decision" stage: Based on the established IES operation optimization model, the operating decision is made to obtain the operation optimization results.(using MWORKS.Syslab) C. "Simulation evaluation" stage: The operating decision results are input into the IES model for simulation calculation, and the heat power imbalance rate indicator is calculated based on the simulation results.(using MWORKS.Syslab and MWORKS.Sysplorer) D. Validation stage: Determine whether the operating strategy meets the thermal dynamic control accuracy requirements.If the requirements are met, the process ends; otherwise, update the day-ahead thermal load and time resolution and proceed to step B.

Figure 5 .

49Figure 5. Topological structure diagram of IES.

Figure 6 .

50Figure 6.IES operating decision and simulation evaluation model.

Figure 7 .

51Figure 7. Temperature comparison of the most unfavorable nodes.

Figure 8 .

52Comparison of scheduling results.

Figure 9 .

53Figure 9. Supply and demand response of the power system.

Figure 10

54Figure 10 illustrates the temperature change curves of the supply and return pipes at the beginning and end of the heating network.As shown in the figure, the outlet temperatures of each supply and return pipe also change correspondingly with the variation of the heat load.Due to the influence of thermal inertia, the response time is about 90 minutes.Meanwhile, due to the coupling of hydraulic transmission and thermal transmission, there is a time delay of about 45 minutes between the response of the first pipe and the response of the fifth pipe, reflecting the delay characteristic of transmission, which is

Figure 11 .

55Figure 11.Mass flow rate variation curve of natural gas pipeline network

56section proposes the heat power imbalance rate indicator to quantify the thermal dynamic errors in the operating strategy, reflecting the supply-demand imbalance of the heat network in each time period.The specific calculation formula is as follows:

Table 1 .

57Comparison of results on heat power imbalance rate, time resolution, and operating cost.

참고문헌 19건

  1. Modeling the dynamic characteristics of a district heating network Energy · Elsevier BV · 2012 10.1016/j.energy.2012.01.055
  2. Modelling, assessment and Sankey diagrams of integrated electricity-heat-gas networks in multi-vector district energy systems Applied Energy · Elsevier BV · 2015 10.1016/j.apenergy.2015.08.089
  3. 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
  4. Review and prospect of integrated demand response in the multi-energy system Applied Energy · Elsevier BV · 2017 10.1016/j.apenergy.2017.05.150
  5. Residential CCHP microgrid with load aggregator: Operation mode, pricing strategy, and optimal dispatch Applied Energy · Elsevier BV · 2017 10.1016/j.apenergy.2017.07.045
  6. Thermal transient prediction of district heating pipeline: Optimal selection of the time and spatial steps for fast and accurate calculation Applied Energy · Elsevier BV · 2017 10.1016/j.apenergy.2017.08.061
  7. Multi-time scale dynamic analysis of integrated energy systems: An individual-based model Applied Energy · Elsevier BV · 2019 10.1016/j.apenergy.2019.01.045
  8. 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
  9. Region model and application of regional integrated energy system security analysis Applied Energy · Elsevier BV · 2019 10.1016/j.apenergy.2019.114268
  10. Optimal operation of integrated energy system considering dynamic heat-gas characteristics and uncertain wind power Energy · Elsevier BV · 2020 10.1016/j.energy.2020.117270
  11. Flexible Coordination Optimization Scheduling of Active Distribution Network With Smart Load IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2982692
  12. Economic Optimization Dispatching Strategy of Microgrid for Promoting Photoelectric Consumption Considering Cogeneration and Demand Response Journal of Modern Power Systems and Clean Energy · Springer Nature · 2020 10.35833/mpce.2019.000214
  13. Optimal Dispatch of Regional Integrated Energy System Based on a Generalized Energy Storage Model IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.3046743
  14. Analysis of natural gas flow reversal in integrated energy system based on dynamic simulation Energy Reports · Elsevier BV · 2021 10.1016/j.egyr.2021.09.152
  15. Time-domain continuous power flow calculation of electricity–gas integrated energy system considering the dynamic process of gas network Energy Reports · Elsevier BV · 2022 10.1016/j.egyr.2022.02.238
  16. A critical survey of integrated energy system: Summaries, methodologies and analysis Energy Conversion and Management · Elsevier BV · 2022 10.1016/j.enconman.2022.115863
  17. Dynamic thermal performance of district heating network under typical safety accidents Journal of Building Performance Simulation · Taylor & Francis · 2022 10.1080/19401493.2022.2078407
  18. Optimal Scheduling of IES Considering Thermal Transmission Delay Based on Modelica and Julia Linköping electronic conference proceedings · Linköping University Electronic Press · 2023 10.3384/ecp204561
  19. Two-Level Optimisation and Control Strategy for Unbalanced Active Distribution Systems Management Zenodo (CERN European Organization for Nuclear Research) · European Organization for Nuclear Research · 2020 10.1109/access.2020