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

Research on multi-timescale operation optimization of a distributed electro-hydrogen coupling system considering grid interaction

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

기본 정보

저자
  1. Ma Shun — Guangdong Power Supply Bureau of Guangdong Power Grid Co., Ltd., Guangzhou, China
  2. Shiyan Mei — Guangdong Power Supply Bureau of Guangdong Power Grid Co., Ltd., Guangzhou, China
  3. Liwei Yu — Dongguan Power Supply Bureau of Guangdong Power Grid Co., Ltd., Dongguan, China
DOI
10.3389/fenrg.2023.1251231
저널
Frontiers in Energy Research
발행년도
2023
발행기관
Frontiers Media
피인용수
2
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3389/fenrg.2023.1251231
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W4386750485

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
부품·응용 설계
확신도
0.70
근거 용어
electro-hydrogen coupling system, hydrogen fuel cell, electrolytic cell, operational optimization, multi-timescale
판단 근거
본 논문은 전력과 수소를 결합한 시스템의 운영 최적화 모델을 다루고 있으며, 시스템 구성 요소로 수소 연료전지(Hydrogen fuel cell)와 수전해 장치(Electrolytic cell)를 포함하고 있습니다.
R&D 활용 포인트
수소연료전지(PEMFC) 시스템의 에너지 효율 및 운영 안정성을 높이기 위한 시스템 통합 설계 및 제어 로직 연구에 활용 가능합니다.
평가 입력
본문 89,983자 중 30,032자 발췌

초록

Against the backdrop of increasingly prominent environmental issues, new energy consumption issues, and energy supply and demand balance issues, the optimization of multi time scale operation of distributed electro hydrogen coupling systems has become a research focus. Based on this, this article optimizes the multi time scale operation of a distributed electric hydrogen coupling system that takes into account grid interaction. By designing a system framework for distributed electro hydrogen coupling systems, operational strategies for each system were proposed. Analyzed the uncertainty and response characteristics of wind and solar power generation units and load demand, and constructed a multiple uncertainty model for distributed electric hydrogen coupling system. At the same time, a three stage, multi time scale operation optimization model of the electric hydrogen coupling system was constructed based on the response characteristics of the distributed electric hydrogen coupling system. The construction of these models reduced scheduling costs by 12.55% and increased clean energy consumption rate by 13.50%.

본문 89,983자

본문 펼치기
OPEN ACCESS EDITED BY Shenbo Yang, Beijing University of Technology, China REVIEWED BY Xiaobao Yu, Shanghai University of Electric Power, China Shiping Geng, North China Electric Power University, China *CORRESPONDENCE Shun Ma, [15573805949@163.com](mailto:15573805949@163.com) RECEIVED 01 July 2023 ACCEPTED 28 August 2023 PUBLISHED 14 September 2023 CORRECTED 02 March 2026 CITATION Ma S, Mei S and Yu L (2023), Research on multi-timescale operation optimization of a distributed electro-hydrogen coupling system considering grid interaction. Front. Energy Res. 11:1251231. doi: [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) COPYRIGHT © 2023 Ma, Mei and Yu. This is an openaccess article distributed under the terms of the Creative [Commons](https://creativecommons.org/licenses/by/4.0/) Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms. [TYPE](https://www.frontiersin.org/journals/energy-research#editorial-board) Original Research PUBLISHED 14 September 2023 DOI [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) # Research on multi-timescale operation optimization of a distributed electro-hydrogen coupling system considering grid interaction Shun Ma <sup>1</sup> *, Shiyan Mei <sup>1</sup> and Liwei Yu <sup>2</sup> 1Guangdong Power Grid Co., Ltd., Guangzhou, China, 2Dongguan Power Supply Bureau of Guangdong Power Grid Co., Ltd., Dongguan, China Against the backdrop of increasingly prominent environmental issues, new energy consumption issues, and energy supply and demand balance issues, the optimization of multi time scale operation of distributed electro hydrogen coupling systems has become a research focus. Based on this, this article optimizes the multi time scale operation of a distributed electric hydrogen coupling system that takes into account grid interaction. By designing a system framework for distributed electro hydrogen coupling systems, operational strategies for each system were proposed. Analyzed the uncertainty and response characteristics of wind and solar power generation units and load demand, and constructed a multiple uncertainty model for distributed electric hydrogen coupling system. At the same time, a three stage, multi time scale operation optimization model of the electric hydrogen coupling system was constructed based on the response characteristics of the distributed electric hydrogen coupling system. The construction of these models reduced scheduling costs by 12.55% and increased clean energy consumption rate by 13.50%. KEYWORDS multiple uncertainties, electro-hydrogen coupling, multi-timescale, operational optimization, grid interaction ## 1 Introduction Under the “dual carbon” goal, environmental issues and energy supply and demand balance are becoming increasingly prominent (Ren et al., 2022). In this context, the production of clean wind and solar new energy has developed on a large scale, but problems such as uncertainty, volatility, and inability to fully absorb remain unresolved (Li et al., 2022a). Utilizing uncontrollable wind and solar new energy to generate hydrogen and locally supply regional hydrogen load demand can reduce transportation costs. At the same time, hydrogen energy, as a secondary energy source, has advantages such as flexible conversion and long-term energy storage (Gorre et al., 2020; Zhang et al., 2022). Therefore, coupling the electric energy network with the hydrogen energy network into an electric hydrogen system has significant economic value (Zhang et al., 2022). Optimizing the operation of the coupling system lays the foundation for the development of distributed electric hydrogen coupling systems. However, at different timescales, the accuracy of wind, photovoltaic, and load prediction in the electric F i i E R h 01 f i i Ma et al. [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) hydrogen coupling system is inconsistent (Li et al., 2022b). It is necessary to conduct research on the multi-timescale operation of the electric hydrogen system. Regarding research on multiple timescales, most of the existing research focuses on integrated energy systems. Based on the differences in energy characteristics in integrated energy systems, Li et al. (2020) optimized the scheduling time resolution of cooling, heating, and electricity and constructed a mixed day-to-day timescale scheduling optimization model for integrated energy systems. Xu et al. (2019) designed a comprehensive response architecture that considers multiple timescales to achieve orderly scheduling of user demand responses, which can reduce overall operating costs. Wang et al. (2022) proposed a two-stage scheduling optimization plan with the objective function of minimizing operating costs, taking the combined cooling, heating, and power system as the research object. Jin et al. (2019) focused on microgrid systems and also proposed a two-stage scheduling optimization plan. On the basis of the two-stage rolling optimization of “day-ahead–day-in,” Yuan et al. (2019) (Bao et al., 2016) proposed a multi-timescale scheduling optimization method that considers “day-ahead–day-in–realtime,” where day-ahead takes 1 h as the scheduling response time, the day-in response time is 15 min, and the real-time response time is 5 min. Furthermore, based on the optimization of “day-ahead–day-in–real-time,” Zhao et al. (2020) proposed a long-term optimization model with an annual cycle, with the objective function of minimizing annual investment cost, to optimize the capacity allocation and investment decisionmaking of the comprehensive energy system. From the existing multi-timescale optimization research, on the one hand, there is a lack of operational optimization research focusing on distributed electro-hydrogen coupling systems in the research object. On the other hand, in terms of multitimescale research, the growth of scheduling response time is mostly 1 h in the day-ahead, 15 min in the day-in, and 5 min in the real-time, without in-depth consideration of equipment and energy characteristics. In the operation process of distributed electric hydrogen coupling systems, due to the existence of multiple uncertainties in wind power, photovoltaic, and load, the study of uncertainty is also crucial for distributed electric hydrogen coupling systems. Pan et al. (2022) used robust coefficients to characterize the uncertainty of renewable energy sources and other sources. Hou et al. (2021) described the uncertainty of wind and solar output based on the typical scenario method. Lu et al. (2022) used the interval method to describe the uncertainty of user-end load. In addition to considering the unilateral uncertainty of the source and load ends, Cui et al. (2022) (Zhai et al., 2020) also considered the uncertainty of new energy generation and comprehensive demand response and verified through examples that considering multiple uncertainties can improve the risk resistance ability of the comprehensive energy system. The existing research on uncertainty can consider the uncertainty of source-side output and load-side demand response. However, in distributed electrohydrogen coupling systems, demand response is an important resource for its invocation, and the accuracy of resource invocation will also affect the uncertainty of the system. Existing research has little consideration for the uncertainty of load-side demand response. Based on the aforementioned research, this paper conducts a multi-timescale operation optimization study of a distributed electric hydrogen coupling system that takes into account grid interaction. Compared with the existing research, this work incorporated the following innovations: (1) In terms of uncertainty analysis, not only the uncertainty of the source and load ends is considered, but also the uncertainty of the load demand response in the coupled system is innovatively considered. (2) In terms of operational optimization, based on the response characteristics of the equipment, a three-stage multi-timescale operational optimization model of “day-ahead–day-in–realtime” is proposed. Considering the adjustment and response level of equipment in the day-in and real-time stages, a “dayin–real-time” two-stage adjustment plan is developed, which differs from traditional overall adjustment. (3) In terms of scheduling time, the traditional response scheduling time of 1 h in the day-ahead, 15 min in the day-in, and 5 min in the real-time is optimized based on system equipment and various energy characteristics. The remainder of this paper is arranged as follows: in Section 2, the framework of the electric hydrogen coupling system is designed, and the operation strategy of the coupling system unit is proposed. In Section 3, based on the system unit modeling, the uncertainty and response characteristics of the coupled system are analyzed. In Section 4, a coupled system operation optimization model with three timescales of day before day, day within day, and real time is constructed. In Section 5, taking a coupled system as an example for empirical analysis, the effectiveness of the model was verified. ## 2 Design of the electric hydrogen coupling system 2.1 System framework The electric hydrogen coupling system includes three networks: electric energy network, hydrogen network, and thermal network. The distributed power supply network consists of wind turbines, photovoltaic panels, external networks, and electrical loads. The hydrogen network consists of an electrolytic cell, hydrogen fuel cell, hydrogen storage tank, and hydrogen load. The thermal energy network is composed of electric to heat equipment, electrolytic cell, and cooling water circulating device inside the hydrogen fuel cell. Distributed power supply, hydrogen network, and thermal network are coupled together and coordinated and dispatched by the control center of the electric hydrogen coupling system. When there is a shortage demand in the coupling system, energy is purchased from external networks. If the system exceeds supply, energy is sold to external networks (Figure 1). F i i E R h 02 f i i Ma et al. [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) FIGURE 1 Framework diagram of the electric hydrogen coupling system. 2.2 System unit operation strategy 2.2.1 Electric energy network In order to reduce wind and solar power abandonment rates and achieve the consumption of wind and photovoltaic power generation, the control center of the electric hydrogen coupling system conducts full scheduling of wind and photovoltaic power generation. On the one hand, when wind power and photovoltaic power cannot meet the electricity load demand, electricity is purchased from the external grid to meet the electricity load demand shortage. On the other hand, the hydrogen is released from the hydrogen storage tank and generated by the hydrogen fuel cell. When wind and photovoltaic power generation exceeds the electricity load demand, the electrolysis cells use the excess electricity to produce hydrogen, and the generated hydrogen is stored in hydrogen storage tanks to supply the local hydrogen load demand. 2.2.2 Hydrogen energy network When wind and photovoltaic power generation exceeds the electricity load demand, the electrolytic cell uses excess electricity to produce hydrogen, and combined with the electricity price situation, the generated hydrogen is stored in the hydrogen storage tank. If the power load of the system is insufficient and the electricity price is high, the hydrogen in the storage tank will be supplied to the hydrogen fuel cell to generate electric energy and heat energy to obtain benefits. If the system’s electricity load is insufficient, the electricity price is low, and the purchased electricity meets the system’s electricity load demand with higher efficiency, the generated hydrogen will be stored in hydrogen storage tanks to supply the regional hydrogen load demand. 2.2.3 Thermal network The heat load demand of the thermal energy network is met by the electric-to-heat equipment, hydrogen fuel cell, and electrolytic cell. Among them, the heating efficiency of hydrogen fuel cells is higher than the power supply efficiency. In hydrogen fuel cells, we first consider the heat load demand to control the hydrogen consumption of hydrogen fuel cells and then consider the power load demand. Therefore, hydrogen fuel cells and electrolytic cells are first used to meet the heat load demand in the heat energy network. If hydrogen fuel cells and electrolytic cells cannot meet the heat load demand, then the power is purchased from the external network or the excess power from wind and solar power generation is used to supply heat through the electric-to-heat equipment. ## 3 Unit modeling and uncertainty analysis of the electro-hydrogen coupling system 3.1 System unit modeling This section considers the characteristics of each unit equipment and constructs corresponding models. 3.1.1 Wind turbines The output of wind power at each moment is the product of the installed capacity and output coefficient of the wind power plant, as shown in Eq. 1: Pwind,t - ηwind,t · Pwind <sup>e</sup> <sup>,</sup> (1) where Pwind,t is the output of the wind power plant at time t; ηwind,t is the output coefficient of the wind power plant at time t; and P <sup>e</sup> wind <sup>is</sup> <sup>the</sup> <sup>rated</sup> <sup>power</sup> <sup>of</sup> <sup>the</sup> <sup>wind</sup> <sup>power</sup> <sup>plant.</sup> 3.1.2 Photovoltaic unit Photovoltaic power generation is influenced by regional light intensity, and the beta distribution is used to fit the radiation pattern of light. The output of photovoltaic power generation is shown in Eq. 2: Ppv,t - mpv · fpv,t · λpv · λtran · (1 − λloss), (2) where Ppv,t is the photovoltaic power generation output at time t; mpv is the area of the photovoltaic panel; fpv,t is the light intensity F i i E R h 03 f i i Ma et al. [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) at time t; λpv is the efficiency of the photovoltaic panel in absorbing light intensity; λtran is the solar-cell efficiency; and λloss is the loss coefficient of the photovoltaic panel. 3.1.3 Electric tank Electrolytic cells include an alkaline electrolyzer, a hightemperature steam electrolyzer, and a proton-exchange membrane electrolyzer. Due to their advantages of easy maintenance and wide application (Liu et al., 2022), alkaline electrolyzers are suitable for the electric hydrogen coupling system constructed in this paper for park scenarios. Based on this, an alkaline electrolytic cell is used in this section. The realtime balance between the electrical energy consumed and the energy generated during the operation of an alkaline electrolytic cell is shown in Eq. 3: P <sup>in</sup> el,t <sup>in</sup> el,t <sup>�</sup> <sup>mout</sup> el,t <sup>out</sup> el,t <sup>+ Hxs</sup> el,t P <sup>in</sup> el,t <sup>�</sup> <sup>mout</sup> el,t <sup>+ Hxs</sup> el,t <sup>+ H</sup> el <sup>loss</sup>,t <sup>,</sup> m <sup>out</sup> dj,t <sup>�</sup> <sup>λel,tP</sup> el <sup>in</sup>,t <sup>ζ</sup> <sup>el,</sup> - m <sup>out</sup> dj,t <sup>�</sup> <sup>λel,tP</sup> el <sup>in</sup>,t <sup>ζ</sup> <sup>el,</sup> (3) <sup>out</sup> dj,t <sup>�</sup> <sup>λel,tP</sup> el <sup>in</sup> <sup>xs</sup> el,t <sup>+ H</sup> el <sup>loss</sup>,t <sup>,</sup> where P <sup>in</sup> el,t where P <sup>in</sup> el,t <sup>is</sup> <sup>the</sup> <sup>electrical</sup> <sup>power</sup> <sup>consumed</sup> <sup>by</sup> <sup>the</sup> <sup>electrolytic</sup> cell; m <sup>out</sup> dj,t <sup>and</sup> <sup>λel,t</sup> <sup>are</sup> <sup>the</sup> <sup>quality</sup> <sup>and</sup> <sup>efficiency</sup> <sup>of</sup> <sup>hydrogen</sup> <sup>gas</sup> produced by the electrolytic cell, respectively; H <sup>xs</sup> el,t <sup>and Hloss</sup> el,t <sup>refer to</sup> the thermal energy generated during the operation of the electrolytic cell and the heat dissipation loss, respectively; and ζ el is the conversion coefficient of the electrolytic cell. Under constant temperature and pressure conditions, the hydrogen production efficiency of the electrolytic cell is related to the current efficiency and voltage efficiency, as shown in Eq. 4: <sup>xs</sup> el,t <sup>and Hloss</sup> el,t ⎪⎧⎪⎪⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎪⎪⎪⎩ λel,t - λ <sup>I</sup> el,t <sup>I</sup> <sup>λU</sup> el,t <sup>λU</sup> el,t <sup>,</sup> (4) λ <sup>I</sup> el,t <sup>�</sup> <sup>96.5e</sup> λ <sup>I</sup> �− <sup><u>74</u></sup> I <sup><u>t.6</u></sup> ~~�~~ el, - <sup><u>74</u></sup> I <sup><u>t.6</u></sup> I <sup><u>t</u></sup> FIGURE 2 Relationship between the input power of the electrolytic cell and hydrogen production efficiency of the electrolytic cell. respectively; ϑ2, n2, and j2 are the charge transfer coefficient, electron transfer number, and current density of the anode. Referring to the relevant parameters of the electrolytic cell in Liu et al. (2022), the non-linear relationship between the input power of the electrolytic cell and the hydrogen production efficiency of the electrolytic cell is shown in Figure 2. The electrolysis cell has the highest hydrogen production efficiency when the input power accounts for approximately 20% of the rated power; however, the hydrogen production amount is small. The optimal operating range is (50%, 100%) of the rated power. 3.1.4 Hydrogen storage tank Based on different pressure requirements, hydrogen storage tanks mainly involve three types of hydrogen storage methods: solid, liquid, and gaseous. Among them, high-pressure hydrogen storage in the gaseous state has been the most widely used, mature, and low-cost method, with a pressure of up to 20 MPa. When the pressure is less than 10 MPa, the ideal equation of state can be used to build the relationship between the mass and pressure of the hydrogen storage tank. However, due to the small relative molecular weight of hydrogen, when the pressure exceeds 10 MPa, it is easy to lead to explosion. At this time, the ideal equation of state does not accurately describe the relationship between mass and pressure. Fan’s equation can characterize the mass and pressure of hydrogen storage tanks by considering the repulsive and gravitational forces between molecules, as shown in Eq. 6: <sup>U</sup> el,t <sup>�</sup> <sup>U</sup> <u>el</u> <sup>zx</sup>, U <sup>dj</sup> λ <sup>U</sup> <u>el</u>, <sup>Uzx</sup> U <sup>dj</sup> , el where λ <sup>I</sup> <sup>I</sup> el,t <sup>and λU</sup> el,t where λ <sup>I</sup> el,t <sup>and λU</sup> el,t <sup>represent the current efficiency and voltage</sup> efficiency of the electrolytic cell, respectively; I <sup>t</sup> el <sup>is</sup> <sup>the</sup> <sup>operating</sup> current of the electrolytic cell; U <sup>zx</sup> el <sup>is the thermal neutral voltage; and</sup> U <sup>dj</sup> el <sup>is</sup> <sup>the</sup> <sup>voltage</sup> <sup>of</sup> <sup>electrolysis</sup> <sup>of</sup> <sup>water.</sup> Under certain temperature and pressure conditions, the electrolysis of water voltage of the electrolytic cell depends on the current density, as shown in Eq. 5: <sup>dj</sup> el <sup>is</sup> <sup>the</sup> <sup>voltage</sup> <sup>of</sup> <sup>electrolysis</sup> <sup>of</sup> <sup>water.</sup> ⎪⎧⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎩ ET <sup>h</sup> el <sup>2</sup> <sup>�</sup> ϑ1n1Y <sup>In</sup> j <sup>j</sup> 1 ET el <sup>o2</sup> <sup>�</sup> ϑ2n2Y <sup>In</sup> j <sup>j</sup> 2 U <sup>dj</sup> el el <sup>rev</sup> (T, P) + U <sup>ohm</sup> el <sup>dj</sup> el <sup>�</sup> <sup>U</sup> el <sup>rev</sup> <sup>ohm</sup> el �j, T� + U <sup>h</sup> el <sup>2</sup> - <sup>j, T</sup> - + U <sup>o</sup> el <sup>2</sup> - <sup>j, T</sup> �, U <sup>rev</sup> el (T, P) � 1.5184 − 1.5421 × 10 <sup>−3</sup> T + 9.523 × 10 <sup>−5</sup> T <sup>2</sup> e + 9.84 × 10 <sup>−8</sup> T <sup>2</sup>, <sup>rev</sup> el (T, P) � 1.5184 − 1.5421 × 10 <sup>−3</sup> T + 9.523 × 10 <sup>−5</sup> T <sup>2</sup> e + 9.84 × 10 <sup>−8</sup> T <sup>2</sup>, U <sup>ohm</sup> el - IelRel, U <sup>ohm</sup> U <sup>h</sup> el <sup>2</sup> j1 (6) Uel <sup>o2</sup> j2 ~~,~~ , nEHS,t 2 �pEHS,t + c1 ~~�~~ ~~�~~ ��VEHS,t − c2nEHS,t� - nEHS,t · a · TH, mEHS,t - MH · nEHS,t, pEHS,t + c1 nEHS,t ~~�~~ ~~�~~ VEHS,t (5) ⎪⎧⎪⎨ ⎪⎪⎩ where U <sup>rev</sup> el <sup>rev</sup> el <sup>,</sup> <sup>U</sup> el <sup>ohm</sup> el <sup>ohm</sup>, U <sup>h</sup> el <sup>2</sup> <sup>h</sup> el <sup>2,</sup> <sup>and</sup> <sup>Uo</sup> el <sup>2</sup> where U <sup>rev</sup> el <sup>,</sup> <sup>U</sup> el <sup>ohm</sup>, U <sup>h</sup> el <sup>2,</sup> <sup>and</sup> <sup>Uo</sup> el <sup>2</sup> <sup>refer</sup> <sup>to</sup> <sup>reversible</sup> <sup>voltage,</sup> resistance voltage drop, hydrogen overpotential, and oxygen overpotential, respectively; T, P, and j represent temperature, pressure, and current density, respectively; Rel is the resistance of the electrolyte; E and Y are universal gas and Faraday constant, respectively; ϑ1, n1, and j1 are the charge transfer coefficient, electron transfer number, and current density of the cathode, where pEHS,t is the pressure of the hydrogen storage tank at time t; c1 and c2 are Fan’s coefficients; nEHS,t is the amount of hydrogen in the hydrogen storage tank; VEHS,t is the volume of the hydrogen storage tank; a is a constant; TH is the temperature of hydrogen gas; and MH is the relative molecular weight of hydrogen gas. F i i E R h 04 f i i Ma et al. [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) 3.2 Analysis of system uncertainty and response characteristics This section analyzes the uncertainties faced by distributed hydrogen systems and the response characteristics of various pieces of equipment in the system, laying the foundation for constructing a multi-timescale operation optimization model in Section 4. 3.2.1 Wind and photovoltaic power generation units FIGURE 3 Relationship between fuel cell power generation and voltage. According to Eq. 5, the relationship between the pressure and mass of the hydrogen storage tank is shown in Eq. 7: In terms of response characteristics, wind and photovoltaic power generation units can quickly abandon wind and light when they exceed the maximum output value, and their adjustability is strong. The response time of the distributed electric hydrogen coupling system for wind and solar power generation units is short, and the response timescale is set to τ1. In terms of uncertainty, wind and solar power have high output uncertainty due to the influence of geographical location, environmental temperature, light intensity, and wind speed. Based on this, Bai et al. (2021) used a combination of clustering and particle swarm optimization algorithms to determine n typical wind and solar output scene sets and weighted and stacked n output scenes and further used the uncertainty set of wind and solar output to represent the uncertainty of wind and solar output, as shown in Eqs 11, 12: mEHS,t · a · TH pEHS,t MHVEHS,t − c2mEHS,t 2 . (7) - c1 mEHS,t ~~�~~ MHVEHS,t The capacity of the hydrogen storage tank is shown in Eq. 8: mEHS,t+1 - mEHS,t + m <sup>in</sup> <sup>in</sup> EHS,t <sup>−</sup> <sup>m</sup> EHS, <sup>out</sup> EHS, <sup>out</sup> t <sup>,</sup> (8) where mEHS,t+1 is the hydrogen mass of the hydrogen storage tank at time t+1; m <sup>in</sup> EHS,t <sup>is</sup> <sup>the</sup> <sup>hydrogen</sup> <sup>mass</sup> <sup>of</sup> <sup>the</sup> <sup>hydrogen</sup> storage tank at time t; and m <sup>out</sup> EHS,t <sup>is the hydrogen release amount of</sup> the hydrogen storage tank at time t. 3.1.5 Hydrogen fuel cell The hydrogen fuel cell can be regarded as the reverse reaction of electrolyzed water, and its energy model is shown in Eq. 9: Dwind,2 <sup>, /, ~P</sup> ⎪⎧⎪⎪⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎪⎪⎪⎩ T t�1 �����2P <sup>~</sup> Dwind,t <sup>−</sup> - <sup>P</sup> wind,t <sup>D, min</sup> <sup>+ P</sup> wind,t <sup>D, max</sup> ������ Pwind,t <sup>D, min</sup> <sup>+ PD, max</sup> �P~Dwind,t <sup>�</sup> �P~Dwind,1 <sup>, ~P</sup> Dwind,2 <sup>, /, ~P</sup> Dwind,T�, ∀t � 1, 2, /, T�, Dwind,t <sup>�</sup> �P~ GPwind,t - �P~ Dwind,1 <sup>, ~P</sup> <sup>D,</sup> wind,t <sup>min</sup> <sup>≤</sup> <sup>P~</sup> P <sup>D,</sup> wind,t <sup>min</sup> D wind,t <sup>≤</sup> <sup>P</sup> wind,t <sup>D, max,</sup> wind,t <sup>D, max,</sup> ≤ ηwind, 2P <sup>~</sup> Dwind,t <sup>−</sup> - <sup>P</sup> wind,t <sup>D, min</sup> wind,t <sup>D, min</sup> <sup>+ P</sup> wind,t <sup>D, max</sup> wind,t <sup>D, min</sup> <sup>+ P</sup> wind,t <sup>D, max</sup> wind,t ⎪⎧⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎩ mhf,t - Phf,t + H <sup>cr</sup> , λhf,t - <sup><u>2Vhf</u></sup> ΔHh2 <sup>cr</sup> hf,t <sup>+ H</sup> hf,t <sup>loss</sup> hf,t <sup>loss</sup> <sup>,</sup> Dpv,2 <sup>, /, ~P</sup> (11) (12) Dpv,1 <sup>, ~P</sup> GPpv,t - �P~ T t�1 �P~Dpv,t <sup>�</sup> �P~Dpv,1 <sup>, ~P</sup> Dpv,2 <sup>, /, ~P</sup> Dpv,T�, ∀t � 1, 2, /, T�, ~Dpv,t <sup>�</sup> �P~ <sup>D,</sup> pv,t <sup>min</sup> + Ppv,t <sup>D, max</sup> Phf,t - λhf,tmhf,tςhf, (9) ⎪⎧⎪⎪⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎪⎪⎪⎩ pv,t <sup>D, max</sup>, <sup>D,</sup> pv,t <sup>min</sup> ≤ P <sup>~</sup> P <sup>D, min</sup> D pv,t <sup>≤</sup> <sup>P</sup> pv,t <sup>D, max</sup>, ≤ ηpv, �����2P <sup>~</sup> Dpv,t <sup>−</sup> - <sup>P</sup> pv,t <sup>D, min</sup> + Ppv,t <sup>D, max</sup> ������ P <sup>D,</sup> pv,t <sup>min</sup> + Ppv,t <sup>D, max</sup> �����2P <sup>~</sup> Dpv,t <sup>−</sup> - <sup>P</sup> pv,t <sup>D, min</sup> pv,t <sup>D, min</sup> + Ppv,t <sup>D, max</sup> where mhf,t is the hydrogen consumed by the hydrogen fuel cell; Phf,t and H <sup>cr</sup> hf,t <sup>are the electric energy and thermal energy generated</sup> by the hydrogen fuel cell, respectively; H <sup>loss</sup> hf,t <sup>is the heat energy lost by</sup> the hydrogen fuel cell; λhf,t is the electrical efficiency of the hydrogen fuel cell; Vhf is the operating voltage of the hydrogen fuel cell; ΔHh2 is the enthalpy value of hydrogen gas; and ςhf is the conversion coefficient of the hydrogen fuel cell. The relationship between fuel cell power generation and voltage is shown in Figure 3. 3.1.6 Electric heat transfer equipment Electric heat transfer equipment converts electrical energy into thermal energy through consumption, and its conversion model is specifically shown in Eq. 10: HEH,t - λEH,tPEH,t, (10) where HEH,t is the thermal energy generated by the electric heat transfer equipment at time t; λEH,t is the conversion efficiency of the electric heat transfer equipment; and PEH,t is the electrical energy consumed by the electric heat transfer equipment. pv,t P~Dwind,twhere <sup>is the actual output of wind power generation at time t;</sup> GPwind,t is the uncertainty set of wind power generation; <sup>P</sup> wind,t <sup>D, min</sup> and P <sup>D,</sup> wind,t <sup>max</sup> <sup>are the upper and lower limits of wind power generation,</sup> respectively; ηwind is the robustness factor for the uncertainty set of powerwind power generation;generation; P <sup>~</sup> Dpv,t <sup>is</sup> GP <sup>the</sup> pv,t is the uncertainty <sup>actual</sup> <sup>output</sup> <sup>of</sup> <sup>photovoltaic</sup> set of photovoltaic <sup>power</sup> D wind,t <sup>is the actual output of wind power generation at time t; P</sup> wind,t <sup>D, min</sup> power generation; P <sup>~</sup> Dpv,t <sup>is</sup> <sup>the</sup> <sup>actual</sup> <sup>output</sup> <sup>of</sup> <sup>photovoltaic</sup> <sup>power</sup> generation at time t; Ppv,t <sup>D, min</sup> and Ppv,t <sup>D, max</sup> are the upper and lower limits of photovoltaic power generation, respectively; and ηpv is the robustness factor for the uncertainty set of photovoltaic power generation. pv,t <sup>D, min</sup> and Ppv,t <sup>D, max</sup> 3.2.2 Wind and photovoltaic power generation units The coupling unit mainly includes electrolytic cell, hydrogen fuel cell, electric heat transfer equipment, and hydrogen storage tank equipment. In terms of response characteristics, the response time of coupling equipment such as electrolytic cells F i i E R h 05 f i i Ma et al. [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) and electric heat-transfer equipment is longer than that of wind and solar power generation units. The alkaline electrolytic cell has a fast start and stop speed, with a dynamic response time of approximately 10 min, which is slower than that of wind and solar power generation units. The dynamic response timescale is set to τ2. The response speed of electric heat-transfer equipment is equivalent to that of electrolytic cells, and its dynamic response timescale is τ2. The dynamic response time of the hydrogen fuel cell is equivalent to that of the alkaline electrolyzer, and the dynamic response timescale is τ2. The hydrogen storage tank has the advantage of fast adjustment, and its dynamic response timescale is between the wind and solar power generation unit and the electrolytic cell, with a dynamic response timescale of τ3. For the uncertainty analysis of coupled units, due to the control feedback system inside the coupled units, the overall conversion output is relatively stable, so its uncertainty is not considered temporarily. 3.2.3 Wind and photovoltaic power generation units The distributed electric hydrogen coupling system constructed in this article mainly includes three types: electrical load, thermal load, and hydrogen load. In terms of response characteristics, it is mainly scheduled through demand response. It is divided into three categories based on the length of the response timescale: the first type is a long-term demand response, including food processing industry and long-term electric heating, which is not flexible enough and requires scheduling and planning 1 day in advance. The dynamic response timescale is set to τ4. The second type is demand response with a short timescale, including short-term electric heating, which is consistent with the response timescale of alkaline electrolytic cells as τ2. The third type is demand response at an ultrashort timescale, including electric irrigation, which is consistent with the response timescale of τ1 in the wind and solar power generation unit. The uncertainty analysis of load demand is mainly influenced by user subjectivity and energy prices, and its uncertainty is characterized by the load deviation rate, as shown in Eqs 13–15: �Lele,t�± - �L�ele,t(1 − εele), L <sup>�</sup> ele,t(1 + εele)�, (13) �Lheat,t�± - �L�heat,t(1 − εheat), L <sup>�</sup> heat,t(1 + εheat)�, (14) �Lhy,t�± - �L�hy,t�1 − εhy�, L <sup>�</sup> hy,t�1 + εhy��, (15) ## 4 Optimization model for multi- timescale operation of the electric hydrogen coupling system 4.1 Operational optimization ideas Based on the analysis results of response characteristics of different pieces of equipment in Section 3.2 of the system, it can be seen that due to the coupling of distributed power supply, hydrogen network, and thermal network, the output characteristics of each type of energy unit are different, resulting in different scheduling response times for each part. Therefore, this paper depends on day-ahead–day-in–real-time rolling optimization for optimization design. In the day-ahead stage, determine the start and stop operation plans for each unit, and in the day-in stage, determine the adjustment plans for each unit based on the errors between the wind and solar output and load demand in the day ahead and day in stages. In the real-time stage, the adjustment plan for each unit is determined based on the error between the daily and real-time stages of wind and solar output and load demand. The optimization design concept is shown in Figure 4: Plan development should be carried out 1 day in advance, i.e., 24 h in advance, with a scheduling timescale of τ4. In the day-ahead phase, based on the forecast results of wind and solar power and various loads, the startup and shutdown plans and output plans of electrolyzer, hydrogen storage tank, hydrogen fuel cell, and electric-to-heat equipment in the system are determined with the minimum initial operating cost of the system, and the first type of a long-term demand response scheduling plan is formulated. In the day-in rolling optimization stage, the scheduling period is 4 h. In order to coordinate the response timescale between the hydrogen storage tank and other coupling equipment, the scheduling timescale is selected as the least common multiples of τ2 and τ3 and set to ξ. At the same time, according to the deviation between the wind power and load forecast and the day-ahead forecast results in the rolling optimization, taking into account the flexibility of response, the demand response scheduling of the second type of timescale is mainly used, supplemented by the deviation adjustment of the hydrogen storage tank electrolyzer and hydrogen fuel cell. The rolling optimization goal at this stage is to minimize the cost of deviation adjustment. In the real-time rolling optimization stage, the scheduling cycle is 15 min, and the scheduling timescale is τ1. This stage is based on the deviation between the predicted results of real-time rolling optimization for wind and solar power, load forecasting, and intraday rolling optimization. The adjustment is mainly based on the third type of demand response. If it is insufficient, it is adjusted by interacting with the external network to purchase or sell electricity. At this stage, the rolling optimization goal is also to minimize the deviation adjustment cost. 4.2 Day-ahead optimization model 4.2.1 Objective function In the current optimization stage, the distributed electric hydrogen coupling system aims to minimize the total operating cost of the coupling system as the objective function. The operating costs of the previous stage include the start-up and shutdown costs of the unit, the where [Lele,t] <sup>±</sup>, [Lheat,t] <sup>±</sup>, and [Lhy,t] <sup>±</sup> are the demand intervals for electrical load, thermal load, and hydrogen load at time t, respectively; L <sup>�</sup> ele,t, L <sup>�</sup> heat,t, and L <sup>�</sup> hy,t are the expected electrical load, thermal load, and hydrogen load at time t, respectively; and εele, εheat, and εhy are the expected deviation rates between electrical load, thermal load, and hydrogen load, respectively. The response timescales of different call outputs and loads are summarized in Eq. 16: Long timescale: L <sup>1</sup> Long timescale: L <sup>1</sup> PDR,τ4 <sup>,</sup> Short timescale: L <sup>1</sup> PDR,τ2 ⎪⎧⎨ Long timescale: L <sup>1</sup> PDR,τ4 <sup>,</sup> ⎪⎩ Short timescale: L <sup>1</sup> PDR,τ2 <sup>, mout</sup> dj,τ2 <sup>, Phf,τ</sup> 2 <sup>, HEH,τ</sup> 2 <sup>, mEHS,τ</sup> 3 <sup>,</sup> (16) <sup>1</sup> PDR,τ2 <sup>, mout</sup> dj, Short timescale: L <sup>1</sup> PDR,τ2 <sup>, mout</sup> dj,τ2 <sup>, Phf,τ</sup> 2 <sup>, HEH,τ</sup> 2 <sup>, mEHS,τ</sup> 3 <sup>,</sup> Ultra short timescale: L <sup>1</sup> PDR,τ1 <sup>, Pwind,τ</sup> 1 <sup>, Ppv,τ</sup> 1 <sup>, Phf,τ</sup> 1 <sup>.</sup> <sup>1</sup> PDR,τ1 <sup>, Pwind,τ</sup> 1 <sup>, Ppv,τ</sup> 1 <sup>, Phf,τ</sup> 1 <sup>.</sup> F i i E R h 06 f i i Ma et al. [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) operating costs of the unit, the demand response call costs, the external network interaction costs, and the uncertainty costs caused by multiple uncertainties in the system, as shown in Eq. 17: Equipment operation constraints mainly include wind and solar power unit operation constraints, coupled unit operation constraints, and demand response constraints, as shown in Eq. 19: <sup>rp</sup> total <sup>qt</sup> <sup>+ Crq</sup> total <sup>yx</sup> <sup>rq</sup> total <sup>yx</sup> <sup>+ Crq</sup> total <sup>dr</sup> <sup>rq</sup> total <sup>dr</sup> <sup>+ Crq</sup> total <sup>jh</sup> <sup>rq</sup> total <sup>jh</sup> <sup>+ Crq</sup> total <sup>un,</sup> <sup>rq</sup> total <sup>un,</sup> LPDR, <sup>min,1</sup> t Pi <sup>min</sup> ≤ P <sup>rq</sup> i,t PDR, <sup>min,1</sup> t <sup>≤</sup> <sup>L1</sup> ⎪⎧⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎩ C <sup>rq</sup> <sup>rq</sup> total <sup>�</sup> <sup>Crp</sup> total <sup>qt</sup> - ΔPi <sup>min</sup> ≤ P <sup>rq</sup> i,t+1 <sup>−</sup> <sup>Prq</sup> i,t <sup>≤</sup> <sup>ΔPi</sup> <sup>max, i �</sup> <sup>hf,</sup> Pi <sup>min</sup> ≤ P <sup>rq</sup> i,t <sup>≤</sup> <sup>Pi</sup> <sup>max, i �</sup> <sup>hf,</sup> ΔPi <sup>min</sup> ≤ P <sup>rq</sup> i,t+1 <sup>−</sup> <sup>Prq</sup> i,t <sup>≤</sup> <sup>ΔPi</sup> <sup>rq</sup> i,t+1 <sup>−</sup> <sup>Prq</sup> i,t C <sup>rp</sup> total <sup>qt</sup> <sup>�</sup> <sup>�</sup> <sup>uiθi i ∈</sup> - <sup>pv, wind, dj, EHS, hf, EH</sup> �, HEH <sup>min</sup> ≤ H <sup>rq</sup> EH (19) <sup>rq</sup> pv,t <sup>p</sup> pv <sup>+ mrq</sup> dj,t <sup>out</sup> <sup>rq</sup> dj,t <sup>out</sup> pdj + Phf,t <sup>rq</sup> hf,t <sup>rq</sup> <sup>phf+</sup> ⎪⎧⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎩ ΔHEH <sup>min</sup> ≤ HEH <sup>rq</sup> <sup>, t + 1 −</sup> <sup>Hrq</sup> EH <sup>, t ≤</sup> <sup>ΔHEH</sup> <sup>max,</sup> mEHS <sup>min</sup> ≤ mEHS,t ≤ mEHS <sup>max</sup>, ⎨⎧ ⎩ HEH <sup>min</sup> ≤ H <sup>rq</sup> EH <sup>, t ≤</sup> <sup>HEH</sup> <sup>max,</sup> ΔHEH <sup>min</sup> ≤ HEH <sup>rq</sup> <sup>, t + 1 −</sup> <sup>Hrq</sup> EH mdj <sup>min</sup> ≤ m <sup>rq</sup> dj,t <sup>out</sup> mdj <sup>min</sup> ≤ m <sup>rq</sup> dj,t <sup>out</sup> ≤ mdj <sup>max</sup>, Δmdj <sup>min</sup> ≤ m <sup>rq</sup> dj,t+ <sup>out</sup> 1 <sup>−</sup> <sup>mrq</sup> dj,t <sup>out</sup> EH <sup>rq</sup> <sup>, t + 1 −</sup> <sup>Hrq</sup> EH C <sup>rq</sup> <sup>yx</sup> <u>τ244</u> P <sup>rq</sup> ⎜⎛⎝ dj,t ⎞⎟⎠, �m <sup>rq</sup> EHS, <sup>in</sup> t <sup>+ mrq</sup> EHS, <sup>out</sup> t �pEHS + HEH <sup>rq</sup> <sup>, tpEH</sup> <sup>rq</sup> total <sup>yx</sup> - <sup>rq</sup> wind,t <sup>pwind + Prq</sup> pv,t <sup>rq</sup> dj,t+ <sup>out</sup> 1 <sup>−</sup> <sup>mrq</sup> dj,t <sup>out</sup> <sup>rq</sup> dj,t <sup>out</sup> ≤ Δmdj <sup>max</sup>, m <sup>rq</sup> EHS, <sup>in</sup> <sup>rq</sup> <sup>in</sup> EHS,t <sup>+ mrq</sup> EHS, <sup>out</sup> t C <sup>rq</sup> total <sup>dr</sup> t�1 <u>24</u> <u>τ4</u> L <sup>1</sup> PDR <sup>1</sup> <sup>,</sup> <sup>1</sup> PDR,t <sup>≤</sup> <sup>L</sup> PDR, <sup>max,1</sup> t <sup>,</sup> PDR, <sup>max,1</sup> t <sup>,</sup> <sup>rq</sup> total <sup>dr</sup> <sup>�</sup> <sup>�</sup> <sup>1</sup> PDR,t <sup>p1</sup> �P <sup>rq</sup> buy,t <sup>jh</sup> <sup>rq</sup> buy,t <sup>jhpbuy −</sup> <sup>Prq</sup> sale,t <sup>jh</sup> C <sup>rq</sup> total <sup>jh</sup> t�1 <u>24</u> <u>τ4</u> �P <sup>rq</sup> buy,t <sup>jhpbuy −</sup> <sup>Prq</sup> sale,t <sup>jhpsale</sup> �, <sup>rq</sup> total <sup>jh</sup> <sup>�</sup> <sup>�</sup> <sup>P</sup> pv,t <sup>rq</sup> <sup>η</sup> pv <sup>+m</sup> dj,t <sup>rq</sup> outεel+P <sup>rq</sup> hf,t C <sup>rq</sup> total <sup>un</sup> t�1 <u>24</u> <u>τ4</u> vpun <sup>rq</sup> total <sup>un</sup> <sup>�</sup> <sup>�</sup> P <sup>rq</sup> P <sup>rq</sup> wind,t <sup>ηwind+P</sup> pv,t <sup>rq</sup> <sup>η</sup> pv <sup>+m</sup> dj,t <sup>rq</sup> εel+P <sup>rq</sup> hf,t <sup>εhf</sup> +H <sup>rq</sup> EH <sup>, tεEH</sup> <sup>rq</sup> wind,t <sup>ηwind+P</sup> pv,t <sup>rq</sup> t�1 - dj,t �, +H <sup>rq</sup> EH <sup>, tεEH</sup> (17) where Pi <sup>min</sup> and Pi <sup>max</sup> are the minimum and maximum output of unit i; ΔPi <sup>min</sup> and ΔPi <sup>max</sup> are the minimum and maximum values for unit i to climb the slope; HEH <sup>min</sup> and HEH <sup>max</sup> are the minimum and maximum output of the electric heat-transfer equipment; ΔHEH <sup>min</sup> and ΔHEH <sup>max</sup> are the minimum and maximum values for the climbing of the electric heat transfer equipment; mEHS <sup>min</sup> and mEHS <sup>max</sup> are the minimum and maximum hydrogen storage capacities of the hydrogen storage tank; mdj <sup>min</sup> and mdj <sup>max</sup> are the minimum and maximum output of the electrolytic cell; Δmdj <sup>min</sup> and Δmdj <sup>max</sup> are the minimum and maximum values for climbing the electrolytic cell slope; and L <sup>min</sup> PDR, <sup>,1</sup> t and L <sup>max</sup> PDR, <sup>,1</sup> t <sup>are the minimum and maximum scheduling amount for the</sup> first type of demand response, respectively. 4.3 Day-in rolling optimization model 4.3.1 Objective function In the day-in rolling optimization stage, based on the day-ahead scheduling plan, the scheduling of the second type of demand response and the output adjustment of coupled units are carried out. The optimization goal of the day-in rolling stage is to minimize the adjustment cost, as shown in Eq. 20: where C <sup>rq</sup> where C <sup>rq</sup> total <sup>is the total operating cost of the distributed electric</sup> hydrogen coupling system in the day-ahead stage; C <sup>rp</sup> total <sup>qt,</sup> <sup>Crq</sup> total <sup>yx,</sup> C <sup>rq</sup> total <sup>dr,</sup> <sup>Crq</sup> total <sup>jh,</sup> <sup>and</sup> <sup>Crq</sup> total <sup>un</sup> refer to the operating costs of the distributed electric hydrogen coupling system in the early stage, including the start-up and shutdown costs of the unit, the operating costs of the unit, the demand response call costs, the external network interaction costs, and the uncertainty costs caused by multiple uncertainties in the system, respectively; ui is the startup and shutdown costs of unit I; θi is a Boolean variable, θi - 1 represents the start of the unit, otherwise the unit will not start; P <sup>rq</sup> wind,t <sup>, P</sup> pv,t <sup>rq</sup> <sup>, mrq</sup> dj,t <sup>out</sup>, P <sup>rq</sup> hf,t <sup>, and H</sup> EH <sup>rq</sup> <sup>, t are the output plan of wind</sup> turbine generator set, photovoltaic generator set, electrolytic cell, hydrogen fuel cell, and electricity-to-heat equipment at time t in the day-ahead stage, respectively; m <sup>rq</sup> EHS, <sup>in</sup> t <sup>and</sup> <sup>mrq</sup> EHS, <sup>out</sup> t <sup>are</sup> <sup>the</sup> <sup>hydrogen</sup> storage and release capacities of the hydrogen storage tank at time t, respectively; pwind, ppv, pdj, phf, pEHS, and pEH are the unit operating costs of wind turbine generator set, photovoltaic generator set, electrolytic cell, hydrogen fuel cell, hydrogen storage tank, and electric heat-transfer equipment, respectively; p <sup>1</sup> PDR <sup>is</sup> <sup>the</sup> <sup>first</sup> <sup>type</sup> <sup>of</sup> <sup>demand</sup> <sup>response</sup> <sup>unit</sup> <sup>scheduling</sup> <sup>cost;</sup> P <sup>rq</sup> buy,t <sup>jh</sup> <sup>and Prq</sup> sale,t <sup>jh</sup> <sup>represent the purchased and sold electricity of the</sup> distributed electric hydrogen coupling system when interacting with the external network at time t, respectively; pbuy and psale are the unit electricity purchase and unit electricity sale costs when the distributed electric hydrogen coupling system interacts with the external network, respectively; and vpun is the unit uncertainty cost. <sup>rq</sup> total <sup>dr,</sup> <sup>Crq</sup> total <sup>jh</sup> <sup>rq</sup> total <sup>jh,</sup> <sup>and</sup> <sup>Crq</sup> total <sup>un</sup> <sup>rp</sup> total <sup>qt,</sup> <sup>Crq</sup> total <sup>yx,</sup> <sup>rq</sup> wind,t <sup>, P</sup> pv,t <sup>rq</sup> pv,t <sup>rq</sup> <sup>, mrq</sup> dj,t <sup>out</sup>, <sup>rq</sup> dj,t <sup>out</sup>, P <sup>rq</sup> hf,t <sup>rq</sup> hf,t <sup>, and H</sup> EH <sup>rq</sup> <sup>rq</sup> EHS, <sup>in</sup> t <sup>and</sup> <sup>mrq</sup> EHS, <sup>out</sup> t min C <sup>rn</sup> total - hf �, +ΔC <sup>rn</sup> total <sup>EHθtz</sup> EH <sup>+ ΔCrq</sup> total <sup>EHS</sup> θ <sup>tz</sup> EHS <sup>rn</sup> total <sup>�</sup> <sup>min</sup> hf +ΔC <sup>rn</sup> total <sup>EHθtz</sup> EH <sup>+ ΔCrq</sup> total C <sup>rn</sup> totaldr <sup>+ΔCrn</sup> totaldj <sup>θ</sup> dj <sup>tz</sup> <sup>rn</sup> total <sup>EHθtz</sup> EH <sup>tz</sup> EH <sup>+ ΔCrq</sup> total <sup>EHS</sup> dj <sup>tz</sup> <sup>+ΔCrn</sup> totalhf <sup>θ</sup> hf <sup>tz</sup> <sup>rq</sup> total <sup>EHS</sup> θ <sup>tz</sup> <u>24</u> <u>τ4</u> ΔCtotal <sup>rn</sup> <sup>dr</sup> <u>4</u> ξ 1 s�1 <u>4</u> ξ L <sup>2</sup> <sup>2</sup> PDR,ts <sup>p2</sup> PDR <sup>2</sup> <sup>,</sup> <sup>rq</sup> buy,t <sup>jh</sup> <sup>and Prq</sup> sale,t <sup>jh</sup> ΔCtotal <sup>rn</sup> <sup>dr</sup> <sup>�</sup> <sup>�</sup> ΔC <sup>rn</sup> total <sup>dj</sup> t�1 <u>24</u> <u>τ4</u> <sup>rn</sup> dj <sup>tz</sup>, <sup>rn</sup> total <sup>dj</sup> <sup>�</sup> <sup>�</sup> Δm <sup>rn</sup> <sup>rn</sup> dj,ts <sup>urn</sup> dj <sup>tz</sup>, t�1 <u>24</u> <u>τ4</u> (20) ΔC <sup>rn</sup> total <sup>hf</sup> <sup>�</sup> <sup>�</sup> ΔC <sup>rn</sup> total <sup>hf</sup> s�1 <u>4</u> ξ s�1 <u>4</u> 4 ξ ΔP <sup>rn</sup> <sup>rn</sup> hf,ts <sup>urn</sup> hf <sup>tz</sup>, <sup>urn</sup> hf <sup>tz</sup>, 4.2.2 Constraint condition The constraints of the distributed electric hydrogen coupling system in the early stage include power balance constraints and equipment operation constraints. The power balance constraints mainly include electrical energy balance, thermal energy balance, and hydrogen energy balance, as shown in Eq. 18: where C <sup>rn</sup> total <sup>dr</sup> ⎪⎧⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎩ t�1 s <u>24</u> <u>τ4</u> ΔC <sup>rn</sup> total <sup>EH</sup> - ΔC <sup>rn</sup> total <sup>EH</sup> s�1 ΔH <sup>rn</sup> EH <sup>rn</sup> EH <sup>tz,</sup> <sup>rn</sup> EH <sup>, tsurn</sup> EH <sup>tz,</sup> t�1 s ΔC <sup>rq</sup> total <sup>EHS</sup> <u>24</u> <u>τ4</u> <u>4</u> ξ s�1 <sup>rn</sup> EHS <sup>tz</sup> <sup>+ Δmrn</sup> EHS, <sup>in</sup> <sup>rn</sup> EHS, <sup>in</sup> ts <sup>urn</sup> EHS <sup>tz</sup> <sup>rq</sup> total <sup>EHS</sup> - �ΔmEHS, <sup>rn</sup> <sup>out</sup> ts <sup>urn</sup> EHS <sup>tz</sup> <sup>+ Δmrn</sup> EHS, <sup>in</sup> ts <sup>urn</sup> EHS <sup>tz</sup> �, �ΔmEHS, <sup>rn</sup> <sup>out</sup> ts EHS, <sup>rn</sup> <sup>out</sup> ts <sup>urn</sup> EHS <sup>tz</sup> t�1 pv,t <sup>rq</sup> <sup>+ Prq</sup> buy <sup>jh</sup> <sup>rq</sup> buy <sup>jh</sup> + P <sup>rq</sup> hf,t <sup>1</sup> PDR,t <sup>�</sup> <sup>L</sup> ele,t <sup>rq</sup> <sup>rq</sup> el,t <sup>in</sup> + P <sup>rq</sup> sale <sup>jh,</sup> ele,t <sup>rq</sup> <sup>+ Prq</sup> el,t <sup>in</sup> ⎪⎧⎪⎨ ⎪⎪⎩ P <sup>rq</sup> H <sup>rq</sup> EH <sup>, t + Hrq</sup> hf,t <sup>cr</sup> <sup>+ Hrq</sup> dj,t <sup>cr</sup> - L <sup>rq</sup> heat,t <sup>,</sup> m <sup>rq</sup> EHS, <sup>out</sup> t <sup>+ mrq</sup> <sup>out</sup> - m <sup>rq</sup> hf,t <sup>+ Lhy,t +</sup> <sup>rq</sup> wind,t <sup>+ P</sup> pv,t <sup>rq</sup> <sup>rq</sup> EHS, <sup>out</sup> t <sup>+ mrq</sup> dj,t <sup>out</sup> <sup>rq</sup> dj,t <sup>out</sup> - m <sup>rq</sup> hf,t <sup>+ Lhy,t + mrq</sup> EHS, <sup>in</sup> t P <sup>rq</sup> wind,t <sup>+ P</sup> pv,t <sup>rq</sup> <sup>+ Prq</sup> buy <sup>jh</sup> + P <sup>rq</sup> hf,t <sup>+ L1</sup> PDR,t <sup>�</sup> <sup>L</sup> ele,t <sup>rq</sup> <sup>+ Prq</sup> el,t <sup>in</sup> + P <sup>rq</sup> sale <sup>jh,</sup> H <sup>rq</sup> EH <sup>, t + Hrq</sup> hf,t <sup>cr</sup> <sup>+ Hrq</sup> <sup>cr</sup> - L <sup>rq</sup> heat,t <sup>,</sup> <sup>rq</sup> EH <sup>, t + Hrq</sup> hf,t <sup>cr</sup> <sup>rq</sup> hf,t <sup>cr</sup> <sup>+ Hrq</sup> dj,t <sup>cr</sup> <sup>rq</sup> hf,t <sup>+ L1</sup> <sup>rq</sup> EHS, <sup>in</sup> t <sup>.</sup> (18) where C <sup>rn</sup> total <sup>dr</sup> <sup>is the scheduling cost for the second type of demand</sup> response in the day-in stage; ΔC <sup>rn</sup> total <sup>i</sup> <sup>is the adjustment cost for the ith</sup> unit during the day-in stage, i ∈ �dj,hf,EH,EHS�; θ <sup>tz</sup> i <sup>is</sup> <sup>a</sup> <sup>Boolean</sup> variable, θ <sup>tz</sup> i <sup>�</sup> <sup>1,</sup> <sup>indicating</sup> <sup>that</sup> <sup>unit</sup> <sup>i</sup> <sup>participates</sup> <sup>in</sup> <sup>the</sup> <sup>intraday</sup> adjustment, otherwise it will not participate; L <sup>2</sup> PDR,ts <sup>and p2</sup> PDR <sup>are the</sup> scheduling quantity and unit scheduling cost for the second type of <sup>2</sup> PDR,ts <sup>and p2</sup> F i i E R h 07 f i i Ma et al. [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) demand response, respectively; Δm <sup>rn</sup> <sup>rn</sup> dj,ts <sup>, ΔPrn</sup> hf,ts <sup>rn</sup> hf,ts <sup>, and ΔH</sup> EH <sup>rn</sup> demand response, respectively; Δm <sup>rn</sup> dj,ts <sup>, ΔPrn</sup> hf,ts <sup>, and ΔH</sup> EH <sup>rn</sup> <sup>,ts</sup> <sup>are the</sup> adjustment amounts of electrolytic cell, hydrogen fuel cell, and electric heat-transfer equipment in the day-in stage, respectively; u <sup>rn</sup> dj <sup>tz</sup>, u <sup>rn</sup> hf <sup>tz</sup>, and u <sup>rn</sup> EH <sup>tz</sup> are the unit adjustment costs of electrolytic cell, hydrogen fuel cell, and electric-to-heat equipment in the day stage, respectively; Δm <sup>rn</sup> EHS, <sup>out</sup> ts <sup>and Δmrn</sup> EHS, <sup>in</sup> ts <sup>are the hydrogen release and storage adjustment</sup> amount of the hydrogen storage tank, respectively; and u <sup>rn</sup> EHS <sup>tz</sup> <sup>represents</sup> the unit adjusted cost of the hydrogen storage tank. coupling system and the external network; θhf <sup>ss</sup> <sup>tz</sup> <sup>ss</sup> hf,tsy <sup>and uss</sup> hf <sup>tz</sup> <sup>rn</sup> dj <sup>tz</sup>, u <sup>rn</sup> hf <sup>tz</sup>, coupling system and the external network; θhf <sup>ss</sup> <sup>tz</sup> is a Boolean variable, and θhf <sup>ss</sup> <sup>tz</sup> - 1 is the output of the hydrogen fuel cell adjusted in the real-time phase, otherwise it will not be adjusted; θ <sup>ss</sup> jh <sup>tz</sup> is also a Boolean variable, where θjh <sup>ss</sup> <sup>tz</sup> - 1 indicates correction and adjustment through external network interaction, otherwise the opposite is true; L <sup>3</sup> PDR,tsy <sup>and p3</sup> PDR <sup>are the scheduling quantity and unit</sup> scheduling cost for the third type of demand response, respectively; ΔP <sup>ss</sup> hf,tsy <sup>and uss</sup> hf <sup>tz</sup> are the adjustment amount and unit adjustment cost of the hydrogen fuel cell in the real-time phase, respectively; ΔP <sup>ss</sup> buy,tsy <sup>jh</sup> and ΔPsale,tsy <sup>ss</sup> <sup>jh</sup> <sup>refer to the purchase and sale of electricity during the real-</sup> time phase and external network adjustment, respectively. <sup>ss</sup> jh <sup>tz</sup> is also a Boolean variable, where θjh <sup>ss</sup> <sup>tz</sup> <sup>rn</sup> EHS, <sup>out</sup> ts <sup>and Δmrn</sup> EHS, <sup>in</sup> ts <sup>3</sup> PDR,tsy <sup>and p3</sup> 4.3.2 Constraint condition The constraints in the day-in stage also include power balance constraints and equipment operation constraints. The power balance constraints are shown in Eq. 21, and the equipment operation constraints are in the same form as Eq. 19. 4.4.2 Constraint condition The system balance constraints in the real-time phase are the same as Eq. 18, and the equipment operation constraints are shown in Eq. 23: ⎪⎧⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎩ <u>4</u> ξ �Δm <sup>rn</sup> hf,ts <sup>+ Lrn</sup> hy,ts <sup>+ Δmrn</sup> EHS, <sup>in</sup> ts� + m <sup>rq</sup> hf,t <sup>+ mrq</sup> EHS, <sup>in</sup> t �P <sup>rn</sup> wind,ts <sup>+ Prn</sup> pv,ts <sup>+ Prn</sup> hf,ts <sup>+ L1</sup> PDR,ts <sup>+ L</sup> PDR, <sup>2</sup> ts� + P <sup>rq</sup> buy,t <sup>jh</sup> P <sup>rn</sup> <sup>rn</sup> pv,ts <sup>+ Prn</sup> hf,ts <sup>rn</sup> hf,ts <sup>+ L1</sup> <sup>1</sup> PDR,ts <sup>+ L2</sup> �� s�1 <sup>rn</sup> wind,ts <sup>+ Prn</sup> pv,ts <u>4</u> ξ �Δm <sup>rn</sup> hf,ts <sup>+ Lss</sup> hy,ts <sup>+ Δmrn</sup> EHS, <sup>in</sup> ts� + m <sup>rq</sup> hf,t <sup>+ mrq</sup> EHS, <sup>in</sup> t <u>4</u> ξ <sup>rn</sup> pv,ts <sup>+ L1</sup> <sup>1</sup> PDR,ts <sup>+ L2</sup> P <sup>rn</sup> <sup>rn</sup> wind,ts <sup>+ Prn</sup> pv,ts �ΔP <sup>rn</sup> el,ts <sup>in</sup> <sup>+ L</sup> ele,ts <sup>rn</sup> - + P <sup>rq</sup> el,t <sup>in</sup> + P <sup>rq</sup> sale,t <sup>jh,</sup> <sup>rq</sup> sale,t <sup>jh,</sup> - ΔP <sup>rn</sup> el,ts <sup>in</sup> <sup>rn</sup> el,ts <sup>in</sup> <sup>+ L</sup> ele,ts <sup>rn</sup> �� s�1 �P <sup>rn</sup> wind,ts <sup>+ Prn</sup> pv,ts <sup>+ L1</sup> PDR,ts <sup>+ L</sup> PDR, <sup>2</sup> ts� + P <sup>rq</sup> buy,t <sup>jh</sup> s�1 <u>4</u> <u>15</u> ξ <u>τ1</u> <u>4</u> ξ �ΔP <sup>rn</sup> el,ts <sup>in</sup> ΔP <sup>rn</sup> el,ts <sup>in</sup> �ΔP <sup>ss</sup> buy,tsy <sup>jh</sup> <sup>+ P</sup> hf,ts <sup>rn</sup> - - ΔP <sup>ss</sup> buy,tsy <sup>jh</sup> <sup>ss</sup> buy,tsy <sup>jh</sup> <sup>+ P</sup> hf,ts <sup>rn</sup> s�1 <u>4</u> ξ +� H <sup>rq</sup> EH �ΔH <sup>rn</sup> EH <sup>, ts + Hrq</sup> hf,ts <sup>cr</sup> <sup>+ ΔH</sup> hf,ts <sup>rn</sup> <sup>cr</sup> <sup>+ Hrq</sup> dj,ts <sup>cr</sup> <sup>+ ΔHrn</sup> dj,ts <sup>cr</sup> hf,ts <sup>rn</sup> <sup>cr</sup> <sup>+ Hrq</sup> dj,ts <sup>cr</sup> <sup>rq</sup> hf,ts <sup>cr</sup> <sup>+ ΔH</sup> hf,ts <sup>rn</sup> <sup>cr</sup> <sup>rq</sup> dj,ts <sup>cr</sup> <sup>+ ΔHrn</sup> dj,ts <sup>cr</sup> <sup>rq</sup> EH <sup>, t + �</sup> �ΔH <sup>rn</sup> EH <sup>rn</sup> EH <sup>, ts + Hrq</sup> hf,ts <sup>cr</sup> s�1 <u>4</u> ξ �� y�1 <u>15</u> <u>τ1</u> s�1 <sup>rq</sup> sale,t <sup>jh,</sup> <u>4</u> ξ +� �� �L <sup>ss</sup> ele,tsy <sup>+ ΔP</sup> sale,tsy <sup>ss</sup> <sup>jh</sup> - + P <sup>rq</sup> el,t <sup>in</sup> + P <sup>rq</sup> sale,t <sup>jh,</sup> L <sup>ss</sup> <sup>ss</sup> ele,tsy <sup>+ ΔP</sup> sale,tsy <sup>ss</sup> <sup>jh</sup> s�1y�1 - L <sup>rn</sup> �L <sup>rn</sup> heat,ts�, s�1 <u>4</u> ξ H <sup>rq</sup> EH <u>4</u> ξ �ΔH <sup>rn</sup> EH <sup>, ts + Hrq</sup> hf,ts <sup>cr</sup> <sup>+ ΔH</sup> hf,ts <sup>rn</sup> <sup>cr</sup> <sup>+ Hrq</sup> dj,ts <sup>cr</sup> <sup>+ ΔHrn</sup> dj,ts <sup>cr</sup> hf,ts <sup>rn</sup> <sup>cr</sup> <sup>+ Hrq</sup> dj,ts <sup>cr</sup> <sup>rq</sup> hf,ts <sup>cr</sup> <sup>+ ΔH</sup> hf,ts <sup>rn</sup> <sup>cr</sup> <sup>rq</sup> dj,ts <sup>cr</sup> <sup>+ ΔHrn</sup> dj,ts <sup>cr</sup> �ΔH <sup>rn</sup> EH <sup>rn</sup> EH <sup>, ts + Hrq</sup> hf,ts <sup>cr</sup> m <sup>rq</sup> EHS, <sup>out</sup> t <sup>rq</sup> EHS, <sup>out</sup> t <sup>+ mrq</sup> dj,t <sup>out</sup> <sup>rq</sup> dj,t <sup>out</sup> + � �Δm <sup>rn</sup> EHS, <sup>out</sup> ts <sup>+ Δmrn</sup> dj,ts <sup>out</sup> s�1 Δm <sup>rn</sup> EHS, <sup>out</sup> ts <sup>rn</sup> EHS, <sup>out</sup> ts <sup>+ Δmrn</sup> dj,ts <sup>out</sup> <sup>rq</sup> EH <sup>, t + �</sup> <u>4</u> <u>15</u> ξ <u>τ1</u> <u>4</u> <u>15</u> ξ <u>τ1</u> s�1 <u>4</u> ξ �L <sup>rn</sup> heat,tsy�, �ΔH <sup>rn</sup> hf,tsy <sup>cr</sup> - - ΔH <sup>rn</sup> hf,tsy <sup>cr</sup> L <sup>rn</sup> +� �� <sup>rn</sup> hy,ts <sup>+ Δmrn</sup> EHS, <sup>in</sup> <sup>rq</sup> EHS, <sup>in</sup> t <sup>.</sup> s�1y�1 - Δm <sup>rn</sup> hf,ts <sup>rn</sup> hf,ts <sup>+ Lrn</sup> hy,ts s�1y�1 <u>4</u> ξ s�1 4.4 Real-time optimization model (21) ⎪⎧⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎩� m <sup>rq</sup> EHS, <sup>out</sup> t <sup>rq</sup> EHS, <sup>out</sup> t <sup>+ mrq</sup> dj,t <sup>out</sup> <sup>rq</sup> dj,t <sup>out</sup> + � �Δm <sup>rn</sup> EHS, <sup>out</sup> ts <sup>+ Δmrn</sup> dj,ts <sup>out</sup> �Δm <sup>rn</sup> EHS, <sup>out</sup> ts <sup>rn</sup> EHS, <sup>out</sup> ts <sup>+ Δmrn</sup> dj,ts <sup>out</sup> s�1 <u>4</u> ξ <sup>ss</sup> hy,ts <sup>+ Δmrn</sup> EHS, <sup>in</sup> <sup>rq</sup> EHS, <sup>in</sup> t <sup>.</sup> ⎪⎩� �� Δm <sup>rn</sup> <sup>rn</sup> hf,ts <sup>+ Lss</sup> hy,ts (23) 4.4.1 Objective function In the real-time optimization stage, based on the daily rolling optimization plan, the third type of demand response and hydrogen fuel cell output adjustment are carried out. The optimization goal of the real-time rolling stage is to minimize the adjustment cost ΔC <sup>ss</sup> total <sup>,</sup> as shown in Eq. 22: s�1 4.5 Model solution ⎪⎧⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎩ t�1 <sup>ss</sup> total <sup>jhθ</sup> jh <sup>ss</sup> <sup>tz</sup> min △C <sup>ss</sup> <sup>ss</sup> total <sup>�</sup> <sup>min</sup> - <sup>ΔC</sup> total <sup>ss</sup> <sup>dr</sup> - <sup>ΔC</sup> total <sup>ss</sup> <sup>dr</sup> <sup>+ ΔCss</sup> total <sup>hf</sup> <sup>θ</sup> hf <sup>ss</sup> <sup>tz</sup> + ΔC <sup>ss</sup> total <sup>jhθ</sup> jh <sup>ss</sup> <sup>tz</sup> �, total <sup>ss</sup> <sup>dr</sup> <sup>+ ΔCss</sup> total <sup>hf</sup> <sup>ss</sup> total <sup>hf</sup> <sup>θ</sup> hf <sup>ss</sup> <sup>tz</sup> hf <sup>ss</sup> <sup>tz</sup> + ΔC <sup>ss</sup> total <sup>jh</sup> <u>24</u> <u>τ4</u> ΔC <sup>ss</sup> total <sup>dr</sup> <sup>�</sup> <sup>�</sup> t�1 <u>24</u> <u>τ4</u> <u>4</u> ξ <u>15</u> <u>τ1</u> L <sup>3</sup> <sup>3</sup> PDR <sup>,</sup> �� s�1y�1 <sup>3</sup> PDR,tsy <sup>p3</sup> <u>4</u> ξ <u>15</u> <u>τ1</u> ΔC <sup>ss</sup> total <sup>hf</sup> <sup>�</sup> <sup>�</sup> ΔP <sup>ss</sup> <sup>ss</sup> hf <sup>tz,</sup> �� <sup>ss</sup> hf,tsy <sup>uss</sup> hf <sup>tz,</sup> s�1y�1 <u>4</u> <u>15</u> ξ <u>τ1</u> ΔC <sup>ss</sup> total <sup>jh</sup> t�1 <u>24</u> <u>τ4</u> <sup>ss</sup> total <sup>jh</sup> <sup>�</sup> <sup>�</sup> �� �ΔP <sup>ss</sup> buy,tsy <sup>jh</sup> <sup>pbuy −</sup> <sup>ΔPss</sup> sale,tsy <sup>jh</sup> <sup>psale</sup> �, �ΔP <sup>ss</sup> buy,tsy <sup>jh</sup> <sup>ss</sup> buy,tsy <sup>jh</sup> <sup>pbuy −</sup> <sup>ΔPss</sup> sale,tsy <sup>jh</sup> s�1y�1 (22) where ΔC <sup>ss</sup> total <sup>dr</sup> <sup>is the scheduling cost for the third type of demand</sup> response in the real-time phase; ΔC <sup>ss</sup> total <sup>hf</sup> <sup>is the adjustment cost of the</sup> hydrogen fuel cell in the real-time phase; ΔC <sup>ss</sup> total <sup>jh</sup> is the cost of interaction between the real-time distributed electric hydrogen The multi-timescale optimization model of the distributed electrohydrogen coupling system is a complex uncertain mixed integer nonlinear programming problem, and the methods for solving uncertainty mainly include approximation and decomposition methods. The decomposition method includes the Benders decomposition algorithm and column-and-constraint-generation algorithm (C&CG). Due to the fact that the C&CG algorithm considers the constraints and variables of the subproblem compared to the Benders decomposition algorithm, which can accelerate convergence, this section adopts the C&CG algorithm for solution. The C&CG algorithm iteratively converges the main problem and subproblems to solve. The main problem is the optimal solution that satisfies the conditions under a known finite distribution, providing a lower bound (LB) value for the robust optimization model. The subproblem is to seek the worst-case distribution and provide an upper bound (UB) value for the robust optimization model under the given conditions of the decision variables in the first stage. The specific model of the C&CG algorithm is referenced in Song et al. (2023), and Cplex is further used for solution. F i i E R h 08 f i i Ma et al. [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) FIGURE 4 Design ideas for multi-timescale optimization of coupled systems. ## 5 Example analysis 5.1 Basic data Multiple demonstration projects for electric hydrogen coupling have been put into operation in a certain province of China, with rich experience in electric hydrogen coupling systems. Therefore, in order to verify the effectiveness of the model, a distributed electric hydrogen coupling system for parks in this province was selected as an example for simulation analysis. The deviation rates for wind power generation, photovoltaic power generation, and demand response in the day-ahead, day-in, and real-time stages are set to 5%, 3%, and 1%, respectively. The unit scheduling costs for the first type of load demand response, the second type of load demand response, and the third type of load demand response are 0.6, 0.85, and 1.00 yuan/kWh, respectively. According to the characteristics of each device, the response time for daily, intraday, and real-time scheduling is determined to be 30, 10, and 5 min, respectively. A distributed electric hydrogen coupling system was set up to connect to the external network at 10 kV and interact with the external network using the peak-tovalley electricity prices of general industrial and commercial industries from 1 to 10 kV in the province. At the same time, the specific purchase and sale electricity prices are shown in Table 1 (Tan et al., 2021; Han et al., 2022): The operating parameters of various units are shown in Table 2 (Jiang et al., 2022): The day-ahead, day-in, and real-time predicted values for wind and photovoltaic power generation are shown in Figures 5, 6 (Tan et al., 2021): F i i E R h 09 f i i Ma et al. [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) TABLE 1 Electricity prices during peak and valley periods. Period of time Electricity price (yuan/kWh) Peak hour 19:00–21:00 1.1636 Rush hour 8:00–11:00, 13:00–19:00, and 21:00–22:00 0.8656 Valley period 11:00–13:00 and 22:00–8:00 0.3536 TABLE 2 Operating parameters of various units. Installed capacity Upper power limit Lower power limit Upper climbing limit Lower climbing limit Wind turbines 400 KW 400 KW 0 KW - Photovoltaic panels 4 MW 4 MW 0 MW - Hydrogen fuel cell 240 KW 240 KW 48 KW 100%/min Electric tank 400 KW 400 KW 80 KW 100%/min Hydrogen storage tank 400 KG - - - Electric heat-transfer equipment 300 KW 300 KW 0 KW 52%/15 min 65%/15 min FIGURE 5 Wind power output at different time periods. 5.2 Example results 5.2.1 Scheduling optimization results for multiple timescales Based on the predicted values of wind power generation, photovoltaic power generation, and various loads in real-time, in order to minimize the system operating cost, the scheduling optimization results at different timescales are obtained and analyzed. The optimization results of day-ahead, day-in, and real-time scheduling for each unit are shown in Figures 7–9, respectively. Due to the large amount of data under the 5min scheduling time, the readability of the graph is poor. This FIGURE 6 Photovoltaic power output at different time periods. paper selects one data at every 12 scheduling points to display day-ahead, day-in, and real-time stages in the graph. From Figures 7–9, it can be seen that the scheduling time for the first, second, and third types of demand response in the day-ahead, day-in, and real-time stages is approximately 19:00–22:00, overlapping with the peak load period. In order to maintain the balance between supply and demand in the recent stage, there are many challenges with the external network. Among them, the electricity purchase is carried out at 22:00–8:00 during the lowprice period, and the low-price electricity is converted into hydrogen and stored in the hydrogen storage tank through the electrolytic cell equipment. During the peak power period, the hydrogen fuel cell consumes the hydrogen in the hydrogen storage tank to generate F i i E R h 10 f i i Ma et al. [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) FIGURE 7 Scheduling results in the day-ahead stage. FIGURE 9 Scheduling results in the real-time stage. Scenario 3: Set the load demand of the distributed electric hydrogen coupling system to be determined in three stages: day ahead, day in, and real time, taking into account the uncertainty of wind and solar output in these three stages; Scenario 4: Considering the wind power output and load demand of the distributed electric hydrogen coupling system simultaneously, uncertainty is determined in the three stages of day ahead, day in, and real time. The scheduling costs of the distributed electric hydrogen coupling system in three stages under four scenarios are shown in Table 3. FIGURE 8 Scheduling results in the day-in stage. electricity. In the day-in stage, deviation adjustment is mainly carried out by adjusting the hydrogen storage tank and the second type of demand response. The adjustment amount of electric heat-transfer equipment and electrolytic cells is relatively small, and only minor adjustments are made. In the real-time stage, compared to the day-ahead stage, the amount of interaction with the external network is significantly reduced. This is because the deviation in the real-time stage is reduced after adjustment in the day-in stage, and most of the deviation adjustment needs can be met through the third type of demand response. 5.2.2 Effectiveness analysis of uncertainty In order to analyze and consider the effectiveness of system uncertainty, this paper sets up the following four scenarios for analysis: Scenario 1: Set the wind and solar power output and load demand of the distributed electric hydrogen coupling system to be determined in three stages: day ahead, day in, and real time; Scenario 2: Set the wind and solar output of the distributed electric hydrogen coupling system to be determined in three stages: day ahead, day in, and real time, taking into account the uncertainty of load demand in these three stages; From Table 3, it can be seen that among the four scenarios, scenario 1 under the deterministic scenario has the highest scheduling cost in the three stages of day ahead, day in, and real time, with a total scheduling cost of 40,289.79 yuan. Scenario 4, which simultaneously considers multiple uncertainties, has the lowest scheduling cost among the three stages, with a total scheduling cost of 35,231.9 yuan. Compared with Scenario 1, the total scheduling cost of Scenario 4 decreases by 12.55%. This is because uncertainty costs are not considered in deterministic scenarios. When there is a significant deviation between wind and solar power output and load demand, it will cause significant adjustments to the output of each unit in the day-in and real-time stages and even significantly increase the interaction cost with the external network, resulting in an increase in the overall adjustment cost. Although Scenario 2 considers the uncertainty of load, it does not consider the deviation of wind and solar output. On the one hand, when there is a significant deviation in wind and solar output, the accuracy of the unit output plan developed in the day-ahead stage is low. On the other hand, in the day-in and real-time stages, in addition to affecting the supply of electricity load, wind and solar power, as the supply end of electrolytic cells and electricity to heat transfer, will have an impact on the heat load and hydrogen load, increasing scheduling costs. Scenario 3 shows that the accuracy of load forecasting affects the scheduling of demand response. In the real-time stage, the third type of load demand invocation is mainly used. When the load deviation is large, the cost of daily adjustment increases. This indicates the necessity F i i E R h 11 f i i Ma et al. [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) TABLE 3 Scheduling cost of the distributed electric hydrogen coupling system. Day-ahead scheduling cost (yuan) Day-in adjustment cost (yuan) Real-time adjustment cost (yuan) Total scheduling cost (yuan) Scenario 1 34846.44 3756.32 1687.03 40289.79 Scenario 2 32411.99 3206.53 1470.81 37089.33 Scenario 3 32849.23 3360.18 1449.24 37658.65 Scenario 4 31318.66 2801.39 1111.85 35231.9 demand is constant and the reverse deviation rate of wind and solar energy increases, the system will fully absorb the wind and solar output, resulting in an increase in the absorption rate of wind and solar energy. When the load deviation rate increases positively, due to the increase in load demand, in order to ensure the balance of supply and demand and reduce other unit adjustments, the wind and solar output increases, resulting in an increase in the wind and solar consumption rate. 5.2.3 Effectiveness analysis of multi-timescale scheduling strategies FIGURE 10 Wind power and photovoltaic absorption rates under different deviation rates. of considering the deviation between wind and solar output and load demand in distributed electric hydrogen coupling systems. Furthermore, in order to explore the impact of wind and solar output deviation and load demand deviation on wind and solar consumption rate, taking the day-ahead stage as an example, the wind and solar output deviation and load demand deviation rates were set to vary in the range (−5%, 5%). The wind and solar consumption rate under different deviation rates is shown in Figure 10. As shown in Figure 10, when the negative deviation of wind and solar output increases in the opposite direction, the absorption rate of wind and solar energy increases. This is because when the load In order to evaluate the effectiveness of the multi-timescale optimization model proposed in this paper, effectiveness analysis that involves planning in the day-ahead stage and adjusting based on device priority in the day-in and real-time stages is demonstrated. On the one hand, it is compared with the key technologies proposed in Jin et al. (2019) in the two stages of “day-before-day–within-day”. On the other hand, it is compared with Liao et al. (2022), in which the model operates on a three-stage multi-timescale of “dayahead–day-in–real-time” but does not consider the priority of device adjustment and the response characteristics of the device. The key technologies in Jin et al. (2019) and Liao et al. (2022) were applied to the distributed electro-hydrogen coupling system constructed in this paper. The cost and overall clean energy consumption rate of the system at different stages are shown in Table 4: It can be seen from Table 4 that although there is no real-time stage cost in Jin et al. (2019), its day-ahead scheduling cost and day-in scheduling cost are far higher than Liao et al. (2022) and the proposed method. This is because in the current stage, Jin et al. (2019) did not make further adjustments and error correction in the real-time stage, which will lead to an increase in uncertainty and deviation costs. At the same time, the clean energy consumption rate of Jin et al. (2019) is lower than that of Liao et al. (2022) and the method proposed in TABLE 4 Cost and overall clean energy consumption rate of the system at different stages. Day-ahead scheduling cost (yuan) Day-in adjustment cost (yuan) Real-time adjustment cost (yuan) Total scheduling cost (yuan) Clean energy consumption rate (yuan) (%) Jin et al. (2019) Liao et al. (2022) 35,079.52 6,336.05 - 41,415.57 76.46 33,150.80 4,420.43 2,518.58 40,089.81 84.13 This paper 32,849.23 3,360.18 1,449.24 37,658.65 89.96 F i i E R h 12 f i i Ma et al. [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) TABLE 5 Evaluation indicators for scheduling timescale optimization. ωsh N <sup>tz</sup> ψtz Electricity (%) Heat (%) Hydrogen (%) Yuan et al. (2019) 4.26 7.84 2.97 860 54.84% Bao et al. (2016) 3.35 6.89 7.75 748 46.75% This paper 2.1 2.01 4.26 672 45.85% this article. This is because from Figure 10, it can be seen that when the wind and solar deviation reaches 5% in the positive direction, the wind and solar consumption rate decreases, and there is no real-time adjustment, which cannot fully carry out new energy consumption, resulting in a decrease in the clean energy consumption rate. From this, it can be seen that it is necessary to conduct a threestage scheduling of “day-ahead–day-in–real time.” Compared with the method proposed in this paper, the cost difference in the day-to-day stage is not significant, but the cost in the day-in stage and the real-time stage is higher than that of the method proposed in this paper. This is because Liao et al. (2022) did not consider the level of equipment adjustment and response characteristics, which cannot achieve efficient coordination and optimization among various devices and resource allocation, resulting in an increase in cost. 5.2.4 Effectiveness analysis of scheduling timescale optimization In order to analyze the effectiveness of scheduling timescale optimization proposed in this paper, the evaluation indicators in Li et al. (2023) were compared with those in Yuan et al. (2019) and Bao et al. (2016). The comparison indicators are the supply and demand imbalance rate ωsh, the number of real-time adjustments within the day N <sup>tz</sup>, and the proportion of adjustments ψtz, as shown in Eqs 24–26, respectively: y�1 <u>15</u> <u>τ1</u> P <sup>total</sup> sup, �����P <sup>total</sup> sup,sy <sup>−L</sup> dem,sy <sup>total</sup> ����� L <sup>total</sup> dem,sy ndem <sup>total</sup> sup,sy <sup>−L</sup> dem,sy <sup>total</sup> , (24) ωsh <u>4</u> ξ s�1 method proposed in this paper has lower frequency and proportion of adjustments in these two indicators. This is because this article considers the response characteristics of heterogeneous energy sources such as electricity and heat loads and coupled equipment, which can coordinate the slow response time of heat loads and coupled equipment, as well as the fast response characteristics of wind, electricity loads, and hydrogen storage tanks. Therefore, the scheduling duration optimization method proposed in this article can simultaneously balance the dual optimization strategy of adjusting costs and energy supply stability. ## 6 Conclusion This paper conducts a study on the optimization of multitimescale operation of distributed electro-hydrogen coupling systems considering multiple uncertainties. Through case analysis, the following conclusions are drawn: (1) It is necessary to consider the deviation between wind and solar output and load demand in a distributed electric hydrogen coupling system, and it can reduce the total scheduling cost by 12.55% compared to deterministic scenarios. (2) The three-stage scheduling optimization strategy proposed in this article, which considers the level of equipment adjustment and response characteristics, can achieve efficient coordination and optimization among various devices, optimize resource allocation, and improve the consumption rate of clean energy. (3) The scheduling duration optimization method proposed in this article is a dual optimization strategy that simultaneously considers adjustment costs and energy supply stability. ## Data availability statement The original contributions presented in the study are included in the article/Supplementary Material; further inquiries can be directed to the corresponding author. ## Author contributions SMa: visualization and writing—review and editing; SMe: validation; LY: supervision and project administration. All authors contributed to the article and approved the submitted version. N <sup>tz</sup> - - n <sup>tz</sup> i <sup>,</sup> (25) N <sup>tz</sup> - - n <sup>tz</sup> i <u>i</u>, ψtz - <sup><u>�</u></sup> n <sup>sbntz</sup> <u>i</u> <sup><u>�</u></sup> n <sup>sbn</sup> , (26) total where P <sup>total</sup> sup, <sup>total</sup> sup,sy <sup>and</sup> <sup>Ltotal</sup> dem,sy where P <sup>total</sup> sup,sy <sup>and</sup> <sup>Ltotal</sup> dem,sy <sup>are</sup> <sup>the</sup> <sup>total</sup> <sup>aggregate</sup> <sup>supply</sup> <sup>and</sup> demand of energy, respectively; ndem is the total number of load data; n <sup>tz</sup> i <sup>is the number of adjustments made by device i during the day-in</sup> and real-time phases, i ∈ �dj, hf, EH, EHS�; and n <sup>sb</sup> total <sup>represents</sup> the total number of devices. The supply and demand imbalance rate a, daily real-time adjustment frequency b, and adjustment proportion c of Yuan et al. (2019), Bao et al. (2016), and this paper are shown in Table 5. From Table 5, it can be seen that compared with Bao et al. (2016), using the method proposed in this paper for scheduling time optimization can reduce the supply–demand imbalance rate and ensure the stability of energy supply in the distributed electric hydrogen coupling system. On the other hand, compared with Jin et al. (2019) and Yuan et al. (2019), the F i i E R h 13 f i i Ma et al. [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) ## Acknowledgments The authors would like to express their gratitude to the Technology Project of Guangdong Power Grid Co., Ltd., for their support. ## Conflict of interest Authors SMa and SMe were employed by Guangdong Power Grid Co., Ltd. LY was employed by Dongguan Power Supply Bureau of Guangdong Power Grid Co., Ltd. ## References Bai, B., Han, M. L., and Lin, J., (2021). Renewable energy scenario reduction method including wind power and photovoltaic. Power Syst. Prot. Control 49 (15), 141–149. Bao, Y. Q., Wang, B. B., and Li, Y., (2016). Rolling scheduling model considering large-scale wind power access and considering multi time scale demand response resource coordination and optimization. Proc. CSEE 36 (17), 4589–4600. Cui, Y., Guo, F. Y., and Zhong, W. Z., (2022). Interval multi-objective optimal scheduling of integrated energy system under multiple uncertainties. Power Syst. Technol. 46 (8), 2964–2975. Gorre, J., Ruoss, F., Karjunen, H., Schaffert, J., and Tynjälä, T. (2020). Cost benefits of optimizing hydrogen storage and methanation capacities for Power-to-Gas plants in dynamic operation. Appl. Energy 257 (257), 113967. [doi:10.1016/j.apenergy.2019.](https://doi.org/10.1016/j.apenergy.2019.113967) [113967](https://doi.org/10.1016/j.apenergy.2019.113967) Han, L., Lu, P. P., and Wang, X. J., (2022). Intra day optimal dispatch of Power Grid Considering the response delay characteristics of hydrogen fuel cells. Acta Energiae Solaris Sin. 43 (6), 373–381. Hou, H., Liu, P., Huang, L., Xie, C., and Zhang, R. (2021). Electric thermal hydrogen integrated energy system planning considering uncertainty. Trans. China Electrotech. Soc. 36 (S1), 133–144. Jiang, T., Zhou, H. J., and Zhou, W. R., (2022). Study on Optimization of regional integrated energy system considering the configuration and operation of gas-fired heat pump. Zhejiang Electr. Power 41 (3), 42–53. Jin, X. L., Mu, Y. F., and Jia, H. J., (2019). Multi time scale model predictive scheduling method for micro network system integrating intelligent buildings. Automation Electr. Power Syst. 43 (16), 25–33. Li, P., Jiang, Z. W., Deng, Y. F., Zhou, J., and Jiang, W. (2022a). A review of VPP participating in power market and dispatch control technology. Zhejiang Electr. Power 41 (6), 8–14. Li, R., Sun, F., and Li, H. L., (2020). Hybrid time scale economic scheduling of user level integrated energy systems considering differences in energy characteristics. Power Syst. Technol. 44 (10), 3615–3624. Li, R. Z., Yan, X. H., and Liu, N. (2022b). Hybrid energy sharing considering network [cost for prosumers in integrated energy systems. Appl. Energy 323, 119627. doi:10.1016/](https://doi.org/10.1016/j.apenergy.2022.119627) [j.apenergy.2022.119627](https://doi.org/10.1016/j.apenergy.2022.119627) Li, T. G., Hu, Z. J., and Chen, Z., (2023). Multi time scale low carbon operation optimization strategy of integrated energy system considering the demand response of electricity gas heat hydrogen. Electr. Power Autom. Equipmen 43 (1), 16–24. Liao, Y. H., Chen, J., and Yang, Y. F., (2022). Optimal scheduling of virtual power plants with p2g and optical thermal power stations considering the comprehensive and flexible operation of carbon capture power plants. Electr. Power Constr. 43 (4), 20–27. ## Correction note This article has been corrected with minor changes. These changes do not impact the scientific content of the article. ## Publisher’s note All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors, and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher. Liu, Y. J., Fan, Y. F., and Hao, J. W., (2022). Capacity allocation and scheduling optimization of wind solar hydrogen thermal virtual power plant based on wide power adaptation model of alkaline electrolyzer. Power Syst. Prot. Control 50 (10), 48–60. Lu, B. W., Wei, Z. B., and Wei, P. A., (2022). Bi level optimal allocation of user side integrated energy system considering multiple interval uncertainties. Electr. Power 55 (3), 193–202. Pan, C. C., Hou, X. W., and Jin, T., (2022). Low carbon research on integrated energy system taking into account stepped carbon trading and renewable energy uncertainty. Electr. Meas. Instrum., 1–12. Ren, D. W., Xiao, J. Y., and Hou, J. M., (2022). Research on the construction and evolution of China’s new power system under the dual carbon goal. Power Syst. Technol. 46 (10), 3831–3839. Song, Y. G., Xia, M. C., Yang, L., Chen, Q., and Su, S. (2023). Multi-granularity sourceload-storage cooperative dispatch based on combined robust optimization and stochastic optimization for a highway service area micro-energy grid. Renew. Energy 205, 747–762. [doi:10.1016/j.renene.2023.02.006](https://doi.org/10.1016/j.renene.2023.02.006) Tan, C. X., Wang, J., Geng, S. P., and Tan, Z. (2021). Three-level market optimization model of virtual power plant with carbon capture equipment considering copula–CVaR theory. Energy 237, 121620. [doi:10.1016/j.energy.](https://doi.org/10.1016/j.energy.2021.121620) [2021.121620](https://doi.org/10.1016/j.energy.2021.121620) Wang, Z., Tao, H. J., and Zhang, L. (2022). Research on multi time scale rolling optimal operation method of CCHP system. J. Chin. Soc. Power Eng. 42 (03), 276–285. Xu, Y. Y., Liao, Q. F., and Liu, D. C., (2019). Multi agent intra day optimal scheduling of regional integrated energy system based on comprehensive demand response and game. Power Syst. Technol. 43 (07), 2506–2518. Yuan, Q., Wu, Y. L., and Li, B., (2019). Multi time scale rolling scheduling model and method considering source load uncertainty. Power Syst. Prot. Control 47 (16), 8–16. Zhai, J. J., Wu, X. B., and Fu, Z. X., (2020). Robust optimization of integrated energy system considering demand response and photovoltaic uncertainty. Electr. Power 53 (8), 9–18. Zhang, C., Tan, Z. Y., and Chao, H. P. (2022a). Feasibility study on hydrogen energy application in data center under the background of “double carbon”. Acta Energiae Solaris Sin. 43 (6), 327–334. Zhang, X., Pei, W., and Mei, C. X., (2022b). Fuzzy power allocation strategy and coordinated control method for island DC microgrid with electric/hydrogen composite energy storage system. High. Volt. Eng. 48 (3), 958–968. Zhao, J., Yong, J., and Xun, J. J., (2020). Stochastic planning of park integrated energy system based on long time scale. Electr. Power Autom. Equip. 40 (03), 62–67. F i i E R h 14 f i i Ma et al. [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) ## Nomenclature Parameters ηwind,t output coefficient of the wind power plant at time t mpv area of the photovoltaic panel λpv efficiency of the photovoltaic panel in absorbing light intensity λloss loss coefficient of the photovoltaic panel λ <sup>I</sup> el <sup>I</sup> el,t <sup>λ</sup> el <sup>U</sup> el <sup>U</sup>,t current efficiency and voltage efficiency of the electrolytic cell <sup>o</sup> el <sup>2</sup> reversible voltage, resistance voltage drop, hydrogen overpotential, and oxygen overpotential, respectively U <sup>rev</sup> el <sup>rev</sup> el <sup>U</sup> <sup>ohm</sup> el <sup>ohm</sup> el U <sup>h</sup> el <sup>2</sup> <sup>h</sup> el <sup>2U</sup> <sup>o</sup> el <sup>2</sup> Rel resistance of the electrolyte ϑ1n1j1 charge transfer coefficient, electron transfer number, and current density of the cathode, respectively c1c2 Fan’s coefficient V EHS,t volume of the hydrogen storage tank MH relative molecular weight of hydrogen gas m <sup>in</sup> EHS,t hydrogen mass of the hydrogen storage tank at time t mhf,t hydrogen consumed by the hydrogen fuel cell H <sup>loss</sup> hf,t heat energy lost by the hydrogen fuel cell V hf operating voltage of the hydrogen fuel cell λEH,t conversion efficiency of the electric heat-transfer equipment P <sup>D</sup> wind <sup>, min</sup>,t <sup>D</sup> wind <sup>, min</sup>,t <sup>PD</sup> wind <sup>, max</sup>,t <sup>D</sup> wind <sup>, max</sup>,t upper and lower limits of wind power generation, respectively GPpv,t uncertainty set of photovoltaic power generation ηpv Robustness factor for the uncertainty set of photovoltaic power generation L�ele,t �Lheat,t �Lhy,t expected electrical load, thermal load, and hydrogen load at time t, respectively m <sup>rq</sup> EHS <sup>in</sup>,t <sup>rq</sup> EHS <sup>in</sup>,t <sup>mrq</sup> EHS <sup>out</sup>,t <sup>rq</sup> EHS <sup>out</sup>,t hydrogen storage and release capacity of the hydrogen storage tank at time t; kg, respectively p <sup>1</sup> PDR first type of demand response unit scheduling cost; yuan/kWh Pi <sup>min</sup> Pi <sup>max</sup> minimum and maximum output of unit i; kWh, respectively HEH <sup>min</sup> HEH <sup>max</sup> minimum and maximum output of the electric heat-transfer equipment, respectively mEHS <sup>min</sup> mEHS <sup>max</sup> minimum and maximum hydrogen storage capacity of the hydrogen storage tank, respectively Δmdj <sup>min</sup> Δmdj <sup>max</sup> minimum and maximum values for climbing the electrolytic cell slope, respectively p <sup>2</sup> PDR scheduling unit scheduling cost for the second type of demand response; yuan/kWh uEHS <sup>rn</sup> <sup>tz</sup> unit-adjusted cost of the hydrogen storage tank; yuan/kg u <sup>ss</sup> hf <sup>tz</sup> unit adjustment cost of the hydrogen fuel cell in the real-time phase; yuan/kWh P <sup>e</sup> wind rated power of the wind power plant; kWh f pv,t light intensity at time t λtran solar-cell efficiency m <sup>out</sup> dj,t <sup>λel,t</sup> quality and efficiency of hydrogen gas produced by the electrolytic cell I <sup>t</sup> el operating current of the electrolytic cell TPj temperature, pressure, and current density EY universal gas and Faraday constant F i i E R h 15 f i i Ma et al. [10.3389/fenrg.2023.1251231](https://doi.org/10.3389/fenrg.2023.1251231) ϑ2n2j2 charge transfer coefficient, electron transfer number, and current density of the anode nEHS,t amount of hydrogen in the hydrogen storage tank TH temperature of hydrogen gas mEHS,t+1 hydrogen mass of the hydrogen storage tank at time t+1 m <sup>out</sup> EHS,t hydrogen-release amount of the hydrogen storage tank at time t Phf,t H <sup>cr</sup> hf,t electric energy and thermal energy generated by the hydrogen fuel cell λhf,t Electrical efficiency of the hydrogen fuel cell ΔHh2 enthalpy value of hydrogen gas GPwind,t uncertainty set of wind power generation ηwind robustness factor for the uncertainty set of wind power generation P <sup>D</sup> pv <sup>, min</sup>,t <sup>D</sup> pv <sup>, min</sup>,t P <sup>D</sup> pv <sup>, max</sup>,t P <sup>D</sup> pv <sup>, max</sup>,t upper and lower limits of photovoltaic power generation, respectively pbuypsale unit electricity purchase cost and unit electricity sales cost when the distributed electric hydrogen coupling system interacts with the external network; yuan/kWh, respectively εeleεheat εhy expected deviation rate between electrical load, thermal load, and hydrogen load pwindppvpdjphf pEHSpEH Unit operating cost of the wind turbine generator set, photovoltaic generator set, electrolytic cell, hydrogen fuel cell, hydrogen storage tank, and electric heat-transfer equipment; yuan/kWh, respectively vpun unit uncertainty cost; yuan ΔPi <sup>min</sup> ΔPi <sup>max</sup> minimum and maximum values for unit i to climb the slope, respectively ΔHEH <sup>min</sup> ΔHEH <sup>max</sup> minimum and maximum values for the climbing of the electric heat-transfer equipment, respectively mdj <sup>min</sup> mdj <sup>max</sup> minimum and maximum output of the electrolytic cell, respectively LPDR <sup>min,</sup>, <sup>1</sup> t PDR <sup>min,</sup>, <sup>1</sup> t <sup>Lmax</sup> PDR <sup>,</sup>, <sup>1</sup> t dj <sup>rn</sup> <sup>tz</sup> uhf <sup>rn</sup> <sup>tz</sup> <sup>max</sup> PDR <sup>,</sup>, <sup>1</sup> t minimum and maximum scheduling amount for the first type of demand response, respectively u <sup>rn</sup> <sup>tz</sup> u hf <sup>rn</sup> <sup>tz</sup> uEH <sup>rn</sup> <sup>tz</sup> EH <sup>rn</sup> <sup>tz</sup> Unit adjustment cost of electrolytic cell, hydrogen fuel cell, and electric-to-heat equipment in the day stage; yuan/kWh, respectively p <sup>3</sup> PDR Scheduling unit scheduling cost for the third type of demand response; yuan/kWh F i i E R h 16 f i i

섹션 본문 94문단 · 46,940자

(제목 없음)

1Against the backdrop of increasingly prominent environmental issues, new energy consumption issues, and energy supply and demand balance issues, the optimization of multi time scale operation of distributed electro hydrogen coupling systems has become a research focus.Based on this, this article optimizes the multi time scale operation of a distributed electric hydrogen coupling system that takes into account grid interaction.By designing a system framework for distributed electro hydrogen coupling systems, operational strategies for each system were proposed.Analyzed the uncertainty and response characteristics of wind and solar power generation units and load demand, and constructed a multiple uncertainty model for distributed electric hydrogen coupling system.At the same time, a three stage, multi time scale operation optimization model of the electric hydrogen coupling system was constructed based on the response characteristics of the distributed electric hydrogen coupling system.The construction of these models reduced scheduling costs by 12.55% and increased clean energy consumption rate by 13.50%.

Introduction

2Under the "dual carbon" goal, environmental issues and energy supply and demand balance are becoming increasingly prominent (Ren et al., 2022).In this context, the production of clean wind and solar new energy has developed on a large scale, but problems such as uncertainty, volatility, and inability to fully absorb remain unresolved (Li et al., 2022).Utilizing uncontrollable wind and solar new energy to generate hydrogen and locally supply regional hydrogen load demand can reduce transportation costs.At the same time, hydrogen energy, as a secondary energy source, has advantages such as flexible conversion and long-term energy storage (Gorre et al., 2020;Zhang et al., 2022).Therefore, coupling the electric energy network with the hydrogen energy network into an electric hydrogen system has significant economic value (Zhang et al., 2022).Optimizing the operation of the coupling system lays the foundation for the development of distributed electric hydrogen coupling systems.However, at different timescales, the accuracy of wind, photovoltaic, and load prediction in the electric hydrogen coupling system is inconsistent (Li et al., 2022).It is necessary to conduct research on the multi-timescale operation of the electric hydrogen system.

3Regarding research on multiple timescales, most of the existing research focuses on integrated energy systems.Based on the differences in energy characteristics in integrated energy systems, Li et al. (2020) optimized the scheduling time resolution of cooling, heating, and electricity and constructed a mixed day-to-day timescale scheduling optimization model for integrated energy systems.Xu et al. (2019) designed a comprehensive response architecture that considers multiple timescales to achieve orderly scheduling of user demand responses, which can reduce overall operating costs.Wang et al. (2022) proposed a two-stage scheduling optimization plan with the objective function of minimizing operating costs, taking the combined cooling, heating, and power system as the research object.Jin et al. (2019) focused on microgrid systems and also proposed a two-stage scheduling optimization plan.On the basis of the two-stage rolling optimization of "day-ahead-day-in," Yuan et al. (2019) (Bao et al., 2016) proposed a multi-timescale scheduling optimization method that considers "day-ahead-day-in-realtime," where day-ahead takes 1 h as the scheduling response time, the day-in response time is 15 min, and the real-time response time is 5 min.Furthermore, based on the optimization of "day-ahead-day-in-real-time," Zhao et al. (2020) proposed a long-term optimization model with an annual cycle, with the objective function of minimizing annual investment cost, to optimize the capacity allocation and investment decisionmaking of the comprehensive energy system.From the existing multi-timescale optimization research, on the one hand, there is a lack of operational optimization research focusing on distributed electro-hydrogen coupling systems in the research object.On the other hand, in terms of multitimescale research, the growth of scheduling response time is mostly 1 h in the day-ahead, 15 min in the day-in, and 5 min in the real-time, without in-depth consideration of equipment and energy characteristics.

4In the operation process of distributed electric hydrogen coupling systems, due to the existence of multiple uncertainties in wind power, photovoltaic, and load, the study of uncertainty is also crucial for distributed electric hydrogen coupling systems.Pan et al. (2022) used robust coefficients to characterize the uncertainty of renewable energy sources and other sources.Hou et al. (2021) described the uncertainty of wind and solar output based on the typical scenario method.Lu et al. (2022) used the interval method to describe the uncertainty of user-end load.In addition to considering the unilateral uncertainty of the source and load ends, Cui et al. (2022) (Zhai et al., 2020) also considered the uncertainty of new energy generation and comprehensive demand response and verified through examples that considering multiple uncertainties can improve the risk resistance ability of the comprehensive energy system.The existing research on uncertainty can consider the uncertainty of source-side output and load-side demand response.However, in distributed electrohydrogen coupling systems, demand response is an important resource for its invocation, and the accuracy of resource invocation will also affect the uncertainty of the system.Existing research has little consideration for the uncertainty of load-side demand response.

5Based on the aforementioned research, this paper conducts a multi-timescale operation optimization study of a distributed electric hydrogen coupling system that takes into account grid interaction.Compared with the existing research, this work incorporated the following innovations:

6(1) In terms of uncertainty analysis, not only the uncertainty of the source and load ends is considered, but also the uncertainty of the load demand response in the coupled system is innovatively considered.

7(2) In terms of operational optimization, based on the response characteristics of the equipment, a three-stage multi-timescale operational optimization model of "day-ahead-day-in-realtime" is proposed.Considering the adjustment and response level of equipment in the day-in and real-time stages, a "dayin-real-time" two-stage adjustment plan is developed, which differs from traditional overall adjustment.(3) In terms of scheduling time, the traditional response scheduling time of 1 h in the day-ahead, 15 min in the day-in, and 5 min in the real-time is optimized based on system equipment and various energy characteristics.

8The remainder of this paper is arranged as follows: in Section 2, the framework of the electric hydrogen coupling system is designed, and the operation strategy of the coupling system unit is proposed.In Section 3, based on the system unit modeling, the uncertainty and response characteristics of the coupled system are analyzed.In Section 4, a coupled system operation optimization model with three timescales of day before day, day within day, and real time is constructed.In Section 5, taking a coupled system as an example for empirical analysis, the effectiveness of the model was verified.

92 Design of the electric hydrogen coupling system

System framework

10The electric hydrogen coupling system includes three networks: electric energy network, hydrogen network, and thermal network.The distributed power supply network consists of wind turbines, photovoltaic panels, external networks, and electrical loads.The hydrogen network consists of an electrolytic cell, hydrogen fuel cell, hydrogen storage tank, and hydrogen load.The thermal energy network is composed of electric to heat equipment, electrolytic cell, and cooling water circulating device inside the hydrogen fuel cell.Distributed power supply, hydrogen network, and thermal network are coupled together and coordinated and dispatched by the control center of the electric hydrogen coupling system.When there is a shortage demand in the coupling system, energy is purchased from external networks.If the system exceeds supply, energy is sold to external networks (Figure 1).

Electric energy network

11In order to reduce wind and solar power abandonment rates and achieve the consumption of wind and photovoltaic power generation, the control center of the electric hydrogen coupling system conducts full scheduling of wind and photovoltaic power generation.On the one hand, when wind power and photovoltaic power cannot meet the electricity load demand, electricity is purchased from the external grid to meet the electricity load demand shortage.On the other hand, the hydrogen is released from the hydrogen storage tank and generated by the hydrogen fuel cell.When wind and photovoltaic power generation exceeds the electricity load demand, the electrolysis cells use the excess electricity to produce hydrogen, and the generated hydrogen is stored in hydrogen storage tanks to supply the local hydrogen load demand.

Hydrogen energy network

12When wind and photovoltaic power generation exceeds the electricity load demand, the electrolytic cell uses excess electricity to produce hydrogen, and combined with the electricity price situation, the generated hydrogen is stored in the hydrogen storage tank.If the power load of the system is insufficient and the electricity price is high, the hydrogen in the storage tank will be supplied to the hydrogen fuel cell to generate electric energy and heat energy to obtain benefits.If the system's electricity load is insufficient, the electricity price is low, and the purchased electricity meets the system's electricity load demand with higher efficiency, the generated hydrogen will be stored in hydrogen storage tanks to supply the regional hydrogen load demand.

Thermal network

13The heat load demand of the thermal energy network is met by the electric-to-heat equipment, hydrogen fuel cell, and electrolytic cell.Among them, the heating efficiency of hydrogen fuel cells is higher than the power supply efficiency.In hydrogen fuel cells, we first consider the heat load demand to control the hydrogen consumption of hydrogen fuel cells and then consider the power load demand.Therefore, hydrogen fuel cells and electrolytic cells are first used to meet the heat load demand in the heat energy network.If hydrogen fuel cells and electrolytic cells cannot meet the heat load demand, then the power is purchased from the external network or the excess power from wind and solar power generation is used to supply heat through the electric-to-heat equipment.

143 Unit modeling and uncertainty analysis of the electro-hydrogen coupling system

System unit modeling

15This section considers the characteristics of each unit equipment and constructs corresponding models.

Wind turbines

16The output of wind power at each moment is the product of the installed capacity and output coefficient of the wind power plant, as shown in Eq. 1:

17where P wind,t is the output of the wind power plant at time t; η wind,t is the output coefficient of the wind power plant at time t; and P e wind is the rated power of the wind power plant.

Photovoltaic unit

18Photovoltaic power generation is influenced by regional light intensity, and the beta distribution is used to fit the radiation pattern of light.The output of photovoltaic power generation is shown in Eq. 2:

19where P pv,t is the photovoltaic power generation output at time t; m pv is the area of the photovoltaic panel; f pv,t is the light intensity at time t; λ pv is the efficiency of the photovoltaic panel in absorbing light intensity; λ tran is the solar-cell efficiency; and λ loss is the loss coefficient of the photovoltaic panel.

Electric tank

20Electrolytic cells include an alkaline electrolyzer, a hightemperature steam electrolyzer, and a proton-exchange membrane electrolyzer.Due to their advantages of easy maintenance and wide application (Liu et al., 2022), alkaline electrolyzers are suitable for the electric hydrogen coupling system constructed in this paper for park scenarios.Based on this, an alkaline electrolytic cell is used in this section.The realtime balance between the electrical energy consumed and the energy generated during the operation of an alkaline electrolytic cell is shown in Eq. 3:

21where P in el,t is the electrical power consumed by the electrolytic cell; m out dj,t and λ el,t are the quality and efficiency of hydrogen gas produced by the electrolytic cell, respectively; H xs el,t and H loss el,t refer to the thermal energy generated during the operation of the electrolytic cell and the heat dissipation loss, respectively; and ζ el is the conversion coefficient of the electrolytic cell.

22Under constant temperature and pressure conditions, the hydrogen production efficiency of the electrolytic cell is related to the current efficiency and voltage efficiency, as shown in Eq. 4: ,

23where λ I el,t and λ U el,t represent the current efficiency and voltage efficiency of the electrolytic cell, respectively; I t el is the operating current of the electrolytic cell; U zx el is the thermal neutral voltage; and U dj el is the voltage of electrolysis of water.

24Under certain temperature and pressure conditions, the electrolysis of water voltage of the electrolytic cell depends on the current density, as shown in Eq. 5:

25where U rev el , U ohm el , U h2 el , and U o2 el refer to reversible voltage, resistance voltage drop, hydrogen overpotential, and oxygen overpotential, respectively; T, P, and j represent temperature, pressure, and current density, respectively; R el is the resistance of the electrolyte; E and Y are universal gas and Faraday constant, respectively; ϑ 1 , n 1 , and j 1 are the charge transfer coefficient, electron transfer number, and current density of the cathode, respectively; ϑ 2 , n 2 , and j 2 are the charge transfer coefficient, electron transfer number, and current density of the anode.

26Referring to the relevant parameters of the electrolytic cell in Liu et al. ( 2022), the non-linear relationship between the input power of the electrolytic cell and the hydrogen production efficiency of the electrolytic cell is shown in Figure 2. The electrolysis cell has the highest hydrogen production efficiency when the input power accounts for approximately 20% of the rated power; however, the hydrogen production amount is small.The optimal operating range is (50%, 100%) of the rated power.

Hydrogen storage tank

27Based on different pressure requirements, hydrogen storage tanks mainly involve three types of hydrogen storage methods: solid, liquid, and gaseous.Among them, high-pressure hydrogen storage in the gaseous state has been the most widely used, mature, and low-cost method, with a pressure of up to 20 MPa.When the pressure is less than 10 MPa, the ideal equation of state can be used to build the relationship between the mass and pressure of the hydrogen storage tank.However, due to the small relative molecular weight of hydrogen, when the pressure exceeds 10 MPa, it is easy to lead to explosion.At this time, the ideal equation of state does not accurately describe the relationship between mass and pressure.Fan's equation can characterize the mass and pressure of hydrogen storage tanks by considering the repulsive and gravitational forces between molecules, as shown in Eq. 6:

28where p EHS,t is the pressure of the hydrogen storage tank at time t; c 1 and c 2 are Fan's coefficients; n EHS,t is the amount of hydrogen in the hydrogen storage tank; V EHS,t is the volume of the hydrogen storage tank; a is a constant; T H is the temperature of hydrogen gas; and M H is the relative molecular weight of hydrogen gas.According to Eq. 5, the relationship between the pressure and mass of the hydrogen storage tank is shown in Eq. 7:

29The capacity of the hydrogen storage tank is shown in Eq. 8:

30where m EHS,t+1 is the hydrogen mass of the hydrogen storage tank at time t+1; m in EHS,t is the hydrogen mass of the hydrogen storage tank at time t; and m out EHS,t is the hydrogen release amount of the hydrogen storage tank at time t.

Hydrogen fuel cell

31The hydrogen fuel cell can be regarded as the reverse reaction of electrolyzed water, and its energy model is shown in Eq. 9:

32where m hf,t is the hydrogen consumed by the hydrogen fuel cell; P hf,t and H cr hf,t are the electric energy and thermal energy generated by the hydrogen fuel cell, respectively; H loss hf,t is the heat energy lost by the hydrogen fuel cell; λ hf,t is the electrical efficiency of the hydrogen fuel cell; V hf is the operating voltage of the hydrogen fuel cell; ΔH h2 is the enthalpy value of hydrogen gas; and ς hf is the conversion coefficient of the hydrogen fuel cell.The relationship between fuel cell power generation and voltage is shown in Figure 3.

Electric heat transfer equipment

33Electric heat transfer equipment converts electrical energy into thermal energy through consumption, and its conversion model is specifically shown in Eq. 10:

34where H EH,t is the thermal energy generated by the electric heat transfer equipment at time t; λ EH,t is the conversion efficiency of the electric heat transfer equipment; and P EH,t is the electrical energy consumed by the electric heat transfer equipment.

Analysis of system uncertainty and response characteristics

35This section analyzes the uncertainties faced by distributed hydrogen systems and the response characteristics of various pieces of equipment in the system, laying the foundation for constructing a multi-timescale operation optimization model in Section 4.

Wind and photovoltaic power generation units

36In terms of response characteristics, wind and photovoltaic power generation units can quickly abandon wind and light when they exceed the maximum output value, and their adjustability is strong.The response time of the distributed electric hydrogen coupling system for wind and solar power generation units is short, and the response timescale is set to τ 1 .In terms of uncertainty, wind and solar power have high output uncertainty due to the influence of geographical location, environmental temperature, light intensity, and wind speed.Based on this, Bai et al. (2021) used a combination of clustering and particle swarm optimization algorithms to determine n typical wind and solar output scene sets and weighted and stacked n output scenes and further used the uncertainty set of wind and solar output to represent the uncertainty of wind and solar output, as shown in Eqs 11, 12:

37where G Pwind,t is the uncertainty set of wind power generation; PD wind,t is the actual output of wind power generation at time t; P D, min wind,t and P D, max wind,t are the upper and lower limits of wind power generation, respectively; η wind is the robustness factor for the uncertainty set of wind power generation; G Ppv,t is the uncertainty set of photovoltaic power generation; PD pv,t is the actual output of photovoltaic power generation at time t; P D, min pv,t and P D, max pv,t are the upper and lower limits of photovoltaic power generation, respectively; and η pv is the robustness factor for the uncertainty set of photovoltaic power generation.

38The coupling unit mainly includes electrolytic cell, hydrogen fuel cell, electric heat transfer equipment, and hydrogen storage tank equipment.In terms of response characteristics, the response time of coupling equipment such as electrolytic cells and electric heat-transfer equipment is longer than that of wind and solar power generation units.The alkaline electrolytic cell has a fast start and stop speed, with a dynamic response time of approximately 10 min, which is slower than that of wind and solar power generation units.The dynamic response timescale is set to τ 2 .The response speed of electric heat-transfer equipment is equivalent to that of electrolytic cells, and its dynamic response timescale is τ 2 .The dynamic response time of the hydrogen fuel cell is equivalent to that of the alkaline electrolyzer, and the dynamic response timescale is τ 2 .The hydrogen storage tank has the advantage of fast adjustment, and its dynamic response timescale is between the wind and solar power generation unit and the electrolytic cell, with a dynamic response timescale of τ 3 .For the uncertainty analysis of coupled units, due to the control feedback system inside the coupled units, the overall conversion output is relatively stable, so its uncertainty is not considered temporarily.

39The distributed electric hydrogen coupling system constructed in this article mainly includes three types: electrical load, thermal load, and hydrogen load.In terms of response characteristics, it is mainly scheduled through demand response.It is divided into three categories based on the length of the response timescale: the first type is a long-term demand response, including food processing industry and long-term electric heating, which is not flexible enough and requires scheduling and planning 1 day in advance.The dynamic response timescale is set to τ 4 .The second type is demand response with a short timescale, including short-term electric heating, which is consistent with the response timescale of alkaline electrolytic cells as τ 2 .The third type is demand response at an ultrashort timescale, including electric irrigation, which is consistent with the response timescale of τ 1 in the wind and solar power generation unit.

40The uncertainty analysis of load demand is mainly influenced by user subjectivity and energy prices, and its uncertainty is characterized by the load deviation rate, as shown in Eqs 13-15:

41where [L ele,t ] ± , [L heat,t ] ± , and [L hy,t ] ± are the demand intervals for electrical load, thermal load, and hydrogen load at time t, respectively;

42L ele,t , L heat,t , and L hy,t are the expected electrical load, thermal load, and hydrogen load at time t, respectively; and ε ele , ε heat , and ε hy are the expected deviation rates between electrical load, thermal load, and hydrogen load, respectively.

43The response timescales of different call outputs and loads are summarized in Eq. 16:

44Long timescale: L 1 PDR,τ4 , Short timescale: L 1 PDR,τ2 , m out dj,τ2 , P hf,τ2 , H EH,τ2 , m EHS,τ3 , Ultra short timescale: L 1 PDR,τ1 , P wind,τ1 , P pv,τ1 , P hf,τ1 .

454 Optimization model for multitimescale operation of the electric hydrogen coupling system

Operational optimization ideas

46Based on the analysis results of response characteristics of different pieces of equipment in Section 3.2 of the system, it can be seen that due to the coupling of distributed power supply, hydrogen network, and thermal network, the output characteristics of each type of energy unit are different, resulting in different scheduling response times for each part.Therefore, this paper depends on day-ahead-day-in-real-time rolling optimization for optimization design.In the day-ahead stage, determine the start and stop operation plans for each unit, and in the day-in stage, determine the adjustment plans for each unit based on the errors between the wind and solar output and load demand in the day ahead and day in stages.In the real-time stage, the adjustment plan for each unit is determined based on the error between the daily and real-time stages of wind and solar output and load demand.The optimization design concept is shown in Figure 4:

47Plan development should be carried out 1 day in advance, i.e., 24 h in advance, with a scheduling timescale of τ 4 .In the day-ahead phase, based on the forecast results of wind and solar power and various loads, the startup and shutdown plans and output plans of electrolyzer, hydrogen storage tank, hydrogen fuel cell, and electric-to-heat equipment in the system are determined with the minimum initial operating cost of the system, and the first type of a long-term demand response scheduling plan is formulated.

48In the day-in rolling optimization stage, the scheduling period is 4 h.In order to coordinate the response timescale between the hydrogen storage tank and other coupling equipment, the scheduling timescale is selected as the least common multiples of τ 2 and τ 3 and set to ξ.At the same time, according to the deviation between the wind power and load forecast and the day-ahead forecast results in the rolling optimization, taking into account the flexibility of response, the demand response scheduling of the second type of timescale is mainly used, supplemented by the deviation adjustment of the hydrogen storage tank electrolyzer and hydrogen fuel cell.The rolling optimization goal at this stage is to minimize the cost of deviation adjustment.

49In the real-time rolling optimization stage, the scheduling cycle is 15 min, and the scheduling timescale is τ 1 .This stage is based on the deviation between the predicted results of real-time rolling optimization for wind and solar power, load forecasting, and intraday rolling optimization.The adjustment is mainly based on the third type of demand response.If it is insufficient, it is adjusted by interacting with the external network to purchase or sell electricity.At this stage, the rolling optimization goal is also to minimize the deviation adjustment cost.

Objective function

50In the current optimization stage, the distributed electric hydrogen coupling system aims to minimize the total operating cost of the coupling system as the objective function.The operating costs of the previous stage include the start-up and shutdown costs of the unit, the operating costs of the unit, the demand response call costs, the external network interaction costs, and the uncertainty costs caused by multiple uncertainties in the system, as shown in Eq. 17: refer to the operating costs of the distributed electric hydrogen coupling system in the early stage, including the start-up and shutdown costs of the unit, the operating costs of the unit, the demand response call costs, the external network interaction costs, and the uncertainty costs caused by multiple uncertainties in the system, respectively; u i is the startup and shutdown costs of unit I; θ i is a Boolean variable, θ i 1 represents the start of the unit, otherwise the unit will not start; P rq wind,t , P rq pv,t , m rq out dj,t , P rq hf,t , and H rq EH , t are the output plan of wind turbine generator set, photovoltaic generator set, electrolytic cell, hydrogen fuel cell, and electricity-to-heat equipment at time t in the day-ahead stage, respectively; m rq in EHS,t and m rq out EHS,t are the hydrogen storage and release capacities of the hydrogen storage tank at time t, respectively; p wind , p pv , p dj , p hf , p EHS , and p EH are the unit operating costs of wind turbine generator set, photovoltaic generator set, electrolytic cell, hydrogen fuel cell, hydrogen storage tank, and electric heat-transfer equipment, respectively; p 1 PDR is the first type of demand response unit scheduling cost; P rq jh buy,t and P rq jh sale,t represent the purchased and sold electricity of the distributed electric hydrogen coupling system when interacting with the external network at time t, respectively; p buy and p sale are the unit electricity purchase and unit electricity sale costs when the distributed electric hydrogen coupling system interacts with the external network, respectively; and v pun is the unit uncertainty cost.

Constraint condition

51The constraints of the distributed electric hydrogen coupling system in the early stage include power balance constraints and equipment operation constraints.The power balance constraints mainly include electrical energy balance, thermal energy balance, and hydrogen energy balance, as shown in Eq. 18:

Day-in rolling optimization model 4.3.1 Objective function

52In the day-in rolling optimization stage, based on the day-ahead scheduling plan, the scheduling of the second type of demand response and the output adjustment of coupled units are carried out.The optimization goal of the day-in rolling stage is to minimize the adjustment cost, as shown in Eq. 20:

53where C rn dr total is the scheduling cost for the second type of demand response in the day-in stage; ΔC rn i total is the adjustment cost for the ith unit during the day-in stage, i ∈ dj, hf, EH, EHS ; θ tz i is a Boolean variable, θ tz i 1, indicating that unit i participates in the intraday adjustment, otherwise it will not participate; L 2 PDR,ts and p 2 PDR are the scheduling quantity and unit scheduling cost for the second type of demand response, respectively; Δm rn dj,ts , ΔP rn hf,ts , and ΔH rn EH , ts are the adjustment amounts of electrolytic cell, hydrogen fuel cell, and electric heat-transfer equipment in the day-in stage, respectively; u rn tz dj , u rn tz hf , and u rn tz EH are the unit adjustment costs of electrolytic cell, hydrogen fuel cell, and electric-to-heat equipment in the day stage, respectively; Δm rn out EHS,ts and Δm rn in EHS,ts are the hydrogen release and storage adjustment amount of the hydrogen storage tank, respectively; and u rn tz EHS represents the unit adjusted cost of the hydrogen storage tank.

Constraint condition

54The constraints in the day-in stage also include power balance constraints and equipment operation constraints.The power balance constraints are shown in Eq.21, and the equipment operation constraints are in the same form as Eq.19.

55where ΔC ss dr total is the scheduling cost for the third type of demand response in the real-time phase; ΔC ss hf total is the adjustment cost of the hydrogen fuel cell in the real-time phase; ΔC ss jh total is the cost of interaction between the real-time distributed electric hydrogen coupling system and the external network; θ ss tz hf is a Boolean variable, and θ ss tz hf 1 is the output of the hydrogen fuel cell adjusted in the real-time phase, otherwise it will not be adjusted; θ ss tz jh is also a Boolean variable, where θ ss tz jh 1 indicates correction and adjustment through external network interaction, otherwise the opposite is true; L 3 PDR,tsy and p 3 PDR are the scheduling quantity and unit scheduling cost for the third type of demand response, respectively; ΔP ss hf,tsy and u ss tz hf are the adjustment amount and unit adjustment cost of the hydrogen fuel cell in the real-time phase, respectively; ΔP ss jh buy,tsy and ΔP ss jh sale,tsy refer to the purchase and sale of electricity during the realtime phase and external network adjustment, respectively.

56The system balance constraints in the real-time phase are the same as Eq. 18, and the equipment operation constraints are shown in Eq. 23:

Model solution

57The multi-timescale optimization model of the distributed electrohydrogen coupling system is a complex uncertain mixed integer nonlinear programming problem, and the methods for solving uncertainty mainly include approximation and decomposition methods.The decomposition method includes the Benders decomposition algorithm and column-and-constraint-generation algorithm (C&CG).Due to the fact that the C&CG algorithm considers the constraints and variables of the subproblem compared to the Benders decomposition algorithm, which can accelerate convergence, this section adopts the C&CG algorithm for solution.The C&CG algorithm iteratively converges the main problem and subproblems to solve.The main problem is the optimal solution that satisfies the conditions under a known finite distribution, providing a lower bound (LB) value for the robust optimization model.The subproblem is to seek the worst-case distribution and provide an upper bound (UB) value for the robust optimization model under the given conditions of the decision variables in the first stage.The specific model of the C&CG algorithm is referenced in Song et al. (2023), and Cplex is further used for solution.

Basic data

58Multiple demonstration projects for electric hydrogen coupling have been put into operation in a certain province of China, with rich experience in electric hydrogen coupling systems.Therefore, in order to verify the effectiveness of the model, a distributed electric hydrogen coupling system for parks in this province was selected as an example for simulation analysis.The deviation rates for wind power generation, photovoltaic power generation, and demand response in the day-ahead, day-in, and real-time stages are set to 5%, 3%, and 1%, respectively.The unit scheduling costs for the first type of load demand response, the second type of load demand response, and the third type of load demand response are 0.6, 0.85, and 1.00 yuan/kWh, respectively.According to the characteristics of each device, the response time for daily, intraday, and real-time scheduling is determined to be 30, 10, and 5 min, respectively.A distributed electric hydrogen coupling system was set up to connect to the external network at 10 kV and interact with the external network using the peak-tovalley electricity prices of general industrial and commercial industries from 1 to 10 kV in the province.At the same time, the specific purchase and sale electricity prices are shown in Table 1 (Tan et al., 2021;Han et al., 2022):

59The operating parameters of various units are shown in Table 2 (Jiang et al., 2022):

60The day-ahead, day-in, and real-time predicted values for wind and photovoltaic power generation are shown in Figures 5, 6 (Tan et al., 2021):

61Design ideas for multi-timescale optimization of coupled systems.

Frontiers in Energy Research

62frontiersin.org09 Ma et al. 10.3389/fenrg.2023.12512315.2 Example results

Scheduling optimization results for multiple timescales

63Based on the predicted values of wind power generation, photovoltaic power generation, and various loads in real-time, in order to minimize the system operating cost, the scheduling optimization results at different timescales are obtained and analyzed.The optimization results of dayahead, day-in, and real-time scheduling for each unit are shown in Figures 7-9, respectively.Due to the large amount of data under the 5min scheduling time, the readability of the graph is poor.This paper selects one data at every 12 scheduling points to display day-ahead, dayin, and real-time stages in the graph.

64From Figures 7-9, it can be seen that the scheduling time for the first, second, and third types of demand response in the day-ahead, day-in, and real-time stages is approximately 19:00-22:00, overlapping with the peak load period.In order to maintain the balance between supply and demand in the recent stage, there are many challenges with the external network.Among them, the electricity purchase is carried out at 22:00-8:00 during the low-price period, and the low-price electricity is converted into hydrogen and stored in the hydrogen storage tank through the electrolytic cell equipment.During the peak power period, the hydrogen fuel cell consumes the hydrogen in the hydrogen storage tank to generate electricity.In the day-in stage, deviation adjustment is mainly carried out by adjusting the hydrogen storage tank and the second type of demand response.The adjustment amount of electric heat- Wind power output at different time periods.

FIGURE 6

65Photovoltaic power output at different time periods.

66transfer equipment and electrolytic cells is relatively small, and only minor adjustments are made.In the real-time stage, compared to the dayahead stage, the amount of interaction with the external network is significantly reduced.This is because the deviation in the real-time stage is reduced after adjustment in the day-in stage, and most of the deviation adjustment needs can be met through the third type of demand response.

Effectiveness analysis of uncertainty

67In order to analyze and consider the effectiveness of system uncertainty, this paper sets up the following four scenarios for analysis:

68Scenario 1: Set the wind and solar power output and load demand of the distributed electric hydrogen coupling system to be determined in three stages: day ahead, day in, and real time;

69Scenario 2: Set the wind and solar output of the distributed electric hydrogen coupling system to be determined in three stages: day ahead, day in, and real time, taking into account the uncertainty of load demand in these three stages; Scenario 3: Set the load demand of the distributed electric hydrogen coupling system to be determined in three stages: day ahead, day in, and real time, taking into account the uncertainty of wind and solar output in these three stages; Scenario 4: Considering the wind power output and load demand of the distributed electric hydrogen coupling system simultaneously, uncertainty is determined in the three stages of day ahead, day in, and real time.

70The scheduling costs of the distributed electric hydrogen coupling system in three stages under four scenarios are shown in Table 3.

71From Table 3, it can be seen that among the four scenarios, scenario 1 under the deterministic scenario has the highest scheduling cost in the three stages of day ahead, day in, and real time, with a total scheduling cost of 40,289.79yuan.Scenario 4, which simultaneously considers multiple uncertainties, has the lowest scheduling cost among the three stages, with a total scheduling cost of 35,231.9yuan.Compared with Scenario 1, the total scheduling cost of Scenario 4 decreases by 12.55%.This is because uncertainty costs are not considered in deterministic scenarios.When there is a significant deviation between wind and solar power output and load demand, it will cause significant adjustments to the output of each unit in the day-in and real-time stages and even significantly increase the interaction cost with the external network, resulting in an increase in the overall adjustment cost.Although Scenario 2 considers the uncertainty of load, it does not consider the deviation of wind and solar output.On the one hand, when there is a significant deviation in wind and solar output, the accuracy of the unit output plan developed in the day-ahead stage is low.On the other hand, in the day-in and real-time stages, in addition to affecting the supply of electricity load, wind and solar power, as the supply end of electrolytic cells and electricity to heat transfer, will have an impact on the heat load and hydrogen load, increasing scheduling costs.Scenario 3 shows that the accuracy of load forecasting affects the scheduling of demand response.In the real-time stage, the third type of load demand invocation is mainly used.When the load deviation is large, the cost of daily adjustment increases.This indicates the necessity of considering the deviation between wind and solar output and load demand in distributed electric hydrogen coupling systems.

72Furthermore, in order to explore the impact of wind and solar output deviation and load demand deviation on wind and solar consumption rate, taking the day-ahead stage as an example, the wind and solar output deviation and load demand deviation rates were set to vary in the range (−5%, 5%).The wind and solar consumption rate under different deviation rates is shown in Figure 10.As shown in Figure 10, when the negative deviation of wind and solar output increases in the opposite direction, the absorption rate of wind and solar energy increases.This is because when the load demand is constant and the reverse deviation rate of wind and solar energy increases, the system will fully absorb the wind and solar output, resulting in an increase in the absorption rate of wind and solar energy.When the load deviation rate increases positively, due to the increase in load demand, in order to ensure the balance of supply and demand and reduce other unit adjustments, the wind and solar output increases, resulting in an increase in the wind and solar consumption rate.

Effectiveness analysis of multi-timescale scheduling strategies

73In order to evaluate the effectiveness of the multi-timescale optimization model proposed in this paper, effectiveness analysis that involves planning in the day-ahead stage and adjusting based on device priority in the day-in and real-time stages is demonstrated.On the one hand, it is compared with the key technologies proposed in Jin et al. (2019) in the two stages of "day-before-day-within-day".On the other hand, it is compared with Liao et al. (2022), in which the model operates on a three-stage multi-timescale of "day-ahead-dayin-real-time" but does not consider the priority of device adjustment and the response characteristics of the device.The key technologies in Jin et al. (2019) andLiao et al. (2022) were applied to the distributed electro-hydrogen coupling system constructed in this paper.The cost and overall clean energy consumption rate of the system at different stages are shown in Table 4:

74It can be seen from Table 4 that although there is no real-time stage cost in Jin et al. (2019), its day-ahead scheduling cost and day-in scheduling cost are far higher than Liao et al. (2022) and the proposed method.This is because in the current stage, Jin et al. (2019) did not make further adjustments and error correction in the real-time stage, which will lead to an increase in uncertainty and deviation costs.At the same time, the clean energy consumption rate of Jin et al. (2019) is lower than that of Liao et al. (2022) and the method proposed in this article.This is because from Figure 10, it can be seen that when the wind and solar deviation reaches 5% in the positive direction, the wind and solar consumption rate decreases, and there is no real-time adjustment, which cannot fully carry out new energy consumption, resulting in a decrease in the clean energy consumption rate.From this, it can be seen that it is necessary to conduct a threestage scheduling of "day-ahead-day-in-real time."Compared with the method proposed in this paper, the cost difference in the day-to-day stage is not significant, but the cost in the day-in stage and the real-time stage is higher than that of the method proposed in this paper.This is because Liao et al. ( 2022) did not consider the level of equipment adjustment and response characteristics, which cannot achieve efficient coordination and optimization among various devices and resource allocation, resulting in an increase in cost.

Effectiveness analysis of scheduling timescale optimization

75In order to analyze the effectiveness of scheduling timescale optimization proposed in this paper, the evaluation indicators in Li et al. (2023) were compared with those in Yuan et al. (2019) andBao et al. (2016).The comparison indicators are the supply and demand imbalance rate ω sh , the number of real-time adjustments within the day N tz , and the proportion of adjustments ψ tz , as shown in Eqs 24-26, respectively:

76where P total sup ,sy and L total dem,sy are the total aggregate supply and demand of energy, respectively; n dem is the total number of load data; n tz i is the number of adjustments made by device i during the day-in and real-time phases, i ∈ dj, hf, EH, EHS ; and n sb total represents the total number of devices.

77The supply and demand imbalance rate a, daily real-time adjustment frequency b, and adjustment proportion c of Yuan et al. (2019), Bao et al. (2016), and this paper are shown in Table 5.

78From Table 5, it can be seen that compared with Bao et al. ( 2016), using the method proposed in this paper for scheduling time optimization can reduce the supply-demand imbalance rate and ensure the stability of energy supply in the distributed electric hydrogen coupling system.On the other hand, compared with Jin et al. (2019) and Yuan et al. (2019), the method proposed in this paper has lower frequency and proportion of adjustments in these two indicators.This is because this article considers the response characteristics of heterogeneous energy sources such as electricity and heat loads and coupled equipment, which can coordinate the slow response time of heat loads and coupled equipment, as well as the fast response characteristics of wind, electricity loads, and hydrogen storage tanks.Therefore, the scheduling duration optimization method proposed in this article can simultaneously balance the dual optimization strategy of adjusting costs and energy supply stability.

Conclusion

79This paper conducts a study on the optimization of multitimescale operation of distributed electro-hydrogen coupling systems considering multiple uncertainties.Through case analysis, the following conclusions are drawn:

80(1) It is necessary to consider the deviation between wind and solar output and load demand in a distributed electric hydrogen coupling system, and it can reduce the total scheduling cost by 12.55% compared to deterministic scenarios.( 2 Frontiers in Energy Research frontiersin.org16 Ma et al. 10.3389/fenrg.2023.1251231

FIGURE 1

81FIGURE 1Framework diagram of the electric hydrogen coupling system.

FIGURE 2

82FIGURE 2Relationship between the input power of the electrolytic cell and hydrogen production efficiency of the electrolytic cell.

FIGURE 3

83FIGURE 3Relationship between fuel cell power generation and voltage.

84total operating cost of the distributed electric hydrogen coupling system in the day-ahead stage;

FIGURE 7

85FIGURE 7Scheduling results in the stage.

FIGURE 8

86FIGURE 8Scheduling results in the day-in stage.

87FIGURE 9Scheduling results the real-time

3 PDR

88ΔP i max minimum and maximum values for unit i to climb the slope, respectively ΔH EH min ΔH EH max minimum and maximum values for the climbing of the electric heat-transfer equipment, respectively m dj min m dj max minimum and maximum output of the electrolytic cell, respectively L min ,1 PDR,t L max ,1 PDR,t minimum and maximum scheduling amount for the first type of demand response, respectively of electrolytic cell, hydrogen fuel cell, and electric-to-heat equipment in the day stage; yuan/kWh, respectively p Scheduling unit scheduling cost for the third type of demand response; yuan/kWh

89t

90In the real-time optimization stage, based on the daily rolling optimization plan, the third type of demand response and hydrogen fuel cell output adjustment are carried out.The optimization goal of the real-time rolling stage is to minimize the adjustment cost ΔC ss total , as shown in Eq. 22:

TABLE 1

91Electricity prices during peak and valley periods.

TABLE 3

92Scheduling cost of the distributed electric hydrogen coupling system.

TABLE 4

93Cost and overall clean energy consumption rate of the system at different stages.

94) The three-stage scheduling optimization strategy proposed in this article, which considers the level of equipment adjustment and response characteristics, can achieve efficient coordination and optimization among various devices, optimize resource allocation, and improve the consumption rate of clean energy.(3)The scheduling duration optimization method proposed in this article is a dual optimization strategy that simultaneously considers adjustment costs and energy supply stability.Frontiers in Energy Research frontiersin.orgϑ 2 n 2 j 2 charge transfer coefficient, electron transfer number, and current density of the anode n EHS,t amount of hydrogen in the hydrogen storage tank upper and lower limits of photovoltaic power generation, respectively p buy p sale unit electricity purchase cost and unit electricity sales cost when the distributed electric hydrogen coupling system interacts with the external network; yuan/kWh, respectively ε ele ε heat ε hy expected deviation rate between electrical load, thermal load, and hydrogen load p wind p pv p dj p hf p EHS p EH Unit operating cost of the wind turbine generator set, photovoltaic generator set, electrolytic cell, hydrogen fuel cell, hydrogen storage tank, and electric heat-transfer equipment; yuan/kWh, respectively

참고문헌 6건

  1. Cost benefits of optimizing hydrogen storage and methanation capacities for Power-to-Gas plants in dynamic operation Applied Energy · Elsevier BV · 2019 10.1016/j.apenergy.2019.113967
  2. A review on fabricating functional materials by heavy metal–containing sludges Environmental Science and Pollution Research · Springer Science+Business Media · 2020 10.1007/s11356-020-10990-y
  3. Three-level market optimization model of virtual power plant with carbon capture equipment considering copula–CVaR theory Energy · Elsevier BV · 2021 10.1016/j.energy.2021.121620
  4. Edaravone activates the GDNF/RET neurotrophic signaling pathway and protects mRNA-induced motor neurons from iPS cells Molecular Neurodegeneration · BioMed Central · 2022 10.1186/s13024-021-00510-y
  5. Hybrid energy sharing considering network cost for prosumers in integrated energy systems Applied Energy · Elsevier BV · 2022 10.1016/j.apenergy.2022.119627
  6. Multi-granularity source-load-storage cooperative dispatch based on combined robust optimization and stochastic optimization for a highway service area micro-energy grid Renewable Energy · Elsevier BV · 2023 10.1016/j.renene.2023.02.006