<?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">1240764</article-id>
<article-id pub-id-type="doi">10.3389/fenrg.2023.1240764</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>Multi-timescale optimal control strategy for energy storage using LSTM prediction&#x2013;correction in the active distribution network</article-title>
<alt-title alt-title-type="left-running-head">Wu 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.2023.1240764">10.3389/fenrg.2023.1240764</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Wu</surname>
<given-names>Junjian</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Chen</surname>
<given-names>Yiwei</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Zhou</surname>
<given-names>Jinhui</given-names>
</name>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Jiang</surname>
<given-names>Chengtao</given-names>
</name>
<xref ref-type="aff" rid="aff4">
<sup>4</sup>
</xref>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Liu</surname>
<given-names>Wei</given-names>
</name>
<xref ref-type="aff" rid="aff4">
<sup>4</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/992711/overview"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>State Grid Wenzhou Electric Power Supply Company</institution>, <addr-line>Wenzhou</addr-line>, <country>China</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>State Grid Rui&#x2019;an Electric Power Supply Company</institution>, <addr-line>Rui&#x2019;an</addr-line>, <country>China</country>
</aff>
<aff id="aff3">
<sup>3</sup>
<institution>State Grid Zhejiang Electric Power Co., Ltd. Research Institute</institution>, <addr-line>Hangzhou</addr-line>, <addr-line>Zhejiang</addr-line>, <country>China</country>
</aff>
<aff id="aff4">
<sup>4</sup>
<institution>School of Automation</institution>, <institution>Nanjing University of Science and Technology</institution>, <addr-line>Nanjing</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/1012960/overview">Tianqi Hong</ext-link>, Argonne National Laboratory (DOE), 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/1242477/overview">Zhao Luo</ext-link>, Kunming University of Science and Technology, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2165933/overview">Tomasz G&#xf3;rski</ext-link>, University of Gdansk, Poland</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1246623/overview">Yu-Qing Bao</ext-link>, Nanjing Normal University, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2090982/overview">Junpeng Zhu</ext-link>, Hohai University, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2351548/overview">Songtao Wei</ext-link>, Virginia Tech, United States, in collaboration with reviewer JZ</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1358903/overview">Yu Liu</ext-link>, Southeast University, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2353001/overview">Anne Stratman</ext-link>, University of Nebraska-Lincoln, in collaboration with reviewer YL</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Wei Liu, <email>wliu@njust.edu.cn</email>
</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>21</day>
<month>09</month>
<year>2023</year>
</pub-date>
<pub-date pub-type="collection">
<year>2023</year>
</pub-date>
<volume>11</volume>
<elocation-id>1240764</elocation-id>
<history>
<date date-type="received">
<day>15</day>
<month>06</month>
<year>2023</year>
</date>
<date date-type="accepted">
<day>30</day>
<month>08</month>
<year>2023</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2023 Wu, Chen, Zhou, Jiang and Liu.</copyright-statement>
<copyright-year>2023</copyright-year>
<copyright-holder>Wu, Chen, Zhou, Jiang and Liu</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 daily output of wind power is inversely proportional to the load demand in most situations, which will lead to an increase in peak-to-valley difference and fluctuation. To solve this problem, this study proposes a long short-term memory prediction&#x2013;correction-based multi-timescale optimal control strategy for energy storage. First, the proposed strategy performs a long short-term memory (LSTM) prediction on the power of wind power and load. Then, it establishes a predictive planning model to improve the effect of peak shaving and the operating income of energy storage. Finally, it uses the method of online correction of power lines for peak shaving to further optimize the energy storage power according to the error between the residual energy of energy storage and the planned residual energy in the actual peak shaving process. By comparing with traditional strategies, the proposed strategy is found to be significantly better than the constant power strategy and the power difference strategy in the peak shaving effect and operating income.</p>
</abstract>
<kwd-group>
<kwd>peak shaving</kwd>
<kwd>energy storage</kwd>
<kwd>LSTM</kwd>
<kwd>prediction-correction</kwd>
<kwd>multi-time-scale</kwd>
</kwd-group>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Process and Energy Systems Engineering</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>In light of China&#x2019;s ongoing modernization process, energy has been a major concern. In the current scenario, new energy sources have experienced substantial growth, characterized by their unpredictable and volatile output patterns. As the penetration rate of new energy increases, the influence of wind power further exacerbates the difference between peak and off-peak periods in the system net load. Consequently, numerous scholars have conducted research on the accurate prediction of renewable energy output characteristics and implementing effective peak-cutting and valley-filling strategies.</p>
<sec id="s1-1">
<title>1.1 Related works</title>
<p>The use of energy storage for peak shaving is one of the current research hotspots at home and abroad. <xref ref-type="bibr" rid="B11">Li et al. (2022)</xref> proposed a distributed battery energy storage station optimal scheduling model that considers the movement of peak loads, which can enhance the voltage distribution of the distribution network. <xref ref-type="bibr" rid="B17">Wei et al. (2022)</xref> proposed an economic optimization method for depth peak regulation and the depth of the emergency of the energy storage (ES) accident on the demand side. <xref ref-type="bibr" rid="B5">Engels et al. (2020)</xref> proposed a peak shaving strategy for coordinated control of multiple batteries with the goal of net profit. <xref ref-type="bibr" rid="B15">Shiwei et al. (2020)</xref> established a flexible resource optimization allocation model aiming at economic optimization. This model combines the transformation of thermal power units, energy storage, and the characteristics of the load-side demand response. <xref ref-type="bibr" rid="B7">Guo et al. (2021)</xref> proposed a comprehensive collaborative optimization framework to schedule distributed power sources and batteries for peak shaving with the goal of minimizing operating costs. Energy storage plays a vital role in enhancing grid flexibility and maintaining a balance between the supply and demand. The ability to anticipate and fulfill peaks and troughs in demand by adjusting generation levels in a timely manner is crucial. With the growing utilization of intermittent wind and solar electricity, higher capacities of energy storage are necessary to ensure grid flexibility, grid stability, and effective management of the intermittent nature of these energy sources (<xref ref-type="bibr" rid="B6">G&#xf3;rski, 2022</xref>; <xref ref-type="bibr" rid="B12">Menniti et al., 2022</xref>).</p>
<p>On the other hand, relevant researchers have proposed using dynamic programming or optimization algorithms to find the optimal solution for the energy storage output (<xref ref-type="bibr" rid="B1">Ahmed et al., 2022</xref>; <xref ref-type="bibr" rid="B18">Zhang et al., 2020</xref>; <xref ref-type="bibr" rid="B4">Dayarathna et al., 2022</xref>; <xref ref-type="bibr" rid="B3">Colonetti et al., 2023</xref>), relying on the predicted net load to formulate the output plan of the energy storage for the next day (<xref ref-type="bibr" rid="B13">Riffonneau et al., 2011</xref>; <xref ref-type="bibr" rid="B14">Rowe et al., 2014</xref>; <xref ref-type="bibr" rid="B9">Jing et al., 2015</xref>; <xref ref-type="bibr" rid="B10">Kodaira et al., 2020</xref>). <xref ref-type="bibr" rid="B8">Hwang et al. (2020)</xref> carried out load prediction based on deep learning and formulated an optimal control strategy for peak shaving based on cost minimization. <xref ref-type="bibr" rid="B19">Zheng et al. (2018)</xref> proposed a two-layer scheduling strategy based on prediction and correction, aiming at improving profits to peak shaving. <xref ref-type="bibr" rid="B2">Bennett et al. (2015)</xref> proposed an online control algorithm based on load prediction to reduce the impact of prediction error.</p>
</sec>
<sec id="s1-2">
<title>1.2 Contribution</title>
<p>The majority of existing literature predominantly emphasizes only one of the impact of prediction error, the effect of peak shaving or the economic benefits. In this paper, we aim to fill this gap by considering multiple factors to provide a more comprehensive analysis. Thus, it effectively enhances the efficacy of peak shaving and increases the operating income of lithium batteries.</p>
<p>According to the aforementioned discussions, the main contributions of this study can be summarized as follows:<list list-type="simple">
<list-item>
<p>&#x2022; By employing LSTM forecast planning and an online correction optimization control strategy, we forecast wind power and load data, ultimately obtaining the predicted net load data.</p>
</list-item>
<list-item>
<p>&#x2022; Proposal of the predictive planning model, which considers the peak shaving effect and energy storage operation income as a goal.</p>
</list-item>
<list-item>
<p>&#x2022; Proposal of the strategy for online correction of the peak shaving power line, according to the error between the residual energy of energy storage and the planned residual energy in the actual peak shaving process.</p>
</list-item>
<list-item>
<p>&#x2022; The proposed strategy significantly enhances the effect of peak cutting and increases the operating earnings of the lithium battery.</p>
</list-item>
</list>
</p>
</sec>
</sec>
<sec id="s2">
<title>2 LSTM prediction</title>
<sec id="s2-1">
<title>2.1 The structure of LSTM</title>
<p>The long short-term memory (LSTM) network is a special kind of recurrent neural network (RNN). Compared with RNNs with long-term dependence problems, LSTM shows a structure of the cell state, and this cell state can be modified by the input gate, the output gate, and the forgetting gate to realize the long-term storage of state information. LSTM is suitable for dealing with highly time series-related problems, such as wind power prediction (<xref ref-type="bibr" rid="B16">Wang et al., 2019</xref>). <xref ref-type="sec" rid="s11">Supplementary Figure S1</xref> shows its basic structure.</p>
<p>Forgetting gate <italic>n</italic>
<sub>
<italic>k</italic>
</sub> can read the entered information of <italic>m</italic>
<sub>
<italic>k-1</italic>
</sub> and <italic>x</italic>
<sub>
<italic>k</italic>
</sub> and then selectively retain or delete some information of <italic>c</italic>
<sub>
<italic>k-</italic>1</sub> using the sigmoid function; their functional relationship is shown in <xref ref-type="disp-formula" rid="e1">formula (1)</xref>. The candidate value of cell state <inline-formula id="inf1">
<mml:math id="m1">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>c</mml:mi>
<mml:mo>&#x223c;</mml:mo>
</mml:mover>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and input gate <italic>e</italic>
<sub>
<italic>k</italic>
</sub> can update the last cell state, for which the formulas are shown in <xref ref-type="disp-formula" rid="e2">(2)</xref>. The output <italic>m</italic>
<sub>
<italic>k</italic>
</sub> of the current LSTM can be calculated by the output gate <italic>o</italic>
<sub>
<italic>k</italic>
</sub>, for which the formulas are shown in <xref ref-type="disp-formula" rid="e3">(3)</xref>:<disp-formula id="e1">
<mml:math id="m2">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3c3;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mi>n</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>
<disp-formula id="e2">
<mml:math id="m3">
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3c3;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mi>e</mml:mi>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mi>e</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>c</mml:mi>
<mml:mo>&#x223c;</mml:mo>
</mml:mover>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>tan</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mi mathvariant="normal">m</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x2299;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>e</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x2299;</mml:mo>
<mml:msub>
<mml:mover accent="true">
<mml:mi>c</mml:mi>
<mml:mo>&#x223c;</mml:mo>
</mml:mover>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>
<disp-formula id="e3">
<mml:math id="m4">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3c3;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mi>o</mml:mi>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mi>o</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x2299;</mml:mo>
<mml:mi>tan</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mi mathvariant="normal">m</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</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>(3)</label>
</disp-formula>where <italic>a</italic>
<sub>
<italic>n</italic>
</sub>, <italic>a</italic>
<sub>
<italic>e</italic>
</sub>, <italic>a</italic>
<sub>
<italic>c</italic>
</sub>, and <italic>a</italic>
<sub>
<italic>o</italic>
</sub> denote the weight values; <italic>d</italic>
<sub>
<italic>n</italic>
</sub>, <italic>d</italic>
<sub>
<italic>e</italic>
</sub>, <italic>d</italic>
<sub>
<italic>c</italic>
</sub>, and <italic>d</italic>
<sub>
<italic>o</italic>
</sub> denote the bias values; and <inline-formula id="inf2">
<mml:math id="m5">
<mml:mrow>
<mml:mo>&#x2299;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> denotes the Hadamard product.</p>
</sec>
<sec id="s2-2">
<title>2.2 Predictive evaluation index</title>
<p>The following two indicators are used to measure the prediction effect of LSTM prediction, the formulas of which are shown in (4) and (5):<disp-formula id="e4">
<mml:math id="m6">
<mml:mrow>
<mml:mi>M</mml:mi>
<mml:mi>A</mml:mi>
<mml:mi>P</mml:mi>
<mml:mi>E</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mrow>
<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>M</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>real</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>pre</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>real</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mo>&#xd7;</mml:mo>
<mml:mn>100</mml:mn>
<mml:mo>%</mml:mo>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>
<disp-formula id="e5">
<mml:math id="m7">
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>E</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:msup>
<mml:mrow>
<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>M</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>real</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>pre</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:msqrt>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>where <italic>M</italic> denotes the sample quantity of the prediction dataset; <italic>P</italic>
<sub>real,<italic>t</italic>
</sub> and <italic>P</italic>
<sub>pre,<italic>t</italic>
</sub> represent the real value and the predicted value at time <italic>t</italic>, respectively; <italic>MAPE</italic> denotes the main absolute percentage error; and <italic>RMSE</italic> denotes the root mean square error.</p>
</sec>
</sec>
<sec id="s3">
<title>3 Multi-timescale optimal control strategy</title>
<sec id="s3-1">
<title>3.1 Net load prediction</title>
<p>We calculate the predicted net load using Eq. <xref ref-type="disp-formula" rid="e6">6</xref>:<disp-formula id="e6">
<mml:math id="m8">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>nl</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">w</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>where <italic>P</italic>
<sub>w,pre,<italic>t</italic>
</sub> and <italic>P</italic>
<sub>l,pre,<italic>t</italic>
</sub> denote the predicted wind power and the predicted load, respectively, at time <italic>t</italic>. <italic>P</italic>
<sub>nl,pre,<italic>t</italic>
</sub> denotes the predicted net load.</p>
</sec>
<sec id="s3-2">
<title>3.2 Predictive planning model</title>
<p>We take the sum of the minimum value of the predicted net load (<italic>P</italic>
<sub>nl,pre,min</sub>) and the rated power of energy storage (<italic>P</italic>
<sub>b</sub>) as a valley-filling power line to calculate the planned charging quantity (<italic>E</italic>
<sub>c,plan</sub>) of the energy storage and take the difference of the maximum value of the predicted net load (<italic>P</italic>
<sub>nl,pre,max</sub>) and the rated power of the lithium battery as the peak shaving power line to calculate the planned discharging quantity of the energy storage <italic>E</italic>
<sub>d,plan</sub>. The formulas are given as follows:<disp-formula id="e7">
<mml:math id="m9">
<mml:mrow>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>plan</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mo>&#x222b;</mml:mo>
<mml:msub>
<mml:mi>t</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi>t</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:msubsup>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>nl</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi mathvariant="normal">b</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>nl</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>
<disp-formula id="e8">
<mml:math id="m10">
<mml:mrow>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>plan</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mo>&#x222b;</mml:mo>
<mml:msub>
<mml:mi>t</mml:mi>
<mml:mn>3</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi>t</mml:mi>
<mml:mn>4</mml:mn>
</mml:msub>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>nl</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>nl</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi mathvariant="normal">b</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:msub>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(8)</label>
</disp-formula>where <italic>t</italic>
<sub>1</sub> and <italic>t</italic>
<sub>2</sub> denote the charging periods corresponding to the intersection of the valley-filling power line and the predicted net load, respectively; <italic>t</italic>
<sub>3</sub> and <italic>t</italic>
<sub>4</sub> denote the charging periods corresponding to the intersection of the peak shaving power line and the predicted net load, respectively; and <italic>&#x3b7;</italic>
<sub>c</sub> and <italic>&#x3b7;</italic>
<sub>d</sub> denote the charging and discharging efficiency, respectively.</p>
<p>If the planned charging quantity cannot meet the capacity constraint relationship shown in <xref ref-type="disp-formula" rid="e9">formula (9)</xref>, we move the valley-filling power line downward in steps of &#x394;<italic>P</italic>, until the constraints are met. If the planned discharging quantity cannot meet the capacity constraint relationship shown in <xref ref-type="disp-formula" rid="e10">formula (10)</xref>, we move the valley-filling power line upward in steps of &#x394;<italic>P</italic>, until the constraints are met.<disp-formula id="e9">
<mml:math id="m11">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x3c;</mml:mo>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>max</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>plan</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mi mathvariant="normal">b</mml:mi>
</mml:msub>
<mml:mo>&#x3c;</mml:mo>
<mml:msub>
<mml:mi>&#x3b5;</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(9)</label>
</disp-formula>
<disp-formula id="e10">
<mml:math id="m12">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x3c;</mml:mo>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>max</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>plan</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mi mathvariant="normal">b</mml:mi>
</mml:msub>
<mml:mo>&#x3c;</mml:mo>
<mml:msub>
<mml:mi>&#x3b5;</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(10)</label>
</disp-formula>where <italic>SOC</italic>
<sub>max</sub> and <italic>SOC</italic>
<sub>min</sub> denote the upper and lower limits of <italic>SOC</italic>, respectively. <italic>E</italic>
<sub>b</sub> denotes the rated capacity; <italic>&#x3b5;</italic>
<sub>0</sub> denotes the positive number close to 0. The value of &#x394;<italic>P</italic> should be set according to the specific situation.</p>
<p>According to formulas <xref ref-type="disp-formula" rid="e7">(7)</xref> and <xref ref-type="disp-formula" rid="e8">(8)</xref>, the basic charging and discharging time of energy storage can be planned, respectively. To meet the balance of the charging quantity and the discharging quantity within the operating day (<italic>T</italic>), the power of the energy storage in the remaining inoperative period <italic>T</italic>
<sub>s</sub> is planned with the objective of reducing the fluctuation of the predicted net load and improving the operation income.</p>
<p>If <italic>E</italic>
<sub>c,plan</sub> is greater than <italic>E</italic>
<sub>d,plan</sub>, we take the discharging income (<italic>I</italic>
<sub>d</sub>) and the maximum of the standard deviation improvement of the predicted net load (<italic>S</italic>
<sub>d</sub>) as the objective function <italic>F</italic>
<sub>1</sub>. <xref ref-type="disp-formula" rid="e11">Formula (11)</xref> was used for normalization, and <xref ref-type="disp-formula" rid="e12">formulas (12)</xref> show the results after normalization:<disp-formula id="e11">
<mml:math id="m13">
<mml:mrow>
<mml:msubsup>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>max</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(11)</label>
</disp-formula>where <italic>x</italic>
<sub>
<italic>i</italic>
</sub> denotes the initial value of the feature sequence; <italic>x</italic>
<sub>
<italic>i</italic>
</sub>
<sup>
<italic>&#x2a;</italic>
</sup> denotes the normalized feature sequence value; <italic>x</italic>
<sub>min</sub> denotes the minimum value in the feature sequence. <italic>x</italic>
<sub>max</sub> denotes the maximum value in the feature sequence.<disp-formula id="e12">
<mml:math id="m14">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>plan</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>plan</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mo>&#x222b;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mi>n</mml:mi>
</mml:msubsup>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:msub>
<mml:mo>&#x2a;</mml:mo>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mo>&#x222b;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mi>n</mml:mi>
</mml:msubsup>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>/</mml:mo>
<mml:msubsup>
<mml:mo>&#x222b;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mi>n</mml:mi>
</mml:msubsup>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>max</mml:mi>
</mml:msub>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:msub>
<mml:mo>&#x2a;</mml:mo>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mtext>nl</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:msqrt>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<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:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>nl</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>nl</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>av</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mn>1</mml:mn>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:msub>
<mml:mo>&#x2a;</mml:mo>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:msub>
<mml:mo>&#x2a;</mml:mo>
</mml:msup>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(12)</label>
</disp-formula>where <italic>p</italic>
<sub>
<italic>t</italic>
</sub> denotes the electricity price at time <italic>t</italic> and <italic>p</italic>
<sub>min</sub> denotes the minimum electricity price.</p>
<p>If <italic>E</italic>
<sub>c,plan</sub> is less than <italic>E</italic>
<sub>d,plan</sub>, we take the charging cost (<italic>I</italic>
<sub>c</sub>) and the minimum of the standard deviation of the predicted net load <italic>S</italic>
<sub>c</sub> as the objective function <italic>F</italic>
<sub>2</sub>. The following formulas are the results after normalization:<disp-formula id="e13">
<mml:math id="m15">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>plan</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>plan</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mo>&#x222b;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mi>n</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:mo>&#x2a;</mml:mo>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mo>&#x222b;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mi>n</mml:mi>
</mml:msubsup>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>/</mml:mo>
<mml:msubsup>
<mml:mo>&#x222b;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mi>n</mml:mi>
</mml:msubsup>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:mo>&#x2a;</mml:mo>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mtext>nl</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:msqrt>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<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:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>nl</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>nl</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>av</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:msubsup>
<mml:mi>F</mml:mi>
<mml:mn>2</mml:mn>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:mo>&#x2a;</mml:mo>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:mo>&#x2a;</mml:mo>
</mml:msup>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(13)</label>
</disp-formula>where <italic>p</italic>
<sub>max</sub> denotes the maximum electricity price; <italic>n</italic> denotes the number of time periods in <italic>T</italic>
<sub>s</sub>; <italic>S</italic>
<sub>nl,pre</sub> and <italic>P</italic>
<sub>nl,pre,av</sub> denote the power standard deviation and the average value of the predicted net load, respectively; <italic>P</italic>
<sub>c,<italic>t</italic>
</sub> and <italic>P</italic>
<sub>d,<italic>t</italic>
</sub> denote the charging power and the discharging power to be planned in <italic>T</italic>
<sub>s</sub>, respectively.</p>
<p>Because the dimensions of the energy storage operation income and the load standard deviation are different, it is necessary to normalize them and then use particle swarm optimization to find the optimal solution. &#x2a; represents normalized processing. Particle swarm optimization is already well-known, and due to reasons of space, this study will not repeat it.</p>
</sec>
<sec id="s3-3">
<title>3.3 Error correction</title>
<p>The prediction error easily leads to the early or delayed action of energy storage, which affects the output of energy storage. Therefore, in this study, the peak shaving line is corrected online by comparing the planned residual energy <italic>E</italic>
<sub>res,pre</sub> with the actual residual energy <italic>E</italic>
<sub>res, real</sub>.<disp-formula id="e14">
<mml:math id="m16">
<mml:mrow>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mtext>res</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mo>&#x222b;</mml:mo>
<mml:mn>0</mml:mn>
<mml:mi>t</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(14)</label>
</disp-formula>
<disp-formula id="e15">
<mml:math id="m17">
<mml:mrow>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mtext>res</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>real</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mo>&#x222b;</mml:mo>
<mml:mn>0</mml:mn>
<mml:mi>t</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>real</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mtext>real</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(15)</label>
</disp-formula>where <italic>P</italic>
<sub>c,pre</sub> and <italic>P</italic>
<sub>d,pre</sub>, respectively, denote the planned charging power and the planned discharge power of energy storage at time <italic>t</italic>. <italic>P</italic>
<sub>c,real</sub> and <italic>P</italic>
<sub>d,real</sub> denote the actual charging power and the actual discharge power of the energy storage at time <italic>t</italic>, respectively. The actual charging and discharging power of the energy storage can be calculated according to the difference between the planned peaking power line and the actual net load.</p>
<p>We calculate the difference of planned residual energy and actual residual energy, named <italic>E</italic>
<sub>s</sub>:<disp-formula id="e16">
<mml:math id="m18">
<mml:mrow>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mtext>res</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>pre</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mtext>res</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mtext>real</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(16)</label>
</disp-formula>
</p>
<p>When <italic>E</italic>
<sub>s</sub> &#x3e;<italic>&#x3b5;</italic> and if <italic>P</italic>
<sub>b,pre</sub> &#x2264;0, the value of the valley-filling power line increases 5% <italic>P</italic>
<sub>b</sub>; otherwise, the value of the peak shaving power line decreases 5% <italic>P</italic>
<sub>b</sub>.</p>
<p>When <italic>E</italic>
<sub>s</sub> &#x3c;-<italic>&#x3b5;</italic> and if <italic>P</italic>
<sub>b,pre</sub> &#x2264;0, the value of the valley-filling power line decreases 5% <italic>P</italic>
<sub>b</sub>; otherwise, the value of the peak shaving power line increases 5% <italic>P</italic>
<sub>b</sub>.</p>
<p>When &#x7c;<italic>E</italic>
<sub>s</sub>&#x7c; &#x2264;<italic>&#x3b5;</italic>, it does not change, where <italic>&#x3b5;</italic> denotes the allowable error range of the electric quantity, and the value is 5% of the rated capacity, and <italic>P</italic>
<sub>b,pre</sub> denotes the planned power of energy storage.</p>
</sec>
<sec id="s3-4">
<title>3.4 Strategy process</title>
<p>The block diagram of the multi-timescale energy storage optimization control strategy based on LSTM prediction and correction is shown in <xref ref-type="sec" rid="s11">Supplementary Figure S2</xref>.</p>
</sec>
<sec id="s3-5">
<title>3.5 Constraint conditions</title>
<p>The system power balance constraint is given as follows:<disp-formula id="e17">
<mml:math id="m19">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi mathvariant="normal">g</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mtext>load</mml:mtext>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mtext>wind</mml:mtext>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mtext>bat</mml:mtext>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(17)</label>
</disp-formula>where <italic>P</italic>
<sub>g</sub> denotes the tie-line power, <italic>P</italic>
<sub>wind</sub> denotes the grid-connected power of wind power, <italic>P</italic>
<sub>load</sub> denotes the load power, and <italic>P</italic>
<sub>bat</sub> denotes the power of the lithium battery.</p>
<p>The power constraints of energy storage are shown in <xref ref-type="disp-formula" rid="e18">formula (18)</xref>, and the SOC constraints of energy storage are shown in <xref ref-type="disp-formula" rid="e19">formula (19)</xref>:<disp-formula id="e18">
<mml:math id="m20">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi mathvariant="normal">b</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi mathvariant="normal">b</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(18)</label>
</disp-formula>where <italic>P</italic>
<sub>
<italic>c</italic>
</sub> and <italic>P</italic>
<sub>
<italic>d</italic>
</sub> denote the charge and discharge power of energy storage days, respectively.<disp-formula id="e19">
<mml:math id="m21">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mo>&#x222b;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>t</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mi mathvariant="normal">b</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>max</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(19)</label>
</disp-formula>where <italic>SOC</italic>
<sub>
<italic>t</italic>
</sub> denotes the SOC of <italic>t</italic> time energy storage.</p>
</sec>
<sec id="s3-6">
<title>3.6 Evaluation index</title>
<p>The formulas for calculating the peak&#x2013;valley difference <italic>&#x3b1;</italic> and the peak&#x2013;valley difference rate <italic>&#x3b2;</italic> are as follows:<disp-formula id="e20">
<mml:math id="m22">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>load</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>load</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>load</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#xd7;</mml:mo>
<mml:mn>100</mml:mn>
<mml:mo>%</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(20)</label>
</disp-formula>where <italic>P</italic>
<sub>
<italic>load,max</italic>
</sub> and <italic>P</italic>
<sub>
<italic>load,min</italic>
</sub> denote the maximum and minimum values of the load, respectively.</p>
<p>We calculate the standard deviation <italic>S</italic> using Eq. <xref ref-type="disp-formula" rid="e21">21</xref>:<disp-formula id="e21">
<mml:math id="m23">
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:msup>
<mml:mrow>
<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>M</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mtext>load</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mtext>av</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:math>
<label>(21)</label>
</disp-formula>where <italic>P</italic>
<sub>
<italic>load,i</italic>
</sub> denotes the load power of the <italic>i</italic>th sampling point and <italic>P</italic>
<sub>
<italic>av</italic>
</sub> denotes the average value of the load curve.</p>
<p>We calculate the operation income <italic>I</italic> by using Eq. <xref ref-type="disp-formula" rid="e22">22</xref>:<disp-formula id="e22">
<mml:math id="m24">
<mml:mrow>
<mml:mi>I</mml:mi>
<mml:mo>&#x3d;</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:mi>T</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(22)</label>
</disp-formula>
</p>
</sec>
</sec>
<sec sec-type="results|discussion" id="s4">
<title>4 Testing results and discussions</title>
<p>This study verifies the proposed strategy in MATLAB according to the actual data in a certain place in China and compares it with the other two strategies. The relevant wind power and load data are shown in <xref ref-type="sec" rid="s11">Supplementary Figure S3</xref>. The sampling period is &#x394;<italic>t</italic> &#x3d; 15&#xa0;min, and the total daily sampling points are <italic>n</italic> &#x3d; 96; <xref ref-type="table" rid="T1">Table 1</xref> shows the relevant parameters of the lithium battery.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Parameters of the lithium battery energy storage.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Parameter</th>
<th align="left">Value</th>
<th align="left">Parameter</th>
<th align="left">Value</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Rated power/MW</td>
<td align="left">2</td>
<td align="left">Discharge efficiency/%</td>
<td align="left">0.95</td>
</tr>
<tr>
<td align="left">Rated capacity/MW h</td>
<td align="left">10</td>
<td align="left">Max SOC</td>
<td align="left">0.9</td>
</tr>
<tr>
<td align="left">Charge efficiency/%</td>
<td align="left">0.95</td>
<td align="left">Min SOC</td>
<td align="left">0.1</td>
</tr>
</tbody>
</table>
</table-wrap>
<sec id="s4-1">
<title>4.1 Prediction results of the wind power and load</title>
<p>The predicted curves and index are shown in <xref ref-type="sec" rid="s11">Supplementary Figure S3</xref> and <xref ref-type="table" rid="T2">Table 2</xref>, respectively. The predicted net load is shown in <xref ref-type="sec" rid="s11">Supplementary Figure S4</xref>.</p>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Evaluation index of prediction.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Category</th>
<th align="left">MAPE/%</th>
<th align="left">RMSE/MW</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Wind power</td>
<td align="left">3.7</td>
<td align="left">0.029</td>
</tr>
<tr>
<td align="left">Load</td>
<td align="left">0.53</td>
<td align="left">0.17</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>
<xref ref-type="sec" rid="s11">Supplementary Figure S3</xref> illustrates that there exists one valley and two peaks in the typical daily actual load in this area, but the wind power value is larger in the valley and smaller in the peak. Therefore, the peak&#x2013;valley difference of the actual load will increase. <xref ref-type="table" rid="T2">Table 2</xref> indicates that the MAPE of the wind power and load are 3.7% and 0.53%, respectively, and their NRSE values are 0.029 and 0.17&#xa0;MW, respectively. According to <xref ref-type="bibr" rid="B16">Wang et al. (2019</xref>), the prediction error is within a reasonable range, so the predictive planning model based on the predicted net load curve has a certain rationality.</p>
</sec>
<sec id="s4-2">
<title>4.2 The effect of correction</title>
<p>
<xref ref-type="sec" rid="s11">Supplementary Figure S4</xref> shows a comparison of the effect before and after the correction of the actual peak shaving. <xref ref-type="sec" rid="s11">Supplementary Figure S5</xref> shows the changes in the SOC and power before and after correction during the actual operation of energy storage.</p>
<p>
<xref ref-type="sec" rid="s11">Supplementary Figures S5A, B</xref> indicate that the SOC of the lithium battery before correction will exceed its maximum value of 0.9 at 8 o&#x2019;clock and is finally maintained at 0.21; the charge quantity within the day is significantly greater than the discharge quantity. It can be seen that if the actual charge and discharge of the lithium battery are controlled only according to the predictive planning strategy, it is easy to cause overcharge of energy storage. After the correction, the maximum value of the energy storage SOC will not exceed 0.9 and the minimum value will remain as approximately 0.1. This phenomenon just proves that the action of the lithium battery meets the requirement of power balance during peak shaving.</p>
</sec>
<sec id="s4-3">
<title>4.3 Comparison of the three strategies</title>
<p>
<xref ref-type="sec" rid="s11">Supplementary Figure S6</xref> illustrates that the effect of peak shaving for the multi-timescale optimal control strategy proposed in this study is notably superior to that for the other two strategies. <xref ref-type="table" rid="T3">Table 3</xref> illustrates the evaluation index results of the three strategies.</p>
<table-wrap id="T3" position="float">
<label>TABLE 3</label>
<caption>
<p>Evaluation index results of the three strategies.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Evaluation index</th>
<th align="left">Real net load</th>
<th align="left">Constant power strategy</th>
<th align="left">Power difference strategy</th>
<th align="left">Proposed strategy</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Peak-to-valley difference/MW</td>
<td align="left">8.71</td>
<td align="left">7.25</td>
<td align="left">6.63</td>
<td align="left">6.25</td>
</tr>
<tr>
<td align="left">Peak&#x2013;valley ratio/%</td>
<td align="left">34.12</td>
<td align="left">28.69</td>
<td align="left">26.64</td>
<td align="left">26.01</td>
</tr>
<tr>
<td align="left">Standard difference</td>
<td align="left">2.75</td>
<td align="left">2.54</td>
<td align="left">2.37</td>
<td align="left">2.23</td>
</tr>
<tr>
<td align="left">Operating income/yuan</td>
<td align="left">&#x2014;</td>
<td align="left">9289.8</td>
<td align="left">7678.3</td>
<td align="left">9658.1</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>From the peak shaving effect perspective, the peak&#x2013;valley difference rate of the real net load is 34.12%, and that of the strategy proposed in this study is 26.01%, reduced by 8.11%, which is the largest reduction among the three strategies, while those of the constant power and power difference strategies are 28.69% and 26.64%, respectively, reduced by 5.43% and 7.48%, and the reduction effect is only 66.9% and 92.2% of the multi-timescale optimal control strategy, respectively. Furthermore, the standard difference of the proposed strategy is 2.23, reduced by 0.52, while the other two strategies only reduce by 0.21 and 0.38. It shows that this strategy can also effectively reduce the volatility of the load.</p>
<p>From an economic perspective, the energy storage operating income of the proposed strategy is 9658.1 yuan, while those of the constant power strategy and the power difference strategy are 9289.8 yuan and 7678.3 yuan, respectively. The operating incomes are 103.9% and 125.8%, respectively, for the other two strategies.</p>
<p>Through the comparison of the charging and discharging power of lithium batteries under the three strategies and combined with the theory of the control strategy, it becomes evident that the power difference strategy primarily focuses on achieving the charge&#x2013;discharge balance without considering the available capacity of the lithium batteries. The charging capacity and discharge capacity may be close to or consistent in the early stage of energy migration, resulting in the failure to maximize the charge and discharge role of lithium batteries and improve the peak-filling effect. The constant power strategy, from the point of view of the charge and discharge time, makes the lithium battery always run at a high power, the charge and discharge time becomes short, and the operation income of energy storage becomes high; however, the effect of peak cutting and valley filling is poor.</p>
<p>In summary, while the power difference strategy outperforms the constant power strategy in peak clipping and valley filling, it lags slightly behind in terms of economic benefits. The results obtained from the strategy proposed in this paper surpass those of the traditional constant power strategy and the power. With the increasing penetration rate of new energy and the increasing responsibility weight of renewable energy in each region, the reasonable peak cutting and valley filling strategy is an important measure to effectively adjust the load.</p>
</sec>
</sec>
<sec sec-type="conclusion" id="s5">
<title>5 Conclusion</title>
<p>This study proposed a multi-timescale optimal control strategy for lithium batteries based on LSTM prediction&#x2013;correction. Compared with the other two strategies, the proposed strategy can cut back the peak-to-valley difference to 6.25 MW, reduce the peak-to-valley difference rate to 26.01%, and increase the income by 9658.1 yuan. Combined with the relevant theory of the power difference strategy, it is found that this strategy mainly aims at the balance of the charge and discharge and cannot fully utilize the energy storage capacity for peak regulation. In addition, this strategy can make full use of its own capacity and power, takes the maximum valley value increase and peak value reduction as the goal, and considers the operating benefits, increases the charging capacity during valley hours, and then improves the power supply capacity of lithium batteries during peak hours, thus leading to an improved peak shaving efficacy and economic gains.</p>
<p>In future research, it is advisable to utilize a more effective prediction method for implementing the strategy. Moreover, since the current approach relies on the traditional PSO algorithm for its solution, exploring alternative methods to replace it should be considered to enhance the overall efficiency of the strategy.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s6">
<title>Data availability statement</title>
<p>The datasets presented in this article are not readily available but data can be provided on reasonable request. Requests to access the datasets should be directed to <email>wliu@njust.edu.cn</email>.</p>
</sec>
<sec id="s7">
<title>Author contributions</title>
<p>JW: conceptualization, methodology, investigation, formal analysis, and writing&#x2014;original draft; YC: data curation and writing&#x2014;original draft; JZ: visualization and investigation; CJ: data curation; WL: writing&#x2014;review and editing and funding acquisition. All authors contributed to the article and approved the submitted version.</p>
</sec>
<sec id="s8">
<title>Funding</title>
<p>This work was supported by the National Natural Science Foundation of China (no. 52077103).</p>
</sec>
<sec sec-type="COI-statement" id="s9">
<title>Conflict of interest</title>
<p>Authors JW was employed by State Grid Wenzhou Electric Power Supply Company, YC was employed by State Grid Rui&#x2019;an Electric Power Supply Company, and JZ was employed by State Grid Zhejiang 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>
</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>
<sec id="s11">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fenrg.2023.1240764/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fenrg.2023.1240764/full&#x23;supplementary-material</ext-link>
</p>
<supplementary-material xlink:href="DataSheet1.docx" id="SM1" mimetype="application/docx" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ahmed</surname>
<given-names>I. Z.</given-names>
</name>
<name>
<surname>Sadjadpour</surname>
<given-names>H. R.</given-names>
</name>
<name>
<surname>Yousefi</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Information-assisted dynamic programming for a class of constrained combinatorial problems</article-title>. <source>IEEE Access</source> <volume>10</volume>, <fpage>87816</fpage>&#x2013;<lpage>87831</lpage>. <pub-id pub-id-type="doi">10.1109/ACCESS.2022.3198964</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bennett</surname>
<given-names>C. J.</given-names>
</name>
<name>
<surname>Stewart</surname>
<given-names>R. A.</given-names>
</name>
<name>
<surname>Lu</surname>
<given-names>J. W.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Development of a three-phase battery energy storage scheduling and operation system for low voltage distribution networks</article-title>. <source>Appl. Energy</source> <volume>146</volume>, <fpage>122</fpage>&#x2013;<lpage>134</lpage>. <pub-id pub-id-type="doi">10.1016/j.apenergy.2015.02.012</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Colonetti</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Finardi</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Brito</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Zavala</surname>
<given-names>V.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Parallel dual dynamic integer programming for large-scale hydrothermal unit-commitment</article-title>. <source>IEEE Trans. Power Syst.</source> <volume>38</volume> (<issue>3</issue>), <fpage>2926</fpage>&#x2013;<lpage>2938</lpage>. <pub-id pub-id-type="doi">10.1109/TPWRS.2022.3187059</pub-id>
</citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dayarathna</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Senanayake</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Evans</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Optimal routing for multi-user multi-hop relay networks via dynamic programming</article-title>. <source>IEEE Wirel. Commun. Lett.</source> <volume>11</volume> (<issue>8</issue>), <fpage>1713</fpage>&#x2013;<lpage>1717</lpage>. <pub-id pub-id-type="doi">10.1109/LWC.2022.3177187</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Engels</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Claessens</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Deconinck</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Optimal combination of frequency control and peak shaving with battery storage systems</article-title>. <source>IEEE Trans. Smart Grid</source> <volume>11</volume> (<issue>4</issue>), <fpage>3270</fpage>&#x2013;<lpage>3279</lpage>. <pub-id pub-id-type="doi">10.1109/TSG.2019.2963098</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>G&#xf3;rski</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Reconfigurable smart contracts for renewable energy exchange with Re-use of verification rules</article-title>. <source>Appl. Sci.</source> <volume>12</volume> (<issue>11</issue>), <fpage>5339</fpage>. <pub-id pub-id-type="doi">10.3390/app12115339</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Guo</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Cooperative peak shaving and voltage regulation in unbalanced distribution feeders</article-title>. <source>IEEE Trans. Power Syst.</source> <volume>36</volume> (<issue>6</issue>), <fpage>5235</fpage>&#x2013;<lpage>5244</lpage>. <pub-id pub-id-type="doi">10.1109/TPWRS.2021.3069781</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hwang</surname>
<given-names>J. S.</given-names>
</name>
<name>
<surname>Fitri</surname>
<given-names>I. R.</given-names>
</name>
<name>
<surname>Kim</surname>
<given-names>J.-S.</given-names>
</name>
<name>
<surname>Song</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Optimal ESS scheduling for peak shaving of building energy using accuracy-enhanced load forecast</article-title>. <source>Energies</source> <volume>13</volume> (<issue>21</issue>), <fpage>5633</fpage>. <pub-id pub-id-type="doi">10.3390/en13215633</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jing</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Nengning</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Qi</surname>
<given-names>L.</given-names>
</name>
</person-group>, (<year>2015</year>). <article-title>Load shifting scheme of battery energy storage system based on interval controlling</article-title>. <source>Trans. China Electrotech. Soc.</source> <volume>30</volume> (<issue>16</issue>), <fpage>221</fpage>&#x2013;<lpage>229</lpage>. <pub-id pub-id-type="doi">10.19595/j.cnki.1000-6753.tces.2015.16.028</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kodaira</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Jung</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Han</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Optimal energy storage system operation for peak reduction in a distribution network using a prediction interval</article-title>. <source>IEEE Trans. Smart Grid</source> <volume>11</volume> (<issue>3</issue>), <fpage>2208</fpage>&#x2013;<lpage>2217</lpage>. <pub-id pub-id-type="doi">10.1109/TSG.2019.2949573</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Ma</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Gan</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Yan</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Optimal dispatch for battery energy storage station in distribution network considering voltage distribution improvement and peak load shifting</article-title>. <source>J. Mod. Power Syst. Clean. Energy</source> <volume>10</volume> (<issue>1</issue>), <fpage>131</fpage>&#x2013;<lpage>139</lpage>. <pub-id pub-id-type="doi">10.35833/MPCE.2020.000183</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Menniti</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Pinnarelli</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Sorrentino</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Vizza</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Barone</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Brusco</surname>
<given-names>G.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>Enabling technologies for energy communities: some experimental use cases</article-title>. <source>Energies</source> <volume>15</volume> (<issue>17</issue>), <fpage>6374</fpage>. <pub-id pub-id-type="doi">10.3390/en15176374</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Riffonneau</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Bacha</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Barruel</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Ploix</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2011</year>). <article-title>Optimal power flow management for grid connected PV systems with batteries</article-title>. <source>IEEE Trans. Sustain. Energy</source> <volume>2</volume> (<issue>3</issue>), <fpage>309</fpage>&#x2013;<lpage>320</lpage>. <pub-id pub-id-type="doi">10.1109/TSTE.2011.2114901</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rowe</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Yunusov</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Haben</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Singleton</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Holderbaum</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Potter</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>A peak reduction scheduling algorithm for storage devices on the low voltage network</article-title>. <source>IEEE Trans. Smart Grid</source> <volume>5</volume> (<issue>4</issue>), <fpage>2115</fpage>&#x2013;<lpage>2124</lpage>. <pub-id pub-id-type="doi">10.1109/TSG.2014.2323115</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shiwei</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Xiuyu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Renyong</surname>
<given-names>C.</given-names>
</name>
</person-group>, (<year>2020</year>). <article-title>Optimal configuration method of flexibility resources of high-penetration renewable energy</article-title>. <source>J. Northeast Dianli Univ. Sci. Ed.</source> <volume>40</volume> (<issue>6</issue>), <fpage>45</fpage>&#x2013;<lpage>51</lpage>. <pub-id pub-id-type="doi">10.19718/j.issn.1005-2992.2020-06-0045-07</pub-id>
</citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>Y. L.</given-names>
</name>
<name>
<surname>Xi</surname>
<given-names>D.</given-names>
</name>
</person-group>, (<year>2019</year>). <article-title>Prediction of interaction between grid and wind farms based on PCA-LSTM model</article-title>. <source>Proc. CSEE</source> <volume>39</volume> (<issue>14</issue>), <fpage>4070</fpage>&#x2013;<lpage>4079</lpage>. <pub-id pub-id-type="doi">10.3390/en11113221</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wei</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Ye</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Dai</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>An economic optimization method for demand-side energy-storage accident backup assisted deep peaking of thermal power units</article-title>. <source>J. Chin. J. Electr. Eng.</source> <volume>8</volume> (<issue>2</issue>), <fpage>62</fpage>&#x2013;<lpage>74</lpage>. <pub-id pub-id-type="doi">10.23919/CJEE.2022.000015</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Miao</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Dong</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Dual-stage operation strategy of BESS for frequency regulation considering planned peak shaving</article-title>. <source>Energy Rep.</source> <volume>6</volume>, <fpage>502</fpage>&#x2013;<lpage>508</lpage>. <pub-id pub-id-type="doi">10.1016/j.egyr.2020.11.206</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zheng</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhao</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Song</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Luo</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Meng</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Qiu</surname>
<given-names>J.</given-names>
</name>
<etal/>
</person-group> (<year>2018</year>). <article-title>Optimal operation of battery energy storage system considering distribution system uncertainty</article-title>. <source>IEEE Trans. Sustain. Energy</source> <volume>9</volume> (<issue>3</issue>), <fpage>1051</fpage>&#x2013;<lpage>1060</lpage>. <pub-id pub-id-type="doi">10.1109/TSTE.2017.2762364</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>