<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN" "http://jats.nlm.nih.gov/publishing/1.1/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xml:lang="en" article-type="research-article" dtd-version="1.1">
<front>
<journal-meta>
<journal-id journal-id-type="pmc">EE</journal-id>
<journal-id journal-id-type="nlm-ta">EE</journal-id>
<journal-id journal-id-type="publisher-id">EE</journal-id>
<journal-title-group>
<journal-title>Energy Engineering</journal-title>
</journal-title-group>
<issn pub-type="epub">1546-0118</issn>
<issn pub-type="ppub">0199-8595</issn>
<publisher>
<publisher-name>Tech Science Press</publisher-name>
<publisher-loc>USA</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">46783</article-id>
<article-id pub-id-type="doi">10.32604/ee.2023.046783</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Article</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Multi-Time Scale Optimal Scheduling of a Photovoltaic Energy Storage Building System Based on Model Predictive Control</article-title>
<alt-title alt-title-type="left-running-head">Multi-Time Scale Optimal Scheduling of a Photovoltaic Energy Storage Building System Based on Model Predictive Control</alt-title>
<alt-title alt-title-type="right-running-head">Multi-Time Scale Optimal Scheduling of a Photovoltaic Energy Storage Building System Based on Model Predictive Control</alt-title>
</title-group>
<contrib-group>
<contrib id="author-1" contrib-type="author" corresp="yes">
<name name-style="western"><surname>Cao</surname><given-names>Ximin</given-names></name><email>caoxm@sdju.edu.cn</email></contrib>
<contrib id="author-2" contrib-type="author">
<name name-style="western"><surname>Chen</surname><given-names>Xinglong</given-names></name></contrib>
<contrib id="author-3" contrib-type="author">
<name name-style="western"><surname>Huang</surname><given-names>He</given-names></name></contrib>
<contrib id="author-4" contrib-type="author">
<name name-style="western"><surname>Zhang</surname><given-names>Yanchi</given-names></name></contrib>
<contrib id="author-5" contrib-type="author">
<name name-style="western"><surname>Huang</surname><given-names>Qifan</given-names></name></contrib>
<aff id="aff-1"><institution>School of Electrical Engineering, Shanghai DianJi University</institution>, <addr-line>Shanghai, 201306</addr-line>, <country>China</country></aff>
</contrib-group>
<author-notes>
<corresp id="cor1"><label>&#x002A;</label>Corresponding Author: Ximin Cao. Email: <email>caoxm@sdju.edu.cn</email></corresp>
</author-notes>
<pub-date date-type="collection" publication-format="electronic"><year>2024</year></pub-date>
<pub-date date-type="pub" publication-format="electronic"><day>26</day><month>3</month><year>2024</year></pub-date>
<volume>121</volume>
<issue>4</issue>
<fpage>1067</fpage>
<lpage>1089</lpage>
<history>
<date date-type="received">
<day>14</day><month>10</month><year>2023</year></date>
<date date-type="accepted">
<day>27</day><month>11</month><year>2023</year></date>
</history>
<permissions>
<copyright-statement>&#x00A9; 2024 Cao et al.</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Cao et al.</copyright-holder>
<license xlink:href="https://creativecommons.org/licenses/by/4.0/">
<license-p>This work is licensed under a <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="TSP_EE_46783.pdf"></self-uri>
<abstract>
<p>Building emission reduction is an important way to achieve China&#x2019;s carbon peaking and carbon neutrality goals. Aiming at the problem of low carbon economic operation of a photovoltaic energy storage building system, a multi-time scale optimal scheduling strategy based on model predictive control (MPC) is proposed under the consideration of load optimization. First, load optimization is achieved by controlling the charging time of electric vehicles as well as adjusting the air conditioning operation temperature, and the photovoltaic energy storage building system model is constructed to propose a day-ahead scheduling strategy with the lowest daily operation cost. Second, considering inter-day to intra-day source-load prediction error, an intraday rolling optimal scheduling strategy based on MPC is proposed that dynamically corrects the day-ahead dispatch results to stabilize system power fluctuations and promote photovoltaic consumption. Finally, taking an office building on a summer work day as an example, the effectiveness of the proposed scheduling strategy is verified. The results of the example show that the strategy reduces the total operating cost of the photovoltaic energy storage building system by 17.11%, improves the carbon emission reduction by 7.99%, and the photovoltaic consumption rate reaches 98.57%, improving the system&#x2019;s low-carbon and economic performance.</p>
</abstract>
<kwd-group kwd-group-type="author">
<kwd>Load optimization</kwd>
<kwd>model predictive control</kwd>
<kwd>multi-time scale optimal scheduling</kwd>
<kwd>photovoltaic consumption</kwd>
<kwd>photovoltaic energy storage building</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="s1">
<label>1</label>
<title>Introduction</title>
<p>Given the &#x201C;double carbon&#x201D; policy proposed by China to reach its carbon peak in 2030 and carbon neutrality in 2060, a new type of power system based on renewable energy will be constructed to promote green and low-carbon development [<xref ref-type="bibr" rid="ref-1">1</xref>,<xref ref-type="bibr" rid="ref-2">2</xref>]. Given this premise, the construction industry is under increasing pressure to improve its energy management and environmental protection efforts. As an industry that consumes a considerable amount of energy and resources, the mitigation measures taken by the construction industry offer huge potential for improving energy utilization, energy conservation, and emission reduction. One such measure is the development of photovoltaic storage building systems, an emerging renewable energy technology that combines solar panels, battery energy storage systems, and building energy management systems [<xref ref-type="bibr" rid="ref-3">3</xref>].</p>
<p>However, the photovoltaic storage building system still faces many problems in terms of practical application, one of which is system scheduling optimization. How to effectively dispatch solar panels, energy storage systems, and building energy management systems in photovoltaic storage building systems to achieve efficient energy use and optimize building energy consumption is an urgent problem in this field [<xref ref-type="bibr" rid="ref-4">4</xref>].</p>
<p>In view of this, reference [<xref ref-type="bibr" rid="ref-5">5</xref>] described the use of a building optimization dispatching model, including vehicle-to-building smart charging piles and temperature-controlled and other types of adjustable loads to achieve energy savings and emission reduction goals as low-carbon buildings. Reference [<xref ref-type="bibr" rid="ref-6">6</xref>] proposed a double-layer intelligent-building group energy management method that uses the shared characteristics of electric vehicle (EV) mobile energy storage to optimize energy complementarity. Reference [<xref ref-type="bibr" rid="ref-7">7</xref>] introduced a distributed scheduling strategy based on the alternating direction multiplier method to solve the day-ahead economic operation problem of building groups. Reference [<xref ref-type="bibr" rid="ref-8">8</xref>] developed a day-ahead economic optimization scheduling strategy for building clusters by constructing an energy trading framework centered on the operators of smart building clusters equipped with energy storage systems. Reference [<xref ref-type="bibr" rid="ref-9">9</xref>] proposed an energy management framework for smart building clusters with peer-to-peer power sharing as the core, and the optimal strategy for smart building clusters day-ahead operation is obtained by solving the fast alternating direction multiplier method. Reference [<xref ref-type="bibr" rid="ref-10">10</xref>] took demand-side resource utilization into consideration and conducts research on integrated energy day-ahead optimization scheduling in smart communities that combines the energy supply side and the user side. Thus, the above mentioned studies focus on optimizing the energy dispatch in various buildings using day-ahead dispatch optimization strategies, without considering the error of source load prediction, resulting in a system operation that is not the optimal case.</p>
<p>The multi-time scale energy optimization strategy can predict the source load and optimize the system energy scheduling under different time scales, which greatly reduces the difference between the scheduling plan and the actual scheduling caused by the prediction error. Reference [<xref ref-type="bibr" rid="ref-11">11</xref>] proposed a multi-time scale optimal scheduling model for regional integrated energy systems with high percentage of PV penetration to balance the cost of risk due to new energy uncertainty under different risk attitudes. Reference [<xref ref-type="bibr" rid="ref-12">12</xref>] proposed a three-stage energy management strategy for EV photovoltaic charging stations in residential quarters to reduce operating costs and narrow the peak-to-valley difference of the power grid. Reference [<xref ref-type="bibr" rid="ref-13">13</xref>] proposed a multi-time scale optimal scheduling strategy for electric bus charging stations equipped with photovoltaics that takes into account the cost of power battery losses, which reduces the peak-to-valley difference of the distribution network load on the basis of improving the operating economy of the bus company. Reference [<xref ref-type="bibr" rid="ref-14">14</xref>] proposed an intelligent building energy management strategy based on MPC to improve control performance in a time-varying environment with predictive data uncertainty. However, the abovementioned literature does not fully explore the potential of dispatchable loads as demand response resources nor consider the impact of disorderly charging of EV loads on the power grid.</p>
<p>Here, in order to address the fluctuations in system operation due to source-load prediction errors and the impact of EVs on the energy management system, and to fully utilize the ability of dispatchable loads as demand response resources, this paper proposes a multi-time scale optimal scheduling strategy for photovoltaic energy storage building system based on MPC. This strategy optimizes the load for both EVs and air conditioning (AC), reducing the effects of inaccurate source-load forecasting. Our proposed strategy was analyzed under different scenarios to determine its effectiveness with respect to the economy, stability, and photovoltaic consumption rate of the photovoltaic storage building system.</p>
</sec>
<sec id="s2">
<label>2</label>
<title>Photovoltaic Storage Building System Structure</title>
<p>The structure of the photovoltaic storage building system is shown in <xref ref-type="fig" rid="fig-1">Fig. 1</xref>. It mainly includes the upper-level power grid, photovoltaic power generation units, energy storage units, and building loads. The building loads are divided into rigid loads, such as lighting and equipment loads, and flexible loads such as EV charging loads and AC loads. The system is equipped with a building energy management system that communicates with an upper-level power grid to obtain tariff information released by the grid. The energy management system can predict the power generation of photovoltaic power-generating units, the power of various types of loads in the building, and the number of EVs arriving at the building according to a set prediction time domain to optimize the building load according to the prediction value in accordance with a set of optimization objectives. Decisions can then be made regarding the output of photovoltaic power-generating equipment and energy storage equipment, as well as the amount of electricity to be exchanged with the upper-level power grid.</p>
<fig id="fig-1">
<label>Figure 1</label>
<caption>
<title>Photovoltaic storage building system structure diagram</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="EE_46783-fig-1.tif"/>
</fig>
<p>For the AC load, the building can adjust the indoor temperature, and its internal energy management center can uniformly set the temperature of each room in the building and control the operating status of the AC. For the EV load, when the EV is connected to the charging pile in the building area, the built-in monitoring device of the charging pile records the access time, charging power, and departure time of the EV. According to the charging demand and vehicle information, the building energy scheduling center will conduct a unified dispatch of the charging piles connected to the EV load.</p>
</sec>
<sec id="s3">
<label>3</label>
<title>Building System Model</title>
<sec id="s3_1">
<label>3.1</label>
<title>Building Photovoltaic Module Model</title>
<p>The rated power of photovoltaic power generation devices installed on buildings is usually taken as a fixed value. The actual output power is mainly related to the intensity of sunlight and the temperature of the photovoltaic panels, expressed as follows:
<disp-formula id="eqn-1"><label>(1)</label><mml:math id="mml-eqn-1" display="block"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>N</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mfrac><mml:mrow><mml:mi>I</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mtext>STC</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:mfrac><mml:mstyle scriptlevel="0"><mml:mrow><mml:mo maxsize="1.2em" minsize="1.2em">[</mml:mo></mml:mrow></mml:mstyle><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mrow><mml:mtext>p</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>STC</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mstyle scriptlevel="0"><mml:mrow><mml:mo maxsize="1.2em" minsize="1.2em">]</mml:mo></mml:mrow></mml:mstyle></mml:math></disp-formula>where <inline-formula id="ieqn-16"><mml:math id="mml-ieqn-16"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> represents the photovoltaic power generation at time <italic>t</italic>, <inline-formula id="ieqn-17"><mml:math id="mml-ieqn-17"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>N</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the photovoltaic device rated output power, <inline-formula id="ieqn-18"><mml:math id="mml-ieqn-18"><mml:mi>I</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the solar light intensity at time <italic>t</italic>, <inline-formula id="ieqn-19"><mml:math id="mml-ieqn-19"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mtext>STC</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the standard test environment solar light intensity, <inline-formula id="ieqn-20"><mml:math id="mml-ieqn-20"><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mrow><mml:mtext>p</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the power temperature coefficient, <inline-formula id="ieqn-21"><mml:math id="mml-ieqn-21"><mml:mi>T</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the photovoltaic solar panel surface temperature at time <italic>t</italic>, and <inline-formula id="ieqn-22"><mml:math id="mml-ieqn-22"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>STC</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the standard test environment temperature.</p>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Battery Model</title>
<p>As lithium-ion batteries have high energy density, high cycle life, low self-discharge rate and fast response capability, and with the continuous improvement of lithium-ion battery technology, its cost is also decreasing. Therefore, the lithium-ion battery is used as the supporting equipment for photovoltaic power generation. Its charging and discharging model is represented by the following:
<disp-formula id="eqn-2"><label>(2)</label><mml:math id="mml-eqn-2" display="block"><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>S</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>S</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>&#x03BB;</mml:mi><mml:mrow><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x0394;</mml:mi></mml:mrow><mml:mi>t</mml:mi><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x0394;</mml:mi></mml:mrow><mml:mi>t</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:msub><mml:mi>&#x03BB;</mml:mi><mml:mrow><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>}</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>}</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>S</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn>0</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>S</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-23"><mml:math id="mml-ieqn-23"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> represent the charging and discharging power of the battery at time <italic>t</italic>, respectively; <inline-formula id="ieqn-24"><mml:math id="mml-ieqn-24"><mml:msub><mml:mi>&#x03BB;</mml:mi><mml:mrow><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>&#x03BB;</mml:mi><mml:mrow><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> represent the charging and discharging efficiency of the battery, respectively; <inline-formula id="ieqn-25"><mml:math id="mml-ieqn-25"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub></mml:math></inline-formula> denote the upper limit of the charging and discharging power of the battery, respectively; <inline-formula id="ieqn-26"><mml:math id="mml-ieqn-26"><mml:mi>S</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> represents the energy stored in the battery at time <italic>t</italic>; <inline-formula id="ieqn-27"><mml:math id="mml-ieqn-27"><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> are the charging and discharging state variable of the battery at time <italic>t</italic>, respectively; <inline-formula id="ieqn-28"><mml:math id="mml-ieqn-28"><mml:mi>S</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn>0</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:mi>S</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> represent the energy stored in the battery at the beginning of the system and the end of the system, respectively; and <inline-formula id="ieqn-29"><mml:math id="mml-ieqn-29"><mml:mi mathvariant="normal">&#x0394;</mml:mi><mml:mi>t</mml:mi></mml:math></inline-formula> represents the time step.</p>
</sec>
<sec id="s3_3">
<label>3.3</label>
<title>Load Model</title>
<p>The building loads are divided into rigid loads and flexible loads. Flexible loads include AC loads and EV charging pile loads.</p>
<sec id="s3_3_1">
<label>3.3.1</label>
<title>AC Load Model</title>
<p>In this paper, fixed-frequency AC is considered to participate in the regulation, and the electric power consumption of the AC is adjusted by changing the temperature setting value. Consider cooling in the summer as an example, in which the user sets the preferred temperature value to <inline-formula id="ieqn-30"><mml:math id="mml-ieqn-30"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>set</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula>, and the room temperature is maintained between <inline-formula id="ieqn-31"><mml:math id="mml-ieqn-31"><mml:mrow><mml:mo>[</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>set</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mi>&#x03B4;</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>set</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mi>&#x03B4;</mml:mi><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula>. The operation model of the AC can then be expressed as follows:
<disp-formula id="eqn-3"><label>(3)</label><mml:math id="mml-eqn-3" display="block"><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mtext>AC</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left left" rowspacing=".2em" columnspacing="1em" displaystyle="false"><mml:mtr><mml:mtd><mml:mn>1</mml:mn><mml:mo>,</mml:mo></mml:mtd><mml:mtd><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>in</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2265;</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>set</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mi>&#x03B4;</mml:mi><mml:mspace width="0pt" /><mml:mspace width="0pt" /></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn><mml:mo>,</mml:mo></mml:mtd><mml:mtd><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>in</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>set</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mi>&#x03B4;</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mtext>AC</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo></mml:mtd><mml:mtd><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>set</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mi>&#x03B4;</mml:mi><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>in</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>set</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mi>&#x03B4;</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-32"><mml:math id="mml-ieqn-32"><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mtext>AC</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the running state of the air conditioner at time <italic>t</italic>, in which the value of 1 indicates that it is working, and the value of 0 indicates that it has stopped working; <inline-formula id="ieqn-33"><mml:math id="mml-ieqn-33"><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mtext>AC</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the running state of the AC at time <italic>t &#x2212;</italic> 1; and <inline-formula id="ieqn-34"><mml:math id="mml-ieqn-34"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>in</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the temperature of the room at time <italic>t</italic>.</p>
<p>In actual situations, when the fixed-frequency AC is working, it operates at the rated power state in which the operating state of the AC is only related to the temperature value set by the user. Its real-time power is given by
<disp-formula id="eqn-4"><label>(4)</label><mml:math id="mml-eqn-4" display="block"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>AC</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>AC</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>N</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mtext>AC</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-35"><mml:math id="mml-ieqn-35"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>AC</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the operating power of the fixed-frequency AC at time <italic>t</italic> and <inline-formula id="ieqn-36"><mml:math id="mml-ieqn-36"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>AC</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>N</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the rated power of the fixed-frequency AC.</p>
<p>The cooling capacity provided by the AC at time t is as follows:
<disp-formula id="eqn-5"><label>(5)</label><mml:math id="mml-eqn-5" display="block"><mml:msub><mml:mi>Q</mml:mi><mml:mrow><mml:mrow><mml:mtext>air</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>&#x03B7;</mml:mi><mml:mrow><mml:mrow><mml:mtext>AC</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>AC</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-37"><mml:math id="mml-ieqn-37"><mml:msub><mml:mi>&#x03B7;</mml:mi><mml:mrow><mml:mrow><mml:mtext>AC</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the energy efficiency ratio of the AC and <inline-formula id="ieqn-38"><mml:math id="mml-ieqn-38"><mml:msub><mml:mi>Q</mml:mi><mml:mrow><mml:mrow><mml:mtext>air</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the cooling capacity of the AC at time <italic>t</italic>.</p>
<p>Room temperature variation is modeled using a first-order equivalent thermal parameter model, as given by
<disp-formula id="eqn-6"><label>(6)</label><mml:math id="mml-eqn-6" display="block"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>in</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>out</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>Q</mml:mi><mml:mrow><mml:mrow><mml:mtext>air</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mrow><mml:mtext>eq</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>out</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>Q</mml:mi><mml:mrow><mml:mrow><mml:mtext>air</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mrow><mml:mtext>eq</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>in</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mfrac><mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x0394;</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mrow><mml:mtext>eq</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>eq</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:msup></mml:math></disp-formula>where <inline-formula id="ieqn-39"><mml:math id="mml-ieqn-39"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>out</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the outdoor temperature at time <italic>t</italic> &#x002B; 1, <inline-formula id="ieqn-40"><mml:math id="mml-ieqn-40"><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mrow><mml:mtext>eq</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the equivalent thermal resistance of the AC room, <inline-formula id="ieqn-41"><mml:math id="mml-ieqn-41"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>eq</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the equivalent heat capacity of the AC room, and <inline-formula id="ieqn-42"><mml:math id="mml-ieqn-42"><mml:mrow><mml:mi mathvariant="normal">&#x0394;</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:math></inline-formula> is the time step of the AC operation.</p>
<p>Optimizing the power consumption of the AC load is bound to have an impact on the user&#x2019;s power consumption comfort. In this paper, temperature satisfaction is employed to describe user satisfaction with AC load participation in the demand response. The predicted mean vote (PMV) index, an indication of temperature satisfaction, represents the temperature at which most people feel comfortable in a certain environment [<xref ref-type="bibr" rid="ref-15">15</xref>], as represented by the following [<xref ref-type="bibr" rid="ref-16">16</xref>]:
<disp-formula id="eqn-7"><label>(7)</label><mml:math id="mml-eqn-7" display="block"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mtext>PMV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>2.43</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mfrac><mml:mrow><mml:mn>3.76</mml:mn><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>in</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mrow><mml:mtext>o</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mtext>cl</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mn>0.1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mfrac></mml:math></disp-formula>where <inline-formula id="ieqn-43"><mml:math id="mml-ieqn-43"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the skin temperature, the value of which is 33.5 in this study; <inline-formula id="ieqn-44"><mml:math id="mml-ieqn-44"><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mrow><mml:mtext>o</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the metabolic rate of the human body, taken as 70.6 in this study; and <inline-formula id="ieqn-45"><mml:math id="mml-ieqn-45"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mtext>cl</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the thermal resistance of the clothes worn by the user, which is assigned a value of 0.067 in this study.</p>
<p>From reference [<xref ref-type="bibr" rid="ref-17">17</xref>], the relationship between the PMV index value and human body comfort is shown in <xref ref-type="table" rid="table-1">Table 1</xref>, which is divided into seven scenarios. When <inline-formula id="ieqn-46"><mml:math id="mml-ieqn-46"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mtext>PMV</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> &#x003D; 0, the human body feels the most comfortable. The optimal value in ISO-7730 is between &#x2212;0.5 and 0.5 [<xref ref-type="bibr" rid="ref-17">17</xref>], and that in China is between &#x2212;1 and 1 [<xref ref-type="bibr" rid="ref-18">18</xref>].</p>
<table-wrap id="table-1">
<label>Table 1</label>
<caption>
<title>Comparison table of PMV index and human feeling</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Human body feeling</th>
<th>Cold</th>
<th>Cool</th>
<th>Slightly cool</th>
<th>Comfortable</th>
<th>Slightly warm</th>
<th>Warm</th>
<th>Hot</th>
</tr>
</thead>
<tbody>
<tr>
<td><inline-formula id="ieqn-47"><mml:math id="mml-ieqn-47"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mtext>PMV</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula></td>
<td>&#x2212;3</td>
<td>&#x2212;2</td>
<td>&#x2212;1</td>
<td>0</td>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>According to <xref ref-type="disp-formula" rid="eqn-7">Eq. (7)</xref>, when <inline-formula id="ieqn-48"><mml:math id="mml-ieqn-48"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mtext>PMV</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> &#x003D; 0, the indoor temperature is <inline-formula id="ieqn-49"><mml:math id="mml-ieqn-49"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>set</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula>. When <inline-formula id="ieqn-50"><mml:math id="mml-ieqn-50"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mtext>PMV</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> &#x003D; &#x2212;1, 1, the indoor temperature is <inline-formula id="ieqn-51"><mml:math id="mml-ieqn-51"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mo movablelimits="true" form="prefix">min</mml:mo></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula id="ieqn-52"><mml:math id="mml-ieqn-52"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub></mml:math></inline-formula>, respectively.</p>
<p>In the day-ahead scheduling stage, the AC load adopts the most comfortable temperature control method, that is <inline-formula id="ieqn-53"><mml:math id="mml-ieqn-53"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mtext>PMV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:math></inline-formula>. In the intraday stage, to stabilize the source load prediction error, the AC load can fluctuate slightly based on the day-ahead scheduling results, but it needs to be between <inline-formula id="ieqn-54"><mml:math id="mml-ieqn-54"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mo movablelimits="true" form="prefix">min</mml:mo></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-55"><mml:math id="mml-ieqn-55"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub></mml:math></inline-formula>.</p>
</sec>
<sec id="s3_3_2">
<label>3.3.2</label>
<title>Electric Vehicle Load Model</title>
<p>It is assumed that when the EV is parked at the charging pile in the building, the charging behavior of the EV is controlled by the building. The charging method before optimization is parking charging, that is, charging starts when the charging pile is connected after arriving at the building, and the charging process remains uninterrupted until the charging requirements are met and charging stops.</p>
<p>In contrast, the optimized charging control method uses sequential charging, in which the scheduling process is divided into multiple time periods of equal length. When the EV is connected to the charging pile, it will not be charged immediately. Instead, the charging start time is determined according to the optimization goal.</p>
<p>Assuming that there are <italic>n</italic> EVs in the building range, the matrix expression for the EV charging state variable at time <italic>t</italic> is
<disp-formula id="eqn-8"><label>(8)</label><mml:math id="mml-eqn-8" display="block"><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo><mml:mo>&#x22EF;</mml:mo><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:math></disp-formula>where <inline-formula id="ieqn-56"><mml:math id="mml-ieqn-56"><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the charging state variable matrix of <italic>n</italic> EVs at time <italic>t</italic>; <inline-formula id="ieqn-57"><mml:math id="mml-ieqn-57"><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the charging state variable of the i-th EV at time <italic>t</italic>, in which <inline-formula id="ieqn-58"><mml:math id="mml-ieqn-58"><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>}</mml:mo></mml:mrow></mml:math></inline-formula>, with a value of 0 indicating that the EV is not charging at time <italic>t</italic> and a value of 1 indicating that the EV is charging at time <italic>t</italic>.</p>
<p>The expression of the charge state variable matrix of <italic>n</italic> EVs over the whole dispatch period is
<disp-formula id="eqn-9"><label>(9)</label><mml:math id="mml-eqn-9" display="block"><mml:mi>U</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mtable columnalign="left left left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mo>&#x22EF;</mml:mo></mml:mtd><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mo>&#x22EF;</mml:mo></mml:mtd><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>&#x22EE;</mml:mo></mml:mtd><mml:mtd><mml:mo>&#x22EE;</mml:mo></mml:mtd><mml:mtd><mml:mo>&#x22F1;</mml:mo></mml:mtd><mml:mtd><mml:mo>&#x22EE;</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mo>&#x22EF;</mml:mo></mml:mtd><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo>]</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p>If the charging power of the i-th EV is <inline-formula id="ieqn-59"><mml:math id="mml-ieqn-59"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mrow><mml:mtext>EV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>N</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula>, then the charging power matrix of <italic>n</italic> EVs in the entire dispatch period is expressed as
<disp-formula id="eqn-10"><label>(10)</label><mml:math id="mml-eqn-10" display="block"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>EV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mtable columnalign="left left left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mrow><mml:mtext>EV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mrow><mml:mtext>EV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mo>&#x22EF;</mml:mo></mml:mtd><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mrow><mml:mtext>EV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>2</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mrow><mml:mtext>EV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>2</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mrow><mml:mtext>EV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mo>&#x22EF;</mml:mo></mml:mtd><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>2</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mrow><mml:mtext>EV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>&#x22EE;</mml:mo></mml:mtd><mml:mtd><mml:mo>&#x22EE;</mml:mo></mml:mtd><mml:mtd><mml:mo>&#x22F1;</mml:mo></mml:mtd><mml:mtd><mml:mo>&#x22EE;</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mrow><mml:mtext>EV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mrow><mml:mtext>EV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mo>&#x22EF;</mml:mo></mml:mtd><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mrow><mml:mtext>EV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo>]</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p>According to <xref ref-type="disp-formula" rid="eqn-10">Eq. (10)</xref>, it can be concluded that the charging power of the EV at time <italic>t</italic> in the dispatch period is
<disp-formula id="eqn-11"><label>(11)</label><mml:math id="mml-eqn-11" display="block"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>EV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>all</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mrow><mml:mtext>EV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x22EF;</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></disp-formula></p>
<p>In this charging process, the charging state variable of the EV should be 0 before arriving at the building and after leaving the building, as given in the following:
<disp-formula id="eqn-12"><label>(12)</label><mml:math id="mml-eqn-12" display="block"><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x003C;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mrow><mml:mtext>start</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x003E;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mrow><mml:mtext>end</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-60"><mml:math id="mml-ieqn-60"><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mrow><mml:mtext>start</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the time when the EV arrives at the building and <inline-formula id="ieqn-61"><mml:math id="mml-ieqn-61"><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mrow><mml:mtext>end</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the time when the EV leaves the building.</p>
<p>To ensure the power consumption satisfaction of EV users, it is necessary to satisfy the EV&#x2019;s electric power to meet the user&#x2019;s expectation when the user leaves the building. In addition, the charging process of EVs is modeled with the battery charging process.</p>
</sec>
</sec>
</sec>
<sec id="s4">
<label>4</label>
<title>Building Scheduling Optimization Model Based on Model Predictive Control</title>
<p>The multi-time scale scheduling process of the photovoltaic storage building system described in this paper is shown in <xref ref-type="fig" rid="fig-2">Fig. 2</xref>.</p>
<fig id="fig-2">
<label>Figure 2</label>
<caption>
<title>Multi-time scale energy management flow chart</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="EE_46783-fig-2.tif"/>
</fig>
<p>In the day-ahead optimization stage, the scheduling cycle is 24 h, and the control time step is 1 h. The photovoltaic output and load demand of the next day are predicted, and the AC load and EV load are optimized according to the load optimization strategy described earlier. The building energy management model is then constructed, and the optimal day-ahead scheduling plan is solved with the goal of minimizing the cost to prepare for the intraday scheduling.</p>
<p>In the intraday optimization stage, rolling optimization of the MPC is used to continuously adjust and correct the day-ahead scheduling plan. The specific steps are as follows. The scheduling plan is formulated 4 h in advance, the control time step is 15 min, the length of the scheduling zone is 4 h, and the photovoltaic and load are re-predicted every 15 min. When <italic>t</italic> time according to the intraday scheduling model to get the time period for <italic>t</italic> to <italic>t</italic> &#x002B; 4 h of the best scheduling program, only <italic>t</italic> time after the implementation of a time step that is <italic>t</italic> &#x002B; 1 time after the results and the day-ahead scheduling plan is corrected. This process is then repeated based on the new forecast data until the 24-h intraday scheduling plan is completed.</p>
<sec id="s4_1">
<label>4.1</label>
<title>Day-Ahead Optimal Scheduling Strategy</title>
<sec id="s4_1_1">
<label>4.1.1</label>
<title>Objective Function</title>
<p>The goal of day-ahead scheduling optimization is to minimize the total cost within the scheduling cycle, including the cost of purchasing electricity from the grid, the revenue from selling electricity to the grid, the operation and maintenance costs of photovoltaic power generation equipment, and the operation and maintenance costs of batteries, as given by</p>
<disp-formula id="eqn-13"><label>(13)</label><mml:math id="mml-eqn-13" display="block"><mml:mo movablelimits="true" form="prefix">min</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>total</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></disp-formula>
<disp-formula id="eqn-14"><label>(14)</label><mml:math id="mml-eqn-14" display="block"><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">&#x2211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:msub><mml:mi>&#x03BB;</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x0394;</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">&#x2211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:msub><mml:mi>&#x03BB;</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x0394;</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">&#x2211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x0394;</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">&#x2211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x0394;</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula>
<p>where <inline-formula id="ieqn-62"><mml:math id="mml-ieqn-62"><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the number of steps in the day-ahead scheduling cycle, <inline-formula id="ieqn-63"><mml:math id="mml-ieqn-63"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the cost of purchasing electricity from the grid in the day-ahead, <inline-formula id="ieqn-64"><mml:math id="mml-ieqn-64"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the income from selling electricity to the grid in the day-ahead, <inline-formula id="ieqn-65"><mml:math id="mml-ieqn-65"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the operation and maintenance cost of photovoltaic power generation equipment in the day-ahead, <inline-formula id="ieqn-66"><mml:math id="mml-ieqn-66"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the operation and maintenance cost of the storage battery in the day-ahead, <inline-formula id="ieqn-67"><mml:math id="mml-ieqn-67"><mml:msub><mml:mi>&#x03BB;</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the electricity purchase price from the grid at time <italic>t</italic>, <inline-formula id="ieqn-68"><mml:math id="mml-ieqn-68"><mml:msub><mml:mi>&#x03BB;</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the price of electricity sold to the grid at time <italic>t</italic>, <inline-formula id="ieqn-69"><mml:math id="mml-ieqn-69"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the power purchased from the grid at time <italic>t</italic>, <inline-formula id="ieqn-70"><mml:math id="mml-ieqn-70"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the power sold to the grid at time <italic>t</italic>, <inline-formula id="ieqn-71"><mml:math id="mml-ieqn-71"><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the operation and maintenance coefficient of the photovoltaic power generation equipment, and <inline-formula id="ieqn-72"><mml:math id="mml-ieqn-72"><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the operation and maintenance coefficient of the storage battery.</p>
</sec>
<sec id="s4_1_2">
<label>4.1.2</label>
<title>Constraint Conditions</title>
<p>Constraint conditions are divided into equality constraints and inequality constraints, where equality constraints are power balance constraints, and inequality constraints are equipment constraints and tie line power constraints.</p>
<p>(1) Power balance constraint:</p>
<disp-formula id="eqn-15"><label>(15)</label><mml:math id="mml-eqn-15" display="block"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>AC</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>EV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>load</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula><p>where <inline-formula id="ieqn-73"><mml:math id="mml-ieqn-73"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>load</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the rigid load power at time <italic>t</italic>.</p>
<p>(2) Power balance constraint:</p>
<disp-formula id="eqn-16"><label>(16)</label><mml:math id="mml-eqn-16" display="block"><mml:mn>0</mml:mn><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula><p>where <inline-formula id="ieqn-74"><mml:math id="mml-ieqn-74"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the maximum output of the photovoltaics at time <italic>t</italic>; this paper takes the predicted value of photovoltaics as the maximum output.</p>
<p>(3) Power balance constraint:</p>
<disp-formula id="eqn-17"><label>(17)</label><mml:math id="mml-eqn-17" display="block"><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>Q</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mn>0</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>20</mml:mn><mml:mi mathvariant="normal">&#x0025;</mml:mi><mml:msub><mml:mi>Q</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>}</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>}</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula><p>where <inline-formula id="ieqn-75"><mml:math id="mml-ieqn-75"><mml:msub><mml:mi>Q</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the energy capacity value of the battery at time <italic>t</italic>; <inline-formula id="ieqn-76"><mml:math id="mml-ieqn-76"><mml:msub><mml:mi>Q</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub></mml:math></inline-formula> is the maximum energy capacity value of the battery; <inline-formula id="ieqn-77"><mml:math id="mml-ieqn-77"><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> are the state variables of battery discharge and charging at time <italic>t</italic>, taking values of 0 and 1, respectively; and <inline-formula id="ieqn-78"><mml:math id="mml-ieqn-78"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub></mml:math></inline-formula> are the maximum charging and discharging power of the battery, respectively.</p>
<p>(4) Power balance constraint:</p>
<disp-formula id="eqn-18"><label>(18)</label><mml:math id="mml-eqn-18" display="block"><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mn>0</mml:mn><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>grid</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>grid</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>}</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>}</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula><p>where <inline-formula id="ieqn-79"><mml:math id="mml-ieqn-79"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>grid</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub></mml:math></inline-formula> is the maximum power value of the tie line; and <inline-formula id="ieqn-80"><mml:math id="mml-ieqn-80"><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>U</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> are the state variables of electricity purchase and sales at time <italic>t</italic>, respectively, taking a value of 0 or 1.</p>
</sec>
</sec>
<sec id="s4_2">
<label>4.2</label>
<title>Intraday Rolling Optimization Scheduling Strategy</title>
<p>The day-ahead scheduling calls the forecasted values of photovoltaics and loads on the previous day. The use of earlier forecasted values will inevitably lead to large error relative to the actual situation. Therefore, intraday scheduling needs to be based on new forecasts of photovoltaic power generation and various loads. With this approach, the lead time of the forecast in the intraday period is shortened, the forecast occurs 4 h in advance, and the minimum step size in the intraday optimization process is 15 min. Rolling optimization of the MPC is used to formulate the intraday scheduling strategy.</p>
<sec id="s4_2_1">
<label>4.2.1</label>
<title>Objective Function</title>
<p>The purpose of intraday scheduling is to minimize the output deviation of each unit of the system caused by the day-ahead-intraday source load prediction error and absorb photovoltaic power generation to the maximum extent. Therefore, the optimal goal of intraday scheduling is to minimize the deviation in the charging and discharging power of the storage battery and the power of the tie line in the day-ahead-intraday, as well as to minimize the intraday light abandonment. Its objective function is given by
<disp-formula id="eqn-19"><label>(19)</label><mml:math id="mml-eqn-19" display="block"><mml:mo movablelimits="true" form="prefix">min</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>total</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>grid</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></disp-formula></p>
<p><disp-formula id="eqn-20"><label>(20)</label><mml:math id="mml-eqn-20" display="block"><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>grid</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">&#x2211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:msub><mml:mi>&#x03C9;</mml:mi><mml:mrow><mml:mrow><mml:mtext>grid</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>|</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mrow><mml:mo>|</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x0394;</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">&#x2211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:msub><mml:mi>&#x03C9;</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>|</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mrow><mml:mo>|</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x0394;</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">&#x2211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:msub><mml:mi>&#x03C9;</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x0394;</mml:mi></mml:mrow><mml:mi>t</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-81"><mml:math id="mml-ieqn-81"><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mrow><mml:mtext>T</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the number of intraday scheduling cycle steps, <inline-formula id="ieqn-82"><mml:math id="mml-ieqn-82"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>grid</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the power offset penalty cost of the tie line in the day-ahead-intraday, <inline-formula id="ieqn-83"><mml:math id="mml-ieqn-83"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the battery power offset penalty cost in the day-ahead-intraday, <inline-formula id="ieqn-84"><mml:math id="mml-ieqn-84"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the intraday cost of abandoned light, <inline-formula id="ieqn-85"><mml:math id="mml-ieqn-85"><mml:msub><mml:mi>&#x03C9;</mml:mi><mml:mrow><mml:mrow><mml:mtext>grid</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the power offset penalty coefficient of the tie line in the day-ahead-intraday, <inline-formula id="ieqn-86"><mml:math id="mml-ieqn-86"><mml:msub><mml:mi>&#x03C9;</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the penalty coefficient of the battery power offset in the day-ahead-intraday; and <inline-formula id="ieqn-87"><mml:math id="mml-ieqn-87"><mml:msub><mml:mi>&#x03C9;</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is the penalty coefficient for the intraday light abandonment.</p>
</sec>
<sec id="s4_2_2">
<label>4.2.2</label>
<title>Constraint Condition</title>
<p>The constraints are the same as the day-ahead constraints, including power balance, equipment, and electricity purchase and sale constraints. The difference is that compared with the day-ahead constraints, in the intraday rolling optimization process, the cycle of single optimal scheduling is 4 h. After obtaining the optimal scheduling plan for the time period from <italic>t</italic> to <italic>t</italic> &#x002B; 4 h, only the result of a time step after time <italic>t</italic>, that is, time <italic>t</italic> &#x002B; 1, is executed. The scheduling plan is then employed with a time period from <italic>t</italic> &#x002B; 1 to <italic>t</italic> &#x002B; 1 &#x002B; 4 h, and the data before <italic>t</italic> &#x002B; 1 follows the result of the previous scheduling period, that is, from <italic>t</italic> to <italic>t</italic> &#x002B; 4 h. This is the coupling constraint of the time before and after the intraday equipment, expressed as</p>
<p><disp-formula id="eqn-21"><label>(21)</label><mml:math id="mml-eqn-21" display="block"><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:msup><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow><mml:mrow><mml:mo>&#x2032;</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:msup><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow><mml:mrow><mml:mo>&#x2032;</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:msup><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow><mml:mrow><mml:mo>&#x2032;</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:msup><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow><mml:mrow><mml:mo>&#x2032;</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-88"><mml:math id="mml-ieqn-88"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>ch</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:msup><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow><mml:mrow><mml:mo>&#x2032;</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>dis</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:msup><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow><mml:mrow><mml:mo>&#x2032;</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:msup><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow><mml:mrow><mml:mo>&#x2032;</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>sale</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:msup><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow><mml:mrow><mml:mo>&#x2032;</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> are the charging and discharging power of the battery and the power of purchasing and selling electricity from the grid at time <italic>t</italic> in the last scheduling cycle, respectively.</p>
</sec>
</sec>
</sec>
<sec id="s5">
<label>5</label>
<title>Case Analysis</title>
<sec id="s5_1">
<label>5.1</label>
<title>Case Setting</title>
<p>Taking a smart office building on a work day during the summer as an example, the system operation structure is shown in <xref ref-type="fig" rid="fig-1">Fig. 1</xref>. In the case scenario, the photovoltaic capacity on the roof of the building is 300 kW, the photovoltaic operation and maintenance cost is 0.02 &#x00A5;/kWh, and the battery capacity is 500 kWh. The maximum charging and discharging power of the battery is 100 kW, the initial capacity of the battery is 150 kWh, and the operation and maintenance cost of the battery is 0.15 &#x00A5;/kWh. The outdoor temperature condition is shown in <xref ref-type="fig" rid="fig-3">Fig. 3</xref>. The rigid load demand inside the building is shown in <xref ref-type="fig" rid="fig-4">Fig. 4</xref>. There are 100 ACs in the building; the specific parameters of the ACs are shown in <xref ref-type="table" rid="table-2">Table 2</xref>. There are 20 EV charging piles in the building; the EV parameters are listed in <xref ref-type="table" rid="table-3">Table 3</xref>. The grid time-of-use electricity price is shown in <xref ref-type="table" rid="table-4">Table 4</xref>. The photovoltaic storage building parameters is shown in <xref ref-type="table" rid="table-5">Table 5</xref>.</p>
<fig id="fig-3">
<label>Figure 3</label>
<caption>
<title>Building outdoor temperature and photovoltaic forecast results</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="EE_46783-fig-3.tif"/>
</fig><fig id="fig-4">
<label>Figure 4</label>
<caption>
<title>Load forecast results</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="EE_46783-fig-4.tif"/>
</fig><table-wrap id="table-2">
<label>Table 2</label>
<caption>
<title>AC load parameters</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Parameter name</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Number of AC</td>
<td>100</td>
</tr>
<tr>
<td>Rated power of AC</td>
<td>[1.5, 2]</td>
</tr>
<tr>
<td>AC energy efficiency ratio</td>
<td>[2.5, 3.5]</td>
</tr>
<tr>
<td>Room thermal resistance</td>
<td>N (5.56, 0.272)</td>
</tr>
<tr>
<td>Room thermal capacity</td>
<td>0.18</td>
</tr>
<tr>
<td>AC start working time</td>
<td>N (480, 102)</td>
</tr>
<tr>
<td>AC stop working time</td>
<td>N (1260, 102)</td>
</tr>
</tbody>
</table>
</table-wrap><table-wrap id="table-3">
<label>Table 3</label>
<caption>
<title>EV load parameters</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Parameter name</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>EV rated charging power</td>
<td>7.5</td>
</tr>
<tr>
<td>Number of EV charging piles</td>
<td>20</td>
</tr>
<tr>
<td>EV average battery capacity</td>
<td>80</td>
</tr>
<tr>
<td>EV arrives at building time</td>
<td>N (8.34, 0.672)</td>
</tr>
<tr>
<td>EV leaves the building time</td>
<td>N (17.53, 0.7852)</td>
</tr>
</tbody>
</table>
</table-wrap><table-wrap id="table-4">
<label>Table 4</label>
<caption>
<title>Time-of-use electricity price for power grid purchase and sale</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Period of time</th>
<th>Tariff type</th>
<th>Power purchase price</th>
<th>Power sale price</th>
</tr>
</thead>
<tbody>
<tr>
<td>01:00&#x2013;06:00</td>
<td>Valley</td>
<td>0.45</td>
<td>0.15</td>
</tr>
<tr>
<td>07:00&#x2013;11:00</td>
<td>Peak</td>
<td>1.21</td>
<td>0.9</td>
</tr>
<tr>
<td>12:00&#x2013;17:00</td>
<td>Flat</td>
<td>0.73</td>
<td>0.5</td>
</tr>
<tr>
<td>18:00&#x2013;22:00</td>
<td>Peak</td>
<td>1.21</td>
<td>0.9</td>
</tr>
<tr>
<td>23:00&#x2013;24:00</td>
<td>Valley</td>
<td>0.45</td>
<td>0.15</td>
</tr>
</tbody>
</table>
</table-wrap><table-wrap id="table-5">
<label>Table 5</label>
<caption>
<title>Photovoltaic storage building parameters</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Parameter name</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Building area/m<sup>2</sup></td>
<td>12960</td>
</tr>
<tr>
<td>Number of floors</td>
<td>5</td>
</tr>
<tr>
<td>Length/m</td>
<td>108</td>
</tr>
<tr>
<td>Width/m</td>
<td>40</td>
</tr>
<tr>
<td>Height/m</td>
<td>15</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s5_2">
<label>5.2</label>
<title>Day-Ahead Scheduling Analysis</title>
<p>The outdoor temperature and photovoltaic forecast results of the building are shown in <xref ref-type="fig" rid="fig-3">Fig. 3</xref>, and the load forecast results are presented in <xref ref-type="fig" rid="fig-4">Fig. 4</xref>. The EV load and AC load were simulated according to the data described in the table. The peak charging load of EV charging piles in the building area is from 8:00&#x2013;9:00, as this corresponds to the arrival time of building staff (<xref ref-type="fig" rid="fig-4">Fig. 4</xref>). After an EV is parked, it is directly connected to the charging pile for charging; at this point, no reasonable load optimization has been performed. As for the AC load, the AC is turned on successively from around 8:00 (<xref ref-type="fig" rid="fig-4">Fig. 4</xref>). The AC load increases gradually with the outdoor temperature. After 18:00, as the staff leave, the AC load gradually decreases until 22:00, when all the personnel have left, at which point the AC load decreases to 0.</p>
<p>(1) Day-ahead load optimization analysis</p>
<p>For the EV and AC loads, load optimization is carried out using the method described above. The optimized results are shown in <xref ref-type="fig" rid="fig-5">Figs. 5</xref> and <xref ref-type="fig" rid="fig-6">6</xref>.</p>
<fig id="fig-5">
<label>Figure 5</label>
<caption>
<title>Electric vehicle load optimization results</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="EE_46783-fig-5.tif"/>
</fig><fig id="fig-6">
<label>Figure 6</label>
<caption>
<title>Air conditioner load optimization results</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="EE_46783-fig-6.tif"/>
</fig>
<p>From <xref ref-type="fig" rid="fig-5">Fig. 5</xref>, the EV load showed a significant shift over time. The peak load period changed from 8:00&#x2013;11:00 to 12:00&#x2013;17:00, and moved from the peak electricity price period to the normal electricity price period, which reduces the charging cost of EVs. The EV load remains unchanged in terms of the total amount, but the peak value decreases, which reduces the impact of the EV load on the building power supply system.</p>
<p><xref ref-type="fig" rid="fig-6">Fig. 6</xref> shows that the overall AC load is in a state of load reduction. This is because the building can adjust the indoor temperature, and its internal energy management center uniformly sets the temperature of each room in the building and controls the operating status of the AC. Before optimization, the cooling temperature of the AC is set at about 24&#x00B0;C; after optimization, the cooling temperature of the AC is set at about 26&#x00B0;C.</p>
<p>The results of the total load optimization are shown in <xref ref-type="fig" rid="fig-7">Fig. 7</xref>. The total load showed a trend of reduction in the peak period and a smoother load curve. The total load before and after optimization changed from 4,783.40 to 4,598.41 kW, a decrease of 184.99 kW, which is a 4.02% reduction; the cost dropped from 4,601.78 to 4,193.30 &#x00A5;, a decrease of 408.47 &#x00A5;, which is a 9.74% decrease; and the peak load changed from 534.72 to 440.34 kW, a reduction of 94.38 kW, which is a 21.43% decrease. Therefore, the load optimization strategy of the building can effectively optimize the load distribution, allowing for enhanced system stability and economy and reduced system load expenditure.</p>
<fig id="fig-7">
<label>Figure 7</label>
<caption>
<title>Total load optimization results</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="EE_46783-fig-7.tif"/>
</fig>
<p>(2) Day-ahead scheduling plan analysis</p>
<p>The day-ahead scheduling plan of the system is obtained by reasonably scheduling each unit in the system according to the day-ahead objective function, that is, the minimum total system cost, as shown in <xref ref-type="fig" rid="fig-8">Fig. 8</xref>. When the electricity price of the grid is at the valley price from 0:00 to 6:00, the system starts to purchase electricity from the grid and charge the battery. From 7:00 to 11:00, the power grid is at peak electricity price. To reduce the cost, the battery starts to discharge to the system, and all photovoltaics are consumed. When the electricity price of the grid is at the normal electricity price from 12:00 to 17:00, the battery starts to charge, because the charging and discharging costs of the battery and the cost of loss are less than the cost of purchasing electricity from the grid during the peak period of the electricity price. When the electricity price of the grid is at its peak from 18:00 to 22:00, the battery will be discharged first to supply power to the load. When the electricity price of the grid is at a valley price from 23:00 to 24:00, the battery is charged to supply the next day&#x2019;s output.</p>
<fig id="fig-8">
<label>Figure 8</label>
<caption>
<title>System day-ahead scheduling plan results</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="EE_46783-fig-8.tif"/>
</fig>
<p>(3) Model validity analysis</p>
<p>To verify the effectiveness of the system scheduling control strategy, here, five scenarios are set up for comparative analysis in terms of economy and carbon emission reduction. The specific costs and carbon emission reductions of each scenario are listed in <xref ref-type="table" rid="table-6">Table 6</xref>.</p>
<table-wrap id="table-6">
<label>Table 6</label>
<caption>
<title>Running results of each scenario</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Scenario</th>
<th>Grid interaction cost/&#x00A5;</th>
<th>Photovoltaic cost/&#x00A5;</th>
<th>Battery cost/&#x00A5;</th>
<th>Total cost/&#x00A5;</th>
<th>Carbon emission reduction/kg</th>
</tr>
</thead>
<tbody>
<tr>
<td>Scenario 1</td>
<td>2095.0</td>
<td>46.3</td>
<td>240.3</td>
<td>2381.6</td>
<td>1319.23</td>
</tr>
<tr>
<td>Scenario 2</td>
<td>4193.3</td>
<td>/</td>
<td>/</td>
<td>4193.3</td>
<td>105.50</td>
</tr>
<tr>
<td>Scenario 3</td>
<td>1912.7</td>
<td>46.3</td>
<td>240.3</td>
<td>2199.3</td>
<td>1424.73</td>
</tr>
<tr>
<td>Scenario 4</td>
<td>1872.3</td>
<td>46.3</td>
<td>237.5</td>
<td>2156.1</td>
<td>1319.23</td>
</tr>
<tr>
<td>Scenario 5</td>
<td>1690.9</td>
<td>46.3</td>
<td>236.9</td>
<td>1974.1</td>
<td>1424.73</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Scenario 1: The system contains photovoltaic and battery units, and load optimization is not considered.</p>
<p>Scenario 2: The system does not contain photovoltaic or battery units, and load optimization is considered.</p>
<p>Scenario 3: The system contains photovoltaic and battery units, and only AC load optimization is considered.</p>
<p>Scenario 4: The system contains photovoltaic and battery units, and only EV load optimization is considered.</p>
<p>Scenario 5: The system contains photovoltaic and battery units, and load optimization is considered.</p>
<p>From <xref ref-type="table" rid="table-6">Table 6</xref>, the total operating cost of Scenario 5 within 1 day is the lowest, at 1,974.1 &#x00A5;, and the carbon emission reduction is the highest, at 1,424.73 kg. This represents a reduction of 407.5 &#x00A5; in total system cost compared to Scenario 1, a decrease of 17.11%, and an increase in carbon emission reduction by 105.5 kg, which is an increase of 7.99%. This is because when load optimization is considered, the system will move the EV load from the high electricity price period to the low electricity price period, and adjust the output of the AC load according to the comfort of the human body, thus reducing costs and carbon emissions. Compared with Scenario 1, the total system cost of Scenario 2 increases by 1,811.7 &#x00A5;, which is an increase of 43.21%, and the carbon emission reduction decreases by 1,213.73 kg, which is a decrease of 92.00%. This is because there are no photovoltaics or battery units in Scenario 2; the system directly purchases electricity from the grid without using clean energy, and carbon reduction is achieved solely by load optimization. Compared with Scenario 4, the carbon emission reduction in Scenario 3 increases by 105.5 kg, which is an increase of 7.99%. This is because the charging amount of the EVs does not change during EV load optimization; only the charging time changes. Comprehensive analysis of the model proposed in this paper could reduce costs, improve system economy, reduce carbon emissions, and facilitate the construction of low-carbon building environments.</p>

</sec>
<sec id="s5_3">
<label>5.3</label>
<title>Intraday Scheduling Analysis</title>
<p>Before the intraday scheduling of the system, the short-term forecast for the photovoltaics and load within 1 day is carried out first. The random error of normal distribution is superimposed on the previous forecast results to simulate the short-term intraday forecast data [<xref ref-type="bibr" rid="ref-19">19</xref>,<xref ref-type="bibr" rid="ref-20">20</xref>]. Specifically,</p>
<p><disp-formula id="eqn-22"><label>(22)</label><mml:math id="mml-eqn-22" display="block"><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:msub><mml:mi>&#x03B5;</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>load</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>b</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mtext>load</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:msub><mml:mi>&#x03B5;</mml:mi><mml:mrow><mml:mrow><mml:mtext>load</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-89"><mml:math id="mml-ieqn-89"><mml:msub><mml:mi>&#x03B5;</mml:mi><mml:mrow><mml:mrow><mml:mtext>PV</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>&#x03B5;</mml:mi><mml:mrow><mml:mrow><mml:mtext>load</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> are the forecast error deviation rates of the photovoltaics and load in the day-ahead-intraday, respectively.</p>
<p>The curves of short-term intraday photovoltaics and load forecasts obtained from <xref ref-type="disp-formula" rid="eqn-22">Eq. (22)</xref> are shown in <xref ref-type="fig" rid="fig-9">Fig. 9</xref>.</p>
<fig id="fig-9">
<label>Figure 9</label>
<caption>
<title>Intraday photovoltaic and load short-term forecast</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="EE_46783-fig-9.tif"/>
</fig>
<p>(1) Analysis of intraday scheduling results</p>
<p>Based on the more accurate intraday short-term forecast, the system scheduling is optimized with a smaller time step to obtain the intraday scheduling results, as shown in <xref ref-type="fig" rid="fig-10">Fig. 10</xref>. It can be seen that the minimum step size of the intraday scheduling strategy is 15 min, and the power of the entire system is balanced. Compared with the day-ahead scheduling, the output of each unit of the system does not change significantly in the intraday scheduling. Only a slight adjustment is made to eliminate the power deviation caused by the day-ahead-intraday source&#x2013;load forecast error.</p>
<fig id="fig-10">
<label>Figure 10</label>
<caption>
<title>System intraday scheduling plan results</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="EE_46783-fig-10.tif"/>
</fig>
<p>The day-ahead-intraday output deviation of the battery and the tie line in the system are shown in <xref ref-type="fig" rid="fig-11">Figs. 11</xref> and <xref ref-type="fig" rid="fig-12">12</xref>, respectively. The status flags of the battery&#x2019;s day-ahead-intraday charge and discharge status have not changed; only the output values at each time point change slightly, making intraday adjustments less expensive. The battery does not undergo frequent charge and discharge state transitions, which slows down the loss of battery life. Regarding the output of the tie line, the intraday optimization results are basically consistent with the day-ahead, avoiding any impact of frequent purchase and sale of electricity, which is conducive to the stability of system operations.</p>
<fig id="fig-11">
<label>Figure 11</label>
<caption>
<title>Battery day-ahead-intraday output deviation</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="EE_46783-fig-11.tif"/>
</fig><fig id="fig-12">
<label>Figure 12</label>
<caption>
<title>Day-ahead-intraday output deviation of the tie line</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="EE_46783-fig-12.tif"/>
</fig>
<p>(2) Comparison of different control methods</p>
<p>To verify the smoothing effect of the MPC rolling optimization proposed in this paper on the fluctuation of the system tie line, three control methods are set up for comparative analysis. The output results of the tie line under the three control modes are shown in <xref ref-type="fig" rid="fig-13">Fig. 13</xref>.</p>
<fig id="fig-13">
<label>Figure 13</label>
<caption>
<title>Diagram of the output results for the tie line under the three control modes</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="EE_46783-fig-13.tif"/>
</fig>
<p>Method 1: Use the intraday MPC rolling optimization mentioned in this article.</p>
<p>Method 2: Intraday non-rolling optimization. That is, based on the intraday short-term forecast results, the intraday output plan for all time periods is solved, and all intraday scheduling plans are issued together to correct the day-ahead scheduling results.</p>
<p>Method 3: Execute the day-ahead scheduling optimization strategy during the intraday period, and for the deviation of the day-ahead-intraday source-load prediction, all the deviations are smoothed by the external grid through the contact line.</p>
<p><xref ref-type="fig" rid="fig-13">Fig. 13</xref> shows that the MPC rolling optimization control method proposed in this paper is the most effective for stabilizing the fluctuation of the tie line. This is because the control method based on MPC rolling optimization will re-predict the source load every 15 min, has an optimal scheduling strategy within the scheduling cycle that is based on newer state predictions, and executes only the first control action within the cycle after obtaining the result of the scheduling optimization. This allows for more flexible, real-time adjustment of the state of the system, so as to better cope with the deviation of the output of the day-ahead-intraday contact line and reduce the impact of inaccurate source and load predictions.</p>
<p>In control method 2, the system calculates the intraday output plan for all time periods based on the intraday short-term forecast results and issues all intraday scheduling plans together. This control method only relies on a single optimization to adjust the state of the system. When late prediction error occurs, it cannot accurately stabilize the error, resulting in a sudden change in the power of the tie line.</p>
<p>In control method 3, the tie line power fluctuates greatly, and it is difficult to effectively track the day-ahead planned value. This is because, in this control method, the impact of the day-ahead-intraday source load prediction error is smoothed by the tie line, and other scheduling units in the system do not optimize scheduling.</p>
<p>(3) System photovoltaic consumption analysis</p>
<p>The model established in this paper considers the light abandonment penalty in the intraday stage to ensure that each unit of the system can track the day-ahead scheduling plan as accurately as possible, and at the same time adjust the power of the AC load in the intraday stage to maximize photovoltaic power generation consumption under the premise of satisfying the user comfort constraints and reducing the occurrence of light abandonment. To verify the superiority of the model proposed in this paper in terms of photovoltaic consumption, the following scenarios are established for comparative analysis.</p>
<p>Scenario 6: Consider day-ahead-intraday scheduling optimization, but the optimization goal of intraday scheduling only considers the output deviation penalty; it does not consider the light abandonment penalty.</p>
<p>Scenario 7: Consider day-ahead-intraday scheduling optimization; the goal of intraday scheduling optimization is consistent with this paper, but the AC load control method is consistent with the day-ahead.</p>
<p>Scenario 8: Application of the model proposed in this paper.</p>
<p>It can be seen from <xref ref-type="table" rid="table-7">Table 7</xref> that the photovoltaic consumption rate of the model proposed in this paper is as high as 98.57%, thus, using the proposed model (Scenario 8), the system is able to efficiently consume photovoltaic energy with consideration of the impact of the day-ahead-intraday source load prediction error. This is because the system can control the power of the AC load to stabilize system power fluctuations when the power of the intraday source load is unbalanced. In Scenario 6, the photovoltaic consumption rate decreased by 10.67% compared to Scenario 8. This is due to the fact that the objective function of intraday scheduling does not consider PV consumption; thus, when the actual PV power generation is higher than the day-ahead scheduling value during system optimization, the system will choose to abandon PVs to minimize deviation in the equipment output. In Scenario 7, the photovoltaic consumption rate decreased by 10.87% compared to Scenario 8. This is because the AC load control method is the same as the day-ahead and lacks the AC load regulation capability, when the actual PV power generation is higher than the day-ahead scheduling value, the system can only adjust the output of the battery or tie line or choose to abandon PVs.</p>
<table-wrap id="table-7">
<label>Table 7</label>
<caption>
<title>Running results of each scenario</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Scenario</th>
<th>Photovoltaic consumption rate</th>
</tr>
</thead>
<tbody>
<tr>
<td>Scenario 6</td>
<td>87.90%</td>
</tr>
<tr>
<td>Scenario 7</td>
<td>87.70%</td>
</tr>
<tr>
<td>Scenario 8</td>
<td>98.57%</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>In summary, the model proposed in this paper can effectively improve the PV consumption capacity of the system, stabilize the equipment output fluctuations caused by the prediction error of the day-ahead-intraday source load, and improve the economy and robustness of the system.</p>
</sec>
</sec>
<sec id="s6">
<label>6</label>
<title>Conclusion</title>
<p>To effectively optimize the operation of photovoltaic storage building systems, improve the energy consumption of the building, and realize the efficient use of energy, this paper proposes a multi-time scale optimal scheduling model for the system based on MPC. The following conclusions can be drawn from the cases/scenarios presented:
<list list-type="simple">
<list-item><label>(1)</label><p>The load optimization strategy proposed in this paper has reduced the total operating cost of the photovoltaic storage building systems by 17.11% while increasing carbon emission reduction by 7.99%. This effectively enhances the economic and low-carbon performance of the system.</p></list-item>
<list-item><label>(2)</label><p>The MPC-based multi-time scale optimal scheduling strategy for the photovoltaic storage building system proposed in this paper can more flexibly adjust the state of photovoltaic storage building systems, reduce the impact of inaccurate source&#x2013;load predictions, and enhance system operation stability.</p></list-item>
<list-item><label>(3)</label><p>The photovoltaic storage building system stabilizes system power fluctuations by controlling the power of the AC load, increasing the photovoltaic consumption rate by 10.87%, achieving a system photovoltaic consumption rate of 98.57%, and further enhancing the economic efficiency of the system.</p></list-item>
</list></p>
</sec>
</body>
<back>
<glossary content-type="abbreviations" id="glossary-1">
<title>Nomenclature</title>
<def-list>
<title>Abbreviations</title>
<def-item>
<term>MPC</term>
<def>
<p>Model predictive control</p>
</def>
</def-item>
<def-item>
<term>PV</term>
<def>
<p>Photovoltaic</p>
</def>
</def-item>
<def-item>
<term>EV</term>
<def>
<p>Electric vehicle</p>
</def>
</def-item>
<def-item>
<term>AC</term>
<def>
<p>Air conditioning</p>
</def>
</def-item>
<def-item>
<term>PMV</term>
<def>
<p>Predicted mean vote</p>
</def>
</def-item>
</def-list>
<def-list>
<title>Symbols</title>
<def-item>
<term><italic>P</italic></term>
<def>
<p>Electrical power</p>
</def>
</def-item>
<def-item>
<term><italic>I</italic></term>
<def>
<p>Solar light intensity</p>
</def>
</def-item>
<def-item>
<term><inline-formula id="ieqn-1"><mml:math id="mml-ieqn-1"><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mrow><mml:mtext>p</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula></term>
<def>
<p>Power temperature coefficient</p>
</def>
</def-item>
<def-item>
<term><italic>T</italic></term>
<def>
<p>Temperature</p>
</def>
</def-item>
<def-item>
<term><italic>S</italic></term>
<def>
<p>Energy stored in battery</p>
</def>
</def-item>
<def-item>
<term><inline-formula id="ieqn-2"><mml:math id="mml-ieqn-2"><mml:mi>&#x03BB;</mml:mi></mml:math></inline-formula></term>
<def>
<p>Charge/discharge efficiency</p>
</def>
</def-item>
<def-item>
<term><inline-formula id="ieqn-3"><mml:math id="mml-ieqn-3"><mml:mi mathvariant="normal">&#x0394;</mml:mi><mml:mi>t</mml:mi></mml:math></inline-formula></term>
<def>
<p>Time step</p>
</def>
</def-item>
<def-item>
<term><italic>U</italic></term>
<def>
<p>State variable</p>
</def>
</def-item>
<def-item>
<term><inline-formula id="ieqn-4"><mml:math id="mml-ieqn-4"><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mtext>AC</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula></term>
<def>
<p>Running state of the air conditioning</p>
</def>
</def-item>
<def-item>
<term><italic>Q</italic></term>
<def>
<p>Cooling capacity</p>
</def>
</def-item>
<def-item>
<term><inline-formula id="ieqn-5"><mml:math id="mml-ieqn-5"><mml:mi>&#x03B7;</mml:mi></mml:math></inline-formula></term>
<def>
<p>Efficiency</p>
</def>
</def-item>
<def-item>
<term><inline-formula id="ieqn-6"><mml:math id="mml-ieqn-6"><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mrow><mml:mtext>eq</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula></term>
<def>
<p>Equivalent thermal resistance</p>
</def>
</def-item>
<def-item>
<term><inline-formula id="ieqn-7"><mml:math id="mml-ieqn-7"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mrow><mml:mtext>eq</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula></term>
<def>
<p>Equivalent heat capacity</p>
</def>
</def-item>
<def-item>
<term><inline-formula id="ieqn-8"><mml:math id="mml-ieqn-8"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mtext>PMV</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula></term>
<def>
<p>Predicted mean vote index</p>
</def>
</def-item>
<def-item>
<term><inline-formula id="ieqn-9"><mml:math id="mml-ieqn-9"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mtext>a</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula></term>
<def>
<p>Skin temperature</p>
</def>
</def-item>
<def-item>
<term><inline-formula id="ieqn-10"><mml:math id="mml-ieqn-10"><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mrow><mml:mtext>o</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula></term>
<def>
<p>Metabolic rate of the human body</p>
</def>
</def-item>
<def-item>
<term><inline-formula id="ieqn-11"><mml:math id="mml-ieqn-11"><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mtext>cl</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula></term>
<def>
<p>Thermal resistance of the clothes</p>
</def>
</def-item>
<def-item>
<term><inline-formula id="ieqn-12"><mml:math id="mml-ieqn-12"><mml:mi>u</mml:mi></mml:math></inline-formula></term>
<def>
<p>EV state variable</p>
</def>
</def-item>
<def-item>
<term><italic>C</italic></term>
<def>
<p>Cost</p>
</def>
</def-item>
<def-item>
<term><inline-formula id="ieqn-13"><mml:math id="mml-ieqn-13"><mml:msub><mml:mi>Q</mml:mi><mml:mrow><mml:mrow><mml:mtext>ESS</mml:mtext></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula></term>
<def>
<p>Battery capacity</p>
</def>
</def-item>
<def-item>
<term><inline-formula id="ieqn-14"><mml:math id="mml-ieqn-14"><mml:mi>&#x03C9;</mml:mi></mml:math></inline-formula></term>
<def>
<p>Penalty coefficient</p>
</def>
</def-item>
<def-item>
<term><inline-formula id="ieqn-15"><mml:math id="mml-ieqn-15"><mml:mi>&#x03B5;</mml:mi></mml:math></inline-formula></term>
<def>
<p>Forecast error deviation rate</p>
</def>
</def-item>
</def-list>
<def-list>
<title>Subscripts</title>
<def-item>
<term>N</term>
<def>
<p>Rated value</p>
</def>
</def-item>
<def-item>
<term>STC</term>
<def>
<p>Standard value</p>
</def>
</def-item>
<def-item>
<term>ESS</term>
<def>
<p>Battery</p>
</def>
</def-item>
<def-item>
<term>ch/dis</term>
<def>
<p>Energy charge/discharge</p>
</def>
</def-item>
<def-item>
<term>in</term>
<def>
<p>Interior</p>
</def>
</def-item>
<def-item>
<term>out</term>
<def>
<p>Outdoor</p>
</def>
</def-item>
<def-item>
<term>set</term>
<def>
<p>Set value</p>
</def>
</def-item>
<def-item>
<term>min-max</term>
<def>
<p>Minimum&#x2013;maximum</p>
</def>
</def-item>
<def-item>
<term>buy</term>
<def>
<p>Electricity purchase</p>
</def>
</def-item>
<def-item>
<term>sale</term>
<def>
<p>Electricity sale</p>
</def>
</def-item>
<def-item>
<term>a</term>
<def>
<p>Day-ahead scheduling</p>
</def>
</def-item>
<def-item>
<term>b</term>
<def>
<p>Intraday scheduling</p>
</def>
</def-item>
<def-item>
<term>load</term>
<def>
<p>Electrical load</p>
</def>
</def-item>
<def-item>
<term>grid</term>
<def>
<p>Tie line</p>
</def>
</def-item>
</def-list>
</glossary>
<ack>
<p>None.</p>
</ack>
<sec><title>Funding Statement</title>
<p>The authors received no specific funding for this study.</p>
</sec>
<sec><title>Author Contributions</title>
<p>Study conception and design: Ximin Cao, Xinglong Chen, He Huang; data collection: He Huang, Qifan Huang, Yanchi Zhang; analysis and interpretation of results: Xinglong Chen, He Huang; draft manuscript preparation: He Huang; review and editing: Ximin Cao, Yanchi Zhang. All authors reviewed the results and approved the final version of the manuscript.</p>
</sec>
<sec sec-type="data-availability"><title>Availability of Data and Materials</title>
<p>The data presented in this study are available on request from the corresponding author. The data are not publicly available due to patent protection.</p>
</sec>
<sec sec-type="COI-statement"><title>Conflicts of Interest</title>
<p>The authors declare that they have no conflicts of interest to report regarding the present study.</p>
</sec>
<ref-list content-type="authoryear">
<title>References</title>
<ref id="ref-1"><label>1.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Li</surname>, <given-names>H.</given-names></string-name>, <string-name><surname>Liu</surname>, <given-names>D.</given-names></string-name>, <string-name><surname>Yao</surname>, <given-names>D.</given-names></string-name></person-group> (<year>2021</year>). <article-title>Analysis and reflection on the development of power system towards the goal of carbon emission peak and carbon neutrality</article-title>. <source>Proceedings of the CSEE</source><italic>,</italic> <volume>41</volume><italic>(</italic><issue>18</issue><italic>),</italic> <fpage>6245</fpage>&#x2013;<lpage>6258 (In Chinese)</lpage>.</mixed-citation></ref>
<ref id="ref-2"><label>2.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Yun</surname>, <given-names>B.</given-names></string-name>, <string-name><surname>Zhang</surname>, <given-names>E.</given-names></string-name>, <string-name><surname>Zhang</surname>, <given-names>G.</given-names></string-name>, <string-name><surname>Ma</surname>, <given-names>K.</given-names></string-name>, <string-name><surname>Zhang</surname>, <given-names>B.</given-names></string-name></person-group> (<year>2022</year>). <article-title>Optimal operation of an integrated energy system considering integrated demand response and a dual carbon mechanism</article-title>. <source>Power System Protection and Control</source><italic>,</italic> <volume>50</volume><italic>(</italic><issue>22</issue><italic>),</italic> <fpage>11</fpage>&#x2013;<lpage>19</lpage>.</mixed-citation></ref>
<ref id="ref-3"><label>3.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Wang</surname>, <given-names>L.</given-names></string-name>, <string-name><surname>Gao</surname>, <given-names>H.</given-names></string-name>, <string-name><surname>Liu</surname>, <given-names>C.</given-names></string-name>, <string-name><surname>Cai</surname>, <given-names>W.</given-names></string-name>, <string-name><surname>Hu</surname>, <given-names>M.</given-names></string-name> <etal>et al.</etal></person-group> (<year>2022</year>). <article-title>Electricity carbon coupling sharing among intelligent buildings considering time-of-use carbon emission measurement</article-title>. <source>Power System Technology</source><italic>,</italic> <volume>46</volume><italic>(</italic><issue>6</issue><italic>),</italic> <fpage>2054</fpage>&#x2013;<lpage>2063</lpage>.</mixed-citation></ref>
<ref id="ref-4"><label>4.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Wei</surname>, <given-names>W.</given-names></string-name>, <string-name><surname>Skye</surname>, <given-names>H. M.</given-names></string-name></person-group> (<year>2021</year>). <article-title>Residential net-zero energy buildings: Review and perspective</article-title>. <source>Renewable and Sustainable Energy Reviews</source><italic>,</italic> <volume>142</volume><italic>,</italic> <fpage>110859</fpage>. <pub-id pub-id-type="doi">10.1016/j.rser.2021.110859</pub-id>; <pub-id pub-id-type="pmid">34413697</pub-id></mixed-citation></ref>
<ref id="ref-5"><label>5.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Yu</surname>, <given-names>S.</given-names></string-name>, <string-name><surname>Du</surname>, <given-names>Y.</given-names></string-name>, <string-name><surname>Shi</surname>, <given-names>Y.</given-names></string-name>, <string-name><surname>Su</surname>, <given-names>H.</given-names></string-name>, <string-name><surname>Feng</surname>, <given-names>D.</given-names></string-name> <etal>et al.</etal></person-group> (<year>2021</year>). <article-title>Optimal scheduling of low-carbon building considering V2B smart charging pile groups</article-title>. <source>Electric Power Automation Equipment</source><italic>,</italic> <volume>41</volume><italic>(</italic><issue>9</issue><italic>),</italic> <fpage>95</fpage>&#x2013;<lpage>101</lpage>.</mixed-citation></ref>
<ref id="ref-6"><label>6.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Hu</surname>, <given-names>H.</given-names></string-name>, <string-name><surname>Ai</surname>, <given-names>X.</given-names></string-name>, <string-name><surname>Hu</surname>, <given-names>J.</given-names></string-name>, <string-name><surname>Wang</surname>, <given-names>K.</given-names></string-name></person-group> (<year>2022</year>). <article-title>Energy management method of smart building cluster considering mobile energy storage characteristics of electric vehicles</article-title>. <source>Electric Power Automation Equipment</source><italic>,</italic> <volume>42</volume><italic>(</italic><issue>10</issue><italic>),</italic> <fpage>227</fpage>&#x2013;<lpage>235</lpage>.</mixed-citation></ref>
<ref id="ref-7"><label>7.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Yang</surname>, <given-names>Z.</given-names></string-name>, <string-name><surname>Ai</surname>, <given-names>X.</given-names></string-name></person-group> (<year>2020</year>). <article-title>Distributed optimal scheduling for integrated energy building clusters considering energy sharing</article-title>. <source>Power System Technology</source><italic>,</italic> <volume>44</volume><italic>(</italic><issue>10</issue><italic>),</italic> <fpage>3769</fpage>&#x2013;<lpage>3776</lpage>.</mixed-citation></ref>
<ref id="ref-8"><label>8.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Hu</surname>, <given-names>J.</given-names></string-name>, <string-name><surname>Li</surname>, <given-names>P.</given-names></string-name>, <string-name><surname>Lin</surname>, <given-names>S.</given-names></string-name>, <string-name><surname>Ding</surname>, <given-names>J.</given-names></string-name></person-group> (<year>2021</year>). <article-title>Energy-sharing method for smart building clusters considering differences of time-of-use prices and based on master-slave game</article-title>. <source>Power System Technology</source><italic>,</italic> <volume>45</volume><italic>(</italic><issue>12</issue><italic>),</italic> <fpage>4738</fpage>&#x2013;<lpage>4748</lpage>.</mixed-citation></ref>
<ref id="ref-9"><label>9.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Zhou</surname>, <given-names>J.</given-names></string-name>, <string-name><surname>Li</surname>, <given-names>J.</given-names></string-name>, <string-name><surname>Ma</surname>, <given-names>H.</given-names></string-name>, <string-name><surname>Jiang</surname>, <given-names>D.</given-names></string-name>, <string-name><surname>Zhang</surname>, <given-names>H.</given-names></string-name></person-group> (<year>2021</year>). <article-title>Distributed optimal scheduling for smart building clusters considering peer-to-peer electric energy sharing</article-title>. <source>Electric Power Automation Equipment</source><italic>,</italic> <volume>41</volume><italic>(</italic><issue>10</issue><italic>),</italic> <fpage>113</fpage>&#x2013;<lpage>121</lpage>.</mixed-citation></ref>
<ref id="ref-10"><label>10.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Cai</surname>, <given-names>Z.</given-names></string-name>, <string-name><surname>Peng</surname>, <given-names>M.</given-names></string-name>, <string-name><surname>Shen</surname>, <given-names>M.</given-names></string-name></person-group> (<year>2021</year>). <article-title>Day-ahead optimal scheduling of smart integrated energy communities considering demand-side resources</article-title>. <source>Electric Power Automation Equipment</source><italic>,</italic> <volume>41</volume><italic>(</italic><issue>3</issue><italic>),</italic> <fpage>18</fpage>&#x2013;<lpage>24</lpage>&#x002B;32 (In Chinese).</mixed-citation></ref>
<ref id="ref-11"><label>11.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Wang</surname>, <given-names>C.</given-names></string-name>, <string-name><surname>Sun</surname>, <given-names>J.</given-names></string-name>, <string-name><surname>Xu</surname>, <given-names>Q.</given-names></string-name>, <string-name><surname>Ge</surname>, <given-names>J.</given-names></string-name></person-group> (<year>2023</year>). <article-title>Optimal scheduling based on the CVaR method for regional integrated energy system with high proportion photovoltaic</article-title>. <source>Advanced Engineering Sciences</source><italic>,</italic> <volume>55</volume><italic>(</italic><issue>2</issue><italic>),</italic> <fpage>97</fpage>&#x2013;<lpage>106</lpage>.</mixed-citation></ref>
<ref id="ref-12"><label>12.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Wei</surname>, <given-names>J.</given-names></string-name>, <string-name><surname>Liu</surname>, <given-names>Q.</given-names></string-name></person-group> (<year>2017</year>). <article-title>Tri-period energy management strategy for PV-assisted EV charging station in residential area</article-title>. <source>Electric Power Automation Equipment</source><italic>,</italic> <volume>37</volume><italic>(</italic><issue>8</issue><italic>),</italic> <fpage>249</fpage>&#x2013;<lpage>255</lpage>.</mixed-citation></ref>
<ref id="ref-13"><label>13.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Chen</surname>, <given-names>L.</given-names></string-name>, <string-name><surname>Qin</surname>, <given-names>M.</given-names></string-name>, <string-name><surname>Gu</surname>, <given-names>S.</given-names></string-name>, <string-name><surname>Qian</surname>, <given-names>K.</given-names></string-name>, <string-name><surname>Xu</surname>, <given-names>X.</given-names></string-name></person-group> (<year>2020</year>). <article-title>Optimal dispatching strategy of electric bus participating in vehicle-to-grid considering battery loss</article-title>. <source>Automation of Electric Power Systems</source><italic>,</italic> <volume>44</volume><italic>(</italic><issue>11</issue><italic>),</italic> <fpage>52</fpage>&#x2013;<lpage>60</lpage>.</mixed-citation></ref>
<ref id="ref-14"><label>14.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Jin</surname>, <given-names>X.</given-names></string-name>, <string-name><surname>Jiang</surname>, <given-names>T.</given-names></string-name>, <string-name><surname>Mu</surname>, <given-names>Y.</given-names></string-name>, <string-name><surname>Long</surname>, <given-names>C.</given-names></string-name>, <string-name><surname>Li</surname>, <given-names>X.</given-names></string-name> <etal>et al.</etal></person-group> (<year>2019</year>). <article-title>Scheduling distributed energy resources and smart buildings of a microgrid via multi-time scale and model predictive control method</article-title>. <source>IET Renewable Power Generation</source><italic>,</italic> <volume>13</volume><italic>(</italic><issue>6</issue><italic>),</italic> <fpage>816</fpage>&#x2013;<lpage>833</lpage>.</mixed-citation></ref>
<ref id="ref-15"><label>15.</label><mixed-citation publication-type="other"><person-group person-group-type="author"><collab>International Organization for Standardization</collab></person-group> (<year>2005</year>). <article-title>Ergonomics of the thermal environment-analytical determination and interpretation of thermal comfort using calculation of the PMV and PPD indices and local thermal comfort criteria</article-title>. <ext-link ext-link-type="uri" xlink:href="https://www.iso.org/standard/39155.html">https://www.iso.org/standard/39155.html</ext-link> <comment>(accessed on 25/11/2023)</comment>.</mixed-citation></ref>
<ref id="ref-16"><label>16.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Ning</surname>, <given-names>N.</given-names></string-name>, <string-name><surname>Li</surname>, <given-names>Q.</given-names></string-name>, <string-name><surname>Yang</surname>, <given-names>Y.</given-names></string-name>, <string-name><surname>Wu</surname>, <given-names>T.</given-names></string-name>, <string-name><surname>Li</surname>, <given-names>L.</given-names></string-name></person-group> (<year>2021</year>). <article-title>Optimal configuration of multi-energy storage system based on comprehensive demand side response</article-title>. <source>Science Technology and Engineering</source><italic>,</italic> <volume>21</volume><italic>(</italic><issue>15</issue><italic>),</italic> <fpage>6322</fpage>&#x2013;<lpage>6329</lpage>. <comment>(In Chinese)</comment>.</mixed-citation></ref>
<ref id="ref-17"><label>17.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Jiang</surname>, <given-names>Y.</given-names></string-name>, <string-name><surname>Zeng</surname>, <given-names>C.</given-names></string-name>, <string-name><surname>Huan</surname>, <given-names>J.</given-names></string-name>, <string-name><surname>Zhao</surname>, <given-names>J.</given-names></string-name>, <string-name><surname>Liu</surname>, <given-names>Y.</given-names></string-name> <etal>et al.</etal></person-group> (<year>2019</year>). <article-title>Integrated energy collaborative optimal dispatch considering human comfort and flexible load</article-title>. <source>Electric Power Automation Equipment</source><italic>,</italic> <volume>39</volume><italic>(</italic><issue>8</issue><italic>),</italic> <fpage>254</fpage>&#x2013;<lpage>260</lpage>.</mixed-citation></ref>
<ref id="ref-18"><label>18.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Wang</surname>, <given-names>Y.</given-names></string-name>, <string-name><surname>Peng</surname>, <given-names>H.</given-names></string-name>, <string-name><surname>Wang</surname>, <given-names>D.</given-names></string-name>, <string-name><surname>Liu</surname>, <given-names>M.</given-names></string-name>, <string-name><surname>Yang</surname>, <given-names>H.</given-names></string-name> <etal>et al.</etal></person-group> (<year>2015</year>). <article-title>Optimization method for indoor air temperature based on thermal comfort</article-title>. <source>Journal of Central South University (Science and Technology)</source><italic>,</italic> <volume>46</volume><italic>(</italic><issue>11</issue><italic>),</italic> <fpage>4083</fpage>&#x2013;<lpage>4090</lpage>.</mixed-citation></ref>
<ref id="ref-19"><label>19.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Zou</surname>, <given-names>Y.</given-names></string-name>, <string-name><surname>Zeng</surname>, <given-names>A.</given-names></string-name>, <string-name><surname>Hao</surname>, <given-names>S.</given-names></string-name>, <string-name><surname>Ning</surname>, <given-names>J.</given-names></string-name>, <string-name><surname>Ni</surname>, <given-names>L.</given-names></string-name></person-group> (<year>2023</year>). <article-title>Multi-time-scale optimal dispatch of integrated energy systems under stepped carbon trading mechanism</article-title>. <source>Power System Technology</source><italic>,</italic> <volume>47</volume><italic>(</italic><issue>6</issue><italic>),</italic> <fpage>2186</fpage>&#x2013;<lpage>2195</lpage>.</mixed-citation></ref>
<ref id="ref-20"><label>20.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Hu</surname>, <given-names>J.</given-names></string-name>, <string-name><surname>Lai</surname>, <given-names>X.</given-names></string-name>, <string-name><surname>Guo</surname>, <given-names>W.</given-names></string-name>, <string-name><surname>Zhang</surname>, <given-names>Y.</given-names></string-name>, <string-name><surname>Yang</surname>, <given-names>Y.</given-names></string-name></person-group> (<year>2022</year>). <article-title>Multi-time-scale scheduling for regional power grid considering flexibility of electric vehicle and wind power accommodation</article-title>. <source>Automation of Electric Power Systems</source><italic>,</italic> <volume>46</volume><italic>(</italic><issue>16</issue><italic>),</italic> <fpage>52</fpage>&#x2013;<lpage>60</lpage>.</mixed-citation></ref>
</ref-list>
</back></article>