<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Energy Res.</journal-id>
<journal-title>Frontiers in Energy Research</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Energy Res.</abbrev-journal-title>
<issn pub-type="epub">2296-598X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">1113814</article-id>
<article-id pub-id-type="doi">10.3389/fenrg.2023.1113814</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Energy Research</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>A low-carbon-oriented multi-time-scale dispatching strategy of multi-energy heterogeneous loads in clean heating scenarios of green residences</article-title>
<alt-title alt-title-type="left-running-head">Li et al.</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fenrg.2023.1113814">10.3389/fenrg.2023.1113814</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Li</surname>
<given-names>Zekun</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2184890/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Sun</surname>
<given-names>Yi</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Li</surname>
<given-names>Jiajun</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2099885/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Xiong</surname>
<given-names>Kui</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Liang</surname>
<given-names>Siyuan</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Shen</surname>
<given-names>Yaqi</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2103320/overview"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>School of Electrical and Electronic Engineering</institution>, <institution>North China Electric Power University</institution>, <addr-line>Beijing</addr-line>, <country>China</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>China Electric Power Research Institute</institution>, <addr-line>Wuhan</addr-line>, <country>China</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1810175/overview">Haochen Hua</ext-link>, Hohai University, China</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2125424/overview">Di Liu</ext-link>, Tsinghua University, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2125033/overview">Yingying Zhao</ext-link>, Fudan University, China</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Yaqi Shen, <email>jsntsyq1994@163.com</email>
</corresp>
<fn fn-type="other">
<p>This article was submitted to Process and Energy Systems Engineering, a section of the journal Frontiers in Energy Research</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>03</day>
<month>02</month>
<year>2023</year>
</pub-date>
<pub-date pub-type="collection">
<year>2023</year>
</pub-date>
<volume>11</volume>
<elocation-id>1113814</elocation-id>
<history>
<date date-type="received">
<day>01</day>
<month>12</month>
<year>2022</year>
</date>
<date date-type="accepted">
<day>18</day>
<month>01</month>
<year>2023</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2023 Li, Sun, Li, Xiong, Liang and Shen.</copyright-statement>
<copyright-year>2023</copyright-year>
<copyright-holder>Li, Sun, Li, Xiong, Liang and Shen</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>Clean energy utilization is important for the improvement of energy structure. At present, photothermal and electrothermal conversion technologies are becoming increasingly applied in many homes, which can thus be regarded as green residences. To meet the heating demand of green residences, solar hot water systems and electricity-to-heat (E2H) conversion devices, such as ground source heat pumps electric heating stoves and electric water heaters are widely installed to provide a clean form of heat. Besides, common loads, such as lighting, washing, and electric vehicles are daily loads in green residences. The above electric and thermal loads are regarded as multi-energy heterogeneous loads MEHLs can be used to decarbonize green residences by optimizing energy dispatch through flexible control. In this study, a novel energy structure of green residences was extended through the combination of SHWs, E2H, GSHPs, and EVs, as well as rooftop photovoltaic systems. Then, to minimize carbon emissions, a residential energy dispatching model was designed from day-ahead and real-time scales and a low-carbon-oriented multi-energy heterogeneous loads coordinated control strategy was proposed. Finally, to mitigate the residents&#x2019; loss of comfort caused by MEHL control, the indoor environment and water tank temperatures and the state of charge of EVs were regarded as special constraints. The simulation revealed that the proposed strategy can reduce carbon emissions by 33.07% and meet the basic demand for residential heat and electricity. Additionally, the strategy has good applicability for decarbonizing green residences.</p>
</abstract>
<kwd-group>
<kwd>multi-energy heterogeneous loads (MEHL)</kwd>
<kwd>low-carbon</kwd>
<kwd>electrothermal energy</kwd>
<kwd>residential energy dispatching</kwd>
<kwd>clean heating</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>With global warming becoming an increasingly serious problem, it is urgently important to build a clean, low-carbon, safe, and efficient energy system that utilizes wind, solar, and other renewable energies. In response to this, electric power substitution has been proposed as a great scheme in many regions (<xref ref-type="bibr" rid="B21">Niu et al., 2017</xref>; <xref ref-type="bibr" rid="B17">Lv et al., 2018</xref>; <xref ref-type="bibr" rid="B39">Zhang et al., 2022</xref>) and aims to use electricity to generate heat or cold to meet terminal energy usage. This method can alleviate the environmental pollution caused by coal, oil, and other primary fossil energy. The promotion of &#x201c;electric power substitution&#x201d; has effectively contributed to the transformation of clean energy structures and alleviated pressure on the environment. Based on this scheme, not only is the energy consumption structure optimized but flexible load control services are extended. With the help of advanced information technology, the Internet of Things and edge computing technology (<xref ref-type="bibr" rid="B7">Hua et al., 2022a</xref>) and residential smart devices, such as EHSs, EWHs, and air conditioners (ACs), can be aggregated, forming an energy pool that can be controlled by various communication methods and contribute to power services through peak shaving and valley filling (<xref ref-type="bibr" rid="B35">Wang et al., 2018</xref>; <xref ref-type="bibr" rid="B26">Song et al., 2020</xref>; <xref ref-type="bibr" rid="B38">Yan and Zhang, 2021</xref>), frequency and voltage regulation (<xref ref-type="bibr" rid="B24">Saxena et al., 2022</xref>; <xref ref-type="bibr" rid="B33">Wang et al., 2017</xref>; <xref ref-type="bibr" rid="B36">Wang et al., 2019</xref>), renewable energy consumption (<xref ref-type="bibr" rid="B15">Li et al., 2021</xref>; <xref ref-type="bibr" rid="B1">Cai et al., 2022</xref>), and other scenarios. This is widely known as load control technology. For example, <xref ref-type="bibr" rid="B37">Wei et al. (2017)</xref> proposed a hierarchical distributed load control strategy based on thermostatically controlled loads (TCLs) in poor communication environments, which can be used to eliminate the fluctuation of renewable energy. <xref ref-type="bibr" rid="B39">Zhang et al. (2022)</xref> established a state estimation method and control strategy based on the Fokker Planck model to solve the heterogeneity from TCLs. <xref ref-type="bibr" rid="B12">Kiani et al. (2021)</xref>, by taking TCLs and EVs as total virtual energy storage, built a unified state space model to evaluate controllable potential from the load population. Additionally, <xref ref-type="bibr" rid="B29">Tao et al. (2022)</xref> established an evaluation model based on data-driven methods to assess the controllable potential, and a real-time load control strategy was designed to provide auxiliary service.</p>
<p>An electric power substitution scheme brings more flexibility to power system operation. However, with the increasing number of alternative loads, the demand for power grid capacity is becoming greater. In particular, networks in rural areas struggle to support a large number of alternative electric loads and meet the energy demands of residential users. To solve these problems, clean heating is increasingly being used. In such scenarios, solar is converted directly into heat, and efficient GSHPs are used as a supplementary heat source to generate warm air and hot water for residents. The entire process is clean and low carbon. Clean heating has been applied widely across the world, such as in Germany, Denmark, China, and Austria (<xref ref-type="bibr" rid="B30">Tschopp et al., 2020</xref>). Moreover, in China, 21 provinces are required to install SHW systems in residential buildings and utilize photothermal energy (<xref ref-type="bibr" rid="B20">NEA China, 2016</xref>).</p>
<p>All the above-mentioned clean heating scenarios coexist in a small residential electrothermal integrated energy system, which can thus be regarded as green residences. This system provides both a thermal and an electric energy service. For thermal demands, SHW systems, E2H conversion devices, and GSHPs are installed, while for the electric demands, common loads, such as lighting, washing, and EV, are regarded as daily loads. The above electric and thermal loads are regarded as MEHLs. To optimize energy dispatch, a great deal of research has focused on load control for improving flexibility and economy. For example, <xref ref-type="bibr" rid="B4">Gao et al. (2021)</xref> proposed an incentive demand response strategy for residential users based on evolutionary game theory, which realizes users&#x2019; load control when their willingness is time-varying. <xref ref-type="bibr" rid="B32">Wang et al. (2023)</xref> put forward an optimal scheduling model based on chance-constrained programming by combining EVs with electrothermal loads. <xref ref-type="bibr" rid="B25">Shao et al. (2019)</xref> considered the transferability of load and the alternativity of energy, and a price-based comprehensive demand response strategy was designed for thermoelectric load control. <xref ref-type="bibr" rid="B16">Li Z et al. (2022)</xref>, <xref ref-type="bibr" rid="B14">Li L et al. (2022)</xref> presented a distributed and real-time economic dispatch strategy, in which TCLs are collected to form a virtual and flexibly controlled battery to support the optimal operation of a power system. Additionally, <xref ref-type="bibr" rid="B40">Zheng J et al. (2020)</xref>, <xref ref-type="bibr" rid="B41">Zheng S et al. (2020)</xref> proposed an incentive demand response strategy for both the upregulation and downregulation of multi-energy systems by considering the energy alternative effect and the coupling effect of users&#x2019; behaviors. To make use of MEHLs in the special clean heating scenario, some related studies have been carried out. For example, <xref ref-type="bibr" rid="B34">Wang L et al. (2022)</xref> conducted multi-level scale-up research of distributed clean building heating, in which electric heat storage is used as a typical MEHL to optimize the operational cost of heating a building. <xref ref-type="bibr" rid="B2">Coen et al. (2021)</xref> analyzed and optimized heterogeneous thermal loads as one type of MEHL to reduce heat exhaustion in buildings. These studies show the advantages and applicability of load control technology in improving dispatch economy, but they focus on the optimization of energy supply quantity, and few put forward specific load control actions. The loss of load control actions will result in an inadequate and inaccurate grasp of users&#x2019; comfort satisfaction.</p>
<p>Similar to the research above, load control technology is also adopted in clean heating scenarios in this paper. However, two aspects are addressed differently. First, MHEL control technology is extended in this paper (<xref ref-type="bibr" rid="B2">Coen et al., 2021</xref>; <xref ref-type="bibr" rid="B28">Sun et al., 2021</xref>) and is evolved from load control and involves more loads of different energy types. Second, MHEL control actions are conducted in the optimization to achieve accurate control. Generally, the related research in such MHEL scenarios can be seen in studies by <xref ref-type="bibr" rid="B22">Nordg&#xe5;rd-Hansen et al. (2022)</xref> and the <xref ref-type="bibr" rid="B18">Ma et al. (2021)</xref>. Among them, <xref ref-type="bibr" rid="B22">Nordg&#xe5;rd-Hansen et al. (2022)</xref> established an investment and operation model for RPV and GSHP systems in a single house in Norway. This heating scenario is similar to that in our study, but the load control actions are not involved. <xref ref-type="bibr" rid="B18">Ma et al. (2021)</xref> combined EVs, electric heating, and cooling loads, and then designed a load dispatching strategy by minimizing the comprehensive operating cost, which consists of electricity cost, gas cost, and carbon emissions. However, the dispatching time scale is 1&#xa0;h. The residents&#x2019; cooling and heating levels may exceed the endurance limits within 1&#xa0;h. To coordinate energy dispatch and residents&#x2019; comfort, a novel low-carbon-oriented multi-time-scale MHEL control strategy is proposed in this study, which contains the following contributions.<list list-type="simple">
<list-item>
<p>1) The energy structure described by <xref ref-type="bibr" rid="B22">Nordg&#xe5;rd-Hansen et al. (2022)</xref> is extended by installing solar accumulators and GSHPs, which lead to a more complex and energy-coupled scenario, and the residential energy use pattern is more flexible with the participation of EVs.</p>
</list-item>
<list-item>
<p>2) A joint DA and RT energy dispatching strategy is proposed, in which a stochastic scheduling model is established and the expected carbon emission cost is minimized in different and uncertain scenarios.</p>
</list-item>
<list-item>
<p>3) The multi-time-scale dispatching strategy is built in the coordinated control of MEHLs in the warm house system, where the RT indoor temperature status and EV&#x2019;s SOC are considered to avoid dissatisfaction from residents.</p>
</list-item>
<list-item>
<p>4) The solving method of the dispatching strategy is novel in that it transfers the recursive temperature and SOC constraints into approximate linear constraints, and the original constraints are taken as the verification to analyze the reasonability of the proposed dispatching strategy.</p>
</list-item>
</list>
</p>
<p>The structure of the article is as follows. The section entitled &#x201c;System Model of a Green Residence Equipped with MEHLs&#x201d; depicts the extended structure of MEHLs in an independent green residential house and their basic models. The subsequent section &#x201c;Low-Carbon-Oriented MEHL Dispatch&#x201d; presents the multi-time-scale load dispatching strategy with the coordinated control of MEHLs. Finally, simulation results and conclusions are developed in the last two sections.</p>
</sec>
<sec id="s2">
<title>2 System model of a green residence equipped with MEHLs</title>
<sec id="s2-1">
<title>2.1 Energy system structure</title>
<p>Most residents require heat and electricity, so an integrated energy system is needed to meet these demands. To make the heating process clean and economic, a house energy system equipped with photothermal, electrothermal, and photovoltaic devices and a GSHP and an EV was designed and is shown in <xref ref-type="fig" rid="F1">Figure 1</xref>. This system can not only bring about clean heating, but also increase the flexibility of the house energy system.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>The structure of an independent house with MEHLs.</p>
</caption>
<graphic xlink:href="fenrg-11-1113814-g001.tif"/>
</fig>
<p>In the proposed system structure, the energy supply was mainly provided by solar accumulators, RPV systems, and the external power grid, while the heat demands included air heating and hot water. For indoor air heating, the GSHP system was adopted, which can generate lots of heat from small amounts of electricity. Besides, the EHS was equipped to realize electricity-to-heat (E2H) conversion and meet the air heating demand. For the hot water, the solar accumulators were connected to the water system to form the SHW system to provide hot water on sunny days preferentially. Additionally, an EWH system was installed to provide hot water when the sun was not shining.</p>
<p>The proposed structure was grid friendly as the energy system was directly connected to the external power grid. As both solar-thermal and solar-electric conversion efficiency are limited in cloudy and rainy weather, it is necessary to purchase electricity from the external power grid. On the contrary, when the RPV output exceeds the demand of electricity and E2H conversion, the house owner can sell the excess electricity to the power grid. Apart from the power interaction, flexibly controlled MEHLs can optimize the operation of the house system and the external power system. With the improvement of intelligence and the information level, the hot water load, heating load, and the EV can be used as flexible loads. When the power supply is tight, the usage time and practical operation power of these loads can be adjusted flexibly, contributing to peak shaving, frequency stability, and other auxiliary services of the power grid.</p>
<p>In this study, we mainly attempt low-carbon energy dispatching. From the structure shown in <xref ref-type="fig" rid="F1">Figure 1</xref>, carbon emissions were mainly generated by the gas combustion from the external power grid. Therefore, the residents should use energy from solar accumulators and RPV systems as much as possible and optimize the operation process of MEHLs to reduce carbon emissions in the house system. This process is usually performed by home energy management systems (EMS). The default in this study was that the green residence was equipped with an EMS, which was responsible for communication, remote control, load monitoring, etc.</p>
</sec>
<sec id="s2-2">
<title>2.2 E2H system model</title>
<p>A GSHP is a high-efficient E2H device that uses little electricity to provide lots of heat. Generally, the coefficient of performance (COP) is an effective index to measure electricity consumption and heat supply. The physical power model of a GSHP can be depicted as follows (<xref ref-type="bibr" rid="B19">Marmaras et al., 2016</xref>):<disp-formula id="e1">
<mml:math id="m1">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mi>h</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:mi>C</mml:mi>
<mml:mi>O</mml:mi>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>where <inline-formula id="inf1">
<mml:math id="m2">
<mml:mrow>
<mml:msup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the GSHP&#x2019;s practical electric power at time <italic>t</italic>, <inline-formula id="inf2">
<mml:math id="m3">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mi>h</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the practical thermal power correspondingly, and <inline-formula id="inf3">
<mml:math id="m4">
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>O</mml:mi>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> represents the coefficient of performance.</p>
<p>Besides the GSHP, thermostatically controlled load is another type of E2H equipment, including EWHs, EHSs, ACs, and so on (<xref ref-type="bibr" rid="B23">Peirelinck et al., 2021</xref>; <xref ref-type="bibr" rid="B31">Wang C et al., 2022</xref>; <xref ref-type="bibr" rid="B11">Huang et al., 2019</xref>). They have resistivity characteristics when heating. The electric power and thermal power of the E2H conversion process should meet a certain proportion, which can be briefly described as:<disp-formula id="e2">
<mml:math id="m5">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>H</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>E</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>h</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msup>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>h</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>where <inline-formula id="inf4">
<mml:math id="m6">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>H</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>E</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the electric power for heating and hot water at time <italic>t</italic>, <inline-formula id="inf5">
<mml:math id="m7">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>h</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the thermal power correspondingly, and <inline-formula id="inf6">
<mml:math id="m8">
<mml:mrow>
<mml:msup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>h</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> is the E2H conversion efficiency. Super/subscript <inline-formula id="inf7">
<mml:math id="m9">
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf8">
<mml:math id="m10">
<mml:mrow>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> refer to heating load, <inline-formula id="inf9">
<mml:math id="m11">
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf10">
<mml:math id="m12">
<mml:mrow>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> refer to hot water load, and <inline-formula id="inf11">
<mml:math id="m13">
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> represents electric load.</p>
</sec>
<sec id="s2-3">
<title>2.3 SHW system model</title>
<p>The SHW system directly converts solar energy into heat. The output is mainly affected by the heat collection efficiency, plate area, and solar radiation intensity. Its physical model can be described as (<xref ref-type="bibr" rid="B13">Li et al., 2023</xref>):<disp-formula id="e3">
<mml:math id="m14">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>100</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:msup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>W</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msup>
<mml:msup>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
</mml:msup>
<mml:msup>
<mml:mi>H</mml:mi>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>where <inline-formula id="inf12">
<mml:math id="m15">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the thermal power of the SHW system at time <italic>t</italic>, <inline-formula id="inf13">
<mml:math id="m16">
<mml:mrow>
<mml:msup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>W</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> is the heat collection efficiency of the solar accumulators, <inline-formula id="inf14">
<mml:math id="m17">
<mml:mrow>
<mml:msup>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> is the area of the accumulators, and <inline-formula id="inf15">
<mml:math id="m18">
<mml:mrow>
<mml:msup>
<mml:mi>H</mml:mi>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the solar radiation intensity at time <italic>t</italic>.</p>
</sec>
<sec id="s2-4">
<title>2.4 RPV model</title>
<p>RPV systems are a type of common distributed power unit, and their power generation can be described as follows (<xref ref-type="bibr" rid="B27">Soto et al., 2006</xref>):<disp-formula id="e4">
<mml:math id="m19">
<mml:mrow>
<mml:msup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mi>G</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:msub>
<mml:mi>G</mml:mi>
<mml:mi>R</mml:mi>
</mml:msub>
</mml:mfrac>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>K</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>R</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>where <inline-formula id="inf16">
<mml:math id="m20">
<mml:mrow>
<mml:msup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the electric power output of RPV at time <inline-formula id="inf17">
<mml:math id="m21">
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf18">
<mml:math id="m22">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the maximum output of RPV under ideal conditions, <inline-formula id="inf19">
<mml:math id="m23">
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the temperature coefficient, <inline-formula id="inf20">
<mml:math id="m24">
<mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the PV panel temperature at time <inline-formula id="inf21">
<mml:math id="m25">
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf22">
<mml:math id="m26">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>R</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represents the reference temperature under ideal conditions, <inline-formula id="inf23">
<mml:math id="m27">
<mml:mrow>
<mml:msup>
<mml:mi>G</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the predictive value of light intensity at time <italic>t</italic>, and <inline-formula id="inf24">
<mml:math id="m28">
<mml:mrow>
<mml:msub>
<mml:mi>G</mml:mi>
<mml:mi>R</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represents the rated light intensity under ideal conditions.</p>
</sec>
</sec>
<sec id="s3">
<title>3 Low-carbon-oriented MEHL dispatch</title>
<sec id="s3-1">
<title>3.1 Objective function</title>
<p>The objective function for the operation of green residences is minimizing carbon emissions. Generally, carbon emissions are mainly caused by the burning of fossil fuels. In the proposed energy structure, the energy of a green residence is primarily provided by solar. The photoelectrical and photothermal conversion based on solar energy is clean and zero carbon. Therefore, if the house is energy self-sufficient, carbon emission will not occur. However, when the energy from solar cannot meet the energy demand, residents need to purchase electricity from the external power grid. It is supposed that the power from the external power grid is generated by gas turbines, which is the main cause of carbon emissions. Therefore, the carbon emission is strongly dependent on the generation of gas turbines.</p>
<p>Normally, a quadratic function is used to describe the relationship of the operation cost and the power generation of gas turbines (<xref ref-type="bibr" rid="B5">He et al., 2023</xref>). Therefore, the cost of carbon emission is also quadratically dependent on the power generation of gas turbines, as the amount of carbon emission is linearly dependent on the consumption of gas. As such, if the residents purchase electricity/power from the power grid, the cost of the carbon emission can be calculated by quadratic functions. In DA and RT stages, it is inevitable that residents will purchase or sell electricity to maintain the power balance. As a result, the objective function should contain two-time scales. Meanwhile, considering that inaccurate power forecasts will affect the calculation of carbon emissions, a stochastic scheduling method based on a scenario tree is adopted to reduce the uncertainty of prediction. Therefore, the objective function can be described as follows:<disp-formula id="e5">
<mml:math id="m29">
<mml:mrow>
<mml:mi>min</mml:mi>
<mml:mrow>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>T</mml:mi>
</mml:munderover>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
<mml:mrow>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
</mml:munderover>
<mml:mrow>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>
<disp-formula id="e6">
<mml:math id="m30">
<mml:mrow>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mtext>sgn</mml:mtext>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:msup>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>2</mml:mn>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>3</mml:mn>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>
<disp-formula id="e7">
<mml:math id="m31">
<mml:mrow>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">g</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:msup>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>2</mml:mn>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x394;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>3</mml:mn>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>
<disp-formula id="e8">
<mml:math id="m32">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>e</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(8)</label>
</disp-formula>
<disp-formula id="e9">
<mml:math id="m33">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>e</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(9)</label>
</disp-formula>where <inline-formula id="inf25">
<mml:math id="m34">
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the optimization periods, <inline-formula id="inf26">
<mml:math id="m35">
<mml:mrow>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the carbon emission cost of the house energy system at time <inline-formula id="inf27">
<mml:math id="m36">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> in the DA stages, <inline-formula id="inf28">
<mml:math id="m37">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the probability of scenario <italic>s</italic>, <inline-formula id="inf29">
<mml:math id="m38">
<mml:mrow>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the carbon emission cost of the house energy system for time <inline-formula id="inf30">
<mml:math id="m39">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> for scenarios in the RT stage, <inline-formula id="inf31">
<mml:math id="m40">
<mml:mrow>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represents the number of scenarios, <inline-formula id="inf32">
<mml:math id="m41">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> depicts the scheduled interactive power between the house system and the external power grid at time <inline-formula id="inf33">
<mml:math id="m42">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> in the DA stages, <inline-formula id="inf34">
<mml:math id="m43">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf35">
<mml:math id="m44">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>2</mml:mn>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf36">
<mml:math id="m45">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>3</mml:mn>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the coefficients of carbon emission cost in the DA stage, <inline-formula id="inf37">
<mml:math id="m46">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> depicts the scheduled interactive power between the house system and the external power grid at time <inline-formula id="inf38">
<mml:math id="m47">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> for scenario <italic>s</italic> in the RT stage, <inline-formula id="inf39">
<mml:math id="m48">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf40">
<mml:math id="m49">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>2</mml:mn>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf41">
<mml:math id="m50">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>3</mml:mn>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the coefficients of carbon emission cost in the RT stage, <inline-formula id="inf42">
<mml:math id="m51">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf43">
<mml:math id="m52">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>e</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> are parts of the scheduled power from the external power grid in the DA stages, which are respectively supplied to GSHPs and electrical load at time <inline-formula id="inf44">
<mml:math id="m53">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf45">
<mml:math id="m54">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf46">
<mml:math id="m55">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>e</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> are parts of the adjustment power from the external power grid in the RT stage, which are respectively applied for GSHP control and electrical load control at time <italic>t</italic> for scenario <italic>s</italic>, and <inline-formula id="inf47">
<mml:math id="m56">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the time interval of an optimization cycle. Note that sgn (&#xb7;) is a jump function. When the variable is greater than 0, the function is 1, which means residents buy electricity from the external power grid. When the variable is less than 0, the function is &#x2212;1, which means residents sell electricity.</p>
</sec>
<sec id="s3-2">
<title>3.2 Constraints for the operation of MEHLs</title>
<sec id="s3-2-1">
<title>3.2.1 Heating system</title>
<p>Generally, the relationship between heat load and temperature in a house can be described by the ETP model (<xref ref-type="bibr" rid="B6">Hu et al., 2017</xref>), as shown in Eq. <xref ref-type="disp-formula" rid="e10">10</xref>. Considering the various heating sources in the proposed structure, the total thermal power meets Eq. <xref ref-type="disp-formula" rid="e11">11</xref>.<disp-formula id="e10">
<mml:math id="m57">
<mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>r</mml:mi>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>o</mml:mi>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mi>Q</mml:mi>
<mml:mi>r</mml:mi>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>R</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>o</mml:mi>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mi>Q</mml:mi>
<mml:mi>r</mml:mi>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msup>
<mml:mi>R</mml:mi>
<mml:mi>r</mml:mi>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>r</mml:mi>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msup>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>/</mml:mo>
<mml:msup>
<mml:mi>R</mml:mi>
<mml:mi>r</mml:mi>
</mml:msup>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mi>r</mml:mi>
</mml:msup>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
<label>(10)</label>
</disp-formula>
<disp-formula id="e11">
<mml:math id="m58">
<mml:mrow>
<mml:msup>
<mml:mi>Q</mml:mi>
<mml:mi>r</mml:mi>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(11)</label>
</disp-formula>
</p>
<p>In Eqs <xref ref-type="disp-formula" rid="e10">10</xref>, <xref ref-type="disp-formula" rid="e11">11</xref>, <inline-formula id="inf48">
<mml:math id="m59">
<mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>r</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf49">
<mml:math id="m60">
<mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>o</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> represent the indoor temperature and outdoor temperature, respectively, <inline-formula id="inf50">
<mml:math id="m61">
<mml:mrow>
<mml:msup>
<mml:mi>Q</mml:mi>
<mml:mi>r</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> is the total thermal power for the house at time <italic>t</italic>, <inline-formula id="inf51">
<mml:math id="m62">
<mml:mrow>
<mml:msup>
<mml:mi>R</mml:mi>
<mml:mi>r</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf52">
<mml:math id="m63">
<mml:mrow>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mi>r</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> are the equivalent thermal resistance and thermal capacity of the house, and <inline-formula id="inf53">
<mml:math id="m64">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf54">
<mml:math id="m65">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> are the thermal power used for air heating from the GSHP and EHS at time <italic>t</italic>. Normally, residents will not care about the amount of heating supplied, what they care about is the indoor temperature. Therefore, a certain temperature range should be maintained for residents&#x2019; comfort, which is shown in Eq. <xref ref-type="disp-formula" rid="e12">12</xref>.<disp-formula id="e12">
<mml:math id="m66">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>r</mml:mi>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(12)</label>
</disp-formula>where <inline-formula id="inf55">
<mml:math id="m67">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the setting temperature for the house and <inline-formula id="inf56">
<mml:math id="m68">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> refers to the temperature deviation threshold in the house. When it reaches this value, the operating state of the GSHP and EHS will change through the EMS.</p>
</sec>
<sec id="s3-2-2">
<title>3.2.2 Hot water system</title>
<p>The thermal storage of the hot water tank is similar to that of the heating system in a house, so the ETP model is also adopted in the hot water system. However, the parameters of the model are different. Its expression is as follows:<disp-formula id="e13">
<mml:math id="m69">
<mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>w</mml:mi>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>a</mml:mi>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mi>Q</mml:mi>
<mml:mi>w</mml:mi>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>R</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>a</mml:mi>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mi>Q</mml:mi>
<mml:mi>w</mml:mi>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msup>
<mml:mi>R</mml:mi>
<mml:mi>w</mml:mi>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>w</mml:mi>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msup>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>/</mml:mo>
<mml:msup>
<mml:mi>R</mml:mi>
<mml:mi>w</mml:mi>
</mml:msup>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mi>w</mml:mi>
</mml:msup>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
<label>(13)</label>
</disp-formula>
<disp-formula id="e14">
<mml:math id="m70">
<mml:mrow>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(14)</label>
</disp-formula>
<disp-formula id="e15">
<mml:math id="m71">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>K</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>w</mml:mi>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>K</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(15)</label>
</disp-formula>In Eqs <xref ref-type="disp-formula" rid="e13">13</xref>&#x2013;<xref ref-type="disp-formula" rid="e15">15</xref>, <inline-formula id="inf57">
<mml:math id="m72">
<mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>w</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf58">
<mml:math id="m73">
<mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>a</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> represent the hot water temperature and external temperature, respectively, <inline-formula id="inf59">
<mml:math id="m74">
<mml:mrow>
<mml:msup>
<mml:mi>Q</mml:mi>
<mml:mi>w</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> is the total thermal power used for water heating, <inline-formula id="inf60">
<mml:math id="m75">
<mml:mrow>
<mml:msup>
<mml:mi>R</mml:mi>
<mml:mi>w</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf61">
<mml:math id="m76">
<mml:mrow>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mi>w</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> are the equivalent thermal resistance and thermal capacity of the tank, respectively, and <inline-formula id="inf62">
<mml:math id="m77">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf63">
<mml:math id="m78">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> are the thermal power used for water heating from the SHW and EWH, respectively, at time <italic>t</italic>. <inline-formula id="inf64">
<mml:math id="m79">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>K</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the setting temperature for the tank and <inline-formula id="inf65">
<mml:math id="m80">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> refers to the temperature deviation threshold in the tank. Eq. <xref ref-type="disp-formula" rid="e15">15</xref> refers to the operation boundaries of the hot water tank.</p>
</sec>
<sec id="s3-2-3">
<title>3.2.3 EV charging</title>
<p>The SOC evolution process of EVs can be described as follows (<xref ref-type="bibr" rid="B16">Li Z et al., 2022</xref>):<disp-formula id="e16">
<mml:math id="m81">
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mi mathvariant="normal">V</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mi mathvariant="normal">V</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mfrac>
<mml:mo>&#x394;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
<label>(16)</label>
</disp-formula>where <inline-formula id="inf66">
<mml:math id="m82">
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf67">
<mml:math id="m83">
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> refer to the SOC value of an EV at time <inline-formula id="inf68">
<mml:math id="m84">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> and <italic>t</italic>, respectively, <inline-formula id="inf69">
<mml:math id="m85">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the charging efficiency, <inline-formula id="inf70">
<mml:math id="m86">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mi mathvariant="normal">V</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the charging power at time <italic>t</italic>, and <inline-formula id="inf71">
<mml:math id="m87">
<mml:mrow>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mi mathvariant="normal">V</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the rated capacity of the battery. The charging power and charging capacity should meet the following basic constraints:<disp-formula id="e17">
<mml:math id="m88">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
<label>(17)</label>
</disp-formula>
<disp-formula id="e18">
<mml:math id="m89">
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>max</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(18)</label>
</disp-formula>where <inline-formula id="inf72">
<mml:math id="m90">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the rated charging power and <inline-formula id="inf73">
<mml:math id="m91">
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf74">
<mml:math id="m92">
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>max</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are the minimum and maximum SOC limits, respectively.</p>
</sec>
<sec id="s3-2-4">
<title>3.2.4 GSHP operation</title>
<p>The COP of a GSHP in operating conditions should not exceed the rated COP (<xref ref-type="bibr" rid="B22">Nordg&#xe5;rd-Hansen et al., 2022</xref>), which is affected by the temperature of borehole heat exchangers (BHEs) and surrounding soil, so that the operating COP should meet the following constraints:<disp-formula id="e19">
<mml:math id="m93">
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>O</mml:mi>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>C</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(19)</label>
</disp-formula>
<disp-formula id="e20">
<mml:math id="m94">
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>h</mml:mi>
</mml:msub>
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>h</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>E</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(20)</label>
</disp-formula>where <inline-formula id="inf75">
<mml:math id="m95">
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the rated COP and <inline-formula id="inf76">
<mml:math id="m96">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>h</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf77">
<mml:math id="m97">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>E</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are the output temperature used for heating the house and the temperature of the liquid in the BHE, respectively.</p>
</sec>
</sec>
<sec id="s3-3">
<title>3.3 Constraints for Energy Balance</title>
<sec id="s3-3-1">
<title>3.3.1 Energy Balance</title>
<p>Similar to the energy constraints in energy management scenarios (<xref ref-type="bibr" rid="B9">Hua et al., 2019a</xref>; <xref ref-type="bibr" rid="B3">Deng et al., 2023</xref>), supply-demand balance is the basic rule for optimization. Both the balance of electric power supply and demand in multi-time scales and that of the thermal power should be met in this system. For electric power, balance constraints are as follows:<disp-formula id="e21">
<mml:math id="m98">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(21)</label>
</disp-formula>
<disp-formula id="e22">
<mml:math id="m99">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(22)</label>
</disp-formula>
</p>
<p>For thermal power, balance constraints are as follows:<disp-formula id="e23">
<mml:math id="m100">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mi>w</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>w</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>w</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(23)</label>
</disp-formula>
<disp-formula id="e24">
<mml:math id="m101">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mi>r</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(24)</label>
</disp-formula>where the superscripts <inline-formula id="inf78">
<mml:math id="m102">
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf79">
<mml:math id="m103">
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> represent the values in the DA and RT stages, respectively, and <inline-formula id="inf80">
<mml:math id="m104">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf81">
<mml:math id="m105">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> are the power from the RPV system and external power grid at time <italic>t</italic>. <inline-formula id="inf82">
<mml:math id="m106">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the power of the GSHP, <inline-formula id="inf83">
<mml:math id="m107">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the total electric load, which can be used for air heating, water heating, common electric loads, and EV changing, and <inline-formula id="inf84">
<mml:math id="m108">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf85">
<mml:math id="m109">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf86">
<mml:math id="m110">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf87">
<mml:math id="m111">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> are the electric load from the EHS, EWH, common electric load, and EV, respectively. <inline-formula id="inf88">
<mml:math id="m112">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>w</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf89">
<mml:math id="m113">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> are the thermal load from the EWH and EHS, respectively. <inline-formula id="inf90">
<mml:math id="m114">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the thermal power supplied by the GSHP.</p>
</sec>
<sec id="s3-3-2">
<title>3.3.2 Energy flow</title>
<p>In the proposed house system, the electric power is partly provided by the RPV and partly provided by external power grid. Here, each variable regarding electric power consumption is divided into two independent variables to make the energy flow clearer. Therefore, the following energy flow constraints should be met in the optimization:<disp-formula id="e25">
<mml:math id="m115">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(25)</label>
</disp-formula>
<disp-formula id="e26">
<mml:math id="m116">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(26)</label>
</disp-formula>
<disp-formula id="e27">
<mml:math id="m117">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>E</mml:mi>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>E</mml:mi>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(27)</label>
</disp-formula>
<disp-formula id="e28">
<mml:math id="m118">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>E</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>E</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(28)</label>
</disp-formula>
<disp-formula id="e29">
<mml:math id="m119">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>C</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>C</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(29)</label>
</disp-formula>
<disp-formula id="e30">
<mml:math id="m120">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(30)</label>
</disp-formula>where the meanings of <inline-formula id="inf91">
<mml:math id="m121">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf92">
<mml:math id="m122">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf93">
<mml:math id="m123">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf94">
<mml:math id="m124">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf95">
<mml:math id="m125">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf96">
<mml:math id="m126">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> can be seen above. Each of the variables is the sum of that from the external power grid and that from the RPV system, marked by subscript <inline-formula id="inf97">
<mml:math id="m127">
<mml:mrow>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf98">
<mml:math id="m128">
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, respectively. The subscript <inline-formula id="inf99">
<mml:math id="m129">
<mml:mrow>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> represents the power from external power grids and the subscript <inline-formula id="inf100">
<mml:math id="m130">
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> represents the power from the RPV system.</p>
</sec>
<sec id="s3-3-3">
<title>3.3.3 Energy relationships</title>
<p>In the proposed strategy, the optimization in the RT stages is based on that in the DA stages, i.e., the RT optimization is an adjustment according to DA results. So, for the variables <inline-formula id="inf101">
<mml:math id="m131">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf102">
<mml:math id="m132">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf103">
<mml:math id="m133">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf104">
<mml:math id="m134">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf105">
<mml:math id="m135">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf106">
<mml:math id="m136">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, each RT optimization variable and DA variable should have the following relationships:<disp-formula id="e31">
<mml:math id="m137">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(31)</label>
</disp-formula>
<disp-formula id="e32">
<mml:math id="m138">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(32)</label>
</disp-formula>
<disp-formula id="e33">
<mml:math id="m139">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(33)</label>
</disp-formula>
<disp-formula id="e34">
<mml:math id="m140">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(34)</label>
</disp-formula>
<disp-formula id="e35">
<mml:math id="m141">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(35)</label>
</disp-formula>
<disp-formula id="e36">
<mml:math id="m142">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(36)</label>
</disp-formula>where <inline-formula id="inf107">
<mml:math id="m143">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> represents the adjustment value in the RT stages based on the DA variables. The meanings of the other variables from Eqs <xref ref-type="disp-formula" rid="e31">31</xref>&#x2013;<xref ref-type="disp-formula" rid="e36">36</xref> are outlined in the &#x201c;Energy Balance&#x201d; section above.</p>
</sec>
</sec>
<sec id="s3-4">
<title>3.4 Residents&#x2019; comfort satisfaction</title>
<p>As mentioned above, the proposed strategy contributes to the low-carbon operation of the house system by controlling MEHLs. As residents&#x2019; air heating, water heating, and EV charging process will change, temperature constraints and EV charging constraints need to be involved, which are as follows:</p>
<p>For the indoor air heating demand, it is necessary to ensure that the temperature is within the range of the user&#x2019;s satisfaction, considering that an environment that is too hot or too cold is not suitable for living. The temperature of the house should meet the constraint in Eq. <xref ref-type="disp-formula" rid="e37">37</xref>. For the hot water demand, there is also a requirement that the temperature is tolerable, and this is shown in the constraint (Eq. <xref ref-type="disp-formula" rid="e38">38</xref>).<disp-formula id="e37">
<mml:math id="m144">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(37)</label>
</disp-formula>
<disp-formula id="e38">
<mml:math id="m145">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>K</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>K</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>w</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(38)</label>
</disp-formula>
</p>
<p>EV needs to be charged to the expected SOC before leaving, shown as:<disp-formula id="e39">
<mml:math id="m146">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msup>
</mml:munderover>
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2265;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(39)</label>
</disp-formula>where <inline-formula id="inf108">
<mml:math id="m147">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf109">
<mml:math id="m148">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>K</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> depicts the acceptable deviation of the house and the water, respectively, and <inline-formula id="inf110">
<mml:math id="m149">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the minimum acceptable SOC for the user.</p>
</sec>
<sec id="s3-5">
<title>3.5 Solution</title>
<p>Eqs <xref ref-type="disp-formula" rid="e1">1</xref>&#x2013;<xref ref-type="disp-formula" rid="e39">39</xref> show that the model is non-linear, which presents two difficulties that need to be solved. First, in the GSHP model, the <inline-formula id="inf111">
<mml:math id="m150">
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>O</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is determined according to heat supply and electricity generation, and it is a time-varying variable that makes Eq. <xref ref-type="disp-formula" rid="e1">1</xref> more complex. To solve this, a little simplification is applied. According to the historical heating data of the house, the average COP values in each period are taken as a reference, and in this strategy, the COP values in different periods are set as constant parameters. Meanwhile, to avoid a large deviation of the actual operation caused by the simplification, the optimization variable <inline-formula id="inf112">
<mml:math id="m151">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mi>h</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is restricted into a certain percentage, as follows:<disp-formula id="e40">
<mml:math id="m152">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mi>h</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>r</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mi>h</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
</mml:math>
<label>(40)</label>
</disp-formula>where <inline-formula id="inf113">
<mml:math id="m153">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>r</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mi>h</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> represents the average heating power from historical data and <inline-formula id="inf114">
<mml:math id="m154">
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the percentage, which denotes that the heating power before and after optimization cannot exceed this value, otherwise the actual operation deviation will be large.</p>
<p>Second, the relationship between temperature and thermal power in the water heating and air heating process are non-linear, which is shown in Eqs <xref ref-type="disp-formula" rid="e10">10</xref>, <xref ref-type="disp-formula" rid="e12">12</xref>, <xref ref-type="disp-formula" rid="e37">37</xref> for house heating and Eqs <xref ref-type="disp-formula" rid="e13">13</xref>, <xref ref-type="disp-formula" rid="e15">15</xref>, <xref ref-type="disp-formula" rid="e38">38</xref> for water heating. It is difficult to solve these temperature constraints with the objective function directly because of the non-linearity. To solve the problem, the predictions for air heating load and water heating load based on historical temperature data are made and used as thermal demands in the optimization periods. Then, the temperature constraints can transfer into approximate thermal power constraints, as follows:<disp-formula id="e41">
<mml:math id="m155">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mi>w</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2265;</mml:mo>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mi>w</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(41)</label>
</disp-formula>
<disp-formula id="e42">
<mml:math id="m156">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3c6;</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>min</mml:mi>
</mml:msubsup>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mi>h</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mi>w</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>&#x3c6;</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>max</mml:mi>
</mml:msubsup>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mi>h</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(42)</label>
</disp-formula>where <inline-formula id="inf115">
<mml:math id="m157">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mi>w</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf116">
<mml:math id="m158">
<mml:mrow>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mi>h</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> are the thermal demands for hot water and air heating, respectively. <inline-formula id="inf117">
<mml:math id="m159">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3c6;</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>min</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf118">
<mml:math id="m160">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3c6;</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>max</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the minimum and maximum controllable coefficients for air heating load, respectively, and <inline-formula id="inf119">
<mml:math id="m161">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the controllable coefficient for the water heating load.</p>
<p>Finally, when the optimized results are obtained based on the modified constraints in Eqs <xref ref-type="disp-formula" rid="e40">40</xref>&#x2013;<xref ref-type="disp-formula" rid="e42">42</xref>, the temperature constraints (10), (12), (37), (13), (15), and (38) will be the verification condition for the results. If the results are not feasible, then the coefficients <inline-formula id="inf120">
<mml:math id="m162">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3c6;</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>min</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf121">
<mml:math id="m163">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3c6;</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>max</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf122">
<mml:math id="m164">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> need to be adjusted and the optimization problem needs to be resolved again. The entire solving process is depicted in <xref ref-type="fig" rid="F2">Figure 2</xref>.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>The problem-solving flowchart of the proposed dispatching strategy.</p>
</caption>
<graphic xlink:href="fenrg-11-1113814-g002.tif"/>
</fig>
</sec>
</sec>
<sec sec-type="results|discussion" id="s4">
<title>4 Results and discussion</title>
<sec id="s4-1">
<title>4.1 Simulation settings</title>
<p>To verify the advantages of the proposed strategy, two cases, with and without the proposed strategy, were set to make a thorough comparison in terms of external electricity consumption, carbon emission, house system operation, and residents&#x2019; comfort. The two cases are shown in <xref ref-type="table" rid="T1">Table 1</xref>.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>The settings of two cases.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Case index</th>
<th align="center">Description</th>
<th align="center">Details</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Case 1</td>
<td align="left">Without the proposed strategy</td>
<td align="left">MEHLs are not controlled and the optimization represents residents&#x2019; original and fixed energy use behaviors</td>
</tr>
<tr>
<td align="center">Case 2</td>
<td align="left">With the proposed strategy</td>
<td align="left">MEHLs are controlled flexibly to optimize the energy dispatching results, which show changed energy use behaviors</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The Monte Carlo method was used to simulate the heating process both in the house and in the water tank. Based on the historical temperature data, which are easily visible in the EMS system, the indoor air heating and hot water demands were calculated according to the temperature data. Additionally, the EV charging process was simulated and the charging demand in each period was predicted. The thermal power and electric power demands are shown in <xref ref-type="fig" rid="F3">Figure 3</xref>, in which QH represents the thermal power used for air heating, QW represents thermal power used for water heating, and EV represents the charging power.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>The basic energy demand distribution of house residents.</p>
</caption>
<graphic xlink:href="fenrg-11-1113814-g003.tif"/>
</fig>
<p>The curves of solar thermal output used for SHW and PV, as well as the common load in the DA stages, are depicted in <xref ref-type="fig" rid="F4">Figure 4</xref>. In a shorter time scale, random noises were also added to simulate the uncertainty from DA and RT prediction.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>The prediction of the SHW system, the RPV system (PV), and CL in the DA stages.</p>
</caption>
<graphic xlink:href="fenrg-11-1113814-g004.tif"/>
</fig>
<p>The proposed strategy involves various parameters, such as carbon emission cost coefficients, MEHL rated values, and controllable coefficients and initialization of MEHLs. Their settings can be seen in <xref ref-type="table" rid="T2">Table 2</xref>.</p>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Parameters and initialization of the proposed strategy.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th colspan="2" align="left">Carbon emission cost coefficients</th>
<th colspan="2" align="left">Controllable coefficients</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">
<inline-formula id="inf123">
<mml:math id="m165">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">6.752 &#xd7; 10<sup>&#x2212;6</sup>[t&#x2a; (MWh)-2]</td>
<td align="left">
<inline-formula id="inf124">
<mml:math id="m166">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3c6;</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>min</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">0.8</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf125">
<mml:math id="m167">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>2</mml:mn>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">&#x2212;5.776 &#xd7; 10<sup>&#x2212;6</sup> [t&#x2a;(MWh)-1]</td>
<td align="left">
<inline-formula id="inf126">
<mml:math id="m168">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3c6;</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>max</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">1.2</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf127">
<mml:math id="m169">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>3</mml:mn>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>A</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>R</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">4.256 &#xd7; 10<sup>&#x2212;6</sup> [t&#x2a;(MWh)-1]</td>
<td align="left">
<inline-formula id="inf128">
<mml:math id="m170">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">0.8</td>
</tr>
<tr>
<td colspan="4" align="left">EHS rated values and initialization</td>
</tr>
<tr>
<td align="left">&#x2003;<inline-formula id="inf129">
<mml:math id="m171">
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>O</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">4</td>
<td align="left">
<inline-formula id="inf130">
<mml:math id="m172">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">3&#xb0;C</td>
</tr>
<tr>
<td align="left">&#x2003;<inline-formula id="inf131">
<mml:math id="m173">
<mml:mrow>
<mml:msup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">0.7</td>
<td align="left">
<inline-formula id="inf132">
<mml:math id="m174">
<mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>o</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">5&#xb0;C</td>
</tr>
<tr>
<td align="left">&#x2003;<inline-formula id="inf133">
<mml:math id="m175">
<mml:mrow>
<mml:msup>
<mml:mi>R</mml:mi>
<mml:mi>r</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">0.02&#xb0;C/W</td>
<td align="left">
<inline-formula id="inf134">
<mml:math id="m176">
<mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>r</mml:mi>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">24&#xb0;C</td>
</tr>
<tr>
<td align="left">&#x2003;<inline-formula id="inf135">
<mml:math id="m177">
<mml:mrow>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mi>r</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">3500&#xa0;J/&#xb0;C</td>
<td align="left">
<inline-formula id="inf136">
<mml:math id="m178">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">26&#xb0;C</td>
</tr>
<tr>
<td colspan="4" align="left">EWH rated values and initialization</td>
</tr>
<tr>
<td align="left">&#x2003;<inline-formula id="inf137">
<mml:math id="m179">
<mml:mrow>
<mml:msup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">0.8</td>
<td align="left">
<inline-formula id="inf138">
<mml:math id="m180">
<mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>a</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">5&#xb0;C</td>
</tr>
<tr>
<td align="left">&#x2003;<inline-formula id="inf139">
<mml:math id="m181">
<mml:mrow>
<mml:msup>
<mml:mi>R</mml:mi>
<mml:mi>w</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">0.2208&#xb0;C/W</td>
<td align="left">
<inline-formula id="inf140">
<mml:math id="m182">
<mml:mrow>
<mml:msup>
<mml:mi>T</mml:mi>
<mml:mi>w</mml:mi>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">30&#xb0;C</td>
</tr>
<tr>
<td align="left">&#x2003;<inline-formula id="inf141">
<mml:math id="m183">
<mml:mrow>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mi>w</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">6336&#xa0;J/&#xb0;C</td>
<td align="left">
<inline-formula id="inf142">
<mml:math id="m184">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>K</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>/<inline-formula id="inf143">
<mml:math id="m185">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>K</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">45/5&#xb0;C</td>
</tr>
<tr>
<td colspan="4" align="left">EV rated values and initialization</td>
</tr>
<tr>
<td align="left">&#x2003;<inline-formula id="inf144">
<mml:math id="m186">
<mml:mrow>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mi mathvariant="normal">V</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">60&#xa0;kWh</td>
<td align="left">
<inline-formula id="inf145">
<mml:math id="m187">
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>O</mml:mi>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">0.3</td>
</tr>
<tr>
<td align="left">&#x2003;<inline-formula id="inf146">
<mml:math id="m188">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">1</td>
<td align="left">Arrival time</td>
<td align="left">450&#xa0;min</td>
</tr>
<tr>
<td align="left">&#x2003;<inline-formula id="inf147">
<mml:math id="m189">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>R</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="left">6&#xa0;kW</td>
<td align="left">Leaving time</td>
<td align="left">1,150&#xa0;min</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s4-2">
<title>4.2 Carbon emission cost analysis</title>
<p>As the carbon emission of a single house is relatively small, the proposed strategy rarely generates a profit. However, in the case of the large-scale promotion of MEHLs, the benefits are very optimistic. In this section, 100,000 distributed houses with MEHLs were set and aggregated into a flexible and controllable group to show the benefits afforded by large-scale promotion. <xref ref-type="table" rid="T3">Table 3</xref> shows that the proposed strategy can bring large economic benefits in terms of carbon emission cost.</p>
<table-wrap id="T3" position="float">
<label>TABLE 3</label>
<caption>
<p>Carbon emission cost of a single house and house group.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Case index</th>
<th align="left">$/house/day</th>
<th align="left">$/group/day</th>
<th align="left">$/house/year</th>
<th align="left">&#x0024;/group/year</th>
<th align="left">Improvement</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Case 1</td>
<td align="left">2.52&#x2a;10<sup>&#x2212;3</sup>
</td>
<td align="char" char=".">0.25</td>
<td align="char" char=".">0.92</td>
<td align="char" char=".">92.00</td>
<td rowspan="2" align="char" char=".">33.07% $</td>
</tr>
<tr>
<td align="left">Case 2</td>
<td align="left">1.69&#x2a;10<sup>&#x2212;3</sup>
</td>
<td align="char" char=".">0.17</td>
<td align="char" char=".">0.62</td>
<td align="char" char=".">61.58</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>By comparing the carbon emission cost in Case 1 and Case 2, the proposed strategy can save up to 33.07% of carbon emission cost, whether it be a single house or a house group. As such, the proposed strategy can greatly reduce the carbon emissions of the house system with MEHLs and promote clean and low-carbon operation.</p>
<p>The carbon emission cost distribution in the DA periods is described in <xref ref-type="fig" rid="F5">Figure 5</xref>. As observed in Case 1, the highest carbon emission occurred from 8 a.m. to 2 p.m., as did the highest electricity purchase, as EV charging demand is large and relatively concentrated during this period. Normally, the EV starts to charge upon arrival and the charging process is undisturbed. Therefore, in such concentrated charging periods, the house system needs to buy large amounts of electricity from external thermal power plants, resulting in a concentrated distribution of high carbon emission cost. However, in our proposed strategy, i.e., in Case 2, from 8 a.m. to 2 p.m., the electricity purchase and the carbon emission cost were reduced after optimization. Although from 2 p.m. to 7 p.m., the carbon emission cost was higher than that in Case 1, the cost of the full optimization period is obviously lower, which is a great advantage of our strategy.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>Distribution of incremental carbon emission costs in the DA periods.</p>
</caption>
<graphic xlink:href="fenrg-11-1113814-g005.tif"/>
</fig>
<p>In other periods, i.e., from midnight to 7.30 a.m. and from 7 p.m. to midnight, the output of the RPV system was relatively low, and most of the energy for hot water and air heating was obtained from the external power grid. To reduce the carbon emission cost of the system, hot water load and heating load were downregulated slightly in Case 2. This means that the proposed strategy can use MEHLs for a lower-carbon optimization and reduce carbon emission costs.</p>
<p>Correspondingly, <xref ref-type="fig" rid="F6">Figure 6</xref> depicts the incremental carbon emission cost distribution in RT periods compared with the costs of the DA periods. The incremental costs were mainly caused by the prediction errors of photoelectricity, photothermal energy, and residential load. <xref ref-type="fig" rid="F6">Figure 6</xref> shows that, when there were deviations and uncertainties in RT periods, the carbon emission cost distribution fluctuated less and was more stable in Case 2. In our strategy, the fluctuating outputs of the RPV system and photothermal energy were considered, and MEHLs in the house could match such outputs through flexible control. However, in Case 1, these deviations between the DA and RT periods could only be eliminated through external power purchases. Therefore, the fluctuation range of carbon emission costs at different times was large and the total emission cost was high.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Distribution of incremental carbon emission costs in the RT periods.</p>
</caption>
<graphic xlink:href="fenrg-11-1113814-g006.tif"/>
</fig>
</sec>
<sec id="s4-3">
<title>4.3 Dispatching results of MEHLs</title>
<p>The DA dispatching results of MEHLs in the house system in two cases are compared in <xref ref-type="fig" rid="F7">Figure 7</xref>. The top two panels show that, in Case 2, the operation power of the GSHP is higher than that in Case 1 from 1&#xa0;p.m. to 4&#xa0;p.m., while the operation power of the EHS is lower. In the proposed strategy, air heating demand was met by the GSHP, and the electric power of the GSHP was downregulated during most of the optimization periods due to the flexible and moderate control of indoor heating load.</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Dispatching and operation of MEHLs in two cases in the DA periods.</p>
</caption>
<graphic xlink:href="fenrg-11-1113814-g007.tif"/>
</fig>
<p>Besides the air heating load supplied by the GSHP and EHS, control of the MHELs in the proposed strategy was also applied to the hot water load and EV. For hot water, shown in the third figure panel, when the photothermal energy was low, the heat supply for hot water load was moderately downregulated. Thus, the EWH, as the supplier in low-photothermal conditions, consumed less electric power, whereas in high-photothermal conditions, the hot water load was met by the SHW system rather than the EWH in our strategy. For the EV, shown in the figure panel at the bottom, the charging power from 8 a.m. to 12 p.m. was downregulated while the charging time was extended and the charging power after 12 p.m. was upregulated to consume more photoelectricity.</p>
<p>In the RT periods, the dispatching and operation of the MEHLs showed a similar trend as that in the DA periods, as shown in <xref ref-type="fig" rid="F8">Figure 8</xref>. Compared with Case 1, the main changes in Case 2 can be summarized with respect to the following three aspects. First, the power of EHS was reduced and the GSHP was fully used to meet air heating demand within adjustable ranges. Second, photothermal energy was fully utilized at noon to increase hot water temperature, and then the heat supply for water in other periods was adjusted within acceptable ranges. Finally, the EV was charged with more flexible power during the entirety of the high-photoelectric periods.</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Dispatching and operation of MEHLs in two cases in the RT periods.</p>
</caption>
<graphic xlink:href="fenrg-11-1113814-g008.tif"/>
</fig>
</sec>
<sec id="s4-4">
<title>4.4 Resident comfort analysis</title>
<p>The proposed strategy could meet the electric and thermal demand shown in <xref ref-type="fig" rid="F3">Figure 3</xref>. As shown in <xref ref-type="fig" rid="F7">Figures 7</xref>, <xref ref-type="fig" rid="F8">8</xref> above, EV charging was not concentrated between 8 a.m. and 12 p.m. but was completed within a longer time period. <xref ref-type="fig" rid="F9">Figure 9</xref> depicts the heat supply for air heating and hot water in our strategy. <xref ref-type="fig" rid="F9">Figure 9</xref> shows that the heat supply for air heating during each period was downregulated, but the total supply was within an acceptable range. The heat supply for hot water in high-photothermal periods exceeded the original demand, and in these periods, more hot water was stored in the tank to maintain a higher temperature over a longer time scale in case the heat supply was downregulated in low-photothermal periods. Therefore, although the energy supply was adjusted after MEHL control, residents&#x2019; energy demand could still be met.</p>
<fig id="F9" position="float">
<label>FIGURE 9</label>
<caption>
<p>Heat supply for air and hot water in Case 2.</p>
</caption>
<graphic xlink:href="fenrg-11-1113814-g009.tif"/>
</fig>
<p>Actually, residents&#x2019; comfort depends on the temperature when it comes to hot water and air heating load, and also depends on the EV&#x2019;s SOC when leaving. Therefore, the temperature of hot water, indoor air, and the final SOC were the comfort indexes and were compared in two cases, which are shown in <xref ref-type="fig" rid="F10">Figure 10</xref>. As shown in uppermost figure panel, the indoor temperature rose relatively slowly compared with that in Case 1, but it stayed within the threshold range of deviation acceptable to residents. Meanwhile, in the middle panel, the water temperature fluctuated around the lower limit of deviation acceptable to residents before 8 a.m. then rose to the preset range and dropped at night; these fluctuations are strongly influenced by photothermal energy during the full optimization cycle. Finally, the bottom figure shows that, although the charging time increased, the SOC rose to 100% before the user left. Therefore, the user&#x2019;s travel demand could be met and no discomfort would generate.</p>
<fig id="F10" position="float">
<label>FIGURE 10</label>
<caption>
<p>MEHL operation status and comfort indexes comparison in two cases.</p>
</caption>
<graphic xlink:href="fenrg-11-1113814-g010.tif"/>
</fig>
<p>Therefore, the proposed low-carbon-oriented MEHL coordinated control strategy not only has strong advantages in terms of carbon emission costs but also ensures living and traveling standards that residents are satisfied with. It shows reliable supportability in the supply of hot water, indoor air heating, and EV charging when MEHLs are controlled flexibly.</p>
</sec>
</sec>
<sec sec-type="conclusion" id="s5">
<title>5 Conclusion</title>
<p>In this study, an MEHL coordinated control strategy was proposed to optimize the house energy system with GSHPs and solar. Low-carbon emission is regarded as the optimization target, and a multi-time-scale house energy dispatching model was established and coordinated with MEHL control. The proposed strategy was applied to a house system consisting of photothermal and photoelectric energy. The simulation results of two cases showed that the proposed strategy can reduce carbon emissions and meet residents&#x2019; energy demand when MEHLs are controlled. The main conclusion can be highlighted as follows:</p>
<p>The proposed strategy can reduce carbon emissions by up to 33.07%. The saving is made through the reduction of external electricity, and inner-system photoelectric and photothermal energy is fully used and optimized by MEHL control over longer time periods.</p>
<p>In the proposed strategy, MEHL control changes the temperature distribution of the water tank and the indoor environment, but the deviation of temperature will not significantly affect residents&#x2019; living comfort. Similarly, EV charging status changes but will not affect the traveling satisfaction of users.</p>
<p>Future research will focus on the data-driven technology application in our scenarios. Owing to the non-linear and recursive characteristics of the original model, the data-driven methods described by <xref ref-type="bibr" rid="B29">Tao et al. (2022)</xref>, <xref ref-type="bibr" rid="B9">Hua et al. (2019a)</xref>, <xref ref-type="bibr" rid="B8">Hua et al. (2019b)</xref> and <xref ref-type="bibr" rid="B10">Hua et al. (2022b)</xref> are good references for solving such problems.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s6">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/Supplementary Material, further inquiries can be directed to the corresponding author.</p>
</sec>
<sec id="s7">
<title>Author contributions</title>
<p>ZL&#x2013;model research, YS&#x2013;scenarios research, JL&#x2013;solution, KX&#x2013;model research, SL&#x2013;simulation, YS&#x2013;writting and checking.</p>
</sec>
<sec id="s8">
<title>Funding</title>
<p>This work was supported by Science and Technology Projects from the State Grid Corporation (SGJSYF00LJJS2200006).</p>
</sec>
<sec sec-type="COI-statement" id="s9">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
<p>The handling editor HH declared a past co-authorship with the reviewer DL.</p>
</sec>
<sec sec-type="disclaimer" id="s10">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cai</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Qing</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Shi</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Liang</surname>
<given-names>Q.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Promoting wind and photovoltaics renewable energy integration through demand response: Dynamic pricing mechanism design and economic analysis for smart residential communities</article-title>. <source>Energy</source> <volume>261</volume>, <fpage>125293</fpage>. <comment>Part B</comment>. <pub-id pub-id-type="doi">10.1016/j.energy.2022.125293</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Coen</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Fran&#xe7;ois</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Gerard</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Analytical solution for multi-borehole heat exchangers field including discontinuous and heterogeneous heat loads</article-title>. <source>Energy Build.</source> <volume>253</volume>, <fpage>111520</fpage>. <pub-id pub-id-type="doi">10.1016/j.enbuild.2021.111520</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Deng</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Mu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Jin</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>He</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Jia</surname>
<given-names>H.</given-names>
</name>
<etal/>
</person-group> (<year>2023</year>). <article-title>Two-stage residential community energy management utilizing EVs and household load flexibility under grid outage event</article-title>. <source>Energy Rep.</source> <volume>9</volume>, <fpage>337</fpage>&#x2013;<lpage>344</lpage>. <pub-id pub-id-type="doi">10.1016/j.egyr.2022.10.414</pub-id>
</citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gao</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Qin</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Evolutionary game-theoretic analysis for residential users considering integrated demand response</article-title>. <source>J. Mod. Power Syst. Clean Energy</source> <volume>9</volume> (<issue>6</issue>), <fpage>1500</fpage>&#x2013;<lpage>1509</lpage>. <pub-id pub-id-type="doi">10.35833/MPCE.2019.000030</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>He</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Shi</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Cao</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Day-ahead and intraday multi-time scale microgrid scheduling based on light robustness and MPC</article-title>. <source>Int. J. Electr. Power Energy Syst.</source> <volume>144</volume>, <fpage>108546</fpage>. <pub-id pub-id-type="doi">10.1016/j.ijepes.2022.108546</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Cao</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Jie</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Yong</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>S.</given-names>
</name>
<etal/>
</person-group> (<year>2017</year>). <article-title>Load following of multiple heterogeneous tcl aggregators by centralized control</article-title>. <source>IEEE Trans. Power Syst.</source> <volume>32</volume> (<issue>4</issue>), <fpage>3157</fpage>&#x2013;<lpage>3167</lpage>. <pub-id pub-id-type="doi">10.1109/TPWRS.2016.2626315</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Hua</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Dong</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Cao</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2022a</year>). <article-title>Edge computing with artificial intelligence: A machine learning perspective</article-title>. <comment>
<italic>ACM Computing Surveys</italic> [preprint] Available at: <ext-link ext-link-type="uri" xlink:href="https://dl.acm.org/doi/10.1145/3555802">https://dl.acm.org/doi/10.1145/3555802</ext-link> (Accessed August 16, 2022)</comment>.</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hua</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Qin</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Hao</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Cao</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2019b</year>). <article-title>Optimal energy management strategies for energy Internet via deep reinforcement learning approach</article-title>. <source>Appl. Energy</source> <volume>239</volume>, <fpage>598</fpage>&#x2013;<lpage>609</lpage>. <pub-id pub-id-type="doi">10.1016/j.apenergy.2019.01.145</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hua</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Qin</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Hao</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Cao</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2019a</year>). <article-title>Stochastic optimal control for energy Internet: A bottom-up energy management approach</article-title>. <source>IEEE Trans. Industrial Inf.</source> <volume>15</volume> (<issue>3</issue>), <fpage>1788</fpage>&#x2013;<lpage>1797</lpage>. <pub-id pub-id-type="doi">10.1109/TII.2018.2867373</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hua</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Qin</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Dong</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Qin</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Ye</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Z.</given-names>
</name>
<etal/>
</person-group> (<year>2022b</year>). <article-title>Data-driven dynamical control for bottom-up energy Internet system</article-title>. <source>IEEE Trans. Sustain. Energy</source> <volume>13</volume> (<issue>1</issue>), <fpage>315</fpage>&#x2013;<lpage>327</lpage>. <pub-id pub-id-type="doi">10.1109/TSTE.2021.3110294</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Huang</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Hao</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>A collaborative fuzzy control strategy of aggregated regenerative electric heaters for real-time energy balance in micro-grid</article-title>. <source>IEEE Access</source> <volume>7</volume>, <fpage>79388</fpage>&#x2013;<lpage>79400</lpage>. <pub-id pub-id-type="doi">10.1109/ACCESS.2019.2916072</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kiani</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Sheshyekani</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Dagdougui</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>A unified state space model for aggregation and coordination of large-scale TCLs and EVs for frequency regulation</article-title>. <source>Electr. Power Syst. Res.</source> <volume>195</volume>, <fpage>107181</fpage>. <pub-id pub-id-type="doi">10.1016/j.epsr.2021.107181</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Wei</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Dong</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Novakovic</surname>
<given-names>V.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Technical and economic performance study on winter heating system of air source heat pump assisted solar evacuated tube water heater</article-title>. <source>Appl. Therm. Eng.</source> <volume>221</volume>, <fpage>119851</fpage>. <pub-id pub-id-type="doi">10.1016/j.applthermaleng.2022.119851</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Dong</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Song</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Q.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Distributed and real-time economic dispatch strategy for an islanded microgrid with fair participation of thermostatically controlled loads</article-title>. <source>Energy</source> <volume>261</volume>, <fpage>125294</fpage>. <comment>Part B</comment>. <pub-id pub-id-type="doi">10.1016/j.energy.2022.125294</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Anvari-Moghaddam</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2021</year>). &#x201c;<article-title>A consumer-oriented incentive mechanism for EVs charging in multi-microgrids based on price information sharing</article-title>,&#x201d; in <conf-name>Proceeding of the IEEE International Conference on Environment and Electrical Engineering and 2021 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I&#x26;CPS Europe)</conf-name>, <fpage>1</fpage>&#x2013;<lpage>6</lpage>. <pub-id pub-id-type="doi">10.1109/EEEIC/ICPSEurope51590.2021.9584651</pub-id>
</citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Anvari-Moghaddam</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>A consumer-oriented incentive strategy for EV charging in multiareas under stochastic risk-constrained scheduling framework</article-title>. <source>IEEE Trans. Industry Appl.</source> <volume>58</volume> (<issue>4</issue>), <fpage>5262</fpage>&#x2013;<lpage>5274</lpage>. <pub-id pub-id-type="doi">10.1109/TIA.2022.3174527</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Lv</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Si</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Ye</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2018</year>). &#x201c;<article-title>Design and practice of trading mode promoting clean energy wide-scale consumption based on electric power alternative</article-title>,&#x201d; in <conf-name>Proceedings of 2018 4th International Conference on Green Materials and Environmental Engineering (GMEE 2018)</conf-name>, <fpage>383</fpage>&#x2013;<lpage>389</lpage>. <pub-id pub-id-type="doi">10.12783/dteees/gmee2018/27541</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Ma</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Pei</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Xiao</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Ma</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2021</year>). &#x201c;<article-title>The energy management strategies of residential integrated energy system considering integrated demand response</article-title>,&#x201d; in <conf-name>Proceeding of the IEEE/IAS Industrial and Commercial Power System Asia (I&#x26;CPS Asia)</conf-name>, <fpage>188</fpage>&#x2013;<lpage>193</lpage>. <pub-id pub-id-type="doi">10.1109/ICPSAsia52756.2021.9621462</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Marmaras</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Burbank</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Kosanovic</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Primary-secondary de-coupled ground source heat pump systems coefficient of performance optimization through entering water temperature control</article-title>. <source>Appl. Therm. Eng.</source> <volume>96</volume>, <fpage>107</fpage>&#x2013;<lpage>116</lpage>. <pub-id pub-id-type="doi">10.1016/j.applthermaleng.2015.10.027</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="web">
<collab>NEA China</collab> (<year>2016</year>). <article-title>The 13th Five-Year Plan for development of solar energy</article-title>. <comment>Available online at: <ext-link ext-link-type="uri" xlink:href="http://zfxxgk.nea.gov.cn/auto87/201612/t20161216_2358.htm">http://zfxxgk.nea.gov.cn/auto87/201612/t20161216_2358.htm</ext-link> (Accessed December 8, 2016)</comment>.</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Niu</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Song</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Xiao</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Electric power substitution for coal in China: Status quo and SWOT analysis</article-title>. <source>Renew. Sustain. Energy Rev.</source> <volume>70</volume>, <fpage>610</fpage>&#x2013;<lpage>622</lpage>. <pub-id pub-id-type="doi">10.1016/j.rser.2016.12.092</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Nordg&#xe5;rd-Hansen</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Kishor</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Midtt&#xf8;mme</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Kj&#xe6;r Risingg&#xe5;rd</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Kocbach</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Case study on optimal design and operation of detached house energy system: Solar, battery, and ground source heat pump</article-title>. <source>Appl. Energy</source> <volume>308</volume>, <fpage>118370</fpage>. <pub-id pub-id-type="doi">10.1016/j.apenergy.2021.118370</pub-id>
</citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Peirelinck</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Hermans</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Spiessens</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Deconinck</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Domain randomization for demand response of an electric water heater</article-title>. <source>IEEE Trans. Smart Grid</source> <volume>12</volume> (<issue>2</issue>), <fpage>1370</fpage>&#x2013;<lpage>1379</lpage>. <pub-id pub-id-type="doi">10.1109/TSG.2020.3024656</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Saxena</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Kumar</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Shankar</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Parida</surname>
<given-names>S. K.</given-names>
</name>
</person-group> (<year>2022</year>). &#x201c;<article-title>Demand response strategy in a multi-microgrid integrating renewable sources for improved frequency regulation</article-title>,&#x201d; in <conf-name>Proceeding of the 2022 IEEE IAS Global Conference on Emerging Technologies (GlobConET)</conf-name>, <fpage>77</fpage>&#x2013;<lpage>83</lpage>. <pub-id pub-id-type="doi">10.1109/GlobConET53749.2022.9872339</pub-id>
</citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shao</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Ding</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Siano</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Lin</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>A framework for incorporating demand response of smart buildings into the integrated heat and electricity energy system</article-title>. <source>IEEE Trans. Industrial Electron.</source> <volume>66</volume> (<issue>2</issue>), <fpage>1465</fpage>&#x2013;<lpage>1475</lpage>. <pub-id pub-id-type="doi">10.1109/TIE.2017.2784393</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Song</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Shahidehpour</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Yan</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Gao</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Multi-time scale coordinated control and scheduling of inverter-based TCLs with variable wind generation</article-title>. <source>IEEE Trans. Sustain. Energy</source> <volume>12</volume> (<issue>1</issue>), <fpage>46</fpage>&#x2013;<lpage>57</lpage>. <pub-id pub-id-type="doi">10.1109/TSTE.2020.2971271</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Soto</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Klein</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Beckman</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2006</year>). <article-title>Improvement and validation of a model for photovoltaic array performance</article-title>. <source>Sol. Energy</source> <volume>80</volume> (<issue>1</issue>), <fpage>78</fpage>&#x2013;<lpage>88</lpage>. <pub-id pub-id-type="doi">10.1016/j.solener.2005.06.010</pub-id>
</citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sun</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Bao</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Pang</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Analysis of multi energy heterogeneous load regulation framework and key technologies under clean heating mode</article-title>. <source>Proc. Chin. Soc. Electr. Eng.</source> <volume>41</volume> (<issue>20</issue>), <fpage>6827</fpage>&#x2013;<lpage>6842</lpage>. <comment>(in Chinese)</comment>. <pub-id pub-id-type="doi">10.13334/j.0258-8013.pcsee.210798</pub-id>
</citation>
</ref>
<ref id="B29">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tao</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Qiu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Lai</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>A data-driven management strategy of electric vehicles and thermostatically controlled loads based on modified generative adversarial network</article-title>. <source>IEEE Trans. Transp. Electrification</source> <volume>8</volume> (<issue>1</issue>), <fpage>1430</fpage>&#x2013;<lpage>1444</lpage>. <pub-id pub-id-type="doi">10.1109/tte.2021.3109671</pub-id>
</citation>
</ref>
<ref id="B30">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tschopp</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Tian</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Berberich</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Fan</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Perers</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Furbo</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Large-scale solar thermal systems in leading countries: A review and comparative study of Denmark, China, Germany and Austria</article-title>. <source>Appl. Energy</source> <volume>270</volume>, <fpage>114997</fpage>. <pub-id pub-id-type="doi">10.1016/j.apenergy.2020.114997</pub-id>
</citation>
</ref>
<ref id="B31">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Cui</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Wei</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Cooling seasonal performance of inverter air conditioner using model prediction control for demand response</article-title>. <source>Energy Build.</source> <volume>256</volume>, <fpage>111708</fpage>. <pub-id pub-id-type="doi">10.1016/j.enbuild.2021.111708</pub-id>
</citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Xing</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Luo</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Optimal scheduling of micro-energy grid with integrated demand response based on chance-constrained programming</article-title>. <source>Int. J. Electr. Power Energy Syst.</source> <volume>144</volume>, <fpage>108602</fpage>. <pub-id pub-id-type="doi">10.1016/j.ijepes.2022.108602</pub-id>
</citation>
</ref>
<ref id="B33">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Intelligent under frequency and under voltage load shedding method based on the active participation of smart appliances</article-title>. <source>IEEE Trans. Smart Grid</source> <volume>8</volume> (<issue>1</issue>), <fpage>353</fpage>&#x2013;<lpage>361</lpage>. <pub-id pub-id-type="doi">10.1109/TSG.2016.2582902</pub-id>
</citation>
</ref>
<ref id="B34">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Guo</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Ren</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Kong</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Using of heat thermal storage of PCM and solar energy for distributed clean building heating: A multi-level scale-up research</article-title>. <source>Appl. Energy</source> <volume>321</volume>, <fpage>119345</fpage>. <pub-id pub-id-type="doi">10.1016/j.apenergy.2022.119345</pub-id>
</citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Mu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Jiang</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Jia</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Hou</surname>
<given-names>K.</given-names>
</name>
<etal/>
</person-group> (<year>2018</year>). <article-title>Load curve smoothing strategy based on unified state model of different demand side resources</article-title>. <source>J. Mod. Power Syst. Clean Energy</source> <volume>6</volume> (<issue>3</issue>), <fpage>540</fpage>&#x2013;<lpage>554</lpage>. <pub-id pub-id-type="doi">10.1007/s40565-017-0358-0</pub-id>
</citation>
</ref>
<ref id="B36">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Mu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Jia</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Shi</surname>
<given-names>Q.</given-names>
</name>
<etal/>
</person-group> (<year>2019</year>). <article-title>State space model of aggregated electric vehicles for frequency regulation</article-title>. <source>IEEE Trans. Smart Grid</source> <volume>1</volume> (<issue>2</issue>), <fpage>981</fpage>&#x2013;<lpage>994</lpage>. <pub-id pub-id-type="doi">10.1109/TSG.2019.2929052</pub-id>
</citation>
</ref>
<ref id="B37">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wei</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Jia</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Fan</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Hierarchical and distributed demand response control strategy for thermostatically controlled appliances in smart grid</article-title>. <source>J. Mod. Power Syst. Clean Energy</source> <volume>5</volume> (<issue>1</issue>), <fpage>30</fpage>&#x2013;<lpage>42</lpage>. <pub-id pub-id-type="doi">10.1007/s40565-016-0255-y</pub-id>
</citation>
</ref>
<ref id="B38">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Yan</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<year>2021</year>). &#x201c;<article-title>Peak shaving potential of residential areas considering energy consumption characteristics</article-title>,&#x201d; in <conf-name>Proceeding of the 2021 IEEE 4th International Electrical and Energy Conference (CIEEC)</conf-name>, <fpage>1</fpage>&#x2013;<lpage>6</lpage>. <pub-id pub-id-type="doi">10.1109/CIEEC50170.2021.9510894</pub-id>
</citation>
</ref>
<ref id="B39">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Deng</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2022</year>). &#x201c;<article-title>Impact of electric heating technology on power grid of city</article-title>,&#x201d; in <conf-name>Proceedings of 2022 China International Conference on Electricity Distribution (CICED)</conf-name>, <fpage>556</fpage>&#x2013;<lpage>559</lpage>. <pub-id pub-id-type="doi">10.1109/CICED56215.2022.9929120</pub-id>
</citation>
</ref>
<ref id="B40">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zheng</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Laparra</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Aggregate power control of heterogeneous tcl populations governed by fokker&#x2013;planck equations</article-title>. <source>IEEE Trans. Control Syst. Technol.</source> <volume>28</volume> (<issue>5</issue>), <fpage>1915</fpage>&#x2013;<lpage>1927</lpage>. <pub-id pub-id-type="doi">10.1109/TCST.2020.2968873</pub-id>
</citation>
</ref>
<ref id="B41">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zheng</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Qi</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Shi</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>X.</given-names>
</name>
<etal/>
</person-group> (<year>2020</year>). <article-title>Incentive-based integrated demand response for multiple energy carriers considering behavioral coupling effect of consumers</article-title>. <source>IEEE Trans. Smart Grid</source> <volume>11</volume> (<issue>4</issue>), <fpage>3231</fpage>&#x2013;<lpage>3245</lpage>. <pub-id pub-id-type="doi">10.1109/TSG.2020.2977093</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>