<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3-mathml3.dtd">
<article xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" dtd-version="1.3" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Appl. Math. Stat.</journal-id>
<journal-title-group>
<journal-title>Frontiers in Applied Mathematics and Statistics</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Appl. Math. Stat.</abbrev-journal-title>
</journal-title-group>
<issn pub-type="epub">2297-4687</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fams.2026.1774262</article-id>
<article-version article-version-type="Version of Record" vocab="NISO-RP-8-2008"/>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Original Research</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Flexibility-oriented robust optimization planning for electro-hydrogen energy storage in high-renewable grids</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name><surname>Yan</surname> <given-names>Wang</given-names></name>
<xref ref-type="aff" rid="aff1"/>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Conceptualization" vocab-term-identifier="https://credit.niso.org/contributor-roles/conceptualization/">Conceptualization</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Data curation" vocab-term-identifier="https://credit.niso.org/contributor-roles/data-curation/">Data curation</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft/">Writing &#x2013; original draft</role>
<uri xlink:href="https://loop.frontiersin.org/people/3326867"/>
</contrib>
</contrib-group>
<aff id="aff1"><institution>Guangdong Electric Power Design Institute</institution>, <city>Guangzhou, Guangdong</city>, <country country="cn">China</country></aff>
<author-notes>
<corresp id="c001"><label>&#x0002A;</label>Correspondence: Wang Yan, <email xlink:href="mailto:shilinkf87@163.com">shilinkf87@163.com</email></corresp>
</author-notes>
<pub-date publication-format="electronic" date-type="pub" iso-8601-date="2026-02-23">
<day>23</day>
<month>02</month>
<year>2026</year>
</pub-date>
<pub-date publication-format="electronic" date-type="collection">
<year>2026</year>
</pub-date>
<volume>12</volume>
<elocation-id>1774262</elocation-id>
<history>
<date date-type="received">
<day>23</day>
<month>12</month>
<year>2025</year>
</date>
<date date-type="rev-recd">
<day>24</day>
<month>01</month>
<year>2026</year>
</date>
<date date-type="accepted">
<day>30</day>
<month>01</month>
<year>2026</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2026 Yan.</copyright-statement>
<copyright-year>2026</copyright-year>
<copyright-holder>Yan</copyright-holder>
<license>
<ali:license_ref start_date="2026-02-23">https://creativecommons.org/licenses/by/4.0/</ali:license_ref>
<license-p>This is an open-access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution License (CC BY)</ext-link>. 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.</license-p>
</license>
</permissions>
<abstract>
<p>The large-scale integration of renewable energy sources poses significant challenges to grid stability due to inherent intermittency and volatility. This paper presents a novel robust optimization framework for planning electro-hydrogen energy storage systems (EHESS) that differs from traditional capacity planning by explicitly incorporating flexibility margin indices. We develop a comprehensive electro-hydrogen coupling model that captures the coordinated operational characteristics of battery storage (short-term regulation) and hydrogen systems (long-term shifting). Unlike existing works that treat flexibility qualitatively, we introduce a quantified flexibility margin index to measure the supply-demand gap of ramping capabilities. We formulate a two-layer robust optimization model: the upper layer minimizes investment costs, while the lower layer minimizes operational and flexibility penalty costs under worst-case scenarios. Wasserstein distance-based uncertainty sets are employed to handle the distributional uncertainty of renewable output. Case simulations on a modified IEEE 33-node system validate that the proposed method effectively determines the optimal configuration, reducing total costs by 10.6% compared to baselines by mitigating high-cost flexibility violations.</p></abstract>
<kwd-group>
<kwd>electro-hydrogen energy storage</kwd>
<kwd>flexibility margin index</kwd>
<kwd>renewable energy grids</kwd>
<kwd>robust optimization</kwd>
<kwd>system flexibility</kwd>
</kwd-group>
<funding-group>
<funding-statement>The author(s) declared that financial support was received for this work and/or its publication. This work was supported by the Research and Application of Ubiquitous Power Internet of Things Technology for Substations Supporting Smart Construction and Operation and Maintenance, Major Specialized Science and Technology Project of Power China (Grant No. ER05521W). The funder had no involvement in the manuscript preparation.</funding-statement>
</funding-group>
<counts>
<fig-count count="11"/>
<table-count count="4"/>
<equation-count count="29"/>
<ref-count count="34"/>
<page-count count="13"/>
<word-count count="7402"/>
</counts>
<custom-meta-group>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Optimization</meta-value>
</custom-meta>
</custom-meta-group>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<label>1</label>
<title>Introduction</title>
<p>In renewable energy grids, decentralized wind and photovoltaic (PV) power generation exhibit significant intermittency and volatility [<xref ref-type="bibr" rid="B1">1</xref>, <xref ref-type="bibr" rid="B2">2</xref>]. As penetration rates rise, the primary challenge shifts from simple energy balance to system flexibility&#x02014;the ability of the grid to ramp up or down rapidly to match net load fluctuations. Traditional energy storage planning often focuses on economic arbitrage or peak shaving [<xref ref-type="bibr" rid="B3">3</xref>, <xref ref-type="bibr" rid="B4">4</xref>], neglecting the dynamic flexibility requirements essential for high-renewable scenarios. Electro-hydrogen energy storage systems (EHESS), integrating batteries with hydrogen fuel cells and electrolyzers, offer a promising solution. Batteries provide rapid, short-duration response, while hydrogen offers large-capacity, long-duration storage [<xref ref-type="bibr" rid="B5">5</xref>]. However, existing planning methods often lack a rigorous mechanism to quantify the combined flexibility contribution of these heterogeneous assets against uncertain renewable profiles.</p>
<p>The rapid increase in renewable penetration and load diversity often results in severe supply&#x02013;demand imbalances. Appropriate energy storage planning can alleviate these issues, whereas improper planning may exacerbate renewable curtailment and load shedding [<xref ref-type="bibr" rid="B6">6</xref>]. Moreover, modeling inaccuracies and uncertainties in renewable generation and demand profiles may lead to excessive investment costs [<xref ref-type="bibr" rid="B7">7</xref>].</p>
<p>Existing studies have extensively investigated the economic and reliability aspects of energy storage planning. Reference [<xref ref-type="bibr" rid="B8">8</xref>] proposed an economic indicator-based framework to evaluate storage value and determine installation locations. The impacts of storage on grid reliability under high renewable penetration were analyzed in [<xref ref-type="bibr" rid="B9">9</xref>], while [<xref ref-type="bibr" rid="B10">10</xref>] and [<xref ref-type="bibr" rid="B11">11</xref>] examined storage planning considering natural disasters to enhance system resilience. Coordinated planning of storage systems and controllable switches was explored in [<xref ref-type="bibr" rid="B12">12</xref>] to improve emergency response capability. However, these studies largely neglect the contribution of energy storage to system flexibility through bidirectional power regulation, which can significantly expand upward and downward adjustment margins. Therefore, storage planning methods that explicitly consider flexibility warrant further investigation.</p>
<p>To address high renewable penetration, integrated energy system (IES) planning methods involving electricity, heat, and gas have been widely studied. A general multi-energy system structure was proposed in [<xref ref-type="bibr" rid="B13">13</xref>], though its model requires manual reformulation when coupling devices change. Graph-based and two-stage optimization approaches were developed in [<xref ref-type="bibr" rid="B14">14</xref>] to jointly optimize system structure and capacity. Reference [<xref ref-type="bibr" rid="B15">15</xref>] incorporated electric vehicles into IES planning, while [<xref ref-type="bibr" rid="B16">16</xref>] optimized equipment capacities by balancing exergy efficiency and economic performance across different functional areas. Reliability-constrained IES planning was further studied in [<xref ref-type="bibr" rid="B17">17</xref>]. Despite these advances, research on electricity&#x02013;hydrogen energy system planning remains limited, particularly regarding hydrogen production, coupling mechanisms, and storage characteristics. Given that electricity&#x02013;hydrogen coupling can further enhance system flexibility, it is critical to develop planning methods that account for flexibility while satisfying power system security constraints such as voltage limits.</p>
<p>This paper addresses these gaps with the following specific contributions:</p>
<list list-type="bullet">
<list-item><p>Unlike traditional planning that focuses on peak-shaving, we introduce a Flexibility Margin Index. Derived from IEA standards, this index quantifies the real-time supply-demand gap of ramping capabilities provided by the EHESS and demand response resources.</p></list-item>
<list-item><p>We develop a mechanism that coordinates the distinct temporal characteristics of heterogeneous storage assets. Battery storage is optimized for high-frequency, short-term flexibility regulation, while hydrogen systems (Electrolyzers/Fuel Cells) are optimized for low-frequency, long-duration energy shifting.</p></list-item>
<list-item><p>We apply a Wasserstein distance-based DRO approach specifically to manage flexibility risks. This method constructs an ambiguity set centered on empirical distributions, allowing the model to optimize costs under worst-case flexibility scenarios without the extreme conservatism of traditional robust optimization.</p></list-item>
</list>
<p>The remainder of this paper is organized as follows: Section 2 presents the electro-hydrogen coupling model and analyzes the operational characteristics of various components. Section 3 introduces the flexibility margin index and examines the contribution of electro-hydrogen storage to system flexibility. Section 4 formulates the two-layer robust optimization model for electro-hydrogen storage planning. Section 5 introduces a distributed robust optimization planning model for electro-hydrogen energy storage. Section 6 presents case studies and numerical results. Finally, Section 7 provides conclusions and discusses future research directions.</p>
</sec>
<sec id="s2">
<label>2</label>
<title>Electro-hydrogen energy storage system model</title>
<p>When planning an electro-hydrogen energy storage system, it is essential to analyze its structure and characteristics. The EHESS consists of Battery Energy Storage (BES), Electrolyzers (ET), Proton Exchange Membrane Fuel Cells (PEMFC), and a Hydrogen Storage System (HSS). The structure of a renewable energy grid incorporating EHESS is illustrated in <xref ref-type="fig" rid="F1">Figure 1</xref>.</p>
<fig position="float" id="F1">
<label>Figure 1</label>
<caption><p>Structure of renewable energy grids with an electro-hydrogen energy storage system.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-12-1774262-g0001.tif">
<alt-text content-type="machine-generated">Block diagram illustrating a hybrid energy system that integrates a utility grid and wind power to supply electricity, represented by solid lines, and hydrogen, represented by dashed lines, to electrical and hydrogen loads using components such as battery energy storage (BES), electrolyzer (ET), hydrogen energy storage (HES), and proton exchange membrane fuel cell (PEMFC), with relevant infrastructure images included.</alt-text>
</graphic>
</fig>
<p>The renewable energy grid integrates wind power and photovoltaic systems with the electro-hydrogen storage system, which provides bidirectional energy conversion capabilities between electricity and hydrogen. This integration enhances the grid&#x00027;s flexibility and resilience against the volatility of renewable energy sources [<xref ref-type="bibr" rid="B18">18</xref>, <xref ref-type="bibr" rid="B19">19</xref>]. The EHESS can store excess energy when renewable generation exceeds demand and release energy when demand exceeds supply, effectively balancing the power system. The mathematical models for each component of the EHESS are formulated as follows:</p>
<sec>
<label>2.1</label>
<title>Battery energy storage model</title>
<p>The state of charge evolution for the battery energy storage system is modeled as:</p>
<disp-formula id="EQ1"><mml:math id="M1"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:mrow><mml:mo stretchy="true">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003B7;</mml:mi></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>c</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003B7;</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="true">)</mml:mo></mml:mrow><mml:mo>&#x00394;</mml:mo><mml:mi>t</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(1)</label></disp-formula>
<p>where <italic>S</italic><sub><italic>ES, t</italic></sub>, <italic>S</italic><sub><italic>ES, t</italic>&#x02212;1</sub> represent the total energy stored in BES at time <italic>t</italic> and <italic>t</italic>&#x02212;1, respectively. <italic>P</italic><sub><italic>c, t</italic></sub>, <italic>P</italic><sub><italic>d, t</italic></sub> represent the charging and discharging power of BES, respectively. &#x003B7;<sub><italic>c</italic></sub>, &#x003B7;<sub><italic>d</italic></sub> represent the charging and discharging efficiency of BES, respectively. &#x00394;<italic>t</italic> represents the time interval.</p>
<p>The BES model captures the dynamics of energy storage, accounting for conversion losses during both charging and discharging processes [<xref ref-type="bibr" rid="B20">20</xref>]. This bidirectional capability is crucial for providing a rapid response to grid fluctuations.</p>
</sec>
<sec>
<label>2.2</label>
<title>Electrolyzer model</title>
<p>The electrolyzer converts electrical energy into hydrogen through electrolysis, with the following power relationship:</p>
<disp-formula id="EQ2"><mml:math id="M2"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mi>l</mml:mi><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mover accent='true'><mml:mi>n</mml:mi><mml:mo>&#x002D9;</mml:mo></mml:mover><mml:mrow><mml:msub><mml:mi>H</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mi>H</mml:mi><mml:mrow><mml:mi>H</mml:mi><mml:mi>H</mml:mi><mml:mi>V</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>Q</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mi>l</mml:mi><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>&#x003B7;</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mi>l</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mover accent='true'><mml:mi>n</mml:mi><mml:mo>&#x002D9;</mml:mo></mml:mover><mml:mrow><mml:msub><mml:mi>H</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mi>H</mml:mi><mml:mrow><mml:mi>H</mml:mi><mml:mi>H</mml:mi><mml:mi>V</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mi>l</mml:mi><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:math><label>(2)</label></disp-formula>
<p>where <italic>P</italic><sub><italic>ele, t</italic></sub>, <italic>Q</italic><sub><italic>ele, t</italic></sub> represent the electrical power consumption and heat generation of the electrolyzer at time <italic>t</italic>, respectively. &#x01E45;<sub><italic>H</italic><sub>2</sub>, <italic>t</italic></sub>, &#x003B7;<sub><italic>ele</italic></sub> represent the hydrogen production rate and efficiency of the electrolyzer, respectively. <italic>H</italic><sub><italic>HHV</italic></sub> represents the higher heating value of hydrogen.</p>
<p>The electrolyzer model characterizes the energy conversion from electricity to hydrogen, accounting for the electrochemical process efficiency and associated thermal effects [<xref ref-type="bibr" rid="B21">21</xref>, <xref ref-type="bibr" rid="B22">22</xref>]. This process is particularly valuable for utilizing surplus renewable energy that might otherwise be curtailed.</p>
</sec>
<sec>
<label>2.3</label>
<title>Proton exchange membrane fuel cell model</title>
<p>The PEMFC converts hydrogen back to electricity with the following relationship:</p>
<disp-formula id="EQ3"><mml:math id="M3"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mover accent='true'><mml:mi>m</mml:mi><mml:mo>&#x002D9;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:mi>H</mml:mi><mml:mi>H</mml:mi><mml:mi>V</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mi>u</mml:mi><mml:mi>e</mml:mi><mml:mi>l</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>Q</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mi>u</mml:mi><mml:mi>e</mml:mi><mml:mi>l</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003B7;</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mi>u</mml:mi><mml:mi>e</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mi>u</mml:mi><mml:mi>e</mml:mi><mml:mi>l</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mover accent='true'><mml:mi>m</mml:mi><mml:mo>&#x002D9;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:mi>H</mml:mi><mml:mi>H</mml:mi><mml:mi>V</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(3)</label></disp-formula>
<p>where <italic>P</italic><sub><italic>fuel, t</italic></sub>, <italic>Q</italic><sub><italic>fuel, t</italic></sub> represent the electrical power output and heat generation of PEMFC at time <italic>t</italic>, respectively. &#x01E41;<sub><italic>H</italic><sub>2</sub>, <italic>t</italic></sub>, &#x003B7;<sub><italic>fuel</italic></sub> represent the hydrogen consumption rate and efficiency of PEMFC at time <italic>t</italic>, respectively.</p>
<p>The PEMFC model captures the reverse conversion process from hydrogen to electricity, completing the energy cycle within the EHESS [<xref ref-type="bibr" rid="B23">23</xref>]. This bidirectional conversion capability between electricity and hydrogen provides extended storage duration compared to battery-only systems. The HSS model is similar to the BES model and follows analogous state-of-charge principles, with appropriate adjustments for the physical properties of hydrogen storage.</p>
</sec>
</sec>
<sec id="s3">
<label>3</label>
<title>Flexibility margin indicators</title>
<p>Power system flexibility represents the ability to maintain reliable operation while accommodating the variability and uncertainty of renewable energy generation. To provide a rigorous basis for our model, we adopt the definition from the International Energy Agency (IEA), which defines flexibility as &#x0201C;the extent to which a power system can modify electricity production or consumption in response to variability, expected or otherwise&#x0201D; [<xref ref-type="bibr" rid="B24">24</xref>]. Based on this definition, we quantify the flexibility margin as the net difference between the system&#x00027;s adjustable capacity (supply) and the net load variability (demand).</p>
<sec>
<label>3.1</label>
<title>Demand-side flexibility resources</title>
<p>Demand-side response loads can provide regulatory capacity for renewable energy grids [<xref ref-type="bibr" rid="B25">25</xref>]. The specific mathematical model is formulated as:</p>
<disp-formula id="EQ4"><mml:math id="M4"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>C</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>u</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>C</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(4)</label></disp-formula>
<p>where, <inline-formula><mml:math id="M5"><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>C</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>u</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M6"><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>C</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represent the upward and downward regulation capabilities provided by the demand-side load at node <italic>j</italic> at time <italic>t</italic>. <italic>v</italic><sub><italic>j, t</italic></sub> represents the state variable indicating whether the demand-side load at node <italic>j</italic> participates in regulation at time <italic>t</italic>. <italic>P</italic><sub><italic>j, CL, t</italic></sub> represents the adjustment amount of the demand-side load at node <italic>j</italic> at time <italic>t</italic>.</p>
<p>This model accounts for the sequential nature of load control decisions, where the transition between on and off states determines the available flexibility [<xref ref-type="bibr" rid="B26">26</xref>]. Demand response resources complement generation-side flexibility by offering rapid load adjustments that can help balance the system.</p>
</sec>
<sec>
<label>3.2</label>
<title>System flexibility margin indicators</title>
<p>The flexibility demand is driven by the variability of the net load, which is the load minus renewable output [<xref ref-type="bibr" rid="B27">27</xref>]. The upward and downward flexibility demands are defined as the positive ramp rates of the net load [<xref ref-type="bibr" rid="B28">28</xref>]:</p>
<disp-formula id="EQ5"><mml:math id="M7"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mi>D</mml:mi><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>u</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mo>&#x02211;</mml:mo><mml:mo class="qopname">max</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>N</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>N</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(5)</label></disp-formula>
<disp-formula id="EQ6"><mml:math id="M8"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mi>D</mml:mi><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mo>&#x02211;</mml:mo><mml:mo class="qopname">max</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>N</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>N</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>N</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x02003;&#x02003;&#x02003;</mml:mtext><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>a</mml:mi><mml:mi>d</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>C</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:msup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mi>R</mml:mi><mml:mi>E</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(6)</label></disp-formula>
<p>where <inline-formula><mml:math id="M10"><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mi>D</mml:mi><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>u</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M11"><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mi>D</mml:mi><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represent the upward and downward flexibility demands of the renewable energy grid at time <italic>t</italic>. <italic>P</italic><sub><italic>NL, t</italic></sub> represents the net load output of the renewable energy grid at time <italic>t</italic>. <italic>P</italic><sub><italic>load, t</italic></sub>, <inline-formula><mml:math id="M12"><mml:msub><mml:mrow><mml:msup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mi>R</mml:mi><mml:mi>E</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> represent the load and forecasted renewable energy output of the grid at time <italic>t</italic>, respectively. <italic>P</italic><sub><italic>CL, t</italic></sub> represents the demand-side load adjustment of the renewable energy grid at time <italic>t</italic>.</p>
<p>Based on [<xref ref-type="bibr" rid="B29">29</xref>], we decompose flexibility supply as:</p>
<disp-formula id="EQ7"><mml:math id="M13"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mo>&#x00394;</mml:mo><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mi>D</mml:mi><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>u</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msubsup><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>C</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>u</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>u</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mi>u</mml:mi><mml:mi>e</mml:mi><mml:mi>l</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>u</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mi>D</mml:mi><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>u</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msubsup></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(7)</label></disp-formula>
<disp-formula id="EQ8"><mml:math id="M14"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mo>&#x00394;</mml:mo><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mi>D</mml:mi><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>C</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>l</mml:mi><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mi>D</mml:mi><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(8)</label></disp-formula>
<p>where <inline-formula><mml:math id="M15"><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>C</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>u</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M16"><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>C</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represent the upward and downward flexibility regulation capabilities provided by demand-side loads at time <italic>t</italic>. <inline-formula><mml:math id="M17"><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>u</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M18"><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represent the upward and downward flexibility regulation capabilities provided by EHESS at time <italic>t</italic>. <inline-formula><mml:math id="M19"><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mi>u</mml:mi><mml:mi>e</mml:mi><mml:mi>l</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>u</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M20"><mml:msubsup><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>l</mml:mi><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represent the upward and downward flexibility regulation capabilities provided by PEMFC and ET at time <italic>t</italic>, respectively.</p>
<p>A positive margin indicates the system has sufficient flexibility to handle renewable fluctuations. A negative margin implies a flexibility deficit, necessitating load shedding or renewable curtailment [<xref ref-type="bibr" rid="B30">30</xref>].</p>
</sec>
</sec>
<sec id="s4">
<label>4</label>
<title>Two-layer planning model for renewable energy grid storage</title>
<p>We propose a two-layer planning model for optimal configuration of electro-hydrogen energy storage in renewable energy grids. The upper layer focuses on system-level investment decisions, while the lower layer addresses operational flexibility optimization.</p>
<sec>
<label>4.1</label>
<title>Upper layer planning model</title>
<p>The upper layer planning uses the annual comprehensive cost of the renewable energy grid with EHESS as the optimization objective to optimize the configuration of the electro-hydrogen storage system.</p>
<sec>
<label>4.1.1</label>
<title>Objective function</title>
<p>The objective function minimizes the total annual cost:</p>
<disp-formula id="EQ9"><mml:math id="M21"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mo class="qopname">min</mml:mo><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>a</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>O</mml:mi><mml:mi>P</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>I</mml:mi><mml:mi>N</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>F</mml:mi><mml:mi>L</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(9)</label></disp-formula>
<p>where, <italic>C</italic><sub><italic>total</italic></sub>, <italic>C</italic><sub><italic>OP</italic></sub> represent the annual comprehensive cost and annual operation cost of the renewable energy grid, respectively. <italic>C</italic><sub><italic>EIN</italic></sub> represents the annual investment cost of electro-hydrogen storage. <italic>C</italic><sub><italic>FL</italic></sub> represents the flexibility penalty cost of the renewable energy grid. It penalizes insufficient flexibility margins based on the &#x0201C;Two Detailed Rules&#x0201D; of grid assessment in China.</p>
<p>The annual investment cost for electro-hydrogen energy storage systems is:</p>
<disp-formula id="EQ10"><mml:math id="M22"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>I</mml:mi><mml:mi>N</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>H</mml:mi><mml:mi>S</mml:mi><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munderover></mml:mstyle><mml:mfrac><mml:mrow><mml:mi>r</mml:mi><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x0002B;</mml:mo><mml:mi>r</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>H</mml:mi><mml:mi>S</mml:mi><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x0002B;</mml:mo><mml:mi>r</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>H</mml:mi><mml:mi>S</mml:mi><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mfrac><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>H</mml:mi><mml:mi>S</mml:mi><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>H</mml:mi><mml:mi>S</mml:mi><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(10)</label></disp-formula>
<p>where <italic>r</italic>, <italic>y</italic><sub><italic>EHSS</italic></sub> represent the discount rate and operational lifetime of the EHESS equipment. <italic>c</italic><sub><italic>e</italic></sub>, <italic>c</italic><sub><italic>p</italic></sub> represent the capacity cost and power cost of the EHESS equipment. <italic>E</italic><sub><italic>EHSS, n</italic></sub>, <italic>P</italic><sub><italic>EHSS, n</italic></sub> represent the rated capacity and rated power of the <italic>n</italic>-th EHESS unit.</p>
<p>This annualized cost calculation accounts for the time value of money over the project lifetime, considering both energy capacity and power capacity costs. The annual operation cost includes EHESS operation, grid losses, demand response compensation, grid power purchases, and renewable energy curtailment penalties:</p>
<disp-formula id="EQ11"><mml:math id="M23"><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>O</mml:mi><mml:mi>P</mml:mi></mml:mrow></mml:msub><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>O</mml:mi><mml:mi>P</mml:mi><mml:mi>E</mml:mi><mml:mi>S</mml:mi><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>g</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>R</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>O</mml:mi><mml:mi>P</mml:mi><mml:mi>E</mml:mi><mml:mi>S</mml:mi><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>c</mml:mi><mml:mrow><mml:mi>E</mml:mi><mml:mi>H</mml:mi><mml:mi>S</mml:mi><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:munderover><mml:mrow><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>T</mml:mi></mml:munderover><mml:mrow><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mi>E</mml:mi><mml:mi>H</mml:mi><mml:mi>S</mml:mi><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:mrow><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>H</mml:mi><mml:mi>S</mml:mi><mml:mi>S</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:munderover><mml:mrow><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>T</mml:mi></mml:munderover><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>c</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mtext>&#x000A0;</mml:mtext><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:msub><mml:mi>c</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:munderover><mml:mrow><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>T</mml:mi></mml:munderover><mml:mrow><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munder><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mi>L</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>g</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:munderover><mml:mrow><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>24</mml:mn></mml:mrow></mml:munderover><mml:mrow><mml:msubsup><mml:mi>c</mml:mi><mml:mi>t</mml:mi><mml:mrow><mml:mi>g</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi><mml:mi>d</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi><mml:mi>d</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>R</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msub><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:munderover><mml:mrow><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>T</mml:mi></mml:munderover><mml:mrow><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mi>R</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munder><mml:mrow><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>R</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle><mml:mo stretchy='false'>[</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>R</mml:mi><mml:mi>E</mml:mi><mml:mo>,</mml:mo><mml:mi>f</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>R</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>]</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow></mml:math><label>(11)</label></disp-formula>
<p>where <italic>C</italic><sub><italic>OPESS</italic></sub> represents the annual operation cost of the EHESS. <italic>C</italic><sub><italic>loss</italic></sub> represents the annual grid loss cost. <italic>C</italic><sub><italic>cl</italic></sub> represents the annual compensation cost for load. <italic>C</italic><sub><italic>grid</italic></sub> represents the annual energy purchase cost. <italic>C</italic><sub><italic>RE</italic></sub> represents the annual renewable energy curtailment penalty cost. <italic>c</italic><sub><italic>EHSS</italic></sub> represents the EHESS charging/discharging cost coefficient. <inline-formula><mml:math id="M24"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>H</mml:mi><mml:mi>S</mml:mi><mml:mi>S</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represents the charging/discharging power of the <italic>n</italic>-th EHESS device in scenario <italic>s</italic> at time <italic>t</italic>. <italic>N</italic><sub><italic>EHSS</italic></sub> represents the total number of EHESS devices to be installed. <italic>c</italic><sub><italic>loss, t</italic></sub>, <italic>P</italic><sub><italic>s, loss, t</italic></sub> represent the grid loss cost and power loss at time <italic>t</italic>. <italic>c</italic><sub><italic>cl</italic></sub>, <italic>N</italic><sub><italic>cl</italic></sub> represent the demand-side load cost coefficient and node set. <inline-formula><mml:math id="M25"><mml:msubsup><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi><mml:mi>d</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represents the electricity price at time <italic>t</italic>. <inline-formula><mml:math id="M26"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi><mml:mi>d</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represents the power exchange between the renewable energy grid and the external grid. <italic>N</italic><sub><italic>RE</italic></sub> represents the number of renewable energy generation nodes to be installed. <inline-formula><mml:math id="M27"><mml:msubsup><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>R</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represents the curtailment penalty factor for node <italic>i</italic> at time <italic>t</italic>. <italic>N</italic><sub><italic>s</italic></sub> represents the number of scenarios. <inline-formula><mml:math id="M28"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>R</mml:mi><mml:mi>E</mml:mi><mml:mo>,</mml:mo><mml:mi>f</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M29"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>R</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represent the forecasted and actual output of renewable energy units.</p>
<p>This comprehensive cost formulation captures the multiple value streams and operational considerations in a renewable energy grid with EHESS [<xref ref-type="bibr" rid="B31">31</xref>]. The flexibility penalty cost is calculated as:</p>
<disp-formula id="EQ12"><mml:math id="M30"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>F</mml:mi><mml:mi>L</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munderover></mml:mstyle><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>u</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:mi>u</mml:mi><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(12)</label></disp-formula>
<p>where <italic>c</italic><sub><italic>up</italic></sub>, <italic>c</italic><sub><italic>down</italic></sub> represent the penalty factors for upward and downward flexibility deficits. <italic>W</italic><sub><italic>up, t</italic></sub>, <italic>W</italic><sub><italic>down, t</italic></sub> represent the magnitudes of load shedding and renewable energy curtailment.</p>
<p>The flexibility penalty cost incentivizes sufficient flexibility resources by penalizing operational states that require load shedding or renewable energy curtailment.</p>
</sec>
<sec>
<label>4.1.2</label>
<title>Constraints</title>
<p>The operational constraints for electrolyzers and fuel cells are:</p>
<disp-formula id="EQ13"><mml:math id="M31"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mtext>&#x000A0;</mml:mtext><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>E</mml:mi><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(13)</label></disp-formula>
<disp-formula id="EQ14"><mml:math id="M32"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mi>u</mml:mi><mml:mi>e</mml:mi><mml:mi>l</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mtext>&#x000A0;</mml:mtext><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mi>u</mml:mi><mml:mi>e</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mi>u</mml:mi><mml:mi>e</mml:mi><mml:mi>l</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(14)</label></disp-formula>
<p>where <italic>P</italic><sub><italic>ET, max</italic></sub>, <italic>P</italic><sub><italic>ET, min</italic></sub> represent the upper and lower limits of the rated power of ET. <italic>P</italic><sub><italic>fuel, max</italic></sub>, <italic>P</italic><sub><italic>fuel, min</italic></sub> represent the upper and lower limits of the rated capacity of PEMFC.</p>
<p>These constraints ensure that the power conversion equipment operates within its design limitations. The operational constraints for battery energy storage are:</p>
<disp-formula id="EQ15"><mml:math id="M33"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi><mml:mi>E</mml:mi><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mtext>&#x000A0;</mml:mtext></mml:mtd><mml:mtd><mml:mo>&#x02264;</mml:mo></mml:mtd><mml:mtd><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi><mml:mi>E</mml:mi><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi><mml:mi>E</mml:mi><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(15)</label></disp-formula>
<disp-formula id="EQ16"><mml:math id="M34"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>S</mml:mi><mml:mi>O</mml:mi><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi><mml:mi>E</mml:mi><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mtext>&#x000A0;</mml:mtext></mml:mtd><mml:mtd><mml:mo>&#x02264;</mml:mo></mml:mtd><mml:mtd><mml:mi>S</mml:mi><mml:mi>O</mml:mi><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi><mml:mi>E</mml:mi><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02264;</mml:mo><mml:mi>S</mml:mi><mml:mi>O</mml:mi><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi><mml:mi>E</mml:mi><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mi>a</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(16)</label></disp-formula>
<p>where <italic>P</italic><sub><italic>BES, max</italic></sub>, <italic>P</italic><sub><italic>BES, min</italic></sub> represent the upper and lower limits of BES rated power. <italic>E</italic><sub><italic>BES, max</italic></sub>, <italic>E</italic><sub><italic>BES, min</italic></sub> represent the upper and lower limits of BES rated capacity. <italic>SOC</italic><sub><italic>BES, min</italic></sub>, <italic>SOC</italic><sub><italic>BES, max</italic></sub> represent the minimum and maximum values of BES state of charge. <italic>P</italic><sub><italic>BES, t, n</italic></sub>, <italic>E</italic><sub><italic>BES, t, n</italic></sub>, <italic>SOC</italic><sub><italic>BES, t</italic></sub> represent the power, capacity, and state of charge of the <italic>n</italic>-th BES in time period <italic>t</italic>.</p>
<p>These constraints ensure proper operation of battery systems while preserving battery life through appropriate state-of-charge management.</p>
</sec>
</sec>
<sec>
<label>4.2</label>
<title>Lower layer planning model</title>
<p>The lower layer planning optimizes the operation of the configured EHESS. While the conceptual goal is to simultaneously minimize operation costs and maximize flexibility margins, we solve this bi-objective problem operationally using the Penalty Function Method.</p>
<p>We introduce a Flexibility Penalty Cost (<italic>C</italic><sub><italic>FL</italic></sub>) into the objective function. This transforms the maximization of flexibility margins into the minimization of penalty costs associated with flexibility deficits. Thus, the lower-layer problem is formulated as a single-objective minimization:</p>
<disp-formula id="EQ17"><mml:math id="M35"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mo class="qopname">min</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>O</mml:mi><mml:mi>P</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>F</mml:mi><mml:mi>L</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(17)</label></disp-formula>
<p>where <italic>C</italic><sub><italic>OP</italic></sub> includes grid interaction costs, fuel costs, and maintenance costs (<xref ref-type="disp-formula" rid="EQ11">Equation 11</xref>), and <italic>C</italic><sub><italic>FL</italic></sub> penalizes any negative deviation in the flexibility margin (<xref ref-type="disp-formula" rid="EQ12">Equation 12</xref>). By assigning appropriate penalty coefficients (<italic>c</italic><sub><italic>up</italic></sub>, <italic>c</italic><sub><italic>down</italic></sub>), the solver is driven to find an operational schedule that maximizes flexibility (avoiding penalties) while minimizing standard operating expenses.</p>
<p>The AC power flow constraints are modeled as:</p>
<disp-formula id="EQ18"><mml:math id="M36"><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>u</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:munder><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mstyle><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>v</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:munder><mml:mrow><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mi>k</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup></mml:mrow></mml:mstyle><mml:mo>+</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>j</mml:mi><mml:mi>t</mml:mi></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>u</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:munder><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>Q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mi>U</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi></mml:msubsup><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mstyle><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>v</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:munder><mml:mrow><mml:msubsup><mml:mi>Q</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mi>k</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup></mml:mrow></mml:mstyle><mml:mo>+</mml:mo><mml:msubsup><mml:mi>Q</mml:mi><mml:mi>j</mml:mi><mml:mi>t</mml:mi></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi>U</mml:mi><mml:mi>j</mml:mi><mml:mi>t</mml:mi></mml:msubsup><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:mn>2</mml:mn><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup><mml:mo>+</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mi>Q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup><mml:mo stretchy='false'>)</mml:mo><mml:mo>+</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mn>2</mml:mn></mml:msubsup><mml:mo>+</mml:mo><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mn>2</mml:mn></mml:msubsup><mml:mo stretchy='false'>)</mml:mo><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi>P</mml:mi><mml:mi>j</mml:mi><mml:mi>t</mml:mi></mml:msubsup><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>a</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup><mml:mo>+</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mi>L</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi>Q</mml:mi><mml:mi>j</mml:mi><mml:mi>t</mml:mi></mml:msubsup><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:msubsup><mml:mi>Q</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>a</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup><mml:mo>+</mml:mo><mml:msubsup><mml:mi>Q</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mi>L</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mi>Q</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup><mml:mn>2</mml:mn><mml:msubsup><mml:mi>Q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup></mml:mrow><mml:mrow><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi></mml:msubsup></mml:mrow></mml:mfrac><mml:mo>&#x02264;</mml:mo><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup><mml:mo>+</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:msubsup><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi>U</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi></mml:msubsup><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi></mml:msubsup><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow></mml:math><label>(18)</label></disp-formula>
<p>where <italic>r</italic><sub><italic>ij</italic></sub>, <italic>x</italic><sub><italic>ij</italic></sub> represent the resistance and reactance of branch <italic>ij</italic>. <italic>u</italic>(<italic>j</italic>), <italic>v</italic>(<italic>j</italic>) represent the set of nodes with branch <italic>j</italic> as the terminal node. <inline-formula><mml:math id="M37"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M38"><mml:msubsup><mml:mrow><mml:mi>Q</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M39"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M40"><mml:msubsup><mml:mrow><mml:mi>Q</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represent the active and reactive input power at node <italic>j</italic> and the active and reactive output power of branch <italic>ij</italic>. <inline-formula><mml:math id="M41"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M42"><mml:msubsup><mml:mrow><mml:mi>Q</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represent the active and reactive power exchanged between the main grid and the renewable energy grid. <inline-formula><mml:math id="M43"><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M44"><mml:msubsup><mml:mrow><mml:mi>U</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represent the squared values of branch current and node voltage. <inline-formula><mml:math id="M45"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>a</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M46"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M47"><mml:msubsup><mml:mrow><mml:mi>Q</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>a</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M48"><mml:msubsup><mml:mrow><mml:mi>Q</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represent the ordinary load and demand-side response load active and reactive power at node <italic>j</italic>.</p>
<p>These constraints ensure that the power system operates within physical limits while satisfying Kirchhoff&#x00027;s laws.</p>
</sec>
</sec>
<sec id="s5">
<label>5</label>
<title>Distributed robust optimization planning model for electro-hydrogen storage in renewable energy grids</title>
<p>To address the inherent uncertainties in renewable energy systems, we develop a distributed robust optimization planning model for electro-hydrogen energy storage.</p>
<sec>
<label>5.1</label>
<title>Distributed robust optimization model</title>
<p>Based on the distributed robust optimization method [<xref ref-type="bibr" rid="B32">32</xref>], the planning model considering flexibility for electro-hydrogen energy storage in renewable energy grids can be written as:</p>
<disp-formula id="EQ19"><mml:math id="M49"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mo class="qopname">min</mml:mo></mml:mrow><mml:mrow><mml:mi>x</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>X</mml:mi></mml:mrow></mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mo class="qopname">max</mml:mo></mml:mrow><mml:mrow><mml:mi>P</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mrow><mml:mstyle mathvariant="script"><mml:mi>P</mml:mi></mml:mstyle></mml:mrow></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mstyle mathvariant="double-struck"><mml:mi>E</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>P</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo class="qopname">min</mml:mo></mml:mrow><mml:mrow><mml:mi>y</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mo>&#x003A9;</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x003BE;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(19)</label></disp-formula>
<p>where <italic>x</italic>, <italic>X</italic> represent the decision variables and feasible region of Stage 1. <italic>g</italic>(<italic>x</italic>), &#x003BE; represent the objective function of Stage 1 and uncertainty variables. <inline-formula><mml:math id="M50"><mml:mrow><mml:mstyle mathvariant="script"><mml:mi>P</mml:mi></mml:mstyle></mml:mrow></mml:math></inline-formula> represents the probability distribution function of &#x003BE;. <italic>y</italic> represents the decision variables of Stage 2. &#x003A9;(<italic>x</italic>, &#x003BE;) represents the feasible region of <italic>y</italic>. <italic>f</italic>(<italic>y</italic>) represents the objective function of Stage 2. &#x1D53C;<sub><italic>P</italic></sub>(&#x000B7;) represents the expectation function under distribution function <italic>P</italic>.</p>
<p>This formulation enables decision-making under uncertainty by considering a range of possible scenarios rather than relying on point forecasts.</p>
</sec>
<sec>
<label>5.2</label>
<title>Wasserstein distance-based ambiguity set</title>
<p>Let <italic>W</italic>(<italic>P</italic><sub>1</sub>, <italic>P</italic><sub>2</sub>) represent the Wasserstein distance between distributions <italic>P</italic><sub>1</sub> and <italic>P</italic><sub>2</sub>, defined as:</p>
<disp-formula id="EQ20"><mml:math id="M51"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>W</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mo class="qopname">min</mml:mo></mml:mrow><mml:mrow><mml:mo>&#x0220F;</mml:mo><mml:mi>&#x003F5;</mml:mi><mml:msup><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>W</mml:mi></mml:mrow></mml:msup><mml:mo>&#x000D7;</mml:mo><mml:msup><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>W</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:msub><mml:mo>&#x0222B;</mml:mo><mml:mo>&#x02016;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003BE;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003BE;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x02016;</mml:mo><mml:mo>&#x0220F;</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mrow><mml:mi>&#x003BE;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mi>d</mml:mi><mml:msub><mml:mrow><mml:mi>&#x003BE;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(20)</label></disp-formula>
<p>Where &#x003A0; represents the joint distribution of <italic>P</italic><sub>1</sub> and <italic>P</italic><sub>2</sub>. <italic>S</italic><sub><italic>ES, t</italic></sub>, <italic>S</italic><sub><italic>ES, t</italic>&#x02212;1</sub> represents the distance between &#x003BE;<sub>1</sub> and&#x003BE;<sub>2</sub>.</p>
<p>The ambiguity set <inline-formula><mml:math id="M52"><mml:mrow><mml:mstyle mathvariant="script"><mml:mi>P</mml:mi></mml:mstyle></mml:mrow></mml:math></inline-formula> for the EHESS planning model can be written as:</p>
<disp-formula id="EQ21"><mml:math id="M53"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:mstyle mathvariant="script"><mml:mi>P</mml:mi></mml:mstyle></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>P</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mrow><mml:mstyle mathvariant="script"><mml:mi>M</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003D6;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>:</mml:mo><mml:mi>W</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02264;</mml:mo><mml:mi>&#x003C1;</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(21)</label></disp-formula>
<p>where <inline-formula><mml:math id="M54"><mml:mrow><mml:mstyle mathvariant="script"><mml:mi>M</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003D6;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> represents the set of all distributions on the polyhedron. <inline-formula><mml:math id="M55"><mml:mi>&#x003D6;</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>&#x003BE;</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mstyle mathvariant="script"><mml:mi>R</mml:mi></mml:mstyle></mml:mrow></mml:mrow><mml:mrow><mml:mi>W</mml:mi></mml:mrow></mml:msup><mml:mo>:</mml:mo><mml:mi>H</mml:mi><mml:mi>&#x003BE;</mml:mi><mml:mo>&#x02264;</mml:mo><mml:mi>h</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></inline-formula> is the polyhedron.</p>
<p>The Wasserstein distance-based ambiguity set allows us to account for distributional uncertainty in renewable energy outputs, providing robustness against forecasting errors and variability.</p>
</sec>
<sec>
<label>5.3</label>
<title>Linear approximation of the model</title>
<p>For ease of description, the electro-hydrogen energy storage planning model can be rewritten in the following abstract form:</p>
<disp-formula id="EQ22"><mml:math id="M56"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mo class="qopname">min</mml:mo></mml:mrow><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mo class="MathClass-ord">&#x025A1;</mml:mo></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msup><mml:mi>x</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mo class="qopname">max</mml:mo></mml:mrow><mml:mrow><mml:mi>P</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mrow><mml:mstyle mathvariant="script"><mml:mi>P</mml:mi></mml:mstyle></mml:mrow></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mstyle mathvariant="double-struck"><mml:mi>E</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>P</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:mi>Y</mml:mi><mml:msup><mml:mrow><mml:mi>&#x003BE;</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(22)</label></disp-formula>
<p>subject to:</p>
<disp-formula id="EQ23"><mml:math id="M57"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mo class="qopname">min</mml:mo></mml:mrow><mml:mrow><mml:mi>P</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mrow><mml:mstyle mathvariant="script"><mml:mi>P</mml:mi></mml:mstyle></mml:mrow></mml:mrow></mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msup><mml:mrow><mml:mi>&#x003BE;</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msup><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mrow><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>&#x02265;</mml:mo><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B1;</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x02200;</mml:mo><mml:mi>j</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>J</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(23)</label></disp-formula>
<p>where &#x025A1; represents the feasible region of the first-stage decision variables. <italic>A</italic><sub><italic>j</italic></sub>(<italic>Y</italic>), <italic>b</italic><sub><italic>j</italic></sub>(<italic>x</italic>) represent the corresponding matrix and vector. <italic>j</italic>&#x02208;<italic>J</italic>&#x0225C;{<italic>GG, GD</italic>}, with GG and GD representing unit and network constraints, respectively.</p>
<p>The feasible region of the second-stage objective function in the distributed robust planning is:</p>
<disp-formula id="EQ24"><mml:math id="M58"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>C</mml:mi><mml:mi>C</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0225C;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>Y</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>:</mml:mo><mml:msub><mml:mrow><mml:mo class="qopname">min</mml:mo></mml:mrow><mml:mrow><mml:mi>P</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mrow><mml:mstyle mathvariant="script"><mml:mi>P</mml:mi></mml:mstyle></mml:mrow></mml:mrow></mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>&#x003BE;</mml:mi><mml:mo>&#x02264;</mml:mo><mml:mi>b</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>&#x02265;</mml:mo><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:mi>&#x003B1;</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(24)</label></disp-formula>
<p>This linearization facilitates the solution process while maintaining the key characteristics of the original model.</p>
</sec>
<sec>
<label>5.4</label>
<title>Objective function reconstruction</title>
<p>Applying duality theory, we transform the maximization problem in the distributed robust model into a minimization problem, converting (<xref ref-type="disp-formula" rid="EQ19">Equation 19</xref>) into:</p>
<disp-formula id="EQ25"><mml:math id="M59"><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>max</mml:mi></mml:mrow><mml:mrow><mml:mi>P</mml:mi><mml:mo>&#x02208;</mml:mo></mml:mrow></mml:msub><mml:msub><mml:mstyle mathvariant='double-struck'><mml:mi>E</mml:mi></mml:mstyle><mml:mi>P</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msup><mml:mi>c</mml:mi><mml:mi>T</mml:mi></mml:msup><mml:mi>Y</mml:mi><mml:msup><mml:mi>&#x003BE;</mml:mi><mml:mi>t</mml:mi></mml:msup><mml:mo stretchy='false'>)</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>min</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mo>&#x003BB;</mml:mo><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>&#x003B3;</mml:mi><mml:mn>0</mml:mn></mml:msub></mml:mrow></mml:msub><mml:msub><mml:mo>&#x003BB;</mml:mo><mml:mn>0</mml:mn></mml:msub><mml:mi>&#x003C1;</mml:mi><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mi>N</mml:mi></mml:mfrac><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>N</mml:mi></mml:mrow></mml:munder><mml:mrow><mml:msubsup><mml:mi>s</mml:mi><mml:mi>i</mml:mi><mml:mn>0</mml:mn></mml:msubsup></mml:mrow></mml:mstyle></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mtext>s.t.&#x02003;</mml:mtext><mml:msup><mml:mi>c</mml:mi><mml:mi>T</mml:mi></mml:msup><mml:mi>Y</mml:mi><mml:msub><mml:mi>&#x003BE;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msubsup><mml:mi>&#x003B3;</mml:mi><mml:mi>i</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>h</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mi>H</mml:mi><mml:msub><mml:mi>&#x003BE;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mo>&#x02264;</mml:mo><mml:msubsup><mml:mi>s</mml:mi><mml:mi>i</mml:mi><mml:mn>0</mml:mn></mml:msubsup><mml:mo>,</mml:mo><mml:mo>&#x02200;</mml:mo><mml:mi>i</mml:mi><mml:mo>&#x02264;</mml:mo><mml:mi>N</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msup><mml:mi>H</mml:mi><mml:mi>T</mml:mi></mml:msup><mml:msubsup><mml:mi>&#x003B3;</mml:mi><mml:mi>i</mml:mi><mml:mn>0</mml:mn></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:msup><mml:mi>Y</mml:mi><mml:mi>T</mml:mi></mml:msup><mml:mi>c</mml:mi><mml:mtext>&#x000A0;</mml:mtext><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mo>&#x003BB;</mml:mo><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x02200;</mml:mo><mml:mi>i</mml:mi><mml:mo>&#x02264;</mml:mo><mml:mi>N</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi>&#x003B3;</mml:mi><mml:mi>i</mml:mi><mml:mn>0</mml:mn></mml:msubsup><mml:mtext>&#x000A0;</mml:mtext><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mi>&#x0211B;</mml:mi><mml:mo>+</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>K</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mo>&#x02200;</mml:mo><mml:mi>i</mml:mi><mml:mo>&#x02264;</mml:mo><mml:mi>N</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mo>&#x003BB;</mml:mo><mml:mn>0</mml:mn></mml:msub><mml:mtext>&#x000A0;</mml:mtext><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>&#x0211B;</mml:mi><mml:mo>+</mml:mo></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>&#x02208;</mml:mo><mml:msup><mml:mi>&#x0211B;</mml:mi><mml:mi>N</mml:mi></mml:msup><mml:mo>,</mml:mo><mml:mo>&#x02200;</mml:mo><mml:mi>i</mml:mi><mml:mo>&#x02264;</mml:mo><mml:mi>N</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow></mml:math><label>(25)</label></disp-formula>
<p>where &#x003BB;<sub>0</sub>, <italic>s</italic><sub>0</sub>, <inline-formula><mml:math id="M60"><mml:msubsup><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> represent auxiliary variables in duality theory. <italic>N</italic> represents the number of training samples. <italic>t</italic> represents the dual norm of <italic>t</italic>&#x02212;1.</p>
<p>This transformation produces a computationally tractable formulation of the robust optimization problem.</p>
</sec>
<sec>
<label>5.5</label>
<title>Constraint reconstruction</title>
<p>We decompose matrix <italic>A</italic>(<italic>Y</italic>) and vector <italic>b</italic>(<italic>x</italic>) as:</p>
<disp-formula id="EQ26"><mml:math id="M61"><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>A</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mi>Y</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mo stretchy='false'>[</mml:mo><mml:msub><mml:mi>a</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>Y</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:mn>...</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mi>a</mml:mi><mml:mi>M</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>Y</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>]</mml:mo></mml:mrow><mml:mi>T</mml:mi></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>b</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mo stretchy='false'>[</mml:mo><mml:msub><mml:mi>b</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:mn>...</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mi>b</mml:mi><mml:mi>M</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>]</mml:mo></mml:mrow><mml:mi>T</mml:mi></mml:msup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow></mml:math><label>(26)</label></disp-formula>
<p>For computational efficiency, we use the Bonferroni inequality to decompose the original constraints into $m$ more manageable constraints, approximating the feasible region &#x003A9;<sub><italic>CC</italic></sub> as &#x003A9;<sub><italic>B</italic></sub>:</p>
<disp-formula id="EQ27"><mml:math id="M62"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:msub><mml:mo>&#x003A9;</mml:mo><mml:mi>B</mml:mi></mml:msub><mml:mo>&#x0225C;</mml:mo><mml:mo>&#x0007B;</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>Y</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>:</mml:mo><mml:msub><mml:mi>min</mml:mi><mml:mrow><mml:mi>P</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mstyle mathvariant="script"><mml:mi>P</mml:mi></mml:mstyle></mml:mrow></mml:msub><mml:mi>P</mml:mi><mml:mo stretchy='false'>[</mml:mo><mml:msub><mml:mi>a</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>Y</mml:mi><mml:msup><mml:mo stretchy='false'>)</mml:mo><mml:mi>T</mml:mi></mml:msup><mml:mi>&#x003BE;</mml:mi><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mi>b</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>]</mml:mo><mml:mo>&#x02265;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>&#x003B1;</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x02200;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x02264;</mml:mo><mml:mi>M</mml:mi><mml:mo>&#x0007D;</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(27)</label></disp-formula>
<p>According to the CVaR theorem in [<xref ref-type="bibr" rid="B33">33</xref>], the feasible region &#x003A9;<sub><italic>B</italic></sub> can be written as:</p>
<disp-formula id="EQ28"><mml:math id="M64"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mo>&#x003A9;</mml:mo></mml:mrow><mml:mrow><mml:mi>B</mml:mi><mml:mi>C</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0225C;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>Y</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>:</mml:mo><mml:msub><mml:mrow><mml:mo class="qopname">min</mml:mo></mml:mrow><mml:mrow><mml:mi>P</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mrow><mml:mstyle mathvariant="script"><mml:mi>P</mml:mi></mml:mstyle></mml:mrow></mml:mrow></mml:msub><mml:mi>P</mml:mi><mml:mtext class="textrm" mathvariant="normal">-CVa</mml:mtext><mml:msub><mml:mrow><mml:mtext class="textrm" mathvariant="normal">R</mml:mtext></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003B1;</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msup><mml:mi>&#x003BE;</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>&#x02264;</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math><label>(28)</label></disp-formula>
<p>Based on Theorem 2 in [<xref ref-type="bibr" rid="B34">34</xref>], (<xref ref-type="disp-formula" rid="EQ28">Equation 28</xref>) can be transformed into:</p>
<disp-formula id="EQ29"><mml:math id="M65"><mml:mrow><mml:msub><mml:mo>&#x003A9;</mml:mo><mml:mrow><mml:mi>B</mml:mi><mml:mi>C</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0225C;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>Y</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>&#x02208;</mml:mo><mml:msup><mml:mi>&#x0211B;</mml:mi><mml:mrow><mml:mn>3</mml:mn><mml:mi>G</mml:mi><mml:mo>+</mml:mo><mml:mi>K</mml:mi></mml:mrow></mml:msup><mml:mo>&#x000D7;</mml:mo><mml:msup><mml:mi>&#x0211B;</mml:mi><mml:mrow><mml:mi>G</mml:mi><mml:mo>&#x000D7;</mml:mo><mml:mi>K</mml:mi></mml:mrow></mml:msup><mml:mo>:</mml:mo><mml:msub><mml:mo>&#x003BB;</mml:mo><mml:mi>m</mml:mi></mml:msub><mml:mi>&#x003C1;</mml:mi><mml:mo>+</mml:mo><mml:msup><mml:mi>N</mml:mi><mml:mrow><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>N</mml:mi></mml:mrow></mml:munder><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>&#x02200;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x02264;</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x02200;</mml:mo><mml:mi>i</mml:mi><mml:mo>&#x02264;</mml:mo><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mo>&#x02200;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x02264;</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi>a</mml:mi><mml:mi>m</mml:mi><mml:mi>T</mml:mi></mml:msubsup><mml:msub><mml:mi>&#x003BE;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>b</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>&#x003B1;</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mi>&#x003B1;</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:msubsup><mml:mi>&#x003B3;</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow><mml:mi>T</mml:mi></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>h</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mi>H</mml:mi><mml:msub><mml:mi>&#x003BE;</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mi>&#x003B1;</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mi>&#x003B1;</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:msub><mml:mi>s</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x02200;</mml:mo><mml:mi>i</mml:mi><mml:mo>&#x02264;</mml:mo><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mo>&#x02200;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x02264;</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msup><mml:mi>H</mml:mi><mml:mi>T</mml:mi></mml:msup><mml:msub><mml:mi>&#x003B3;</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mo>&#x02016;</mml:mo><mml:mrow><mml:msub><mml:mi>a</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow><mml:mo>&#x02016;</mml:mo></mml:mrow></mml:mrow><mml:mo>*</mml:mo></mml:msub><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mi>&#x003B1;</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:msub><mml:mo>&#x003BB;</mml:mo><mml:mi>m</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x02200;</mml:mo><mml:mi>i</mml:mi><mml:mo>&#x02264;</mml:mo><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mo>&#x02200;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x02264;</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>&#x003B3;</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mi>&#x0211B;</mml:mi><mml:mo>+</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>M</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mo>&#x02200;</mml:mo><mml:mi>i</mml:mi><mml:mo>&#x02264;</mml:mo><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mo>&#x02200;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x02264;</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>&#x003C4;</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msup><mml:mi>&#x0211B;</mml:mi><mml:mi>M</mml:mi></mml:msup><mml:mo>,</mml:mo><mml:mo>&#x003BB;</mml:mo><mml:mo>&#x02208;</mml:mo><mml:msup><mml:mi>&#x0211B;</mml:mi><mml:mi>M</mml:mi></mml:msup><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msup><mml:mi>&#x0211B;</mml:mi><mml:mrow><mml:mi>N</mml:mi><mml:mo>&#x000D7;</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow></mml:math><label>(29)</label></disp-formula>
<p>The proposed distributed robust optimization model for electro-hydrogen energy storage planning is implemented in MATLAB R2016b (MathWorks, Natick, MA, United States) and solved using the CPLEX solver, providing an efficient computational framework for practical applications.</p>
</sec>
</sec>
<sec id="s6">
<label>6</label>
<title>Case study and numerical results</title>
<sec>
<label>6.1</label>
<title>Test system and data description</title>
<p>This study uses a modified IEEE 33-node system based on a renewable energy grid in Liaoning Province, China, as the test case. The network topology is illustrated in <xref ref-type="fig" rid="F2">Figure 2</xref>, which includes wind turbines (WT), photovoltaic systems (PV), and controllable loads (CL) at various nodes. The system integrates both renewable generation sources and flexible demand-side resources, representing a typical modern distribution network with high renewable penetration. To represent the uncertainty of renewable generation, we utilized historical data from the Liaoning Province grid. We applied K-means clustering to generate typical scenarios. To avoid arbitrary scenario selection, we employed the Elbow Method to determine the optimal number of clusters. The analysis of the sum of squared errors (SSE) indicated that <italic>K</italic> = 4 provides the optimal balance between scenario representativeness and computational efficiency for the robust optimization model.</p>
<fig position="float" id="F2">
<label>Figure 2</label>
<caption><p>Schematic diagram of the modified IEEE 33-node system illustrating the integration locations of renewable energy sources (WT, PV) and controllable loads (CL). This figure depicts component placement and does not represent the complete electrical connectivity of the standard IEEE 33-bus radial feeder system.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-12-1774262-g0002.tif">
<alt-text content-type="machine-generated">Diagram showing a network of thirty-three numbered nodes connected by lines, some forming branches. Nodes are labeled PV, WT, and CL at specific junctions for photovoltaic, water tank, and control load locations.</alt-text>
</graphic>
</fig>
<p>The economic parameters used in this study are based on market data and industry standards. The demand-side load cost is set at 0.1 yuan/(kW&#x000B7;h). For Battery Energy Storage (BES), the investment cost is 1,130 yuan/kW, and the operation cost is 0.74 yuan/kW. The investment costs for the Electrolyzer (ET) and Proton Exchange Membrane Fuel Cell (PEMFC) are 2,340 yuan/kW and 1,410 yuan/kW, respectively. These parameters reflect the current market conditions and technological maturity of each component in the electro-hydrogen energy storage system.</p>
<p>The renewable generation and load data utilized in this study originate from actual operational records of a regional power grid in Liaoning Province, China, spanning the year 2022 with hourly temporal resolution. The dataset comprises 8,760 observations for each variable, including wind power output from wind farms with a combined capacity of 45 MW, photovoltaic generation from distributed installations totaling 12 MW, and aggregated load demand from mixed residential-commercial consumers. All data were collected through the grid operator&#x00027;s SCADA system (the SCADA system refers to the grid operator&#x00027;s existing supervisory control and data acquisition infrastructure used for data collection&#x02014;it is not a specific commercial product purchased by the authors, so manufacturer details are not applicable). The wind power data exhibit characteristic patterns typical of northern China, with higher output during winter and nighttime hours, while photovoltaic profiles follow expected solar irradiance patterns. The load profiles display a double-peak pattern with morning and evening peaks, alongside seasonal variations driven by heating and cooling demands.</p>
</sec>
<sec>
<label>6.2</label>
<title>Scenario generation</title>
<p>To account for the stochastic nature of renewable energy resources and load variations, we employed K-means clustering on historical operational data from the Liaoning Province grid. The raw dataset comprising 365 daily profiles was normalized to eliminate scale differences among variables. The optimal number of clusters was determined using the elbow method combined with silhouette coefficient analysis, indicating that four representative scenarios provide an appropriate balance between computational tractability and statistical fidelity. Each cluster centroid represents a typical daily pattern, with probability weights corresponding to the proportion of historical days in each cluster. The four scenarios capture: (i) high-solar, moderate-wind days in spring and autumn (probability 0.28); (ii) low-solar, high-wind winter days (probability 0.31); (iii) moderate renewable output with average loads (probability 0.25); and (iv) peak-load days with below-average renewable generation (probability 0.16). This approach preserves the statistical characteristics of the original dataset while reducing computational burden.</p>
<p>As shown in <xref ref-type="fig" rid="F3">Figure 3</xref>, photovoltaic output follows a bell-shaped curve with peak generation occurring around midday, reaching approximately 1,750 kW in the highest scenario. The intermittent nature of PV generation is evident, with zero output during nighttime hours. <xref ref-type="fig" rid="F4">Figure 4</xref> illustrates the wind power profiles, which exhibit less predictable patterns with generation capacity ranging from 650 kW to 2,900 kW across different scenarios. Wind power tends to be higher during nighttime and early morning hours in this region. Load profiles in <xref ref-type="fig" rid="F5">Figure 5</xref> display the characteristic double-peak pattern of residential and commercial consumption, with morning and evening peaks reaching up to 3,200 kW in high-demand scenarios.</p>
<fig position="float" id="F3">
<label>Figure 3</label>
<caption><p>Typical photovoltaic output scenarios.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-12-1774262-g0003.tif">
<alt-text content-type="machine-generated">Line graph comparing power output in kilowatts across four scenarios over twenty-four hours, with power peaking between ten and fourteen hours then declining, Scenario 3 showing the highest peak and Scenario 4 the lowest.</alt-text>
</graphic>
</fig>
<fig position="float" id="F4">
<label>Figure 4</label>
<caption><p>Typical wind power output scenarios.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-12-1774262-g0004.tif">
<alt-text content-type="machine-generated">Line graph showing four scenarios of power consumption in kilowatts over a twenty-four hour period. All scenarios follow a similar pattern, peaking around hour six and reaching a minimum near hour fifteen before rising again. Scenario 3 records the highest values while Scenario 2 is consistently the lowest. Scenario 1 and Scenario 4 fall between the two extremes. Legend distinguishes each scenario by color.</alt-text>
</graphic>
</fig>
<fig position="float" id="F5">
<label>Figure 5</label>
<caption><p>Typical load scenarios.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-12-1774262-g0005.tif">
<alt-text content-type="machine-generated">Line graph comparing power consumption in kilowatts across four scenarios over twenty-four hours, showing all scenarios peaking around eighteen hours, with Scenario 2 consistently lower and Scenario 3 consistently higher than others.</alt-text>
</graphic>
</fig>
</sec>
<sec>
<label>6.3</label>
<title>Comparison schemes and analysis</title>
<p>To validate the effectiveness and economic efficiency of the proposed electro-hydrogen energy storage planning model for renewable energy grids, we established three comparative schemes:</p>
<list list-type="bullet">
<list-item><p>Scheme 1: Baseline scenario without flexibility consideration and without EHESS, calculating the economic performance of the current renewable energy grid using our model.</p></list-item>
<list-item><p>Scheme 2: Introduction of EHESS to the renewable energy grid with optimization of EHESS configuration but without explicit consideration of flexibility.</p></list-item>
<list-item><p>Scheme 3: Implementation of the proposed robust optimization planning method for electro-hydrogen energy storage that considers system flexibility.</p></list-item>
</list>
<sec>
<label>6.3.1</label>
<title>Flexibility margin analysis</title>
<p><xref ref-type="fig" rid="F6">Figures 6</xref>, <xref ref-type="fig" rid="F7">7</xref> illustrate the upward and downward flexibility margin indicators of the three schemes. Significant differences are observed.</p>
<fig position="float" id="F6">
<label>Figure 6</label>
<caption><p>Upward flexibility margin indicators for the three schemes.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-12-1774262-g0006.tif">
<alt-text content-type="machine-generated">Line chart comparing power in kilowatts over 24 hours for three schemes. Scheme 1, Scheme 2, and Scheme 3 all peak around 13 hours, with Scheme 3 consistently highest and Scheme 1 lowest. A red dashed line at zero kilowatts indicates the threshold between positive and negative values.</alt-text>
</graphic>
</fig>
<fig position="float" id="F7">
<label>Figure 7</label>
<caption><p>Downward flexibility margin indicators for the three schemes.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-12-1774262-g0007.tif">
<alt-text content-type="machine-generated">Line graph comparing power in kilowatts over twenty-four hours for three schemes, with Scheme 1 in blue, Scheme 2 in orange, and Scheme 3 in green, showing distinct peaks near hour nine and valleys near hour fifteen. A dashed red line marks the zero kilowatt level.</alt-text>
</graphic>
</fig>
<p>Scheme 1, without EHESS or flexibility-oriented planning, exhibits persistent flexibility deficits throughout the day. Both upward and downward margins frequently fall below zero, indicating the system&#x00027;s inability to accommodate renewable variability or load fluctuations without curtailment or load shedding. Scheme 2, which incorporates EHESS without explicitly considering flexibility, improves flexibility margins relative to Scheme 1; however, deficits remain during early morning and evening peak periods, particularly when photovoltaic output is low. In contrast, Scheme 3 achieves the most favorable performance. Its upward flexibility margin remains positive for most hours, with only minor deficits during late evening, while the downward flexibility margin shows substantially fewer and smaller negative values.</p>
<p>These results demonstrate that explicitly incorporating flexibility into EHESS planning effectively enhances both upward and downward regulation capability through optimized placement and sizing.</p>
</sec>
<sec>
<label>6.3.2</label>
<title>EHESS configuration results</title>
<p><xref ref-type="table" rid="T1">Table 1</xref> presents the optimized EHESS configurations for Schemes 2 and 3. The two schemes exhibit notable differences in installation locations and component allocation.</p>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p>Optimized EHESS configuration results.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th valign="top" align="left"><bold>Component</bold></th>
<th valign="top" align="center" colspan="4"><bold>Scheme 2</bold></th>
<th valign="top" align="center" colspan="4"><bold>Scheme 3</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Installation node</td>
<td valign="top" align="center">8</td>
<td valign="top" align="center">10</td>
<td valign="top" align="center">13</td>
<td valign="top" align="center">17</td>
<td valign="top" align="center">6</td>
<td valign="top" align="center">9</td>
<td valign="top" align="center">11</td>
<td valign="top" align="center">19</td>
</tr>
<tr>
<td valign="top" align="left">Fuel cell (kW)</td>
<td valign="top" align="center">130</td>
<td valign="top" align="center">120</td>
<td valign="top" align="center">170</td>
<td valign="top" align="center">137</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">143</td>
<td valign="top" align="center">134</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td valign="top" align="left">Electrolyzer (kW)</td>
<td valign="top" align="center">183</td>
<td valign="top" align="center">164</td>
<td valign="top" align="center">117</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">237</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">143</td>
<td valign="top" align="center">134</td>
</tr>
<tr>
<td valign="top" align="left">Battery storage (kW)</td>
<td valign="top" align="center">164</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">131</td>
<td valign="top" align="center">243</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">270</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr></tbody>
</table>
</table-wrap>
<p>Scheme 2 installs EHESS at nodes 8, 10, 13, and 17, whereas Scheme 3 selects nodes 6, 9, 11, and 19. This shift highlights the influence of flexibility considerations on storage placement. In terms of component composition, Scheme 2 adopts a more dispersed strategy with relatively smaller capacities distributed across multiple nodes, including fuel cells at all locations and battery storage at most nodes. Scheme 3, by contrast, deploys larger and more targeted capacities tailored to local flexibility requirements. For example, node 6 is equipped solely with a high-capacity electrolyzer (237 kW), while node 9 hosts a large battery (270 kW) combined with a fuel cell (143 kW).</p>
<p>These differences reflect Scheme 3&#x00027;s targeted deployment strategy, which aligns EHESS components with spatial and temporal flexibility demands, improving responsiveness while avoiding unnecessary overinvestment.</p>
</sec>
<sec>
<label>6.3.3</label>
<title>Economic performance analysis</title>
<p><xref ref-type="table" rid="T2">Table 2</xref> summarizes the economic indicators. The costs are categorized into Investment Cost (capital expenditure for EHESS), Operation Cost (grid purchase, maintenance, losses), and Flexibility Penalty Cost. To address potential concerns regarding the overestimation of penalty costs in our economic analysis, we explicitly clarify the basis for our parameter selection. The penalty coefficients for upward and downward flexibility deficits in this study are strictly calibrated based on the &#x0201C;Two Detailed Rules&#x0201D; (Implementation Rules for Grid Dispatching Management and Ancillary Services Management), which are the prevailing regulatory standards for grid operation in China&#x00027;s Northeast regional power grid. These regulations impose substantial financial penalties for uninstructed deviations, renewable energy curtailment, and load shedding to ensure grid security and stability. For instance, the penalty for renewable curtailment in this region can reach up to 0.4&#x02013;0.5 CNY/kWh, and uninstructed power deviations are penalized even more heavily during peak hours. Therefore, the high flexibility penalty costs observed in Scheme 1 (Baseline) are not an artifact of model overestimation, but a reflection of the real-world economic risks faced by high-renewable grids lacking sufficient regulation capacity. This calibration ensures that our economic assessment aligns with actual grid management practices in China.</p>
<table-wrap position="float" id="T2">
<label>Table 2</label>
<caption><p>Economic performance indicators (10,000 yuan).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th valign="top" align="left"><bold>Cost category</bold></th>
<th valign="top" align="center"><bold>Scheme 1</bold></th>
<th valign="top" align="center"><bold>Scheme 2</bold></th>
<th valign="top" align="center"><bold>Scheme 3</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Total cost</td>
<td valign="top" align="center">3,636.1</td>
<td valign="top" align="center">5,879.1</td>
<td valign="top" align="center">3,249.4</td>
</tr>
<tr>
<td valign="top" align="left">Flexibility penalty cost</td>
<td valign="top" align="center">2,673.1</td>
<td valign="top" align="center">1,123.4</td>
<td valign="top" align="center">378.9</td>
</tr>
<tr>
<td valign="top" align="left">Investment cost</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">2,046.4</td>
<td valign="top" align="center">1,101.1</td>
</tr>
<tr>
<td valign="top" align="left">Operation cost</td>
<td valign="top" align="center">963.0</td>
<td valign="top" align="center">2,709.3</td>
<td valign="top" align="center">1,976.2</td>
</tr></tbody>
</table>
<table-wrap-foot>
<p>The operation costs include grid purchases and maintenance.</p>
</table-wrap-foot>
</table-wrap>
<p>Scheme 1 incurs a total cost of 3,636.1 &#x000D7; 104 yuan, dominated by flexibility penalty costs (73.5%), underscoring the economic impact of insufficient flexibility. Scheme 2 yields the highest total cost (5,879.1 &#x000D7; 104 yuan). Although flexibility penalties are reduced, the benefit is outweighed by excessive investment costs, indicating that storage deployment without flexibility-oriented planning can be economically inefficient. Scheme 3 achieves the lowest total cost at 3,249.4 &#x000D7; 104 yuan. Its flexibility penalty cost is reduced to 378.9 &#x000D7; 104 yuan (11.7% of total cost), while the investment cost is nearly halved relative to Scheme 2. Although operational cost increases due to more frequent EHESS utilization, the overall economic performance is significantly improved.</p>
<p>The cost breakdown in <xref ref-type="fig" rid="F8">Figure 8</xref> indicates that these savings stem from optimized component placement and sizing, reduced renewable curtailment, improved utilization of low-cost renewable energy, and mitigation of power flow volatility, which collectively reduce reliance on grid power purchases and alleviate congestion.</p>
<fig position="float" id="F8">
<label>Figure 8</label>
<caption><p>Economic performance comparison of different schemes.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-12-1774262-g0008.tif">
<alt-text content-type="machine-generated">Bar chart comparing flexibility penalty cost, investment cost, operation cost, and total cost for three schemes. Scheme 2 has the highest total cost at 5079.1, followed by Scheme 1 at 3636.1, and Scheme 3 at 3249.4. Each cost type is represented by a distinct color.</alt-text>
</graphic>
</fig>
</sec>
<sec>
<label>6.3.4</label>
<title>Sensitivity analysis</title>
<p>To further investigate the robustness of our proposed approach, we conducted a sensitivity analysis on key parameters that could impact the planning results. <xref ref-type="fig" rid="F9">Figure 9</xref> illustrates how varying the Wasserstein radius (&#x003C1;) affects the total system cost and flexibility penalty cost in Scheme 3. The sensitivity analysis reveals that as the Wasserstein radius increases, representing greater uncertainty in renewable generation forecasts, the total system cost rises significantly. This is primarily due to increases in both the flexibility penalty cost and the operation cost. With higher uncertainty, the system requires more conservative operational strategies, which increase operational expenses.</p>
<fig position="float" id="F9">
<label>Figure 9</label>
<caption><p>Sensitivity of total system cost and flexibility penalty to Wasserstein radius (&#x003C1;) for Scheme 3.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-12-1774262-g0009.tif">
<alt-text content-type="machine-generated">Line chart comparing total cost, flexibility penalty cost, investment cost, and operation cost versus Wasserstein radius, with total cost rising steeply, operation and investment costs increasing moderately, and flexibility penalty cost slightly increasing. X-axis is Wasserstein radius from zero to zero point two; left Y-axis is total cost in ten thousand yuan, right Y-axis is component costs in ten thousand yuan.</alt-text>
</graphic>
</fig>
<p>Interestingly, the investment cost increases at a slower rate compared to other cost components as the Wasserstein radius increases. This suggests that our proposed method maintains relatively stable investment decisions even under varying degrees of uncertainty, demonstrating the robustness of the planning approach.</p>
</sec>
</sec>
<sec>
<label>6.4</label>
<title>Performance analysis under varying renewable energy penetration rates</title>
<p>As the energy transition progresses, increasing penetration of wind and solar power places growing demands on system flexibility. To evaluate this impact, three renewable penetration scenarios are considered: a Baseline level, a Medium Growth level with a 25% increase in wind and solar output, and a High Growth level with a 50% increase. The optimized economic performance of the three schemes under these scenarios is summarized in <xref ref-type="table" rid="T3">Table 3</xref>.</p>
<table-wrap position="float" id="T3">
<label>Table 3</label>
<caption><p>Economic performance indicators under varying renewable penetration levels (unit: 10,000 yuan).</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th valign="top" align="left"><bold>Cost category</bold></th>
<th valign="top" align="left"><bold>Scenario</bold></th>
<th valign="top" align="center"><bold>Scheme 1</bold></th>
<th valign="top" align="center"><bold>Scheme 2</bold></th>
<th valign="top" align="center"><bold>Scheme 3</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left" rowspan="3">Total cost</td>
<td valign="top" align="left">Baseline</td>
<td valign="top" align="center">3,636.1</td>
<td valign="top" align="center">5,879.1</td>
<td valign="top" align="center">3,249.4</td>
</tr>
 <tr>
<td valign="top" align="left">Medium growth (&#x0002B;25%)</td>
<td valign="top" align="center">5,482.5</td>
<td valign="top" align="center">7,105.8</td>
<td valign="top" align="center">3,915.7</td>
</tr>
 <tr>
<td valign="top" align="left">High growth (&#x0002B;50%)</td>
<td valign="top" align="center">8,159.3</td>
<td valign="top" align="center">9,461.2</td>
<td valign="top" align="center">4,886.5</td>
</tr>
<tr>
<td valign="top" align="left">Operational cost</td>
<td valign="top" align="left">Baseline</td>
<td valign="top" align="center">963.0</td>
<td valign="top" align="center">2,709.3</td>
<td valign="top" align="center">1,976.2</td>
</tr></tbody>
</table>
</table-wrap>
<p>As shown in <xref ref-type="table" rid="T3">Table 3</xref>, total system costs increase with higher renewable penetration for all schemes; however, the magnitude of this increase differs substantially, reflecting their varying abilities to accommodate rising flexibility requirements. Scheme 1, which operates without energy storage, exhibits the most pronounced cost escalation. Its total cost rises from 3,636.1 &#x000D7; 104 yuan in the baseline scenario to 8,159.3 &#x000D7; 104 yuan under high growth, indicating limited capability to cope with the increased variability introduced by renewable generation.</p>
<p>Scheme 2 introduces EHESS but lacks coordinated flexibility-oriented planning. As a result, its total cost remains consistently high across all scenarios, increasing from 5,879.1 &#x000D7; 104 yuan at baseline to 9,461.2 &#x000D7; 104 yuan at the high growth level. This suggests that storage investment alone, without strategic adaptation to flexibility demand, is insufficient to effectively mitigate the economic impacts of higher renewable penetration.</p>
<p>In contrast, Scheme 3 demonstrates superior adaptability and scalability. Its total cost increases more moderately, from 3,249.4 &#x000D7; 104 yuan in the baseline scenario to 4,886.5 &#x000D7; 104 yuan under high renewable penetration, significantly lower than the corresponding costs of Schemes 1 and 2. This indicates that the proposed method can proactively respond to increasing flexibility requirements, enabling more efficient system operation and restraining excessive cost growth. These results confirm the economic robustness of Scheme 3 and its suitability for future power systems with high shares of renewable energy.</p>
</sec>
<sec>
<label>6.5</label>
<title>Visualization</title>
<p><xref ref-type="fig" rid="F10">Figure 10</xref> illustrates the 24-h coordinated operation of EHESS components in Scheme 3. Electrolyzers operate primarily during midday, absorbing surplus photovoltaic generation. Battery storage manages short-term fluctuations, charging during low-demand periods and discharging during evening peaks. Fuel cells provide sustained generation during periods of low renewable output, enabling long-duration energy shifting and maintaining positive flexibility margins.</p>
<fig position="float" id="F10">
<label>Figure 10</label>
<caption><p>Twenty-four-hour coordinated dispatch of EHESS components under Scheme 3, showing the operational profiles of electrolyzers, battery energy storage, and fuel cells.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-12-1774262-g0010.tif">
<alt-text content-type="machine-generated">Line chart depicting hourly power data for one day, with three lines: green for PEM fuel cell generation, blue for battery storage generation, and orange for electrolyzer consumption. The orange line dips below zero from 10:00 to 16:00, labeled &#x0201C;Store excess solar as Hydrogen.&#x0201D; The blue line indicates battery discharge during the evening peak, and the green line rises after 20:00, labeled &#x0201C;Generate from H2.&#x0201D; Power is measured in kilowatts on the y-axis and time in hours on the x-axis.</alt-text>
</graphic>
</fig>
<p><xref ref-type="fig" rid="F11">Figure 11</xref> further reveals that operational costs are dominated by EHESS operation and maintenance, while grid power purchases are significantly reduced. This confirms that active EHESS utilization effectively offsets external energy procurement costs.</p>
<fig position="float" id="F11">
<label>Figure 11</label>
<caption><p>Detailed breakdown of annual operational costs in Scheme 3, showing the relative contributions of each cost component.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-12-1774262-g0011.tif">
<alt-text content-type="machine-generated">Doughnut chart illustrating cost component distribution totaling 1,976.2 in units of ten thousand yuan. EHESS Operation comprises 40%, Grid Power Purchases 35%, Demand Response 15%, Grid Loss 7%, and RE Curtailment 3%. Legend at top right identifies the five categories by color.</alt-text>
</graphic>
</fig>
</sec>
<sec>
<label>6.6</label>
<title>Sensitivity analysis on key equipment costs</title>
<p><xref ref-type="table" rid="T4">Table 4</xref> presents the sensitivity of Scheme 3 to &#x000B1;20% variations in equipment costs. Reductions in capital cost lead to increased EHESS capacity deployment and an 8.1% decrease in total system cost. Conversely, higher costs result in moderated investment and a controlled increase in operational and penalty costs. Notably, the proportional mix of EHESS components remains stable across scenarios, indicating a structurally robust configuration insensitive to moderate cost fluctuations.</p>
<table-wrap position="float" id="T4">
<label>Table 4</label>
<caption><p>Economic and configuration results for scheme 3 under different equipment costs.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th valign="top" align="left"><bold>Indicator</bold></th>
<th valign="top" align="center"><bold>Cost decrease (&#x02212;20%)</bold></th>
<th valign="top" align="center"><bold>Baseline cost</bold></th>
<th valign="top" align="center"><bold>Cost increase (&#x0002B;20%)</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Total cost (10,000 yuan)</td>
<td valign="top" align="center">2,985.1</td>
<td valign="top" align="center">3,249.4</td>
<td valign="top" align="center">3,521.8</td>
</tr>
<tr>
<td valign="top" align="left">Flexibility penalty cost (10,000 yuan)</td>
<td valign="top" align="center">351.4</td>
<td valign="top" align="center">378.9</td>
<td valign="top" align="center">412.3</td>
</tr>
<tr>
<td valign="top" align="left">Investment cost (10,000 yuan)</td>
<td valign="top" align="center">910.5</td>
<td valign="top" align="center">1,101.1</td>
<td valign="top" align="center">1,298.5</td>
</tr>
<tr>
<td valign="top" align="left">Operational cost (10,000 yuan)</td>
<td valign="top" align="center">1,723.2</td>
<td valign="top" align="center">1,769.4</td>
<td valign="top" align="center">1,811.0</td>
</tr>
<tr>
<td valign="top" align="left">Total EHESS capacity (kW)</td>
<td valign="top" align="center">1,085</td>
<td valign="top" align="center">981</td>
<td valign="top" align="center">895</td>
</tr>
<tr>
<td valign="top" align="left">Fuel cell (kW)</td>
<td valign="top" align="center">411</td>
<td valign="top" align="center">371</td>
<td valign="top" align="center">335</td>
</tr>
<tr>
<td valign="top" align="left">Electrolyzer (kW)</td>
<td valign="top" align="center">390</td>
<td valign="top" align="center">380</td>
<td valign="top" align="center">368</td>
</tr>
<tr>
<td valign="top" align="left">Battery (kW)</td>
<td valign="top" align="center">284</td>
<td valign="top" align="center">230</td>
<td valign="top" align="center">192</td>
</tr></tbody>
</table>
</table-wrap>
</sec>
<sec>
<label>6.7</label>
<title>Computational complexity and scalability analysis</title>
<p>The computational performance of the proposed framework merits discussion for assessing its applicability to larger systems. For the IEEE 33-node system, the two-layer optimization model comprises approximately 2,400 continuous variables, 180 binary variables, and 5,600 constraints when considering four scenarios with 24 h periods. Using CPLEX 12.8 on a desktop computer with an Intel Core i7-8700 processor (Intel Corporation, Santa Clara, CA, United States) processor and 16 GB RAM, the average computation time was 847 s with a 0.1% optimality gap tolerance.</p>
<p>The computational complexity scales primarily with three factors: candidate EHESS nodes, uncertainty scenarios, and temporal resolution. The Wasserstein distance-based uncertainty quantification maintains linear scaling with training samples, offering advantages over moment-based methods. For extension to larger systems, several strategies can be employed: decomposition algorithms such as Benders decomposition can exploit the two-stage structure for parallel subproblem solutions; network reduction techniques can decrease dimensionality while preserving essential characteristics; and warm-starting strategies can accelerate convergence. Preliminary experiments on the IEEE 118-node system indicate that the framework with Benders decomposition achieves solutions within 5% of optimality in approximately 3 h, demonstrating reasonable scalability for practical applications.</p>
</sec>
</sec>
<sec sec-type="conclusion" id="s7">
<label>7</label>
<title>Conclusion</title>
<p>This paper proposes a flexibility-aware robust planning method for EHESS in renewable energy grids. By explicitly modeling system flexibility and incorporating EHESS and demand-side loads as control resources, the proposed approach significantly enhances upward and downward flexibility margins. A two-layer distributed robust optimization framework based on Wasserstein distance theory enables optimal configuration of EHESS in terms of location, capacity, and component mix while effectively managing renewable uncertainty. Compared with baseline and conventional storage planning approaches, the proposed method achieves substantial cost reductions and improved renewable accommodation. The results demonstrate that flexibility-oriented EHESS planning is essential for achieving economically efficient and reliable high-renewable power systems. From a practical perspective, the computational experiments demonstrate tractable solution times for distribution-level planning, with scalability pathways available for larger systems through decomposition algorithms and network reduction techniques. The Wasserstein distance-based uncertainty modeling requires only historical data rather than precise distribution specifications, enhancing the method&#x00027;s practical applicability as a decision-support tool for power system planners.</p>
<p>Future work will extend the framework to include additional flexibility resources, multi-energy coordination, and advanced uncertainty modeling.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s8">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding author.</p>
</sec>
<sec sec-type="author-contributions" id="s9">
<title>Author contributions</title>
<p>WY: Conceptualization, Data curation, Writing &#x02013; original draft.</p>
</sec>
<sec sec-type="COI-statement" id="conf1">
<title>Conflict of interest</title>
<p>The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="ai-statement" id="s11">
<title>Generative AI statement</title>
<p>The author(s) declared that generative AI was not used in the creation of this manuscript.</p>
<p>Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.</p>
</sec>
<sec sec-type="disclaimer" id="s12">
<title>Publisher&#x00027;s note</title>
<p>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.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Anya</surname> <given-names>C</given-names></name> <name><surname>Gayme</surname> <given-names>DF</given-names></name></person-group>. <article-title>Grid-scale energy storage applications in renewable energy integration: a survey</article-title>. <source>Energy Convers Manag.</source> (<year>2014</year>) <volume>87</volume>:<fpage>885</fpage>&#x02013;<lpage>94</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.enconman.2014.07.063</pub-id></mixed-citation>
</ref>
<ref id="B2">
<label>2.</label>
<mixed-citation publication-type="journal"><collab>Farihan M The The J Lai C-M</collab>. <article-title>Optimum allocation of battery energy storage systems for power grid enhanced with solar energy</article-title>. <source>Energy.</source> (<year>2021</year>) <volume>223</volume>:<fpage>120105</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.energy.2021.120105</pub-id></mixed-citation>
</ref>
<ref id="B3">
<label>3.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lere</surname> <given-names>D</given-names></name> <name><surname>Yamegueu</surname> <given-names>D</given-names></name> <name><surname>Gomna</surname> <given-names>A</given-names></name></person-group>. <article-title>Overcoming the challenges of integrating variable renewable energy to the grid: a comprehensive review of electrochemical battery storage systems</article-title>. <source>J Power Sources.</source> (<year>2023</year>) <volume>580</volume>:<fpage>233343</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jpowsour.2023.233343</pub-id></mixed-citation>
</ref>
<ref id="B4">
<label>4.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Md Masud</surname> <given-names>R</given-names></name> <name><surname>Uddin</surname> <given-names>M</given-names></name> <name><surname>Sarkar</surname> <given-names>MR</given-names></name> <name><surname>Meraj</surname> <given-names>ST</given-names></name> <name><surname>Shafiullah</surname> <given-names>GM</given-names></name> <name><surname>Muyeen</surname> <given-names>SM</given-names></name> <etal/></person-group>. <article-title>Applications of energy storage systems in power grids with and without renewable energy integration&#x02014;a comprehensive review</article-title>. <source>J Energy Storage.</source> (<year>2023</year>) <volume>68</volume>:<fpage>107811</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.est.2023.107811</pub-id></mixed-citation>
</ref>
<ref id="B5">
<label>5.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Heidar</surname> <given-names>J</given-names></name> <name><surname>Yamini</surname> <given-names>E</given-names></name> <name><surname>Zolfaghari</surname> <given-names>SM</given-names></name> <name><surname>Esmaeilion</surname> <given-names>F</given-names></name> <name><surname>Assad</surname> <given-names>MEH</given-names></name> <name><surname>Soltani</surname> <given-names>M</given-names></name></person-group>. <article-title>Navigating challenges in large-scale renewable energy storage: barriers, solutions, and innovations</article-title>. <source>Energy Rep.</source> (<year>2024</year>) <volume>12</volume>:<fpage>2179</fpage>&#x02013;<lpage>92</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.egyr.2024.08.019</pub-id></mixed-citation>
</ref>
<ref id="B6">
<label>6.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Abraham Alem</surname> <given-names>K</given-names></name> <name><surname>Kalogiannis</surname> <given-names>T</given-names></name> <name><surname>Van Mierlo</surname> <given-names>J</given-names></name> <name><surname>Berecibar</surname> <given-names>M</given-names></name></person-group>. <article-title>A comprehensive review of stationary energy storage devices for large scale renewable energy sources grid integration</article-title>. <source>Renew Sustain Energy Rev.</source> (<year>2022</year>) <volume>159</volume>:<fpage>112213</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.rser.2022.112213</pub-id></mixed-citation>
</ref>
<ref id="B7">
<label>7.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Yalun</surname> <given-names>L</given-names></name> <name><surname>Wei</surname> <given-names>Y</given-names></name> <name><surname>Zhu</surname> <given-names>F</given-names></name> <name><surname>Du</surname> <given-names>J</given-names></name> <name><surname>Zhao</surname> <given-names>Z</given-names></name> <name><surname>Ouyang</surname> <given-names>M</given-names></name></person-group>. <article-title>The path enabling storage of renewable energy toward carbon neutralization in China</article-title>. <source>Etransportation.</source> (<year>2023</year>) <volume>16</volume>:<fpage>100226</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.etran.2023.100226</pub-id></mixed-citation>
</ref>
<ref id="B8">
<label>8.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kathleen</surname> <given-names>KM</given-names></name> <name><surname>Ruggles</surname> <given-names>TH</given-names></name> <name><surname>Rinaldi</surname> <given-names>K</given-names></name> <name><surname>Dowling</surname> <given-names>JA</given-names></name> <name><surname>Duan</surname> <given-names>K</given-names></name> <name><surname>Caldeira</surname> <given-names>K</given-names></name> <etal/></person-group>. <article-title>The role of concentrated solar power with thermal energy storage in least-cost highly reliable electricity systems fully powered by variable renewable energy</article-title>. <source>Adv Appl Energy</source>. (<year>2022</year>) <volume>6</volume>:<fpage>100091</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.adapen.2022.100091</pub-id></mixed-citation>
</ref>
<ref id="B9">
<label>9.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Tao</surname> <given-names>C</given-names></name> <name><surname>Othman</surname> <given-names>MM</given-names></name> <name><surname>Zhu</surname> <given-names>S</given-names></name></person-group>. <article-title>Optimization of photovoltaic and battery energy storage configuration utilizing the JAYA algorithm</article-title>. <source>Front Sustain Resour Manag.</source> (<year>2024</year>) <volume>3</volume>:<fpage>1466051</fpage>. doi: <pub-id pub-id-type="doi">10.3389/fsrma.2024.1466051</pub-id></mixed-citation>
</ref>
<ref id="B10">
<label>10.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Mohammad</surname> <given-names>R</given-names></name> <name><surname>Kalantar</surname> <given-names>M</given-names></name></person-group>. <article-title>Improving the resilience of distribution network in coming across seismic damage using mobile battery energy storage system</article-title>. <source>J Energy Storage.</source> (<year>2022</year>) <volume>52</volume>:<fpage>104891</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.est.2022.104891</pub-id></mixed-citation>
</ref>
<ref id="B11">
<label>11.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Arian</surname> <given-names>K</given-names></name> <name><surname>Saifoddin</surname> <given-names>A</given-names></name></person-group>. <article-title>Three-stage resilience-oriented active distribution systems operation after natural disasters</article-title>. <source>Energy.</source> (<year>2023</year>) <volume>282</volume>:<fpage>128360</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.energy.2023.128360</pub-id></mixed-citation>
</ref>
<ref id="B12">
<label>12.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Muhammad Muzammal</surname> <given-names>I</given-names></name> <name><surname>Yu</surname> <given-names>T</given-names></name> <name><surname>Giannoccaro</surname> <given-names>G</given-names></name> <name><surname>Mi</surname> <given-names>Y</given-names></name> <name><surname>La Scala</surname> <given-names>M</given-names></name> <name><surname>Rajabi</surname> <given-names>MN</given-names></name> <etal/></person-group>. <article-title>Improving reliability and stability of the power systems: a comprehensive review on the role of energy storage systems to enhance flexibility</article-title>. <source>IEEE Access.</source> (<year>2024</year>). doi: <pub-id pub-id-type="doi">10.1109/ACCESS.2024.3476959</pub-id></mixed-citation>
</ref>
<ref id="B13">
<label>13.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Xun</surname> <given-names>S</given-names></name> <name><surname>Zhao</surname> <given-names>S</given-names></name> <name><surname>Ma</surname> <given-names>Y</given-names></name> <name><surname>Dong</surname> <given-names>L</given-names></name></person-group>. <article-title>New energy wide area complementary planning method for multi-energy power system</article-title>. <source>IEEE Access.</source> (<year>2021</year>) <volume>9</volume>:<fpage>157295</fpage>&#x02013;<lpage>305</lpage>. doi: <pub-id pub-id-type="doi">10.1109/ACCESS.2021.3130577</pub-id></mixed-citation>
</ref>
<ref id="B14">
<label>14.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Xin</surname> <given-names>S</given-names></name> <name><surname>Luo</surname> <given-names>Z</given-names></name> <name><surname>Xiong</surname> <given-names>J</given-names></name> <name><surname>Liu</surname> <given-names>H</given-names></name> <name><surname>Lv</surname> <given-names>X</given-names></name> <name><surname>Tan</surname> <given-names>T</given-names></name> <etal/></person-group>. <article-title>Optimal hybrid energy storage system planning of community multi-energy system based on two-stage stochastic programming</article-title>. <source>IEEE Access.</source> (<year>2021</year>) <volume>9</volume>:<fpage>61035</fpage>&#x02013;<lpage>47</lpage>. doi: <pub-id pub-id-type="doi">10.1109/ACCESS.2021.3074151</pub-id></mixed-citation>
</ref>
<ref id="B15">
<label>15.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Tao</surname> <given-names>H</given-names></name> <name><surname>Zhou</surname> <given-names>J</given-names></name></person-group>. <article-title>Optimal planning and design of integrated energy systems in a microgrid incorporating electric vehicles and fuel cell system</article-title>. <source>J Power Sources.</source> (<year>2023</year>) <volume>561</volume>:<fpage>232694</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jpowsour.2023.232694</pub-id></mixed-citation>
</ref>
<ref id="B16">
<label>16.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Radwan</surname> <given-names>AA</given-names></name> <name><surname>Abu-Hamdeh</surname> <given-names>NH</given-names></name> <name><surname>Al-Tamimi</surname> <given-names>N</given-names></name></person-group>. <article-title>A state-of-the-art review of energy-efficient and renewable energy systems in higher education facilities</article-title>. <source>Front Energy Res.</source> (<year>2024</year>) <volume>11</volume>:<fpage>1344216</fpage>. doi: <pub-id pub-id-type="doi">10.3389/fenrg.2023.1344216</pub-id></mixed-citation>
</ref>
<ref id="B17">
<label>17.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Mahdi</surname> <given-names>N</given-names></name> <name><surname>Fereidunian</surname> <given-names>A</given-names></name> <name><surname>Barati</surname> <given-names>M</given-names></name></person-group>. <article-title>Reliability-oriented planning framework for smart cities: from interconnected micro energy hubs to macro energy hub scale</article-title>. <source>IEEE Syst J.</source> (<year>2023</year>) <volume>17</volume>:<fpage>3798</fpage>&#x02013;<lpage>809</lpage>. doi: <pub-id pub-id-type="doi">10.1109/JSYST.2023.3244498</pub-id></mixed-citation>
</ref>
<ref id="B18">
<label>18.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kasra</surname> <given-names>S</given-names></name> <name><surname>Zadeh</surname> <given-names>SG</given-names></name> <name><surname>Hagh</surname> <given-names>MT</given-names></name></person-group>. <article-title>Planning for a network system with renewable resources and battery energy storage, focused on enhancing resilience</article-title>. <source>J Energy Storage.</source> (<year>2024</year>) <volume>87</volume>:<fpage>111339</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.est.2024.111339</pub-id></mixed-citation>
</ref>
<ref id="B19">
<label>19.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Keyu</surname> <given-names>J</given-names></name> <name><surname>Liu</surname> <given-names>C</given-names></name> <name><surname>Li</surname> <given-names>S</given-names></name> <name><surname>Jiang</surname> <given-names>D</given-names></name></person-group>. <article-title>Modeling and optimization of a hybrid renewable energy system integrated with gas turbine and energy storage</article-title>. <source>Energy Convers Manag.</source> (<year>2023</year>) <volume>279</volume>:<fpage>116763</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.enconman.2023.116763</pub-id></mixed-citation>
</ref>
<ref id="B20">
<label>20.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Mohd</surname> <given-names>K</given-names></name></person-group>. <article-title>A hybrid fuel cell and battery storage power management for grid-interactive EV charging station</article-title>. <source>IEEE Trans Smart Grid.</source> (<year>2025</year>).</mixed-citation>
</ref>
<ref id="B21">
<label>21.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hao</surname> <given-names>W</given-names></name> <name><surname>Wang</surname> <given-names>W</given-names></name> <name><surname>Lin</surname> <given-names>C</given-names></name> <name><surname>Lai</surname> <given-names>Y</given-names></name> <name><surname>Li</surname> <given-names>C</given-names></name> <name><surname>Xu</surname> <given-names>Z</given-names></name> <etal/></person-group>. <article-title>Hydrogen production performance optimization for direct-coupled photovoltaic electrolysis systems based on a novel 3D opto-electro-thermal model</article-title>. <source>Appl Energy.</source> (<year>2025</year>) <volume>392</volume>:<fpage>125961</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.apenergy.2025.125961</pub-id></mixed-citation>
</ref>
<ref id="B22">
<label>22.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Xiaoqiang</surname> <given-names>G</given-names></name> <name><surname>Zhang</surname> <given-names>S</given-names></name> <name><surname>Gao</surname> <given-names>Y</given-names></name> <name><surname>Teng</surname> <given-names>Y</given-names></name> <name><surname>Diao</surname> <given-names>N</given-names></name> <name><surname>Hua</surname> <given-names>C</given-names></name> <etal/></person-group>. <article-title>Advancements in photovoltaic electrolysis for green hydrogen production: a comprehensive review and comparative analysis of modeling approaches</article-title>. <source>IEEE Trans Power Electron.</source> (<year>2025</year>).</mixed-citation>
</ref>
<ref id="B23">
<label>23.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Chao</surname> <given-names>L</given-names></name> <name><surname>Sun</surname> <given-names>B-g</given-names></name> <name><surname>Luo</surname> <given-names>Q-h</given-names></name></person-group>. <article-title>Research on exergy transfer characteristics of mixing process inside hydrogen recirculation ejectors</article-title>. <source>Int J Hydrog Energy</source>. (<year>2025</year>).</mixed-citation>
</ref>
<ref id="B24">
<label>24.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Cong</surname> <given-names>X</given-names></name> <name><surname>Abdalla</surname> <given-names>AN</given-names></name></person-group>. <article-title>Coordinated dispatch of electric, thermal, and hydrogen vectors in renewable-enriched microgrids using constrained Harris Hawks optimization under uncertainty</article-title>. <source>Renew Energy</source>. (<year>2025</year>) <fpage>124064</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.renene.2025.124064</pub-id></mixed-citation>
</ref>
<ref id="B25">
<label>25.</label>
<mixed-citation publication-type="book"><person-group person-group-type="author"><name><surname>Subhash</surname> <given-names>L</given-names></name> <name><surname>Chen</surname> <given-names>Y</given-names></name> <name><surname>Maple</surname> <given-names>C</given-names></name> <name><surname>Larkins</surname> <given-names>A</given-names></name> <name><surname>Flack</surname> <given-names>D</given-names></name> <name><surname>Few</surname> <given-names>C</given-names></name> <etal/></person-group>. <source>Threats to Power Grid Operations From the Demand-Side Response Ecosystem: A Comprehensive Overview</source>. <publisher-loc>Piscataway, NJ</publisher-loc>: <publisher-name>IEEE Industrial Electronics Magazine</publisher-name> (<year>2025</year>).</mixed-citation>
</ref>
<ref id="B26">
<label>26.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Mohamed</surname> <given-names>A</given-names></name> <name><surname>El Abbadi</surname> <given-names>R</given-names></name> <name><surname>Vargas</surname> <given-names>AN</given-names></name> <name><surname>El Moubarek Bouzid</surname> <given-names>A</given-names></name> <name><surname>Bawayan</surname> <given-names>H</given-names></name> <name><surname>Mosaad</surname> <given-names>MI</given-names></name></person-group>. <article-title>Stochastic energy management strategy for autonomous PV&#x02013;microgrid under unpredictable load consumption</article-title>. <source>IEEE Access.</source> (<year>2024</year>) <volume>12</volume>:<fpage>84401</fpage>&#x02013;<lpage>19</lpage>. doi: <pub-id pub-id-type="doi">10.1109/ACCESS.2024.3414297</pub-id></mixed-citation>
</ref>
<ref id="B27">
<label>27.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ralph</surname> <given-names>M</given-names></name> <name><surname>Pandey</surname> <given-names>S</given-names></name> <name><surname>Chatterjee</surname> <given-names>D</given-names></name> <name><surname>Harper</surname> <given-names>A</given-names></name> <name><surname>Jackson</surname> <given-names>A</given-names></name> <name><surname>Takayesu</surname> <given-names>E</given-names></name></person-group>. <article-title>Understanding grid flexibility: flexibility for integrated grid planning with distributed energy resources</article-title>. <source>IEEE Power Energy Mag.</source> (<year>2024</year>) <volume>22</volume>:<fpage>60</fpage>&#x02013;<lpage>6</lpage>. doi: <pub-id pub-id-type="doi">10.1109/MPE.2023.3344421</pub-id></mixed-citation>
</ref>
<ref id="B28">
<label>28.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Yanchen</surname> <given-names>L</given-names></name> <name><surname>Peng</surname> <given-names>M</given-names></name></person-group>. <article-title>Research on peak load shifting for hybrid energy system with wind power and energy storage based on situation awareness</article-title>. <source>J Energy Storage.</source> (<year>2024</year>) <volume>82</volume>:<fpage>110472</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.est.2024.110472</pub-id></mixed-citation>
</ref>
<ref id="B29">
<label>29.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Antonio</surname> <given-names>G-D</given-names></name> <name><surname>Arango-Aramburo</surname> <given-names>S</given-names></name> <name><surname>Correa-Posada</surname> <given-names>CM</given-names></name></person-group>. <article-title>Quantifying power system flexibility for the energy transition in Colombia</article-title>. <source>Int J Electr Power Energy Syst.</source> (<year>2024</year>) <volume>155</volume>:<fpage>109614</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.ijepes.2023.109614</pub-id></mixed-citation>
</ref>
<ref id="B30">
<label>30.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zhonghao</surname> <given-names>C</given-names></name> <name><surname>Zhang</surname> <given-names>A-J</given-names></name> <name><surname>Wang</surname> <given-names>H</given-names></name> <name><surname>Xu</surname> <given-names>J</given-names></name> <name><surname>Han</surname> <given-names>T</given-names></name></person-group>. <article-title>Photovoltaic cell anomaly detection enabled by scale distribution alignment learning and multiscale linear attention framework</article-title>. <source>IEEE Internet Things J.</source> (<year>2024</year>) <volume>11</volume>:<fpage>27816</fpage>&#x02013;<lpage>27</lpage>. doi: <pub-id pub-id-type="doi">10.1109/JIOT.2024.3403711</pub-id></mixed-citation>
</ref>
<ref id="B31">
<label>31.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Adekanmi Miracle</surname> <given-names>A</given-names></name> <name><surname>Esan</surname> <given-names>OC</given-names></name> <name><surname>Ijaola</surname> <given-names>AO</given-names></name> <name><surname>Farayibi</surname> <given-names>PK</given-names></name></person-group>. <article-title>Advancements in hybrid energy storage systems for enhancing renewable energy-to-grid integration</article-title>. <source>Sustain Energy Res.</source> (<year>2024</year>) <volume>11</volume>:<fpage>26</fpage>. doi: <pub-id pub-id-type="doi">10.1186/s40807-024-00120-4</pub-id></mixed-citation>
</ref>
<ref id="B32">
<label>32.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Jinchao</surname> <given-names>L</given-names></name> <name><surname>Xiao</surname> <given-names>Y</given-names></name> <name><surname>Lu</surname> <given-names>S</given-names></name></person-group>. <article-title>Optimal configuration of multi microgrid electric hydrogen hybrid energy storage capacity based on distributed robustness</article-title>. <source>J Energy Storage.</source> (<year>2024</year>) <volume>76</volume>:<fpage>109762</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.est.2023.109762</pub-id></mixed-citation>
</ref>
<ref id="B33">
<label>33.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Yongsen</surname> <given-names>Z</given-names></name> <name><surname>Wang</surname> <given-names>M</given-names></name> <name><surname>Liu</surname> <given-names>H</given-names></name> <name><surname>Qi</surname> <given-names>M</given-names></name></person-group>. <article-title>Moment-based distributionally robust joint chance constrained optimization for service network design under demand uncertainty</article-title>. <source>Optim Eng.</source> (<year>2024</year>) <volume>25</volume>:<fpage>1631</fpage>&#x02013;<lpage>83</lpage>. doi: <pub-id pub-id-type="doi">10.1007/s11081-023-09858-0</pub-id></mixed-citation>
</ref>
<ref id="B34">
<label>34.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Nan</surname> <given-names>L</given-names></name> <name><surname>Kolmanovsky</surname> <given-names>I</given-names></name> <name><surname>Girard</surname> <given-names>A</given-names></name></person-group>. <article-title>An analytical safe approximation to joint chance-constrained programming with additive Gaussian noises</article-title>. <source>IEEE Trans Automat Contr.</source> (<year>2021</year>) <volume>66</volume>:<fpage>5490</fpage>&#x02013;<lpage>7</lpage>. doi: <pub-id pub-id-type="doi">10.1109/TAC.2021.3051000</pub-id></mixed-citation>
</ref>
</ref-list>
<fn-group>
<fn fn-type="custom" custom-type="edited-by" id="fn0001">
<p>Edited by: <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/884784/overview">Amalendu Singha Mahapatra</ext-link>, Techno India Group, India</p>
</fn>
<fn fn-type="custom" custom-type="reviewed-by" id="fn0002">
<p>Reviewed by: <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/3248109/overview">Wenbin Wu</ext-link>, Qinghai Institute of Technology, China</p>
<p><ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/3335984/overview">Dipika Pramanik</ext-link>, Techno International New Town, India</p>
</fn>
</fn-group>
</back>
</article>