<?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">846006</article-id>
<article-id pub-id-type="doi">10.3389/fenrg.2022.846006</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>Distributed Collaborative Optimization of a Multi-Region Integrated Energy System Based on Edge Computing Unit</article-title>
<alt-title alt-title-type="left-running-head">Wang et&#xa0;al.</alt-title>
<alt-title alt-title-type="right-running-head">Distributed Optimization of the MRIES</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Wang</surname>
<given-names>Mengxue</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1611540/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Zhao</surname>
<given-names>Haoran</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Tian</surname>
<given-names>Hang</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1562053/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Wu</surname>
<given-names>Qiuwei</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1539240/overview"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>Key Laboratory of Power System Intelligent Dispatch and Control of Ministry of Education</institution>, <institution>Shandong University</institution>, <addr-line>Jinan</addr-line>, <country>China</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Department of Electrical Engineering</institution>, <institution>Technical University of Denmark</institution>, <addr-line>Lyngby</addr-line>, <country>Denmark</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> Athanasios I. Papadopoulos, Centre for Research and Technology Hellas (CERTH), Greece</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/133868/overview">Athanasios I. Papadopoulos</ext-link>, Centre for Research and Technology Hellas (CERTH), Greece</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/1618356/overview">Yue Xia</ext-link>, China Agricultural University, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1623171/overview">Hua Ye</ext-link>, Chinese Academy of Sciences (CAS), China</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Haoran Zhao, <email>hzhao@mail.sdu.edu.cn</email>
</corresp>
<fn fn-type="other">
<p>This article was submitted to Process and Energy Systems Engineering, a section of the journal Frontiers in Energy Research</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>26</day>
<month>04</month>
<year>2022</year>
</pub-date>
<pub-date pub-type="collection">
<year>2022</year>
</pub-date>
<volume>10</volume>
<elocation-id>846006</elocation-id>
<history>
<date date-type="received">
<day>30</day>
<month>12</month>
<year>2021</year>
</date>
<date date-type="accepted">
<day>1</day>
<month>04</month>
<year>2022</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2022 Wang, Zhao, Tian and Wu.</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Wang, Zhao, Tian and Wu.</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>The coordinated optimization scheduling of the integrated energy systems is vital in multi-energy complementarity and hierarchical utilization. However, the centralized optimization is inferior to the distributed optimization of the large-scale multiregion integrated energy system (MRIES) in data processing capacity and information security. This study proposes a distributed computing architecture based on the edge computing unit (ECU), which takes the energy hub as the main body and sets the partitioning principle and method of MRIES. The ECU can finally realize the whole-system collaborative optimization of MRIES, which contains electrical, natural gas, and district heating networks through internal autonomous optimization and boundary information interaction with the cloud computing center. At the same time, an improved nested algorithm based on the consensus-alternating direction method of multipliers is proposed, which ensures the convergence of the mixed-integer linear program and effectively improves the convergence speed. Combining the advantages of the model and algorithm provides a theoretical and algorithmic support for the optimization research of the MRIES.</p>
</abstract>
<kwd-group>
<kwd>edge computing unit</kwd>
<kwd>multiregional integrated energy system</kwd>
<kwd>distributed collaborative optimization</kwd>
<kwd>energy hub</kwd>
<kwd>energy conservation</kwd>
</kwd-group>
<contract-num rid="cn001">2018YFA0702200.</contract-num>
<contract-sponsor id="cn001">National Key Research and Development Program of China<named-content content-type="fundref-id">10.13039/501100012166</named-content>
</contract-sponsor>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>Carbon peak and carbon neutrality targets put forward higher requirements for accelerating energy transformation in China. Therefore, the optimization of energy structure, energy conservation, and improvement of energy efficiency has become the most basic direction of energy development (<xref ref-type="bibr" rid="B25">Yunzhou&#xa0;et&#xa0;al.,&#xa0;2021</xref>). The construction of the IES is conducive to promoting the integration of source, network, load and storage, and multi-energy complementarity, which can realize the sustainable development for optimizing energy structure and improving energy efficiency. As the crucial part of IES research, RIES (<xref ref-type="bibr" rid="B16">Na&#xa0;et&#xa0;al.,&#xa0;2020</xref>) is mostly modeled in the form of EH. With EH as the main body, the RIES can be divided into functional units such as industrial areas, commercial areas, and residential areas. Based on the advantages of the geographical range, the RIES can conveniently realize the flexible optimization and scheduling decisions, which cannot be achieved without the assistance of multi-energy collaborative management, direct monitoring, and analysis of the operational data. Therefore, the RIES is an effective control and computing unit of IES intelligent evolution at present.</p>
<p>The IES distributed optimization has unique advantages over the centralized optimization in data acquisition cost, processing difficulty, application scale, information privacy, and security. A reasonable partition method of the IES and a suitable distributed algorithm are the fundamental problems of the IES distributed optimization. <xref ref-type="bibr" rid="B10">Haozhong&#xa0;et&#xa0;al.&#xa0;(2019)</xref> and <xref ref-type="bibr" rid="B5">Jianzhu&#xa0;Chen&#xa0;et&#xa0;al.&#xa0;(2019)</xref> used the different improved ADMM to conduct the distributed optimization of the IES based on the energy network decoupled. <xref ref-type="bibr" rid="B5">Jianzhu&#xa0;Chen&#xa0;et&#xa0;al.&#xa0;(2019)</xref> took CHP as the central part of the model and optimized the RIES in the distributed double layer, which took the delay of the bottom thermal ring network into account. In the study by <xref ref-type="bibr" rid="B26">Zhang&#xa0;et&#xa0;al.,&#xa0;(2018</xref>), ADMM was adopted to optimize the pricing strategy of the multi-EH system with the underlying heating network. In the studies by <xref ref-type="bibr" rid="B6">Chen&#xa0;et&#xa0;al.&#xa0;(2018)</xref> and <xref ref-type="bibr" rid="B8">Chen&#xa0;et&#xa0;al.&#xa0;(2021)</xref>, the static and dynamic characteristics of the EHs were taken into consideration and optimized, respectively. <xref ref-type="bibr" rid="B26">Zhang&#xa0;et&#xa0;al.&#xa0;(2018</xref>) proposed a multi-agent bargaining learning method, which optimized the large-scale IES in a distributed way, while the EH worked as the agent. Based on C-ADMM, <xref ref-type="bibr" rid="B24">Xu&#xa0;et&#xa0;al.&#xa0;(2019</xref>) improved the algorithm and analyzed the MRIES consisting of electrical, gas, and thermal three-ring networks with the four EHs. In comparison, <xref ref-type="bibr" rid="B22">Wen&#xa0;et&#xa0;al.&#xa0;(2017</xref>) used an improved method based on the C-ADMM dealing with the distributed optimization of a large-scale electric-gas system. ADMM was used for the distributed optimization of the multi-agent IES in the study by <xref ref-type="bibr" rid="B9">Haitao&#xa0;et&#xa0;al.&#xa0;(2021)</xref>. <xref ref-type="bibr" rid="B23">Wu&#xa0;et&#xa0;al.&#xa0;(2020)</xref> used a hierarchical optimization method to carry out the distributed optimization of the electric&#x2013;thermal system.</p>
<p>At present, the distributed collaborative optimization of the MRIES still has shortcomings:<list list-type="simple">
<list-item>
<p>(1) The role of MRIES in energy management and allocation is weakened by the decoupling method based on the different energy networks, which will be more complicated with the increase of the number and types of coupling devices.</p>
</list-item>
<list-item>
<p>(2) The distributed optimization with the EH as the main body does not consider the upper and lower energy network constraints. As a result, the global optimal solution cannot be obtained directly through the data interaction between the EHs.</p>
</list-item>
<list-item>
<p>(3) There is lack of a suitable distributed algorithm considering the EH off-design performance to support the expansion of the MRIES.</p>
</list-item>
</list>
</p>
<p>Therefore, this study proposes a distributed computing architecture based on an ECU and develops an IES partitioning method corresponding to it. And then, this study puts forward an improved algorithm adapted to the distributed characteristics of the model, forming a complete set of distributed computing methods based on ECU.</p>
<p>With the EH as the main body, the ECU is equivalent to RIES in geographical scope and structural level. The global optimal scheduling scheme is finally obtained through optimization within the unit and information interaction with the cloud. This architecture not only protects the information privacy and security of the RIES but also dramatically reduces the pressure of data transmission, storage, and processing in the cloud through edge computing, which reduces the difficulty of processing complex data of the IES. In addition, this study proposes a set of IES partitioning methods according to the connected positions of the EHs to reasonably partition ECU regions and provide a model basis for algorithm improvement. Based on the detailed RIES model, the improved C-ADMM nested algorithm fits the ECU model well, which can solve the nonconvergence problem caused by MISOCP and guarantee the optimization results with fewer iterations. They complement each other and provide a theoretical and methodological support for the MRIES distributed cooperative optimization.</p>
<p>In this article, the concept of the proposed ECU, modeling method, and improved algorithm are introduced in detail, and an example of the MRIES is used to verify the scalability and effectiveness of them.</p>
</sec>
<sec id="s2">
<title>2 Edge Computing Unit Framework for IES Distributed Optimization Scheduling</title>
<p>Internet of things, cloud computing, edge computing, and other technologies have played an important role in smart home management (<xref ref-type="bibr" rid="B1">Albataineh&#xa0;et&#xa0;al.,&#xa0;2020</xref>), power market (<xref ref-type="bibr" rid="B7">Chen&#xa0;S.&#xa0;et&#xa0;al.,&#xa0;2019</xref>), smart grid (<xref ref-type="bibr" rid="B13">Liu&#xa0;et&#xa0;al.,&#xa0;2021</xref>), (<xref ref-type="bibr" rid="B3">Cao&#xa0;et&#xa0;al.,&#xa0;2019</xref>), and other fields, but they have not fully emerged in the IES. Therefore, the ECU model proposed in this article will serve as a new energy management framework and provide a new idea for the unified management and coordinated scheduling of the IES multiple energy sources.</p>
<sec id="s2-1">
<title>2.1 Framework of Edge Computing Unit</title>
<p>Corresponding to the cloud computing center in the IES, the ECU proposed in this article is the local energy data management unit, which can reduce cloud computing burden by finishing a part of the computing tasks at the local (<xref ref-type="bibr" rid="B21">Weisong&#xa0;et&#xa0;al.,&#xa0;2017</xref>). The structure of the ECU model presented in this article is shown in <xref ref-type="fig" rid="F1">Figure&#xa0;1</xref>.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Structure diagram of ECU.</p>
</caption>
<graphic xlink:href="fenrg-10-846006-g001.tif"/>
</fig>
<p>EC, HP, CHP, and GB, as the coupling equipment convert power and natural gas into cold, heating, and power. Cooling and power are directly supplied to the local load, while the heating is transmitted to the HS or the DHN to jointly support the heating demand of the local load.</p>
<p>The modeling method of the upper radiant heat network is similar to that of the power grid and natural gas network. Therefore, the ring heating network is only established at the lower layer in this study for heat circulation. The ring network has high security and reliability (<xref ref-type="bibr" rid="B17">Wang&#xa0;et&#xa0;al.,&#xa0;2016</xref>), and the computing method for the ring network also meets the requirements of the radial heating network.</p>
<p>The ECU supports the multizone expansion, where the units are connected to each other through a power grid, natural gas network, and DHN, becoming the main body of the MRIES.</p>
</sec>
<sec id="s2-2">
<title>2.2 Data Exchange Process of Optimization Scheduling in Multiregion Integrated Energy System</title>
<p>The ECU obtains the data of the devices and nodes through the local awareness layer and submits the boundary information to the cloud after internal optimization. Then, the cloud feeds back the consensus information obtained from the centralized computing to each ECU. After that, the ECU adjusts the internal operation according to the consensus information. The MRIES achieves global optimization through several iterations.</p>
<p>The centralized optimization needs to submit all the device data to the cloud, which results in vast costs of communication facility construction, data transmission, storage, and processing. It deviates from the energy development idea of energy conservation and emission reduction. Meanwhile, the information security and privacy cannot be guaranteed, as shown in <xref ref-type="fig" rid="F2">Figure&#xa0;2A</xref>.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Data flow of different optimization methods in IES. <bold>(A)</bold> Data flow of the centralized optimization and the ECU architecture distributed optimization. <bold>(B)</bold> Data flow of the distributed optimization decoupled according to energy networks.</p>
</caption>
<graphic xlink:href="fenrg-10-846006-g002.tif"/>
</fig>
<p>
<xref ref-type="fig" rid="F2">Figure&#xa0;2B</xref> shows the distributed optimization based on the energy system decoupled. Each computing unit needs to process the data of the whole system, which is the mainstream distributed computing method at present. Although the amount of cloud workload is reduced by two to three times, it is still affected by the wide geographical range of the MRIES. Meanwhile, the cost of the communication facility construction is still relatively high. In addition, this method deconstructs the EH model, resulting in the separate operation of each coupling device. As the number and types of the coupling devices increase, the computational complexity of this method will increase and the cost of data transmission and storage will also increase significantly.</p>
<p>The decoupled method based on the ECU is shown in <xref ref-type="fig" rid="F2">Figure&#xa0;2A</xref>, where the data are transmitted within the RIES and only submits the boundary information at the coupling point between the ECUs to the cloud. This decoupled method dramatically reduces the cost of communication facility construction, data transmission, storage, and processing, while ensuring the security and privacy of the data. Furthermore, the ECU collects the data of three types of energy and processes them in a centralized manner, which can better play a synergistic role in optimization. In addition, this method lays a foundation for future research work of the unified energy management.</p>
</sec>
</sec>
<sec id="s3">
<title>3 Modeling of the Edge Computing Unit</title>
<sec id="s3-1">
<title>3.1 IES Decoupled Principle Based on Edge Computing Unit</title>
<p>As previously mentioned, EH is the main body and the energy management unit of the RIES. Therefore, the EH serves as the main body of the ECU to decouple the energy system. The partition principle should be based on the whole system&#x2019;s lowest communication cost. The communication cost is proportional to the physical distance between the nodes. Therefore, we decouple the energy networks separately according to the adaptive method of P-median problem as shown in <xref ref-type="disp-formula" rid="e1">Eq.&#xa0;1</xref>.<disp-formula id="e1">
<mml:math id="m1">
<mml:mtable class="aligned">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:mi>min</mml:mi>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">R</mml:mi>
</mml:mrow>
</mml:munder>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">F</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>f</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>f</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right">
<mml:mtext>&#x2009;s.t.&#x2009;</mml:mtext>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">R</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>f</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mspace width="1em"/>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">F</mml:mi>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right"/>
<mml:mtd columnalign="left">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>f</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2208;</mml:mo>
<mml:mfenced open="{" close="}">
<mml:mrow>
<mml:mn>0,1</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mspace width="1em"/>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>r</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">R</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">F</mml:mi>
<mml:mo>.</mml:mo>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
<label>(1)</label>
</disp-formula>
</p>
<p>The objective function minimizes the information transmission distance within the network partitions, while the constraints ensure that the nodes are completely partitioned without repetition and omission. The IES model contains an electrical network, natural gas network, and DHN in the study. Therefore, the objective function should be applied in the three networks. After that, we can get the indices of the nodes in each unit of every network, but we need to further determine the boundaries between the units to provide the boundary data for cloud computing. As a result, <xref ref-type="sec" rid="s3-2">section&#xa0;3.2</xref> provides a decoupled method to distinguish the boundaries between the units under different EH connection conditions.</p>
</sec>
<sec id="s3-2">
<title>3.2 IES Decoupled Method Based on the Edge Computing Unit</title>
<p>As previously mentioned, the units contain different nodes but are connected by an energy transmission line. The transmission line also falls within the scope of unit internal optimization, so the virtual node needs to be inserted into the transmission line to establish clear boundaries between the units and serve as a data collection point of the connecting transmission line.</p>
<p>This study proposed a decoupled method, where the EH serves as the core in each ECU. Based on the connected position of the EH to the energy network, the whole system is decoupled by the partition method as given below. In <xref ref-type="fig" rid="F3">Figure&#xa0;3</xref>, the source represents the source of the energy network, which is the generator in the electrical network and the compressor in the natural gas network. EH represents a real hub. The virtual node is located in the middle of the transmission line, and the node data are the energy data in the middle of the transmission line. The virtual transmission line is lossless, aiming to reduce the coupling degree between the nodes.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Network partition method.</p>
</caption>
<graphic xlink:href="fenrg-10-846006-g003.tif"/>
</fig>
<sec id="s3-2-1">
<title>3.2.1 Tandem Type</title>
<p>This type refers to the nodes of the EHs that are series nodes in the network. It contains three subtypes, such as the head subtype, concatenation subtype, and end subtype.</p>
<p>The concatenation subtype refers to the condition where the node of the EH is neither the end nor the head in the network. In this condition, the energy transmission line should be split in the middle and inserted with a virtual node on each side of the EH. The virtual node is included by the ECUs on both sides, and the insertion position of the virtual node is the boundary between the units. The data of the virtual node during the local optimization within the ECU are the boundary information submitted to the cloud.</p>
<p>The head/end subtype refers to the condition where the node of the EH is the head/end in the network. In this case, a virtual node should be inserted into the middle of the transmission line on only one side.</p>
</sec>
<sec id="s3-2-2">
<title>3.2.2 Parallel Type</title>
<p>This type contains two subtypes: same node subtype and same level node subtype, which, respectively, mean the EHs connected to the same nodes and the same level nodes in the network, as shown in <xref ref-type="fig" rid="F3">Figure&#xa0;3</xref>. When dealing with the same level node, a virtual node is inserted in the middle of one transmission line to transform it to the end subtype. As for the same node subtype, these node data for the EHs couple tightly, so a section of virtual transmission line should be added before each EH, which is transformed into the same level node subtype.</p>
<p>The energy networks are decoupled based on the abovementioned methods. The total energy consumption of a single ECU is the amount of the difference between the inflow and outflow.</p>
</sec>
</sec>
<sec id="s3-3">
<title>3.3 Electrical Network Model in the Edge Computing Unit</title>
<p>In this study, the Distflow model is used to simulate the power flow of the distribution network in the ECU (<xref ref-type="bibr" rid="B2">Baran and Wu&#xa0;1989</xref>), and the SOCP is used to deal with the nonlinear model. The power balance of the node described in <xref ref-type="disp-formula" rid="e2">Eqs&#xa0;2</xref>&#x2013;<xref ref-type="disp-formula" rid="e4">4</xref> is the voltage loss equation, and <xref ref-type="disp-formula" rid="e5">Eq.&#xa0;5</xref> represents the relationship between the branch current, node voltage, and power.<disp-formula id="e2">
<mml:math id="m2">
<mml:mtable class="align">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mo>&#x2212;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">&#x3a0;</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>G</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mi>v</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">&#x3a0;</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mi>v</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>PV</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>w</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">&#x3a0;</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>w</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>WT</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>I</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right"/>
<mml:mtd columnalign="left">
<mml:mo>&#x2b;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">&#x3a9;</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mi>o</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">&#x3a0;</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>LD</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>EH</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>.</mml:mo>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
<label>(2)</label>
</disp-formula>
<disp-formula id="e3">
<mml:math id="m3">
<mml:msubsup>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>I</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">&#x3a9;</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mi>o</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">&#x3a0;</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:msubsup>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>LD</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>.</mml:mo>
</mml:math>
<label>(3)</label>
</disp-formula>
<disp-formula id="e4">
<mml:math id="m4">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>I</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(4)</label>
</disp-formula>
<disp-formula id="e5">
<mml:math id="m5">
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>I</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>I</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>.</mml:mo>
</mml:math>
<label>(5)</label>
</disp-formula>
</p>
<p>The capacity limitation of the transmission line is shown as <xref ref-type="disp-formula" rid="e6">Eq.&#xa0;6</xref>.<disp-formula id="e6">
<mml:math id="m6">
<mml:mfenced open="{" close="">
<mml:mrow>
<mml:mtable class="cases">
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>I</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>I</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>I</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(6)</label>
</disp-formula>
</p>
<p>Power consumption of the ECU is shown as <xref ref-type="disp-formula" rid="e7">Eq.&#xa0;7</xref>.<disp-formula id="e7">
<mml:math id="m7">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ECU</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold">I</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>upper</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:munder>
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold">J</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>under</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:munder>
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>.</mml:mo>
</mml:math>
<label>(7)</label>
</disp-formula>
</p>
</sec>
<sec id="s3-4">
<title>3.4 Natural Gas Network Model in the Edge Computing Unit</title>
<p>The natural gas network model in the ECU is similar to the electrical network, including the node energy balance constraint and pipeline transport constraint. <xref ref-type="disp-formula" rid="e8">Eq.&#xa0;8</xref> represents the balance between the inflow and outflow of node <italic>b</italic>.<disp-formula id="e8">
<mml:math id="m8">
<mml:msubsup>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>b</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3c9;</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">&#x39b;</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:msub>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>&#x3c9;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">&#x3a5;</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:msubsup>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>LD</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>EH</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>.</mml:mo>
</mml:math>
<label>(8)</label>
</disp-formula>
</p>
<p>The natural gas network in this article is a medium&#x2013;low pressure network without considering the compressor model (<xref ref-type="bibr" rid="B11">Hu&#xa0;et&#xa0;al.,&#xa0;2020</xref>). The second-order cone programming is used to relax the Weymouth equation of the natural gas network, as shown in <xref ref-type="disp-formula" rid="e9">Eq.&#xa0;9</xref> (<xref ref-type="bibr" rid="B14">Liu&#xa0;et&#xa0;al.,&#xa0;2020</xref>). <xref ref-type="disp-formula" rid="e10">Eqs&#xa0;10</xref>,<xref ref-type="disp-formula" rid="e11">11</xref> are the upper and lower limits of the gas transmission volume and natural gas pressure of the pipeline, respectively.<disp-formula id="e9">
<mml:math id="m9">
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>b</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>.</mml:mo>
</mml:math>
<label>(9)</label>
</disp-formula>
<disp-formula id="e10">
<mml:math id="m10">
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>b</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>.</mml:mo>
</mml:math>
<label>(10)</label>
</disp-formula>
<disp-formula id="e11">
<mml:math id="m11">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>.</mml:mo>
</mml:math>
<label>(11)</label>
</disp-formula>
</p>
<p>The natural gas consumption of the ECU is shown as <xref ref-type="disp-formula" rid="e12">Eq.&#xa0;12</xref>.<disp-formula id="e12">
<mml:math id="m12">
<mml:msubsup>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ECU</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold">A</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>upper</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:munder>
<mml:msubsup>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold">B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>under</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:munder>
<mml:msubsup>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>.</mml:mo>
</mml:math>
<label>(12)</label>
</disp-formula>
</p>
</sec>
<sec id="s3-5">
<title>3.5 DHN Model in the Edge Computing Unit</title>
<p>This study uses the available heating <italic>H</italic>
<sup>av</sup> to describe the thermal flow in a pipe. Two strong-coupled variables, temperature <italic>T</italic> and mass flow <italic>q</italic> in the DHN model are decoupled to form the thermal flow network model and the basic flow-temperature equation.</p>
<p>The linearized heat loss equation shows as <xref ref-type="disp-formula" rid="e14">Eq.&#xa0;14</xref>, and <xref ref-type="bibr" rid="B20">Wei&#xa0;et&#xa0;al.,&#xa0;(2017</xref>) prove that it has good accuracy when the initial temperature is 88 &#x223c;92&#xb0;C. Section&#xa0;4.2 will introduce the improved distributed algorithm based on linear heat loss.<disp-formula id="e13">
<mml:math id="m13">
<mml:msup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>av</mml:mtext>
</mml:mrow>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3bc;</mml:mi>
<mml:mi>q</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>rw</mml:mtext>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(13)</label>
</disp-formula>
<disp-formula id="e14">
<mml:math id="m14">
<mml:mi mathvariant="normal">&#x394;</mml:mi>
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>v</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>av</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>sw</mml:mtext>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>e</mml:mtext>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
</mml:math>
<label>(14)</label>
</disp-formula>
</p>
<p>The setup of the reference direction of heating medium flow in the DHN is shown in <xref ref-type="fig" rid="F4">Figure&#xa0;4</xref>. The EH<sub>
<italic>n</italic>
</sub> represented the <italic>n</italic>th EH. The thermal flow network model is shown as <xref ref-type="disp-formula" rid="e15">Eq.&#xa0;15</xref>.<disp-formula id="e15">
<mml:math id="m15">
<mml:mfenced open="{" close="">
<mml:mrow>
<mml:mtable class="cases">
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>EH</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mo movablelimits="false" form="prefix">&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">&#x3a8;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>av</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>av</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>av</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="normal">&#x394;</mml:mi>
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>u</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>av</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mtext>&#x2009;if&#x2009;</mml:mtext>
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>av</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3e;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>av</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>av</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>av</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:mtext>&#x2009;if&#x2009;</mml:mtext>
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>av</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3e;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(15)</label>
</disp-formula>
</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Direction of heating medium flow in the DHN.</p>
</caption>
<graphic xlink:href="fenrg-10-846006-g004.tif"/>
</fig>
<p>A mixed-integer model of the thermal flow network is established based on the abovementioned equation to obtain the available heating distribution. Combined with the basic flow-temperature equation below, we can calculate the transmission temperature and thermal flow in the pipe.<disp-formula id="e16">
<mml:math id="m16">
<mml:mfenced open="{" close="">
<mml:mrow>
<mml:mtable class="cases">
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>EH</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>k</mml:mi>
<mml:msubsup>
<mml:mrow>
<mml:mi>q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>EH</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>EH</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>rw</mml:mtext>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>v</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>av</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>k</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>v</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>v</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>rw</mml:mtext>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>EH</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mtext>&#x2009;if&#x2009;</mml:mtext>
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>EH</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3e;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>EH</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>sw</mml:mtext>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:mtext>&#x2009;if&#x2009;</mml:mtext>
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>EH</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3c;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msub>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>v</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mtext>&#x2009;if&#x2009;</mml:mtext>
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>v</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>av</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3e;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msubsup>
<mml:mrow>
<mml:mi>q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>EH</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mo movablelimits="false" form="prefix">&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">&#x3a8;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msub>
<mml:mrow>
<mml:mi>q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>v</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>v</mml:mi>
<mml:mi>u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(16)</label>
</disp-formula>
</p>
<p>The DHN operation cost is caused by the operation cost of circulating water pumps in the network. Therefore, the EHR is introduced to describe the cost of the circulating water pumps. <xref ref-type="disp-formula" rid="e17">Eq.&#xa0;17</xref> represents the heat network operation cost of the <italic>n</italic>th ECU. Each pipe is configured with a circulating water pump in this study.<disp-formula id="e17">
<mml:math id="m17">
<mml:msubsup>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>heat</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:munder>
<mml:munderover accentunder="false" accent="false">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>W</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mtext>EHR</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>e</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="&#x7c;" close="&#x7c;">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(17)</label>
</disp-formula>
</p>
</sec>
<sec id="s3-6">
<title>3.6 EH Model Considering Off-Design Performance</title>
<p>The EH is the energy conversion main body of the ECU. In this article, the standard matrix model is adopted for the EH model (<xref ref-type="bibr" rid="B19">Wang&#xa0;et&#xa0;al.,&#xa0;2017</xref>), and the piecewise linearization method is used to improve the accuracy of the EH model (<xref ref-type="bibr" rid="B12">Huang&#xa0;et&#xa0;al.,&#xa0;2019</xref>).</p>
<p>The energy flow direction of the coupling equipment is shown in <xref ref-type="fig" rid="F5">Figure&#xa0;5</xref>. <xref ref-type="disp-formula" rid="e18">Eqs&#xa0;18&#x2013;20</xref> describe the standard model of the EH. The heating output from the EH and the heating obtained from the DHN jointly support the heat load in this region.<disp-formula id="e18">
<mml:math id="m18">
<mml:mtable class="gathered">
<mml:mtr>
<mml:mtd>
<mml:mi>V</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mtable class="matrix">
<mml:mtr>
<mml:mtd columnalign="center">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in&#x2009;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>Grid&#x2009;</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in&#x2009;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>EC</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in&#x2009;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>HP</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in&#x2009;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>CHP</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in&#x2009;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>GB</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>out&#x2009;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>EC</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>out&#x2009;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>HP</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>out,&#x2009;e&#x2009;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>CHP</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>out,&#x2009;h&#x2009;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>CHP</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>out&#x2009;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>GB</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>in&#x2009;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>HS</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>out&#x2009;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>HS</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mtd>
</mml:mtr>
</mml:mtable>
<mml:mo>.</mml:mo>
</mml:math>
<label>(18)</label>
</disp-formula>
<disp-formula id="e19">
<mml:math id="m19">
<mml:mi>V</mml:mi>
<mml:mn>1</mml:mn>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mtable class="matrix">
<mml:mtr>
<mml:mtd columnalign="center">
<mml:msup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>EH</mml:mtext>
</mml:mrow>
</mml:msup>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:msup>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>EH</mml:mtext>
</mml:mrow>
</mml:msup>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:msub>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>cool</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:msub>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>elec</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>heat</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>EH</mml:mtext>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:mn>0</mml:mn>
</mml:mtd>
<mml:mtd columnalign="center">
<mml:mn>0</mml:mn>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
<label>(19)</label>
</disp-formula>
<disp-formula id="e20">
<mml:math id="m20">
<mml:mi>Z</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>V</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>V</mml:mi>
<mml:mn>1</mml:mn>
<mml:mo>.</mml:mo>
</mml:math>
<label>(20)</label>
</disp-formula>
</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>Energy flows inside the EH.</p>
</caption>
<graphic xlink:href="fenrg-10-846006-g005.tif"/>
</fig>
<p>To simplify the nonlinearity of the coupling equipment efficiency, this study uses the piecewise linearization method as shown in <xref ref-type="disp-formula" rid="e21">Eqs&#xa0;21&#x2013;23</xref> dealing with the nonlinear efficiency function of the coupling devices instead of the constant efficiency.<disp-formula id="e21">
<mml:math id="m21">
<mml:mi>X</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b3;</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">&#x393;</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b3;</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
</mml:math>
<label>(21)</label>
</disp-formula>
<disp-formula id="e22">
<mml:math id="m22">
<mml:msub>
<mml:mrow>
<mml:mi>F</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>L</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b3;</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="bold">&#x393;</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b7;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b3;</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b3;</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
</mml:math>
<label>(22)</label>
</disp-formula>
<disp-formula id="e23">
<mml:math id="m23">
<mml:msub>
<mml:mrow>
<mml:mi>I</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b3;</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b3;</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>&#x304;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:munder accentunder="false">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b3;</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo accent="true">&#x332;</mml:mo>
</mml:munder>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b3;</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>I</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b3;</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b3;</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>&#x304;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:munder accentunder="false">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b3;</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo accent="true">&#x332;</mml:mo>
</mml:munder>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(23)</label>
</disp-formula>
</p>
</sec>
<sec id="s3-7">
<title>3.7 Objective Function of the Edge Computing Unit</title>
<p>The model of the ECU has been completed. The internal power grid and the natural gas network build up the SOCP, while the DHN and EH build up the MILP problem. This study takes the minimum economic cost as the optimization objective, and the objective function and the constraints of each ECU are shown in <xref ref-type="disp-formula" rid="e24">Eq&#xa0;24</xref>.<disp-formula id="e24">
<mml:math id="m24">
<mml:mtable class="aligned">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:mi>min</mml:mi>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ECU</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ECU</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:munderover accentunder="false" accent="false">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>W</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mtext>EHR</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="&#x7c;" close="&#x7c;">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right">
<mml:mi>s</mml:mi>
<mml:mo>.</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>.</mml:mo>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>18</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>23</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
</mml:mtable>
<mml:mo>.</mml:mo>
</mml:math>
<label>(24)</label>
</disp-formula>
</p>
</sec>
</sec>
<sec id="s4">
<title>4 Nested Algorithm Based on C-ADMM</title>
<p>The ADMM algorithm performs well in the distributed optimization and has many improved forms. The multiregion expansion form of the standard ADMM, which guarantees convergence, is complex and does not conform to the calculation form of the ECU proposed in this article (<xref ref-type="bibr" rid="B18">Wang&#xa0;et&#xa0;al.,&#xa0;2013</xref>). The GS-ADMM cannot guarantee the convergence of multiregion expansion when <italic>n</italic> &#x2265;&#xa0;3, which is in the form of a serial computation (<xref ref-type="bibr" rid="B15">Ma&#xa0;et&#xa0;al.,&#xa0;2016</xref>). The C-ADMM supports the multizone expansion and is a parallel computing form, so it is used as the improved basis of the distributed algorithm in this study.</p>
<p>It is the key to coordinate the consensus information for the C-ADMM. The ECUs connect with each other through the power line, natural gas pipeline, and heat pipe as shown in <xref ref-type="fig" rid="F6">Figure&#xa0;6</xref>. The coupled information includes <italic>P</italic>, <italic>Q</italic>, <italic>I</italic>, <italic>U</italic> of the power line, <italic>G</italic>, <italic>&#x3c0;</italic> of the natural gas pipeline, and <italic>H</italic> of the heat pipe, which has an equality relationship with the consensus parameters at the virtual node as shown in <xref ref-type="disp-formula" rid="e25">Eq.&#xa0;25</xref>.<disp-formula id="e25">
<mml:math id="m25">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
<label>(25)</label>
</disp-formula>
</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Consensus variables between the ECUs.</p>
</caption>
<graphic xlink:href="fenrg-10-846006-g006.tif"/>
</fig>
<p>According to <xref ref-type="disp-formula" rid="e24">Eq.&#xa0;24</xref>, the Lagrange expansion of the C-ADMM is shown in <xref ref-type="disp-formula" rid="e26">Eq.&#xa0;26</xref>. <xref ref-type="disp-formula" rid="e27">Eq.&#xa0;27</xref> is used to update the consensus variables and penalty factor.<disp-formula id="e26">
<mml:math id="m26">
<mml:mtable class="align">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:msub>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:munderover accentunder="false" accent="false">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:mfenced open="{" close="">
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ECU</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>ECU</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:munderover accentunder="false" accent="false">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>W</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mtext>EHR</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="&#x7c;" close="&#x7c;">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right"/>
<mml:mtd columnalign="left">
<mml:mspace width="1em"/>
<mml:mfenced open="" close="}">
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">&#x398;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:munder>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bb;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>&#x3c1;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:msubsup>
<mml:mrow>
<mml:mfenced open="&#x2016;" close="&#x2016;">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
</mml:mtable>
<mml:mo>.</mml:mo>
</mml:math>
<label>(26)</label>
</disp-formula>
<disp-formula id="e27">
<mml:math id="m27">
<mml:mfenced open="{" close="">
<mml:mrow>
<mml:mtable class="cases">
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msubsup>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3c1;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3c1;</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3bb;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3bb;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3bb;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3bb;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3c1;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(27)</label>
</disp-formula>
</p>
<p>In order to ensure the convergence of the optimization problems with discrete variables, previous work improved the C-ADMM algorithm, such as solving the MISOCP nonconvergence caused by the ring natural gas network through the nested computation of the discrete variables relaxation (<xref ref-type="bibr" rid="B22">Wen&#xa0;et&#xa0;al.,&#xa0;2017</xref>). The nonconvergence problem was solved by embedding the NC-ADMM method into the subproblem (<xref ref-type="bibr" rid="B4">Chen&#xa0;et&#xa0;al.,&#xa0;2020</xref>).</p>
<p>In order to ensure the convergence of the MISOCP constituent, a nested subalgorithm was added to the C-ADNN algorithm in this article, as shown in <xref ref-type="disp-formula" rid="e28">Eq.&#xa0;28</xref>. The additional increment term describes that all the ECUs support transmission loss of the DHN which can constrain the direction of each iteration and improve the convergence speed, while the loss linearization of the heat network is the premise of this improvement. The algorithm flow chart is shown in <xref ref-type="fig" rid="F7">Figure&#xa0;7</xref>.<disp-formula id="e28">
<mml:math id="m28">
<mml:msub>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>25</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3bb;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>loss&#x2009;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>H</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:munderover accentunder="false" accent="false">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>EH</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:munderover accentunder="false" accent="false">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>W</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:mi mathvariant="normal">&#x394;</mml:mi>
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>av</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>&#x3c1;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:msubsup>
<mml:mrow>
<mml:mfenced open="&#x2016;" close="&#x2016;">
<mml:mrow>
<mml:munderover accentunder="false" accent="false">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>EH</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:munderover accentunder="false" accent="false">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>W</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:mi mathvariant="normal">&#x394;</mml:mi>
<mml:msubsup>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>av</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msubsup>
<mml:mo>.</mml:mo>
</mml:math>
<label>(28)</label>
</disp-formula>
</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Algorithm flow chart of the improved C-ADMM.</p>
</caption>
<graphic xlink:href="fenrg-10-846006-g007.tif"/>
</fig>
<p>The nested subalgorithm is introduced as given below.<list list-type="simple">
<list-item>
<p>Step 1. Initializing the discrete variables <italic>B</italic>, <italic>k</italic>, and <italic>&#x3b8;</italic>. Setting the error tolerance <italic>&#x3b4;</italic>.</p>
</list-item>
<list-item>
<p>Step 2. Combining <xref ref-type="disp-formula" rid="e2">Eqs&#xa0;2</xref>&#x2013;<xref ref-type="disp-formula" rid="e16">16</xref> and <xref ref-type="disp-formula" rid="e18">Eqs&#xa0;18</xref>&#x2013;<xref ref-type="disp-formula" rid="e23">23</xref> to solve <xref ref-type="disp-formula" rid="e29">Eq.&#xa0;29</xref> and then obtaining the value of <italic>C</italic>
<sub>B</sub>, before which the unknown variable <italic>C</italic>
<sub>B</sub> takes place of the discrete variable <italic>B</italic>.</p>
</list-item>
</list>
<disp-formula id="e29">
<mml:math id="m29">
<mml:msubsup>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>B</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:munder accentunder="true">
<mml:mrow>
<mml:mi>argmin</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>B</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2190;</mml:mo>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>27</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:munderover accentunder="false" accent="false">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:mfrac>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:msubsup>
<mml:mrow>
<mml:mfenced open="&#x2016;" close="&#x2016;">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>B</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>B</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(29)</label>
</disp-formula>
<list list-type="simple">
<list-item>
<p>Step 3. Updating the discrete variables <italic>B</italic> and auxiliary variables <italic>z</italic>
<sub>B</sub> as shown in <xref ref-type="disp-formula" rid="e30">Eq.&#xa0;(30)</xref>.</p>
</list-item>
</list>
<disp-formula id="e30">
<mml:math id="m30">
<mml:mfenced open="{" close="">
<mml:mrow>
<mml:mtable class="cases">
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msubsup>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:munder accentunder="true">
<mml:mrow>
<mml:mi>argmin</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msubsup>
<mml:mrow>
<mml:mo movablelimits="false" form="prefix">&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mrow>
<mml:mfenced open="&#x2016;" close="&#x2016;">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msubsup>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msubsup>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(30)</label>
</disp-formula>
<list list-type="simple">
<list-item>
<p>Step 4. Comparing the error obtained by <xref ref-type="disp-formula" rid="e29">Eq.&#xa0;29</xref> with <italic>&#x3b4;</italic>. If the error is little enough, the iterative process will be broken, and if on the contrary, steps two to four will be repeated.</p>
</list-item>
</list>
</p>
<p>The addition of the nested subalgorithm makes the solution approach the feasible region infinitely. When the difference between the original and the dual errors of the original problem is small enough, the convergence process can be sped up significantly.</p>
</sec>
<sec id="s5">
<title>5 Case Study</title>
<sec id="s5-1">
<title>5.1 System Description</title>
<p>According to the partition method, the insertion of virtual nodes into the energy networks and partitioning them is based on the principle stated in <xref ref-type="sec" rid="s3-1">section&#xa0;3.1</xref>. The ECUs can completely contain all the nodes without repeat, as shown in <xref ref-type="fig" rid="F8">Figure&#xa0;8A</xref>. The partition details are shown in <xref ref-type="fig" rid="F8">Figure&#xa0;8B</xref>.</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>MRIES partition based on ECU. <bold>(A)</bold> Overall partition of MRIES. <bold>(B)</bold> Partition details of MRIES.</p>
</caption>
<graphic xlink:href="fenrg-10-846006-g008.tif"/>
</fig>
<p>This article uses the improved C-ADMM algorithm to complete the distributed optimization of the MRIES in two scenarios.</p>
<p>Scenario A: Optimizing the MRIES containing electrical, gas, and heating networks based on the ECUs.</p>
<p>Scenario B: Optimizing the MRIES containing the electrical and natural gas networks based on the ECUs.</p>
<p>In both the scenarios, the MRIES have the same loads. Nevertheless, in Scenario B, the coupling equipment produces the heating to meet the heating demands.</p>
<p>Conversion efficiency functions of the coupling devices are shown in <xref ref-type="table" rid="T1">Table&#xa0;1</xref>. The types of coupling devices in the MRIES are shown in <xref ref-type="table" rid="T2">Table&#xa0;2</xref>. The energy prices and loads of each EH are shown in <xref ref-type="fig" rid="F9">Figure&#xa0;9</xref>.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Parameters of the energy coupling equipment.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Coupling Device</th>
<th align="center">Capacity (kW)</th>
<th align="left">Efficiency Function</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">EC</td>
<td align="left">400</td>
<td align="left">Out &#x3d; &#x2212;0.00003041&#x2a;In3&#x2b;0.01901&#x2a;ln2&#x2b;0.2593&#x2a;ln</td>
</tr>
<tr>
<td align="left">HP</td>
<td align="left">400</td>
<td align="left">Out &#x3d; 3&#x2a;In</td>
</tr>
<tr>
<td align="left">CHP</td>
<td align="left">e:300</td>
<td align="left">Out &#x3d; 0.0001150&#x2a;In2&#x2b;0.2305&#x2a;In</td>
</tr>
<tr>
<td align="left"/>
<td align="left">h:420</td>
<td align="left">Out &#x3d; 0.0001611&#x2a;In2&#x2b;0.3228&#x2a;In</td>
</tr>
<tr>
<td align="left">GB</td>
<td align="left">900</td>
<td align="left">Out &#x3d; 0.8&#x2a;In</td>
</tr>
<tr>
<td align="left">HS</td>
<td align="left">800</td>
<td align="left">h &#x3d; &#x2212;0.00005&#x2a;In&#x2b;0.93</td>
</tr>
<tr>
<td align="left"/>
<td align="left">(3.2&#xa0;MWh)</td>
<td align="left">g &#x3d; &#x2212;0.00005&#x2a;Out&#x2b;0.93</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Region type and the configuration of EHs.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left"/>
<th align="center">Region Types</th>
<th colspan="5" align="center">Equipment</th>
</tr>
<tr>
<th align="left"/>
<th align="left">
</th>
<th align="center">EC</th>
<th align="center">HP</th>
<th align="center">CHP</th>
<th align="center">GB</th>
<th align="center">HS</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">&#xa0;&#xa0;EH1</td>
<td align="center">Residential area</td>
<td align="center">&#x2713;</td>
<td align="center">&#x2713;</td>
<td align="center">&#x2713;</td>
<td align="left"/>
<td align="left"/>
</tr>
<tr>
<td align="left">&#xa0;&#xa0;EH2</td>
<td align="center">Office area</td>
<td align="center">&#x2713;</td>
<td align="center">&#x2713;</td>
<td align="center">&#x2713;</td>
<td align="center">&#x2713;</td>
<td align="left"/>
</tr>
<tr>
<td align="left">&#xa0;&#xa0;EH3</td>
<td align="center">Business area</td>
<td align="center">&#x2713;</td>
<td align="center">&#x2713;</td>
<td align="center">&#x2713;</td>
<td align="left"/>
<td align="center">&#x2713;</td>
</tr>
<tr>
<td align="left">&#xa0;&#xa0;EH4</td>
<td align="center">Industrial area</td>
<td align="center">&#x2713;</td>
<td align="center">&#x2713;</td>
<td align="center">&#x2713;</td>
<td align="left"/>
<td align="center">&#x2713;</td>
</tr>
</tbody>
</table>
</table-wrap>
<fig id="F9" position="float">
<label>FIGURE 9</label>
<caption>
<p>Model data of MRIES. <bold>(A)</bold> Energy price of system. <bold>(B)</bold> Daily cooling load of each EH. <bold>(C)</bold> Daily heat load of each EH. <bold>(D)</bold> Daily electrical load of each EH.</p>
</caption>
<graphic xlink:href="fenrg-10-846006-g009.tif"/>
</fig>
<p>The codes were written in MATLAB 9.4.0.813654 (R2018a), and all the experiments were conducted on a desktop with 3.00&#xa0;GHz Intel Core i5 and 16.0&#xa0;GB RAM.</p>
</sec>
<sec id="s5-2">
<title>5.2 Analysis of Optimization Results</title>
<p>The improved algorithm proposed is used to optimize this MRIES in this article. The energy inputs to the equipment of the four ECUs in the different scenarios are shown in <xref ref-type="fig" rid="F10">Figure&#xa0;10</xref>.</p>
<fig id="F10" position="float">
<label>FIGURE 10</label>
<caption>
<p>Energy input of each equipment. <bold>(A)</bold> Energy input of each equipment in scenario A. <bold>(B)</bold> Energy input of each equipment in scenario B.</p>
</caption>
<graphic xlink:href="fenrg-10-846006-g010.tif"/>
</fig>
<p>As shown in <xref ref-type="fig" rid="F10">Figure&#xa0;10A</xref>, to support the heating load concentrated in midday, the HP is constantly working during low loading time of energy consumption when the power is cheaper. The heating is stored in the HS at night, which releases when the electricity price is high. In addition to this, the GB supports the remaining heating demand. Since there is no GB in EH3, it can only generate heat through the CHP. Furthermore, EH3 has the largest electric load at midday. As a result, the CHP runs at full capacity at all the time. In addition, the CHPs in EH2 and EH4 also run at full capacity at midday when the electric and heating load is large. On the other hand, the electric and heating load is relatively small in EH1. Therefore, the CHP is mainly used for power and heating supply in the peak load period, and the HP will start up for heat supplement during the flat power demand period.</p>
<p>As shown in <xref ref-type="fig" rid="F10">Figure&#xa0;10B</xref>, EH4 uses HP and GB with a high cost to supply heat due to the lack of DHN for heat exchange in scenario B. EH3 no longer needs to provide the heating to the DHN, which produced significant heating in scenario A. As a result, the utilization rate of HP and HS becomes lower. The overall energy cost response of the MRIES weakened in scenario B.</p>
<p>The heating generated by the EH, which is beyond the local heating load, is transmitted to the DHN. As shown in <xref ref-type="fig" rid="F11">Figure&#xa0;11</xref>, the energy represented by the blue block is equal to the energy of other color blocks higher than the heat load line (except the purple block that indicates heating storage). It should be noted that for the intuitive description, the load curves in <xref ref-type="fig" rid="F11">Figure&#xa0;11</xref> are superimposed of electricity, gas, and heating load curves.</p>
<fig id="F11" position="float">
<label>FIGURE 11</label>
<caption>
<p>Energy components of the EHs in scenario A and B. <bold>(A)</bold> Energy components of EH1 in scenario A. <bold>(B)</bold> Energy components of EH2 in scenario A. <bold>(C)</bold> Energy components of EH3 in scenario A. <bold>(D)</bold> Energy components of EH4 in scenario A. <bold>(E)</bold> Energy components of EH1 in scenario B. <bold>(F)</bold> Energy components of EH2 in scenario B. <bold>(G)</bold> Energy components of EH3 in scenario B. <bold>(H)</bold> Energy components of EH4 in scenario B.</p>
</caption>
<graphic xlink:href="fenrg-10-846006-g011.tif"/>
</fig>
<p>Because the coupling of the ECU in the electric network and natural gas network is only reflected in energy transmission, the energy interaction of each ECU in the DHN is mainly analyzed. The energy outputs of each EH device and the energy interaction with the DHN are integrated into <xref ref-type="fig" rid="F11">Figures&#xa0;11A&#x2013;D</xref>. Evidently, the DHN realizes the heating interaction between the ECUs and dramatically increases the flexibility of energy utilization of the system. In scenario A, the EH1 internal equipment composition is relatively simple, which mainly absorbs the heat from the DHN. Although EH4 has many types of internal heat generation equipment, it still mainly absorbs the heat from the DHN due to its large heating load.</p>
<p>From <xref ref-type="fig" rid="F11">Figure&#xa0;11E&#x2013;H</xref>, we can see that the heating support of EH3 is significantly reduced in scenario B. EH1, EH2, and EH4 have to convert energy through the coupling equipment in their units to meet the local loads, confirming the previous analysis conclusion. The total energy cost of scenario A is 12,281.24 dollars while that of scenario B is 15,234.56 dollars. For now, we can get the importance of the multi-energy cooperative scheduling.</p>
</sec>
<sec id="s5-3">
<title>5.3 Comparison of Algorithm Performance</title>
<p>The accuracy and convergence performance of the algorithm proposed are improved in this article. As analyzed previously, the improved algorithm can realize the MRIES global optimization through the unit internal optimization and information interaction between the units. The distributed optimization is not based on the whole system data; it can only approach the result of the centralized algorithm infinitely but cannot be better than that, and the insufficient iteration of the MISOCP will aggravate this error. The centralized algorithm which optimizes based on the whole system data can provide a precision reference for the improved distributed algorithm. The improved C-ADMM algorithm in this article adds the nested subalgorithm, which can not only overcome the nonconvergence problem caused by the MISOCP but can also approach the feasible region more closely than the C-ADMM algorithm, making the results more accurate. The results of the centralized algorithm, C-ADMM algorithm, and improved C-ADMM algorithm are shown as <xref ref-type="table" rid="T3">Table&#xa0;3</xref>. The total energy cost error of the improved C-ADMM algorithm is about 0.1%. In contrast, the error of the C-ADMM algorithm is about 1.3%. In addition, the electricity and gas cost error are also relatively less. This shows that the improved algorithm proposed in this article achieves better optimization results than the original C-ADMM.</p>
<table-wrap id="T3" position="float">
<label>TABLE 3</label>
<caption>
<p>Comparison of the algorithm error.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">
<bold>Algorithm</bold>
</th>
<th colspan="2" align="center">Total cost</th>
<th colspan="2" align="center">Power cost</th>
<th colspan="2" align="center">Natural gas cost</th>
</tr>
<tr>
<th>
</th>
<th>
<bold>data/$</bold>
</th>
<th>
<bold>error</bold>
</th>
<th>
<bold>data/$</bold>
</th>
<th>
<bold>error</bold>
</th>
<th>
<bold>data/$</bold>
</th>
<th>
<bold>error</bold>
</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">&#xa0;&#xa0;Centralized optimization</td>
<td align="left">12,281.24</td>
<td align="left">0</td>
<td align="left">5,950.02</td>
<td align="left">0</td>
<td align="left">6,343.91</td>
<td align="left">0</td>
</tr>
<tr>
<td align="left">&#xa0;&#xa0;C-ADMM</td>
<td align="left">12,436.12</td>
<td align="left">1.3%</td>
<td align="left">5,694.48</td>
<td align="left">4.3%</td>
<td align="left">6,741.64</td>
<td align="left">6.3%</td>
</tr>
<tr>
<td align="left">&#xa0;&#xa0;Improved C-ADMM</td>
<td align="left">12,293.95</td>
<td align="left">0.1%</td>
<td align="left">5,715.71</td>
<td align="left">3.9%</td>
<td align="left">6,578.99</td>
<td align="left">3.7%</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>By comparing the convergence performance of the improved algorithm proposed in this article with that of the C-ADMM, the improved algorithm meets the accuracy requirement after 40 iterations. In comparison, the original algorithm needs 90 iterations under the same parameters as shown in <xref ref-type="fig" rid="F12">Figure&#xa0;12</xref>. In this article, the unit internal optimization and the information interaction between the units with the cloud are integrated and simulated on a computer. According to the simulation statistics, the C-ADMM algorithm takes 79.71&#xa0;s, while the improved C-ADMM algorithm takes 40.76&#xa0;s. Therefore, the convergence performance of the improved algorithm is better than that of the original algorithm.</p>
<fig id="F12" position="float">
<label>FIGURE 12</label>
<caption>
<p>Comparison of the residual convergence in the distributed algorithms.</p>
</caption>
<graphic xlink:href="fenrg-10-846006-g012.tif"/>
</fig>
<p>The rationality of the distributed optimization with the ECU as a subsystem was verified by the improved algorithm. At the same time, the improved algorithm is proven to be superior to the original algorithm. The ECU provides a standard unit form for the improved consensus-ADMM algorithm, and their strengths are closely combined to achieve good optimization results.</p>
</sec>
</sec>
<sec id="s6">
<title>6 Conclusion and Prospects</title>
<p>From the perspective of the data interaction architecture, this study compares the differences, advantages, and disadvantages of the centralized optimization and distributed optimization, where the IES is decoupled according to the energy networks and the distributed optimization based on the proposed ECU framework. In addition, a unified network partition method is proposed, and the ECU model is introduced in detail.</p>
<p>This study improved the C-ADMM method to adapt to the ECU model. A study case verifies the improved convergence performance of the improved algorithm, and the algorithm was proven to assist the ECU model in completing the distributed optimization of the MRIES well.</p>
<p>In conclusion, the ECU model proposed in this article can fully play the advantages of energy utilization and data management of the RIES and serve as a distributed unit connected to the upper energy network and the lower load layer. Moreover, it breaks through the limitation that the IES distributed optimization with EH as the main body failed to consider the constraints of networks. In addition, the ECU framework can be used as the unit of the MRIES for further research, such as model predictive control and study for the uncertainty involved by wind power and photovoltaic. In addition, the future work will consider carbon emission inthe optimization objective for the carbon peak and carbon neutrality targets.</p>
</sec>
</body>
<back>
<sec id="s7">
<title>Data Availability Statement</title>
<p>The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec id="s8">
<title>Author Contributions</title>
<p>MW: conceptualization, methodology, software, validation, formal analysis, investigation, writing&#x2014;original draft, visualization, and resources. HZ: methodology, software, validation, writing&#x2014;review and editing, supervision, project administration, and funding acquisition. HT: methodology, writing&#x2014;review and editing, and project administration. QW: methodology, validation, writing&#x2014;review and editing, and project administration.</p>
</sec>
<sec id="s9">
<title>Funding</title>
<p>This work was supported by the National Key R&#x26;D Program of China under Grant No. 2018YFA0702200.</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="s12">
<title>Publisher&#x2019;s Note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Albataineh</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Nijim</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Bollampall</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2020</year>). &#x201c;<article-title>The Design of a Novel Smart home Control System Using Smart Grid Based on Edge and Cloud Computing</article-title>,&#x201d; in <source>2020 IEEE 8th International Conference on Smart Energy Grid Engineering (SEGE)</source>, <fpage>88</fpage>&#x2013;<lpage>91</lpage>. <pub-id pub-id-type="doi">10.1109/SEGE49949.2020.9181961</pub-id> </citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Baran</surname>
<given-names>M. E.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>F. F.</given-names>
</name>
</person-group> (<year>1989</year>). <article-title>Network Reconfiguration in Distribution Systems for Loss Reduction and Load Balancing</article-title>. <source>IEEE Trans. Power Deliv.</source> <volume>4</volume>, <fpage>1401</fpage>&#x2013;<lpage>1407</lpage>. <pub-id pub-id-type="doi">10.1109/61.25627</pub-id> </citation>
</ref>
<ref id="B3">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Cao</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Wei</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Hu</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2019</year>). &#x201c;<article-title>Exploring Renewable-Adaptive Computation Offloading for Hierarchical Qos Optimization in Fog Computing</article-title>,&#x201d; in <source>IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems</source>, <fpage>1</fpage>. <pub-id pub-id-type="doi">10.1109/TCAD.2019.2957374</pub-id> </citation>
</ref>
<ref id="B4">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Deng</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Shao</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<year>2020</year>). &#x201c;<article-title>Distributed Robust Synergistic Scheduling of Electricity, Natural Gas, Heating and Cooling Systems via Admm</article-title>,&#x201d; in <source>International Journal of Energy Research</source>. <pub-id pub-id-type="doi">10.1002/er.6379</pub-id> </citation>
</ref>
<ref id="B5">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Lin</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Zhihao</surname>
<given-names>L. I.</given-names>
</name>
<name>
<surname>Song</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Yifeng</surname>
<given-names>G. U.</given-names>
</name>
</person-group> (<year>2019</year>). &#x201c;<article-title>Distributed Optimal Dispatch of Integrated Electricity-Gas-Heating System Based on Improved Alternative Direction Multiplier Method</article-title>,&#x201d; in <source>Automation of Electric Power Systems</source>. <pub-id pub-id-type="doi">10.7500/AEPS20180720004</pub-id> </citation>
</ref>
<ref id="B6">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Xia</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Hu</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2018</year>). &#x201c;<article-title>Distributed Energy Management for Integrated Energy System Considering Multiple Independent Operators</article-title>,&#x201d; in <source>2018 IEEE Power Energy Society General Meeting (PESGM)</source>, <fpage>1</fpage>&#x2013;<lpage>5</lpage>. <pub-id pub-id-type="doi">10.1109/pesgm.2018.8586052</pub-id> </citation>
</ref>
<ref id="B7">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Bai</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Gao</surname>
<given-names>T.</given-names>
</name>
<etal/>
</person-group> (<year>2019</year>). &#x201c;<article-title>A Framework of Decentralized Electricity Market Based on the Collaborative Mechanism of Blockchain and Edge Computing</article-title>,&#x201d; in <source>2019 IEEE International Conference on Service Operations and Logistics, and Informatics (SOLI)</source>, <fpage>219</fpage>&#x2013;<lpage>223</lpage>. <pub-id pub-id-type="doi">10.1109/SOLI48380.2019.8955023</pub-id> </citation>
</ref>
<ref id="B8">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Mu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Hongjie</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Wei</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Wei</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2021</year>). &#x201c;<article-title>Operation Optimization Method for Regional Integrated Energy System that Considers Part-Load Performances of Devices</article-title>,&#x201d; in <source>Power System Technology</source>. <pub-id pub-id-type="doi">10.13335/j.1000-3673.pst.2020.1149</pub-id> </citation>
</ref>
<ref id="B9">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Haitao</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Zha</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Xi</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Jian</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2021</year>). <source>Research on Distributed Cooperative Optimization of Multi-Agent Integrated Energy System Based on Admm Algorithm</source>. <publisher-loc>Harbin, Heilongjiang Province</publisher-loc>: <publisher-name>Electrical Measurement &#x26; Instrumentation</publisher-name>, <fpage>1</fpage>&#x2013;<lpage>9</lpage>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="http://kns.cnki.net/kcms/detail/23.1202.TH.20210506.1312.006.html">http://kns.cnki.net/kcms/detail/23.1202.TH.20210506.1312.006.html</ext-link>
</comment> (<comment>Accessed April 10, 2022</comment>). </citation>
</ref>
<ref id="B10">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Haozhong</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Xiao</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Yuquan</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Qi</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2019</year>). &#x201c;<article-title>Review on Research of Regional Integrated Energy System Planning</article-title>,&#x201d; in <source>Automation of Electric Power Systems</source>, <volume>43</volume>, <fpage>12</fpage>. <pub-id pub-id-type="doi">10.7500/AEPS20180416006</pub-id> </citation>
</ref>
<ref id="B11">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Hu</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Shang</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Cheng</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Yong</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2020</year>). &#x201c;<article-title>Review and prospect of Calculation Method for Energy Flow in Integrated Energy System</article-title>,&#x201d; in <source>Automation of Electric Power Systems</source>, <volume>44</volume>, <fpage>13</fpage>. <pub-id pub-id-type="doi">10.7500/AEPS20191113001</pub-id> </citation>
</ref>
<ref id="B12">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Huang</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Capuder</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Kang</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2019</year>). &#x201c;<article-title>Matrix Modeling of Energy Hub with Variable Energy Efficiencies</article-title>,&#x201d; in <source>International Journal of Electrical Power and Energy Systems</source>. <pub-id pub-id-type="doi">10.1016/j.ijepes.2020.105876</pub-id> </citation>
</ref>
<ref id="B13">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Liu</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Zeng</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2021</year>). &#x201c;<article-title>Control Strategy of Virtual Power Station in Distribution Transformer Area under Edge Computing Architecture</article-title>,&#x201d; in <source>Transactions of China Electrotechnical Society</source>, <fpage>52</fpage>&#x2013;<lpage>56</lpage>. <pub-id pub-id-type="doi">10.19595/j.cnki.1000-6753.tces.l90517</pub-id> </citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Liu</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Standardised Modelling and Optimisation of a System of Interconnected Energy Hubs Considering Multiple Energies-Electricity, Gas, Heating, and Cooling</article-title>. <source>Energ. Convers. Manage.</source> <volume>205</volume>, <fpage>112410</fpage>. <pub-id pub-id-type="doi">10.1016/j.enconman.2019.112410</pub-id> </citation>
</ref>
<ref id="B15">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Ma</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Fan</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Miao</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<year>2016</year>). &#x201c;<article-title>Consensus Admm and Proximal Admm for Economic Dispatch and Ac Opf with Socp Relaxation</article-title>,&#x201d; in <source>North American Power Symposium</source>. <pub-id pub-id-type="doi">10.1109/naps.2016.7747961</pub-id> </citation>
</ref>
<ref id="B16">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Na</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Xichao</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Bing</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Lin</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Tai</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Chongchao</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2020</year>). &#x201c;<article-title>Research on Optimization Models of Integrated Energy System</article-title>,&#x201d; in <source>Shanghai Energy Conservation</source>, <fpage>6</fpage>. <pub-id pub-id-type="doi">10.13770/j.cnki.issn2095-705x.2020.06.007</pub-id> </citation>
</ref>
<ref id="B17">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Gu</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Lu</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2016</year>). &#x201c;<article-title>Coordinated Planning of Multi-District Integrated Energy System Combining Heating Network Model</article-title>,&#x201d; in <source>Automation of Electric Power Systems</source>, <volume>40</volume>, <fpage>8</fpage>. <pub-id pub-id-type="doi">10.7500/AEPS20160426010</pub-id> </citation>
</ref>
<ref id="B18">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Hong</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Ma</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Luo</surname>
<given-names>Z. Q.</given-names>
</name>
</person-group> (<year>2013</year>). &#x201c;<article-title>Solving Multiple-Block Separable Convex Minimization Problems Using Two-Block Alternating Direction Method of Multipliers</article-title>,&#x201d; in <source>Pacific Journal of Optimization</source>, <fpage>11</fpage>. <pub-id pub-id-type="doi">10.48550/arXiv.1308.5294</pub-id> </citation>
</ref>
<ref id="B19">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Kang</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Kirschen</surname>
<given-names>D. S.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Xia</surname>
<given-names>Q.</given-names>
</name>
</person-group> (<year>2017</year>). &#x201c;<article-title>Standardized Matrix Modeling of Multiple Energy Systems</article-title>,&#x201d; in <source>IEEE Transactions on Smart Grid</source>. <pub-id pub-id-type="doi">10.1109/TSG.2017.2737662</pub-id> </citation>
</ref>
<ref id="B20">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Wei</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Lu</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Yin</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<year>2017</year>). &#x201c;<article-title>Modeling of the Heating Network for Multi-District Integrated Energy System and its Operation Optimization</article-title>,&#x201d; in <source>Proceedings of the Chinese Society of Electrical Engineering</source>, <fpage>3737</fpage>. <pub-id pub-id-type="doi">10.13334/j.0258-8013.pcsee.160991</pub-id> </citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Weisong</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Hui</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Jie</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Edge Computing&#x2013;An Emerging Computing Model for the Internet of Everything Era</article-title>. <source>Comput. Res. Develop.</source> <volume>54</volume>, <fpage>18</fpage>. <pub-id pub-id-type="doi">10.7544/issn1000-1239.2017.20160941</pub-id> </citation>
</ref>
<ref id="B22">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Wen</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Qu</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Ye</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2017</year>). &#x201c;<article-title>Synergistic Operation of Electricity and Natural Gas Networks via Admm</article-title>,&#x201d; in <source>IEEE Transactions on Smart Grid</source>, <fpage>1</fpage>. <pub-id pub-id-type="doi">10.1109/TSG.2017.2663380</pub-id> </citation>
</ref>
<ref id="B23">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Wu</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Wan</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Jiang</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2020</year>). &#x201c;<article-title>Hierarchical Autonomous Cooperative Operation of District Integrated Heating and Power System</article-title>,&#x201d; in <source>2020 IEEE/IAS Industrial and Commercial Power System Asia (I&#x26;CPS Asia)</source>. <pub-id pub-id-type="doi">10.1109/icpsasia48933.2020.9208372</pub-id> </citation>
</ref>
<ref id="B24">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Xu</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2019</year>). &#x201c;<article-title>Distributed Multi-Energy Operation of Coupled Electricity, Heating and Natural Gas Networks</article-title>,&#x201d; in <source>IEEE Transactions on Sustainable Energy</source>, <fpage>1</fpage>. <pub-id pub-id-type="doi">10.1109/TSTE.2019.2961432</pub-id> </citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yunzhou</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Hongcai</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Xiaoyu</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Rui</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Ning</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Development Trends and Key Issue of china&#x2019;s Integrated Energy Services</article-title>. <source>Electric Power</source> <volume>2</volume>, <fpage>1</fpage>&#x2013;<lpage>10</lpage>. <pub-id pub-id-type="doi">10.11930/j.issn.1004-9649.202012040</pub-id> </citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Tang</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Multi-agent Bargaining Learning for Distributed Energy Hub Economic Dispatch</article-title>. <source>IEEE Access</source> <volume>6</volume>, <fpage>39564</fpage>&#x2013;<lpage>39573</lpage>. <pub-id pub-id-type="doi">10.1109/access.2018.2853263</pub-id> </citation>
</ref>
</ref-list>
<sec id="s11">
<title>Nomenclature</title>
<p>
<bold>Abbreviations</bold>
</p>
<def-list>
<def-item>
<term id="G1-fenrg.2022.846006">
<bold>ADMM</bold>
</term>
<def>
<p>Alternating direction multiplier method</p>
</def>
</def-item>
<def-item>
<term id="G2-fenrg.2022.846006">
<bold>C-ADMM</bold>
</term>
<def>
<p>Consensus-alternating direction multiplier method</p>
</def>
</def-item>
<def-item>
<term id="G3-fenrg.2022.846006">
<bold>CHP</bold>
</term>
<def>
<p>Combined heat and power</p>
</def>
</def-item>
<def-item>
<term id="G4-fenrg.2022.846006">
<bold>DHN</bold>
</term>
<def>
<p>District Heating Network</p>
</def>
</def-item>
<def-item>
<term id="G5-fenrg.2022.846006">
<bold>ECU</bold>
</term>
<def>
<p>Edge computing unit</p>
</def>
</def-item>
<def-item>
<term id="G6-fenrg.2022.846006">
<bold>EC</bold>
</term>
<def>
<p>Electrical chiller</p>
</def>
</def-item>
<def-item>
<term id="G7-fenrg.2022.846006">
<bold>EHR</bold>
</term>
<def>
<p>Electricity consumption to transferred heating quantity ratio</p>
</def>
</def-item>
<def-item>
<term id="G8-fenrg.2022.846006">
<bold>EH</bold>
</term>
<def>
<p>Energy hub</p>
</def>
</def-item>
<def-item>
<term id="G9-fenrg.2022.846006">
<bold>GB</bold>
</term>
<def>
<p>Gas boiler</p>
</def>
</def-item>
<def-item>
<term id="G10-fenrg.2022.846006">
<bold>GS-ADMM</bold>
</term>
<def>
<p>Gauss&#x2013;Seidel alternating direction multiplier method</p>
</def>
</def-item>
<def-item>
<term id="G11-fenrg.2022.846006">
<bold>HP</bold>
</term>
<def>
<p>Heat pump</p>
</def>
</def-item>
<def-item>
<term id="G12-fenrg.2022.846006">
<bold>HS</bold>
</term>
<def>
<p>Heat storage</p>
</def>
</def-item>
<def-item>
<term id="G13-fenrg.2022.846006">
<bold>IES</bold>
</term>
<def>
<p>Integrated energy system</p>
</def>
</def-item>
<def-item>
<term id="G14-fenrg.2022.846006">
<bold>MILP</bold>
</term>
<def>
<p>Mixed-integer linear programming</p>
</def>
</def-item>
<def-item>
<term id="G15-fenrg.2022.846006">
<bold>MISOCP</bold>
</term>
<def>
<p>Mixed-integer second-order cone programming</p>
</def>
</def-item>
<def-item>
<term id="G16-fenrg.2022.846006">
<bold>MRIES</bold>
</term>
<def>
<p>Multiregion integrated energy system</p>
</def>
</def-item>
<def-item>
<term id="G17-fenrg.2022.846006">
<bold>NC-ADMM</bold>
</term>
<def>
<p>Nonconvex alternating direction multiplier method</p>
</def>
</def-item>
<def-item>
<term id="G18-fenrg.2022.846006">
<bold>RIES</bold>
</term>
<def>
<p>Regional integrated energy system</p>
</def>
</def-item>
<def-item>
<term id="G19-fenrg.2022.846006">
<bold>SOCP</bold>
</term>
<def>
<p>Second-order core programing</p>
</def>
</def-item>
</def-list>
<p>
<bold>Indices</bold>
</p>
<def-list>
<def-item>
<term id="G21-fenrg.2022.846006">
<italic>a</italic>, <italic>b</italic>, <italic>&#x3c9;</italic>
</term>
<def>
<p>Index of natural gas network nodes</p>
</def>
</def-item>
<def-item>
<term id="G22-fenrg.2022.846006">
<italic>d</italic>
</term>
<def>
<p>Index of loads in energy networks</p>
</def>
</def-item>
<def-item>
<term id="G23-fenrg.2022.846006">
<italic>g</italic>, <italic>pv</italic>, <italic>wt</italic>
</term>
<def>
<p>Indices of electrical generating units, photovoltaic power plants, and wind turbines</p>
</def>
</def-item>
<def-item>
<term id="G24-fenrg.2022.846006">
<italic>i</italic>, <italic>j</italic>, <italic>o</italic>
</term>
<def>
<p>Index of electrical network nodes</p>
</def>
</def-item>
<def-item>
<term id="G25-fenrg.2022.846006">
<italic>k</italic>
</term>
<def>
<p>Index of iteration numbers</p>
</def>
</def-item>
<def-item>
<term id="G26-fenrg.2022.846006">
<italic>p</italic>
</term>
<def>
<p>Index of heating network pipelines</p>
</def>
</def-item>
<def-item>
<term id="G27-fenrg.2022.846006">
<italic>r</italic>, <italic>f</italic>
</term>
<def>
<p>Indices of unpartitioned nodes and EH nodes in energy networks</p>
</def>
</def-item>
<def-item>
<term id="G28-fenrg.2022.846006">
<italic>s</italic>
</term>
<def>
<p>Index of binary variables</p>
</def>
</def-item>
<def-item>
<term id="G29-fenrg.2022.846006">
<italic>t</italic>
</term>
<def>
<p>Index of time intervals</p>
</def>
</def-item>
<def-item>
<term id="G30-fenrg.2022.846006">
<italic>u</italic>, <italic>v</italic>, <italic>m</italic>
</term>
<def>
<p>Index of heating network nodes</p>
</def>
</def-item>
</def-list>
<p>
<bold>Parameters</bold>
</p>
<def-list>
<def-item>
<term id="G32-fenrg.2022.846006">
<italic>&#x3bc;</italic>
</term>
<def>
<p>Proportionality constant</p>
</def>
</def-item>
<def-item>
<term id="G33-fenrg.2022.846006">
<italic>&#x3c1;</italic>
</term>
<def>
<p>Penalty factor in the C-ADMM algorithm</p>
</def>
</def-item>
<def-item>
<term id="G34-fenrg.2022.846006">
<italic>&#x2211;R</italic>
</term>
<def>
<p>Total thermal resistance between the heat medium and surrounding medium per kilometer of pipe</p>
</def>
</def-item>
<def-item>
<term id="G35-fenrg.2022.846006">
<italic>&#x3b8;</italic>
</term>
<def>
<p>Penalty factor in the subalgorithm</p>
</def>
</def-item>
<def-item>
<term id="G36-fenrg.2022.846006">
<italic>c</italic>
<sub>
<italic>e</italic>,<italic>t</italic>
</sub>, <italic>c</italic>
<sub>
<italic>g</italic>,<italic>t</italic>
</sub>
</term>
<def>
<p>Electricity price and natural gas price at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G37-fenrg.2022.846006">
<italic>K</italic>
<sub>
<italic>ab</italic>
</sub>
</term>
<def>
<p>Weymouth characteristic parameter of the pipeline <italic>ab</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G38-fenrg.2022.846006">
<italic>l</italic>
<sub>
<italic>uv</italic>
</sub>
</term>
<def>
<p>Length of the pipe <italic>uv</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G39-fenrg.2022.846006">
<italic>N</italic>
</term>
<def>
<p>Number of EHs</p>
</def>
</def-item>
<def-item>
<term id="G40-fenrg.2022.846006">
<italic>pi</italic>
</term>
<def>
<p>Circular constant</p>
</def>
</def-item>
<def-item>
<term id="G41-fenrg.2022.846006">
<italic>S</italic>
</term>
<def>
<p>Number of binary variables</p>
</def>
</def-item>
<def-item>
<term id="G42-fenrg.2022.846006">
<italic>W</italic>
</term>
<def>
<p>Number of pipes in the DHN</p>
</def>
</def-item>
</def-list>
<p>
<bold>Sets</bold>
</p>
<def-list>
<def-item>
<term id="G44-fenrg.2022.846006">
<italic>&#x3b3;</italic> &#x2208;&#xa0;<bold>&#x393;</bold>
</term>
<def>
<p>Set of segments in piecewise linearization</p>
</def>
</def-item>
<def-item>
<term id="G45-fenrg.2022.846006">
<bold>&#x39b;</bold>(<italic>b</italic>), <bold>&#x3a5;</bold>(<italic>b</italic>)</term>
<def>
<p>Set of loads and downstream nodes connected to node j in the natural gas network</p>
</def>
</def-item>
<def-item>
<term id="G46-fenrg.2022.846006">
<bold>&#x3a6;</bold>(<italic>
<bold>u</bold>
</italic>)</term>
<def>
<p>Set of downstream nodes connected to node <italic>u</italic> in the DHN</p>
</def>
</def-item>
<def-item>
<term id="G47-fenrg.2022.846006">
<bold>&#x3a0;</bold>(<italic>j</italic>), <bold>&#x3a9;</bold>(<italic>j</italic>)</term>
<def>
<p>Set of devices and downstream nodes connected to node <italic>j</italic> in the power system</p>
</def>
</def-item>
<def-item>
<term id="G48-fenrg.2022.846006">
<bold>&#x398;</bold>
<sub>
<bold>n</bold>
</sub>
</term>
<def>
<p>Set of energy transmission lines between the <italic>n</italic>th ECU with others</p>
</def>
</def-item>
<def-item>
<term id="G49-fenrg.2022.846006">
<inline-formula id="inf1">
<mml:math id="m31">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold">A</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">upper</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold">B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">under</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Set of upstream and downstream virtual nodes of the ECU <italic>n</italic> in the natural gas network</p>
</def>
</def-item>
<def-item>
<term id="G50-fenrg.2022.846006">
<inline-formula id="inf2">
<mml:math id="m32">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold">I</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">upper</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold">J</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">under</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Set of upstream and downstream virtual nodes of the ECU <italic>n</italic> in the power system</p>
</def>
</def-item>
</def-list>
<p>
<bold>Variables</bold>
</p>
<def-list>
<def-item>
<term id="G52-fenrg.2022.846006">
<inline-formula id="inf3">
<mml:math id="m33">
<mml:mi mathvariant="bold-italic">&#x394;</mml:mi>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">av</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Available heating loss of the <italic>p</italic>th pipe</p>
</def>
</def-item>
<def-item>
<term id="G53-fenrg.2022.846006">
<inline-formula id="inf4">
<mml:math id="m34">
<mml:mi mathvariant="bold-italic">&#x394;</mml:mi>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mi mathvariant="bold-italic">v</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">av</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">&#x394;</mml:mi>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">m</mml:mi>
<mml:mi mathvariant="bold-italic">u</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">av</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Available heating loss of pipe <italic>uv</italic> and pipe <italic>mu</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G54-fenrg.2022.846006">
<inline-formula id="inf5">
<mml:math id="m35">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">I</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>
</term>
<def>
<p>Square value of branch <italic>ij</italic> current at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G55-fenrg.2022.846006">
<inline-formula id="inf6">
<mml:math id="m36">
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">I</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">max</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">I</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">min</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Lower/upper bounds of square value of branch <italic>ij</italic> current</p>
</def>
</def-item>
<def-item>
<term id="G56-fenrg.2022.846006">
<inline-formula id="inf7">
<mml:math id="m37">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">V</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>
</term>
<def>
<p>Square value of the node voltage at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G57-fenrg.2022.846006">
<inline-formula id="inf8">
<mml:math id="m38">
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">V</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">max</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">V</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">min</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Lower/upper bounds of square value of node <italic>i</italic> voltage</p>
</def>
</def-item>
<def-item>
<term id="G58-fenrg.2022.846006">
<inline-formula id="inf9">
<mml:math id="m39">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="double-struck">I</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3b3;</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="double-struck">I</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3b3;</mml:mi>
<mml:mo mathvariant="bold">&#x2b;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>
</term>
<def>
<p>Binary variables to guarantee the continuity of <italic>X</italic> and <italic>F</italic>
<sub>L</sub>(<italic>X</italic>)</p>
</def>
</def-item>
<def-item>
<term id="G59-fenrg.2022.846006">
<inline-formula id="inf10">
<mml:math id="m40">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3b3;</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>&#x304;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3b3;</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</term>
<def>
<p>Lower/upper bounds of the <italic>&#x3b3;</italic>-th segment of <italic>X</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G60-fenrg.2022.846006">
<inline-formula id="inf11">
<mml:math id="m41">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3c0;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>
</term>
<def>
<p>Gas pressure of node at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G61-fenrg.2022.846006">
<inline-formula id="inf12">
<mml:math id="m42">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3c0;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">min</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3c0;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">max</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Lower/upper bounds of gas pressure of node <italic>a</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G62-fenrg.2022.846006">
<italic>&#x3c3;</italic>
<sub>
<italic>&#x3b3;</italic>
</sub>, <italic>&#x3b7;</italic>
<sub>
<italic>&#x3b3;</italic>
</sub>
</term>
<def>
<p>Value of the <italic>&#x3b3;</italic>-th segment of <italic>X</italic> and coefficient of the <italic>&#x3b3;</italic>-th segment of <italic>F</italic>
<sub>L</sub>(<italic>X</italic>)</p>
</def>
</def-item>
<def-item>
<term id="G63-fenrg.2022.846006">
<bold>EHR</bold>
<sub>
<italic>
<bold>p</bold>
</italic>
</sub>
</term>
<def>
<p>The EHR of the water pump <italic>p</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G64-fenrg.2022.846006">
<italic>C</italic>
<sub>
<bold>B</bold>
</sub>, <italic>z</italic>
<sub>
<bold>B,</bold>
<italic>B</italic>
</sub>
</term>
<def>
<p>Continuous variable, auxiliary variable, and binary variable,<italic>C</italic>
<sub>B</sub> &#x2208;&#xa0;[0, 1]</p>
</def>
</def-item>
<def-item>
<term id="G65-fenrg.2022.846006">
<inline-formula id="inf13">
<mml:math id="m43">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">heat</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Cost of the DHN connected to EH <italic>n</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G66-fenrg.2022.846006">
<inline-formula id="inf14">
<mml:math id="m44">
<mml:mi mathvariant="bold-italic">F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi mathvariant="bold-italic">X</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">F</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">L</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">X</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>
</term>
<def>
<p>Nonlinear function and its linearized function</p>
</def>
</def-item>
<def-item>
<term id="G67-fenrg.2022.846006">
<inline-formula id="inf15">
<mml:math id="m45">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo mathvariant="bold">&#x22c5;</mml:mo>
<mml:mo mathvariant="bold">&#x22c5;</mml:mo>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>
</term>
<def>
<p>Natural gas in pipeline at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G68-fenrg.2022.846006">
<inline-formula id="inf16">
<mml:math id="m46">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo mathvariant="bold">&#x22c5;</mml:mo>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">in</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Natural gas injected into the node at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G69-fenrg.2022.846006">
<inline-formula id="inf17">
<mml:math id="m47">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">a</mml:mi>
<mml:mi mathvariant="bold-italic">b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">max</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Upper bounds of natural gas in the pipeline <italic>ab</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G70-fenrg.2022.846006">
<inline-formula id="inf18">
<mml:math id="m48">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">b</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">EH</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Natural gas injected to the EH connected to node <italic>b</italic> at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G71-fenrg.2022.846006">
<inline-formula id="inf19">
<mml:math id="m49">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">LD</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Natural gas injected to load <italic>d</italic> at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G72-fenrg.2022.846006">
<inline-formula id="inf20">
<mml:math id="m50">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">ECU</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Natural gas consumption of the ECU <italic>n</italic> at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G73-fenrg.2022.846006">
<italic>H</italic>
<sup>EH</sup>
</term>
<def>
<p>Heating input of EH from the DHN</p>
</def>
</def-item>
<def-item>
<term id="G74-fenrg.2022.846006">
<italic>H</italic>
<sup>av</sup>
</term>
<def>
<p>Available heating</p>
</def>
</def-item>
<def-item>
<term id="G75-fenrg.2022.846006">
<italic>H</italic>
<sub>
<italic>p</italic>,<italic>t</italic>
</sub>
</term>
<def>
<p>Heating transferred in pipe <italic>p</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G76-fenrg.2022.846006">
<inline-formula id="inf21">
<mml:math id="m51">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">EH</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Heating injected into the EH connected to the node <italic>u</italic> at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G77-fenrg.2022.846006">
<inline-formula id="inf22">
<mml:math id="m52">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mi mathvariant="bold-italic">m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">av</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">min</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mi mathvariant="bold-italic">m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">av&#x2009;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">max</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Lower/upper bounds of available heating from node <italic>u</italic> to node <italic>m</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G78-fenrg.2022.846006">
<inline-formula id="inf23">
<mml:math id="m53">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mi mathvariant="bold-italic">m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">av</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">m</mml:mi>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">av</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Available heating from node <italic>u</italic> to node <italic>m</italic> and node <italic>m</italic> to node <italic>u</italic> at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G79-fenrg.2022.846006">
<inline-formula id="inf24">
<mml:math id="m54">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mi mathvariant="bold-italic">v</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">av</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">v</mml:mi>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">av</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Available heating from node <italic>u</italic> to node <italic>v</italic> and node <italic>v</italic> to node <italic>u</italic> at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G80-fenrg.2022.846006">
<italic>
<bold>L</bold>
</italic>
<sub>
<bold>
<italic>cool</italic>
</bold>
</sub>, <italic>
<bold>L</bold>
</italic>
<sub>
<bold>
<italic>elec</italic>
</bold>
</sub>, <italic>
<bold>L</bold>
</italic>
<sub>
<bold>
<italic>heat</italic>
</bold>
</sub>
</term>
<def>
<p>Cooling, electricity, and heating loads of the EH</p>
</def>
</def-item>
<def-item>
<term id="G81-fenrg.2022.846006">
<italic>P</italic>
<sup>EH</sup>, <italic>G</italic>
<sup>EH</sup>
</term>
<def>
<p>Power and natural gas input of the EH</p>
</def>
</def-item>
<def-item>
<term id="G82-fenrg.2022.846006">
<inline-formula id="inf25">
<mml:math id="m55">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo mathvariant="bold">&#x22c5;</mml:mo>
<mml:mo mathvariant="bold">&#x22c5;</mml:mo>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo mathvariant="bold">&#x22c5;</mml:mo>
<mml:mo mathvariant="bold">&#x22c5;</mml:mo>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>
</term>
<def>
<p>Active power and reactive power on branch at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G83-fenrg.2022.846006">
<inline-formula id="inf26">
<mml:math id="m56">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo mathvariant="bold">&#x22c5;</mml:mo>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">in</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo mathvariant="bold">&#x22c5;</mml:mo>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">in</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Active power and reactive power injected to node at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G84-fenrg.2022.846006">
<inline-formula id="inf27">
<mml:math id="m57">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">in&#x2009;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">CHP&#x2009;</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">out,&#x2009;e&#x2009;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">CHP</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">out,&#x2009;h&#x2009;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">CHP</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Input and output energy of the CHP</p>
</def>
</def-item>
<def-item>
<term id="G85-fenrg.2022.846006">
<inline-formula id="inf28">
<mml:math id="m58">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">in&#x2009;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">EC&#x2009;</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">out&#x2009;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">EC</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Input and output energy of the EC</p>
</def>
</def-item>
<def-item>
<term id="G86-fenrg.2022.846006">
<inline-formula id="inf29">
<mml:math id="m59">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">in&#x2009;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">GB&#x2009;</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">out&#x2009;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">GB</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Input and output energy of the GB</p>
</def>
</def-item>
<def-item>
<term id="G87-fenrg.2022.846006">
<inline-formula id="inf30">
<mml:math id="m60">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">in&#x2009;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">Grid&#x2009;</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Input energy from the grid</p>
</def>
</def-item>
<def-item>
<term id="G88-fenrg.2022.846006">
<inline-formula id="inf31">
<mml:math id="m61">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">in&#x2009;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">HP&#x2009;</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">out&#x2009;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">HP</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Input and output energy of the HP</p>
</def>
</def-item>
<def-item>
<term id="G89-fenrg.2022.846006">
<inline-formula id="inf32">
<mml:math id="m62">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">in&#x2009;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">HS&#x2009;</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">out&#x2009;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">HS</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Input and output energy of the HS</p>
</def>
</def-item>
<def-item>
<term id="G90-fenrg.2022.846006">
<inline-formula id="inf33">
<mml:math id="m63">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">LD</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">Q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">LD</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Active power and reactive power injected to load <italic>d</italic> at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G91-fenrg.2022.846006">
<inline-formula id="inf34">
<mml:math id="m64">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">g</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">G</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Active power generated from the generator <italic>g</italic> at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G92-fenrg.2022.846006">
<inline-formula id="inf35">
<mml:math id="m65">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">EH</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Active power injected to the EH connected to node <italic>j</italic> at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G93-fenrg.2022.846006">
<inline-formula id="inf36">
<mml:math id="m66">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">ECU</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Power consumption of the ECU <italic>n</italic> at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G94-fenrg.2022.846006">
<inline-formula id="inf37">
<mml:math id="m67">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">p</mml:mi>
<mml:mi mathvariant="bold-italic">v</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">&#x2009;PV</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Active power generated from photovoltaic power plants <italic>pv</italic> at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G95-fenrg.2022.846006">
<inline-formula id="inf38">
<mml:math id="m68">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">w</mml:mi>
<mml:mi mathvariant="bold-italic">t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">WT</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Active power generated from wind turbine <italic>wt</italic> at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G96-fenrg.2022.846006">
<italic>q</italic>
</term>
<def>
<p>Mass flow</p>
</def>
</def-item>
<def-item>
<term id="G97-fenrg.2022.846006">
<inline-formula id="inf39">
<mml:math id="m69">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">q</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">EH</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Mass flow injected into the EH of node <italic>u</italic> at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G98-fenrg.2022.846006">
<italic>q</italic>
<sub>
<italic>uv</italic>,<italic>t</italic>
</sub>, <italic>q</italic>
<sub>
<italic>vu</italic>,<italic>t</italic>
</sub>
</term>
<def>
<p>Mass flow from node <italic>u</italic> to node <italic>v</italic> and node <italic>v</italic> to node <italic>u</italic> at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G99-fenrg.2022.846006">
<italic>R</italic>
<sub>
<italic>ij</italic>
</sub>, <italic>X</italic>
<sub>
<italic>ij</italic>
</sub>
</term>
<def>
<p>Resistance and reactance of branch <italic>ij</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G100-fenrg.2022.846006">
<italic>T</italic>, <italic>T</italic>
<sup>
<italic>e</italic>
</sup>
</term>
<def>
<p>Real temperature and ambient temperature</p>
</def>
</def-item>
<def-item>
<term id="G101-fenrg.2022.846006">
<italic>T</italic>
<sup>
<italic>rw</italic>
</sup>, <italic>T</italic>
<sup>
<italic>sw</italic>
</sup>
</term>
<def>
<p>Return water temperature and supply water temperature</p>
</def>
</def-item>
<def-item>
<term id="G102-fenrg.2022.846006">
<inline-formula id="inf40">
<mml:math id="m70">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>
</term>
<def>
<p>Node temperature at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G103-fenrg.2022.846006">
<inline-formula id="inf41">
<mml:math id="m71">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">EH</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Temperature of heat medium injected into the EH connected to node <italic>u</italic> at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G104-fenrg.2022.846006">
<italic>T</italic>
<sub>
<italic>uv</italic>,<italic>t</italic>
</sub>, <italic>T</italic>
<sub>
<italic>vu</italic>,<italic>t</italic>
</sub>
</term>
<def>
<p>Temperature of heat medium from node <italic>u</italic> to node <italic>v</italic> and node <italic>v</italic> to node <italic>u</italic> at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G105-fenrg.2022.846006">
<italic>V</italic>
</term>
<def>
<p>Matrix of coupling equipment&#x2019;s input and output energy</p>
</def>
</def-item>
<def-item>
<term id="G106-fenrg.2022.846006">
<italic>V</italic>1</term>
<def>
<p>Matrix of the EH&#x2019;s input resources and loads</p>
</def>
</def-item>
<def-item>
<term id="G107-fenrg.2022.846006">
<italic>X</italic>, <italic>X</italic>
<sub>0</sub>
</term>
<def>
<p>Continuous variable and its initial value</p>
</def>
</def-item>
<def-item>
<term id="G108-fenrg.2022.846006">
<italic>x</italic>
<sub>
<italic>&#x3b1;&#x3b2;</italic>,<italic>&#x3b1;</italic>,<italic>t</italic>
</sub>, <italic>x</italic>
<sub>
<italic>&#x3b1;&#x3b2;</italic>,<italic>&#x3b2;</italic>,<italic>t</italic>
</sub>
</term>
<def>
<p>Coupling variables on both sides of the virtual node at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G109-fenrg.2022.846006">
<italic>y</italic>
<sub>
<italic>rf</italic>
</sub>
</term>
<def>
<p>Binary variable of node <italic>r</italic> partition to region <italic>f</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G110-fenrg.2022.846006">
<italic>Z</italic>
</term>
<def>
<p>Standard matrix of the EH</p>
</def>
</def-item>
<def-item>
<term id="G111-fenrg.2022.846006">
<italic>z</italic>
<sub>
<italic>&#x3b1;&#x3b2;</italic>,<italic>t</italic>
</sub>
</term>
<def>
<p>Consensus variable of the virtual node at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G112-fenrg.2022.846006">
<italic>&#x3bb;</italic>
<sub>
<italic>&#x3b1;&#x3b2;</italic>,<italic>&#x3b1;</italic>,<italic>t</italic>
</sub>, <italic>&#x3bb;</italic>
<sub>
<italic>&#x3b1;&#x3b2;</italic>,<italic>&#x3b2;</italic>,<italic>t</italic>
</sub>
</term>
<def>
<p>Lagrange multipliers of the ECUs on both sides of the virtual node at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G113-fenrg.2022.846006">
<inline-formula id="inf42">
<mml:math id="m72">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3bb;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">loss&#x2009;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">H</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>Lagrange multiplier in terms of the transmission loss in the DHN at <italic>t</italic>
</p>
</def>
</def-item>
<def-item>
<term id="G114-fenrg.2022.846006">
<inline-formula id="inf43">
<mml:math id="m73">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">k</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>The <italic>s</italic>th binary variables in the <italic>k</italic>th and the (<italic>k</italic> &#x2b;&#xa0;1)-th iteration</p>
</def>
</def-item>
<def-item>
<term id="G115-fenrg.2022.846006">
<inline-formula id="inf44">
<mml:math id="m74">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">k</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>The <italic>s</italic>th continuous variables in the <italic>k</italic>th and the (<italic>k</italic> &#x2b;&#xa0;1)-th iteration</p>
</def>
</def-item>
<def-item>
<term id="G116-fenrg.2022.846006">
<inline-formula id="inf45">
<mml:math id="m75">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">k</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">k</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</term>
<def>
<p>The <italic>s</italic>th auxiliary variables in the <italic>k</italic>th and the (<italic>k</italic> &#x2b;&#xa0;1)-th iteration</p>
</def>
</def-item>
</def-list>
</sec>
</back>
</article>