<?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">1247803</article-id>
<article-id pub-id-type="doi">10.3389/fenrg.2023.1247803</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>Master&#x2013;slave game-based optimal scheduling of community-integrated energy system by considering incentives for peak-shaving and ladder-type carbon trading</article-title>
<alt-title alt-title-type="left-running-head">Dai 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.1247803">10.3389/fenrg.2023.1247803</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Dai</surname>
<given-names>Fengzhe</given-names>
</name>
<uri xlink:href="https://loop.frontiersin.org/people/2354976/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Jiang</surname>
<given-names>Fei</given-names>
</name>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1473987/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Chen</surname>
<given-names>Lei</given-names>
</name>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Wu</surname>
<given-names>Yongfei</given-names>
</name>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Xiao</surname>
<given-names>Changlin</given-names>
</name>
<uri xlink:href="https://loop.frontiersin.org/people/1771396/overview"/>
</contrib>
</contrib-group>
<aff>
<institution>School of Electrical and Information Engineering, Changsha University of Science and Technology</institution>, <addr-line>Changsha</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/1259467/overview">Liansong Xiong</ext-link>, Xi&#x2019;an Jiaotong 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/1403958/overview">Xiong Wu</ext-link>, Xi&#x2019;an Jiaotong University, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2395128/overview">Zhenya Ji</ext-link>, Nanjing Normal University, China</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Fei Jiang, <email>jiamg85521@126.com</email>
</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>05</day>
<month>09</month>
<year>2023</year>
</pub-date>
<pub-date pub-type="collection">
<year>2023</year>
</pub-date>
<volume>11</volume>
<elocation-id>1247803</elocation-id>
<history>
<date date-type="received">
<day>26</day>
<month>06</month>
<year>2023</year>
</date>
<date date-type="accepted">
<day>23</day>
<month>08</month>
<year>2023</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2023 Dai, Jiang, Chen, Wu and Xiao.</copyright-statement>
<copyright-year>2023</copyright-year>
<copyright-holder>Dai, Jiang, Chen, Wu and Xiao</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>To alleviate the challenges posed by high energy consumption, significant carbon emissions, and conflicting interests among multiple parties in a community-level microgrid, the authors of this study propose a master&#x2013;slave game-based optimal scheduling strategy for a community-integrated energy system (CIES). First, we analyze the decision variables and revenue-related objectives of each stakeholder in the CIES, and use the results to construct a framework of implementation. Second, we develop a model to incentivize peak regulation and a ladder-type carbon trading model that consider the correlation between the load owing to residential consumers, the load on the regional grid, and the sources of carbon emissions. Third, we propose a master&#x2013;slave game-based mechanism of interaction and a decision-making model for each party to the game, and show that it has a Stackelberg equilibrium solution by combining genetic algorithms and quadratic programming. The results of evaluations showed that compared with an optimization strategy that considers only the master&#x2013;slave game, the proposed strategy increased the consumption surplus of the user aggregator by 13.65%, the revenue of the community energy operator by 7.95%, increased the revenue of the energy storage operator, reduced CO<sub>2</sub> emissions by 6.10%, and adequately responded to peak-cutting and valley-filling by the power grid company.</p>
</abstract>
<kwd-group>
<kwd>community-integrated energy system</kwd>
<kwd>master-slave game</kwd>
<kwd>peak-shaving incentive</kwd>
<kwd>ladder-type carbon trading</kwd>
<kwd>demand response</kwd>
</kwd-group>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Process and Energy Systems Engineering</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>The community-integrated energy system (CIES) is designed to meet the diverse energy-related needs of residential users by considering multiple types of energy production, conversion, and storage processes within the community (<xref ref-type="bibr" rid="B13">O&#x2019;Dwyer et al., 2019</xref>; <xref ref-type="bibr" rid="B19">Wang et al., 2021</xref>). However, the high levels of energy consumption and carbon emissions in residential communities cannot be ignored. The ratio of energy consumption in the residential communities of China exceeded 30% of the country&#x2019;s total energy consumption in 2022, and the total carbon emissions from residential houses accounted for about 17% of total emissions (<xref ref-type="bibr" rid="B22">Wu et al., 2023</xref>). This has led to growing interest in the construction of the CIES to integrate energy supply with the relevant information, multi-energy coupling, and efficient low-carbon energy use by taking into account the interactive characteristics of residential load and the energy market.</p>
<p>The degree of interactive coupling between energy supply and demand has gradually deepened with the reform of the electricity market and the continual development of the CIES, and has transformed the traditional top-down, integrated structure of the supply and demand for energy into an interactive structure (<xref ref-type="bibr" rid="B17">Sun et al., 2022</xref>; <xref ref-type="bibr" rid="B18">Veichtlbauer et al., 2022</xref>; <xref ref-type="bibr" rid="B14">Qiu et al., 2023</xref>). However, the presence of multiple interest groups in the CIES makes it difficult to accurately describe their interactions by using the traditional, centralized strategy for optimization because each player needs to coordinate its interests when interacting with the other players. Game theory has been widely used in various disciplines, including finance, and securities and economics as an effective means of resolving the associations or conflicts among multiple participating agents in the market (<xref ref-type="bibr" rid="B13">O&#x2019;Dwyer et al., 2019</xref>).</p>
<p>Several scholars have conducted exploratory research on using game theory to optimize the scheduling of the CIES. <xref ref-type="bibr" rid="B25">Xu and Yi (2023)</xref> constructed a one master&#x2013;multiple slaves game model to optimize distributed cooperation among multiple types of loads in the CIES, while <xref ref-type="bibr" rid="B4">Huang et al. (2022)</xref> proposed a method to optimize a thermal&#x2013;electric energy system by considering dynamic pricing and the optimization of the operational strategy of a Stackelberg game. One study (<xref ref-type="bibr" rid="B7">Li et al., 2020</xref>) introduced a model of game-based interactions between electrically coupled systems and the load aggregator, and <xref ref-type="bibr" rid="B8">Li P. et al. (2021)</xref> proposed a framework to optimize a Stackelberg game involving the community energy operator and the aggregator of residential customers to achieve a comprehensive demand response for electric and thermal loads in the CIES. <xref ref-type="bibr" rid="B9">Li et al. (2022)</xref> proposed a hierarchical, partitioned approach to optimize multi-energy supply and demand in integrated energy systems in the framework of a master&#x2013;slave game. <xref ref-type="bibr" rid="B20">Wang et al. (2023)</xref> develops an optimal energy bidding mechanism for the regional integrated electricity-hydrogen system considering complex electricity-hydrogen energy flow and further presents an electricity-hydrogen optimization management strategy based on Stackelberg game. Although the above studies have considered the game-based interactions among the community energy operator, the aggregator of residential customers, the energy storage operator, and other participants within the CIES, they have mostly focused on the collaborative optimization of such sources of energy such as electricity, heat, and cooling, and have not adequately addressed the joint optimization of coupling devices for heterogeneous sources of energy, such as electric heating and electric cooling on the side of the customer in the residential community. Moreover, relatively little research has been devoted to the optimal scheduling of flexible loads by considering grid peaking under the master&#x2013;slave game-based framework.</p>
<sec id="s1-1">
<title>1.1 Related work of demand response and carbon trading models for residential customers</title>
<p>Demand response (DR) gives more flexibility to modern smart grids to compensate for the variability of renewable sources. As the business model of the CIES matures and multiple such energy systems coexist in the same region, the aggregator of residential customers becomes an important resource for regional grid peaking. <xref ref-type="bibr" rid="B26">Yu et al. (2022)</xref> adjusted the timing of electricity consumption by residents to show that a smart home can improve the flexibility of the load and has significant potential to adequately respond to the demand for power. Building on this work, <xref ref-type="bibr" rid="B1">Gao et al. (2022)</xref> constructed a multi-objective model of optimal scheduling under constraints imposed by various uncertainties and the demand response to promote load shifting between the peak and valley areas. <xref ref-type="bibr" rid="B3">Guo et al. (2021)</xref> also constructed a model to optimize an integrated energy system by considering the DR with carbon emissions and the peak-to-valley ratio of load as the objectives of optimization. <xref ref-type="bibr" rid="B21">Wei et al. (2022)</xref> proposed an economic optimization method for depth peak regulation and the depth of the emergency of the energy storage accident on the demand side. Meanwhile, carbon trading mechanism, as one of the effective ways to realize the goal of &#x201c;double carbon&#x201d;, has been studied in depth in the integrated energy system. To achieve the objective of low-carbon emissions, <xref ref-type="bibr" rid="B11">Lv et al. (2022)</xref> introduced the reward and punishment carbon trading mechanism, and established a multi-actor low-carbon interaction model considering the carbon trading mechanism. <xref ref-type="bibr" rid="B23">Xiang et al. (2021)</xref> also established a low-carbon optimization model for the coupled electricity-gas system by comprehensively considering the carbon capture, carbon emission right trading and DR mechanism of the coupled electricity-gas system. While some studies have introduced a reward-and-penalty mechanism of carbon trading, and have established a multi-participant model of low-carbon interaction by considering carbon trading and game-based optimization, the relationships of energy trading involving multiple stakeholders has not been considered in the CIES.</p>
</sec>
<sec id="s1-2">
<title>1.2 Main outcomes of this work</title>
<p>The above review shows that most dispatching strategies for the CIES are based on the optimal dispatch of electricity, heating, and cooling, with little consideration of the potential for customer participation in the regulation of the DR, and the capability of regulation of customer-side energy coupling devices. In addition, the master&#x2013;slave game for the CIES usually involves the leader setting the price and the follower adjusting the demand due to limitations of the end-use tariff-based mechanism of control. Prevalent work has not considered the role of incentive-based DR in regulating the system, and has not adequately explored the capacity for peak-shaving in case of flexible loads and energy storage devices. Moreover, most studies on game-based interactions in the context of the CIES have considered only the economic benefits of each player, and few have accounted for low-carbon emissions of the system as a boon.</p>
<p>To address the above issues, this study proposes an optimal dispatching strategy that considers the participation of the CIES in peak-shaving and carbon trading in the grid. The main contributions and innovations are as follows.<list list-type="simple">
<list-item>
<p>1) We create a peaking score-based model of incentives for the grid company that considers the correlation between loads, and coordinates a dynamic pricing strategy with a community energy operator to encourage the participation of the aggregator of residential consumers in peaking. Moreover, we propose a trading mechanism for carbon emissions in the CIES that balances economic and environmental benefits.</p>
</list-item>
<list-item>
<p>2) We propose a game model for multi-energy optimization in the CIES, with a revenue model for each stakeholder, that comprehensively considers customer-side energy equipment and storage. The community energy operator leads and the residential customers follow. We also prove the uniqueness of the Stackelberg equilibrium solution of the two-layer model by using the Cplex solution tool combined with the genetic algorithm.</p>
</list-item>
<list-item>
<p>3) The introduction of the peaking incentive and the ladder-type carbon trading mechanism can effectively improve the supply and consumption of energy for each stakeholder in the CIES.</p>
</list-item>
</list>
</p>
</sec>
</sec>
<sec id="s2">
<title>2 Basic framework of community-integrated energy system</title>
<p>The CIES is a combination of the grid company, the community energy operator, the aggregator of residential customers, and the electric energy storage operator. The community energy operator is the leader, the aggregator of residential customers is the follower, and the two play a master&#x2013;slave game. The grid company and the electric energy storage operator are not directly involved in the game, but participate in grid peaking and carbon trading in the market to obtain revenue, and achieve the optimal dispatch of the supply and consumption of energy in the CIES. <xref ref-type="fig" rid="F1">Figure 1</xref> illustrates the framework of implementation.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Framework for the master&#x2013;slave game-based optimization of scheduling of the CIES.</p>
</caption>
<graphic xlink:href="fenrg-11-1247803-g001.tif"/>
</fig>
<p>The community energy operator purchases or produces its own energy from electricity, heating, and cooling from the &#x201c;source&#x201d; side, optimizes the pricing of the energy obtained through heating and cooling as well as the output of gas turbines and absorption chillers, and sells it to the aggregator of residential customers on the &#x201c;load&#x201d; side to benefit from the difference in price. The community energy operator enhances the flexibility of current residential tariff-based strategies to facilitate reasonable customer participation in the energy market. However, there is a risk of reduced efficiency or losses for the community energy operator in case of a mismatch between the supply and demand for sources and loads, or fluctuations in the purchase and sale prices.</p>
<p>The grid company aims to induce the aggregator of residential customers to participate in peaking and in reducing the carbon footprint of the system. However, if the game is played with only economic gains in mind, it may lead to new peak loads during low-tariff periods. The design of the incentive is a major factor influencing the effectiveness of the DR because end-use tariff in China is regulated, which makes it difficult to develop flexible tariff-based policies (<xref ref-type="bibr" rid="B27">Zhang et al., 2021</xref>). The DR score was introduced as an incentivization aid to quantify the capacity of the aggregator of residential customers to contribute to peak regulation based on the similarity between its curves of the electrical load and the regional grid load (<xref ref-type="bibr" rid="B5">Jebli et al., 2021</xref>).</p>
<p>The aggregator of residential customers aggregates individual residents at scale, receives the sale price of energy from the community energy operator, considers the grid company&#x2019;s incentive for peak-shaving and its carbon trading mechanism, and accordingly adjusts the outputs of the electric cooling and heating equipment as well as the flexible demand for load to achieve maximum consumer surplus.</p>
<p>The electric energy storage operator provides energy storage services to the aggregator of residential customers to generate revenue, and adjusts the start/stop status of the equipment in real time. The distribution of the energy equipment as well as the distribution of the flow of energy in CIES are shown in <xref ref-type="fig" rid="F2">Figure 2</xref>.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Distribution of energy flow and various types of energy equipment in the CIES.</p>
</caption>
<graphic xlink:href="fenrg-11-1247803-g002.tif"/>
</fig>
</sec>
<sec id="s3">
<title>3 Models of participants in the community-integrated energy system</title>
<sec id="s3-1">
<title>3.1 Peaking model of community-integrated energy system by considering load correlation</title>
<p>Compared with the price-based DR model, the incentive-based DR model can better exploit the potential of the aggregator of residential customers for DR. However, it has the drawback of requiring a pre-signed agreement, and may not cover the participation of all residential customers. To combine the advantages of both models and overcome their disadvantages, we propose an improved incentive-based DR peaking model that considers the correlation in loads without the need to sign an incentive agreement.</p>
<p>We use curves of the intra-day load of the residential community and the regional load on the grid to construct a model of the parameters of correlation to calculate the incentive-related credit for the contribution of the aggregator of residential customers to DR peaking (<xref ref-type="bibr" rid="B5">Jebli et al., 2021</xref>). This model uses the Pearson correlation coefficient, which ranges from &#x2212;1 to 1, to assess the correlation between the sets of variables <bold>M1</bold> and <bold>M2</bold>. In contrast to the Euclidean distance, which is suitable for measuring the similarity between numerical data, the Pearson correlation coefficient is a measure of the strength of the linear relationship between variables, and can be used to measure the correlation between sets of curves of load consisting of time-series data. The correlation between these sets of variables can be calculated as follows:<disp-formula id="e1">
<mml:math id="m1">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c1;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold">M</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold">M</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="bold">M</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold">M</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold">M</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#xd7;</mml:mo>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold">M</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>where cov (<bold>M1</bold>,<bold>M2</bold>) is the covariance-based solution and <italic>&#x3c3;</italic> is the standard deviation-based solution. Larger values of <italic>&#x3c1;</italic>
<sub>
<bold>M1</bold>,<bold>M2</bold>
</sub> indicate greater correlation between <bold>M1</bold> and <bold>M2</bold>.</p>
<p>By substituting the typical daily load power of the aggregator of residential consumers into <bold>M1</bold> and that of the regional grid into <bold>M2</bold>, the standard deviation of the load of the aggregator of residential customers in the denominator can be simplified to a constant u<sub>
<italic>P</italic>user</sub>. The model of the product of the moment and the Pearson correlation coefficient can then be used to measure the correlation between them. This is set as the peaking factor of the curve of load:<disp-formula id="e2">
<mml:math id="m2">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c1;</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">y</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>T</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3bc;</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">y</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3bc;</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">y</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:msub>
<mml:mo>&#xd7;</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>T</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">y</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3bc;</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">y</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>
<disp-formula id="e3">
<mml:math id="m3">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mi mathvariant="normal">V</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>where <inline-formula id="inf1">
<mml:math id="m4">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c1;</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">y</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the parameter of the trend of correlation between the curves, <italic>P</italic>
<sub>user</sub> and <italic>P</italic>
<sub>sys</sub> are the load powers of the aggregator of residential consumers and the regional grid, respectively, <italic>&#xb5;</italic> is the sign of the mean solution, <italic>P</italic>
<sub>PV,<italic>t</italic>
</sub> is the PV power of the community at time <italic>t</italic>, <italic>P</italic>
<sub>cooling,<italic>t</italic>
</sub> is the input power for the electric refrigeration unit at time <italic>t</italic>, and <italic>P</italic>
<sub>hd,<italic>t</italic>
</sub> is the input power for the electric heating unit at time <italic>t</italic>.</p>
<p>The higher is the trend of correlation between the curves (the peaking factor of the curve of load of the community), the less effective is the DR peaking, the lower is the incentive score of the aggregator of residential consumers, and <italic>vice versa</italic>.</p>
<p>To ensure the uniformity of the objective function of the aggregator of residential customers, the benchmark value of the maximum peaking capacity is used as the denominator of the model of correlation. The coefficient of conversion of the incentive is multiplied by this value to convert the incentive for the aggregator of residential customers to participate in DR peaking of the grid in the formula for calculation:<disp-formula id="e4">
<mml:math id="m5">
<mml:mrow>
<mml:msub>
<mml:mi>J</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3b5;</mml:mi>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c1;</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">y</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c1;</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">y</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">y</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3bc;</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>where <italic>&#x3b5;</italic> is the coefficient of conversion of the incentive for power integration.</p>
</sec>
<sec id="s3-2">
<title>3.2 Ladder-type carbon trading model</title>
<p>The carbon trading mechanism involves the allocation of allowances for carbon emission by the market regulator for the sources of such emissions. The carbon trading model of the CIES includes allowances for carbon emissions, actual carbon emissions, and a ladder-type carbon trading model. The carbon emissions of the absorption refrigeration unit are not considered as it directly uses heating energy to cool, and thus consumes a small amount of electricity. It is assumed that the grid purchases electricity generated by using coal to calculate carbon emissions.</p>
<p>Allowances for domestic carbon emission are typically used as unpaid allowances, and the allowance for carbon emissions by the aggregator of residential customers <italic>M</italic>
<sub>CO2</sub> is used as a reference (<xref ref-type="bibr" rid="B16">Sun et al., 2023</xref>).</p>
<p>The model to calculate actual carbon emissions of the CIES <italic>M</italic>
<sub>CO2,f</sub> is as follows:<disp-formula id="e5">
<mml:math id="m6">
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>M</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi mathvariant="normal">O</mml:mi>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">b</mml:mi>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">y</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">f</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>T</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">A</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msubsup>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mi mathvariant="normal">B</mml:mi>
</mml:mrow>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mi mathvariant="normal">C</mml:mi>
</mml:mrow>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>M</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi mathvariant="normal">O</mml:mi>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">G</mml:mi>
<mml:mi mathvariant="normal">T</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">f</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>T</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">A</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">G</mml:mi>
<mml:mi mathvariant="normal">T</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msubsup>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mi mathvariant="normal">B</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">G</mml:mi>
<mml:mi mathvariant="normal">T</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mi mathvariant="normal">C</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">G</mml:mi>
<mml:mi mathvariant="normal">T</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>M</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi mathvariant="normal">O</mml:mi>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">f</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>M</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi mathvariant="normal">O</mml:mi>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">b</mml:mi>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">y</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">f</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>M</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi mathvariant="normal">O</mml:mi>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">G</mml:mi>
<mml:mi mathvariant="normal">T</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">f</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>where <italic>M</italic>
<sub>CO2,buy,f</sub> and <italic>M</italic>
<sub>CO2,GT,f</sub> are the actual carbon emissions due to electricity purchase on the grid side and the gas turbine, A<sub>1</sub>, B<sub>1</sub>, and C<sub>1</sub> and A<sub>2</sub>, B<sub>2</sub>, and C<sub>2</sub> are the accounting factors for carbon emissions for the grid-side coal-fired unit and the gas-fired unit in the microgrid, respectively, and <italic>P</italic>
<sub>GT,<italic>t</italic>
</sub> is the sum of the electric and thermal power outputs of the gas turbine at time <italic>t</italic>.</p>
<p>
<italic>M&#x2019;</italic>
<sub>CO2</sub> is the difference between the actual carbon emissions of the CIES <italic>M</italic>
<sub>CO2,f</sub> and the carbon allowances <italic>M</italic>
<sub>CO2</sub>, and is used to calculate carbon credits for the aggregator of residential consumers to participate in the carbon trading market. Then, the CIES ladder-type carbon trading model refers to literature (<xref ref-type="bibr" rid="B16">Sun et al., 2023</xref>) and constructs a ladder-type carbon trading mechanism with &#x201c;multiple intervals and multiple price levels&#x201d;. Due to limitations of space, we will not elaborate on it for the time being.</p>
</sec>
<sec id="s3-3">
<title>3.3 Community energy operator</title>
<p>The coupled gas&#x2013;heating equipment used by the community energy operator is a gas turbine that generates electrical and thermal energy from external natural gas sourced via a network. The relationship between the power generated by the gas turbine and that generated by the heating system is described as follows (<xref ref-type="bibr" rid="B15">Shuai et al., 2023</xref>):<disp-formula id="e6">
<mml:math id="m7">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi mathvariant="normal">h</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">M</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">e</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">M</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>where <italic>P</italic>
<sub>h,<italic>t</italic>
</sub> and <italic>P</italic>
<sub>e,<italic>t</italic>
</sub> are the outputs of the thermal power and the electrical power of the gas turbine at time <italic>t,</italic> respectively, <italic>&#x3b7;</italic>
<sub>M,loss</sub> is the rate of loss of the power of heat production of the gas turbine, and <italic>&#x3b7;</italic>
<sub>M,e</sub> and <italic>&#x3b7;</italic>
<sub>h</sub> are the efficiencies of power generation and heat production, respectively.</p>
<p>The relationship between the power generated by the gas turbine and the cost of natural gas is shown in Eq. <xref ref-type="disp-formula" rid="e7">7</xref>:<disp-formula id="e7">
<mml:math id="m8">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi mathvariant="normal">h</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>T</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x394;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">M</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">e</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mi mathvariant="normal">v</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi mathvariant="normal">h</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>where <italic>Q</italic>
<sub>lhv</sub> is the low-level calorific value of natural gas in the gas turbine, set to 9.7&#xa0;kWh/m<sup>3</sup>, and <italic>c</italic>
<sub>h</sub> is the outsourced unit price of natural gas, set to 2.5 &#xa5;/m<sup>3</sup> (<xref ref-type="bibr" rid="B15">Shuai et al., 2023</xref>).</p>
<p>The community energy operator uses absorption refrigeration units and domestic electric refrigeration units to synergistically supply cooling energy to the building for cooling collection. The characteristics of the temperature of these units are determined by using an equivalent model of their thermal parameters (<xref ref-type="bibr" rid="B28">Zou et al., 2019</xref>):<disp-formula id="e8">
<mml:math id="m9">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>e</mml:mi>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>T</mml:mi>
<mml:mi>e</mml:mi>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>r</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>e</mml:mi>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>r</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>T</mml:mi>
<mml:mi>e</mml:mi>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
<label>(8)</label>
</disp-formula>where <italic>Tem</italic>
<sub>in,<italic>t</italic>
</sub> is the indoor temperature of the community freezer building at time <italic>t</italic>, <italic>Tem</italic>
<sub>out,<italic>t</italic>
</sub> is the outdoor temperature at time <italic>t</italic>, <italic>r</italic> and <italic>c</italic> are the equivalent thermal resistance and the heating capacity of the building, respectively, <italic>P</italic>
<sub>col,<italic>t</italic>
</sub> is the total power output of the refrigeration unit at time <italic>t</italic>, and &#x394;<italic>t</italic> is the minimum interval (<xref ref-type="bibr" rid="B28">Zou et al., 2019</xref>).</p>
<p>The total intra-day revenue of the community energy operator is calculated as:<disp-formula id="e9">
<mml:math id="m10">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi mathvariant="normal">m</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">g</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">u</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi mathvariant="normal">h</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(9)</label>
</disp-formula>where <italic>C</italic>
<sub>m,grid</sub> and <italic>C</italic>
<sub>m,u</sub> are the gains obtained by the community energy operator in transactions with the grid company and the aggregator of residential consumers, respectively. The community energy operator also sets tariffs that fall between the surplus feed-in tariff and the market time-sharing tariff. The two returns are calculated as follows:<disp-formula id="e10">
<mml:math id="m11">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">u</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>T</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
</mml:msub>
<mml:mi>max</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:mi>max</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi mathvariant="normal">h</mml:mi>
</mml:msub>
<mml:mi>max</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(10)</label>
</disp-formula>
<disp-formula id="e11">
<mml:math id="m12">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">g</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>T</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">g</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>max</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">g</mml:mi>
<mml:mi mathvariant="normal">b</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>min</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(11)</label>
</disp-formula>where <italic>P</italic>
<sub>ej,<italic>t</italic>
</sub> is the power purchased from the grid, <italic>c</italic>
<sub>c</sub>, <italic>c</italic>
<sub>h</sub>, and <italic>c</italic>
<sub>e</sub> are the unit prices set by the community energy operator for the sale of cooling, heating, and electricity to residential customers, respectively, <italic>c</italic>
<sub>e,gb</sub> is the feed-in tariff for surplus electricity from the community energy operator, and <italic>c</italic>
<sub>e,gs</sub> is the price at which the community energy operator purchases electricity from the grid companies.</p>
<p>In the master&#x2013;slave game, it is assumed that the community energy operator purchases electricity only from the grid company, and does not have direct contact with the power producer. The constraints on the master&#x2013;slave game are provided in <xref ref-type="sec" rid="s12">Supplementary Appendix SC</xref>.</p>
</sec>
<sec id="s3-4">
<title>3.4 Aggregator of residential consumers</title>
<p>The aggregator of residential customers adjusts flexible loads, optimizes the outputs of the coupled electricity&#x2013;cooling and electricity&#x2013;heating equipment based on the sale price of energy, and sells the surplus PV power to the grid company, or stores it in the energy storage operator to improve the flexibility of energy use and revenue from grid peaking.</p>
<p>The mathematical models of the electric load <italic>P</italic>
<sub>eL,<italic>t</italic>
</sub>, thermal load <italic>P</italic>
<sub>hL,<italic>t</italic>
</sub>, and cooling load <italic>P</italic>
<sub>colL,<italic>t</italic>
</sub> for the aggregator of residential consumers are as follows:<disp-formula id="e12">
<mml:math id="m13">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mi mathvariant="normal">V</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
<label>(12)</label>
</disp-formula>
<disp-formula id="e13">
<mml:math id="m14">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3bd;</mml:mi>
<mml:mi mathvariant="normal">h</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3bd;</mml:mi>
<mml:mi mathvariant="normal">h</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(13)</label>
</disp-formula>
<disp-formula id="e14">
<mml:math id="m15">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3bd;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3bd;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(14)</label>
</disp-formula>where <italic>P</italic>
<sub>eLs,<italic>t</italic>
</sub>, <italic>P</italic>
<sub>hLs,<italic>t</italic>
</sub>, and <italic>P</italic>
<sub>colLs,<italic>t</italic>
</sub> are the base loads of electricity, heating, and cooling, respectively, <italic>P</italic>
<sub>c,<italic>t</italic>
</sub> and <italic>P</italic>
<sub>d,<italic>t</italic>
</sub> are the charging and discharging of power from energy storage at time <italic>t</italic>, respectively, <italic>P</italic>
<sub>e,<italic>t</italic>
</sub>, <italic>P</italic>
<sub>ej,<italic>t</italic>
</sub>, and <italic>P</italic>
<sub>ejs,<italic>t</italic>
</sub> are the powers generated by the gas turbines and purchased/sold from the grid at time <italic>t</italic>, respectively, &#x394;<italic>P</italic>
<sub>eL,<italic>t</italic>
</sub> is the change in the transferable electrical load at time <italic>t</italic>, <italic>&#x3bb;</italic>
<sub>ex,<italic>t</italic>
</sub>, <italic>&#x3bb;</italic>
<sub>hx,<italic>t</italic>
</sub>, and <italic>&#x3bb;</italic>
<sub>colx,<italic>t</italic>
</sub> are the coefficients of reduction in the electric, thermal, and cooling loads for the aggregator of residential customers at time <italic>t,</italic> respectively, <italic>P</italic>
<sub>ex,<italic>t</italic>
</sub>, <italic>P</italic>
<sub>hx,<italic>t</italic>
</sub>, and <italic>P</italic>
<sub>colx,<italic>t</italic>
</sub> are the maximum values by which the powers of the electric, thermal, and cooling loads can be reduced, respectively, <italic>&#x3bd;</italic>
<sub>h</sub> and <italic>&#x3bd;</italic>
<sub>col</sub> are the coefficients of the coupled electricity&#x2013;heating and the electricity&#x2013;cooling equipment, respectively, and <italic>P</italic>
<sub>hd,<italic>t</italic>
</sub> and <italic>P</italic>
<sub>cooling,<italic>t</italic>
</sub> are their respective power outputs.</p>
<p>The constraints on the transferable electrical load, curtailable electrical load, and curtailable heating and cooling loads for residential customers are as follows:<disp-formula id="e15">
<mml:math id="m16">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>T</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>T</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>&#x3b8;</mml:mi>
<mml:mi>max</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(15)</label>
</disp-formula>
<disp-formula id="fn1">
<mml:math id="m17">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3bb;</mml:mi>
<mml:mi mathvariant="bold">min</mml:mi>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3bb;</mml:mi>
<mml:mi mathvariant="bold-italic">X</mml:mi>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3bb;</mml:mi>
<mml:mi mathvariant="bold">max</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(16)</label>
</disp-formula>where <italic>&#x3b8;</italic> is the ratio of power adjustment of the transferable load, <italic>&#x3b8;</italic>
<sub>max</sub> is its maximum ratio of power adjustment, <bold>
<italic>&#x3bb;</italic>
</bold>
<sub>
<bold>
<italic>X</italic>
</bold>
</sub> denotes [<italic>&#x3bb;</italic>
<sub>ex,<italic>t</italic>
</sub>, <italic>&#x3bb;</italic>
<sub>hx,<italic>t</italic>
</sub>, <italic>&#x3bb;</italic>
<sub>colx,<italic>t</italic>
</sub>]<sup>T</sup>, and [<bold>
<italic>&#x3bb;</italic>
</bold>
<sub>
<bold>min</bold>
</sub>, <bold>
<italic>&#x3bb;</italic>
</bold>
<sub>
<bold>max</bold>
</sub>]<sup>T</sup> denotes [<italic>&#x3bb;</italic>
<sub>ex,min</sub>, <italic>&#x3bb;</italic>
<sub>hx,min</sub>, <italic>&#x3bb;</italic>
<sub>colx,min</sub>; <italic>&#x3bb;</italic>
<sub>ex,max</sub>, <italic>&#x3bb;</italic>
<sub>hx,max</sub>, <italic>&#x3bb;</italic>
<sub>colx,max</sub>]<sup>T</sup>.</p>
<p>The total daily revenue of the aggregator of residential customers, <italic>C</italic>
<sub>user</sub>, consists of the revenue <italic>C</italic>
<sub>u,m</sub> from the master&#x2013;slave game with the community energy operator, the incentive-related revenue <italic>C</italic>
<sub>DR,grid</sub> from its participation in DR peaking with the grid company, the cost of trading rights to carbon emissions <italic>C</italic>
<sub>u,CO2</sub>, the cost of the loss of satisfaction <italic>C</italic>
<sub>usafe</sub>, and revenues from the sale of surplus power <italic>C</italic>
<sub>u,grid</sub> and trading with the energy storage operator <italic>C</italic>
<sub>est</sub>.<disp-formula id="e17">
<mml:math id="m18">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">g</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">m</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">D</mml:mi>
<mml:mi mathvariant="normal">R</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">g</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi mathvariant="normal">O</mml:mi>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">a</mml:mi>
<mml:mi mathvariant="normal">f</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(17)</label>
</disp-formula>
</p>
<p>The respective gains can be expressed as follows:<disp-formula id="e18">
<mml:math id="m19">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">g</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">g</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>T</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">g</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(18)</label>
</disp-formula>
<disp-formula id="e19">
<mml:math id="m20">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">m</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">u</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(19)</label>
</disp-formula>
</p>
<p>We convert the score of the incentive for peaking provided by the grid company into economic benefits for the aggregator of residential customers by multiplying the factor of the scale of pricing for it <italic>k</italic>
<sub>J-C</sub> by the price of purchasing power for the grid company:<disp-formula id="e20">
<mml:math id="m21">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">D</mml:mi>
<mml:mi mathvariant="normal">R</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">g</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">J</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="normal">C</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">g</mml:mi>
<mml:mi mathvariant="normal">b</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>J</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(20)</label>
</disp-formula>
</p>
<p>Utility theory is commonly used in microeconomics to determine the extent to which consumers derive satisfaction from a purchased good. The total utility of the aggregator of residential customers is the sum of satisfaction from the purchase of cooling, heating, and electricity. The objective function is designed to maximize the surplus for the consumer, and is calculated as follows:<disp-formula id="e21">
<mml:math id="m22">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>T</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="[" close="" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mi mathvariant="normal">y</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">D</mml:mi>
<mml:mi mathvariant="normal">R</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">g</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">g</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mrow>
<mml:mfenced open="" close="]" separators="|">
<mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi mathvariant="normal">O</mml:mi>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">p</mml:mi>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>E</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
<label>(21)</label>
</disp-formula>where <italic>C</italic>
<sub>usee</sub> is the cost of energy purchased by the aggregator of residential customers, <italic>&#x3c4;</italic>
<sub>pun</sub> is the coefficient of the loss of satisfaction, <italic>C</italic>
<sub>usafe</sub> is the reduction in residential satisfaction, and <italic>C</italic>
<sub>xy,<italic>t</italic>
</sub> is the utility function of the aggregator that reflects the level of satisfaction of customers from purchasing energy for electricity, heating, and cooling (<xref ref-type="bibr" rid="B8">Li P. et al., 2021</xref>). The utility function is described by fitting a quadratic functional form:<disp-formula id="e22">
<mml:math id="m23">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mi mathvariant="normal">y</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">E</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(22)</label>
</disp-formula>
<disp-formula id="e23">
<mml:math id="m24">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">E</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>x</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>x</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(23)</label>
</disp-formula>where <italic>x</italic> is the type of energy, <bold>E</bold> &#x3d; {cooling, heating, electricity}, denotes the set of types of energy demanded by the aggregator of residential customers, <italic>&#x3b4;</italic>
<sub>L,<italic>x</italic>
</sub>, <italic>&#x3c9;</italic>
<sub>L,<italic>x</italic>
</sub>, and <italic>c</italic>
<sub>L,<italic>x</italic>
</sub> are the coefficients of preference for energy consumption of the aggregator of residential customers, and <italic>P</italic>
<sub>
<italic>x</italic>L<italic>,t</italic>
</sub> is the actual demand for power based on energy <italic>x</italic> within the CIES at time <italic>t</italic>.</p>
</sec>
<sec id="s3-5">
<title>3.5 Community electricity storage operator</title>
<p>We assume that the electricity energy storage operator has a device to store electric energy <italic>in situ</italic> for the community, and that the residual power <italic>E</italic>
<sub>es,<italic>t</italic>
</sub> of the configured storage device at time <italic>t</italic> is related to the charging and discharging at that time, as described by <xref ref-type="bibr" rid="B15">Shuai et al. (2023)</xref>.</p>
<p>The station for the storage of electrical energy charges the aggregator of residential customers a service fee that is given by:<disp-formula id="e24">
<mml:math id="m25">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>N</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3bd;</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3bd;</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">g</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(24)</label>
</disp-formula>where <italic>c</italic>
<sub>es</sub> is the unit price of charging and discharging for energy storage, &#xa5;/kWh, and <italic>C</italic>
<sub>esg</sub> is the fixed daily cost of rent of energy storage. See <xref ref-type="sec" rid="s12">Supplementary Appendix SC</xref> for the relevant constraints.</p>
<p>The service revenue of the electricity storage operator includes the service fee and the revenue for the supply of electricity. The total revenue is thus calculated as follows:<disp-formula id="e25">
<mml:math id="m26">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>T</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3bd;</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3bd;</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">d</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(25)</label>
</disp-formula>where <italic>c</italic>
<sub>es,c</sub> and <italic>c</italic>
<sub>es,cd</sub> are the unit prices of electrical energy for charging and discharging energy storage, respectively.</p>
</sec>
</sec>
<sec id="s4">
<title>4 Strategy for operation of community-integrated energy system based on master&#x2013;slave game</title>
<sec id="s4-1">
<title>4.1 Game theory and models</title>
<p>By combining the revenue-related objectives of the community energy operator and the aggregator of residential customers, we determine that the optimal dispatch of the latter is based on the sale price of energy for the former, and is influenced by the incentivizing credit for DR and the cost of ladder-type carbon emissions trading of the grid company. The result of optimal dispatch then acts backward on the selling price of energy for the community energy operator. This process is consistent with the logical structure of the master&#x2013;slave game, and the model can be represented as follows:<disp-formula id="e26">
<mml:math id="m27">
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:mi mathvariant="bold">N</mml:mi>
<mml:mo>;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold">c</mml:mi>
<mml:mi mathvariant="normal">m</mml:mi>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold">&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi mathvariant="normal">m</mml:mi>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(26)</label>
</disp-formula>
</p>
<p>The master&#x2013;slave game model consists of three components: participants <inline-formula id="inf2">
<mml:math id="m28">
<mml:mrow>
<mml:mi mathvariant="bold">N</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, game strategies, and benefits.</p>
<p>The strategy of the community energy operator involves setting the price for intra-day sales of energy for cooling, heating, and electricity, and is expressed in vector form as <inline-formula id="inf3">
<mml:math id="m29">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold">c</mml:mi>
<mml:mi mathvariant="normal">m</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi mathvariant="normal">h</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>; the strategy pursued by the aggregator of residential customers involves the coefficients of regulation of the intra-day transferable electrical load, curtailable cooling, and the loads due to heating and electricity. It is expressed in vector form as <inline-formula id="inf4">
<mml:math id="m30">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold">&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>. When the curtailable load is aggregated as <bold>P</bold>
<sub>
<italic>x</italic>x,<italic>t</italic>
</sub> &#x3d; {<italic>P</italic>
<sub>ex</sub>,<italic>P</italic>
<sub>hx</sub>,<italic>P</italic>
<sub>colx</sub>}, <inline-formula id="inf5">
<mml:math id="m31">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold">&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold">P</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
<p>The respective models of revenue of the community energy operator and the aggregator of residential customers are provided in Eqs <xref ref-type="disp-formula" rid="e9">9</xref>, <xref ref-type="disp-formula" rid="e21">21</xref>.</p>
</sec>
<sec id="s4-2">
<title>4.2 Equilibrium solution of master&#x2013;slave game</title>
<p>The game is said to reach Stackelberg equilibrium when neither the leader nor the follower can unilaterally change the equilibrium solution to increase the gains of both parties.<disp-formula id="e27">
<mml:math id="m32">
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi mathvariant="normal">m</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mi>c</mml:mi>
<mml:mi mathvariant="normal">m</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2265;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi mathvariant="normal">m</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi mathvariant="normal">m</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mi>c</mml:mi>
<mml:mi mathvariant="normal">m</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2265;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi>c</mml:mi>
<mml:mi mathvariant="normal">m</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>&#x3c6;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
<label>(27)</label>
</disp-formula>
</p>
<p>Theorem: A unique Stackelberg equilibrium solution exists if the master&#x2013;slave game satisfies the three conditions provided by <xref ref-type="bibr" rid="B4">Huang et al. (2022)</xref> and <xref ref-type="bibr" rid="B24">Xie et al. (2023)</xref>.</p>
<p>Proof of Theorem 1: The strategic models of the leader and the follower, including Eqs <xref ref-type="disp-formula" rid="e8">8</xref>&#x2013;<xref ref-type="disp-formula" rid="e25">25</xref>, and Equations (C1)&#x2013;(C6) in <xref ref-type="sec" rid="s12">Supplementary Appendix SC</xref>, are used to obtain the non-empty and tightly convex set of strategies of all participants. Thus, Theorem 1 has been proved.</p>
<p>Proof procedure of Theorem 2: Taking the first-order partial derivatives of Eq. <xref ref-type="disp-formula" rid="e21">21</xref> for the payoff functions of the aggregator of residential customers with respect to &#x394;<italic>P</italic>
<sub>eL,<italic>t</italic>
</sub> and <bold>P</bold>
<sub>
<italic>x</italic>x<italic>,t</italic>
</sub>, and setting them to zero yields the following:<disp-formula id="e28">
<mml:math id="m33">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">j</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>&#x3c1;</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(28)</label>
</disp-formula>
<disp-formula id="e29">
<mml:math id="m34">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold">P</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3bd;</mml:mi>
<mml:mi>x</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3bd;</mml:mi>
<mml:mi>x</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3c9;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>x</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mn>3</mml:mn>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">p</mml:mi>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msubsup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(29)</label>
</disp-formula>
</p>
<p>The second-order partial derivatives of &#x394;<italic>P</italic>
<sub>eL,<italic>t</italic>
</sub> and <bold>P</bold>
<sub>
<italic>x</italic>x<italic>,t</italic>
</sub> are then solved for as follows:<disp-formula id="e30">
<mml:math id="m35">
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mo>&#x2202;</mml:mo>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mo>&#x2202;</mml:mo>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold">P</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mn>3</mml:mn>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">p</mml:mi>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msubsup>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
<label>(30)</label>
</disp-formula>
</p>
<p>Because the coefficients of preference of all users are positive, this means that the second-order partial derivatives obtained from Eq. <xref ref-type="disp-formula" rid="e30">30</xref> are all smaller than zero, and Eqs <xref ref-type="disp-formula" rid="e28">28</xref>, <xref ref-type="disp-formula" rid="e29">29</xref> can yield the maximum values of the target revenue of the aggregator of residential customers.</p>
<p>Thus, Theorem 2 has been proved.</p>
<p>Proof of Theorem 3: By considering the existence of multiple energy flows for the aggregator of residential customers, we assume that the power generated by the gas turbine of the microgrid is lower than the net demand for electricity, such that the community energy operator needs to purchase electricity from an external grid. The revenue of the community energy operator is then as follows:<disp-formula id="e31">
<mml:math id="m36">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi mathvariant="normal">m</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">g</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi mathvariant="normal">h</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
<label>(31)</label>
</disp-formula>
</p>
<p>The set of optimization strategies of the aggregator of residential customers are imported into Eq. <xref ref-type="disp-formula" rid="e31">31</xref>, while first-order partial derivatives of <italic>c</italic>
<sub>e</sub>, <italic>c</italic>
<sub>h</sub>, and <italic>c</italic>
<sub>c</sub> are calculated (<xref ref-type="bibr" rid="B4">Huang et al., 2022</xref>).<disp-formula id="e32">
<mml:math id="m37">
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:mfrac>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">e</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">p</mml:mi>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mtd>
<mml:mtd>
<mml:mn>0</mml:mn>
</mml:mtd>
<mml:mtd>
<mml:mn>0</mml:mn>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mn>0</mml:mn>
</mml:mtd>
<mml:mtd>
<mml:mfrac>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">h</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">p</mml:mi>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mtd>
<mml:mtd>
<mml:mn>0</mml:mn>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mn>0</mml:mn>
</mml:mtd>
<mml:mtd>
<mml:mn>0</mml:mn>
</mml:mtd>
<mml:mtd>
<mml:mfrac>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">p</mml:mi>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(32)</label>
</disp-formula>
</p>
<p>The Hessian parameter matrix of the above revenue function is negative definite, which implies the existence of an extreme value. Similarly, when the aggregator of residential customers is considered to be a follower in the other scenarios, it can be shown that there exists a unique optimal solution for the leader, and this does not require further elaboration.</p>
<p>Thus, Theorem 3 has been proved.</p>
<p>Theorems 1, 2, and 3 show that there is a unique Stackelberg equilibrium for the master&#x2013;slave game model constructed here. The above process is shown in <xref ref-type="sec" rid="s12">Supplementary Figure SA4</xref> in. The pricing strategy of the leader is solved for by using a genetic algorithm, and the utility function of the aggregator of residential loads is solved for by using the MATLAB R2021b toolbox Yalmip, and calling Cplex 12.8. The algorithm solution flowchart is shown in <xref ref-type="sec" rid="s12">Supplementary Figure SA5</xref>.</p>
</sec>
</sec>
<sec id="s5">
<title>5 Algorithmic analysis</title>
<sec id="s5-1">
<title>5.1 Basic data</title>
<p>The proposed optimization strategy was analyzed by using a scenario involving energy consumption by a typical residential community in southern China in winter. Scheduling was optimized over 1&#xa0;day divided into 24 periods. The relevant parameters of the equipment of the residential community are shown in <xref ref-type="sec" rid="s12">Supplementary Table SB1</xref>. The typical outdoor reference temperatures were taken from <xref ref-type="bibr" rid="B28">Zou et al. (2019)</xref>. The curves of electrical and heating loads of the residential community, curve of load of the regional grid, and curves of the PV output and time-of-use tariff are shown in <xref ref-type="sec" rid="s12">Supplementary Figure A1</xref>. We set the reducible cooling and heating loads to 20% of the total load, and the reducible and transferable electric loads to 10% and 20% of the total load, respectively. The coefficients of preference for the aggregator of residential customers for consuming energy for electricity, heating, and cooling were <italic>&#x3b4;</italic>
<sub>L,<italic>x</italic>
</sub> &#x3d; 0.008, <italic>&#x3c9;</italic>
<sub>L,<italic>x</italic>
</sub> &#x3d; 7, and <italic>c</italic>
<sub>L,<italic>x</italic>
</sub> &#x3d; 0, respectively (<xref ref-type="bibr" rid="B10">Li Y. et al., 2021</xref>). The intervals of the upper and lower bounds of the pricing strategy of the community energy operator for the sale of energy for cooling, heating, and electricity were [0.6, 1.2], [0.15, 0.5], and [0.35,ce, <italic>t</italic>], respectively (<xref ref-type="bibr" rid="B15">Shuai et al., 2023</xref>). The indoor equivalent thermal resistance and equivalent heating capacity of the cooled building were <italic>R</italic> &#x3d; 1.85&#xa0;C/MW and <italic>C</italic> &#x3d; 0.54&#xa0;MWh/&#xb0;C (<xref ref-type="bibr" rid="B28">Zou et al., 2019</xref>).</p>
<p>The conversion factor <italic>&#x3b5;</italic> was set to one, the scaling factor <italic>k</italic>
<sub>J-C</sub> was set to 10, u<sub>
<italic>P</italic>user</sub> &#x3d; 1, and the factor of the loss of satisfaction <italic>&#x3c4;</italic>
<sub>pun</sub> was set to 0.1 (<xref ref-type="bibr" rid="B15">Shuai et al., 2023</xref>). The base price of carbon trading was 0.25 &#xa5;/kg (<xref ref-type="bibr" rid="B16">Sun et al., 2023</xref>), the length of the interval was M<sub>0</sub> &#x3d; 300&#xa0;kg, the growth rate was <italic>&#x259;</italic>
<sub>CO2</sub> &#x3d; 25%, and the accounting factor for carbon emissions from the coal-fired and the gas-fired units were A<sub>1</sub> &#x3d; 0.0034, B<sub>1</sub> &#x3d; 0.38, and C<sub>1</sub> &#x3d; 36, and A<sub>2</sub> &#x3d; 0.001, B<sub>2</sub> &#x3d; 0.004, and C<sub>2</sub> &#x3d; 3, respectively (<xref ref-type="bibr" rid="B16">Sun et al., 2023</xref>). SOC(0) of electric energy storage was set to 0.5, base fee for energy storage use was 500 &#xa5;/d and surcharge for charging and discharging was 0.05 &#xa5;/kVA (<xref ref-type="bibr" rid="B15">Shuai et al., 2023</xref>). Genetic number was 150, chromosome length was 72, variation rate was 6%, crossover rate was 90% and population number was 60 in <xref ref-type="sec" rid="s4-2">Section 4.2</xref>. We established and comparatively analyzed four strategies to verify the effectiveness of the proposed strategy, as shown in <xref ref-type="table" rid="T1">Table 1</xref>.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Four operational strategies for the CIES.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Strategy</th>
<th align="center">1</th>
<th align="center">2</th>
<th align="center">3</th>
<th align="center">4</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Electricity storage</td>
<td align="center">&#xd7;</td>
<td align="center">&#x221a;</td>
<td align="center">&#x221a;</td>
<td align="center">&#x221a;</td>
</tr>
<tr>
<td align="center">Score incentive</td>
<td align="center">&#xd7;</td>
<td align="center">&#xd7;</td>
<td align="center">&#x221a;</td>
<td align="center">&#x221a;</td>
</tr>
<tr>
<td align="center">Ladder-type carbon trading</td>
<td align="center">&#xd7;</td>
<td align="center">&#xd7;</td>
<td align="center">&#xd7;</td>
<td align="center">&#x221a;</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s5-2">
<title>5.2 Results of optimization</title>
<p>The four operational strategies were all based on the master&#x2013;slave game mechanism involving the community energy operator and the aggregator of residential customers. The results of optimization are shown in <xref ref-type="table" rid="T2">Tables 2</xref>, <xref ref-type="table" rid="T3">3</xref>. The gains of each participant in the game exhibited gradual convex convergence, as shown in <xref ref-type="sec" rid="s12">Supplementary Figure SA2</xref>.</p>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Daily returns of the optimization of the strategy of each participant in the CIES under the four strategies.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center"/>
<th align="center">Benefit to residential customers&#x2019; aggregator/&#xa5;</th>
<th align="center">Benefit to community energy/&#xa5;</th>
<th align="center">Benefit to energy storage/&#xa5;</th>
<th align="center">Incentivizing score/&#xa5;</th>
<th align="center">Carbon emissions/&#xa5;</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">1</td>
<td align="center">17,375</td>
<td align="center">518.48</td>
<td align="center">-</td>
<td align="center">-</td>
<td align="center">-</td>
</tr>
<tr>
<td align="center">2</td>
<td align="center">20,166</td>
<td align="center">563.91</td>
<td align="center">548.35</td>
<td align="center">-</td>
<td align="center">-</td>
</tr>
<tr>
<td align="center">3</td>
<td align="center">19,982</td>
<td align="center">514.69</td>
<td align="center">549.49</td>
<td align="center">106.45</td>
<td align="center">-</td>
</tr>
<tr>
<td align="center">4</td>
<td align="center">19,746</td>
<td align="center">559.72</td>
<td align="center">558.37</td>
<td align="center">113.40</td>
<td align="center">249.22</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T3" position="float">
<label>TABLE 3</label>
<caption>
<p>Carbon emissions and coefficients of peak-shaving of the CIES under the four strategies.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Strategy</th>
<th align="center">Carbon emissions/kg</th>
<th align="center">Correlation with regional grid load</th>
<th align="center">
<inline-formula id="inf6">
<mml:math id="m38">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c1;</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">y</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">1</td>
<td align="center">859.61</td>
<td align="center">Positive</td>
<td align="center">0.5610</td>
</tr>
<tr>
<td align="center">2</td>
<td align="center">992.88</td>
<td align="center">Positive</td>
<td align="center">0.4579</td>
</tr>
<tr>
<td align="center">3</td>
<td align="center">1056.70</td>
<td align="center">Negative</td>
<td align="center">&#x2212;0.0197</td>
</tr>
<tr>
<td align="center">4</td>
<td align="center">810.31</td>
<td align="center">Negative</td>
<td align="center">&#x2212;0.0212</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>
<xref ref-type="table" rid="T2">Tables 2</xref>, <xref ref-type="table" rid="T3">3</xref> show that under strategy 2, the aggregator of residential customers paid an additional &#xa5;548.35 for electricity storage and in fees for charging services compared with strategy 1. However, by participating in the time-of-use tariff and adjusting its load, the aggregator was able to reduce the peaks and fill the valleys, and this led to an increase of &#xa5;2791 in the total revenue, with an increase of &#xa5;45.43 in the revenue of the community energy operator. Despite this, the total production and supply of energy increased, leading to an increase of 133.27&#xa0;kg in carbon emissions under strategy 2.</p>
<p>Under strategy 3, the aggregator of residential customers received incentivizing credit from the grid company that increased its overall revenue by &#xa5;106.45. However, the revenues of the community energy operator and the operator of energy storage decreased by &#xa5;184 and &#xa5;49.22, respectively, due to adjustments in the load due to DR. By participating in the DR of the grid, the changes in energies for cooling, heating, and electricity due to load shedding and shifting increased, thus reducing the peaking factor of the load to &#x2212;0.0197 (the lower the negative factor was, the better was the effect of peaking) but increasing carbon emissions by 63.82&#xa0;kg.</p>
<p>By comparison, strategy 4 reduced carbon emissions by 246.39&#xa0;kg compared with strategy 3, with a total cost of carbon emissions of &#xa5;249.22. Strategy 4 yielded the highest reduction in carbon emissions by the community of the four strategies, and the parameter of the correlation between its curves was lower than those in the other three strategies, as shown in <xref ref-type="fig" rid="F4">Figure 4A</xref>. This shows that the stronger the inverse correlation was between the curves of load of residential electricity and the load of the regional grid, the better was the extent to which the peak-to-valley difference in load could be smoothened, resulting in the best peak-shaving effect. The revenue of the community energy operator increased by &#xa5;45.03 and that of the electric energy storage operator increased by &#xa5;8.89, thus yielding a win&#x2013;win situation for all participants in the CIES. Strategy 4 was thus superior to strategies 1, 2, and 3.</p>
<p>Due to limitations of space, we analyze only strategy 2 (which considered only the energy storage operator) and strategy 4 (the proposed model) here. The optimized sale prices of energy for cooling, heating, and electricity for the community energy operator under strategy 2 and strategy 4 are shown in <xref ref-type="fig" rid="F3">Figures 3A&#x2013;C</xref>.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Optimized sale prices of energy for electricity <bold>(A)</bold>, cooling <bold>(B)</bold>, and heating <bold>(C)</bold> for the community energy operator.</p>
</caption>
<graphic xlink:href="fenrg-11-1247803-g003.tif"/>
</fig>
<p>The analysis in <xref ref-type="fig" rid="F3">Figure 3</xref> reveals that strategy 4, which considered the DR peak-shaving incentive of the grid company and the ladder-type mechanism of carbon emissions, led to greater differences in the sale prices of energy for cooling, heating, and electricity for the community energy operator than in strategy 2. Specifically, strategy 4 involved a rise in the sale price of electricity from 10:00 to 15:00&#xa0;h to reduce power purchases from the grid company, and thus promoted peak load shedding and the consumption of PV power. The sale price of energy for cooling was raised from 1:00&#xa0;h to 3:00&#xa0;h, 14:00&#xa0;h to 16:00&#xa0;h, and at 21:00&#xa0;h to reduce the use of energy for cooling by the absorption refrigeration units and increase the output of electric chillers during valley-induced tariffs.</p>
<p>Strategy 4 involved raising the sale price of energy for heating from 3:00&#xa0;h to 7:00&#xa0;h to reduce the purchase of natural gas and the generation of heat by the gas turbines, and to increase the output of electric heating generators during valley-induced tariffs. Moreover, the sale price of energy for heating was raised from 19:00&#xa0;h to 23:00&#xa0;h to increase the revenue of the community energy operator.</p>
<p>
<xref ref-type="fig" rid="F4">Figure 4A</xref> show the curves of the load due to electricity under strategies 2 and 4 to illustrate the impact of the peaking incentive and the mechanism of carbon emissions on outcomes of the game. Compared with strategy 2, strategy 4 retained the trend of the original curve of the electrical load. However, it involved higher electricity consumption during the valley hours from 0:00 to 7:00&#xa0;h and decreased electricity consumption during the peak hours from 18:00 to 24:00&#xa0;h. This period corresponded to that during which a higher sales price of electricity was set by the community energy operator as shown in <xref ref-type="fig" rid="F3">Figure 3</xref>. The negative correlation between the curves of residential load and the load on the regional grid in strategy 4 is evident, and reflects the improved capacity for load regulation after optimization.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Curves of the optimized electrical load <bold>(A)</bold>. Curves of change in the capacity for storage of electricity <bold>(B)</bold>. Curves of change of the cooling temperature of the building <bold>(C)</bold>.</p>
</caption>
<graphic xlink:href="fenrg-11-1247803-g004.tif"/>
</fig>
<p>
<xref ref-type="fig" rid="F5">Figure 5</xref> shows that under strategy 2, the aggregator of residential customers increased the output powers of the electricity&#x2013;cooling and electricity&#x2013;heating units during 12:00&#x2013;15:00&#xa0;h to increase the consumption of PV power and, thus, its own revenue and that of the community energy operator. However, under strategy 4, the loads due to cooling and heating decreased from 12:00 to 15:00&#xa0;h and at 22:00&#xa0;h, resulting in a reduction in carbon emissions. Moreover, strategy 4 took advantage of the low price of energy for electricity, and the high prices of that for heating and cooling from 0:00 to 5:00&#xa0;h to increase the output powers of the electricity&#x2013;cooling and the electricity&#x2013;heating units. It also increased the rate of consumption of PV power from 12:00 to 15:00&#xa0;h to reduce the cost of energy and increase the revenue for the aggregator of residential customers.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>Optimization of curves of loads due to heating <bold>(A)</bold> and cooling <bold>(B)</bold>.</p>
</caption>
<graphic xlink:href="fenrg-11-1247803-g005.tif"/>
</fig>
<p>
<xref ref-type="fig" rid="F4">Figure 4B</xref> illustrates that strategy 4 increased the peaking incentive for DR, in line with the peak-to-valley law of market tariffs. The participation of the electric storage operator increased the negative correlation between the curves of the loads of the aggregator of residential customers and the regional grid, thus enhancing peak and valley reduction. <xref ref-type="fig" rid="F4">Figure 4C</xref> shows that the temperature profile of strategy 4 was stable in comparison with that of strategy 2. Cooling under this strategy was ideal from 19:00 to 22:00&#xa0;h, and corresponded to the insufficient output from the absorption refrigeration unit in strategy 2, as shown in <xref ref-type="fig" rid="F5">Figures 5A,B</xref>. Supplementary cooling by the electric refrigeration unit was thus required.</p>
<p>The authors also analyze in detail the output of the coal-fired unit and the gas turbine with carbon emissions in strategies 2 and 4 in the manuscript, and the simulation results are shown in the <xref ref-type="sec" rid="s12">Supplementary Figure A3</xref>.</p>
</sec>
<sec id="s5-3">
<title>5.3 Discussion and limitations</title>
<p>Overall, Our study establishes a master-slave game-based optimal scheduling strategy for a CIES. Additionally, we have developed a model to incentivize peak regulation, which considers the correlation between the load from residential consumers and the load on the regional grid. The evaluation results show that the proposed strategy enhances the consumption surplus of the aggregator of residential customers and the revenue of the community energy operator, enabling the energy storage operator to capture some revenue simultaneously. More importantly, the proposed strategy is also beneficial to the grid company in achieving the goals of energy saving, carbon reduction, and peak-shaving.</p>
<p>Our study has some limitations. Specifically, we have not been able to extend the study further to the energy network with multi-CIES interconnection, which could further improve the economic benefits of energy trading within CIES. To address this problem, the authors recommend introducing PV power generation enterprises to become the second follower in the master-slave game model, which belongs to the unified hierarchy of the aggregator of residential customers. Additionally, the authors intend to construct a new model of multiple CIESs sharing the energy storage device to realize multi-CIES interconnection, so that the proposed model can be closer to real-world scenarios.</p>
<p>On the other hand, regarding the information flow set up by the above process, it belongs to the public and ideal state by default, and the authors have not investigated the methods and mechanisms for the interoperability of the signals of each participant for the time being. The <xref ref-type="sec" rid="s1">Section 1</xref> of this paper constructs the framework for the master-slave game-based optimization of scheduling of the CIES. The framework clarifies that energy trading includes both the community energy operator (leader) energy pricing strategy and the aggregator of residential customers (follower) load rationing response. The points trading in the first chapter references incentive-based DR, which rewards points credits in combination with the amount of customer load response. For communication between participants of CIES, <xref ref-type="bibr" rid="B12">Menniti et al. (2022)</xref> used enabling technologies for energy communities to realize flexibility service request interaction and information sharing, such as smart meters and improved electrical installations (<xref ref-type="bibr" rid="B6">Jiang et al., 2021</xref>). Additionally, <xref ref-type="bibr" rid="B2">G&#xf3;rski (2023)</xref> established an integrated services architectural view and two methods of modeling messaging flows at the service and business levels, realizing the sending of orders and confirmations between the business applications and then achieving message-friendly interactions.</p>
<p>In the next step of the research program, the authors will introduce advanced enabling technologies and algorithmic models for information interconnection and considerthe new mechanism of shared energy storage under the participation of multiple CIESs to make the proposed strategy more practically valuable. This will involve integrating load DR peaking mathematical models based on the game framework to better take advantage of the interaction between the master-slave game model and the DR model and realize the complementarity of the two models. The authors also intend to investigate methods and mechanisms for the interoperability of the signals of each participant to ensure effective communication and information sharing. By introducing these new elements to the model, the proposed strategy can be made more robust and better suited to real-world scenarios.</p>
</sec>
</sec>
<sec id="s6">
<title>6 Conclusion and future work</title>
<p>In this study, the authors proposed an optimal scheduling strategy for the master&#x2013;slave game in a CIES by considering incentives for peak-shaving and a ladder-type mechanism of carbon trading. The key findings of this research are as follows: 1) We constructed a Pearson&#x2019;s correlation coefficient-based model of an incentive for peak regulation by the grid company through DR and a ladder-type model of carbon trading that are applicable to the CIES, with the aim of optimizing the allocation of scores for coupled multi-energy devices to participate in saving energy and reducing carbon emissions while taking into account both economic and environmental benefits. 2) The existence and uniqueness of a Stackelberg equilibrium solution for the proposed game model were demonstrated. In this solution, the sale price of energy is determined by the community energy operator and the demand for energy is adjusted in real time by the aggregator of residential customers. The iterative interaction between them was represented by using the Cplex solution tool combined with the genetic algorithm. 3) The synergistic optimization of energy for cooling, heating, and electricity within the CIES was comprehensively considered. The equipment for electric energy storage, electric cooling, and electric heating supplemented by the absorption chiller and gas turbine were considered in order to improve the flexibility of coupling between the supply of energy and the demand for it in the master&#x2013;slave game.</p>
<p>At present, this paper mainly studies the day-ahead operation of the single-region CIES. In the follow-up work, the whole process of ladder-type mechanism of carbon trading and incentives for peak-shaving will be further extended to the energy network with multi-CIES interconnection by considering the effects of source-load uncertainty on optimal scheduling to realize the coordinated and stable operation of different energies.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s7">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/<xref ref-type="sec" rid="s12">Supplementary Material</xref>, further inquiries can be directed to the corresponding authors.</p>
</sec>
<sec id="s8">
<title>Author contributions</title>
<p>FD: data analysis and writing. FJ: methodology. LC and CX: formal analysis. YW: validation. All authors contributed to the article and approved the submitted version.</p>
</sec>
<sec id="s9">
<title>Funding</title>
<p>This work was supported by the National Social Science Foundation of China (22CJY064), and by General Project of Hunan Natural Science Foundation (2021JJ30715).</p>
</sec>
<sec sec-type="COI-statement" id="s10">
<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>
</sec>
<sec sec-type="disclaimer" id="s11">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<sec id="s12">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fenrg.2023.1247803/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fenrg.2023.1247803/full&#x23;supplementary-material</ext-link>
</p>
<supplementary-material xlink:href="Image1.pdf" id="SM1" mimetype="application/pdf" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gao</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Gao</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Community decision-makers&#x2019; choice of multi-objective scheduling strategy for integrated energy considering multiple uncertainties and demand response</article-title>. <source>Sustain. Cities Soc.</source> <volume>83</volume>, <fpage>103945</fpage>. <pub-id pub-id-type="doi">10.1016/j.scs.2022.103945</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>G&#xf3;rski</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Integration flows modeling in the context of architectural views</article-title>. <source>IEEE Access</source> <volume>11</volume>, <fpage>35220</fpage>&#x2013;<lpage>35231</lpage>. <pub-id pub-id-type="doi">10.1109/ACCESS.2023.3265210</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Guo</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Zeng</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Optimal operation of regional integrated energy system considering demand response</article-title>. <source>Appl. Therm. Eng.</source> <volume>191</volume>, <fpage>116860</fpage>. <pub-id pub-id-type="doi">10.1016/j.applthermaleng.2021.116860</pub-id>
</citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Huang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>N.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>A two-stage energy management for heat-electricity integrated energy system considering dynamic pricing of Stackelberg game and operation strategy optimization</article-title>. <source>Energy</source> <volume>244</volume>, <fpage>122576</fpage>. <pub-id pub-id-type="doi">10.1016/j.energy.2021.122576</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jebli</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Belouadha</surname>
<given-names>F. Z.</given-names>
</name>
<name>
<surname>Kabbaj</surname>
<given-names>M. I.</given-names>
</name>
<name>
<surname>Tilioua</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Prediction of solar energy guided by pearson correlation using machine learning</article-title>. <source>Energy</source> <volume>224</volume>, <fpage>120109</fpage>. <pub-id pub-id-type="doi">10.1016/j.energy.2021.120109</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jiang</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Peng</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Tu</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Guo</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Deng</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Dai</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>An improved hybrid parallel compensator for enhancing PV power transfer capability</article-title>. <source>IEEE Trans. Industrial Electron.</source> <volume>69</volume> (<issue>11</issue>), <fpage>11132</fpage>&#x2013;<lpage>11143</lpage>. <pub-id pub-id-type="doi">10.1109/TIE.2021.3121694</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Interactive equilibrium of electricity-gas energy distribution system and integrated load aggregators considering energy pricings: a master-slave approach</article-title>. <source>IEEE Access</source> <volume>8</volume>, <fpage>70527</fpage>&#x2013;<lpage>70541</lpage>. <pub-id pub-id-type="doi">10.1109/ACCESS.2020.2987035</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Optimal dispatch of multi-microgrids integrated energy system based on integrated demand response and stackelberg game</article-title>. <source>Proc. CSEE</source> <volume>41</volume> (<issue>4</issue>), <fpage>1307</fpage>&#x2013;<lpage>1321&#x2b;1538</lpage>. <pub-id pub-id-type="doi">10.13334/j.0258-8013.pcsee.201845</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Nie</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Trading strategy and benefit optimization of load aggregators in integrated energy systems considering integrated demand response: a hierarchical stackelberg game</article-title>. <source>Energy</source> <volume>249</volume>, <fpage>123678</fpage>. <pub-id pub-id-type="doi">10.1016/j.energy.2022.123678</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Optimal scheduling of integrated demand response-enabled integrated energy systems with uncertain renewable generations: a stackelberg game approach</article-title>. <source>Energy Convers. Manag.</source> <volume>235</volume>, <fpage>113996</fpage>. <pub-id pub-id-type="doi">10.1016/j.enconman.2021.113996</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lv</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Cao</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Ding</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>J.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>Optimal scheduling of integrated energy system under the background of carbon neutrality</article-title>. <source>Energy Rep.</source> <volume>8</volume>, <fpage>1236</fpage>&#x2013;<lpage>1248</lpage>. <pub-id pub-id-type="doi">10.1016/j.egyr.2022.02.295</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Menniti</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Pinnarelli</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Sorrentino</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Vizza</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Barone</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Brusco</surname>
<given-names>G.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>Enabling technologies for energy communities: some experimental use cases</article-title>. <source>Energies</source> <volume>15</volume> (<issue>17</issue>), <fpage>6374</fpage>. <pub-id pub-id-type="doi">10.3390/en15176374</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>O&#x2019;Dwyer</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Pan</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Acha</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Shah</surname>
<given-names>N.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Smart energy systems for sustainable smart cities: current developments, trends and future directions</article-title>. <source>Appl. Energy</source> <volume>237</volume>, <fpage>581</fpage>&#x2013;<lpage>597</lpage>. <pub-id pub-id-type="doi">10.1016/j.apenergy.2019.01.024</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Qiu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Ai</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Benbouzid</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>S.</given-names>
</name>
<etal/>
</person-group> (<year>2023</year>). <article-title>Two-stage distributionally robust optimization-based coordinated scheduling of integrated energy system with electricity-hydrogen hybrid energy storage</article-title>. <source>Prot. Control Mod. Power Syst.</source> <volume>8</volume> (<issue>1</issue>), <fpage>33</fpage>&#x2013;<lpage>14</lpage>. <pub-id pub-id-type="doi">10.1186/s41601-023-00308-8</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shuai</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Ma</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Research on optimal operation of shared energy storage and integrated energy microgrid based on leader-follower game theory</article-title>. <source>Power Syst. Technol.</source> <volume>47</volume> (<issue>2</issue>), <fpage>679</fpage>&#x2013;<lpage>690</lpage>. <pub-id pub-id-type="doi">10.13335/j.1000-3673.pst.2021.2191</pub-id>
</citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sun</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Kou</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Optimal scheduling of park-level integrated energy system considering ladder-type carbon trading mechanism and flexible load</article-title>. <source>Energy Rep.</source> <volume>9</volume>, <fpage>3417</fpage>&#x2013;<lpage>3430</lpage>. <pub-id pub-id-type="doi">10.1016/j.egyr.2023.02.029</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sun</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Hu</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Zhao</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Shi</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Two-stage correction strategy-based real-time dispatch for economic operation of microgrids</article-title>. <source>Chin. J. Electr. Eng.</source> <volume>8</volume> (<issue>2</issue>), <fpage>42</fpage>&#x2013;<lpage>51</lpage>. <pub-id pub-id-type="doi">10.23919/CJEE.2022.000013</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Veichtlbauer</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Praschl</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Gaisberger</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Steinmaurer</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Strasser</surname>
<given-names>T. I.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Toward an effective community energy management by using a cluster storage</article-title>. <source>IEEE Access</source> <volume>10</volume>, <fpage>112286</fpage>&#x2013;<lpage>112306</lpage>. <pub-id pub-id-type="doi">10.1109/ACCESS.2022.3216298</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Hou</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Ye</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Yin</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Cong</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Optimal operation analysis of integrated community energy system considering the uncertainty of demand response</article-title>. <source>IEEE Trans. Power Syst.</source> <volume>36</volume> (<issue>4</issue>), <fpage>3681</fpage>&#x2013;<lpage>3691</lpage>. <pub-id pub-id-type="doi">10.1109/TPWRS.2021.3051720</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Stackelberg equilibrium-based energy management strategy for regional integrated electricity-hydrogen market</article-title>. <source>Front. Energy Res.</source> <volume>11</volume>. <pub-id pub-id-type="doi">10.3389/fenrg.2023.1169089</pub-id>
</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wei</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Ye</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Dai</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>An economic optimization method for demand-side energy-storage accident backup assisted deep peaking of thermal power units</article-title>. <source>Chin. J. Electr. Eng.</source> <volume>8</volume> (<issue>2</issue>), <fpage>62</fpage>&#x2013;<lpage>74</lpage>. <pub-id pub-id-type="doi">10.23919/CJEE.2022.000015</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wu</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Hu</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Frazier</surname>
<given-names>A. E.</given-names>
</name>
<name>
<surname>Hu</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>China&#x27;s urban and rural residential carbon emissions: past and future scenarios</article-title>. <source>Resour. Conserv. Recycl.</source> <volume>190</volume>, <fpage>106802</fpage>. <pub-id pub-id-type="doi">10.1016/j.resconrec.2022.106802</pub-id>
</citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xiang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Shen</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Ma</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Gou</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>W.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <article-title>Low-carbon economic dispatch of electricity-gas systems</article-title>. <source>Energy</source> <volume>226</volume>, <fpage>120267</fpage>. <pub-id pub-id-type="doi">10.1016/j.energy.2021.120267</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xie</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Lu</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Multiplayer nash&#x2013;stackelberg game analysis of electricity markets with the participation of a distribution company</article-title>. <source>IEEE Syst. J.</source>, <fpage>1</fpage>&#x2013;<lpage>12</lpage>. <pub-id pub-id-type="doi">10.1109/JSYST.2023.3240993</pub-id>
</citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Yi</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Multi-microgrid low-carbon economy operation strategy considering both source and load uncertainty: a nash bargaining approach</article-title>. <source>Energy</source> <volume>263</volume>, <fpage>125712</fpage>. <pub-id pub-id-type="doi">10.1016/j.energy.2022.125712</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yu</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Fu</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Hu</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Power demand response in the context of smart home application</article-title>. <source>Energy</source> <volume>240</volume>, <fpage>122774</fpage>. <pub-id pub-id-type="doi">10.1016/j.energy.2021.122774</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Yao</surname>
<given-names>Y. F.</given-names>
</name>
<name>
<surname>Liang</surname>
<given-names>Q. M.</given-names>
</name>
<name>
<surname>Saren</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>How should China prioritize the deregulation of electricity prices in the context of carbon pricing? A computable general equilibrium analysis</article-title>. <source>Energy Econ.</source> <volume>96</volume>, <fpage>105187</fpage>. <pub-id pub-id-type="doi">10.1016/j.eneco.2021.105187</pub-id>
</citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zou</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Robust optimal dispatch of micro-energy grid with multi-energy complementation of cooling heating power and natural gas</article-title>. <source>Automation Electr. Power Syst.</source> <volume>43</volume> (<issue>14</issue>), <fpage>65</fpage>&#x2013;<lpage>72</lpage>. <pub-id pub-id-type="doi">10.7500/AEPS20181028004</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>