<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Energy Res.</journal-id>
<journal-title>Frontiers in Energy Research</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Energy Res.</abbrev-journal-title>
<issn pub-type="epub">2296-598X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">1351569</article-id>
<article-id pub-id-type="doi">10.3389/fenrg.2024.1351569</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Energy Research</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Optimal configuration of energy storage considering flexibility requirements and operational risks in a power system</article-title>
<alt-title alt-title-type="left-running-head">Hui et al.</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fenrg.2024.1351569">10.3389/fenrg.2024.1351569</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Hui</surname>
<given-names>Zijia</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Yan</surname>
<given-names>Huan</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Li</surname>
<given-names>Bingchen</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/visualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>He</surname>
<given-names>Wenwen</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2220335/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Wu</surname>
<given-names>Xiong</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1403958/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>Economic and Technological Research Institute of State Grid Shaanxi Electric Power Co Ltd.</institution>, <addr-line>Xi&#x2019;an</addr-line>, <country>China</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>School of Electrical Engineering</institution>, <institution>Xi&#x2019;an Jiaotong University</institution>, <addr-line>Xi&#x2019;an</addr-line>, <country>China</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/106137/overview">Michael Carbajales-Dale</ext-link>, Clemson University, United States</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/894653/overview">Hong Fan</ext-link>, Shanghai University of Electric Power, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1910498/overview">Guangsheng Pan</ext-link>, Southeast University, China</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Xiong Wu, <email>wuxiong@mail.xjtu.edu.cn</email>
</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>22</day>
<month>03</month>
<year>2024</year>
</pub-date>
<pub-date pub-type="collection">
<year>2024</year>
</pub-date>
<volume>12</volume>
<elocation-id>1351569</elocation-id>
<history>
<date date-type="received">
<day>06</day>
<month>12</month>
<year>2023</year>
</date>
<date date-type="accepted">
<day>06</day>
<month>03</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2024 Hui, Yan, Li, He and Wu.</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Hui, Yan, Li, He and Wu</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>The integration of renewable energy units into power systems brings a huge challenge to the flexible regulation ability. As an efficient and convenient flexible resource, energy storage systems (ESSs) have the advantages of fast-response characteristics and bi-directional power conversion, which can provide flexible support for the power system. This paper establishes an optimization model for the ESS based on a bi-level programming model. The upper-level model optimizes the decision strategy of ESS configuration planning. The lower-level model is based on scenario analysis theory to simulate the operation of typical daily scenarios. Flexibility requirement constraints are added to characterize the required flexibility resources of the power system. In addition, the conditional value-at-risk (CVaR) is applied to characterize the risk of wind curtailment and load shedding during operation. To simplify the model, a set of association constraints is introduced to convert the original bi-level programming model into a direct-solvable single-level mixed-integer linear programming (MILP) model. Finally, the effectiveness of the proposed model is verified through case studies.</p>
</abstract>
<kwd-group>
<kwd>energy storage system</kwd>
<kwd>flexibility requirements</kwd>
<kwd>operational risks</kwd>
<kwd>planning strategy</kwd>
<kwd>conditional value-at-risk</kwd>
</kwd-group>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Sustainable Energy Systems</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>Gradually advancing renewable energy generation represents a significant initiative in the establishment of a new power system and is pivotal in achieving the dual-carbon goal (<xref ref-type="bibr" rid="B15">Mitra and Nguyen, 2022</xref>). In recent years, rapid development has been witnessed in the sphere of renewable energy generation, notably in the forms of wind and solar power (<xref ref-type="bibr" rid="B1">Aaslid et al., 2022</xref>). Although renewable energy offers substantial environmental benefits, its inherent randomness and uncertainty have contributed to increasingly complex operating conditions within traditional power systems (<xref ref-type="bibr" rid="B9">Han et al., 2022</xref>). The scarcity of flexible resources within the power system has resulted in commonplace occurrences of wind power curtailment and load shedding (<xref ref-type="bibr" rid="B16">Naversen et al., 2022</xref>). Consequently, it is of paramount importance to comprehensively evaluate the flexibility and operational risks of power systems in order to devise a prudent energy storage system (ESS) configuration strategy.</p>
<p>Current research on the definition of power system flexibility is generally aligned. The flexibility characterization system entails the requisite adjustment capacity to promptly respond to power fluctuations and uphold power balance (<xref ref-type="bibr" rid="B11">Jiang et al., 2023</xref>). Flexibility serves as a critical attribute of power systems, essential for mitigating disturbances and ensuring secure and stable operations (<xref ref-type="bibr" rid="B4">Clegg and Mancarella, 2016</xref>; <xref ref-type="bibr" rid="B3">Avramidis et al., 2022</xref>). Typically, flexibility resources are derived from the generation side, known as operational reserves (<xref ref-type="bibr" rid="B13">Li et al., 2022</xref>). In recent studies, a market-based framework has been proposed to optimize the flexibility of renewable energy in distribution and transmission systems (<xref ref-type="bibr" rid="B18">Pourghaderi et al., 2023</xref>). Furthermore, novel mathematical formulations have been introduced to augment flexibility within the power system, particularly in light of the uncertainty associated with wind power in stochastic scheduling (<xref ref-type="bibr" rid="B26">Zhou et al., 2021</xref>). Additionally, models have been developed to integrate flexibility considerations into generation expansion planning, thereby optimizing the utilization of external flexibility resources and maximizing the benefits for distribution network operators (<xref ref-type="bibr" rid="B17">Oikonomou et al., 2020</xref>; <xref ref-type="bibr" rid="B5">Dai et al., 2021</xref>). Notably, a security-constrained economic dispatch (SCED) model has been formulated to mitigate wind power curtailment by leveraging the potential flexibility of high-voltage direct current (HVDC) systems (<xref ref-type="bibr" rid="B10">Huang et al., 2021</xref>). However, the majority of existing literature overlooks the impact of uncertain renewable energy output on the flexibility planning of power systems. Conditional value-at-risk (CVaR) has emerged as a common method to quantify risk losses associated with wind power and load shedding (<xref ref-type="bibr" rid="B24">Zhang et al., 2018</xref>). Leveraging the advantages of CVaR, this paper proposes a planning model that integrates flexibility requirements and operational risks.</p>
<p>ESS devices serve as a flexible resource for the power system, offering rapid responsiveness and bi-directional conversion capabilities to provide essential support to the power system (<xref ref-type="bibr" rid="B25">Zhou et al., 2023</xref>). Recent studies have proposed a two-stage active distribution network management approach, incorporating power flexibility considerations, to facilitate the provision of flexibility to the higher-level power grid through the ESS (<xref ref-type="bibr" rid="B12">Kalantar-Neyestanaki and Cherkaoui, 2021</xref>). Similarly, a model has been developed to structure flexibility within microgrids, focusing on flexibility services and collaborative network operations, thereby enhancing the flexibility and economic competitiveness of microgrids through the utilization of hybrid ESS devices (<xref ref-type="bibr" rid="B8">Garcia-Torres et al., 2021</xref>). Furthermore, a multi-stage robust optimization operation model has been proposed, integrating the ESS into power system operations to enhance system resilience while neglecting the potential of flexibility resources (<xref ref-type="bibr" rid="B21">Shi et al., 2021</xref>). Additionally, a two-stage adaptive robust planning model has been developed, incorporating the ESS and dynamic thermal rating systems to optimize the integration of wind power into the power system (<xref ref-type="bibr" rid="B6">Dehghan et al., 2020</xref>). Other studies have focused on modeling large-scale renewable energy entities to reduce the flexibility demand of power systems and investigated coordinated operation strategies for ESSs and pumped storage power stations (<xref ref-type="bibr" rid="B22">Teng et al., 2019</xref>). Moreover, a framework for flexibility recovery guarantees for the ESS has been proposed, aiming to ensure full cycle capacity and accurate loss accounting (<xref ref-type="bibr" rid="B7">Evans et al., 2022</xref>). Notably, existing literature is predominantly centered on the planning and optimal operation of the ESS within distribution networks (<xref ref-type="bibr" rid="B2">Alharbi and Almutairi, 2021</xref>) and microgrids (<xref ref-type="bibr" rid="B20">Shen et al., 2021</xref>), warranting further research into the configuration strategy of the ESS within the transmission system to bolster the flexibility resource reserve of the power system.</p>
<p>The contributions of this paper can be summarized below.<list list-type="simple">
<list-item>
<p>&#x2022; The key innovation of this research lies in the comprehensive modeling of flexibility requirements within the power system. Traditional power systems were predominantly designed to accommodate centralized and dispatchable generation sources, with limited consideration for the dynamic and decentralized nature of renewable energy integration. By incorporating a robust modeling framework for flexibility demands, this research contributes to a more nuanced understanding of the operational challenges imposed by renewable energy integration and provides a foundation for optimizing ESS configuration to meet these demands.</p>
</list-item>
<list-item>
<p>&#x2022; The application of CVaR to characterize operational risks in power system operations represents a significant advancement in quantifying and managing uncertainties. CVaR provides a more comprehensive risk assessment framework than traditional risk measures, offering insights into the potential downside risk associated with operational decisions. By leveraging CVaR, this research enhances the capability to assess and mitigate operational risks, thereby improving the decision-making process for ESS configuration under uncertain operating conditions.</p>
</list-item>
<list-item>
<p>&#x2022; An optimization bi-level model for ESS configuration is proposed. Compared to traditional ESS configuration models, this bi-level optimization model introduces a novel and effective approach to ESS planning. By simultaneously considering the strategic planning of the ESS at the upper level and simulating daily operations under typical scenarios at the lower level, this research facilitates a holistic and integrative perspective on ESS configuration, aiming to optimize both long-term planning and short-term operational considerations. By adding a set of association constraints, the bi-level model is simplified into a directly solvable single-level mixed-integer linear programming (MILP) model.</p>
</list-item>
</list>
</p>
<p>The remainder of the paper is organized as follows: in <xref ref-type="sec" rid="s2">Section 2</xref>, a bi-level programming model is formulated; The solution method is shown in <xref ref-type="sec" rid="s3">Section 3;</xref> <xref ref-type="sec" rid="s4">Section 4 presents case studies</xref> based on the historic data; and <xref ref-type="sec" rid="s5">Section 5</xref> concludes the paper.</p>
</sec>
<sec id="s2">
<title>2 Bi-level programming model</title>
<sec id="s2-1">
<title>2.1 Framework of the bi-level programming model</title>
<p>To enhance the rationality of the planning scheme, a bi-level programming model shown as Eq. <xref ref-type="disp-formula" rid="e1">1</xref> is adopted, which takes the planning and operation layers into consideration. In addition, the volatility of wind power, constructing several typical scenarios based on the Monte Carlo sampling method (<xref ref-type="bibr" rid="B23">Vongsing and Raphisak, 2021</xref>) and K-means clustering method, is considered (<xref ref-type="bibr" rid="B14">Liu et al., 2021</xref>).<disp-formula id="e1">
<mml:math id="m1">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:munder>
<mml:mi>min</mml:mi>
<mml:msup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mtext>inv</mml:mtext>
</mml:msup>
</mml:munder>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mtext>inv</mml:mtext>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi>s</mml:mi>
<mml:mtext>opr</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>inv</mml:mtext>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>opr</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mo>.</mml:mo>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mo>.</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mi mathvariant="bold-italic">G</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mtext>inv</mml:mtext>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mtext>&#x2003;</mml:mtext>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mtext>inv</mml:mtext>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:munder>
<mml:mi>min</mml:mi>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi>s</mml:mi>
<mml:mtext>opr</mml:mtext>
</mml:msubsup>
</mml:munder>
<mml:msub>
<mml:mi>f</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mtext>inv</mml:mtext>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi>s</mml:mi>
<mml:mtext>opr</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>opr</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mo>.</mml:mo>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mo>.</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:msub>
<mml:mi mathvariant="bold-italic">g</mml:mi>
<mml:mi mathvariant="bold-italic">s</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mrow>
<mml:mtext>inv</mml:mtext>
<mml:mtext>&#xa0;</mml:mtext>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi>s</mml:mi>
<mml:mtext>opr</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mtext>&#x2003;</mml:mtext>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mrow>
<mml:mtext>inv</mml:mtext>
<mml:mtext>&#xa0;</mml:mtext>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi>s</mml:mi>
<mml:mtext>opr</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>where <italic>s</italic> is the index of scenarios, <bold>
<italic>x</italic>
</bold>
<sup>inv</sup> is the variable sets in the planning layer, <bold>
<italic>x</italic>
</bold>
<sup>opr</sup> <italic>s</italic> is the variable sets in the operation layer of scenario <italic>s</italic>, <italic>C</italic>
<sub>inv</sub> is the cost of the planning layer, <italic>C</italic>
<sub>opr</sub> is the cost of the operation layer, <bold>
<italic>G</italic>
</bold> and <bold>
<italic>H</italic>
</bold> are the constraints in the planning layer, and <bold>
<italic>g</italic>
</bold>
<sub>
<italic>s</italic>
</sub> and <bold>
<italic>h</italic>
</bold>
<sub>
<italic>s</italic>
</sub> are the constraints in the operation layer.</p>
</sec>
<sec id="s2-2">
<title>2.2 Flexibility requirement and operational risks</title>
<p>The flexibility requirements of the power system are calculated using the net load curve of each scenario. Equation <xref ref-type="disp-formula" rid="e2">2</xref> is the formula of net load; Eq. <xref ref-type="disp-formula" rid="e3">3</xref> is the formula of flexibility requirement.<disp-formula id="e2">
<mml:math id="m2">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi>ln</mml:mi>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi mathvariant="normal">W</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>
<disp-formula id="e3">
<mml:math id="m3">
<mml:mrow>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi>ln</mml:mi>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi>ln</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>where <italic>t</italic> is the index of the time period, <inline-formula id="inf1">
<mml:math id="m4">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi>ln</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the net load during time period <italic>t</italic> and scenario <italic>s</italic>; <inline-formula id="inf2">
<mml:math id="m5">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the load during time period <italic>t</italic>; <inline-formula id="inf3">
<mml:math id="m6">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>Lcur</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the load shedding during time period <italic>t</italic> and scenario <italic>s</italic>; <inline-formula id="inf4">
<mml:math id="m7">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi mathvariant="normal">W</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf5">
<mml:math id="m8">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>Wcur</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the wind power output and wind power curtailment, respectively, during time period <italic>t</italic> and scenario <italic>s</italic>; and <inline-formula id="inf6">
<mml:math id="m9">
<mml:mrow>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the flexibility requirement during time period <italic>t</italic> and scenario <italic>s</italic>.</p>
<p>Flexible resources can suppress the impact of uncertainty in the renewable energy output of the power system. Thermal power units are the most important flexibility resources in the power system. For operating thermal units, the flexibility resources are determined by the ramping rate and the gap between the current output and limits of the output. The charging and discharging characteristics of the ESS can provide flexibility for bi-directional adjustment. The upward and downward flexibility resource supply capacity of the power system during time period <italic>t</italic> shown as Eqs <xref ref-type="disp-formula" rid="e4">4</xref>, <xref ref-type="disp-formula" rid="e5">5</xref>, respectively.<disp-formula id="e4">
<mml:math id="m10">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mtext>th</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>min</mml:mi>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>th</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mtext>th</mml:mtext>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mi>R</mml:mi>
<mml:mrow>
<mml:mtext>th</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:msubsup>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mtext>ess</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>min</mml:mi>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>j</mml:mi>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>dis</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mtext>dis</mml:mtext>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mtext>ess</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>S</mml:mi>
<mml:mi>j</mml:mi>
<mml:mrow>
<mml:mi>min</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>ess</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mtext>dis</mml:mtext>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mtext>dis</mml:mtext>
</mml:msubsup>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mi>t</mml:mi>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>
<disp-formula id="e5">
<mml:math id="m11">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mtext>th</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>min</mml:mi>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>min</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>th</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mi>R</mml:mi>
<mml:mrow>
<mml:mtext>th</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:msubsup>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mtext>ess</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>min</mml:mi>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>j</mml:mi>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>ch</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mtext>ch</mml:mtext>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi>S</mml:mi>
<mml:mi>j</mml:mi>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>ess</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mtext>ess</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mtext>ch</mml:mtext>
</mml:msub>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mtext>ch</mml:mtext>
</mml:msubsup>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mtext>ch</mml:mtext>
</mml:msub>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>where <inline-formula id="inf7">
<mml:math id="m12">
<mml:mrow>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mtext>th</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf8">
<mml:math id="m13">
<mml:mrow>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mtext>ess</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the upregulated flexibility resources of thermal power unit <italic>i</italic> and ESS <italic>j</italic>, respectively, during time period <italic>t</italic>; <inline-formula id="inf9">
<mml:math id="m14">
<mml:mrow>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mtext>th</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf10">
<mml:math id="m15">
<mml:mrow>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mtext>ess</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the downregulated flexibility resources of thermal power unit <italic>i</italic> and ESS <italic>j</italic>, respectively, during time period <italic>t</italic>; <inline-formula id="inf11">
<mml:math id="m16">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>th</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf12">
<mml:math id="m17">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>min</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>th</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the maximum and minimum power output of thermal unit <italic>i</italic>, respectively; <inline-formula id="inf13">
<mml:math id="m18">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mtext>th</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the power output of thermal unit <italic>i</italic> during time period <italic>t</italic>; <inline-formula id="inf14">
<mml:math id="m19">
<mml:mrow>
<mml:msubsup>
<mml:mi>R</mml:mi>
<mml:mtext>th</mml:mtext>
<mml:mo>&#x2b;</mml:mo>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf15">
<mml:math id="m20">
<mml:mrow>
<mml:msubsup>
<mml:mi>R</mml:mi>
<mml:mtext>th</mml:mtext>
<mml:mo>&#x2212;</mml:mo>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the ramping limits of thermal unit <italic>i</italic>; <inline-formula id="inf16">
<mml:math id="m21">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>j</mml:mi>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>dis</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf17">
<mml:math id="m22">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>j</mml:mi>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>ch</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the maximum discharging and charging power of ESS <italic>j</italic>, respectively; <inline-formula id="inf18">
<mml:math id="m23">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mtext>dis</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf19">
<mml:math id="m24">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mtext>ch</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the discharging and charging power of ESS <italic>j</italic>, respectively, during time period <italic>t</italic>; <inline-formula id="inf20">
<mml:math id="m25">
<mml:mrow>
<mml:msubsup>
<mml:mi>S</mml:mi>
<mml:mi>j</mml:mi>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>ess</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf21">
<mml:math id="m26">
<mml:mrow>
<mml:msubsup>
<mml:mi>S</mml:mi>
<mml:mi>j</mml:mi>
<mml:mrow>
<mml:mi>min</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>ess</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the maximum and minimum storage capacities of ESS <italic>j</italic>, respectively; and <italic>&#x3b7;</italic>
<sup>dis</sup> and <italic>&#x3b7;</italic>
<sup>ch</sup> are the discharging and charging efficiencies of the ESS, respectively.</p>
<p>In the power system, the prediction deviation of the wind power output will pose risks to the safety, stability, and economic operation of the system. Therefore, CVaR is applied to measure the impact of uncertainty in the wind power output. As a common risk measurement method, CVaR is developed based on the model and foundation of value-at-risk (VaR) (<xref ref-type="bibr" rid="B19">Ran et al., 2023</xref>). VaR refers to the maximum expected amount of a financial asset or its combination within a certain confidence level and interval. CVaR refers to the conditional expectation that a loss amount exceeds VaR, which represents the average level of excess loss. CVaR evaluates the probability and magnitude of system losses to measure the operation risks. Therefore, based on the expected cost of wind curtailment and load shedding, the operation risks of the wind curtailment and load shedding are shown as Eqs <xref ref-type="disp-formula" rid="e6">6</xref>, <xref ref-type="disp-formula" rid="e7">7</xref>, respectively.<disp-formula id="e6">
<mml:math id="m27">
<mml:mrow>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mtext>CVaR</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">W</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3b2;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi>&#x3be;</mml:mi>
<mml:mi mathvariant="normal">W</mml:mi>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>S</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
<mml:msubsup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi mathvariant="normal">W</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>
<disp-formula id="e7">
<mml:math id="m28">
<mml:mrow>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mtext>CVaR</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">L</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3b2;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi>&#x3be;</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>S</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
<mml:msubsup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>where <italic>C</italic>
<sup>CVaR,W</sup> and <italic>C</italic>
<sup>CVaR,L</sup> are CVaRs of wind power curtailment and load shedding, respectively; <italic>&#x3b2;</italic> is the risk avoidance parameter; <italic>&#x3b1;</italic> is the unit confidence level; <italic>&#x3be;</italic>
<sup>W</sup>, <italic>&#x3be;</italic>
<sup>L</sup>, <italic>&#x3b7;</italic>
<sup>W</sup>, and <italic>&#x3b7;</italic>
<sup>L</sup> are the auxiliary variables to calculate CVaR; and <italic>&#x3c0;</italic>
<sub>
<italic>s</italic>
</sub> is the probability of scenario <italic>s</italic>.</p>
</sec>
<sec id="s2-3">
<title>2.3 Planning model</title>
<p>The decision variables of the upper-level model are the location and quantity of ESS devices. The objective function of the planning model is to minimize the investment cost and operational risks of the system, which is shown in Eq. <xref ref-type="disp-formula" rid="e8">8</xref>. Equation <xref ref-type="disp-formula" rid="e9">9</xref>-<xref ref-type="disp-formula" rid="e11">11</xref> are formulas of investment cost of ESS, returen on investment, and site collection cost of ESS respectively. The planning period for the ESS is 1&#xa0;year.<disp-formula id="e8">
<mml:math id="m29">
<mml:mrow>
<mml:mi>min</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>inv</mml:mtext>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>invest</mml:mtext>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>site</mml:mtext>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>om</mml:mtext>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>365</mml:mn>
<mml:mo>&#x2a;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mtext>CVaR</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">W</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mtext>CVaR</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">L</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(8)</label>
</disp-formula>
<disp-formula id="e9">
<mml:math id="m30">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>invest</mml:mtext>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3bb;</mml:mi>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mtext>ess</mml:mtext>
</mml:msub>
</mml:munderover>
</mml:mstyle>
<mml:msup>
<mml:mi>c</mml:mi>
<mml:mtext>ess</mml:mtext>
</mml:msup>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(9)</label>
</disp-formula>
<disp-formula id="e10">
<mml:math id="m31">
<mml:mrow>
<mml:mi>&#x3bb;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>N</mml:mi>
</mml:msub>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>N</mml:mi>
</mml:msub>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(10)</label>
</disp-formula>
<disp-formula id="e11">
<mml:math id="m32">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>site</mml:mtext>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>K</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msubsup>
<mml:mi>c</mml:mi>
<mml:mi>k</mml:mi>
<mml:mtext>site</mml:mtext>
</mml:msubsup>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(11)</label>
</disp-formula>where <italic>C</italic>
<sub>invest</sub> is the investment cost of the ESS; <italic>C</italic>
<sub>site</sub> is the site selection cost; <italic>T</italic>
<sub>
<italic>N</italic>
</sub> is the service life of the ESS; <italic>&#x3bb;</italic> is the return on investment; <italic>c</italic>
<sup>ess</sup> is the unit investment cost of the ESS; <italic>&#x3c3;</italic>
<sub>
<italic>k</italic>
</sub> is a binary variable, indicating whether to install the ESS at node <italic>k</italic>, where 1 means installation and otherwise, 0; <italic>r</italic> is the discount rate; and <inline-formula id="inf22">
<mml:math id="m33">
<mml:mrow>
<mml:msubsup>
<mml:mi>c</mml:mi>
<mml:mi>k</mml:mi>
<mml:mtext>site</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the site cost coefficient of the ESS at node <italic>k</italic>.</p>
<p>Constraint (12) limits the maximum planned number of ESSs in the power grid.<disp-formula id="e12">
<mml:math id="m34">
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>K</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mtext>ess</mml:mtext>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(12)</label>
</disp-formula>where <italic>N</italic>
<sub>ess</sub> is the maximum number of ESSs allowed to be installed in the power grid.</p>
</sec>
<sec id="s2-4">
<title>2.4 Operation model</title>
<p>The lower-level model simulates the sub-problems of operation in each typical scenario. The optimal operation strategy can be obtained by solving this model. The objective function is to minimize the operational cost of the system, which is shown in Eq. <xref ref-type="disp-formula" rid="e13">13</xref>. The operation costs of ESS and thermal power units are calculated by Eqs <xref ref-type="disp-formula" rid="e14">14</xref>, <xref ref-type="disp-formula" rid="e15">15</xref>, respectively.<disp-formula id="e13">
<mml:math id="m35">
<mml:mrow>
<mml:mi>min</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>om</mml:mtext>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>th</mml:mtext>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>24</mml:mn>
<mml:mo>&#x2a;</mml:mo>
<mml:mn>365</mml:mn>
</mml:mrow>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi>C</mml:mi>
<mml:mi>t</mml:mi>
<mml:mrow>
<mml:mtext>CVaR</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">W</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>C</mml:mi>
<mml:mi>t</mml:mi>
<mml:mrow>
<mml:mtext>CVaR</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">L</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(13)</label>
</disp-formula>
<disp-formula id="e14">
<mml:math id="m36">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>om</mml:mtext>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>K</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>24</mml:mn>
<mml:mo>&#x2a;</mml:mo>
<mml:mn>365</mml:mn>
</mml:mrow>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mtext>om</mml:mtext>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>dis</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>ch</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(14)</label>
</disp-formula>
<disp-formula id="e15">
<mml:math id="m37">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>th</mml:mtext>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>K</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>I</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>th</mml:mtext>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(15)</label>
</disp-formula>where <italic>C</italic>
<sub>om</sub> is the operation cost of the ESS, <italic>c</italic>
<sub>om</sub> is the operation cost coefficient of the ESS, <italic>C</italic>
<sub>th</sub> is the operation cost of thermal power units, and <italic>c</italic>
<sub>
<italic>i</italic>,<italic>k</italic>
</sub> is the operation cost coefficient in power output range <italic>i</italic> of the thermal power unit at node <italic>k</italic>.</p>
<p>The constraints of the operation model are shown below.</p>
<sec id="s2-4-1">
<title>2.4.1 Node power balance constraint</title>
<p>In the power system, the generation and consumption of electricity need to be consistent all the time. In extreme cases, there is a risk of wind power curtailment and load shedding. The amount of wind power curtailment and load shedding is represented by a node power balance constraint. Equation <xref ref-type="disp-formula" rid="e16">16</xref> is node power balance constraint.<disp-formula id="e16">
<mml:math id="m38">
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>K</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>th</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi mathvariant="normal">W</mml:mi>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>Wcur</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>K</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>dis</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>ch</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>K</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi>L</mml:mi>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>Lcur</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(16)</label>
</disp-formula>
</p>
</sec>
<sec id="s2-4-2">
<title>2.4.2 Constraints of thermal power units</title>
<p>The operational constraints of thermal power units include climbing restrictions, shown as Eq. <xref ref-type="disp-formula" rid="e17">17,</xref> and power output restrictions, shown as Eq. <xref ref-type="disp-formula" rid="e18">18</xref>.<disp-formula id="e17">
<mml:math id="m39">
<mml:mrow>
<mml:msubsup>
<mml:mi>R</mml:mi>
<mml:mtext>th</mml:mtext>
<mml:mo>&#x2212;</mml:mo>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>th</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>th</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>R</mml:mi>
<mml:mtext>th</mml:mtext>
<mml:mo>&#x2b;</mml:mo>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(17)</label>
</disp-formula>
<disp-formula id="e18">
<mml:math id="m40">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mtext>th</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>th</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>k</mml:mi>
<mml:mtext>thmax</mml:mtext>
</mml:msubsup>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(18)</label>
</disp-formula>
</p>
</sec>
<sec id="s2-4-3">
<title>2.4.3 Constraints of the wind turbine</title>
<p>For a wind turbine, the sum of the wind power output and wind power curtailment is the predicted wind power. Equation <xref ref-type="disp-formula" rid="e19">19</xref>&#x2013;<xref ref-type="disp-formula" rid="e20">20</xref> are limit constraints for wind power out and wind power curtailment, respectively, Eq. <xref ref-type="disp-formula" rid="e21">21</xref> is the power balance equation for wind power output.<disp-formula id="e19">
<mml:math id="m41">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi mathvariant="normal">W</mml:mi>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">W</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(19)</label>
</disp-formula>
<disp-formula id="e20">
<mml:math id="m42">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>Wcur</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">W</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(20)</label>
</disp-formula>
<disp-formula id="e21">
<mml:math id="m43">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi mathvariant="normal">W</mml:mi>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>Wcur</mml:mtext>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">W</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(21)</label>
</disp-formula>where <inline-formula id="inf23">
<mml:math id="m44">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi mathvariant="normal">W</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the actual wind power during time period <italic>t</italic> and scenario <italic>s</italic>, <inline-formula id="inf24">
<mml:math id="m45">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>Wcur</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the wind power curtailment during time period <italic>t</italic> and scenario <italic>s</italic>, and <inline-formula id="inf25">
<mml:math id="m46">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">W</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the predicted wind power during time period <italic>t</italic> and scenario <italic>s</italic>.</p>
</sec>
<sec id="s2-4-4">
<title>2.4.4 Constraints of the ESS</title>
<p>The constraints of the ESS include discharging and charging power limitations, shown as Eqs <xref ref-type="disp-formula" rid="e22">22</xref>&#x2013;<xref ref-type="disp-formula" rid="e24">24</xref>, the power balance constraint, shown as Eq. <xref ref-type="disp-formula" rid="e25">25</xref>, and state of charge constraints, shown as Eqs <xref ref-type="disp-formula" rid="e26">26</xref>, <xref ref-type="disp-formula" rid="e27">27</xref>.<disp-formula id="e22">
<mml:math id="m47">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>dis</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>&#x3bc;</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:msup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>dis</mml:mtext>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(22)</label>
</disp-formula>
<disp-formula id="e23">
<mml:math id="m48">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>ch</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>&#x3bc;</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:msup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>ch</mml:mtext>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(23)</label>
</disp-formula>
<disp-formula id="e24">
<mml:math id="m49">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3bc;</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>dis</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>&#x3bc;</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>ch</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(24)</label>
</disp-formula>
<disp-formula id="e25">
<mml:math id="m50">
<mml:mrow>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mtext>ch</mml:mtext>
</mml:msub>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mtext>dis</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(25)</label>
</disp-formula>
<disp-formula id="e26">
<mml:math id="m51">
<mml:mrow>
<mml:msubsup>
<mml:mi>S</mml:mi>
<mml:mi>k</mml:mi>
<mml:mi>min</mml:mi>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>S</mml:mi>
<mml:mi>k</mml:mi>
<mml:mi>max</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(26)</label>
</disp-formula>
<disp-formula id="e27">
<mml:math id="m52">
<mml:mrow>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>T</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mtext>th</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mtext>ess</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(27)</label>
</disp-formula>where <inline-formula id="inf26">
<mml:math id="m53">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3bc;</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is a binary variable, where 1 means discharging and otherwise, 0; <inline-formula id="inf27">
<mml:math id="m54">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3bc;</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is a binary variable, where 1 means charging and otherwise, 0; and <italic>S</italic>
<sub>
<italic>k</italic>,<italic>t</italic>,<italic>s</italic>
</sub> is the capacity of the ESS at node <italic>k</italic> during time period <italic>t</italic> and scenario <italic>s</italic>.</p>
</sec>
<sec id="s2-4-5">
<title>2.4.5 Line flow constraint</title>
<p>When the transmission system operates safely and stably, the power through the line cannot exceed the transmission capacity. Because the focus of this paper is on the flexibility of active power, it is assumed that each node has sufficient reactive power. Considering that the reactance of the transmission network system is much greater than the resistance, DC power flow is adopted. The line flow constraint based on the DC power flow is shown in Eq. <xref ref-type="disp-formula" rid="e28">28</xref>:<disp-formula id="e28">
<mml:math id="m55">
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>l</mml:mi>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>N</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>G</mml:mi>
<mml:mrow>
<mml:mi>l</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>K</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>G</mml:mi>
<mml:mrow>
<mml:mi>l</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mi>W</mml:mi>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>W</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>Z</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>G</mml:mi>
<mml:mrow>
<mml:mi>l</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>z</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi>L</mml:mi>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>l</mml:mi>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(28)</label>
</disp-formula>where <inline-formula id="inf28">
<mml:math id="m56">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>l</mml:mi>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the limit of line <italic>l</italic> and <italic>G</italic> is the power transfer distribution factor matrix.</p>
</sec>
<sec id="s2-4-6">
<title>2.4.6 Flexibility requirement constraints</title>
<p>To ensure the smooth operation of the power system, the planned flexibility resources need to exceed the flexibility requirements. Equation <xref ref-type="disp-formula" rid="e29">29</xref>&#x2013;<xref ref-type="disp-formula" rid="e30">30</xref> are the up/down flexibility requirement constraints, respectively.<disp-formula id="e29">
<mml:math id="m57">
<mml:mrow>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mtext>th</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mtext>ess</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(29)</label>
</disp-formula>
<disp-formula id="e30">
<mml:math id="m58">
<mml:mrow>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mtext>th</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mtext>ess</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:msubsup>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(30)</label>
</disp-formula>
</p>
</sec>
<sec id="s2-4-7">
<title>2.4.7 Auxiliary constraints to calculate CVaR</title>
<p>Equation <xref ref-type="disp-formula" rid="e31">31</xref>&#x2013;<xref ref-type="disp-formula" rid="e32">32</xref> are auxiliary constraints for wind power curtailment and load shedding to calculate CVaR, respectively.</p>
<p>
<disp-formula id="e31">
<mml:math id="m59">
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:msup>
<mml:mi>&#x3bb;</mml:mi>
<mml:mi mathvariant="normal">W</mml:mi>
</mml:msup>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>Wcur</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mi>&#x3be;</mml:mi>
<mml:mi mathvariant="normal">W</mml:mi>
</mml:msup>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi mathvariant="normal">W</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(31)</label>
</disp-formula>
<disp-formula id="e32">
<mml:math id="m60">
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:msup>
<mml:mi>&#x3bb;</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
</mml:msup>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mtext>Lcur</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mi>&#x3be;</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
</mml:msup>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(32)</label>
</disp-formula>where <italic>&#x3bb;</italic>
<sup>W</sup> and <italic>&#x3bb;</italic>
<sup>L</sup> are punishment coefficients of wind power curtailment and load shedding, respectively.</p>
</sec>
</sec>
</sec>
<sec id="s3">
<title>3 Solution method</title>
<p>The optimization configuration model for the ESS is divided into the upper-level planning model and lower-level operation model. The optimal strategy of the bi-level model needs to be obtained by continuously iterating between the upper-level model and the lower-level model, which is a complex solution method. Therefore, association constraints shown as Eqs <xref ref-type="disp-formula" rid="e33">33</xref>, <xref ref-type="disp-formula" rid="e34">34</xref> are introduced to simplify the entire bi-level model into an easily solved single-level MILP model.<disp-formula id="e33">
<mml:math id="m61">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3bc;</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(33)</label>
</disp-formula>
<disp-formula id="e34">
<mml:math id="m62">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3bc;</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(34)</label>
</disp-formula>
</p>
<p>The converted single-level model is as follows:<disp-formula id="e35">
<mml:math id="m63">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:munder>
<mml:mi>min</mml:mi>
<mml:msup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mtext>inv</mml:mtext>
</mml:msup>
</mml:munder>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mtext>inv</mml:mtext>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi>s</mml:mi>
<mml:mtext>opr</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>invest</mml:mtext>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>site</mml:mtext>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>om</mml:mtext>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mtext>th</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>365</mml:mn>
<mml:mo>&#x2a;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>N</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mtext>CVaR</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">W</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mtext>CVaR</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">L</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mo>.</mml:mo>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mo>.</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mi mathvariant="bold-italic">G</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mtext>inv</mml:mtext>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mtext>inv</mml:mtext>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">g</mml:mi>
<mml:mi mathvariant="bold-italic">s</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mrow>
<mml:mtext>inv</mml:mtext>
<mml:mtext>&#xa0;</mml:mtext>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi>s</mml:mi>
<mml:mtext>opr</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">h</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mrow>
<mml:mtext>inv</mml:mtext>
<mml:mtext>&#xa0;</mml:mtext>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi>s</mml:mi>
<mml:mtext>opr</mml:mtext>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(35)</label>
</disp-formula>
</p>
<p>By solving the model (Eq. <xref ref-type="disp-formula" rid="e35">35</xref>), an optimized configuration plan for the ESS can be obtained. The solving process is shown in <xref ref-type="fig" rid="F1">Figure 1</xref>.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Model solving process.</p>
</caption>
<graphic xlink:href="fenrg-12-1351569-g001.tif"/>
</fig>
</sec>
<sec id="s4">
<title>4 Case study</title>
<p>In this section, using the configuration model formulated in <xref ref-type="sec" rid="s2">Section 2</xref>, the optimal planning strategy of the IEEE-57 system is obtained, which can be found in the MATPOWER toolbox. The optimization model is modeled using the YALMIP language and solved using Gurobi in MATLAB R2018b.</p>
<sec id="s4-1">
<title>4.1 Basic data</title>
<p>The system structure is shown in <xref ref-type="fig" rid="F2">Figure 2</xref>. The thermal power units are located at nodes 1, 2, 3, 6, 8, 9, and 12. The wind farm is located at node 14. There are 26 candidate ESS nodes, and the site selection costs for each candidate nodes are shown in <xref ref-type="fig" rid="F3">Figure 3</xref>. The K-means method is used to reduce scenarios and ultimately retain five typical wind power scenarios. The predicted power curves for the wind farm and load are shown in <xref ref-type="fig" rid="F4">Figure 4</xref>. The other parameters are shown in <xref ref-type="table" rid="T1">Table 1</xref>.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>System structure diagram.</p>
</caption>
<graphic xlink:href="fenrg-12-1351569-g002.tif"/>
</fig>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Site selection cost of candidate nodes.</p>
</caption>
<graphic xlink:href="fenrg-12-1351569-g003.tif"/>
</fig>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Predicted power of the wind farm and total loads: <bold>(A)</bold> wind farm; <bold>(B)</bold> total load curve.</p>
</caption>
<graphic xlink:href="fenrg-12-1351569-g004.tif"/>
</fig>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Parameters.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Parameter</th>
<th align="center">Value</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">
<italic>c</italic>
<sup>ess</sup>
</td>
<td align="center">5,000,000 <inline-formula id="inf29">
<mml:math id="m64">
<mml:mrow>
<mml:mo>&#x00A5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="center">
<italic>N</italic>
<sub>ess</sub>
</td>
<td align="center">20</td>
</tr>
<tr>
<td align="center">
<italic>P</italic>
<sup>max,dis</sup>/<italic>P</italic>
<sup>max,ch</sup>
</td>
<td align="center">300&#xa0;MW</td>
</tr>
<tr>
<td align="center">
<italic>S</italic>
<sup>max,ess</sup>
</td>
<td align="center">500&#xa0;MWh</td>
</tr>
<tr>
<td align="center">
<italic>&#x3b7;</italic>
<sup>dis</sup>/<italic>&#x3b7;</italic>
<sup>ch</sup>
</td>
<td align="center">0.95/0.95</td>
</tr>
<tr>
<td align="center">
<italic>&#x3b1;</italic>
</td>
<td align="center">0.9</td>
</tr>
<tr>
<td align="center">
<italic>&#x3b2;</italic>
</td>
<td align="center">0.5</td>
</tr>
<tr>
<td align="center">
<italic>&#x3bb;</italic>
<sup>W</sup>/<italic>&#x3bb;</italic>
<sup>L</sup>
</td>
<td align="center">200 <inline-formula id="inf30">
<mml:math id="m65">
<mml:mrow>
<mml:mo>&#x00A5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>/200 <inline-formula id="inf31">
<mml:math id="m66">
<mml:mrow>
<mml:mo>&#x00A5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="center">
<italic>r</italic>
</td>
<td align="center">0.05</td>
</tr>
<tr>
<td align="center">
<italic>TN</italic>
</td>
<td align="center">10</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s4-2">
<title>4.2 Analysis of the ESS configuration results</title>
<p>To verify the effectiveness of the model established in this paper, the model is solved under three conditions: condition 1 is before configuration, condition 2 is after configuration considering flexibility requirement constraints, and condition 3 is after configuration without considering flexibility requirement constraints. The result comparisons of these three conditions are shown in <xref ref-type="table" rid="T2">Table 2</xref>.</p>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Result comparisons before and after energy storage system (ESS) configuration.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Parameter</th>
<th align="center">Condition 1</th>
<th align="center">Condition 2</th>
<th align="center">Condition 3</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Investment cost (<inline-formula id="inf32">
<mml:math id="m67">
<mml:mrow>
<mml:mo>&#x00A5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>)</td>
<td align="center">-</td>
<td align="center">8,526,056.63</td>
<td align="center">5,899,432.39</td>
</tr>
<tr>
<td align="center">Operation cost (<inline-formula id="inf33">
<mml:math id="m68">
<mml:mrow>
<mml:mo>&#x00A5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>)</td>
<td align="center">255,068,360.64</td>
<td align="center">258,043,596.80</td>
<td align="center">255,406,573.57</td>
</tr>
<tr>
<td align="center">Conditional value-at-risk (CVaR) (<inline-formula id="inf34">
<mml:math id="m69">
<mml:mrow>
<mml:mo>&#x00A5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>)</td>
<td align="center">532,101.61</td>
<td align="center">74,696.99</td>
<td align="center">87,527.24</td>
</tr>
<tr>
<td align="center">Wind curtailment (MWh)</td>
<td align="center">8,653.90</td>
<td align="center">673.03</td>
<td align="center">839.38</td>
</tr>
<tr>
<td align="center">Load shedding (MWh)</td>
<td align="center">1,176.23</td>
<td align="center">0</td>
<td align="center">0</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Observing the results given in <xref ref-type="table" rid="T2">Table 2</xref>, although the investment cost and operation cost under condition 2 are larger than that under condition 1, the operational CVaR of condition 2 is only 14% of the CVaR of condition 1 which is reduced by 457,404.62 <inline-formula id="inf35">
<mml:math id="m70">
<mml:mrow>
<mml:mo>&#x00A5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. This indicates that the configuration of the ESS significantly reduces the operational risks of the power system. In addition, the total wind power curtailment and load shedding under condition 2 is only 6.85% of condition 1. Although the investment and operation costs under condition 3 are lower than that under condition 2, condition 3 will face a higher CVaR and wind power curtailment. This indicates that the configuration of the ESS considering flexibility requirement constraints is beneficial for increasing the consumption of renewable energy and reducing load shedding.</p>
<p>The results of ESS planning under conditions 2 and 3 are shown in <xref ref-type="fig" rid="F5">Figure 5</xref>, while the flexibilities of the three conditions are shown in <xref ref-type="fig" rid="F6">Figure 6</xref>. The overall ESS planning amounts for conditions 2 and 3 are 13 and 8, respectively. In contrast to condition 2, due to the fact that condition 3 does not require consideration of flexibility requirements, it will strive to optimize the equilibrium between planning expenses and system operating costs. This signifies that the system exhibits a predisposition toward selecting nodes with reduced site selection costs and endeavoring to minimize the number of ESS installations. To meet the flexibility requirements of the system, more ESS devices will be configured under condition 2 than under condition 3. Although this may result in heightened investment and operational expenses, it concurrently mitigates the operational risks encountered by the system.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>Energy storage system (ESS) planning results under conditions 2 and 3. <bold>(A)</bold> Condition 2 and <bold>(B)</bold> condition 3.</p>
</caption>
<graphic xlink:href="fenrg-12-1351569-g005.tif"/>
</fig>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Flexibility under different conditions: <bold>(A)</bold> condition 1; <bold>(B)</bold> condition 2; and <bold>(C)</bold> condition 3.</p>
</caption>
<graphic xlink:href="fenrg-12-1351569-g006.tif"/>
</fig>
<p>Under condition 1, it is observed that the flexibility demand of the power system surpasses the available flexibility resource, consequently resulting in significant wind curtailment and load shedding. Such a scenario is evidently detrimental to the economic operation of the power system. Upon the integration of the ESS, the system exhibits an enhanced capacity to swiftly modify its charging and discharging states, thereby effectively storing surplus power and significantly augmenting the overall flexibility resources. As a result, under condition 2, the system consistently ensures that the flexibility demand remains within the available flexibility resource. Nonetheless, it is important to note that without considering the constraints of flexibility requirements, which is condition 3, there exists the potential for the flexibility demand to exceed the available flexibility resource at specific instances.</p>
</sec>
<sec id="s4-3">
<title>4.3 Analysis of operational flexibility</title>
<sec id="s4-3-1">
<title>4.3.1 Improvement of the net load curve</title>
<p>
<xref ref-type="fig" rid="F7">Figure 7</xref> shows a comparison of the net load curve before and after ESS configuration. Before ESS configuration, the daily net load difference in the peak to the valley is 1,523&#xa0;MW, which accounts for 61% of the peak load. After ESS configuration, the ESS is charged during periods of high wind power generation and nighttime low-level load, which promotes the consumption of renewable energy. The difference in the peak to the valley of the net load curve is reduced to 1,456&#xa0;MW, alleviating the scheduling pressure of the power system.</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Net load curve before and after ESS configuration.</p>
</caption>
<graphic xlink:href="fenrg-12-1351569-g007.tif"/>
</fig>
</sec>
<sec id="s4-3-2">
<title>4.3.2 Improvement of thermal unit power output</title>
<p>
<xref ref-type="fig" rid="F8">Figure 8</xref> shows the thermal power generation curves before and after ESS configuration. Before ESS configuration, thermal power units were limited by the capacity of transmission lines and in a low output state. After planning the ESS, the spatiotemporal transfer of electricity energy in the ESS can be used to increase the power output of thermal power units and reduce the load shedding.</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Thermal power generation curves before and after ESS configuration: <bold>(A)</bold> unit 5 and <bold>(B)</bold> unit 7.</p>
</caption>
<graphic xlink:href="fenrg-12-1351569-g008.tif"/>
</fig>
</sec>
<sec id="s4-3-3">
<title>4.3.3 Improvement of the transmission line load rate</title>
<p>The integration of wind power into the grid exacerbates the uncertainty of net load changes, which can lead to uncertainty in the power flow of the power system. Therefore, it is necessary to leave a certain margin in the load rate of each transmission line to ensure the reliability of power supply. The maximize line load rate is defined by <italic>L</italic>
<sub>
<italic>l</italic>
</sub> comparing the maximum value of the active power flow of the transmission line to the absolute value of the transmission capacity of the line: Equation <xref ref-type="disp-formula" rid="e36">36</xref> is the formula to calculate the maximum line load rate.<disp-formula id="e36">
<mml:math id="m71">
<mml:mrow>
<mml:msub>
<mml:mi>L</mml:mi>
<mml:mi>l</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>l</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mi>L</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>l</mml:mi>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(36)</label>
</disp-formula>where <inline-formula id="inf36">
<mml:math id="m72">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>l</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mi>L</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the line load rate of line <italic>l</italic> during time period <italic>t</italic>.</p>
<p>Once the flexibility requirements of the system are considered, <xref ref-type="table" rid="T3">Table 3</xref> illustrates the maximum line load rates of certain lines pre- and post-ESS deployment. The maximum line load rates of these lines notably decrease following the implementation of the ESS, leading to a reduction in instances of power flow congestion. This indicates that the incorporation of energy storage devices within the transmission network can effectively ameliorate instances of line overloading.</p>
<table-wrap id="T3" position="float">
<label>TABLE 3</label>
<caption>
<p>Comparison of maximum line load rates before and after energy storage system (ESS) configuration.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th colspan="3" align="center">Maximum line load rate (%)</th>
</tr>
<tr>
<th align="center">Line (start node&#x2013;end node)</th>
<th align="center">Before configuration</th>
<th align="center">After configuration</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">7&#x2013;8</td>
<td align="center">62.67</td>
<td align="center">54.10</td>
</tr>
<tr>
<td align="center">9&#x2013;11</td>
<td align="center">59.32</td>
<td align="center">22.92</td>
</tr>
<tr>
<td align="center">1&#x2013;15</td>
<td align="center">33.71</td>
<td align="center">25.61</td>
</tr>
<tr>
<td align="center">3&#x2013;15</td>
<td align="center">64.61</td>
<td align="center">62.91</td>
</tr>
<tr>
<td align="center">37&#x2013;38</td>
<td align="center">73.14</td>
<td align="center">27.75</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>To further elucidate the impact of energy storage on transmission lines, the case of lines (9&#x2013;11) is examined. <xref ref-type="fig" rid="F9">Figure 9</xref> depicts a comparative curve of the line load rates of this line pre- and post-ESS deployment, while <xref ref-type="fig" rid="F10">Figure 10</xref> displays the variation in energy storage system capacity at node 9. It is evident that, subsequent to the implementation of energy storage devices, the line load rates of this line consistently remain below 0.3. The variation in capacity at node 9 is similar to the load fluctuation curve. This demonstrates that through charging and discharging activities, ESS devices enhance the power flow distribution of the system, effectively mitigating instances of line overloading.</p>
<fig id="F9" position="float">
<label>FIGURE 9</label>
<caption>
<p>Comparison of the line load rate of lines (9&#x2013;11) before and after ESS configuration.</p>
</caption>
<graphic xlink:href="fenrg-12-1351569-g009.tif"/>
</fig>
<fig id="F10" position="float">
<label>FIGURE 10</label>
<caption>
<p>SOC of the ESS on node 9.</p>
</caption>
<graphic xlink:href="fenrg-12-1351569-g010.tif"/>
</fig>
</sec>
</sec>
<sec id="s4-4">
<title>4.4 Comparison of different planning strategies</title>
<p>The total wind and load shedding curves in different values of <italic>&#x3b2;</italic> are shown in <xref ref-type="fig" rid="F11">Figure 11</xref>. Parameter comparisons under different values of <italic>&#x3b2;</italic> is shown in <xref ref-type="table" rid="T4">Table 4</xref>. These curves show that there is a significant phenomenon of wind power curtailment and load shedding before configuration. In different values of risk avoidance parameters, the trend of wind power curtailment and load shedding in the power system is generally consistent. The analysis further reveals a marked enhancement in the operational performance of the power system. Notably, as <italic>&#x3b2;</italic> increases, there is a consistent reduction in the operation risk cost, wind power curtailment, and load shedding. However, this is accompanied by a corresponding increase in the operational costs of the power system. Consequently, it becomes imperative for power system operators to judiciously select an optimal value of <italic>&#x3b2;</italic> in order to maximize benefits within the ESS configuration strategy.</p>
<fig id="F11" position="float">
<label>FIGURE 11</label>
<caption>
<p>Total wind and load shedding curve in different values of <italic>&#x3b2;</italic>.</p>
</caption>
<graphic xlink:href="fenrg-12-1351569-g011.tif"/>
</fig>
<table-wrap id="T4" position="float">
<label>TABLE 4</label>
<caption>
<p>Result comparisons under different values of <italic>&#x3b2;</italic>
</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center"/>
<th align="center">Before configuration</th>
<th align="center">
<italic>&#x3b2;</italic> &#x3d; 0.1</th>
<th align="center">
<italic>&#x3b2;</italic> &#x3d; 0.3</th>
<th align="center">
<italic>&#x3b2;</italic> &#x3d; 0.5</th>
<th align="center">
<italic>&#x3b2;</italic> &#x3d; 0.8</th>
<th align="center">
<italic>&#x3b2;</italic> &#x3d; 1</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Conditional value-at-risk (CVaR)/<inline-formula id="inf37">
<mml:math id="m73">
<mml:mrow>
<mml:mo>&#x00A5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">532,101.61</td>
<td align="center">78,432.57</td>
<td align="center">76,750.2</td>
<td align="center">74,696.99</td>
<td align="center">73,516.63</td>
<td align="center">71,882.46</td>
</tr>
<tr>
<td align="center">Operation cost higher than before configuration/<inline-formula id="inf38">
<mml:math id="m74">
<mml:mrow>
<mml:mo>&#x00A5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">-</td>
<td align="center">2,736,525</td>
<td align="center">2,864,108</td>
<td align="center">2,975,236</td>
<td align="center">2,993,731</td>
<td align="center">3,127,639</td>
</tr>
<tr>
<td align="center">Wind curtailment/MWh</td>
<td align="center">8,653.90</td>
<td align="center">781.36</td>
<td align="center">704.39</td>
<td align="center">673.03</td>
<td align="center">619.01</td>
<td align="center">571.06</td>
</tr>
<tr>
<td align="center">Load shedding/MWh</td>
<td align="center">1,176.23</td>
<td align="center">0</td>
<td align="center">0</td>
<td align="center">0</td>
<td align="center">0</td>
<td align="center">0</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec sec-type="conclusion" id="s5">
<title>5 Conclusion</title>
<p>This paper presents a bi-level ESS configuration optimization model that incorporates considerations of flexibility requirements and operational risks within the power system. To analyze the impact of wind power uncertainty, scenario analysis theory and CVaR are used. The upper-level model focuses on optimizing the planning strategy for the ESS in the power system, while the lower-level model simulates daily operations under typical scenarios. In order to simplify the original model, a set of coupling constraints is introduced to transform the bi-level model into a solvable single-level MILP model.</p>
<p>The findings indicate that following the implementation of ESS planning, operational risks within the power system are significantly mitigated. The total amount of wind curtailment and load shedding represents only 6.85% of the pre-planning levels, with the CVaR reduced to 14% of the pre-planning values. Additionally, the flexibility resources experience notable enhancements. Optimization of wind power consumption and the peak&#x2013;valley net load curve contributes to the safe and stable operation of the power system. Through comparison of results across various values of risk avoidance parameters, power system operators are advised to select an appropriate value of <italic>&#x3b2;</italic> to achieve a balance between the economic and operational flexibility aspects of the system. As part of future research, the impact of flexible ESS configuration on power system line load rates will be a key focus.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s6">
<title>Data availability statement</title>
<p>The raw data supporting the conclusion of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec id="s7">
<title>Author contributions</title>
<p>ZH: writing&#x2013;original draft, methodology, investigation, and funding acquisition. HY: writing&#x2013;review and editing, software, resources, and project administration. BL: writing&#x2013;original draft, visualization, validation, and supervision. WH: writing&#x2013;review and editing and writing&#x2013;original draft. XW: writing&#x2013;review and editing, formal analysis, data curation, and conceptualization.</p>
</sec>
<sec sec-type="funding-information" id="s8">
<title>Funding</title>
<p>The author(s) declare financial support was received for the research, authorship, and/or publication of this article. This work was supported by the Science and Technology Project of State Grid Shaanxi Electric Power Company (No. 5226JY230004).</p>
</sec>
<sec sec-type="COI-statement" id="s9">
<title>Conflict of interest</title>
<p>Authors ZH, HY, and BL were employed by the Economic and Technological Research Institute of State Grid Shaanxi Electric Power Co Ltd.</p>
<p>The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
<p>The authors declare that this study received funding from the Science and Technology Project of State Grid Shaanxi Electric Power Company (No.5226JY230004). The funder had the following involvement in the study: data collection.</p>
</sec>
<sec sec-type="disclaimer" id="s10">
<title>Publisher&#x2019;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">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Aaslid</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Korp&#xe5;s</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Belsnes</surname>
<given-names>M. M.</given-names>
</name>
<name>
<surname>Fosso</surname>
<given-names>O. B.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Stochastic optimization of microgrid operation with renewable generation and energy storages</article-title>. <source>IEEE Trans. Sustain. Energy</source> <volume>13</volume> (<issue>3</issue>), <fpage>1481</fpage>&#x2013;<lpage>1491</lpage>. <pub-id pub-id-type="doi">10.1109/TSTE.2022.3156069</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Alharbi</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Almutairi</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Planning flexibility with non-deferrable loads considering distribution grid limitations</article-title>. <source>IEEE Access</source> <volume>9</volume>, <fpage>25140</fpage>&#x2013;<lpage>25147</lpage>. <pub-id pub-id-type="doi">10.1109/ACCESS.2021.3057553</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Avramidis</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Capitanescu</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Deconinck</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Grid-friendly smart sustainable buildings: flexibility-to-cost mapping</article-title>. <source>IEEE Trans. Sustain. Energy</source> <volume>13</volume> (<issue>3</issue>), <fpage>1857</fpage>&#x2013;<lpage>1860</lpage>. <pub-id pub-id-type="doi">10.1109/TSTE.2022.3160886</pub-id>
</citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Clegg</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Mancarella</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Integrated electrical and gas network flexibility assessment in low-carbon multi-energy systems</article-title>. <source>IEEE Trans. Sustain. Energy</source> <volume>7</volume> (<issue>2</issue>), <fpage>718</fpage>&#x2013;<lpage>731</lpage>. <pub-id pub-id-type="doi">10.1109/TSTE.2015.2497329</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dai</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Shi</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Goh</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Incorporating external flexibility in generation expansion planning</article-title>. <source>IEEE Trans. Power Syst.</source> <volume>36</volume> (<issue>6</issue>), <fpage>5959</fpage>&#x2013;<lpage>5962</lpage>. <pub-id pub-id-type="doi">10.1109/TPWRS.2021.3101700</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dehghan</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Amjady</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Aristidou</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>A robust coordinated expansion planning model for wind farm-integrated power systems with flexibility sources using affine policies</article-title>. <source>IEEE Syst. J.</source> <volume>14</volume> (<issue>3</issue>), <fpage>4110</fpage>&#x2013;<lpage>4118</lpage>. <pub-id pub-id-type="doi">10.1109/JSYST.2019.2957045</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Evans</surname>
<given-names>M. P.</given-names>
</name>
<name>
<surname>Tindemans</surname>
<given-names>S. H.</given-names>
</name>
<name>
<surname>Angeli</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Flexibility framework with recovery guarantees for aggregated energy storage devices</article-title>. <source>IEEE Trans. Smart Grid</source> <volume>13</volume> (<issue>5</issue>), <fpage>3519</fpage>&#x2013;<lpage>3531</lpage>. <pub-id pub-id-type="doi">10.1109/TSG.2022.3173900</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Garcia-Torres</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>B&#xe1;ez-Gonzalez</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Tobajas</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Vazquez</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Nieto</surname>
<given-names>E.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Cooperative optimization of networked microgrids for supporting grid flexibility services using model predictive control</article-title>. <source>IEEE Trans. Smart Grid</source> <volume>12</volume> (<issue>3</issue>), <fpage>1893</fpage>&#x2013;<lpage>1903</lpage>. <pub-id pub-id-type="doi">10.1109/TSG.2020.3043821</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Han</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Xie</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>J.</given-names>
</name>
</person-group> (<conf-date>November 2022</conf-date>). &#x201c;<article-title>Coordinated optimization of power rating and capacity of battery storage energy system with large-scale renewable energy</article-title>,&#x201d; in <conf-name>Proceedings of the 2022 IEEE 6th conference on energy internet and energy system integration</conf-name> <conf-loc>Chengdu, China</conf-loc>: <publisher-name>EI2</publisher-name>, <fpage>189</fpage>&#x2013;<lpage>193</lpage>. <pub-id pub-id-type="doi">10.1109/EI256261.2022.10116240</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Huang</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Exploiting the operational flexibility of wind integrated hybrid AC/DC power systems</article-title>. <source>IEEE Trans. Power Syst.</source> <volume>36</volume> (<issue>1</issue>), <fpage>818</fpage>&#x2013;<lpage>826</lpage>. <pub-id pub-id-type="doi">10.1109/TPWRS.2020.3014906</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jiang</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Flexibility clearing in joint energy and flexibility markets considering TSO-DSO coordination</article-title>. <source>IEEE Trans. Smart Grid</source> <volume>14</volume> (<issue>2</issue>), <fpage>1376</fpage>&#x2013;<lpage>1387</lpage>. <pub-id pub-id-type="doi">10.1109/TSG.2022.3153634</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kalantar-Neyestanaki</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Cherkaoui</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Coordinating distributed energy resources and utility-scale battery energy storage system for power flexibility provision under uncertainty</article-title>. <source>IEEE Trans. Sustain. Energy</source> <volume>12</volume> (<issue>4</issue>), <fpage>1853</fpage>&#x2013;<lpage>1863</lpage>. <pub-id pub-id-type="doi">10.1109/TSTE.2021.3068630</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Lin</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Lu</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Qiao</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Qin</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Kang</surname>
<given-names>C.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>Long duration flexibility planning challenges and solutions for power system with ultra high share of renewable energy</article-title>. <source>IEEE Open Access J. Power Energy</source> <volume>9</volume>, <fpage>412</fpage>&#x2013;<lpage>424</lpage>. <pub-id pub-id-type="doi">10.1109/OAJPE.2022.3208835</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Liu</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Yuan</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<conf-date>December 2021</conf-date>). &#x201c;<article-title>Research on user classification method of electricity market based on K-means</article-title>,&#x201d; in <conf-name>Proceedings of the 2021 3rd international conference on machine learning</conf-name> <conf-loc>Taiyuan, China</conf-loc>: <publisher-name>Big Data and Business Intelligence MLBDBI</publisher-name>, <fpage>385</fpage>&#x2013;<lpage>390</lpage>. <pub-id pub-id-type="doi">10.1109/MLBDBI54094.2021.00079</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mitra</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Nguyen</surname>
<given-names>N.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Grid-scale virtual energy storage to advance renewable energy penetration</article-title>. <source>IEEE Trans. Industry Appl.</source> <volume>58</volume> (<issue>6</issue>), <fpage>7952</fpage>&#x2013;<lpage>7965</lpage>. <pub-id pub-id-type="doi">10.1109/TIA.2022.3202515</pub-id>
</citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Naversen</surname>
<given-names>C. &#xd8;.</given-names>
</name>
<name>
<surname>Parvania</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Helseth</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Farahmand</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Continuous hydrothermal flexibility coordination under wind power uncertainty</article-title>. <source>IEEE Trans. Sustain. Energy</source> <volume>13</volume> (<issue>4</issue>), <fpage>1900</fpage>&#x2013;<lpage>1912</lpage>. <pub-id pub-id-type="doi">10.1109/TSTE.2022.3175430</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Oikonomou</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Parvania</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Khatami</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Deliverable energy flexibility scheduling for active distribution networks</article-title>. <source>IEEE Trans. Smart Grid</source> <volume>11</volume> (<issue>1</issue>), <fpage>655</fpage>&#x2013;<lpage>664</lpage>. <pub-id pub-id-type="doi">10.1109/TSG.2019.2927604</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Pourghaderi</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Fotuhi-Firuzabad</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Moeini-Aghtaie</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Kabirifar</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Lehtonen</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Exploiting DERs&#x2019; flexibility provision in distribution and transmission systems interface</article-title>. <source>IEEE Trans. Power Syst.</source> <volume>38</volume> (<issue>2</issue>), <fpage>1963</fpage>&#x2013;<lpage>1977</lpage>. <pub-id pub-id-type="doi">10.1109/TPWRS.2022.3209132</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ran</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>An interval&#x2013;probabilistic CVaR (IP-CVaR) and modelling for unknown probability distribution of some random variables</article-title>. <source>IEEE Trans. Power Syst.</source> <volume>38</volume> (<issue>3</issue>), <fpage>2035</fpage>&#x2013;<lpage>2045</lpage>. <pub-id pub-id-type="doi">10.1109/TPWRS.2022.3185214</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shen</surname>
<given-names>X.</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> (<year>2021</year>). <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> <volume>9</volume>, <fpage>61035</fpage>&#x2013;<lpage>61047</lpage>. <pub-id pub-id-type="doi">10.1109/ACCESS.2021.3074151</pub-id>
</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shi</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Dong</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Guo</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Enhancing the flexibility of storage integrated power system by multi-stage robust dispatch</article-title>. <source>IEEE Trans. Power Syst.</source> <volume>36</volume> (<issue>3</issue>), <fpage>2314</fpage>&#x2013;<lpage>2322</lpage>. <pub-id pub-id-type="doi">10.1109/TPWRS.2020.3031324</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Teng</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Ma</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Hui</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Multi-energy storage system model based on electricity heat and hydrogen coordinated optimization for power grid flexibility</article-title>. <source>CSEE J. Power Energy Syst.</source> <volume>5</volume> (<issue>2</issue>), <fpage>266</fpage>&#x2013;<lpage>274</lpage>. <pub-id pub-id-type="doi">10.17775/CSEEJPES.2019.00190</pub-id>
</citation>
</ref>
<ref id="B23">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Vongsing</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Raphisak</surname>
<given-names>P.</given-names>
</name>
</person-group> (<conf-date>October 2021</conf-date>). &#x201c;<article-title>Peer-to-Peer electricity energy trading using Monte Carlo simulation</article-title>,&#x201d; in <conf-name>Proceedings of the 2021 international conference on power, energy and innovations (ICPEI)</conf-name> (<conf-loc>Thailand</conf-loc>: <publisher-name>Nakhon Ratchasima</publisher-name>), <fpage>21</fpage>&#x2013;<lpage>24</lpage>. <pub-id pub-id-type="doi">10.1109/ICPEI52436.2021.9690683</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Han</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Ye</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Pei</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Risk&#x2013;based admissibility analysis of wind power integration into power system with energy storage system</article-title>. <source>IEEE Access</source> <volume>6</volume>, <fpage>57400</fpage>&#x2013;<lpage>57413</lpage>. <pub-id pub-id-type="doi">10.1109/ACCESS.2018.2870736</pub-id>
</citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhou</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Fang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Ai</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Cui</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Yao</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>Z.</given-names>
</name>
<etal/>
</person-group> (<year>2023</year>). <article-title>Storage right-based hybrid discrete-time and continuous-time flexibility trading between energy storage station and renewable power plants</article-title>. <source>IEEE Trans. Sustain. Energy</source> <volume>14</volume> (<issue>1</issue>), <fpage>465</fpage>&#x2013;<lpage>481</lpage>. <pub-id pub-id-type="doi">10.1109/TSTE.2022.3215839</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhou</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Fang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Ai</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Yao</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Wen</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Flexibility-enhanced continuous-time scheduling of power system under wind uncertainties</article-title>. <source>IEEE Trans. Sustain. Energy</source> <volume>12</volume> (<issue>4</issue>), <fpage>2306</fpage>&#x2013;<lpage>2320</lpage>. <pub-id pub-id-type="doi">10.1109/TSTE.2021.3089696</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>