<?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">1385839</article-id>
<article-id pub-id-type="doi">10.3389/fenrg.2024.1385839</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>Dynamic verification of an optimisation algorithm for power dispatch of integrated energy systems</article-title>
<alt-title alt-title-type="left-running-head">Morales Sandoval 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.2024.1385839">10.3389/fenrg.2024.1385839</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Morales Sandoval</surname>
<given-names>Daniel A.</given-names>
</name>
<uri xlink:href="https://loop.frontiersin.org/people/2720734/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/visualization/"/>
<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>De La Cruz-Loredo</surname>
<given-names>Ivan</given-names>
</name>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Saikia</surname>
<given-names>Pranaynil</given-names>
</name>
<uri xlink:href="https://loop.frontiersin.org/people/2722479/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/resources/"/>
<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>Abeysekera</surname>
<given-names>Muditha</given-names>
</name>
<role content-type="https://credit.niso.org/contributor-roles/resources/"/>
<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" corresp="yes">
<name>
<surname>Ugalde-Loo</surname>
<given-names>Carlos E.</given-names>
</name>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2095408/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/project-administration/"/>
<role content-type="https://credit.niso.org/contributor-roles/resources/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<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-group>
<aff>
<institution>School of Engineering</institution>, <institution>Cardiff University</institution>, <addr-line>Cardiff</addr-line>, <addr-line>Wales</addr-line>, <country>United Kingdom</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/1705776/overview">Kai Zhang</ext-link>, Nanjing Tech University, China</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2318591/overview">Bo&#x17c;ena Gajdzik</ext-link>, Silesian University of Technology, Poland</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2536128/overview">Yizhe Xu</ext-link>, Nanjing Tech University, China</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Carlos E. Ugalde-Loo, <email>Ugalde-LooC@cardiff.ac.uk</email>
</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>04</day>
<month>06</month>
<year>2024</year>
</pub-date>
<pub-date pub-type="collection">
<year>2024</year>
</pub-date>
<volume>12</volume>
<elocation-id>1385839</elocation-id>
<history>
<date date-type="received">
<day>13</day>
<month>02</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>29</day>
<month>04</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2024 Morales Sandoval, De La Cruz-Loredo, Saikia, Abeysekera and Ugalde-Loo.</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Morales Sandoval, De La Cruz-Loredo, Saikia, Abeysekera and Ugalde-Loo</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>The urgent need to achieve net-zero carbon emissions by 2050 has led to a growing focus on innovative approaches to producing, storing, and consuming energy. Integrated energy systems (IES) have emerged as a promising solution, capitalising on synergies between energy networks and enhancing efficiency. Such a holistic approach enables the integration of renewable energy sources and flexibility provision from one energy network to another, reducing emissions while facilitating strategies for operational optimisation of energy systems. However, emphasis has been mostly made on steady-state methodologies, with a dynamic verification of the optimal solutions not given sufficient attention. To contribute towards bridging this research gap, a methodology to verify the outcomes of an optimisation algorithm is presented in this paper. The methodology has been applied to assess the operation of a civic building in the UK dedicated to health services. This has been done making use of real energy demand data. Optimisation is aimed at improving power dispatch of the energy system by minimising operational costs and carbon emissions. To quantify potential discrepancies in power flows and operational costs obtained from the optimisation, a dynamic model of the IES that better captures real-world system operation is employed. By incorporating slow transients of thermal systems, control loops, and non-linearity of components in the dynamic model, often overlooked in traditional optimisation modules, the methodology provides a more accurate assessment of energy consumption and operational costs. The effectiveness of the methodology is assessed through model-in-the-loop co-simulations between MATLAB/Simulink and Apros alongside a series of scenarios. Results indicate significant discrepancies in power flows and operational costs between the optimisation and the dynamic model. These findings illustrate potential limitations of conventional operational optimisation modules in addressing real-world complexities, emphasising the significance of dynamic verification methods for informed energy management and decision-planning.</p>
</abstract>
<kwd-group>
<kwd>integrated energy system</kwd>
<kwd>sequential quadratic programming</kwd>
<kwd>low-carbon technologies</kwd>
<kwd>energy storage</kwd>
<kwd>energy efficiency</kwd>
<kwd>optimisation</kwd>
<kwd>dynamic modelling</kwd>
</kwd-group>
<contract-num rid="cn001">EP/V042505/1 EP/T021969/1</contract-num>
<contract-sponsor id="cn001">Engineering and Physical Sciences Research Council<named-content content-type="fundref-id">10.13039/501100000266</named-content>
</contract-sponsor>
<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>Several countries and organisations have committed to achieve net-zero carbon emissions by 2050 and limit global temperature increase to 1.5&#xb0;C above pre-industrial levels (<xref ref-type="bibr" rid="B9">Climate Change Committee, 2023</xref>; <xref ref-type="bibr" rid="B26">IEA, 2024</xref>). In light of this, the energy sector is actively contributing towards climate change mitigation by adjusting how energy is produced, stored, and consumed, with significant progress been made in developing and deploying alternative low-carbon technologies (<xref ref-type="bibr" rid="B20">Gielen et al., 2019</xref>; <xref ref-type="bibr" rid="B14">European Scientific Advisory Board on Climate Change, 2024</xref>). Additionally, robust strategies to reduce energy consumption while meeting demand are essential. These strategies can be facilitated by a holistic approach in which energy vectors are interfaced through coupling technologies to constitute an integrated energy system (IES), where the interdependencies between energy networks are exploited (<xref ref-type="bibr" rid="B35">Moeini-Aghtaie et al., 2014</xref>; <xref ref-type="bibr" rid="B44">Taylor et al., 2022</xref>). IESs not only facilitate the integration of intermittent energy sources into the electricity grid (e.g., solar and wind), but also enable flexibility provision. Flexibility is critical for mitigating emissions, reducing costs, and achieving global decarbonisation objectives (<xref ref-type="bibr" rid="B21">Gonzalez et al., 2015</xref>; <xref ref-type="bibr" rid="B45">Ulbig and Andersson, 2015</xref>).</p>
<p>Decarbonising heat is crucial for decarbonising energy systems, as heating, including space cooling, contributes over 40% to global energy-related CO<sub>2</sub> emissions (<xref ref-type="bibr" rid="B27">IRENA, 2024</xref>). Thus, the coordinated management of electricity and heat may result in substantial environmental and economic benefits (<xref ref-type="bibr" rid="B1">Alper and Oguz, 2016</xref>). Fluctuations in energy demand and prices prompt an IES to adapt its behaviour, allowing it to integrate technologies that enhance the system&#x2019;s reliability and reduce operational costs (<xref ref-type="bibr" rid="B50">Wang et al., 2024</xref>). In this context, energy storage units serve as a useful flexibility resource and are vital in cases where there are sudden disruptions in the energy supply (<xref ref-type="bibr" rid="B34">Mitali et al., 2022</xref>). Energy storage units also enable efficient demand-side management in the daily operation of an IES (<xref ref-type="bibr" rid="B42">Oskouei et al., 2022</xref>). When integrated with heating and cooling applications driven by electricity (e.g., heat pumps, electric chillers), thermal stores provide additional flexibility, enhancing the synergies between energy vectors and the performance of the IES by enabling energy to be stored during off-peak hours for later use during the peak hours of thermal energy demand (<xref ref-type="bibr" rid="B24">Guelpa and Verda, 2019</xref>).</p>
<sec id="s1-1">
<title>1.1 Literature review</title>
<p>Work on optimisation of IESs initially focussed on ensuring optimal dispatch within the system (<xref ref-type="bibr" rid="B17">Geidl and Andersson, 2007a</xref>). Since then, several different algorithms have been proposed, demonstrating the evolving landscape of IES optimisation. Notable among these are nature-inspired metaheuristic algorithms such as particle swarm optimisation and genetic algorithms. Reference (<xref ref-type="bibr" rid="B47">Wang et al., 2010</xref>) employed a particle swarm optimisation algorithm to optimise a combined cooling, heating and power system for a building integrated with thermal stores and hybrid cooling systems. The reference shows the energetic, economic, and environmental performance of such a system configuration with redundant connections compared to a conventional system for a building. Similarly, two dispatch-optimisers for centralised energy management systems were presented in (<xref ref-type="bibr" rid="B38">Nemati et al., 2018</xref>), including an improved genetic algorithm and an enhanced mixed integer linear programming method. These approaches addressed unit commitment and optimal dispatch while considering network restrictions and unit constraints. The effectiveness of each method was evaluated using a test microgrid model under different operation policies.</p>
<p>Consideration of demand response and integration of renewable energy sources (RES) into IESs complicates the decision-making for power dispatch, urging for the exploration of new methods for the task. For example, an interval optimisation model was presented in (<xref ref-type="bibr" rid="B56">Zhang et al., 2020</xref>) for coordinating and scheduling a gas and electricity based IES involving wind power integration and demand response. Modern artificial intelligence-based techniques such as deep reinforcement learning have also been adopted to deal with IESs involving intermittent RES and demand uncertainty. For instance, the ability of deep learning to respond to dynamic changes in energy sources and loads was demonstrated in (<xref ref-type="bibr" rid="B57">Zhou et al., 2023</xref>), achieving a performance comparable to traditional programming approaches. The uncertainties associated with volatile wind power input to an IES could also be addressed adopting hydrogen systems as fast power regulators. A relevant example is presented in (<xref ref-type="bibr" rid="B12">Ding et al., 2022</xref>), where the optimal power dispatch of an IES is scheduled with a two-stage optimisation approach solved via the column and constraint generation method.</p>
<p>Additional aspects in the analysis of IESs involve optimisation strategies for carbon emissions reduction and introducing operational flexibility. These aspects could be coupled to those stated in previous paragraphs. For example, an integrated demand response (IDR) pricing method and a stepped carbon trading mechanism were introduced in (<xref ref-type="bibr" rid="B53">Ye et al., 2023</xref>) to minimise carbon emissions and operating costs in an IES. In another example, an optimal day-ahead dispatch model for an IES with carbon emission trading to tackle environmental challenges was presented in (<xref ref-type="bibr" rid="B55">Zhang et al., 2021</xref>). In this reference, the energy hub approach was adopted to establish a non-linear integer programming problem. This, in turn, was used to minimise wind curtailment and improve system efficiency, highlighting the importance of carbon emission costs in guiding energy dispatch decisions. Another relevant example of considering operational flexibility in a low-carbon optimal operation model of an IES was presented in (<xref ref-type="bibr" rid="B46">Wang et al., 2022</xref>). In this reference, the IES of an industrial park was optimised with a focus on the response from controllable flexible loads to minimise operating costs.</p>
<p>The optimisation goals for an IES could vary depending on the specific interests of multiple stakeholders. Such scenarios could be analysed by considering an IES governed by multiple agents such as energy service providers, renewable energy owners, and users, and using multi-objective optimisation such as the non-dominated sorting genetic algorithm-III to balance the interests of each agent (<xref ref-type="bibr" rid="B54">Zeng et al., 2019</xref>). Besides, a hierarchical framework for trading IDR resources among users in IESs using blockchain and an energy management system could increase user participation, reduce costs, minimise resource loss, and improve system flexibility, as discussed in (<xref ref-type="bibr" rid="B46">Wang et al., 2022</xref>).</p>
<p>The emphasis on steady-state methodologies has overlooked the need for dynamic verification of optimal solutions. Recent references in this context have discussed integrating low-carbon energy solutions into an IES to decarbonise the energy sector (<xref ref-type="bibr" rid="B11">de la Cruz Loredo et al., 2022a</xref>; <xref ref-type="bibr" rid="B10">2022b</xref>), where emphasis was placed on the need to transition from steady-state to dynamic analysis due to the complex interactions within IESs. A methodology for validating optimised operation strategies in IESs through simulation platforms was presented in (<xref ref-type="bibr" rid="B7">Chen et al., 2022</xref>). By comparing the results obtained from optimised simulation models with those from physical simulation models, the reference demonstrated that the optimised strategy, using the interior point optimisation algorithm, produced dynamic simulation results with deviations of less than 10% compared to the physical models.</p>
<p>Implementing a day-ahead operational optimisation module may be helpful to ensure the effective coordination of an IES (<xref ref-type="bibr" rid="B52">Xu et al., 2023</xref>). This module would operate every 24&#xa0;h, optimising system performance to minimise, for instance, operational costs and carbon emissions simultaneously. However, traditional optimisation modules do not account for the slow transients, control loops, and non-linearity of components present in thermal systems (<xref ref-type="bibr" rid="B22">Good et al., 2017</xref>; <xref ref-type="bibr" rid="B31">Martinez Cesena et al., 2020</xref>), which may impact the daily estimation of optimal power flows. In turn, these may induce significant errors in the calculation of total operational costs in the long-term&#x2014;hindering, as a result, the decision-making process. By understanding the impact of these effects, a more accurate assessment of operational costs can be achieved, allowing stakeholders and system operators to make more informed decisions on infrastructure management and expansion planning.</p>
</sec>
<sec id="s1-2">
<title>1.2 Contributions of the paper</title>
<p>While the theoretical basis of the optimisation algorithms described in the previous section is fundamentally correct, their verification process and applicability in real systems are not straightforward and must be further investigated.</p>
<p>To bridge this gap, this paper presents a novel methodology for dynamically verifying the results of an optimisation algorithm aimed at improving the power dispatch of an integrated electrical-thermal system supported by thermal stores. Verification has been done against results obtained with a dynamic model. By incorporating slow transients of thermal systems, control loops, and non-linearity of components in the dynamic model, often overlooked in traditional steady-state approaches, the presented methodology provides a more accurate assessment of energy consumption and operational costs.</p>
<p>The optimisation algorithm is based on sequential quadratic programming (SQP) (<xref ref-type="bibr" rid="B3">Bonnans et al., 2006</xref>; <xref ref-type="bibr" rid="B40">Nocedal and Wright, 2006</xref>). It demarcates conventional energy supplies from low-carbon sources by their respective carbon footprints. By incorporating this key environmental factor into the decision-making process, operational costs are minimised while promoting a smart and eco-friendly approach. System optimisation and verification using the dynamic model have been carried out using real data from a civic building in the UK dedicated to health services. Such energy system draws electricity from the local electricity grid and operates power-to-heat units and gas boilers (GBs) to meet energy demand.</p>
<p>The dynamic verification of the optimisation algorithm is conducted through a series of scenarios designed to examine its adaptability and performance under diverse operating conditions of the IES under study. Optimisation has been carried out in MATLAB/Simulink, and a &#x201c;model-in-the-loop&#x201d; (MiL) simulation method has been adopted to perform the dynamic verification with Apros&#x2014;a commercial software for modelling and dynamic simulation of energy systems. The presented methodology offers a practical approach to evaluate optimisation strategies under realistic operating conditions and quantifying discrepancies in power flows and operational costs between the optimisation module and the dynamic model of the IES under study&#x2014;contributing to the development of more accurate and effective optimisation solutions for IESs.</p>
</sec>
</sec>
<sec sec-type="methods" id="s2">
<title>2 Methodology</title>
<p>The hypothesis of this work is that an optimisation algorithm, when applied to the power dispatch of IESs, may exhibit discrepancies in power flows and operational costs when compared to the results obtained from a high-fidelity dynamic model. These discrepancies are expected to arise due to the complex interactions and slow dynamics inherent in thermal networks, which are not fully accounted for in traditional steady-state optimisation modules.</p>
<p>The objective of this paper is to assess the accuracy and reliability of an optimisation algorithm for an IES in real-world operating conditions and supported by historical data to verify the hypothesis stated above. To achieve this, the sub-objectives of the paper are:<list list-type="simple">
<list-item>
<p>i. To establish a general framework to assess potential mismatches in power flows and operational costs resulting from optimising steady-state operation with respect to dynamic models.</p>
</list-item>
<list-item>
<p>ii. With the developed framework, to investigate the IES from Queen Elizabeth Hospital (QEH) King&#x2019;s Lynn, a public healthcare facility in Norfolk County, England (further details on the system under investigation are provided in <xref ref-type="sec" rid="s3">Section 3</xref>). To this end, specific scenarios arising from retrofitting sustainable energy technologies to the existing energy system are developed.</p>
</list-item>
<list-item>
<p>iii. To conduct qualitative and quantitative analysis of the discrepancies in power flows and operational costs for different scenarios of the IES obtained from the optimisation and dynamic models.</p>
</list-item>
</list>
</p>
<p>To achieve the objective and sub-objectives, this section outlines the methodology employed to dynamically verify the optimisation algorithm for power dispatch of IESs.</p>
<p>The dynamic verification process (illustrated with a flowchart in <xref ref-type="fig" rid="F1">Figure 1</xref>) consists of the following steps:<list list-type="simple">
<list-item>
<p>&#x2022; Steady-state model development: A steady-state model is formulated for the IES under investigation to facilitate system optimisation and techno-economic analysis.</p>
</list-item>
<list-item>
<p>&#x2022; Optimisation algorithm implementation: An optimisation algorithm is implemented to optimise power dispatch. The algorithm minimises operational costs while considering the carbon footprint of conventional and low-carbon technologies.</p>
</list-item>
<list-item>
<p>&#x2022; Dynamic model development: A dynamic model is developed to include the effect of slow dynamics intrinsic to the thermal network within the system under study.</p>
</list-item>
<list-item>
<p>&#x2022; MiL simulation: The optimisation module, in this case running in MATLAB, is interfaced with a dynamic process simulator using a MiL simulation approach. For this paper, Apros has been employed as the dynamic process simulator, which is a commercial software for the dynamic simulation of energy systems (<xref ref-type="bibr" rid="B15">Fortum, 2024</xref>).</p>
</list-item>
<list-item>
<p>&#x2022; Data collection and analysis: Data collected during simulation, including power flows, energy consumption, and operational costs, are analysed to quantify any discrepancies between the results obtained with the optimisation module and the dynamic model.</p>
</list-item>
</list>
</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Flowchart of dynamic verification methodology for IESs.</p>
</caption>
<graphic xlink:href="fenrg-12-1385839-g001.tif"/>
</fig>
<p>Relevant details of the previous steps are discussed next.</p>
<sec id="s2-1">
<title>2.1 Steady-state model</title>
<p>For this paper, the &#x2018;energy hub&#x2019; modelling methodology was adopted (<xref ref-type="bibr" rid="B13">Eladl et al., 2023</xref>). The energy hub concept, introduced in (<xref ref-type="bibr" rid="B18">Geidl and Andersson, 2007b</xref>), provides a framework for steady-state modelling and simulation of IESs. Essentially, an energy hub links different energy vectors (e.g., heat, gas, electricity, hydrogen) via coupling technologies.</p>
<p>
<xref ref-type="fig" rid="F2">Figure 2</xref> shows an example of an energy hub. The hub receives electricity and natural gas from their respective distribution networks as inputs, converts them to other energy forms, and stores them using different components such as a combined heat and power (CHP) unit, a gas boiler, an electric battery, and a thermal energy storage (TES) unit. These energy conversion and storage components, when operated in a coordinated manner, help fulfil the system&#x2019;s energy demand&#x2014;for example, for the system in <xref ref-type="fig" rid="F2">Figure 2</xref>, electricity demand and heat demand. The operation of these elements within the energy hub could be optimised to minimise, for instance, operational costs, among other objective functions (see <xref ref-type="sec" rid="s2-2">Section 2.2</xref>).</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Example of an energy hub coupling electricity, gas, and heat. The energy hub considers two coupling technologies (a CHP unit and a gas boiler) and two energy storage devices (an electric battery and a TES unit).</p>
</caption>
<graphic xlink:href="fenrg-12-1385839-g002.tif"/>
</fig>
<p>Energy hub&#x2019;s components establish redundant connections within the IES, offering two key benefits. Firstly, they enhance supply reliability for the loads, reducing dependence on a single network. Secondly, the additional flexibility enables optimal supply management by evaluating energy vector utilisation based on criteria such as cost, carbon emissions, and availability, ensuring the efficient utilisation of resources (<xref ref-type="bibr" rid="B17">Geidl et al., 2007</xref>).</p>
<p>The modelling concept of an energy hub enables analysing power flows through converter devices by determining their energy efficiency, which is calculated as the steady-state output and input ratio. When there are multiple energy vectors as inputs and outputs, a conversion matrix may be employed to mathematically establish connections between energy networks (<xref ref-type="bibr" rid="B19">Geidl et al., 2007</xref>).</p>
</sec>
<sec id="s2-2">
<title>2.2 Optimisation algorithm and optimisation module</title>
<p>Once a steady-state model of the system under investigation has been developed, as discussed in <xref ref-type="sec" rid="s2-1">Section 2.1</xref>, an optimisation module is employed to meet operational specifications, such as minimising system operational costs and carbon emissions. The optimisation module requires the definition of an objective function subjected to a number of equality and inequality constraints (<xref ref-type="bibr" rid="B16">Frangopoulos, 2009</xref>). These constraints may depend on the characteristics of the system under study.</p>
<p>For an IES linking electricity, heat, and gas energy vectors as in the system shown in <xref ref-type="fig" rid="F2">Figure 2</xref>, electrical and heat demand profiles are used as inputs to the optimisation module. The outputs of the module provide the optimal power flows for the system under study&#x2014;thereby driving power dispatch and optimising system operation on a 24-h basis.</p>
<p>The optimisation approach here adopted differs from conventional multi-objective optimisation algorithms by employing a single-objective function that minimises operational and carbon emission costs simultaneously (<xref ref-type="bibr" rid="B5">Capone et al., 2021</xref>). The implementation is done in MATLAB 2021b, utilising the &#x201c;<italic>fmincon</italic>&#x201d; function (<xref ref-type="bibr" rid="B32">MathWorks, 2024</xref>), which employs the SQP algorithm. This algorithm is considered highly effective for non-linear programming and is characterised by a rapid convergence to optimal solutions (<xref ref-type="bibr" rid="B3">Bonnans et al., 2006</xref>; <xref ref-type="bibr" rid="B40">Nocedal and Wright, 2006</xref>).</p>
<p>The optimisation approach has been borrowed from (<xref ref-type="bibr" rid="B37">Morales Sandoval et al., 2023</xref>). To prevent duplication of published work, interested readers are referred to the reference for full details.</p>
</sec>
<sec id="s2-3">
<title>2.3 Dynamic model</title>
<p>The dynamic models used for components within a thermal-hydraulic system are based on differential equations that capture the transport phenomena of a heat transfer fluid (HTF), which is essentially a fluid employed to move thermal energy across two locations (<xref ref-type="bibr" rid="B25">Incropera et al., 2011</xref>). These equations include both the hydraulic characteristics, which detail the fluid flow, and the thermal attributes, which describe the temperature propagation. Valves, pipes, heat exchangers, hydraulic pumps, hydraulic separators, and energy storage tanks are typical elements considered in these models (<xref ref-type="bibr" rid="B10">De la Cruz-Loredo et al., 2022b</xref>).</p>
<p>In general, for an IES integrating heat as an energy vector, a dynamic model of the heating system is utilised to capture the slow thermal transients, which are often overlooked in traditional optimisation modules (<xref ref-type="bibr" rid="B31">Martinez Cesena et al., 2020</xref>).</p>
<sec id="s2-3-1">
<title>2.3.1 Hydraulic components</title>
<p>The application of the Reynolds transport theorem, expressed for linear momentum, establishes the dynamic representation of a hydraulic component in a general way. This formulation assumes the characteristics of a one-dimensional flow and homogeneous incompressible fluid conditions (<xref ref-type="bibr" rid="B6">Cengel and Cimbala, 2010</xref>). Mathematically, this is given as<disp-formula id="e1">
<mml:math id="m1">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
<mml:mover accent="true">
<mml:mi>F</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>V</mml:mi>
<mml:mfrac>
<mml:mi>d</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>&#x3c1;</mml:mi>
<mml:mover accent="true">
<mml:mi>v</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3c1;</mml:mi>
<mml:mi>V</mml:mi>
<mml:mfrac>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mover accent="true">
<mml:mi>v</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>In Eq. <xref ref-type="disp-formula" rid="e1">1</xref>, <inline-formula id="inf1">
<mml:math id="m2">
<mml:mrow>
<mml:mi>&#x3c1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> [kg/m<sup>3</sup>] is the density of the fluid, <inline-formula id="inf2">
<mml:math id="m3">
<mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mover accent="true">
<mml:mi>v</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> [m/s<sup>2</sup>] the rate of change of the linear velocity of the fluid, and <inline-formula id="inf3">
<mml:math id="m4">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
<mml:mover accent="true">
<mml:mi>F</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> [N] the summation of all the external forces acting on the volume <inline-formula id="inf4">
<mml:math id="m5">
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> [m<sup>3</sup>] of the hydraulic component. <inline-formula id="inf5">
<mml:math id="m6">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
<mml:mover accent="true">
<mml:mi>F</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> is expressed by the product of the flow area <inline-formula id="inf6">
<mml:math id="m7">
<mml:mrow>
<mml:msub>
<mml:mi>A</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> [m<sup>2</sup>] and the pressure differential <inline-formula id="inf7">
<mml:math id="m8">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> [Pa] across the component as <inline-formula id="inf8">
<mml:math id="m9">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
<mml:mover accent="true">
<mml:mi>F</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>A</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. For each hydraulic component, <inline-formula id="inf9">
<mml:math id="m10">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is given by (<xref ref-type="bibr" rid="B10">de la Cruz Loredo et al., 2022b</xref>):<disp-formula id="e2">
<mml:math id="m11">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:mi>&#x3c1;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:msubsup>
<mml:mover accent="true">
<mml:mi>v</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
<mml:mn>0</mml:mn>
<mml:mn>2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mover accent="true">
<mml:mi>v</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3c1;</mml:mi>
<mml:mi>g</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:msub>
<mml:mi>z</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>z</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>L</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>B</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>where the first two terms in Eq. <xref ref-type="disp-formula" rid="e2">2</xref>, <inline-formula id="inf10">
<mml:math id="m12">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:mi>&#x3c1;</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:msubsup>
<mml:mover accent="true">
<mml:mi>v</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
<mml:mn>0</mml:mn>
<mml:mn>2</mml:mn>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mover accent="true">
<mml:mi>v</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3c1;</mml:mi>
<mml:mi>g</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:msub>
<mml:mi>z</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>z</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, represent the pressure loss due to the hydrostatic and dynamic pressure differentials across the component, <inline-formula id="inf11">
<mml:math id="m13">
<mml:mrow>
<mml:mi>g</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> [m/s<sup>2</sup>] is the gravitational constant, <inline-formula id="inf12">
<mml:math id="m14">
<mml:mrow>
<mml:msub>
<mml:mi>z</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf13">
<mml:math id="m15">
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> [m] are the heights of the inlet and outlet ports of the component, and <inline-formula id="inf14">
<mml:math id="m16">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>v</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> [m/s] the velocity of the fluid at the inlet port of the component. Also in the equation, <inline-formula id="inf15">
<mml:math id="m17">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the pressure loss due to the fluid&#x2019;s friction against the component&#x2019;s internal walls, <inline-formula id="inf16">
<mml:math id="m18">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>L</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> [Pa] is the pressure loss due to sudden changes in the flow path within the component, and <inline-formula id="inf17">
<mml:math id="m19">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>B</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> [Pa] is the pressure boost generated by the component.</p>
</sec>
<sec id="s2-3-2">
<title>2.3.2 Thermal components</title>
<p>The dynamic model of a one-dimensional thermal component with a volume <inline-formula id="inf18">
<mml:math id="m20">
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> [m<sup>3</sup>] and containing an incompressible single phase HTF is given by (<xref ref-type="bibr" rid="B25">Incropera et al., 2011</xref>):<disp-formula id="e3">
<mml:math id="m21">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>H</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mi>C</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3c1;</mml:mi>
<mml:mi>V</mml:mi>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mover accent="true">
<mml:mi>T</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mi>C</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mover accent="true">
<mml:mi>m</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>C</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x2211;</mml:mo>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x2211;</mml:mo>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>where <inline-formula id="inf19">
<mml:math id="m22">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>H</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mi>C</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> [W] is the rate of change in the enthalpy of the fluid contained in the component, <inline-formula id="inf20">
<mml:math id="m23">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>T</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mi>C</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> [&#xb0;C/s] is the rate of change in the temperature of the fluid, and <inline-formula id="inf21">
<mml:math id="m24">
<mml:mrow>
<mml:mi>&#x3c1;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> [kg/m<sup>3</sup>] and <inline-formula id="inf22">
<mml:math id="m25">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> [J/kg&#xb0;C] are the density and specific heat value of the fluid at a temperature <inline-formula id="inf23">
<mml:math id="m26">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>C</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> [&#xb0;C]. The term <inline-formula id="inf24">
<mml:math id="m27">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>m</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>C</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the rate of change in the components&#x2019; enthalpy owing to the mass exchange with other thermal components. The rate of mass flow exchange, or mass flow rate, is given by <inline-formula id="inf25">
<mml:math id="m28">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>m</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> [kg/s], where <inline-formula id="inf26">
<mml:math id="m29">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> [&#xb0;C] is the temperature of the fluid entering the component and <inline-formula id="inf27">
<mml:math id="m30">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> [J/kg&#xb0;C] the specific heat value of the fluid at <inline-formula id="inf28">
<mml:math id="m31">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. <inline-formula id="inf29">
<mml:math id="m32">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>v</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf30">
<mml:math id="m33">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> [W] are the summation of the different convection and conduction heat transfer events between the component and its surroundings.</p>
<p>Eq. <xref ref-type="disp-formula" rid="e3">3</xref> does not consider radiation heat transfer due to the negligible contribution of radiation within the temperature and environmental conditions considered in this paper. If radiation heat transfer effects had a representative contribution, an additional term would be required at the right-hand side of the equation (i.e., <inline-formula id="inf31">
<mml:math id="m34">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>).</p>
</sec>
</sec>
<sec id="s2-4">
<title>2.4 Quantification method</title>
<p>By comparing the outcomes of the optimisation module (described in <xref ref-type="sec" rid="s2-2">Section 2.2</xref>) with those of the dynamic model (<xref ref-type="sec" rid="s2-3">Section 2.3</xref>), potential deviations in power flows and operational costs are quantified. This method allows assessing the impact of slow thermal dynamics on system performance, thereby providing stakeholders and system operators with valuable insights for decision-making. This step is described in further detail in <xref ref-type="sec" rid="s3-5">Section 3.5</xref> for the system under study, where the operational costs for two seasons of a calendar year are investigated.</p>
</sec>
</sec>
<sec id="s3">
<title>3 Case study</title>
<sec id="s3-1">
<title>3.1 System description</title>
<p>The system under study operates based on the electricity and heat consumption of QEH. The facility is connected to both an electricity network and a gas supply network and is structured into heating zones (HZs). Each heating zone is treated as an independent heat consumption unit within the primary heating system.</p>
<p>The architecture of the primary heating system involves 1,200&#xa0;m of pipelines connecting seven HZs through main and boiler pipeline loops, as shown in <xref ref-type="fig" rid="F3">Figure 3A</xref>. The boiler loop incorporates two CHP units with an output power of 1,400&#xa0;kW and four&#xa0;GBs with an output power of 5,200&#xa0;kW located in HZs 1, 2, 4, and 5 to meet electricity and heat demand (see <xref ref-type="fig" rid="F3">Figure 3B</xref>).</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>
<bold>(A)</bold> Schematic of the primary heating system of QEH. <bold>(B)</bold> Boiler loop structure of the heating system of QEH (<xref ref-type="bibr" rid="B10">De la Cruz-Loredo et al., 2022b</xref>).</p>
</caption>
<graphic xlink:href="fenrg-12-1385839-g003.tif"/>
</fig>
<p>The original system configuration shown in <xref ref-type="fig" rid="F3">Figure 3</xref> was modified to incorporate sustainable energy technologies, in line with UK&#x2019;s National Health Service and national targets to reduce greenhouse gas emissions (<xref ref-type="bibr" rid="B39">NHS Foundation Trust, 2015</xref>).</p>
<p>The upgraded IES is shown in <xref ref-type="fig" rid="F4">Figure 4</xref>. This system configuration includes the two CHP units, 3&#xa0;GBs located in HZs 1, 2, and 4, and an electric boiler (EB) in HZ5 within the boiler loop. In addition, a 100&#xa0;m<sup>3</sup> TES system consisting of four interconnected hot water tanks was considered. This sensible heat TES system is connected at the bottom to the return pipeline of the main loop and at the top to the boiler loop, after the GB in HZ1, for charging purposes. To avoid any disturbance to the supply temperature in the boiler loop, the TES system discharges immediately before the GB in HZ1 (<xref ref-type="bibr" rid="B10">De la Cruz-Loredo et al., 2022b</xref>).</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>
<bold>(A)</bold> Boiler loop structure of the upgraded dynamic model implemented in Apros (<xref ref-type="bibr" rid="B10">De la Cruz-Loredo et al., 2022b</xref>). <bold>(B)</bold> Steady-state schematic for the upgraded IES optimisation.</p>
</caption>
<graphic xlink:href="fenrg-12-1385839-g004.tif"/>
</fig>
<p>In both the optimisation module and the dynamic model utilised for this study, the two individual CHP units within the physical system are considered as a single CHP unit with an equivalent output power for simplicity. Therefore, reference to the CHP units will be made using the term &#x201c;CHP plant&#x201d; to denote the collective operation of the units as a single entity.</p>
<p>
<xref ref-type="table" rid="T1">Table 1</xref> shows the considered capacities of the retrofitted technologies. These have been selected based on practical specifications and availability in the UK market (<xref ref-type="bibr" rid="B29">London Engineers Company, 2023</xref>; <xref ref-type="bibr" rid="B43">Refrigeration Technology Co. Ltd, 2023</xref>). For the different system configurations studied in this paper, the schematics and essential mathematical formulations for each are outlined in <xref ref-type="sec" rid="s11">Supplementary Appendix SA</xref>.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Capacities of the incorporated technologies.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Technology</th>
<th align="center">Capacity</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">EB</td>
<td align="center">1,000&#xa0;kW</td>
</tr>
<tr>
<td align="center">TES system</td>
<td align="center">250&#xa0;kWh per tank, or 1,000&#xa0;kWh in total</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s3-2">
<title>3.2 System modelling for optimisation</title>
<p>Real electricity and heat demand profiles from QEH were used as inputs to the optimisation module. These profiles correspond to different seasons of the year and are provided in <xref ref-type="sec" rid="s11">Supplementary Appendix SB</xref>. However, to maintain control over supply and return temperatures and prevent fluctuations in the dynamic model, an overestimation of electrical demand and underestimation of heat demand were considered. A 1-h granularity was employed.</p>
<p>
<xref ref-type="fig" rid="F5">Figure 5</xref> shows the daily price profiles for gas and electricity adopted in this paper based on energy prices available at the hospital site in 2020 and average market prices (<xref ref-type="bibr" rid="B58">Guelpa, 2024</xref>).</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>Hourly gas and electricity prices.</p>
</caption>
<graphic xlink:href="fenrg-12-1385839-g005.tif"/>
</fig>
<p>The following assumptions were considered for system modelling within the optimisation module (based on the data provided by QEH and information available in the literature) (<xref ref-type="bibr" rid="B37">Morales Sandoval et al., 2023</xref>):<list list-type="simple">
<list-item>
<p>i. The system is considered to be in steady-state between any two time periods.</p>
</list-item>
<list-item>
<p>ii. There are no stand-by energy losses from system components.</p>
</list-item>
<list-item>
<p>iii. The gas-to-electricity conversion efficiency (<inline-formula id="inf32">
<mml:math id="m35">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>e</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>) of the CHP plant is 37.8% and its gas-to-heat conversion efficiency (<inline-formula id="inf33">
<mml:math id="m36">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>) is 49.7%.</p>
</list-item>
<list-item>
<p>iv. The efficiency of the GB (<inline-formula id="inf34">
<mml:math id="m37">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) is 81% (<xref ref-type="bibr" rid="B4">Brumbaugh, 2004</xref>).</p>
</list-item>
<list-item>
<p>v. The efficiency of the EB (<inline-formula id="inf35">
<mml:math id="m38">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) is 100% (<xref ref-type="bibr" rid="B11">de la Cruz Loredo et al., 2022a</xref>).</p>
</list-item>
<list-item>
<p>vi. The charging and discharging efficiencies of the TES system (<inline-formula id="inf36">
<mml:math id="m39">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) are 90% (<xref ref-type="bibr" rid="B18">Geidl and Andersson, 2007b</xref>).</p>
</list-item>
<list-item>
<p>vii. Exporting surplus electricity from the IES back to the external grid is not provisioned in this case study.</p>
</list-item>
</list>
</p>
</sec>
<sec id="s3-3">
<title>3.3 Dynamic modelling for the system under study</title>
<p>A detailed dynamic model of the heating system was implemented. However, representation of the electricity system, for simplicity, was limited to reproduce the energy balance between supply and demand based on real historical data. The dynamic model was implemented in Apros using available library models (<xref ref-type="bibr" rid="B11">de la Cruz Loredo et al., 2022a</xref>; <xref ref-type="bibr" rid="B10">2022b</xref>).</p>
<p>The following modelling assumptions were considered:<list list-type="simple">
<list-item>
<p>i. A constant pressure loss coefficient <inline-formula id="inf37">
<mml:math id="m40">
<mml:mrow>
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mi>L</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0.1</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> was adopted for all components.</p>
</list-item>
<list-item>
<p>ii. All components in the heating system are covered with a 40&#xa0;mm thick insulating layer with a constant conduction heat transfer coefficient value of <inline-formula id="inf38">
<mml:math id="m41">
<mml:mrow>
<mml:mi>&#x3ba;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0.025</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> W/(m&#xb0;C).</p>
</list-item>
<list-item>
<p>iii. Heat supply and demand were implemented as single external heat flows generating or consuming heat from a pipeline element.</p>
</list-item>
<list-item>
<p>iv. As for system optimisation (see <xref ref-type="sec" rid="s3-2">Section 3.2</xref>), exporting surplus electricity from the IES back to the external grid is not provisioned.</p>
</list-item>
</list>
</p>
<p>The operation of the hospital&#x2019;s heating system was regulated by a process control system consisting of four control elements: the marginal differential pressure control, the supply temperature control, the return temperature control, and the TES system control. These elements regulate pressure, flow, and temperature within different sections of the IES by adjusting parameters such as pump speed, valve opening range, and heat flow from the heat generation units. For this purpose, proportional-integral (PI) controllers were employed. <xref ref-type="table" rid="T2">Table 2</xref> shows relevant specifications of these controllers.</p>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Specifications of the marginal pressure differential, supply and return temperatures controllers (<xref ref-type="bibr" rid="B11">de la Cruz Loredo et al., 2022a</xref>).</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Control component</th>
<th align="center">Actuators</th>
<th align="center">Manipulated variable</th>
<th align="center">Regulated variable</th>
<th align="center">Control actions</th>
<th align="center">Setpoints</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Marginal pressure differential</td>
<td align="center">Circulation pumps in the boiler loop</td>
<td align="center">Rotational speed of the pumps</td>
<td align="center">Pressure differential across HZ4</td>
<td align="center">PI control</td>
<td align="center">
<inline-formula id="inf39">
<mml:math id="m42">
<mml:mrow>
<mml:msub>
<mml:mo>&#x394;</mml:mo>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>g</mml:mi>
</mml:mrow>
</mml:msub>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0.3</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> [bars]</td>
</tr>
<tr>
<td rowspan="3" align="center">Supply temperature</td>
<td rowspan="3" align="center">GBs in HZs 1, 2 and 4</td>
<td rowspan="3" align="center">Heat supply</td>
<td rowspan="3" align="center">Temperature in the boiler loop after the GB</td>
<td rowspan="3" align="center">PI control</td>
<td align="center">
<inline-formula id="inf40">
<mml:math id="m43">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>B</mml:mi>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>80</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="center">
<inline-formula id="inf41">
<mml:math id="m44">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>B</mml:mi>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>80</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="center">
<inline-formula id="inf42">
<mml:math id="m45">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>74</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> [&#xb0;C]</td>
</tr>
<tr>
<td align="center">Return temperature</td>
<td align="center">Motorised control valves in all the HZs</td>
<td align="center">Valve opening area</td>
<td align="center">Temperature at the outlet ports of the HZs</td>
<td align="center">PI control</td>
<td align="center">
<inline-formula id="inf43">
<mml:math id="m46">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>Z</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>r</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>74</mml:mn>
<mml:mo>&#x2217;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>Z</mml:mi>
<mml:mn>3</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>r</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>70</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> [&#xb0;C]</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>&#x2a;<inline-formula id="inf44">
<mml:math id="m47">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>Z</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>r</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the return temperature setpoint for all the HZs, except for HZ3.</p>
</fn>
</table-wrap-foot>
</table-wrap>
<p>Similar to the optimisation module, real electricity and heat demand profiles from QEH were used. As mentioned before, these are provided in <xref ref-type="sec" rid="s11">Supplementary Appendix SB</xref>. However, the dynamic model adopted a 30-min granularity for the energy demand data.</p>
</sec>
<sec id="s3-4">
<title>3.4 Optimisation module</title>
<p>The energy system needs to select the optimal proportion of electricity and gas intake to reduce energy costs and the production of CO<sub>2</sub>. To minimise the daily operational cost of the system while also minimising carbon emissions, the objective function is expressed as (<xref ref-type="bibr" rid="B37">Morales Sandoval et al., 2023</xref>)<disp-formula id="e4">
<mml:math id="m48">
<mml:mrow>
<mml:mi>C</mml:mi>
<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:mn>24</mml:mn>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="&#x7c;">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:msubsup>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mi>E</mml:mi>
</mml:msubsup>
<mml:mo>&#xd7;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mi>E</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:msubsup>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mi>G</mml:mi>
</mml:msubsup>
<mml:mo>&#xd7;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mi>G</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:msubsup>
<mml:mi>C</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>O</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mi>E</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:msubsup>
<mml:mi>C</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>O</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mi>G</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>where <inline-formula id="inf45">
<mml:math id="m49">
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the daily operational cost, <inline-formula id="inf46">
<mml:math id="m50">
<mml:mrow>
<mml:msubsup>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mi>E</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf47">
<mml:math id="m51">
<mml:mrow>
<mml:msubsup>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mi>G</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the electricity and gas unit costs at hour <italic>i</italic>, <inline-formula id="inf48">
<mml:math id="m52">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mi>E</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf49">
<mml:math id="m53">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mi>G</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the power inputs to the energy system from the external electricity and gas networks at hour <italic>i</italic>, and <inline-formula id="inf50">
<mml:math id="m54">
<mml:mrow>
<mml:msubsup>
<mml:mi>C</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>O</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mi>E</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf51">
<mml:math id="m55">
<mml:mrow>
<mml:msubsup>
<mml:mi>C</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>O</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mi>G</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the costs of CO<sub>2</sub> production associated with electricity and gas consumption.</p>
<p>Objective function in Eq. <xref ref-type="disp-formula" rid="e4">4</xref> is subject to the following equality constraints (representing the electricity and heat balance equations)<disp-formula id="e5">
<mml:math id="m56">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mi>E</mml:mi>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>e</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mi>G</mml:mi>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mi>E</mml:mi>
</mml:msubsup>
<mml:mtext>&#x2003;</mml:mtext>
<mml:mi>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:mn>3</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mn>24</mml:mn>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>
<disp-formula id="e6">
<mml:math id="m57">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mi>G</mml:mi>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mi>G</mml:mi>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mi>H</mml:mi>
</mml:msubsup>
<mml:mtext>&#x2003;</mml:mtext>
<mml:mi>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:mn>3</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mn>24</mml:mn>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>where <inline-formula id="inf52">
<mml:math id="m58">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mi>G</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf53">
<mml:math id="m59">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mi>G</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the power inputs to the CHP plant and the GBs from the gas grid; <inline-formula id="inf54">
<mml:math id="m60">
<mml:mrow>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the electrical power input to the EB either from the electric grid or from the surplus produced by the CHP plant; and <inline-formula id="inf55">
<mml:math id="m61">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf56">
<mml:math id="m62">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> represent the charging and discharging powers of the TES system.</p>
<p>Based on the dimensions of hot water tanks available in the market and considering the supply and return temperatures of the IES under study (<xref ref-type="bibr" rid="B10">de la Cruz Loredo et al., 2022b</xref>; <xref ref-type="bibr" rid="B43">Refrigeration Technology Co. Ltd, 2023</xref>), the capacity of the TES system used in this paper was selected as 1,000&#xa0;kWh (<xref ref-type="bibr" rid="B30">Maji&#x107; et al., 2013</xref>) (250&#xa0;kWh per individual hot water tank, see <xref ref-type="table" rid="T1">Table 1</xref>). Its charging and discharging powers <inline-formula id="inf57">
<mml:math id="m63">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf58">
<mml:math id="m64">
<mml:mrow>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> per time period (i.e. 1&#xa0;h) are constrained as<disp-formula id="e7">
<mml:math id="m65">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:mn>250</mml:mn>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mtext>kW</mml:mtext>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>
<disp-formula id="e8">
<mml:math id="m66">
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2264;</mml:mo>
<mml:mn>250</mml:mn>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mtext>kW</mml:mtext>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(8)</label>
</disp-formula>
</p>
<p>To ensure the energy levels in the thermal store remain within the predefined maximum and minimum limits, the following constraints were imposed:<disp-formula id="e9">
<mml:math id="m67">
<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:mi>j</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="&#x7c;">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#xd7;</mml:mo>
<mml:mo>&#x2206;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2264;</mml:mo>
<mml:msubsup>
<mml:mi>L</mml:mi>
<mml:mi mathvariant="italic">max</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mtext>&#x2003;</mml:mtext>
<mml:mi>j</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:mn>3</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mn>24</mml:mn>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(9)</label>
</disp-formula>
<disp-formula id="e10">
<mml:math id="m68">
<mml:mrow>
<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:mi>j</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="&#x7c;">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mo>&#xd7;</mml:mo>
<mml:mo>&#x2206;</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2265;</mml:mo>
<mml:msubsup>
<mml:mi>L</mml:mi>
<mml:mrow>
<mml:mi mathvariant="italic">min</mml:mi>
<mml:mtext>&#x2009;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mtext>&#x2003;</mml:mtext>
<mml:mi>j</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:mn>3</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mn>24</mml:mn>
</mml:mrow>
</mml:math>
<label>(10)</label>
</disp-formula>where <inline-formula id="inf59">
<mml:math id="m69">
<mml:mrow>
<mml:mo>&#x2206;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the hourly time period considered in the optimisation algorithm, and <inline-formula id="inf60">
<mml:math id="m70">
<mml:mrow>
<mml:msubsup>
<mml:mi>L</mml:mi>
<mml:mi mathvariant="italic">max</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf61">
<mml:math id="m71">
<mml:mrow>
<mml:msubsup>
<mml:mi>L</mml:mi>
<mml:mi mathvariant="italic">min</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> are the maximum and minimum capacities of the TES system.</p>
<p>In the previous formulation, Eqs <xref ref-type="disp-formula" rid="e5">5</xref>, <xref ref-type="disp-formula" rid="e6">6</xref> denote the equality constraints, while Eqs <xref ref-type="disp-formula" rid="e7">7</xref>-<xref ref-type="disp-formula" rid="e10">10</xref> denote inequality constraints to meet the objective function in Eq. <xref ref-type="disp-formula" rid="e4">4</xref>.</p>
<p>To ensure the energy stored in the TES system at the end of the diurnal cycle remains the same as during the start of the cycle, the following equality constraint was included:<disp-formula id="e11">
<mml:math id="m72">
<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:mn>24</mml:mn>
</mml:munderover>
</mml:mstyle>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
<label>(11)</label>
</disp-formula>
</p>
<p>Constraint in Eq. <xref ref-type="disp-formula" rid="e11">11</xref> enables the cyclic operation of the energy storage unit.</p>
</sec>
<sec id="s3-5">
<title>3.5 Quantification of operational costs</title>
<p>To assess operational costs, two contrasting seasons, summer and winter, were selected to represent periods of high and low heat demand across the year. For simplicity and to provide a basis for discussion, weekly costs were extrapolated to account for 52&#xa0;weeks in a year. This way, the annual operating cost for each scenario under investigation was determined using<disp-formula id="e12">
<mml:math id="m73">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>a</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:msubsup>
<mml:mi>C</mml:mi>
<mml:mi>w</mml:mi>
<mml:mi>S</mml:mi>
</mml:msubsup>
<mml:mo>&#xd7;</mml:mo>
<mml:mn>26</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:msubsup>
<mml:mi>C</mml:mi>
<mml:mi>w</mml:mi>
<mml:mi>W</mml:mi>
</mml:msubsup>
<mml:mo>&#xd7;</mml:mo>
<mml:mn>26</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(12)</label>
</disp-formula>where <inline-formula id="inf62">
<mml:math id="m74">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>a</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the estimated annual cost of the IES and <inline-formula id="inf63">
<mml:math id="m75">
<mml:mrow>
<mml:msubsup>
<mml:mi>C</mml:mi>
<mml:mi>w</mml:mi>
<mml:mi>S</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf64">
<mml:math id="m76">
<mml:mrow>
<mml:msubsup>
<mml:mi>C</mml:mi>
<mml:mi>w</mml:mi>
<mml:mi>W</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> represent the weekly operational cost for summer and winter.</p>
</sec>
<sec id="s3-6">
<title>3.6 Implementation</title>
<p>Different software packages may be adopted for simulating the complex dynamics of real IESs, facilitating the adoption of a model-based design approach. This approach enables the development of dynamic models, control, and communication systems to conduct virtual tests&#x2014;eliminating the need for costly verification in real systems. Following this approach, the effectiveness of the optimisation algorithm was demonstrated through an MiL configuration.</p>
<p>MiL simulation was carried out as a co-simulation utilising two software platforms, as shown in <xref ref-type="fig" rid="F6">Figure 6</xref>. The optimisation algorithm and dynamic models of the CHP plant and the EB were implemented in MATLAB/Simulink, while the control schemes and dynamic models of the TES system and the heating network were developed in Apros. The connection between the two software platforms was achieved through the utilisation of an open platform communications (OPC) protocol, which is available in both MATLAB and Apros (OPC foundation, 2024). Such a co-simulation architecture has been successfully adopted in the literature (<xref ref-type="bibr" rid="B36">Morales Sandoval et al., 2021</xref>; <xref ref-type="bibr" rid="B11">de la Cruz Loredo et al., 2022a</xref>, <xref ref-type="bibr" rid="B10">2022b</xref>; <xref ref-type="bibr" rid="B2">Bastida et al., 2023</xref>).</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Co-simulation framework for the dynamic verification.</p>
</caption>
<graphic xlink:href="fenrg-12-1385839-g006.tif"/>
</fig>
</sec>
<sec id="s3-7">
<title>3.7 Scenarios</title>
<p>Three different system configurations&#x2014;namely, Scenario 1 (base case, see <xref ref-type="sec" rid="s11">Supplementary Figure SA1</xref>), Scenario 2 (IES with a TES system, <xref ref-type="sec" rid="s11">Supplementary Figure SA2</xref>), and Scenario 3 (IES with EB and a TES system <xref ref-type="sec" rid="s11">Supplementary Figure SA3</xref>)&#x2014;were chosen to quantify discrepancies in power flows and operational cost by comparing the outcomes of the optimisation module and the dynamic model.</p>
</sec>
</sec>
<sec sec-type="results" id="s4">
<title>4 Results</title>
<p>To evaluate the performance of the optimisation module against that of the dynamic model, the three systems defined in <xref ref-type="sec" rid="s3-7">Section 3.7</xref> were considered.</p>
<p>As discussed in <xref ref-type="sec" rid="s3-5">Section 3.5</xref>, the operational costs for each IES configuration was determined by extrapolating weekly costs using Eqs <xref ref-type="disp-formula" rid="e4">4</xref>, <xref ref-type="disp-formula" rid="e12">12</xref>. A summary of the results is presented in <xref ref-type="table" rid="T3">Table 3</xref>; where significant differences between the operational cost for the three defined systems are observed. The operational costs obtained by the dynamic model compared to those by the optimisation module are higher by 5.5% for the base case (Scenario 1), by 5.3% for the system upgraded with a TES system (Scenario 2), and by 5.4% for an upgraded system with an EB and a TES system (Scenario 3). The higher costs exhibited by the dynamic simulations could be attributed to the consideration of real-world complexities, such as losses, non-linearity, transient phenomena in different system components, and differences between demand forecasts and actual demand&#x2014;which are neglected in optimisation studies.</p>
<table-wrap id="T3" position="float">
<label>TABLE 3</label>
<caption>
<p>Summary of annual operational costs for different IES scenarios.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Scenario</th>
<th align="center">Optimal operational cost (&#xa3;)</th>
<th align="center">Operational cost from dynamic simulation (&#xa3;)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">1. Base case</td>
<td align="center">1,480,802</td>
<td align="center">1,562,068</td>
</tr>
<tr>
<td align="left">2. IES with a TES system</td>
<td align="center">1,471,313</td>
<td align="center">1,549,985</td>
</tr>
<tr>
<td align="left">3. IES with an EB and TES system</td>
<td align="center">1,457,566</td>
<td align="center">1,536,136</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>A detailed discussion for each system configuration is presented next to delve further into the comparative analysis. For the sake of visualisation and simplicity of the explanation, the analysis is focussed on the first day of the week for each scenario, with operational costs quantified for the full week. For further details on the weekly comparison, interested readers are directed to <xref ref-type="sec" rid="s11">Supplementary Appendix SC</xref>, which provides additional graphical results covering the entire week under study.</p>
<sec id="s4-1">
<title>4.1 Scenario 1</title>
<p>The base case, similar to the current system configuration at QEH, is examined in more detail in this section. In this case, the electricity and heat demand are met through the external electricity grid, CHP plant and GBs. <xref ref-type="fig" rid="F7">Figure 7</xref> compares the optimal heat power output <inline-formula id="inf65">
<mml:math id="m77">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>o</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> produced by the CHP plant during a day in summer (see <xref ref-type="fig" rid="F7">Figure 7A</xref>, green trace) and winter (<xref ref-type="fig" rid="F7">Figure 7B</xref>, blue trace) with the heat power output <inline-formula id="inf66">
<mml:math id="m78">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>y</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> obtained with the dynamic model (orange and purple traces in the figures, with markers). Given that operation of the CHP plant is dictated by the optimisation module and the electricity demand fluctuations being balanced with the electricity grid, a good agreement is observed in heat power flows. In response to the higher energy demand during winter, an increase in the use of the CHP plant can be noticed in both cases.</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Scenario 1. Comparison of heat power flows for CHP plant. Day in: <bold>(A)</bold> summer and <bold>(B)</bold> winter.</p>
</caption>
<graphic xlink:href="fenrg-12-1385839-g007.tif"/>
</fig>
<p>
<xref ref-type="fig" rid="F8">Figure 8</xref> shows a comparison between the heat power flows <inline-formula id="inf67">
<mml:math id="m79">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>B</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>o</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> of GBs for a summer day (<xref ref-type="fig" rid="F8">Figure 8A</xref>, green trace) and a winter day (<xref ref-type="fig" rid="F8">Figure 8B</xref>, blue trace) obtained with the optimisation module and via dynamic simulation (<inline-formula id="inf68">
<mml:math id="m80">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>B</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>y</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, orange and purple traces). Here, the differences in heat power flows become evident with higher energy demand in winter, leading to a significant increase in the utilisation of GBs. While the dynamic model aims to replicate the optimal heat power flows, the influence of system dynamics is evident in the model output. Therefore, in scenarios involving large quantities of heat flows (e.g., in winter months with higher heat demand), the discrepancy between the static optimisation module and the dynamic system model becomes more pronounced.</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Scenario 1. Comparison of heat power flows for GBs. Day in: <bold>(A)</bold> summer and <bold>(B)</bold> winter.</p>
</caption>
<graphic xlink:href="fenrg-12-1385839-g008.tif"/>
</fig>
<p>The heat power flow variations exhibited by GBs have an impact on the estimation of daily and weekly operational costs in summer and winter. The weekly operational costs are shown in <xref ref-type="table" rid="T4">Table 4</xref>. During the week in summer, the operational cost resulting from the dynamic model deviates by &#xa3;836.28 (equivalent to 4.87%) from the estimated optimal operational cost. In the winter week, with the increased GBs usage, a notable deviation in operational cost is observed, where the output of the dynamic model differs from that of the optimal model by &#xa3;2289.34, or 5.75%.</p>
<table-wrap id="T4" position="float">
<label>TABLE 4</label>
<caption>
<p>Operational costs of the base case obtained from optimisation and dynamic simulations.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center"/>
<th colspan="2" align="center">Summer week</th>
<th colspan="2" align="center">Winter week</th>
</tr>
<tr>
<td align="center">Day</td>
<td align="center">Optimal operational cost (&#xa3;)</td>
<td align="center">Dynamic operational cost (&#xa3;)</td>
<td align="center">Optimal operational cost (&#xa3;)</td>
<td align="center">Dynamic operational cost (&#xa3;)</td>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">1</td>
<td align="center">2,343.50</td>
<td align="center">2,495.77</td>
<td align="center">6,047.18</td>
<td align="center">6,334.45</td>
</tr>
<tr>
<td align="center">2</td>
<td align="center">2,265.95</td>
<td align="center">2,411.71</td>
<td align="center">5,609.17</td>
<td align="center">5,857.89</td>
</tr>
<tr>
<td align="center">3</td>
<td align="center">2,407.21</td>
<td align="center">2,545.93</td>
<td align="center">5,472.72</td>
<td align="center">5,884.58</td>
</tr>
<tr>
<td align="center">4</td>
<td align="center">2,568.83</td>
<td align="center">2,666.77</td>
<td align="center">5,504.66</td>
<td align="center">5,899.01</td>
</tr>
<tr>
<td align="center">5</td>
<td align="center">2,529.88</td>
<td align="center">2,630.70</td>
<td align="center">5,136.18</td>
<td align="center">5,548.01</td>
</tr>
<tr>
<td align="center">6</td>
<td align="center">2,565.65</td>
<td align="center">2,659.01</td>
<td align="center">5,938.73</td>
<td align="center">6,230.33</td>
</tr>
<tr>
<td align="center">7</td>
<td align="center">2,484.10</td>
<td align="center">2,591.52</td>
<td align="center">6,080.18</td>
<td align="center">6,323.87</td>
</tr>
<tr>
<td align="center">Total weekly cost</td>
<td align="center">17,165.12</td>
<td align="center">18,001.40</td>
<td align="center">39,788.80</td>
<td align="center">42,078.14</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s4-2">
<title>4.2 Scenario 2</title>
<p>In Scenario 2, the electricity and heat demand are met through the external electricity grid, CHP plant, GBs, and TES system. <xref ref-type="fig" rid="F9">Figure 9</xref> compares the optimal heat power output <inline-formula id="inf69">
<mml:math id="m81">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>o</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> produced by the CHP plant during a day in summer (<xref ref-type="fig" rid="F9">Figure 9A</xref>, green trace) and winter (<xref ref-type="fig" rid="F9">Figure 9B</xref>, blue trace) with that obtained with the dynamic model (<inline-formula id="inf70">
<mml:math id="m82">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>y</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, orange and purple traces with markers).</p>
<fig id="F9" position="float">
<label>FIGURE 9</label>
<caption>
<p>Scenario 2. Comparison of heat power flows for CHP plant. Day in: <bold>(A)</bold> summer and <bold>(B)</bold> winter.</p>
</caption>
<graphic xlink:href="fenrg-12-1385839-g009.tif"/>
</fig>
<p>Comparing <xref ref-type="fig" rid="F9">Figure 9A</xref> with <xref ref-type="fig" rid="F7">Figure 7A</xref> from Scenario 1, it can be observed that both the optimal power output produced by the CHP plant (<inline-formula id="inf71">
<mml:math id="m83">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>o</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, green traces in both figures) and the heat power output obtained with the dynamic model (<inline-formula id="inf72">
<mml:math id="m84">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>y</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, orange traces with markers in both figures) vary during the summer day when a TES system is present in the system. This variation is influenced by energy demand and cost. For instance, during hours 15 to 19, electricity demand is high while heat demand is low (refer to <xref ref-type="sec" rid="s11">Supplementary Figure SB1</xref>). Consequently, surplus heat from the CHP plant is directed to the TES system. This stored heat can be utilised during periods of increased energy cost, resulting in operational cost savings. The heat power output produced by the CHP plant during the winter day is similar as in the base case considered as Scenario 1 (<xref ref-type="fig" rid="F7">Figures 7B</xref>, <xref ref-type="fig" rid="F9">9B</xref>, see all traces in the figures). This is because the incorporation of a TES system into the IES does not have any effect in the winter season as it is not operative.</p>
<p>
<xref ref-type="fig" rid="F10">Figure 10</xref> shows a comparison between the heat power flows <inline-formula id="inf73">
<mml:math id="m85">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>B</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>o</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> of GBs for a day in summer (<xref ref-type="fig" rid="F10">Figure 10A</xref>, green trace) and winter (<xref ref-type="fig" rid="F10">Figure 10B</xref>, blue trace) obtained with the optimisation module and dynamic simulation (<inline-formula id="inf74">
<mml:math id="m86">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>B</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>y</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, orange and purple traces). A decrease in the heat power output produced by the GBs during summer is noticed when compared to Scenario 1 (comparing <xref ref-type="fig" rid="F10">Figure 10A</xref> with <xref ref-type="fig" rid="F8">Figure 8A</xref>, green traces in both figures). For instance, here the maximum peak of the optimal heat power output produced by the GBs is around 700&#xa0;kW, against the peak of approximately 850&#xa0;kW observed in Scenario 1 (<xref ref-type="fig" rid="F8">Figure 8A</xref>). However, it is important to note that the heat power output produced by GBs in the winter day for Scenario 2 remains unchanged compared to that of Scenario 1 (see all traces in <xref ref-type="fig" rid="F8">Figures 8B</xref>, <xref ref-type="fig" rid="F10">10B</xref>).</p>
<fig id="F10" position="float">
<label>FIGURE 10</label>
<caption>
<p>Scenario 2. Comparison of heat power flows for GBs. Day in: <bold>(A)</bold> summer and <bold>(B)</bold> winter.</p>
</caption>
<graphic xlink:href="fenrg-12-1385839-g010.tif"/>
</fig>
<p>
<xref ref-type="fig" rid="F11">Figure 11</xref> compares the performance of the TES system during both summer (<xref ref-type="fig" rid="F11">Figure 11A</xref>) and winter (<xref ref-type="fig" rid="F11">Figure 11B</xref>) days. In <xref ref-type="fig" rid="F11">Figure 11A</xref>, negative values indicate the TES system is charging, while positive values mean the TES system is discharging. A clear discrepancy is observed between the optimal performance indicated by the optimisation module (<inline-formula id="inf75">
<mml:math id="m87">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>o</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, green trace) and the dynamic performance achieved by the dynamic simulation (<inline-formula id="inf76">
<mml:math id="m88">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>y</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, orange trace with markers) during the day in summer. <xref ref-type="fig" rid="F11">Figure 11B</xref> confirms that the TES system is not operational during the winter day, with no charging or discharging occurring. This is consistent with the discussion around <xref ref-type="fig" rid="F9">Figure 9B</xref>.</p>
<fig id="F11" position="float">
<label>FIGURE 11</label>
<caption>
<p>Scenario 2. Comparison of TES system performance. Day in: <bold>(A)</bold> summer and <bold>(B)</bold> winter.</p>
</caption>
<graphic xlink:href="fenrg-12-1385839-g011.tif"/>
</fig>
<p>The variations in heat power flow exhibited for Scenario 2 affect the estimation of daily and weekly operational costs in both summer and winter, as detailed in <xref ref-type="table" rid="T5">Table 5</xref>. During the summer week, the operational cost resulting from the dynamic model deviates by &#xa3;736.7 (equivalent to 4.38%) from the estimated optimal operational cost. In the winter week, a deviation of 5.75% exists between the output of the dynamic model and that of the optimisation module, as the TES system remains idle&#x2014;consistent with results obtained in Scenario 1.</p>
<table-wrap id="T5" position="float">
<label>TABLE 5</label>
<caption>
<p>Operational costs of the IES with TES system obtained from optimisation and dynamic simulations.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center"/>
<th colspan="2" align="center">Summer week</th>
<th colspan="2" align="center">Winter week</th>
</tr>
<tr>
<td align="center">Day</td>
<td align="center">Optimal operational cost (&#xa3;)</td>
<td align="center">Dynamic operational cost (&#xa3;)</td>
<td align="center">Optimal operational cost (&#xa3;)</td>
<td align="center">Dynamic operational cost (&#xa3;)</td>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">1</td>
<td align="center">2,287.15</td>
<td align="center">2,434.64</td>
<td align="center">6,047.18</td>
<td align="center">6,334.58</td>
</tr>
<tr>
<td align="center">2</td>
<td align="center">2,211.95</td>
<td align="center">2,346.29</td>
<td align="center">5,609.17</td>
<td align="center">5,857.91</td>
</tr>
<tr>
<td align="center">3</td>
<td align="center">2,346.28</td>
<td align="center">2,471.16</td>
<td align="center">5,472.72</td>
<td align="center">5,884.46</td>
</tr>
<tr>
<td align="center">4</td>
<td align="center">2,509.52</td>
<td align="center">2,593.76</td>
<td align="center">5,504.66</td>
<td align="center">5,898.74</td>
</tr>
<tr>
<td align="center">5</td>
<td align="center">2,485.23</td>
<td align="center">2,594.42</td>
<td align="center">5,136.18</td>
<td align="center">5,547.88</td>
</tr>
<tr>
<td align="center">6</td>
<td align="center">2,530.61</td>
<td align="center">2,576.56</td>
<td align="center">5,938.73</td>
<td align="center">6,230.45</td>
</tr>
<tr>
<td align="center">7</td>
<td align="center">2,429.44</td>
<td align="center">2,520.06</td>
<td align="center">6,080.18</td>
<td align="center">6,323.90</td>
</tr>
<tr>
<td align="center">Total weekly cost</td>
<td align="center">16,800.18</td>
<td align="center">17,536.89</td>
<td align="center">39,788.80</td>
<td align="center">42,077.92</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s4-3">
<title>4.3 Scenario 3</title>
<p>For Scenario 3, electricity and heat demand are met through the external electricity grid, CHP plant, GBs, EB, and TES system. <xref ref-type="fig" rid="F12">Figure 12</xref> compares the optimal heat power output <inline-formula id="inf77">
<mml:math id="m89">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>o</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> produced by the CHP plant during the day in summer (<xref ref-type="fig" rid="F12">Figure 12A</xref>, green trace) and winter (<xref ref-type="fig" rid="F12">Figure 12B</xref>, blue trace) with those obtained with the dynamic model (<inline-formula id="inf78">
<mml:math id="m90">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>H</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>y</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, orange and purple traces with markers). An increase in the heat output power provided by the CHP plant during the summer day (<xref ref-type="fig" rid="F12">Figure 12A</xref>) compared to both Scenario 1 (see <xref ref-type="fig" rid="F7">Figure 7A</xref>) and Scenario 2 (<xref ref-type="fig" rid="F9">Figure 9A</xref>) is observed in the initial hours of the day by both the optimisation module and the dynamic simulation. This increase is attributed to the surplus electricity generated by the CHP plant being utilised to power the EB, which entirely converts the electricity consumed to heat supply due to its high efficiency. The same behaviour occurs in the winter day (<xref ref-type="fig" rid="F12">Figure 12B</xref>), where the CHP plant operates at maximum capacity to generate surplus electricity while meeting the heat demand.</p>
<fig id="F12" position="float">
<label>FIGURE 12</label>
<caption>
<p>Scenario 3. Comparison of heat power flows for CHP plant. Day in: <bold>(A)</bold> summer and <bold>(B)</bold> winter.</p>
</caption>
<graphic xlink:href="fenrg-12-1385839-g012.tif"/>
</fig>
<p>
<xref ref-type="fig" rid="F13">Figure 13</xref> shows a comparison between the heat power flows <inline-formula id="inf79">
<mml:math id="m91">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>B</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>o</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> of GBs for the summer (<xref ref-type="fig" rid="F13">Figure 13A</xref>) and winter (<xref ref-type="fig" rid="F13">Figure 13B</xref>) days obtained with the optimisation module (green and blue traces) and dynamic simulation (<inline-formula id="inf80">
<mml:math id="m92">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>B</mml:mi>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>y</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, orange and purple traces). During the summer day (<xref ref-type="fig" rid="F13">Figure 13A</xref>), the optimisation module does not operate the GBs (see green trace, with values of zero throughout) as the heat demand is met with the EB. However, the dynamic model requires GBs to regulate the supply temperature within the system and prevent disturbances in temperature, as illustrated by the orange trace. During the winter day (<xref ref-type="fig" rid="F13">Figure 13B</xref>), a reduction in the utilisation of the GBs is observed compared to Scenario 1 (<xref ref-type="fig" rid="F8">Figure 8B</xref>) and Scenario 2 (<xref ref-type="fig" rid="F10">Figure 10A</xref>). This decrease is due to the support provided by the EB in meeting the heat demand.</p>
<fig id="F13" position="float">
<label>FIGURE 13</label>
<caption>
<p>Scenario 3. Comparison of heat power flows for GBs. Day in: <bold>(A)</bold> summer and <bold>(B)</bold> winter.</p>
</caption>
<graphic xlink:href="fenrg-12-1385839-g013.tif"/>
</fig>
<p>Similar to the management of the CHP plant, the operation of the EB is governed by the optimisation module for power dispatch. As a result, the discrepancies between the optimal heat power output (<inline-formula id="inf81">
<mml:math id="m93">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>y</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) and that obtained with the dynamic model (<inline-formula id="inf82">
<mml:math id="m94">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mi>B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>y</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) are minimal, as shown in <xref ref-type="fig" rid="F14">Figure 14</xref>.</p>
<fig id="F14" position="float">
<label>FIGURE 14</label>
<caption>
<p>Scenario 3. Comparison of heat power flows for EB. Day in: <bold>(A)</bold> summer and <bold>(B)</bold> winter.</p>
</caption>
<graphic xlink:href="fenrg-12-1385839-g014.tif"/>
</fig>
<p>
<xref ref-type="fig" rid="F15">Figure 15</xref> compares the optimal and dynamic performance of the TES system during both summer (<xref ref-type="fig" rid="F15">Figure 15A</xref>) and winter (<xref ref-type="fig" rid="F15">Figure 15B</xref>) days. As in Scenario 2, a discrepancy is observed between the optimal behaviour suggested by the optimisation module (<inline-formula id="inf83">
<mml:math id="m95">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>o</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) and the dynamic performance achieved via simulations (<inline-formula id="inf84">
<mml:math id="m96">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>Q</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>S</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>y</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) during the summer day. As before, the TES system remains idle during the winter day (see <xref ref-type="fig" rid="F15">Figure 15B</xref>).</p>
<fig id="F15" position="float">
<label>FIGURE 15</label>
<caption>
<p>Comparison of TES system performance. Day in: <bold>(A)</bold> summer and <bold>(B)</bold> winter.</p>
</caption>
<graphic xlink:href="fenrg-12-1385839-g015.tif"/>
</fig>
<p>
<xref ref-type="table" rid="T6">Table 6</xref> compares the weekly operational costs for Scenario 3. During the summer week, the operational cost resulting from the dynamic simulations deviates by &#xa3;731.58 (equivalent to 4.36%) from the estimated optimal operational cost. In the winter week, the operational cost obtained with dynamic simulations differs from that of the optimal model by &#xa3;2290.37, or 5.83%.</p>
<table-wrap id="T6" position="float">
<label>TABLE 6</label>
<caption>
<p>Operational costs of the IES with an EB and TES system obtained from optimisation and dynamic simulations.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center"/>
<th colspan="2" align="center">Summer week</th>
<th colspan="2" align="center">Winter week</th>
</tr>
<tr>
<td align="center">Day</td>
<td align="center">Optimal operational cost (&#xa3;)</td>
<td align="center">Dynamic operational cost (&#xa3;)</td>
<td align="center">Optimal operational cost (&#xa3;)</td>
<td align="center">Dynamic operational cost (&#xa3;)</td>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">1</td>
<td align="center">2,276.78</td>
<td align="center">2,425.25</td>
<td align="center">5,978.91</td>
<td align="center">6,267.55</td>
</tr>
<tr>
<td align="center">2</td>
<td align="center">2,198.82</td>
<td align="center">2,334.04</td>
<td align="center">5,542.16</td>
<td align="center">5,791.00</td>
</tr>
<tr>
<td align="center">3</td>
<td align="center">2,343.49</td>
<td align="center">2,467.12</td>
<td align="center">5,410.24</td>
<td align="center">5,821.80</td>
</tr>
<tr>
<td align="center">4</td>
<td align="center">2,509.14</td>
<td align="center">2,594.39</td>
<td align="center">5,438.88</td>
<td align="center">5,834.92</td>
</tr>
<tr>
<td align="center">5</td>
<td align="center">2,485.24</td>
<td align="center">2,593.80</td>
<td align="center">5,072.98</td>
<td align="center">5,482.84</td>
</tr>
<tr>
<td align="center">6</td>
<td align="center">2,530.61</td>
<td align="center">2,577.22</td>
<td align="center">5,853.15</td>
<td align="center">6,144.84</td>
</tr>
<tr>
<td align="center">7</td>
<td align="center">2,428.94</td>
<td align="center">2,512.78</td>
<td align="center">5,990.86</td>
<td align="center">6,234.61</td>
</tr>
<tr>
<td align="center">Total weekly cost</td>
<td align="center">16,773.03</td>
<td align="center">17,504.61</td>
<td align="center">39,287.19</td>
<td align="center">41,577.56</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec sec-type="conclusion" id="s5">
<title>5 Conclusion</title>
<p>A methodology enabling the dynamic verification of an optimisation algorithm for the power dispatch of IESs was presented in this paper. The algorithm assumed steady-state operation of the IES components between consecutive time-steps, while minimising operating cost and emissions. A dynamic model of the IES was adopted in tandem to account for the real-word physical phenomena, such as the transient response of thermal systems and non-linearity of system components, which were not considered in the steady-state optimisation module. The two models were then compared by using a series of scenarios and real data from a civic building in the UK dedicated to health services. The scenarios considered the base system upgraded with low-carbon technologies to reflect national targets to reduce carbon emissions.</p>
<p>The optimisation module and the dynamic model were integrated through an MiL co-simulation approach, where MATLAB/Simulink was interfaced with Apros using the OPC protocol. This approach enabled an assessment of the discrepancies between the steady-state optimisation and the dynamic model, providing valuable insights into the practical implications of real-time operation of the IES under study.</p>
<p>The key findings, implications, and recommendations arising from this research work are outlined next:<list list-type="simple">
<list-item>
<p>&#x2022; The optimisation and dynamic simulations yielded different power flows for system components, with significant discrepancies for GBs and smaller differences for the CHP plant. Both approaches suggested the use of the TES system only in summer months, where the relative availability of thermal energy was greater compared to its demand. Furthermore, both models suggested a higher degree of utilisation of the EB in winter and showed more disparity in the estimated power flows in summer.</p>
</list-item>
<list-item>
<p>&#x2022; The discrepancies in power flows led to higher operational costs in dynamic simulations compared to optimal solutions. This highlights the potential limitations of traditional optimisation algorithms and underpins the recommendation to consider real-world complexities associated with the IES, such as losses, non-linear behaviour of components, and transient phenomena while optimising IESs.</p>
</list-item>
<list-item>
<p>&#x2022; The TES system increased the flexibility of the IES, allowing surplus heat to be stored during off-peak periods for later use during peak heating demand periods, resulting in operational cost savings. Incorporating an EB into the IES created opportunities to utilise surplus electricity generated by the CHP plant for highly efficient conversion to heat, reducing conventional heat generation.</p>
</list-item>
<list-item>
<p>&#x2022; The approach provided by the presented methodology may be useful for energy management and planning by decision-makers to understand the practical implications of real-time operation of an IES and how these may affect operational costs.</p>
</list-item>
</list>
</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s6">
<title>Data availability statement</title>
<p>The datasets presented in this article are not readily available because raw data is owned by a third party. Requests to access the datasets should be directed to <email>Ugalde-LooC@cardiff.ac.uk</email>.</p>
</sec>
<sec id="s7">
<title>Author contributions</title>
<p>DM: Data curation, Formal Analysis, Investigation, Methodology, Software, Validation, Visualization, Writing&#x2013;original draft, Writing&#x2013;review and editing. ID: Conceptualization, Formal Analysis, Investigation, Methodology, Software, Validation, Writing&#x2013;review and editing. PS: Methodology, Resources, Supervision, Writing&#x2013;review and editing. MA: Resources, Supervision, Writing&#x2013;review and editing. CU-L: Conceptualization, Funding acquisition, Methodology, Project administration, Resources, Supervision, Writing&#x2013;original draft, Writing&#x2013;review and editing.</p>
</sec>
<sec sec-type="funding-information" id="s8">
<title>Funding</title>
<p>The author(s) declare that financial support was received for the research, authorship, and/or publication of this article. The work presented in this paper was supported by the Engineering and Physical Sciences Research Council (EPSRC), UK Research and Innovation, through the projects &#x201c;Flexibility from Cooling and Storage (Flex-Cool-Store)&#x201d; under grant EP/V042505/1, and &#x201c;Multi-energy Control of Cyber-Physical Urban Energy Systems (MC2)&#x201d; under grant EP/T021969/1.</p>
</sec>
<ack>
<p>The authors acknowledge the support and contribution from the estates office at Queen Elizabeth Hospital for providing data and energy system information for this paper.</p>
</ack>
<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="disclaimer" id="s10">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<sec id="s11">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fenrg.2024.1385839/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fenrg.2024.1385839/full&#x23;supplementary-material</ext-link>
</p>
<supplementary-material xlink:href="DataSheet1.docx" id="SM1" mimetype="application/docx" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Alper</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Oguz</surname>
<given-names>O.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>The role of renewable energy consumption in economic growth: evidence from asymmetric causality</article-title>. <source>Renew. Sustain. Energy Rev.</source> <volume>60</volume>, <fpage>953</fpage>&#x2013;<lpage>959</lpage>. <pub-id pub-id-type="doi">10.1016/j.rser.2016.01.123</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bastida</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>De la Cruz-Loredo</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Ugalde-Loo</surname>
<given-names>C. E.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Effective estimation of the state-of-charge of latent heat thermal energy storage for heating and cooling systems using non-linear state observers</article-title>. <source>Appl. Energy</source> <volume>331</volume>, <fpage>120448</fpage>. <pub-id pub-id-type="doi">10.1016/j.apenergy.2022.120448</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Bonnans</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Gilbert</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Lemar&#xe9;chal</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Sagastiz&#xe1;bal</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2006</year>) <source>Numerical optimization: theoretical and practical aspects</source>. <publisher-name>Springer Science and Business Media</publisher-name>.</citation>
</ref>
<ref id="B4">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Brumbaugh</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2004</year>). &#x201c;<article-title>Audel HVAC fundamentals</article-title>,&#x201d; in <source>Heating systems, furnaces and boilers</source> (<publisher-name>John Wiley and Sons</publisher-name>).</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Capone</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Guelpa</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Verda</surname>
<given-names>V.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Multi-objective optimization of district energy systems with demand response</article-title>. <source>Energy</source> <volume>227</volume>, <fpage>120472</fpage>. <pub-id pub-id-type="doi">10.1016/j.energy.2021.120472</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Cengel</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Cimbala</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2010</year>) <source>Fluid mechanics: fundamentals and applications</source>. <edition>1st ed</edition>. <publisher-loc>New York</publisher-loc>: <publisher-name>McGraw-Hill Higher Education</publisher-name>.</citation>
</ref>
<ref id="B7">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Zhong</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Jia</surname>
<given-names>X.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>) &#x201c;<article-title>Optimization strategy verification of integrated energy system operation based on dynamic simulation</article-title>,&#x201d; in <source>2022 IEEE 6th conference on energy internet and energy system integration</source>, <fpage>1223</fpage>&#x2013;<lpage>1228</lpage>. <pub-id pub-id-type="doi">10.1109/EI256261.2022.10117153</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chesi</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Ferrara</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Ferrari</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Magnani</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Tarani</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Influence of the heat storage size on the plant performance in a Smart User case study</article-title>. <source>Appl. Energy</source> <volume>112</volume>, <fpage>1454</fpage>&#x2013;<lpage>1465</lpage>. <pub-id pub-id-type="doi">10.1016/j.apenergy.2013.01.089</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="web">
<collab>Climate Change Committee</collab> (<year>2023</year>). <article-title>Net Zero: the UK&#x2019;s contribution to stopping global warming</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://www.theccc.org.uk/publication/net-zero-the-uks-contribution-to-stopping-global-warming/">https://www.theccc.org.uk/publication/net-zero-the-uks-contribution-to-stopping-global-warming/</ext-link> (Accessed August 02, 2023)</comment>.</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>De la Cruz&#x2010;Loredo</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Ugalde&#x2010;Loo</surname>
<given-names>C. E.</given-names>
</name>
<name>
<surname>Abeysekera</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2022b</year>). <article-title>Dynamic simulation and control of the heat supply system of a civic building with thermal energy storage units</article-title>. <source>IET Generation, Transm. Distribution</source> <volume>16</volume>, <fpage>2864</fpage>&#x2013;<lpage>2877</lpage>. <pub-id pub-id-type="doi">10.1049/gtd2.12453</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>De la Cruz Loredo</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Ugalde-Loo</surname>
<given-names>C. E.</given-names>
</name>
<name>
<surname>Abeysekera</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Morales Sandoval</surname>
<given-names>D. A.</given-names>
</name>
<name>
<surname>Bastida</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2022a</year>). <article-title>Ancillary services provision from local thermal systems to the electrical power system</article-title>. <source>CIGRE Sess.</source> <volume>2022</volume>.</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ding</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Gao</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Shi</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Ni</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Robust optimal dispatch of integrated energy system considering with coupled wind and hydrogen system</article-title>. <source>J. Phys. Conf. Ser.</source> <volume>2215</volume>, <fpage>012001</fpage>. <pub-id pub-id-type="doi">10.1088/1742-6596/2215/1/012001</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Eladl</surname>
<given-names>A. A.</given-names>
</name>
<name>
<surname>El-Afifi</surname>
<given-names>M. I.</given-names>
</name>
<name>
<surname>El-Saadawi</surname>
<given-names>M. M.</given-names>
</name>
<name>
<surname>Sedhom</surname>
<given-names>B. E.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>A review on energy hubs: models, methods, classification, applications, and future trends</article-title>. <source>Alexandria Eng. J.</source> <volume>68</volume>, <fpage>315</fpage>&#x2013;<lpage>342</lpage>. <pub-id pub-id-type="doi">10.1016/j.aej.2023.01.021</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="web">
<collab>European Scientific Advisory Board on Climate Change</collab> (<year>2024</year>). <article-title>Scientific advice for the determination of an EU-wide 2040 climate target and a greenhouse gas budget for 2030-2050</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://climate-advisory-board.europa.eu/reports-and-publications/scientific-advice-for-the-determination-of-an-eu-wide-2040">https://climate-advisory-board.europa.eu/reports-and-publications/scientific-advice-for-the-determination-of-an-eu-wide-2040</ext-link> (Accessed September 16, 2023)</comment>.</citation>
</ref>
<ref id="B15">
<citation citation-type="web">
<collab>Fortum</collab> (<year>2024</year>). <article-title>Apros nuclear - advanced process simulation software</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://www.fortum.com/services/nuclear/process-simulation-and-safety-analysis/apros">https://www.fortum.com/services/nuclear/process-simulation-and-safety-analysis/apros</ext-link> (Accessed August 9, 2022)</comment>.</citation>
</ref>
<ref id="B16">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Frangopoulos</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2009</year>) <source>Exergy, energy system analysis and optimization volume II: thermoeconomic analysis modeling, simulation and optimization in energy systems</source>. <publisher-name>EOLSS Publications</publisher-name>.</citation>
</ref>
<ref id="B58">
<citation citation-type="web">
<collab>Guelpa</collab> (<year>2024</year>). <article-title>Gas and electricity prices in the non-domestic sector</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://www.gov.uk/government/statistical-data-sets/gas-and-electricity-prices-in-the-non-domesticsector/">https://www.gov.uk/government/statistical-data-sets/gas-and-electricity-prices-in-the-non-domesticsector/</ext-link> (Accessed 2 February 2024)</comment>.</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Geidl</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Andersson</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2007a</year>). <article-title>Optimal power flow of multiple energy carriers</article-title>. <source>IEEE Trans. Power Syst.</source> <volume>22</volume>, <fpage>145</fpage>&#x2013;<lpage>155</lpage>. <pub-id pub-id-type="doi">10.1109/TPWRS.2006.888988</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Geidl</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Andersson</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2007b</year>). &#x201c;<article-title>Optimal coupling of energy infrastructures</article-title>,&#x201d; in <source>2007 IEEE lausanne power Tech</source> (<publisher-name>IEEE</publisher-name>), <fpage>1398</fpage>&#x2013;<lpage>1403</lpage>. <pub-id pub-id-type="doi">10.1109/PCT.2007.4538520</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Geidl</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Koeppel</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Favre-Perrod</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Klockl</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Andersson</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Frohlich</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2007c</year>). <article-title>Energy hubs for the future</article-title>. <source>IEEE Power Energy Mag.</source> <volume>5</volume>, <fpage>24</fpage>&#x2013;<lpage>30</lpage>. <pub-id pub-id-type="doi">10.1109/MPAE.2007.264850</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gielen</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Boshell</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Saygin</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Bazilian</surname>
<given-names>M. D.</given-names>
</name>
<name>
<surname>Wagner</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Gorini</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>The role of renewable energy in the global energy transformation</article-title>. <source>Energy Strategy Rev.</source> <volume>24</volume>, <fpage>38</fpage>&#x2013;<lpage>50</lpage>. <pub-id pub-id-type="doi">10.1016/j.esr.2019.01.006</pub-id>
</citation>
</ref>
<ref id="B21">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Gonzalez</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Castello</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Sgobbi</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Nijs</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Quoilin</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Zucker</surname>
<given-names>A.</given-names>
</name>
<etal/>
</person-group> (<year>2015</year>) <source>Addressing flexibility in energy system models</source>. <comment>Luxembourg</comment>.</citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Good</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Mart&#xed;nez Cese&#xf1;a</surname>
<given-names>E. A.</given-names>
</name>
<name>
<surname>Mancarella</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Ten questions concerning smart districts</article-title>. <source>Build. Environ.</source> <volume>118</volume>, <fpage>362</fpage>&#x2013;<lpage>376</lpage>. <pub-id pub-id-type="doi">10.1016/j.buildenv.2017.03.037</pub-id>
</citation>
</ref>
<ref id="B23">
<citation citation-type="web">
<collab>Gov.uk</collab> (<year>2024</year>). <article-title>Gas and electricity prices in the non-domestic sector</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://www.gov.uk/government/statistical-data-sets/gas-and-electricity-prices-in-the-non-domestic-sector">https://www.gov.uk/government/statistical-data-sets/gas-and-electricity-prices-in-the-non-domestic-sector</ext-link> (Accessed May 6, 2022)</comment>.</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Guelpa</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Verda</surname>
<given-names>V.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Thermal energy storage in district heating and cooling systems: a review</article-title>. <source>Appl. Energy</source> <volume>252</volume>, <fpage>113474</fpage>. <pub-id pub-id-type="doi">10.1016/j.apenergy.2019.113474</pub-id>
</citation>
</ref>
<ref id="B25">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Incropera</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>DeWitt</surname>
<given-names>D. P.</given-names>
</name>
<name>
<surname>Bergman</surname>
<given-names>T. L.</given-names>
</name>
<name>
<surname>Lavine</surname>
<given-names>A. S.</given-names>
</name>
</person-group> (<year>2011</year>) <source>Fundamentals of heat and mass transfer</source>. <edition>7th ed</edition>. <publisher-loc>Hoboken, NJ</publisher-loc>: <publisher-name>John Wiley and Sons</publisher-name>.</citation>
</ref>
<ref id="B26">
<citation citation-type="web">
<collab>International Energy Agency (IEA)</collab> (<year>2024</year>). <article-title>World energy outlook 2020</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://www.iea.org/reports/world-energy-outlook-2020">https://www.iea.org/reports/world-energy-outlook-2020</ext-link> (Accessed November 4, 2023)</comment>.</citation>
</ref>
<ref id="B27">
<citation citation-type="book">
<collab>International Renewable Energy Agency (IRENA)</collab> (<year>2024</year>) <source>Renewable energy policies in a time of transition heating and cooling</source>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://www.irena.org/publications/2020/Nov/Renewable-energy-policies-in-a-time-of-transition-Heating-and-cooling">https://www.irena.org/publications/2020/Nov/Renewable-energy-policies-in-a-time-of-transition-Heating-and-cooling</ext-link> (Accessed October 9, 2023)</comment>.</citation>
</ref>
<ref id="B28">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Kim</surname>
<given-names>M. J.</given-names>
</name>
<name>
<surname>Song</surname>
<given-names>H.-Y.</given-names>
</name>
<name>
<surname>Park</surname>
<given-names>J.-B.</given-names>
</name>
<name>
<surname>Roh</surname>
<given-names>J.-H.</given-names>
</name>
</person-group> (<year>2016</year>). &#x201c;<article-title>Optimization of CHP and thermal storage under heat demand</article-title>,&#x201d; in <source>2016 12th IEEE international conference on control and automation (ICCA)</source> (<publisher-name>IEEE</publisher-name>), <fpage>277</fpage>&#x2013;<lpage>281</lpage>. <pub-id pub-id-type="doi">10.1109/ICCA.2016.7505289</pub-id>
</citation>
</ref>
<ref id="B29">
<citation citation-type="web">
<collab>London Engineers Company</collab> (<year>2023</year>). <article-title>Lecompany; electric heating boilers</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://www.lecompany.co.uk/electric-heating-boilers.html">https://www.lecompany.co.uk/electric-heating-boilers.html</ext-link> (Accessed November 7, 2023)</comment>.</citation>
</ref>
<ref id="B30">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Maji&#x107;</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Kr&#x17e;elj</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Delimar</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2013</year>). &#x201c;<article-title>Optimal scheduling of a CHP system with energy storage</article-title>,&#x201d; in <source>36th international convention on information and communication Technology, electronics and microelectronics</source> (<publisher-loc>Croatia</publisher-loc>: <publisher-name>Opatija</publisher-name>), <fpage>1253</fpage>&#x2013;<lpage>1257</lpage>.</citation>
</ref>
<ref id="B31">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Martinez Cesena</surname>
<given-names>E. A.</given-names>
</name>
<name>
<surname>Loukarakis</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Good</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Mancarella</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Integrated electricity&#x2013; heat&#x2013;gas systems: techno&#x2013;economic modeling, optimization, and application to multienergy districts</article-title>. <source>Proc. IEEE</source> <volume>108</volume>, <fpage>1392</fpage>&#x2013;<lpage>1410</lpage>. <pub-id pub-id-type="doi">10.1109/JPROC.2020.2989382</pub-id>
</citation>
</ref>
<ref id="B32">
<citation citation-type="web">
<collab>MathWorks</collab> (<year>2024</year>). <article-title>Fmincon function documentation</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://uk.mathworks.com/help/optim/ug/fmincon.html">https://uk.mathworks.com/help/optim/ug/fmincon.html</ext-link> (Accessed April 12, 2022)</comment>.</citation>
</ref>
<ref id="B33">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mehregan</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Abbasi</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Majid Hashemian</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Technical, economic and environmental analyses of combined heat and power (CHP) system with hybrid prime mover and optimization using genetic algorithm</article-title>. <source>Sustain. Energy Technol. Assessments</source> <volume>49</volume>, <fpage>101697</fpage>. <pub-id pub-id-type="doi">10.1016/j.seta.2021.101697</pub-id>
</citation>
</ref>
<ref id="B34">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mitali</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Dhinakaran</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Mohamad</surname>
<given-names>A. A.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Energy storage systems: a review</article-title>. <source>Energy Storage Sav.</source> <volume>1</volume>, <fpage>166</fpage>&#x2013;<lpage>216</lpage>. <pub-id pub-id-type="doi">10.1016/j.enss.2022.07.002</pub-id>
</citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Moeini-Aghtaie</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Abbaspour</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Fotuhi-Firuzabad</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Hajipour</surname>
<given-names>E.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>A decomposed solution to multiple-energy carriers optimal power flow</article-title>. <source>IEEE Trans. Power Syst.</source> <volume>29</volume>, <fpage>707</fpage>&#x2013;<lpage>716</lpage>. <pub-id pub-id-type="doi">10.1109/TPWRS.2013.2283259</pub-id>
</citation>
</ref>
<ref id="B36">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Morales Sandoval</surname>
<given-names>D. A.</given-names>
</name>
<name>
<surname>De La Cruz Loredo</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Bastida</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Badman</surname>
<given-names>J. J. R.</given-names>
</name>
<name>
<surname>Ugalde&#x2010;Loo</surname>
<given-names>C. E.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Design and verification of an effective state&#x2010;of&#x2010;charge estimator for thermal energy storage</article-title>. <source>IET Smart Grid</source> <volume>4</volume>, <fpage>202</fpage>&#x2013;<lpage>214</lpage>. <pub-id pub-id-type="doi">10.1049/stg2.12024</pub-id>
</citation>
</ref>
<ref id="B37">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Morales Sandoval</surname>
<given-names>D. A.</given-names>
</name>
<name>
<surname>Saikia</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>De la Cruz-Loredo</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Ugalde-Loo</surname>
<given-names>C. E.</given-names>
</name>
<name>
<surname>Bastida</surname>
<given-names>H.</given-names>
</name>
<etal/>
</person-group> (<year>2023</year>). <article-title>A framework for the assessment of optimal and cost-effective energy decarbonisation pathways of a UK-based healthcare facility</article-title>. <source>Appl. Energy</source> <volume>352</volume>, <fpage>121877</fpage>. <pub-id pub-id-type="doi">10.1016/j.apenergy.2023.121877</pub-id>
</citation>
</ref>
<ref id="B38">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Nemati</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Braun</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Tenbohlen</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Optimization of unit commitment and economic dispatch in microgrids based on genetic algorithm and mixed integer linear programming</article-title>. <source>Appl. Energy</source> <volume>210</volume>, <fpage>944</fpage>&#x2013;<lpage>963</lpage>. <pub-id pub-id-type="doi">10.1016/j.apenergy.2017.07.007</pub-id>
</citation>
</ref>
<ref id="B39">
<citation citation-type="web">
<collab>NHS Foundation Trust</collab> (<year>2015</year>). <article-title>Annual report 2014/2015</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://www.qehkl.nhs.uk/Documents/QEH%20Report%20Accounts%20FINAL%20-%20Solomon%20Amends.pdf">https://www.qehkl.nhs.uk/Documents/QEH%20Report%20Accounts%20FINAL%20-%20Solomon%20Amends.pdf</ext-link> (Accessed: Accessed (Accessed: Accessed 12 May 2022)</comment>.</citation>
</ref>
<ref id="B40">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Nocedal</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Wright</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2006</year>) <source>Numerical optimization</source>. <publisher-name>Springer Verlag</publisher-name>.</citation>
</ref>
<ref id="B41">
<citation citation-type="web">
<collab>OPC foundation</collab> (<year>2024</year>). <article-title>OPC</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://opcfoundation.org">https://opcfoundation.org</ext-link> (Accessed September 16, 2023)</comment>.</citation>
</ref>
<ref id="B42">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Oskouei</surname>
<given-names>M. Z.</given-names>
</name>
<name>
<surname>&#x15e;eker</surname>
<given-names>A. A.</given-names>
</name>
<name>
<surname>Tun&#xe7;el</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Demirba&#x15f;</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>G&#xf6;zel</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Hocao&#x11f;lu</surname>
<given-names>M. H.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>A critical review on the impacts of energy storage systems and demand-side management strategies in the economic operation of renewable-based distribution network</article-title>. <source>Sustainability</source> <volume>14</volume>, <fpage>2110</fpage>. <pub-id pub-id-type="doi">10.3390/su14042110</pub-id>
</citation>
</ref>
<ref id="B43">
<citation citation-type="web">
<collab>Refrigeration Technology Co. Ltd</collab> (<year>2023</year>). <article-title>Hot water tank</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://www.alibaba.com/product-detail/100L-200L-250L-300L-400L-500L_1600619380357.html?spm=a2700.pc_countrysearch.main07.2.1c88286fvuTBtH">https://www.alibaba.com/product-detail/100L-200L-250L-300L-400L-500L_1600619380357.html?spm&#x3d;a2700.pc_countrysearch.main07.2.1c88286fvuTBtH</ext-link> (Accessed November 16, 2023)</comment>.</citation>
</ref>
<ref id="B44">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Taylor</surname>
<given-names>P. C.</given-names>
</name>
<name>
<surname>Abeysekera</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Bian</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>&#x106;etenovi&#x107;</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Deakin</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Ehsan</surname>
<given-names>A.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>An interdisciplinary research perspective on the future of multi-vector energy networks</article-title>. <source>Int. J. Electr. Power and Energy Syst.</source> <volume>135</volume>, <fpage>107492</fpage>. <pub-id pub-id-type="doi">10.1016/j.ijepes.2021.107492</pub-id>
</citation>
</ref>
<ref id="B45">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ulbig</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Andersson</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Analyzing operational flexibility of electric power systems</article-title>. <source>Int. J. Electr. Power and Energy Syst.</source> <volume>72</volume>, <fpage>155</fpage>&#x2013;<lpage>164</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijepes.2015.02.028</pub-id>
</citation>
</ref>
<ref id="B46">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Song</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Optimal dispatching modeling of regional power-heat-gas interconnection based on multi-type load adjustability</article-title>. <source>Front. Energy Res.</source> <volume>10</volume>, <fpage>931890</fpage>. <pub-id pub-id-type="doi">10.3389/fenrg.2022.931890</pub-id>
</citation>
</ref>
<ref id="B47">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Zhai</surname>
<given-names>Z. J.</given-names>
</name>
<name>
<surname>Jing</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>Particle swarm optimization for redundant building cooling heating and power system</article-title>. <source>Appl. Energy</source> <volume>87</volume>, <fpage>3668</fpage>&#x2013;<lpage>3679</lpage>. <pub-id pub-id-type="doi">10.1016/j.apenergy.2010.06.021</pub-id>
</citation>
</ref>
<ref id="B48">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Tao</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Yin</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Cong</surname>
<given-names>H.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>Optimal dispatch of integrated energy system considering integrated demand response resource trading</article-title>. <source>IET Generation, Transm. Distribution</source> <volume>16</volume>, <fpage>1727</fpage>&#x2013;<lpage>1742</lpage>. <pub-id pub-id-type="doi">10.1049/gtd2.12389</pub-id>
</citation>
</ref>
<ref id="B49">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Hou</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Jia</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Mu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>H.</given-names>
</name>
<etal/>
</person-group> (<year>2017</year>). <article-title>Decoupled optimization of integrated energy system considering CHP plant based on energy hub model</article-title>. <source>Energy Procedia</source> <volume>142</volume>, <fpage>2683</fpage>&#x2013;<lpage>2688</lpage>. <pub-id pub-id-type="doi">10.1016/j.egypro.2017.12.211</pub-id>
</citation>
</ref>
<ref id="B50">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Optimized operation of integrated energy systems accounting for synergistic electricity and heat demand response under heat load flexibility</article-title>. <source>Appl. Therm. Eng.</source> <volume>243</volume>, <fpage>122640</fpage>. <pub-id pub-id-type="doi">10.1016/j.applthermaleng.2024.122640</pub-id>
</citation>
</ref>
<ref id="B51">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Zhuo</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Kang</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Kirschen</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Mixed-integer linear programming-based optimal configuration planning for energy hub: starting from scratch</article-title>. <source>Appl. Energy</source> <volume>210</volume>, <fpage>1141</fpage>&#x2013;<lpage>1150</lpage>. <pub-id pub-id-type="doi">10.1016/j.apenergy.2017.08.114</pub-id>
</citation>
</ref>
<ref id="B52">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Gu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Ma</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>A data-based day-ahead scheduling optimization approach for regional integrated energy systems with varying operating conditions</article-title>. <source>Energy</source> <volume>283</volume>, <fpage>128534</fpage>. <pub-id pub-id-type="doi">10.1016/j.energy.2023.128534</pub-id>
</citation>
</ref>
<ref id="B53">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ye</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Ji</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Optimal dispatch of integrated energy systems considering integrated demand response and stepped carbon trading</article-title>. <source>Front. Electron.</source> <volume>4</volume>, <fpage>1110039</fpage>. <pub-id pub-id-type="doi">10.3389/felec.2023.1110039</pub-id>
</citation>
</ref>
<ref id="B54">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zeng</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Jiang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Tan</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>He</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Optimal dispatch of integrated energy system considering energy hub Technology and multi-agent interest balance</article-title>. <source>Energies</source> <volume>12</volume>, <fpage>3112</fpage>. <pub-id pub-id-type="doi">10.3390/en12163112</pub-id>
</citation>
</ref>
<ref id="B55">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Weng</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2021</year>) &#x201c;<article-title>Optimal day-ahead dispatch of integrated energy systems with carbon emission considerations</article-title>,&#x201d; in <source>2021 IEEE sustainable power and energy conference</source>, <fpage>2190</fpage>&#x2013;<lpage>2195</lpage>. <pub-id pub-id-type="doi">10.1109/iSPEC53008.2021.9735958</pub-id>
</citation>
</ref>
<ref id="B56">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Zheng</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>An</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Interval optimization based coordination scheduling of gas-electricity coupled system considering wind power uncertainty, dynamic process of natural gas flow and demand response management</article-title>. <source>Energy Rep.</source> <volume>6</volume>, <fpage>216</fpage>&#x2013;<lpage>227</lpage>. <pub-id pub-id-type="doi">10.1016/j.egyr.2019.12.013</pub-id>
</citation>
</ref>
<ref id="B57">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhou</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Optimal dispatch of integrated energy system based on deep reinforcement learning</article-title>. <source>Energy Rep.</source> <volume>9</volume>, <fpage>373</fpage>&#x2013;<lpage>378</lpage>. <pub-id pub-id-type="doi">10.1016/j.egyr.2023.09.157</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>