<?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">1537703</article-id>
<article-id pub-id-type="doi">10.3389/fenrg.2025.1537703</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Energy Research</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>A new stochastic multi-objective model for the optimal management of a PV/wind integrated energy system with demand response, P2G, and energy storage devices</article-title>
<alt-title alt-title-type="left-running-head">Faramarzi et al.</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fenrg.2025.1537703">10.3389/fenrg.2025.1537703</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Faramarzi</surname>
<given-names>Hossein</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2613793/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Ghaffarzadeh</surname>
<given-names>Navid</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2744211/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Shahnia</surname>
<given-names>Farhad</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1861853/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>Faculty of Technical and Engineering</institution>, <institution>Imam Khomeini International University</institution>, <addr-line>Qazvin</addr-line>, <country>Iran</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>School of Engineering and Energy</institution>, <institution>Murdoch University</institution>, <addr-line>Perth</addr-line>, <addr-line>WA</addr-line>, <country>Australia</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1493713/overview">Mostafa Esmaeili Shayan</ext-link>, University of Cagliari, Italy</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/2837919/overview">Abolfazl Sheybanifar</ext-link>, Isfahan University of Technology, Iran</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2839841/overview">Farzaneh Ghasemzadeh</ext-link>, Iran University of Science and Technology, Iran</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Hossein Faramarzi, <email>h.faramarzi@edu.ikiu.ac.ir</email>
</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>31</day>
<month>07</month>
<year>2025</year>
</pub-date>
<pub-date pub-type="collection">
<year>2025</year>
</pub-date>
<volume>13</volume>
<elocation-id>1537703</elocation-id>
<history>
<date date-type="received">
<day>01</day>
<month>12</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>23</day>
<month>06</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2025 Faramarzi, Ghaffarzadeh and Shahnia.</copyright-statement>
<copyright-year>2025</copyright-year>
<copyright-holder>Faramarzi, Ghaffarzadeh and Shahnia</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>Optimal energy hub scheduling (EHS) has emerged as a promising strategy for improving the efficiency and flexibility of power systems. Energy hubs (EHs) offer several advantages over conventional power grids, including enhanced flexibility, reduced emissions, and improved efficiency. However, EHS poses several challenges, including uncertainty, complexity, and computational burden. To tackle these challenges, this paper proposes an innovative optimal scheme for the operation of an integrated PV/wind energy system. The scheme incorporates a comprehensive set of components, including combined heat and power (CHP), power-to-gas (P2G), energy storage systems (ESSs), heat storage systems (HSSs), gas storage (GS), and electric boilers (EBs) and gas boilers (GBs). A demand response (DR) program is implemented for both electric and thermal loads to address the inherent uncertainty of renewable energy sources (RESs) and electrical load fluctuations. The proposed optimal management model is a multi-objective optimization problem aiming to minimize total losses, cost, and emissions while meeting energy demands. This novel approach offers significant advantages for utilities in terms of reducing losses, cost, and air pollution, contributing to a more sustainable energy system. The optimal management scheme is designed based on the optimized objective functions and implemented through steady-state energy analysis. Non-dominated sorting genetic algorithm III (NSGA-III) is employed to efficiently search for the optimal solutions. Scenario analysis is adopted to address the stochastic nature of RESs and load demand, and the Sim&#x26;Corrloss clustering strategy is used to reduce the computational burden. To demonstrate the effectiveness of the proposed approach, the results obtained from applying the proposed algorithm are compared with the results from analyzing the problem using GAMS software and the multi-objective seagull optimization algorithm (MOSOA). The proposed method enhances flexibility and ultimately increases system stability while maintaining diversity in energy sources. Additionally, the utilization of equipment such as various storage devices and P2G enhances system resilience, reducing load fluctuations and improving resource utilization. The results demonstrate that the proposed method significantly improves system performance and can effectively contribute to energy management in multi-energy systems. The superior performance of the proposed algorithm is demonstrated under various operating scenarios.</p>
</abstract>
<kwd-group>
<kwd>hub management</kwd>
<kwd>clustering algorithm</kwd>
<kwd>uncertainty</kwd>
<kwd>many-objective function</kwd>
<kwd>non-dominated sorting genetic algorithm III</kwd>
<kwd>integrated energy systems</kwd>
<kwd>power-to-gas</kwd>
<kwd>combined heat and power</kwd>
</kwd-group>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Energy Efficiency</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>The increasing demand for energy due to economic growth has driven researchers to explore innovative solutions for enhancing energy efficiency and improving economic efficiency in power systems. Integrated energy systems (IESs), inspired by the energy hub concept and advancements in energy conversion technologies, have emerged as a promising solution to meet these challenges. Unlike traditional separate energy systems, the IES integrates multiple energy carriers such as electricity, heat, and gas, offering a holistic approach to energy management that can optimize resource utilization and improve overall system efficiency. It offers greater flexibility in energy supply due to its integrated structure. Energy hubs (EHs) within IESs provide significant advantages over conventional power grids, including greater flexibility, reduced emissions, and enhanced operational efficiency. However, optimal energy hub scheduling (EHS) introduces complexities such as uncertainty in renewable energy sources (RESs), computational burden, and the need to balance multiple objectives like cost, losses, and environmental impact. These challenges necessitate advanced modeling and optimization techniques to ensure reliable and sustainable energy system operation. Studies on IESs have targeted on optimizing costs, reducing pollution, and enhancing safety, reflecting diverse efforts to address energy system challenges such as renewable uncertainty and computational complexity. These investigations provide a foundation for advancing energy management in modern contexts.</p>
<p>In IES optimization and management, <xref ref-type="bibr" rid="B17">Li et al. (2020)</xref> proposed a Stackelberg game-based model integrating demand response (DR) and renewables to cut costs and boost profits, though limited by complexity and forecasting needs. <xref ref-type="bibr" rid="B8">Duan et al. (2021)</xref> enhanced flexibility under uncertainty with power-to-gas (P2G) and demand response, constrained by computational demands. <xref ref-type="bibr" rid="B11">Jiang et al. (2018)</xref> introduced a multi-energy model with heat pumps and storage for local energy use, hindered by real-time complexity. <xref ref-type="bibr" rid="B12">Jin et al. (2016)</xref> offered cost-effective scheduling for renewable integration, restricted by forecasting and simplifications. <xref ref-type="bibr" rid="B15">Li et al. (2015)</xref> developed a nonlinear model using wind power to reduce curtailment in electric&#x2013;thermal systems, which required careful coordination.</p>
<p>For EH and multi-energy system design, <xref ref-type="bibr" rid="B30">Thang et al. (2018)</xref> presented a stochastic model that minimized electricity and gas costs with multiple carriers and P2G, which was limited by real-time computational burdens. <xref ref-type="bibr" rid="B39">Zhong et al. (2018)</xref> proposed a hierarchical strategy to lower costs and improve benefits in energy hubs, which was practical yet forecast-dependent.</p>
<p>In renewable energy integration and uncertainty management, <xref ref-type="bibr" rid="B31">Turk et al. (2020)</xref> used P2G to reduce costs and enhance efficiency, though the scalability was limited by complexity. <xref ref-type="bibr" rid="B34">Wu and Li (2020)</xref> developed a 24-h model addressing uncertainties, which showed economic benefits but was constrained by forecasting. <xref ref-type="bibr" rid="B28">Shahrabi et al. (2021)</xref> introduced a robust optimization framework for energy hubs, which reduced costs and emissions, whereas <xref ref-type="bibr" rid="B1">Alghamdi et al. (2023)</xref> optimized EH components with an improved algorithm. <xref ref-type="bibr" rid="B35">Yadollahi et al. (2024)</xref> proposed an RL-based system to minimize costs and emissions, which improved efficiency with a tabular approach.</p>
<p>In demand response and load management, <xref ref-type="bibr" rid="B20">Lv et al. (2019)</xref> modeled dynamic heat loads to optimize costs and satisfaction, limited by complexity and assumptions. <xref ref-type="bibr" rid="B26">Sadeghi et al. (2024)</xref> designed an EH for smart islands by integrating water&#x2013;electricity with advanced forecasting, which addressed diverse demands.</p>
<p>For decentralized and cooperative energy system management, <xref ref-type="bibr" rid="B4">Chen et al. (2020)</xref> introduced a cooperative IES model with a decentralized algorithm for thermal&#x2013;electrical integration, which was promising but was restricted by data and implementation issues.</p>
<p>In power system optimization and control, <xref ref-type="bibr" rid="B21">Naderi et al. (2021)</xref> tackled grid stability and renewables with mathematical programming, facing multi-objective challenges. <xref ref-type="bibr" rid="B5">Darbandi et al. (2024)</xref> proposed an RL-based system for PV-integrated hubs, optimizing policies with robustness across seasons.</p>
<p>In multi-carrier microgrid management, <xref ref-type="bibr" rid="B29">Shekari et al. (2019)</xref> offered an MILP model for electricity&#x2013;gas systems, which achieved efficiency but was limited by simplified dynamics and data needs.</p>
<p>Despite significant progress, existing studies have notable gaps. Most conventional energy management systems (EMSs) do not fully consider the state variables of the three subsystems (electricity, heat, and gas) in the IES. Additionally, prior studies often fail to simultaneously incorporate key components such as combined heat and power (CHP), P2G, energy storage systems (ESSs), heat storage systems (HSSs), gas storage (GS), RESs, electric boilers (EBs), and gas boilers (GBs). Furthermore, uncertainties in solar irradiance, wind velocity, and load demand are typically treated separately rather than in an integrated manner. To address the inherent uncertainty of RESs, electrical load demand, and the correlation between random variables, we introduce a novel clustering technique that considers the interaction between stochastic variables. This technique significantly improves the computational efficiency of the model and enhances its reliability. Moreover, we employ an accurate model of district heating systems (DHSs) and natural gas systems (GHSs) to accurately calculate the total heat loss and power loss, which depend on temperature and pressure drops, respectively. This point was not considered in previous works. The proposed model is implemented using NSGA-III, a multi-objective optimization algorithm, to determine the optimal operation of the IES under short-term stochastic conditions. The effectiveness of the model is evaluated using the multi-objective seagull optimization algorithm (MOSOA) method, and the correctness and feasibility of the proposed strategy are confirmed by comparing the two optimization algorithms. The key contributions of our work are as follows:<list list-type="simple">
<list-item>
<p>1. A novel multi-objective optimization model for IES management</p>
<list list-type="simple">
<list-item>
<p>&#x25e6;Unlike prior works, which focuses on a deterministic optimization framework, our study proposes a stochastic multi-objective optimization model that considers both total IES loss and cost as objective functions.</p>
</list-item>
<list-item>
<p>&#x25e6;Our model uniquely integrates electric load flow, thermal mass flow, and gas flow analysis into the optimization framework, ensuring a holistic representation of the system&#x2019;s dynamics.</p>
</list-item>
</list>
</list-item>
<list-item>
<p>2. Uncertainty consideration and risk mitigation</p>
<list list-type="simple">
<list-item>
<p>&#x25e6;Whereas previous works treat uncertainties in load demand and RESs separately, our model simultaneously considers uncertainties in demand for electric load and RESs, enhancing robustness.</p>
</list-item>
<list-item>
<p>&#x25e6;To mitigate parameter uncertainty, we incorporate ESSs, HSSs, and GS, ensuring system reliability under varying conditions.</p>
</list-item>
</list>
</list-item>
<list-item>
<p>3. System flexibility and demand response implementation</p>
<list list-type="simple">
<list-item>
<p>&#x25e6;Our study implements demand response programs for both electric and thermal loads, a feature often overlooked in previous studies.</p>
</list-item>
<list-item>
<p>&#x25e6;Unlike prior works, we also integrate P2G technology, significantly enhancing system flexibility by converting excess electricity into storable gas energy.</p>
</list-item>
</list>
</list-item>
<list-item>
<p>4. Computational efficiency and optimization</p>
<list list-type="simple">
<list-item>
<p>&#x25e6;To efficiently manage the computational burden, our study introduces the Sim&#x26;Corrloss clustering method, which reduces scenario complexity while preserving accuracy. This approach significantly improves computational efficiency compared to conventional methods.</p>
</list-item>
<list-item>
<p>&#x25e6;The NSGA-III algorithm is applied to achieve optimal scheduling, which outperforms traditional methods in finding high-quality Pareto-optimal solutions.</p>
</list-item>
</list>
</list-item>
<list-item>
<p>5. Comparative performance evaluation</p>
<list list-type="simple">
<list-item>
<p>&#x25e6;We have conducted a detailed comparative analysis (<xref ref-type="table" rid="T11">Tables 11</xref>&#x2013;<xref ref-type="table" rid="T14">14</xref>), showing the superiority of our approach over existing methods, particularly in terms of accuracy and system performance.</p>
</list-item>
<list-item>
<p>&#x25e6;The proposed methodology has been validated by comparing its results with those obtained using GAMS-based solutions and MOSOA optimization, demonstrating improved efficiency and operational performance.</p>
</list-item>
</list>
</list-item>
</list>
</p>
<p>The remainder of the paper is organized as follows: <xref ref-type="sec" rid="s2">Section 2</xref> introduces the IES model, <xref ref-type="sec" rid="s3">Section 3</xref> presents a 24-h operating model and its solution procedure, <xref ref-type="sec" rid="s4">Section 4</xref> conducts contextual studies, and finally, <xref ref-type="sec" rid="s5">Section 5</xref> summarizes the conclusion.</p>
</sec>
<sec id="s2">
<title>2 The IES modeling</title>
<p>The paper proposes a novel approach to coordinating an IES by incorporating energy exchange mechanisms and considering the inherent uncertainty of RES and load demands. The integration of various coupling devices, such as P2G, boilers, CHP, and storage systems, enables efficient energy management and optimization across the interconnected systems.</p>
<sec id="s2-1">
<title>2.1 Mathematical modeling of the electric power system (EPS) in the IES</title>
<p>To ensure the EPS&#x2019;s ability to meet load demands, a detailed power flow analysis is essential. This analysis employs <xref ref-type="disp-formula" rid="e1">Equations 1</xref>, <xref ref-type="disp-formula" rid="e2">2</xref> to establish equality constraints, which are further refined in <xref ref-type="disp-formula" rid="e3">Equations 3</xref>, <xref ref-type="disp-formula" rid="e4">4</xref>. <xref ref-type="disp-formula" rid="e5">Equation 5</xref> extends the power flow balance equation to incorporate CHP, P2G, SPV, and wind turbines, with the corresponding operating constraints provided in <xref ref-type="disp-formula" rid="e6">Equations 6</xref>, <xref ref-type="disp-formula" rid="e7">7</xref>.<disp-formula id="e1">
<mml:math id="m1">
<mml:mrow>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:msub>
<mml:mi mathvariant="normal">G</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:msub>
<mml:mi mathvariant="normal">D</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mtext>ij</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>cos</mml:mi>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3b8;</mml:mi>
<mml:mtext>ij</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>
<disp-formula id="e2">
<mml:math id="m2">
<mml:mrow>
<mml:mi mathvariant="normal">Q</mml:mi>
<mml:msub>
<mml:mi mathvariant="normal">G</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="normal">Q</mml:mi>
<mml:msub>
<mml:mi mathvariant="normal">D</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mtext>ij</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>sin</mml:mi>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3b8;</mml:mi>
<mml:mtext>ij</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>
<disp-formula id="e3">
<mml:math id="m3">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mtext>Gi</mml:mtext>
</mml:msub>
<mml:mi>min</mml:mi>
</mml:msup>
<mml:mo>&#x2264;</mml:mo>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:msub>
<mml:mi mathvariant="normal">G</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mtext>Gi</mml:mtext>
</mml:msub>
<mml:mi>max</mml:mi>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>
<disp-formula id="e4">
<mml:math id="m4">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mi>min</mml:mi>
</mml:msup>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mi>max</mml:mi>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>
<disp-formula id="e5">
<mml:math display="block" id="m5">
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:mrow>
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>G</mml:mi>
</mml:munderover>
</mml:mrow>
</mml:mstyle>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mtext>CHP</mml:mtext>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mtext>Wt</mml:mtext>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mtext>PV</mml:mtext>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mtext>ESS</mml:mtext>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>D</mml:mi>
<mml:mtext>EB</mml:mtext>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>D</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mn>2</mml:mn>
<mml:mi mathvariant="normal">G</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>D</mml:mi>
<mml:mi>L</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>D</mml:mi>
<mml:mtext>Loss</mml:mtext>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:mrow>
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:munderover>
</mml:mrow>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>n</mml:mi>
</mml:msub>
</mml:mfenced>
<mml:mo>&#x2062;</mml:mo>
<mml:mfenced open="|" close="|" separators="|">
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
</mml:mfenced>
<mml:mo>&#x2062;</mml:mo>
<mml:mfenced open="|" close="|" separators="|">
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mtext>nm</mml:mtext>
</mml:msub>
</mml:mfenced>
<mml:mo>&#x2062;</mml:mo>
<mml:mi>cos</mml:mi>
<mml:mo>&#x2062;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mi>n</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mi>n</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3b8;</mml:mi>
<mml:mtext>nm</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>
<disp-formula id="e6">
<mml:math id="m6">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mtext>WT</mml:mtext>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mtext>Wt</mml:mtext>
</mml:msub>
<mml:mi>max</mml:mi>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>
<disp-formula id="e7">
<mml:math id="m7">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mtext>PV</mml:mtext>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mtext>PV</mml:mtext>
</mml:msub>
<mml:mi>max</mml:mi>
</mml:msup>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>Here, <inline-formula id="inf1">
<mml:math id="m8">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">D</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the electric load of the EPS (<xref ref-type="bibr" rid="B7">Dong et al., 2019</xref>; <xref ref-type="bibr" rid="B14">Leung, 2015</xref>; <xref ref-type="bibr" rid="B36">Yu et al., 2018</xref>).</p>
</sec>
<sec id="s2-2">
<title>2.2 The probabilistic model of the RES</title>
<p>This article investigates the impact of demand-side management (DSM) and hybrid renewable energy storage system (HESS) on the performance of the IES. In this context, a detailed model of these technologies is presented.</p>
<sec id="s2-2-1">
<title>2.2.1 Stochastic photovoltaic unit model</title>
<p>Photovoltaic (PV) systems are among the most extensively employed sustainable power plants in energy systems (EPS). However, due to the inherent variability of solar irradiance, accurately modeling their performance is crucial. To this end, solar irradiance must be treated as a random variable. Based on extensive research, the &#x3b2; distribution function emerges as a suitable representation of solar irradiance, as exemplified by <xref ref-type="disp-formula" rid="e8">Equations 8</xref>&#x2013;<xref ref-type="disp-formula" rid="e10">10</xref>:<disp-formula id="e8">
<mml:math id="m9">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="normal">f</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mi mathvariant="normal">i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="normal">&#x393;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">&#x3b1;</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi mathvariant="normal">&#x3b2;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">&#x393;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">&#x3b1;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi mathvariant="normal">&#x393;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">&#x3b2;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfrac>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">&#x3b1;</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">&#x3b1;</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mo>&#x2264;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mtext>otherwise</mml:mtext>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(8)</label>
</disp-formula>
<disp-formula id="e9">
<mml:math id="m10">
<mml:mrow>
<mml:mi mathvariant="normal">&#x3b2;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="normal">&#x3bc;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>(</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="normal">&#x3bc;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="normal">&#x3bc;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:msup>
<mml:mi mathvariant="normal">&#x3c3;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mfrac>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(9)</label>
</disp-formula>
<disp-formula id="e10">
<mml:math id="m11">
<mml:mrow>
<mml:mi mathvariant="normal">&#x3b1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="normal">&#x3bc;</mml:mi>
<mml:mi mathvariant="normal">&#x3b2;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="normal">&#x3bc;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(10)</label>
</disp-formula>
<disp-formula id="e11">
<mml:math id="m12">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mtext>PV</mml:mtext>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mtext>rated</mml:mtext>
</mml:msub>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:msup>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mtext>STD</mml:mtext>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mspace width="0.17em"/>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mtext>rated</mml:mtext>
</mml:msub>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mtext>STD</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mspace width="0.17em"/>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mtext>STD</mml:mtext>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mrow>
<mml:mtext>rated</mml:mtext>
<mml:mo>,</mml:mo>
<mml:mspace width="0.17em"/>
</mml:mrow>
</mml:msub>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mo>&#x2265;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mtext>STD</mml:mtext>
</mml:msub>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(11)</label>
</disp-formula>
</p>
<p>The model uses the &#x3b2; distribution function (<inline-formula id="inf2">
<mml:math id="m13">
<mml:mrow>
<mml:mi mathvariant="normal">f</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>) to represent the solar irradiance (<inline-formula id="inf3">
<mml:math id="m14">
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>) as a random variable. The mean (&#xb5;) and standard deviation (&#x3c3;) of the solar irradiance are calculated using the gamma function (&#x393;(&#x25e6;)). The PV output power is calculated using <xref ref-type="disp-formula" rid="e11">Equation 11</xref> and is represented by P<sub>PV</sub>. The PV output power (P<sub>PV</sub>) is primarily influenced by the light intensity in each time window.</p>
</sec>
<sec id="s2-2-2">
<title>2.2.2 Stochastic wind turbine unit model</title>
<p>To effectively model a wind turbine, a comprehensive understanding of the wind speed distribution and the turbine&#x2019;s power production characteristics is essential (<xref ref-type="bibr" rid="B18">Li and Zio, 2012</xref>; <xref ref-type="bibr" rid="B25">Quan et al., 2018</xref>). For this purpose, the Weibull distribution is frequently employed to represent the probability distribution of wind speed, as shown in <xref ref-type="disp-formula" rid="e12">Equation 12</xref> (<xref ref-type="bibr" rid="B25">Quan et al., 2018</xref>):<disp-formula id="e12">
<mml:math id="m15">
<mml:mrow>
<mml:mi mathvariant="normal">f</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">v</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac bevelled="true">
<mml:mrow>
<mml:mi>u</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac bevelled="true">
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mi>exp</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac bevelled="true">
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>u</mml:mi>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(12)</label>
</disp-formula>
</p>
<p>The wind speed, shape factor, and scale factor are v, u, and z, respectively. P<sub>wt</sub> is the wind turbine&#x2019;s output power, given by <xref ref-type="disp-formula" rid="e13">Equation 13</xref>
<disp-formula id="e13">
<mml:math id="m16">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mtext>wt</mml:mtext>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mspace width="0.17em"/>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mtext>in</mml:mtext>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mspace width="0.17em"/>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mo>&#x2265;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mtext>out</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
</mml:msub>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mtext>in</mml:mtext>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mtext>in</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mspace width="0.17em"/>
<mml:msub>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mtext>in</mml:mtext>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mspace width="0.17em"/>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mspace width="0.17em"/>
<mml:msub>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mtext>in</mml:mtext>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mtext>out</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(13)</label>
</disp-formula>
</p>
<p>The parameters of this equation are defined as follows: P<sub>e</sub> represents the wind turbine power output, v<sub>e</sub> denotes the rated wind speed, v<sub>in</sub> is the cut-in wind speed, and v<sub>out</sub> represents the cut-out wind speed. The probability density function (PDF) of P<sub>wt</sub> is given as <xref ref-type="disp-formula" rid="e14">Equation 14</xref>
<disp-formula id="e14">
<mml:math id="m17">
<mml:mrow>
<mml:mi mathvariant="normal">f</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mtext>wt</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mtext>wt</mml:mtext>
</mml:msub>
<mml:mo>&#x3c;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>exp</mml:mi>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac bevelled="true">
<mml:mrow>
<mml:msub>
<mml:mtext>hP</mml:mtext>
<mml:mtext>wt</mml:mtext>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac bevelled="true">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mtext>in</mml:mtext>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mtext>&#x2009;</mml:mtext>
</mml:mrow>
<mml:mi>u</mml:mi>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>exp</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac bevelled="true">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">v</mml:mi>
<mml:mtext>out</mml:mtext>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>u</mml:mi>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mtext>wt</mml:mtext>
</mml:msub>
<mml:mo>&#x3c;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mtext>&#x2009;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mtext>wt</mml:mtext>
</mml:msub>
<mml:mo>&#x2265;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(14)</label>
</disp-formula>where h &#x3d; (v<sub>e</sub>/v<sub>in</sub>)&#x2212;1.</p>
</sec>
<sec id="s2-2-3">
<title>2.2.3 Stochastic electrical load model</title>
<p>In general, the uncertainty of various load demands is often represented by the normal probability distribution function (PDF). This paper utilizes the normal PDF to model the randomness of load demand as shown in the <xref ref-type="disp-formula" rid="e15">Equation 15</xref> (<xref ref-type="bibr" rid="B25">Quan et al., 2018</xref>):<disp-formula id="e15">
<mml:math id="m18">
<mml:mrow>
<mml:mi mathvariant="normal">f</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac bevelled="true">
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>&#x3c0;</mml:mi>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>L</mml:mi>
</mml:msub>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
<mml:mi>exp</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3bc;</mml:mi>
<mml:mi>L</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:msup>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>L</mml:mi>
</mml:msub>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(15)</label>
</disp-formula>Here, L, &#x3c3;, and &#xb5; represent electrical loads, the mean, and the standard deviation of the loads, respectively (<xref ref-type="bibr" rid="B15">Li et al., 2015</xref>; <xref ref-type="bibr" rid="B25">Quan et al., 2018</xref>).</p>
</sec>
<sec id="s2-2-4">
<title>2.2.4 DR program</title>
<p>DR programs (DRPs) are a way to improve coordination among system components, compensate for insufficient production capacity, and increase system efficiency. DR programs are implemented by reducing unnecessary loads at certain times, which can save energy and reduce peak demand on the grid. DR programs can be classified into two main categories: price-based and incentive-based programs. Price-based DR programs incentivize consumers to reduce their energy consumption by adjusting the price of electricity during peak demand periods. Incentive-based DR programs reward consumers for participating in demand response events by offering financial incentives. The proposed edition focuses on the execution of DR in the form of electrical and thermal load shifting (<xref ref-type="bibr" rid="B8">Duan et al., 2021</xref>; <xref ref-type="bibr" rid="B9">Ghaffarpour 2020</xref>; <xref ref-type="bibr" rid="B23">Nojavan et al., 2018</xref>). <xref ref-type="disp-formula" rid="e16">Equations 16</xref>&#x2013;<xref ref-type="disp-formula" rid="e18">18</xref> are used for modeling the load response program.<disp-formula id="e16">
<mml:math id="m19">
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mn>24</mml:mn>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mn>24</mml:mn>
</mml:munderover>
</mml:mstyle>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(16)</label>
</disp-formula>
<disp-formula id="e17">
<mml:math id="m20">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(17)</label>
</disp-formula>
<disp-formula id="e18">
<mml:math id="m21">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(18)</label>
</disp-formula>
<disp-formula id="e19">
<mml:math id="m22">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mi>&#x3b3;</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mi>d</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(19)</label>
</disp-formula>
<disp-formula id="e20">
<mml:math id="m23">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mi>&#x3b3;</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mi>d</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(20)</label>
</disp-formula>
<disp-formula id="e21">
<mml:math id="m24">
<mml:mrow>
<mml:msup>
<mml:mi>d</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>D</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mi>d</mml:mi>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>D</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(21)</label>
</disp-formula>
</p>
<p>The constraints governing the relationship between the maximum adaptive load and load consumption are formulated in <xref ref-type="disp-formula" rid="e19">Equations 19</xref>, <xref ref-type="disp-formula" rid="e20">20</xref>. &#x3b3;<sup>DR</sup> represents the adaptable load factor. Ultimately, <xref ref-type="disp-formula" rid="e21">Equation 21</xref> is used to determine the total load demand of the EH after its participation in the DRP.</p>
</sec>
<sec id="s2-2-5">
<title>2.2.5 Ramp rate constraints</title>
<p>Optimal management programs require unit commitment due to their multilevel nature. To ensure feasibility, ramp rate constraints must be imposed for each thermal power (TP) unit and CHP unit, which are defined according to <xref ref-type="disp-formula" rid="e22">Equations 22</xref>, <xref ref-type="disp-formula" rid="e23">23</xref>:<disp-formula id="e22">
<mml:math id="m25">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">i</mml:mi>
</mml:mrow>
<mml:mtext>TP</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">t</mml:mi>
</mml:mrow>
<mml:mtext>TP</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mtext>TP</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">i</mml:mi>
</mml:mrow>
<mml:mtext>TP</mml:mtext>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(22)</label>
</disp-formula>
<disp-formula id="e23">
<mml:math id="m26">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="normal">r</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">i</mml:mi>
</mml:mrow>
<mml:mtext>CHP</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">t</mml:mi>
</mml:mrow>
<mml:mtext>CHP</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mtext>CHP</mml:mtext>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">i</mml:mi>
</mml:mrow>
<mml:mtext>CHP</mml:mtext>
</mml:msubsup>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(23)</label>
</disp-formula>Here, r<sup>TP</sup>
<sub>d,i</sub> and r<sup>TP</sup>
<sub>u,i</sub> are the ramp-down and ramp-up rate of the thermal power (TP) unit i, respectively, and r<sup>CHP</sup>
<sub>d</sub> and r<sup>CHP</sup>
<sub>u</sub> are the ramp-down and ramp-up rate of the CHP unit, respectively (<xref ref-type="bibr" rid="B27">Shaabani et al., 2017</xref>).</p>
</sec>
</sec>
<sec id="s2-3">
<title>2.3 Mathematical modeling of the district heating system in the IES</title>
<p>DHSs transport thermal energy between sources and consumers using networks of supply and return pipelines. Each node in the DHS has three distinct temperatures: supply, return, and ambient temperatures. The return temperature is always lower than the supply temperature due to energy consumption. Thermal and hydraulic modeling is essential to analyze the DHS. The hydraulic model ensures the continuity of mass flow, and the thermal model governs heat balance, temperature drop, and temperature mixing at the nodes. The modeling of the district heating system is based on <xref ref-type="disp-formula" rid="e24">Equations 24</xref>&#x2013;<xref ref-type="disp-formula" rid="e30">30</xref>. <xref ref-type="disp-formula" rid="e26">Equation 26</xref> quantifies the temperature reduction within a pipe, which is influenced by the heat transfer coefficient and the pipe diameter. It is important to acknowledge that heat loss along the pipe inevitably occurs because of the disparity between the water temperature and the ambient temperature. In this study, the total heat loss of the DHS is defined as the summation of individual heat losses across all pipes (<xref ref-type="bibr" rid="B9">Ghaffarpour, 2020</xref>; <xref ref-type="bibr" rid="B13">Klinkel, 2020</xref>; <xref ref-type="bibr" rid="B19">Liu, 2013</xref>). The operational limits are determined using <xref ref-type="disp-formula" rid="e29">Equations 29</xref>, <xref ref-type="disp-formula" rid="e30">30</xref>.<disp-formula id="e24">
<mml:math id="m27">
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="normal">&#x39b;</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</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:mo>,</mml:mo>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mi mathvariant="normal">&#x39b;</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="normal">T</mml:mi>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(24)</label>
</disp-formula>
<disp-formula id="e25">
<mml:math display="block" id="m28">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">H</mml:mi>
<mml:mtext>CHP</mml:mtext>
</mml:msub>
<mml:mspace width="0.17em"/>
<mml:mo>&#x2b;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mi>O</mml:mi>
<mml:mi>U</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">H</mml:mi>
<mml:mtext>GB</mml:mtext>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">H</mml:mi>
<mml:mtext>EB</mml:mtext>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">H</mml:mi>
<mml:mi>L</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">H</mml:mi>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mspace width="-2.50em"/>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi>P</mml:mi>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mi mathvariant="normal">&#x39b;</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(25)</label>
</disp-formula>
<disp-formula id="e26">
<mml:math id="m29">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>a</mml:mi>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:msub>
<mml:mi>L</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi>P</mml:mi>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:msup>
<mml:mo>.</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>a</mml:mi>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mi mathvariant="normal">&#x39b;</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(26)</label>
</disp-formula>
<disp-formula id="e27">
<mml:math id="m30">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="normal">&#x39b;</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="normal">&#x39b;</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
<mml:mo>.</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mi mathvariant="normal">&#x39b;</mml:mi>
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(27)</label>
</disp-formula>
<disp-formula id="e28">
<mml:math id="m31">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msup>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mi mathvariant="italic">min</mml:mi>
</mml:msup>
</mml:msup>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfrac>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:msup>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msup>
<mml:mfrac>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:msup>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(28)</label>
</disp-formula>
<disp-formula id="e29">
<mml:math id="m32">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mtext>CHP</mml:mtext>
</mml:msub>
<mml:mi>min</mml:mi>
</mml:msup>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mtext>CHP</mml:mtext>
</mml:msub>
<mml:mi>max</mml:mi>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(29)</label>
</disp-formula>
<disp-formula id="e30">
<mml:math id="m33">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mtext>mn</mml:mtext>
</mml:msub>
<mml:mi>min</mml:mi>
</mml:msup>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mtext>mn</mml:mtext>
</mml:msub>
<mml:mi>max</mml:mi>
</mml:msup>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(30)</label>
</disp-formula>
</p>
</sec>
<sec id="s2-4">
<title>2.4 Mathematical modeling of the natural gas system (NGS) in the IES</title>
<p>The NGS network comprises loads, pipelines, gas compressors (GCs), storage units, and P2G units. The following equations were employed for the NGS modeling process. <xref ref-type="disp-formula" rid="e31">Equation 31</xref> represents the pipeline flow equation under a constant gas pressure condition. Additionally, the gas flow balance at each node is governed by <xref ref-type="disp-formula" rid="e32">Equation 32</xref>. <xref ref-type="disp-formula" rid="e33">Equation 33</xref> quantifies the gas consumption of the GC, and the constraints governing the NGS variables are defined in <xref ref-type="disp-formula" rid="e34">Equations 34</xref>, <xref ref-type="disp-formula" rid="e35">35</xref>.<disp-formula id="e31">
<mml:math id="m34">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>Z</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mi mathvariant="normal">&#x39b;</mml:mi>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="normal">T</mml:mi>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(31)</label>
</disp-formula>
<disp-formula id="e32">
<mml:math display="block" id="m35">
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:mrow>
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">&#x3a9;</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:munder>
</mml:mrow>
</mml:mstyle>
<mml:msubsup>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
<mml:mspace width=".2em"/>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
<mml:mspace width=".2em"/>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mn>2</mml:mn>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mi>L</mml:mi>
</mml:msub>
<mml:mspace width="-2.50em"/>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:mrow>
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mi mathvariant="normal">&#x39b;</mml:mi>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:munder>
</mml:mrow>
</mml:mstyle>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mi mathvariant="normal">&#x39b;</mml:mi>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="normal">T</mml:mi>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(32)</label>
</disp-formula>
<disp-formula id="e33">
<mml:math id="m36">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>B</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>.</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi>Z</mml:mi>
<mml:mi>b</mml:mi>
</mml:msub>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(33)</label>
</disp-formula>
<disp-formula id="e34">
<mml:math id="m37">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>min</mml:mi>
</mml:msup>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>max</mml:mi>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(34)</label>
</disp-formula>
<disp-formula id="e35">
<mml:math id="m38">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mtext>mn</mml:mtext>
</mml:msub>
<mml:mi>min</mml:mi>
</mml:msup>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mrow>
<mml:mi>S</mml:mi>
</mml:mrow>
<mml:mtext>mn</mml:mtext>
</mml:msub>
<mml:mi>max</mml:mi>
</mml:msup>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(35)</label>
</disp-formula>Here, S<sub>mn</sub> is the gas flow in a pipe of length m-n; P<sub>m</sub> and P<sub>n</sub> are the pressures at nodes m and n, respectively; and Z<sub>mn</sub> is a fixed number; in addition, Z<sub>k</sub> and B<sub>k</sub> are constants related to the compression factor and the working conditions of the compressor, respectively. S<sub>k</sub> is the gas flow through the compressor k, and P<sub>in</sub> and P<sub>out</sub> are the compressor inlet and outlet pressures, respectively. For GCs, &#x3c4; represents the gas flow consumed by compressor k and can be expressed as follows (<xref ref-type="disp-formula" rid="e36">Equation 36</xref>):<disp-formula id="e36">
<mml:math id="m39">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3b2;</mml:mi>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3b3;</mml:mi>
<mml:msup>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(36)</label>
</disp-formula>Here, <inline-formula id="inf4">
<mml:math id="m40">
<mml:mrow>
<mml:mi mathvariant="normal">&#x3b1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf5">
<mml:math id="m41">
<mml:mrow>
<mml:mi mathvariant="normal">&#x3b2;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf6">
<mml:math id="m42">
<mml:mrow>
<mml:mi mathvariant="normal">&#x3b3;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> are compressor consumption coefficients (<xref ref-type="bibr" rid="B32">Wei and Wang, 2020</xref>; <xref ref-type="bibr" rid="B16">Li et al., 2003</xref>; <xref ref-type="bibr" rid="B33">Woldeyohannes and Abd Majid, 2021</xref>).</p>
</sec>
<sec id="s2-5">
<title>2.5 Modeling of coupling components</title>
<sec id="s2-5-1">
<title>2.5.1 CHP</title>
<p>CHP serves as the first coupling element in an IES, in which electricity and heat are simultaneously produced via natural gas consumption. This interrelationship establishes a direct connection between electricity and heat generation. Additionally, the gas consumption of the CHP plant can be calculated using <xref ref-type="disp-formula" rid="e37">Equations 37</xref>, <xref ref-type="disp-formula" rid="e38">38</xref>.<disp-formula id="e37">
<mml:math id="m43">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi mathvariant="normal">D</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>.</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="normal">&#x3b7;</mml:mi>
<mml:mi>j</mml:mi>
<mml:mi>e</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mi mathvariant="normal">&#x3a9;</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>T</mml:mi>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(37)</label>
</disp-formula>
<disp-formula id="e38">
<mml:math id="m44">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="normal">H</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi mathvariant="normal">D</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>.</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="normal">&#x3b7;</mml:mi>
<mml:mi>j</mml:mi>
<mml:mi>h</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mi mathvariant="normal">&#x3a9;</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>T</mml:mi>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(38)</label>
</disp-formula>
</p>
</sec>
<sec id="s2-5-2">
<title>2.5.2 P2G unit</title>
<p>P2G technology utilizes electricity to produce hydrogen via two distinct processes, namely, electrolysis and methanation, enabling the provision of methane to gas consumers (<xref ref-type="bibr" rid="B2">Bhesdadiya et al., 2016</xref>). The gas production and electricity consumption of this device are quantified using <xref ref-type="disp-formula" rid="e39">Equation 39</xref>.<disp-formula id="e39">
<mml:math id="m45">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="normal">Q</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mn>2</mml:mn>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="normal">D</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mn>2</mml:mn>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>.</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="normal">&#x3b7;</mml:mi>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mn>2</mml:mn>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">k</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mi mathvariant="normal">&#x3a9;</mml:mi>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mn>2</mml:mn>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>T</mml:mi>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(39)</label>
</disp-formula>
</p>
<p>Undoubtedly, energy storage devices can greatly improve the operation of the system.</p>
</sec>
<sec id="s2-5-3">
<title>2.5.3 ESS units</title>
<p>Due to the optimized charge and discharge control algorithm, the ESS is used to optimize power production in the EPS, thereby providing a solution to this optimization problem. The modeling of the ESS units is based on <xref ref-type="disp-formula" rid="e40">Equations 40</xref>&#x2013;<xref ref-type="disp-formula" rid="e42">42</xref>.<disp-formula id="e40">
<mml:math id="m46">
<mml:mrow>
<mml:msub>
<mml:mtext>SOC</mml:mtext>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mtext>SOC</mml:mtext>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(40)</label>
</disp-formula>
<disp-formula id="e41">
<mml:math id="m47">
<mml:mrow>
<mml:msubsup>
<mml:mtext>SOC</mml:mtext>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
<mml:mi mathvariant="italic">min</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mtext>SOC</mml:mtext>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mtext>SOC</mml:mtext>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(41)</label>
</disp-formula>
<disp-formula id="e42">
<mml:math id="m48">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
<mml:mi mathvariant="italic">min</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(42)</label>
</disp-formula>Here, P<sup>min</sup>
<sub>ESS</sub>(t) and P<sup>max</sup>
<sub>ESS</sub>(t) are the lower and upper charge/discharge powers of the ESS device, respectively. This constraint denotes the limits set by the manufacturer for the charging and discharging power of energy storage devices. SOC<sub>ESS</sub>(t), &#x3b7;<sub>ESS</sub>(t), and C<sub>ESS</sub> are the state of charge, charge/discharge efficiency, and storage capacity, respectively. The limits of SOC are defined by SOC<sup>min</sup>
<sub>ESS</sub>(t) and SOC<sup>max</sup>
<sub>ESS</sub>(t), and <xref ref-type="disp-formula" rid="e40">Equation 40</xref> is used to define the dynamics of the SOC during charging and discharging modes (<xref ref-type="bibr" rid="B4">Chen et al., 2020</xref>).</p>
</sec>
<sec id="s2-5-4">
<title>2.5.4 Heat storage units</title>
<p>Heat can be stored in thermal storage. This storage is used to optimize heat production. <xref ref-type="disp-formula" rid="e43">Equations 43</xref>&#x2013;<xref ref-type="disp-formula" rid="e47">47</xref> constrain its operation, where &#x3b7;<sup>HS</sup> defines the charging and discharging efficiency of the unit. z<sup>HS</sup>
<sub>r</sub> represents the charging and discharging state used to integrate the storage model into the network model (<xref ref-type="bibr" rid="B4">Chen et al., 2020</xref>).<disp-formula id="e43">
<mml:math id="m49">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msup>
<mml:msubsup>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(43)</label>
</disp-formula>
<disp-formula id="e44">
<mml:math id="m50">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>Z</mml:mi>
<mml:mi>r</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:msubsup>
<mml:mrow>
<mml:mo>.</mml:mo>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mi>h</mml:mi>
</mml:mrow>
<mml:mi>r</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(44)</label>
</disp-formula>
<disp-formula id="e45">
<mml:math id="m51">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>Z</mml:mi>
<mml:mi>r</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mo>.</mml:mo>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mi>h</mml:mi>
</mml:mrow>
<mml:mi>r</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(45)</label>
</disp-formula>
<disp-formula id="e46">
<mml:math id="m52">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(46)</label>
</disp-formula>
<disp-formula id="e47">
<mml:math id="m53">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(47)</label>
</disp-formula>
</p>
</sec>
<sec id="s2-5-5">
<title>2.5.5 Gas storage units</title>
<p>As mentioned earlier, gas storage is used to optimize gas production. Similar to heat storage the modeling of the gas storage is based on <xref ref-type="disp-formula" rid="e48">Equations 48</xref>&#x2013;<xref ref-type="disp-formula" rid="e50">50</xref>.<disp-formula id="e48">
<mml:math id="m54">
<mml:mrow>
<mml:mtext>sog</mml:mtext>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mtext>sog</mml:mtext>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mi>g</mml:mi>
</mml:msub>
<mml:mo>&#x394;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="normal">S</mml:mi>
<mml:mi>n</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mfrac>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="normal">S</mml:mi>
<mml:mi>n</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>.</mml:mo>
<mml:msubsup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi>g</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(48)</label>
</disp-formula>
<disp-formula id="e49">
<mml:math id="m55">
<mml:mrow>
<mml:msup>
<mml:mtext>sog</mml:mtext>
<mml:mi mathvariant="italic">min</mml:mi>
</mml:msup>
<mml:mo>&#x2264;</mml:mo>
<mml:mtext>sog</mml:mtext>
<mml:mo>&#x2264;</mml:mo>
<mml:msup>
<mml:mtext>sog</mml:mtext>
<mml:mi mathvariant="italic">max</mml:mi>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(49)</label>
</disp-formula>
<disp-formula id="e50">
<mml:math id="m56">
<mml:mrow>
<mml:msup>
<mml:mtext>sog</mml:mtext>
<mml:mi>T</mml:mi>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mtext>sog</mml:mtext>
<mml:mi>T</mml:mi>
</mml:msup>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(50)</label>
</disp-formula>Here, <inline-formula id="inf7">
<mml:math id="m57">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf8">
<mml:math id="m58">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> are the gas input and output to and from the storage, respectively; &#x3b7;<sup>ch</sup>
<sub>g</sub> and &#x3b7;<sup>dis</sup>
<sub>g</sub> are the charging/discharging efficiency of the unit, respectively; S<sup>cap</sup>
<sub>n</sub> is the storage capacity; and sog<sup>min</sup> and sog<sup>max</sup> are the lower and upper sogs of the gas storage, respectively (<xref ref-type="bibr" rid="B32">Wei and Wang, 2020</xref>).</p>
</sec>
</sec>
</sec>
<sec id="s3">
<title>3 Optimal operation model and solution</title>
<p>The optimal day-ahead operation method of the IES is employed to formulate a multi-objective optimization problem that is solved using NSGA-III. The algorithm takes as inputs energy prices; outputs from distributed energy resource (DER) units; electric, heat, and natural gas loads; and conditions resulting from the DR program, and it produces as outputs the schedule of optimized variables for the next 24 h. The algorithm performs energy analysis, power flow, heat and mass flow, and natural gas flow calculations for day-ahead optimal management.</p>
<sec id="s3-1">
<title>3.1 Multi-objective optimization (MOO) definition</title>
<p>The MOO emerges as a method for solving an optimization problem with more than one objective. It is based on <xref ref-type="disp-formula" rid="e51">Equation 51</xref>:<disp-formula id="e51">
<mml:math id="m59">
<mml:mrow>
<mml:mtext>Minimize</mml:mtext>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">F</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">x</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>min</mml:mi>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">f</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">x</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">f</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">x</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">f</mml:mi>
<mml:mi>n</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">x</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mrow>
<mml:mfenced open="{" close="" separators="|">
<mml:mrow>
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">x</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">m</mml:mi>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">g</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">x</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">p</mml:mi>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(51)</label>
</disp-formula>Here, x &#x3d; [x<sub>1</sub>, x<sub>2</sub>, . . ., x<sub>k</sub>]<sup>T</sup> is the vector of decision variables, g<sub>i</sub> is the <italic>i</italic>th unequal condition, h<sub>i</sub> is the <italic>i</italic>th equality condition, m is the number of unequal conditions, and p is the number of equality conditions (<xref ref-type="bibr" rid="B2">Bhesdadiya et al., 2016</xref>; <xref ref-type="bibr" rid="B6">Dhiman et al., 2020</xref>; <xref ref-type="bibr" rid="B38">Zhang et al., 2021</xref>). The objective functions are formulated as follows:</p>
</sec>
<sec id="s3-2">
<title>3.2 Objective functions</title>
<p>This study formulates the optimization problem for minimizing losses and total cost in the optimal operation of the IES as a multi-objective problem. Different scenarios for loads and generating units are considered. The formulations for minimizing total losses and total costs are presented in <xref ref-type="bibr" rid="B27">Shaabani et al. (2017)</xref>, <xref ref-type="bibr" rid="B2">Bhesdadiya et al. (2016)</xref>, <xref ref-type="bibr" rid="B37">Yuan et al. (2020)</xref>, <xref ref-type="bibr" rid="B3">Chen and Wang (2020)</xref>, and <xref ref-type="bibr" rid="B24">Pansota et al. (2021)</xref>.</p>
<sec id="s3-2-1">
<title>3.2.1 The loss reduction objective function</title>
<p>The first objective function of the IES is defined to minimize the total losses of the system, as shown in <xref ref-type="disp-formula" rid="e52">Equation 52</xref>.<disp-formula id="e52">
<mml:math id="m60">
<mml:mrow>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mn>24</mml:mn>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi>E</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi>G</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi>H</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(52)</label>
</disp-formula>
</p>
<p>Here, Loss<sub>E</sub> is the active power loss in the electrical power network, Loss<sub>H</sub> is the total heat loss in the thermal energy network, and Loss<sub>G</sub> is the loss due to pressure drop in the gas energy network. The calculation of losses in subnetworks is based on <xref ref-type="disp-formula" rid="e53">Equations 53</xref>&#x2013;<xref ref-type="disp-formula" rid="e57">57</xref>.<disp-formula id="e53">
<mml:math id="m61">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi>E</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mi>l</mml:mi>
</mml:msub>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>&#x2010;</mml:mo>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>cos</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(53)</label>
</disp-formula>
<disp-formula id="e54">
<mml:math id="m62">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi>H</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>l</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>e</mml:mi>
</mml:mrow>
</mml:msub>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>L</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>l</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>e</mml:mi>
</mml:mrow>
</mml:msub>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>L</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(54)</label>
</disp-formula>
<disp-formula id="e55">
<mml:math id="m63">
<mml:mrow>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>L</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>P</mml:mi>
</mml:msub>
<mml:mover accent="true">
<mml:mi>m</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(55)</label>
</disp-formula>
<disp-formula id="e56">
<mml:math id="m64">
<mml:mrow>
<mml:msub>
<mml:mi>Q</mml:mi>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>L</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>P</mml:mi>
</mml:msub>
<mml:mover accent="true">
<mml:mi>m</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(56)</label>
</disp-formula>
<disp-formula id="e57">
<mml:math id="m65">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi>G</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>l</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>e</mml:mi>
</mml:mrow>
</mml:msub>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2206;</mml:mo>
<mml:mi mathvariant="normal">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(57)</label>
</disp-formula>
</p>
<p>The parameters of these equations are categorized into three groups:<list list-type="simple">
<list-item>
<p>1. Electrical network parameters: This group includes the conductance of the branch k (g<sub>k</sub>), the magnitudes of the voltages at the sending and receiving buses (V<sub>i</sub> and V<sub>j</sub>), the phase angle at the <italic>i</italic>th bus (&#x3b4;<sub>i</sub>), the number of buses (N<sub>b</sub>), and the number of lines (N<sub>l</sub>).</p>
</list-item>
<list-item>
<p>2. Heat network parameters: This group includes the supply and return temperatures of the node (T<sub>s</sub> and T<sub>r</sub>), the specific heat capacity of water (C<sub>p</sub>), the mass flow rate in the pipe (<inline-formula id="inf9">
<mml:math id="m66">
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="normal">m</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>), and the number of lines (N<sub>pipe</sub>).</p>
</list-item>
<list-item>
<p>3. Gas network parameters: This group includes the pressure at the sending and receiving nodes of the pipe (P<sub>i</sub> and P<sub>j</sub>), the gas flow rate in the pipe number l (F<sub>l</sub>), and the number of lines (N<sub>pipe</sub>).</p>
</list-item>
</list>
</p>
<p>In addition, S is the number of scenarios for the hourly day-ahead optimization. The objective of the optimal day-ahead operation is to achieve the optimal operation scheme. Therefore, the objective functions are provided in <xref ref-type="disp-formula" rid="e58">Equation 58</xref> and <xref ref-type="disp-formula" rid="e59">Equation 59</xref> to minimize the total losses of the system and the total operating and emission costs.</p>
</sec>
<sec id="s3-2-2">
<title>3.2.2 The cost objective function</title>
<p>The economic objective function of an IES is to minimize the daily operation and emission cost of the system, as shown in <xref ref-type="disp-formula" rid="e58">Equation 58</xref>.<disp-formula id="e58">
<mml:math display="block" id="m67">
<mml:mrow>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mn>3</mml:mn>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:mrow>
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mn>24</mml:mn>
</mml:munderover>
</mml:mrow>
</mml:mstyle>
<mml:mrow>
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:mfenced open="(" close="" separators="|">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mo>&#x2b;</mml:mo>
<mml:mspace width="0.17em"/>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>D</mml:mi>
<mml:mi>R</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mo>&#x2b;</mml:mo>
<mml:mspace width="0.17em"/>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>D</mml:mi>
<mml:mi>R</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mspace width="0.17em"/>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>W</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mspace width="0.17em"/>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mspace width="0.17em"/>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mn>2</mml:mn>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mi>t</mml:mi>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mspace width="0.17em"/>
<mml:mfenced open="" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mspace width="0.17em"/>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mspace width="0.17em"/>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mspace width="0.17em"/>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mspace width="0.17em"/>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mspace width="0.17em"/>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mspace width="0.17em"/>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mo>&#x2062;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mspace width="0.17em"/>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2062;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mi>t</mml:mi>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
</mml:mtable>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(58)</label>
</disp-formula>
</p>
<p>The operating costs of power generation units in the EPS and the DHN are determined by the costs associated with power plants, CHPs, boilers, thermal storage devices, wind turbines, solar arrays, P2G, electric storage devices, heat storage devices, and gas storage devices. In <xref ref-type="disp-formula" rid="e58">Equation 58</xref>, Cost<sub>EDRP</sub> is the cost of electrical power in a demand response program, and Cost<sub>TDRP</sub> is the cost of thermal power in a demand response program. In the calculation procedure of Cost<sub>fuel</sub>, the fuel cost function of the different units is defined as <xref ref-type="disp-formula" rid="e59">Equations 59</xref>&#x2013;<xref ref-type="disp-formula" rid="e62">62</xref>:<disp-formula id="e59">
<mml:math id="m68">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3b2;</mml:mi>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3b3;</mml:mi>
<mml:msup>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(59)</label>
</disp-formula>
<disp-formula id="e60">
<mml:math id="m69">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>O</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>O</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3b3;</mml:mi>
<mml:msup>
<mml:msub>
<mml:mi>O</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3b8;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:msup>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>O</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(60)</label>
</disp-formula>
<disp-formula id="e61">
<mml:math id="m70">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3b8;</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:msup>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(61)</label>
</disp-formula>
<disp-formula id="e62">
<mml:math id="m71">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mi>b</mml:mi>
</mml:msub>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>O</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mi>h</mml:mi>
</mml:msub>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(62)</label>
</disp-formula>Here, <inline-formula id="inf10">
<mml:math id="m72">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf11">
<mml:math id="m73">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf12">
<mml:math id="m74">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b3;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are the generator cost function parameters; <inline-formula id="inf13">
<mml:math id="m75">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf14">
<mml:math id="m76">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf15">
<mml:math id="m77">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b3;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf16">
<mml:math id="m78">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf17">
<mml:math id="m79">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b8;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf18">
<mml:math id="m80">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are CHP cost function parameters; and <inline-formula id="inf19">
<mml:math id="m81">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf20">
<mml:math id="m82">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b4;</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf21">
<mml:math id="m83">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b8;</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are heat-only unit cost function parameters (<xref ref-type="bibr" rid="B27">Shaabani et al., 2017</xref>). Energy hubs can assume a significant role in the emission of greenhouse gases such as nitrogen oxide (NO<sub>x</sub>), carbon monoxide (CO), and sulfur dioxide (SO<sub>2</sub>). Energy efficiency can reduce climate change caused by emissions (<xref ref-type="bibr" rid="B27">Shaabani et al., 2017</xref>). In this regard, the cost function related to air pollution is defined according to the <xref ref-type="disp-formula" rid="e63">Equations 63</xref>&#x2013;<xref ref-type="disp-formula" rid="e65">65</xref>:<disp-formula id="e63">
<mml:math id="m84">
<mml:mrow>
<mml:msub>
<mml:mtext>Cost</mml:mtext>
<mml:mrow>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mi mathvariant="bold">m</mml:mi>
<mml:mtext>ission</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(63)</label>
</disp-formula>
<disp-formula id="e64">
<mml:math id="m85">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mtext>Np</mml:mtext>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="normal">&#x3c4;</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="normal">j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mtext>Nc</mml:mtext>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="normal">&#x3c8;</mml:mi>
<mml:mi mathvariant="normal">j</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="normal">O</mml:mi>
<mml:mi mathvariant="normal">j</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="normal">k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mtext>Nh</mml:mtext>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="normal">T</mml:mi>
<mml:mi mathvariant="normal">k</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi mathvariant="normal">k</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(64)</label>
</disp-formula>
<disp-formula id="e65">
<mml:math id="m86">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mi mathvariant="normal">S</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mtext>Np</mml:mtext>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">&#x3b1;</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">&#x3b2;</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">&#x3b3;</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
</mml:msub>
<mml:msup>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
</mml:msub>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">&#x3be;</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
</mml:msub>
<mml:msup>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">&#x3bb;</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="normal">j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mtext>Nc</mml:mtext>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">O</mml:mi>
<mml:mi mathvariant="normal">j</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">&#x3b8;</mml:mi>
<mml:mi mathvariant="normal">j</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">&#x3b7;</mml:mi>
<mml:mi mathvariant="normal">j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="normal">k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mtext>Nh</mml:mtext>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">T</mml:mi>
<mml:mi mathvariant="normal">k</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">&#x3c0;</mml:mi>
<mml:mi mathvariant="normal">k</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">&#x3c1;</mml:mi>
<mml:mi mathvariant="normal">k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(65)</label>
</disp-formula>
</p>
<p>The aim is to achieve the most economic and technical operation scheme. Due to the reduction of peak load and the purchase of cheaper electricity and gas with emissions, the ratio of the peak load to average load (PAR) is used to reflect the reduction in energy sources used. It is defined as the ratio between the maximum input power and the average total input power during a given time slot. Reducing the PAR increases system stability and reduces consumer costs. During the unscheduled operation of the energy hub, the peak load can reduce the reliability of the system. It is calculated based on <xref ref-type="disp-formula" rid="e66">Equation 66</xref>.<disp-formula id="e66">
<mml:math id="m87">
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mi>A</mml:mi>
<mml:mi>R</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:msub>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>&#x3c4;</mml:mi>
</mml:msub>
</mml:mstyle>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mi>&#x3b1;</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:mn>24</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(66)</label>
</disp-formula>
</p>
<p>To compare the performance of different optimization algorithms, the improvement percentage is used. This metric quantifies the relative change in the quality of solutions obtained by one algorithm compared to another. It is calculated based on <xref ref-type="disp-formula" rid="e67">Equation 67</xref>, where R<sub>1</sub> and R<sub>2</sub> represent the obtained results of two algorithms.<disp-formula id="e67">
<mml:math id="m88">
<mml:mrow>
<mml:mi>I</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>R</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>R</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
<mml:msub>
<mml:mi>R</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mfrac>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(67)</label>
</disp-formula>
</p>
</sec>
</sec>
<sec id="s3-3">
<title>3.3 Proposed optimization approach</title>
<p>The proposed EMS introduces a robust decision-making framework for optimizing the operation of an IES 24 h in advance. It effectively addresses the uncertainties inherent in RESs, electrical loads, and demand response. The proposed model encompasses two objective functions: minimizing the overall energy cost and emissions and minimizing the overall energy loss. Due to the model&#x2019;s highly nonlinear nature, especially concerning thermal and gas system variables, an iterative approach utilizing the NSGA-III algorithm is employed to address the complex optimization problem. The optimal solution is obtained via solution reproduction during the iterative process.</p>
<sec id="s3-3-1">
<title>3.3.1 Scenario generation</title>
<p>This study employed a scenario generation method that involved randomly defining 1,000 scenarios of the variables within a 24-h period for uncertainty analysis. To enhance the efficiency of optimization algorithms and reduce computational time, the proposed strategy utilizes a multi-objective optimization technique and a clustering algorithm.</p>
</sec>
<sec id="s3-3-2">
<title>3.3.2 NSGA-III</title>
<p>In this study, NSGA-III is used to solve the optimal management problem of the IES, which is formulated in <xref ref-type="sec" rid="s4">Section 4</xref>. NSGA-III is a multi-objective evolutionary algorithm designed for many-objective problems (<xref ref-type="bibr" rid="B4">Chen et al., 2020</xref>; <xref ref-type="bibr" rid="B24">Pansota et al., 2021</xref>; <xref ref-type="bibr" rid="B22">Niu et al., 2021</xref>). It generates a pool of diverse solutions through non-dominated sorting and reproduction processes. This algorithm is an extension of NSGA-II and was proposed with the aim of improving the performance of NSGA-II. It adds the idea of reference points to improve the efficiency of NSGA-II (<xref ref-type="bibr" rid="B4">Chen et al., 2020</xref>), which is mainly used to handle multi-objective problems. The detailed flow of NSGA-III is shown in <xref ref-type="fig" rid="F1">Figure 1</xref>. This algorithm has been described in detail in <xref ref-type="bibr" rid="B4">Chen et al. (2020)</xref>.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>NSGA-III flowchart.</p>
</caption>
<graphic xlink:href="fenrg-13-1537703-g001.tif">
<alt-text content-type="machine-generated">Flowchart illustrating a process with inputs, procedure, and output. Inputs are parent and archive population \((P_t, S_t)\) and front number \(i (F_i)\). The procedure includes reference points definition \((Z^&#x2a;)\), offspring generation \((Q_t)\), non-dominated sorting \((R_t &#x3d; P_t \cup Q_t)\), and next population formation \((P_{t+1} &#x3d; F_1 \cup F_2 \cup F_3 \ldots \cup F_{i-1})\), choosing \(K\) solutions from \(F_1\) based on a normalize function. The output is the next population \((P_{t+1})\).</alt-text>
</graphic>
</fig>
</sec>
<sec id="s3-3-3">
<title>3.3.3 MOSOA</title>
<p>MOSOA is a metaheuristic algorithm in the field of overall optimization that has improved the globally optimum convergence. It is inspired by the foraging behavior of seagulls. It is a relatively new algorithm, but it has been shown to be effective for solving a variety of optimization problems, including multi-objective optimization problems. Its whole detailed process is described in more detail in <xref ref-type="bibr" rid="B24">Pansota et al. (2021)</xref>.</p>
</sec>
</sec>
<sec id="s3-4">
<title>3.4 Sim&#x26;Corrloss clustering method</title>
<p>In this paper, a clustering method called the Sim&#x26;Corrloss algorithm is used in scenario analysis to avoid unreliable decision-making. Unreliability results from the interaction between random variables and their correlations. The clustering algorithm used is based on the similarity and dependence of the saved scenarios after their reduction. The clustering method must be designed to preserve the correlation between the random variables. In the Sim&#x26;Corrloss clustering method, the objective function is developed based on the correlation loss and similarity functions as <xref ref-type="disp-formula" rid="e68">Equations 68</xref>&#x2013;<xref ref-type="disp-formula" rid="e70">70</xref>:<disp-formula id="e68">
<mml:math display="block" id="m89">
<mml:mrow>
<mml:mi mathvariant="italic">max</mml:mi>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mover accent="true">
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mi>l</mml:mi>
</mml:msub>
<mml:mo>&#x223c;</mml:mo>
</mml:mover>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3b2;</mml:mi>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mspace width=".2em"/>
<mml:mi>s</mml:mi>
<mml:mo>.</mml:mo>
<mml:mi>t</mml:mi>
<mml:mspace width=".2em"/>
<mml:mrow>
<mml:munderover>
<mml:mo>&#x22c3;</mml:mo>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mi>l</mml:mi>
</mml:msub>
</mml:munderover>
<mml:mo>&#x3d;</mml:mo>
</mml:mrow>
<mml:msub>
<mml:mi mathvariant="normal">&#x3a9;</mml:mi>
<mml:mi>l</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">&#x3a9;</mml:mi>
<mml:mi>l</mml:mi>
</mml:msub>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:msub>
<mml:mi mathvariant="normal">I</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
<mml:mo>&#x2229;</mml:mo>
<mml:msub>
<mml:mi mathvariant="normal">I</mml:mi>
<mml:msup>
<mml:mi>m</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x2200;</mml:mo>
<mml:mspace width=".2em"/>
<mml:mi>m</mml:mi>
<mml:mo>&#x2260;</mml:mo>
<mml:msup>
<mml:mi>m</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:mi>m</mml:mi>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mi>m</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mo>&#x2208;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mi>l</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(68)</label>
</disp-formula>
<disp-formula id="e69">
<mml:math id="m90">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>d</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mfenced open="|" close="" separators="|">
<mml:mrow>
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mi>k</mml:mi>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mi>k</mml:mi>
</mml:msup>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="|" close="" separators="|">
<mml:mrow>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mi>l</mml:mi>
</mml:msub>
<mml:mi>k</mml:mi>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>min</mml:mi>
<mml:mrow>
<mml:mfenced open="" close="|" separators="|">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:msup>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mi>l</mml:mi>
</mml:msub>
<mml:mi>k</mml:mi>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3b5;</mml:mi>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(69)</label>
</disp-formula>
<disp-formula id="e70">
<mml:math id="m91">
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>s</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:munderover>
</mml:mstyle>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>d</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:mi>&#x3c1;</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:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(70)</label>
</disp-formula>
</p>
<p>In the Sim&#x26;Corrloss clustering algorithm, the parameters are chosen based on a balance between maintaining similarity between the original scenario set and minimizing correlation loss during the scenario reduction process. In this algorithm, the ratio &#x3b2; is crucial as it controls the trade-off between the correlation loss and the similarity during scenario reduction, and the objective is to find an optimal value of &#x3b2; that yields the best performance while ensuring stability in the reduced scenario set. In this paper, &#x3b2; is tested one by one from 0 to 1 with a 0.1 interval through a large number of simulation tests. This method is explained in more detail in <xref ref-type="bibr" rid="B10">Hu and Li (2019)</xref>. To lessen the scenarios, the average values of solar irradiance, wind speed, and load demand over 24 h are calculated, and then the Sim&#x26;Corrloss clustering method is used.</p>
</sec>
</sec>
<sec sec-type="results|discussion" id="s4">
<title>4 Results and discussion</title>
<p>In order to validate the contributions of this work, a test IES was studied, including several electrical power sources, a CHP plant, a P2G unit, two heat boilers, and three storage devices. In this section, simulation is performed to illustrate the validity and effectiveness of our model of operation.</p>
<sec id="s4-1">
<title>4.1 The test IES</title>
<p>The test IES used to validate the proposed optimal management strategy is shown in <xref ref-type="fig" rid="F2">Figure 2</xref>. All the data used in the study can be found in <xref ref-type="bibr" rid="B36">Yu et al. (2018)</xref>. The simulation is performed over a period of 1 day, and the results of the energy analysis are obtained in hourly intervals. The parameters of the algorithms are listed in <xref ref-type="table" rid="T1">Table 1</xref>. The values of the parameters required for the simulation are presented in <xref ref-type="table" rid="T2">Tables 2</xref>&#x2013;<xref ref-type="table" rid="T10">10</xref>. As shown in <xref ref-type="fig" rid="F2">Figure 2</xref>, the test case system contains various energy components, including an electric boiler, a gas boiler transformer, a CHP plant, an ESS, an HSS, a GS, a P2G converter, a wind turbine, an SPV unit, a hot water pipeline, a compressor, and a gas pipeline. Each subsystem in the IES has its own converters with unique energy dispatch coefficients and energy conversion efficiencies. The required parameters of the components are listed in <xref ref-type="table" rid="T3">Table 3</xref>. In summary, both electric and heat loads are included in the DRP. The maximum generation of the wind turbine is set to 50 MW, and the capacity of the SPV unit is set to 27 MW. Additional data required for these sources can be found in <xref ref-type="bibr" rid="B36">Yu et al. (2018)</xref>. To demonstrate the validity of the proposed technique, 1,000 scenarios are generated with random variables, which are then reduced to 30 scenarios using a clustering algorithm.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Test case of the IES.</p>
</caption>
<graphic xlink:href="fenrg-13-1537703-g002.tif">
<alt-text content-type="machine-generated">Diagram of a complex energy system network. It includes energy sources like wind farm (WF), battery energy storage system (BESS), and units labeled U1, U2, and U3. Components include CHP, EB, GB, transformers, and switches. Connections are depicted with lines and arrows, numbered 1 to 9. Nodes labeled S1 and S2 are present, with interconnections forming a network of paths.</alt-text>
</graphic>
</fig>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Parameters of NSGA-III and MOSOA.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Symbol</th>
<th align="center">Meaning</th>
<th align="center">Value</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">N</td>
<td align="center">Size of the population</td>
<td align="center">50</td>
</tr>
<tr>
<td align="center">Maxit</td>
<td align="center">Maximum iteration</td>
<td align="center">100</td>
</tr>
<tr>
<td align="center">D</td>
<td align="center">Number of decision variables</td>
<td align="center">11</td>
</tr>
<tr>
<td align="center">R</td>
<td align="center">Number of run</td>
<td align="center">10</td>
</tr>
<tr>
<td align="center">S</td>
<td align="center">Number of scenarios</td>
<td align="center">1,000</td>
</tr>
<tr>
<td align="center">Sr</td>
<td align="center">Number of scenarios after reduction</td>
<td align="center">30</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Values and limits of variables and parameters in the test IES.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Parameter/variable</th>
<th align="center">Value</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">(soc, soh, sog, Q<sub>P2G</sub>)<sub>min</sub>
</td>
<td align="center">0</td>
</tr>
<tr>
<td align="center">(soc, soh, sog, Q<sub>P2G</sub>)<sub>max</sub>
</td>
<td align="center">(45 Mwh, 15 Mwh, 37.5 KCF, 2,000 KCF)</td>
</tr>
<tr>
<td align="center">(V, Ts, Tr, P)<sub>min</sub>
</td>
<td align="center">(0.95 pu, 85, 40, Ref. [17])</td>
</tr>
<tr>
<td align="center">(V, Ts, Tr, P)<sub>max</sub>
</td>
<td align="center">(1.05 pu, 110, 50, Ref. [17])</td>
</tr>
<tr>
<td align="center">(m, Q)<sub>min</sub>
</td>
<td align="center">(Ref. [17], Ref. [17])</td>
</tr>
<tr>
<td align="center">(m, Q)<sub>max</sub>
</td>
<td align="center">(500, Ref. [17])</td>
</tr>
<tr>
<td align="center">Za, &#x3b7;<sub>GC</sub>, E<sub>GC</sub>, K<sub>GC</sub>, C<sub>k</sub>, CR</td>
<td align="center">(0.95, 0.85, 0.99, 0.0854, 1.3, 1.414)</td>
</tr>
<tr>
<td align="center">&#x3b7;e<sup>CHP</sup>, &#x3b7;h<sup>CHP</sup>, &#x3b7;<sup>GB</sup>, &#x3b7;<sup>EB</sup>
</td>
<td align="center">(0.4, 0.5, 0.85, 0.85)</td>
</tr>
<tr>
<td align="center">&#x3b7;<sub>ES</sub>ch, &#x3b7;<sub>GS</sub>ch, &#x3b7;<sub>HS</sub>ch</td>
<td align="center">0.9</td>
</tr>
<tr>
<td align="center">&#x3b7;<sub>ES</sub>
<sup>dis</sup>, &#x3b7;<sub>GS</sub>
<sup>dis</sup>, &#x3b7;<sub>HS</sub>
<sup>dis</sup>
</td>
<td align="center">0.9</td>
</tr>
<tr>
<td align="center">(soc, soh, sog)<sub>initial</sub>
</td>
<td align="center">(9 Mwh, 10 Mwh, 0 KCF)</td>
</tr>
<tr>
<td align="center">&#x3bb;</td>
<td align="center">0.4</td>
</tr>
<tr>
<td align="center">Ta</td>
<td align="center">10&#xb0;C</td>
</tr>
<tr>
<td align="center">H/P</td>
<td align="center">1.286</td>
</tr>
<tr>
<td align="center">COP</td>
<td align="center">3</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T3" position="float">
<label>TABLE 3</label>
<caption>
<p>Generator cost function parameters and CHP cost function parameters.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Unit</th>
<th align="center">&#x3b1;</th>
<th align="center">&#x3b2;</th>
<th align="center">&#x3b4;</th>
<th align="center">&#x3c3;</th>
<th align="center">&#x3bb;</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">1</td>
<td align="center">25</td>
<td align="center">2</td>
<td align="center">0.008</td>
<td align="center">0.042</td>
<td align="center">100</td>
</tr>
<tr>
<td align="center">2</td>
<td align="center">60</td>
<td align="center">1.8</td>
<td align="center">0.003</td>
<td align="center">0.040</td>
<td align="center">140</td>
</tr>
<tr>
<td align="center">3</td>
<td align="center">100</td>
<td align="center">2.1</td>
<td align="center">0.001</td>
<td align="center">0.038</td>
<td align="center">180</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T4" position="float">
<label>TABLE 4</label>
<caption>
<p>CHP cost function parameters.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Unit</th>
<th align="center">&#x3b1;</th>
<th align="center">&#x3b2;</th>
<th align="center">&#x3b4;</th>
<th align="center">&#x3c3;</th>
<th align="center">&#x3b8;</th>
<th align="center">&#x3be;</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">1</td>
<td align="center">2650</td>
<td align="center">14.5</td>
<td align="center">0.0345</td>
<td align="center">4.2</td>
<td align="center">0.03</td>
<td align="center">0.031</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T5" position="float">
<label>TABLE 5</label>
<caption>
<p>Heat-only cost function parameters.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Unit</th>
<th align="center">&#x3b1;</th>
<th align="center">&#x3b4;</th>
<th align="center">&#x3b8;</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">1</td>
<td align="center">950</td>
<td align="center">2.0109</td>
<td align="center">0.038</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T6" position="float">
<label>TABLE 6</label>
<caption>
<p>Emission cost parameters of the power-only units.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Unit</th>
<th align="center">&#x3c4;</th>
<th align="center">&#x3bb;</th>
<th align="center">&#x3be;</th>
<th align="center">&#x3c3;</th>
<th align="center">&#x3b2;</th>
<th align="center">&#x391;</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">1</td>
<td align="center">0.0064</td>
<td align="center">0.02857</td>
<td align="center">2e-4</td>
<td align="center">6.49e-4</td>
<td align="center">&#x2212;0.02777</td>
<td align="center">0.04091</td>
</tr>
<tr>
<td align="center">2</td>
<td align="center">0.0052</td>
<td align="center">0.0333</td>
<td align="center">5e-4</td>
<td align="center">5.63e-4</td>
<td align="center">&#x2212;0.03023</td>
<td align="center">0.02534</td>
</tr>
<tr>
<td align="center">3</td>
<td align="center">0.0076</td>
<td align="center">0.08</td>
<td align="center">1e-6</td>
<td align="center">4.58e-4</td>
<td align="center">&#x2212;0.02547</td>
<td align="center">0.04258</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T7" position="float">
<label>TABLE 7</label>
<caption>
<p>Emission cost parameters of the CHP.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Unit</th>
<th align="center">&#x3b8;</th>
<th align="center">&#x3b7;</th>
<th align="center">&#x3c8;</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">1</td>
<td align="center">1.56e-6</td>
<td align="center">1.5e-5</td>
<td align="center">0.2</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T8" position="float">
<label>TABLE 8</label>
<caption>
<p>Emission cost parameters of the heat-only units.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Unit</th>
<th align="center">&#x3c3;</th>
<th align="center">&#x3c1;</th>
<th align="center">&#x3c0;</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">1</td>
<td align="center">0.008</td>
<td align="center">1e-5</td>
<td align="center">8e-6</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T9" position="float">
<label>TABLE 9</label>
<caption>
<p>Values of the marginal cost of each generating unit and storage.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Parameter</th>
<th align="center">C<sup>CHP</sup>
</th>
<th align="center">C<sub>in</sub>
<sup>GS</sup>
</th>
<th align="center">C<sub>out</sub>
<sup>GS</sup>
</th>
<th align="center">C<sup>P2G</sup>
</th>
<th align="center">C<sub>in</sub>
<sup>HS</sup>
</th>
<th align="center">C<sub>out</sub>
<sup>HS</sup>
</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Marginal cost ($/MWh)</td>
<td align="center">13</td>
<td align="center">2</td>
<td align="center">10</td>
<td align="center">2</td>
<td align="center">2</td>
<td align="center">16</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T10" position="float">
<label>TABLE 10</label>
<caption>
<p>Start-up and shut-down cost.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">C<sub>SU</sub>
<sup>CHP</sup>
</th>
<th align="center">C<sub>SD</sub>
<sup>CHP</sup>
</th>
<th align="center">C<sub>SU</sub>
<sup>Gi</sup>
</th>
<th align="center">C<sub>SD</sub>
<sup>Gi</sup>
</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">10 ($)</td>
<td align="center">10 ($)</td>
<td align="center">10 ($)</td>
<td align="center">10 ($)</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The optimal scheduling of the IES in the most probable scenario, aiming to minimize the total losses and total operating and emission costs, is presented in <xref ref-type="fig" rid="F3">Figures 3</xref>&#x2013;<xref ref-type="fig" rid="F5">5</xref>. Power generation units such as the SPV unit, wind turbines, and CHP plant are assumed to be capable of injecting both active (P) and reactive (Q) power, and their installation location is considered to be the PQ bus. The optimal Pareto front obtained in the scenario with the highest probability of occurrence is shown in <xref ref-type="fig" rid="F6">Figure 6</xref>, which depicts the total losses and total operating costs of the system over a 24-h period. The statistical analysis of the objective functions defined in the optimization process is presented in <xref ref-type="table" rid="T11">Table 11</xref>. These results indicate that the changes in the objective functions remain within the specified range when the load demand, wind speed, and solar irradiance change. This suggests that the proposed method can effectively handle changes in input variables and their impact on output variables. Additionally, it emphasizes the importance of considering all aspects of the problem in short-term studies. Finally, the obtained statistical values are compared to the results obtained using MOSOA. The optimal Pareto front presented in <xref ref-type="fig" rid="F6">Figure 6</xref> shows the compromise point determined using NSGA-III for the optimization problem. The total operating and emission costs are 1.1602 E&#x2b;05 $, and the total loss value is 0.1188 E&#x2b;02 MW. The corresponding values for the objective functions obtained using MOSOA are 1.1593 E&#x2b;05 $ and 0.1189 E&#x2b;02 MW. When it comes to reducing the loss value for a true operating point, NSGA-III demonstrates superior performance, whereas MOSOA performs better in reducing total costs. As a result, a trade-off must be struck between minimizing loss and minimizing cost in operational optimization.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Optimal daily dispatch of the power generation units.</p>
</caption>
<graphic xlink:href="fenrg-13-1537703-g003.tif">
<alt-text content-type="machine-generated">Bar chart showing hourly power generation across nine devices over a 24-hour period. Power is measured in per unit (P.u) on the y-axis. Different colors represent different power sources, as indicated by the legend, including PG1, PG2, PG3, PES, Pchp, PEB, PP2g, PPV, and PWt.</alt-text>
</graphic>
</fig>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Optimal daily dispatch of the heat generation units.</p>
</caption>
<graphic xlink:href="fenrg-13-1537703-g004.tif">
<alt-text content-type="machine-generated">Three-dimensional bar chart titled &#x22;Hourly Heat Generation,&#x22; showing heat output in per unit (P.u) over time in hours across four devices. Different heat sources are represented by colored bars: blue for Hchp, cyan for Heb, yellow for HGS, and brown for HGB. The chart illustrates the variation in heat generation over a 24-hour period.</alt-text>
</graphic>
</fig>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>Optimal daily dispatch of the gas generation units.</p>
</caption>
<graphic xlink:href="fenrg-13-1537703-g005.tif">
<alt-text content-type="machine-generated">3D bar chart titled &#x22;Hourly Gas Production&#x22; showing gas flow over time across four device numbers. The vertical axis represents flow in per unit, and the horizontal axes represent device number and time in hours. Bars are color-coded: dark blue for FGs, light blue for FP2G, yellow for FS1, and brown for FS, with FS occupying higher flow values.</alt-text>
</graphic>
</fig>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Pareto front obtained through NSGA-III and MOSOA.</p>
</caption>
<graphic xlink:href="fenrg-13-1537703-g006.tif">
<alt-text content-type="machine-generated">Two scatter plot graphs of Pareto fronts comparing NSGA-III (top) and MOSOA (bottom). Both graphs plot Loss (Pu) versus Cost (Pu), showing different points marked as circles or triangles for maximum probability and red stars for the best compromise solution. The NSGA-III graph has circular shapes, while the MOSOA graph uses triangular shapes.</alt-text>
</graphic>
</fig>
<table-wrap id="T11" position="float">
<label>TABLE 11</label>
<caption>
<p>Statistical analysis of the objective functions.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Algorithm</th>
<th colspan="4" align="center">NSGA-III</th>
<th colspan="4" align="center">MOSOA</th>
<th colspan="4" align="center">GAMS</th>
</tr>
<tr>
<th align="center">Parameter</th>
<th align="center">Mean</th>
<th align="center">Std</th>
<th align="center">Max</th>
<th align="center">Min</th>
<th align="center">Mean</th>
<th align="center">Std</th>
<th align="center">Max</th>
<th align="center">Min</th>
<th align="center">Mean</th>
<th align="center">Std</th>
<th align="center">Max</th>
<th align="center">Min</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Total loss</td>
<td align="center">0.1389</td>
<td align="center">0.0116</td>
<td align="left">0.1378</td>
<td align="center">0.1378</td>
<td align="center">0.1378</td>
<td align="center">0.1378</td>
<td align="left">0.1596</td>
<td align="center">0.1188</td>
<td align="center">0.1378</td>
<td align="center">0.0113</td>
<td align="center">0.1588</td>
<td align="center">0.1198</td>
</tr>
<tr>
<td align="center">Total cost</td>
<td align="center">1.3319</td>
<td align="center">0.1034</td>
<td align="left">1.3448</td>
<td align="center">1.3448</td>
<td align="center">1.3448</td>
<td align="center">1.3448</td>
<td align="left">1.5094</td>
<td align="center">1.1522</td>
<td align="center">1.3448</td>
<td align="center">0.1053</td>
<td align="center">1.5058</td>
<td align="center">1.1639</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>During the time intervals [01:00, 07:00] and [21:00, 24:00], the SPV plant does not generate any electricity, and the electricity demand is met by other power sources, whereas the ESS is charged. The CHP plant also supplies electricity during these periods. When the SPV plant generates more electricity, the net consumption of the electric boiler and P2G increases to meet the heat and gas demand. During the periods of low wind power generation, the load on the P2G decreases, but the output of thermal power plants increases. The operational results of the heat generation units and storage device are depicted in <xref ref-type="fig" rid="F4">Figure 4</xref>. As shown, the dispatchable unit&#x2019;s heat generation increases, whereas the gas boiler&#x2019;s heat generation decreases. This necessitates an expansion of both gas and electricity generation. Heat storage ensures that the heat surplus or deficit throughout the day is compensated.</p>
<p>The power generated by the RES is proportional to wind speed and solar irradiance, and this is taken into account in the optimization process. However, the charging and discharging of storage devices are generally proportional to energy consumption, considering the type of load in each subsystem. This means that storage devices should be charged when energy consumption is low and discharged when consumption is high. Optimal management is implemented with a DRP for electrical and thermal loads. Load shifting is employed to smooth the load profile.</p>
<p>These figures demonstrate that the integration of renewable energy sources and energy storage enhances system sustainability, resilience, and flexibility to address critical conditions.</p>
<p>As shown in <xref ref-type="fig" rid="F7">Figure 7</xref>, by implementing DRPs and shifting loads to off-peak hours, storage devices are expected to discharge during peak demand periods and charge during off-peak hours. This optimizes storage utilization, reduces load fluctuations, and enhances system robustness.</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Optimal electrical and heat load factors in the presence of a DRP.</p>
</caption>
<graphic xlink:href="fenrg-13-1537703-g007.tif">
<alt-text content-type="machine-generated">Bar chart showing hourly electric (EDR) and heat (HDR) demand response. Load factor on the y-axis ranges from negative 0.1 to 0.1, with time in hours on the x-axis from 0 to 24. Positive values occur mainly from 0 to 10 and 21 to 24, while negative values dominate between 10 to 21. HDR and EDR are represented in black and maroon, respectively.</alt-text>
</graphic>
</fig>
<p>A statistical analysis of the objective functions defined in the optimization process is presented in <xref ref-type="table" rid="T11">Table 11</xref>. It contains quantitative statistical analysis of the objective functions, total loss and total cost, for the three algorithms: NSGA-III, MOSOA, and GAMS. The headers represent statistical metrics: mean (average value), Std (standard deviation), max (maximum value), and min (minimum value). The associated data entries are the computed values for total loss (in per-unit, Pu, with base 1e5 MW) and total cost (in per-unit, Pu, with base 1e5 $). The minimum and maximum values of the objective functions for total loss and total cost are found to be within the ranges [0.1178&#x2013;0.1581] and [1.1521&#x2013;1.5095], respectively. Statistical analysis of the optimization process reveals that the objective functions, total loss and total cost, are constrained within specified ranges. It is important to note that in statistical analysis, the average value represents the central tendency of the data, w the standard deviation quantifies the dispersion of the data around the mean value. Correspondingly, the average values for the loss function and the total cost function are found to be 0.1389 and 1.3319, respectively. The standard deviations for the loss function and the total cost function are 0.0116 and 0.1034, respectively. These results suggest that the changes in the objective functions, namely, total loss and total cost, will be constrained within the specified ranges when the load demand, wind speed, and solar irradiance undergo variations. This indicates the effective capture of input&#x2013;output relationships by the proposed method. Moreover, the inherent complexity of energy problems underscores the significance of statistical analysis in short-term studies for optimal energy management systems. The obtained statistical values are compared with those obtained via the MOSOA algorithm and GAMS solver.</p>
<p>A comparative analysis was conducted among NSGA-III, MOSOA, and the GAMS solver. The findings clearly indicate that NSGA-III is superior to MOSOA in minimizing the cost function. Conversely, as the cost function decreases, the loss function tends to increase, suggesting a trade-off between these two objectives. However, it is important to note that the performance of both algorithms may vary depending on the specific characteristics of the problem. <xref ref-type="table" rid="T12">Table 12</xref> shows this conclusion. As shown in <xref ref-type="table" rid="T13">Table 13</xref>, in the scenario with the highest probability of occurrence, PAR is decreased by 5.4247% and 0.1691% in the electrical and gas networks, respectively. In the unscheduled operation scenario, where there is no optimization or scheduling, the PAR in both the electric and gas networks is the highest. This indicates greater pressure on the network during peak times, signifying inefficient energy usage and higher operational stress. In comparison, it can be said that with NSGA-III, the PAR decreases in both the electric and gas networks.</p>
<table-wrap id="T12" position="float">
<label>TABLE 12</label>
<caption>
<p>Improvement percentage (IP).</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Algorithm</th>
<th align="center">NSGA-III</th>
<th align="center">MOSOA</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">IP in loss</td>
<td align="center">0.00798</td>
<td align="center">0.01161</td>
</tr>
<tr>
<td align="center">IP in cost</td>
<td align="center">&#x2212;0.00959</td>
<td align="center">&#x2212;0.01041</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T13" position="float">
<label>TABLE 13</label>
<caption>
<p>PAR index.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">PAR index</th>
<th align="center">In the electric network</th>
<th align="center">In the gas network</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Unscheduled operation</td>
<td align="center">1.2480</td>
<td align="center">1.5961</td>
</tr>
<tr>
<td align="center">Scheduled operation with NSGA-III</td>
<td align="center">1.1803</td>
<td align="center">1.5934</td>
</tr>
<tr>
<td align="center">Scheduled operation with GAMS</td>
<td align="center">1.1934</td>
<td align="center">1.5917</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>In addition, in the energy hub, based on the definition of an index to measure the energy performance of an energy hub, the total energy input is compared to the total energy output. This index is defined as the ratio between the total energy output and the total energy input. It is expressed as an energy efficiency index (EEI), whose higher value indicates higher efficiency and lower total energy loss. This index is evaluated under three operational modes. As shown in <xref ref-type="table" rid="T14">Table 14</xref>, in the scenario with the highest probability of occurrence, the results indicate that scheduling with both NSGA-III and GAMS algorithms improved the energy efficiency, with NSGA-III showing a more significant improvement.</p>
<table-wrap id="T14" position="float">
<label>TABLE 14</label>
<caption>
<p>EEI.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Energy efficiency index</th>
<th align="center">EEI in the energy hub</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Unscheduled operation</td>
<td align="center">0.5904</td>
</tr>
<tr>
<td align="center">Scheduled operation with NSGA-III</td>
<td align="center">0.6523</td>
</tr>
<tr>
<td align="center">Scheduled operation with GAMS</td>
<td align="center">0.5918</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s4-2">
<title>4.2 Highlighted preferences of the proposed approach</title>
<p>
<list list-type="simple">
<list-item>
<p>&#x2022; Most conventional energy management systems (EMSs) do not fully consider the state variables of the three subsystems in the IES. In contrast, the proposed approach comprehensively captures all the state variables based on load flow analysis, heat flow analysis, and gas flow analysis in the EPS, DHS, and NGS, respectively. This enables the optimization of loss function and cost function.</p>
</list-item>
<list-item>
<p>&#x2022; The IES model in existing studies does not incorporate all the components simultaneously, including CHP, P2G, ESS, HSS, GS, RES, EB, and GS. However, the proposed model integrates these components simultaneously for a more comprehensive and holistic representation of the IES.</p>
</list-item>
<list-item>
<p>&#x2022; None of the previous studies employed minimization of heat losses and reduction of power losses associated with pressure drop as objective functions.</p>
</list-item>
<list-item>
<p>&#x2022; Although previous studies focused primarily on electrical load control, the proposed model extends to both electrical and thermal load control. This broader perspective enables more effective optimization of the system&#x2019;s performance.</p>
</list-item>
<list-item>
<p>&#x2022; The uncertainty of solar radiation, wind speed, and electric load demand is simultaneously considered in the proposed EMS. This sets it apart from existing studies that only treat these variables individually. The comprehensive treatment of uncertainty enhances the robustness and adaptability of the proposed model to real-world conditions.</p>
</list-item>
<list-item>
<p>&#x2022; None of the mentioned studies considered the correlation between random variables. The proposed model addresses this gap by employing the Sim&#x26;Corrloss clustering method. This clustering method facilitates efficient and reliable optimization, making the proposed approach more robust.</p>
</list-item>
<list-item>
<p>&#x2022; The optimization problem of EMS is defined as a stochastic multi-objective model, allowing for considering multiple objective functions simultaneously. NSGA-III is employed due to its efficiency and ability to find optimal solutions.</p>
</list-item>
</list>
</p>
</sec>
<sec id="s4-3">
<title>4.3 The limitations of the proposed approach</title>
<p>
<list list-type="simple">
<list-item>
<p>&#x2022; The model does not consider the connection to upstream electricity, gas, and heat networks. This simplification was made to focus on the local energy system optimization. However, future research could explore the impact of interactions with larger networks and the potential for energy exchange.</p>
</list-item>
<list-item>
<p>&#x2022; The scenario tree was not employed to define the 24-h scenarios. Although scenario trees are a powerful tool for modeling uncertainty, their use can lead to a significant increase in computational burden, especially over a 24-h period.</p>
</list-item>
<list-item>
<p>&#x2022; The convex optimization was not performed. Due to the complexity of the model and the presence of non-linear constraints, direct application of convex optimization was not possible. Future research could explore the use of linear approximation methods to transform the model into a format suitable for convex optimization.</p>
</list-item>
</list>
</p>
<p>It is important to note that these limitations do not diminish the value of this study but rather highlight potential avenues for future research and the development of more comprehensive models.</p>
</sec>
</sec>
<sec sec-type="conclusion" id="s5">
<title>5 Conclusion</title>
<p>This paper introduces an optimal energy management approach for an IES based on the NSGA-III algorithm. The proposed approach effectively addresses the challenges posed by uncertainty, renewable energy integration, and cost optimization in power systems. By employing the Sim&#x26;Corrloss clustering technique, the computational complexity of the optimization problem is significantly reduced. To manage the impact of parameter uncertainty, a comprehensive range of storage devices is utilized. Moreover, a DRP is implemented to compensate for generation capacity limitations and enhance energy efficiency. The optimization objectives encompass minimizing total losses, emissions, and operating costs. The performance of the proposed approach is evaluated based on its ability to effectively utilize RES units and storage devices, thereby reducing overall losses and operating expenses across all three subsystems. Simulation results are compared with those obtained using the multi-objective simulated annealing (MOSOA) and GAMS solver, demonstrating the superior performance of the proposed approach. Based on the numerical findings obtained from the test system, the following conclusions can be drawn:<list list-type="simple">
<list-item>
<p>&#x2022; The proposed model provides accurate solutions to the optimization problem, making it an invaluable tool for energy management.</p>
</list-item>
<list-item>
<p>&#x2022; The proposed optimization technique achieves near-optimal solutions by striking a suitable balance between the conflicting objectives.</p>
</list-item>
<list-item>
<p>&#x2022; The proposed IES enhances the flexibility of the power system through efficient management of RES and storage resources.</p>
</list-item>
<list-item>
<p>&#x2022; By converting excess RES energy into converter units, the proposed approach effectively mitigates the impact of RES power constraints and optimizes system performance.</p>
</list-item>
</list>
</p>
<p>In conclusion, the proposed energy management approach offers a robust and reliable solution for optimizing energy consumption, reducing costs, and enhancing the flexibility of power systems. Its ability to handle uncertainty, integrate RES, and balance multiple objectives makes it a valuable tool for the future of energy management.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s6">
<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 sec-type="author-contributions" id="s7">
<title>Author contributions</title>
<p>HF: writing &#x2013; original draft and writing &#x2013; review and editing. NG: conceptualization, methodology, supervision, and writing &#x2013; review and editing. FS: methodology, supervision, and writing &#x2013; review and editing.</p>
</sec>
<sec sec-type="funding-information" id="s8">
<title>Funding</title>
<p>The author(s) declare that no financial support was received for the research and/or publication of this article.</p>
</sec>
<sec sec-type="COI-statement" id="s9">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="ai-statement" id="s10">
<title>Generative AI statement</title>
<p>The author(s) declare that no Generative AI was used in the creation of this manuscript.</p>
</sec>
<sec sec-type="disclaimer" id="s11">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Alghamdi</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Alanazi</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Alanazi</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Qasaymeh</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zubair</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Awan</surname>
<given-names>A. B.</given-names>
</name>
<etal/>
</person-group> (<year>2023</year>). <article-title>Energy hub optimal scheduling and management in the day-ahead market considering renewable energy sources, CHP, electric vehicles, and storage systems using improved fick&#x2019;s law algorithm</article-title>. <source>Appl. Sci.</source> <volume>13</volume>, <fpage>3526</fpage>. <pub-id pub-id-type="doi">10.3390/app13063526</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bhesdadiya</surname>
<given-names>R. H.</given-names>
</name>
<name>
<surname>Trivedi</surname>
<given-names>I. N.</given-names>
</name>
<name>
<surname>Jangir</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Jangir</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Kumar</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>An NSGA-III algorithm for solving multi-objective economic/environmental dispatch problem</article-title>. <source>Cogent Eng.</source> <volume>3</volume>, <fpage>1269383</fpage>. <pub-id pub-id-type="doi">10.1080/23311916.2016.1269383</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>An optimization method for an integrated energy system scheduling process based on NSGA-II improved by tent mapping chaotic algorithms</article-title>. <source>Processes</source> <volume>8</volume>, <fpage>426</fpage>. <pub-id pub-id-type="doi">10.3390/pr8040426</pub-id>
</citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Lu</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Optimal operation for integrated electricity&#x2013;heat system with improved heat pump and storage model to enhance local energy utilization</article-title>. <source>Energies</source> <volume>13</volume>, <fpage>6729</fpage>. <pub-id pub-id-type="doi">10.3390/en13246729</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Darbandi</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Brockmann</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Ni</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Kriegel</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Energy scheduling strategy for energy hubs using reinforcement learning approach</article-title>. <source>J. Build. Eng.</source> <volume>98</volume>, <fpage>111030</fpage>. <pub-id pub-id-type="doi">10.1016/j.jobe.2024.111030</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dhiman</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Singh</surname>
<given-names>K. K.</given-names>
</name>
<name>
<surname>Soni</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Nagar</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Dehghani</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Slowik</surname>
<given-names>A.</given-names>
</name>
<etal/>
</person-group> (<year>2020</year>). <article-title>MOSOA: a new multi-objective seagull optimization algorithm</article-title>. <source>Expert Syst. Appl.</source> <volume>143</volume>, <fpage>114150</fpage>. <pub-id pub-id-type="doi">10.1016/j.eswa.2020.114150</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dong</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Cheng</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Hybrid possibilistic-probabilistic energy flow assessment for multi-energy carrier systems</article-title>. <source>IEEE Access</source> <volume>7</volume>, <fpage>176115</fpage>&#x2013;<lpage>176126</lpage>. <pub-id pub-id-type="doi">10.1109/access.2019.2943998</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Duan</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Jin</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Flexible dispatch for integrated power and gas systems considering power-to-gas and demand response</article-title>. <source>Energies</source> <volume>14</volume>, <fpage>5554</fpage>. <pub-id pub-id-type="doi">10.3390/en14175554</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ghaffarpour</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Stochastic optimization of operation of power to gas included energy hub considering carbon trading, demand response and district heating market</article-title>. <source>J. Energy Manag. Technol. (JEMT)</source> <volume>4</volume> (<issue>3</issue>). <pub-id pub-id-type="doi">10.22109/jemt.2020.190206.1183</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>A new clustering approach for scenario reduction in multi-stochastic variable programming</article-title>. <source>IEEE Trans. Power Syst.</source> <volume>34</volume> (<issue>5</issue>), <fpage>3813</fpage>&#x2013;<lpage>3825</lpage>. <pub-id pub-id-type="doi">10.1109/tpwrs.2019.2901545</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jiang</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Deng</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Bai</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Optimal energy flow and nodal energy pricing in carbon emission-embedded integrated energy systems</article-title>. <source>CSEE J. Power Energy Syst.</source> <volume>4</volume> (<issue>2</issue>), <fpage>179</fpage>&#x2013;<lpage>187</lpage>. <pub-id pub-id-type="doi">10.17775/cseejpes.2018.00030</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jin</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Mua</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Jia</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Optimal day ahead scheduling of integrated urban energy systems</article-title>. <source>Appl. Energy</source> <volume>180</volume>, <fpage>1</fpage>&#x2013;<lpage>13</lpage>. <pub-id pub-id-type="doi">10.1016/j.apenergy.2016.07.071</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Klinkel</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2020</year>). <source>Combined simulation of district heating and electrical power networks</source>. <publisher-loc>Eindhoven, Netherlands</publisher-loc>: <publisher-name>Eindhoven University of Technology</publisher-name>.</citation>
</ref>
<ref id="B14">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Leung</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2015</year>). <source>Coupled natural gas and electric power systems</source>. <publisher-name>Massachusetts Institute of Technology</publisher-name>.</citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Fang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Zeng</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Optimal operation of the integrated electrical and heating systems to accommodate the intermittent renewable sources</article-title>. <source>Appl. Energy</source> <volume>167</volume>, <fpage>244</fpage>&#x2013;<lpage>254</lpage>. <pub-id pub-id-type="doi">10.1016/j.apenergy.2015.10.054</pub-id>
</citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>An</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Gedra</surname>
<given-names>T. W.</given-names>
</name>
</person-group> (<year>2003</year>). &#x201c;<article-title>Solving natural gas loadflow problems using electric loadflow techniques</article-title>,&#x201d; <source>Engineering</source>.</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Optimal scheduling of integrated demand response-enabled integrated energy systems with uncertain renewable generations: a Stackelberg game approach</article-title>. <source>Energy Convers. Manag.</source> <volume>235</volume>, <fpage>113996</fpage>. <pub-id pub-id-type="doi">10.1016/j.enconman.2021.113996</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zio</surname>
<given-names>E.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Uncertainty analysis of the adequacy assessment model of a distributed generation system</article-title>. <source>Renew. Energy</source> <volume>41</volume>, <fpage>235</fpage>&#x2013;<lpage>244</lpage>. <pub-id pub-id-type="doi">10.1016/j.renene.2011.10.025</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Liu</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2013</year>). <source>Combined analysis of electricity and heat networks</source>. <publisher-name>Institute of Energy, Cardiff University</publisher-name>.</citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lv</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Cheng</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Fang</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Optimal day ahead operation of user-level integrated energy system considering dynamic behaviour of heat loads and customers&#x27; heat satisfaction</article-title>. <source>IET Smart Grid</source> <volume>2</volume> (<issue>3</issue>), <fpage>320</fpage>&#x2013;<lpage>326</lpage>. <pub-id pub-id-type="doi">10.1049/iet-stg.2019.0065</pub-id>
</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Naderi</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Narimani</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Pourakbari-Kasmaei</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Cerna</surname>
<given-names>F. V.</given-names>
</name>
<name>
<surname>Marzband</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Lehtonen</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>State-of-the-Art of optimal active and reactive power flow: a comprehensive review from various standpoints</article-title>. <source>Processes</source> <volume>9</volume>, <fpage>1319</fpage>. <pub-id pub-id-type="doi">10.3390/pr9081319</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Niu</surname>
<given-names>B.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <source>A population-based clustering technique using particle swarm optimization and k-means</source>. <publisher-name>Springer Science&#x2b;Business Media Dordrecht</publisher-name>.</citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Nojavan</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Majidi</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Zare</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Optimal scheduling of heating and power hubs under economic and environment issues in the presence of peak load management</article-title>. <source>Energy Convers. Manag.</source> <volume>156</volume>, <fpage>34</fpage>&#x2013;<lpage>44</lpage>. <pub-id pub-id-type="doi">10.1016/j.enconman.2017.11.007</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Pansota</surname>
<given-names>M. S.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <article-title>Scheduling and sizing of campus microgrid considering demand response and economic analysis</article-title>. <source>Energy, Sustain. Soc</source>.</citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Quan</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Khambadkone</surname>
<given-names>A. M.</given-names>
</name>
<name>
<surname>Srinivasan</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>A stochastic power flow study to investigate the effects of renewable energy integration</article-title>. <source>IEEE</source>, <fpage>978-1-5386-4291</fpage>&#x2013;<lpage>7/18/$31.00c</lpage>.</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sadeghi</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Ahmadian</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Diabat</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Elkamel</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Modeling energy management of an energy hub with hybrid energy storage systems for a smart island considering water&#x2013;electricity nexus</article-title>. <source>Int. J. Hydrogen Energy</source> <volume>71</volume>, <fpage>600</fpage>&#x2013;<lpage>616</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijhydene.2024.05.250</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shaabani</surname>
<given-names>Y. A.</given-names>
</name>
<name>
<surname>Seifi</surname>
<given-names>A. R.</given-names>
</name>
<name>
<surname>Kouhanjani</surname>
<given-names>M. J.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Stochastic Multi-objective optimization of combined heat and power economic/emission dispatch</article-title>. <source>Energy</source> <volume>141</volume>, <fpage>1892</fpage>&#x2013;<lpage>1904</lpage>. <pub-id pub-id-type="doi">10.1016/j.energy.2017.11.124</pub-id>
</citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shahrabi</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Hakimi</surname>
<given-names>S. M.</given-names>
</name>
<name>
<surname>Hasankhani</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Derakhshan</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Abdi</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Developing optimal energy management of energy hub in the presence of stochastic renewable energy resources</article-title>. <source>Sustain. Energy, Grids Netw.</source> <volume>26</volume>, <fpage>100428</fpage>. <pub-id pub-id-type="doi">10.1016/j.segan.2020.100428</pub-id>
</citation>
</ref>
<ref id="B29">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shekari</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Gholami</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Aminifar</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Optimal energy management in multi-carrier microgrids: an MILP approach</article-title>. <source>Clean. Energy</source> <volume>7</volume> (<issue>4</issue>), <fpage>876</fpage>&#x2013;<lpage>886</lpage>. <pub-id pub-id-type="doi">10.1007/s40565-019-0509-6</pub-id>
</citation>
</ref>
<ref id="B30">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Thang</surname>
<given-names>V. V.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Ha</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Optimal operation of energy hub in competitive electricity market considering uncertainties</article-title>. <source>Int. J. Energy Environ. Eng.</source> <volume>9</volume>, <fpage>351</fpage>&#x2013;<lpage>362</lpage>. <pub-id pub-id-type="doi">10.1007/s40095-018-0274-8</pub-id>
</citation>
</ref>
<ref id="B31">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Turk</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Zeng</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Nielsen</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Hejde</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Optimal operation of integrated electrical, district heating and natural gas system in wind dominated power system</article-title>. <source>Int. J. Smart Grid Clean Energy</source> <volume>9</volume> (<issue>2</issue>), <fpage>237</fpage>&#x2013;<lpage>246</lpage>. <pub-id pub-id-type="doi">10.12720/sgce.9.2.237-246</pub-id>
</citation>
</ref>
<ref id="B32">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Wei</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2020</year>). <source>Modeling and optimization of interdependent energy infrastructures</source>. <publisher-loc>Switzerland</publisher-loc>: <publisher-name>Springer Nature</publisher-name>. <isbn>978-3-030-25958-7</isbn>.</citation>
</ref>
<ref id="B33">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Woldeyohannes</surname>
<given-names>A. D.</given-names>
</name>
<name>
<surname>Abd Majid</surname>
<given-names>M. A.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Simulation model for natural gas transmission pipeline network system</article-title>. <source>Simul. Model. Pract. Theory</source> <volume>19</volume>, <fpage>196</fpage>&#x2013;<lpage>212</lpage>. <pub-id pub-id-type="doi">10.1016/j.simpat.2010.06.006</pub-id>
</citation>
</ref>
<ref id="B34">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wu</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Gu</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Optimal energy management for microgrids considering uncertainties in renewable energy generation and load demand</article-title>. <source>Processes</source> <volume>8</volume>, <fpage>1086</fpage>. <pub-id pub-id-type="doi">10.3390/pr8091086</pub-id>
</citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yadollahi</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Gharibi</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Dashti</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Torabi Jahromi</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Optimal energy management of energy hub: a reinforcement learning approach</article-title>. <source>Sustain. Cities Soc.</source> <volume>102</volume>, <fpage>105179</fpage>. <pub-id pub-id-type="doi">10.1016/j.scs.2024.105179</pub-id>
</citation>
</ref>
<ref id="B36">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Guo</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Ma</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Kamel</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Song</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Risk assessment of integrated electrical, natural gas and district heating systems considering solar thermal CHP plants and electric boilers</article-title>. <source>Electr. Power Energy Syst.</source> <volume>103</volume>, <fpage>277</fpage>&#x2013;<lpage>287</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijepes.2018.06.009</pub-id>
</citation>
</ref>
<ref id="B37">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yuan</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Alizadeh</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Nojavan</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Jermsittiparsert</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>RETRACTED: probabilistic scheduling of power-to-gas storage system in renewable energy hub integrated with demand response program</article-title>. <source>J. Energy Storage</source> <volume>29</volume>, <fpage>101393</fpage>. <pub-id pub-id-type="doi">10.1016/j.est.2020.101393</pub-id>
</citation>
</ref>
<ref id="B38">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>G.-G.</given-names>
</name>
<name>
<surname>Dong</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Gandomi</surname>
<given-names>A. H.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Improved NSGA-III with second-order difference random strategy for dynamic multi-objective optimization</article-title>. <source>Processes</source> <volume>9</volume>, <fpage>911</fpage>. <pub-id pub-id-type="doi">10.3390/pr9060911</pub-id>
</citation>
</ref>
<ref id="B39">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhong</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Xie</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Zhai</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Day ahead hierarchical steady state optimal operation for integrated energy system based on energy hub</article-title>. <source>Energies</source> <volume>11</volume>, <fpage>2765</fpage>. <pub-id pub-id-type="doi">10.3390/en11102765</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>