<?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">1364904</article-id>
<article-id pub-id-type="doi">10.3389/fenrg.2024.1364904</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>An innovative method for building electricity energy management in smart homes based on electric vehicle energy capacity</article-title>
<alt-title alt-title-type="left-running-head">Dodo 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.1364904">10.3389/fenrg.2024.1364904</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Dodo</surname>
<given-names>Yakubu Aminu</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2534252/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<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/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Ibrahim</surname>
<given-names>Ahmed Osman</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2619845/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<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" corresp="yes">
<name>
<surname>Abuhussain</surname>
<given-names>Mohammed Awad</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<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-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Baba Girei</surname>
<given-names>Zulai Jarmai</given-names>
</name>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<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>Maghrabi</surname>
<given-names>Ammar</given-names>
</name>
<xref ref-type="aff" rid="aff4">
<sup>4</sup>
</xref>
<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/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<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>Naibi</surname>
<given-names>Ahmad Usman</given-names>
</name>
<xref ref-type="aff" rid="aff5">
<sup>5</sup>
</xref>
<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/resources/"/>
<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 id="aff1">
<sup>1</sup>
<institution>Architectural Engineering Department</institution>, <institution>College of Engineering</institution>, <institution>Najran University</institution>, <addr-line>Najran</addr-line>, <country>Saudi Arabia</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Department of Architectural Engineering</institution>, <institution>College of Engineering</institution>, <institution>University of Ha&#x2019;il</institution>, <addr-line>Ha&#x2019;il</addr-line>, <country>Saudi Arabia</country>
</aff>
<aff id="aff3">
<sup>3</sup>
<institution>Nigerian Building and Road Research Institute</institution>, <addr-line>Abuja</addr-line>, <country>Nigeria</country>
</aff>
<aff id="aff4">
<sup>4</sup>
<institution>Urban and Engineering Research Department</institution>, <institution>The Custodian of the Two Holy Mosques Institute for Hajj and Umrah Research</institution>, <institution>Umm Al-Qura University</institution>, <addr-line>Mecca</addr-line>, <country>Saudi Arabia</country>
</aff>
<aff id="aff5">
<sup>5</sup>
<institution>Graduate School of Education</institution>, <institution>Department of Architecture (Doctorate-English) Okan Istanbul Universitesi</institution>, <addr-line>Istanbul</addr-line>, <country>T&#xfc;rkiye</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/1466175/overview">Mohammad Hossein Ahmadi</ext-link>, Shahrood University of Technology, Iran</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/2635059/overview">Maher Dhahri</ext-link>, University of Sousse, Tunisia</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2623154/overview">Moslem Akbari Vakilabadi</ext-link>, Malek Ashtar University of Technology, Iran</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2571159/overview">Mojtaba Mirzaei</ext-link>, Energy Institution of Higher Education, Iran</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1905954/overview">Hasan Yilsizhan</ext-link>, Adana Alparslan Turkes Science and Technology University, T&#xfc;rkiye</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1239331/overview">Tolga Taner</ext-link>, Aksaray University, T&#xfc;rkiye</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Mohammed Awad Abuhussain, <email>maabuhussain@nu.edu.sa</email>; Ahmed Osman Ibrahim, <email>ah.ibrahim@uoh.edu.sa</email>
</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>21</day>
<month>02</month>
<year>2024</year>
</pub-date>
<pub-date pub-type="collection">
<year>2024</year>
</pub-date>
<volume>12</volume>
<elocation-id>1364904</elocation-id>
<history>
<date date-type="received">
<day>03</day>
<month>01</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>06</day>
<month>02</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2024 Dodo, Ibrahim, Abuhussain, Baba Girei, Maghrabi and Naibi.</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Dodo, Ibrahim, Abuhussain, Baba Girei, Maghrabi and Naibi</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 surging demand for electricity, fueled by environmental concerns, economic considerations, and the integration of distributed energy resources, underscores the need for innovative approaches to smart home energy management. This research introduces a novel optimization algorithm that leverages electric vehicles (EVs) as integral components, addressing the intricate dynamics of household load management. The study&#x2019;s significance lies in optimizing energy consumption, reducing costs, and enhancing power grid reliability. Three distinct modes of smart home load management are investigated, ranging from no household load management to load outages, with a focus on the time-of-use (ToU) tariff impact, inclining block rate (IBR) pricing, and the combined effect of ToU and IBR on load management outcomes. The algorithm, a multi-objective approach, minimizes the peak demand and optimizes cost factors, resulting in a 7.9% reduction in integrated payment costs. Notably, EVs play a pivotal role in load planning, showcasing a 16.4% reduction in peak loads and a 7.9% decrease in payment expenses. Numerical results affirm the algorithm&#x2019;s adaptability, even under load interruptions, preventing excessive increases in paid costs. Incorporating dynamic pricing structures like inclining block rates alongside the time of use reveals a 7.9% reduction in payment costs and a 16.4% decrease in peak loads. In conclusion, this research provides a robust optimization framework for smart home energy management, demonstrating economic benefits, peak load reduction potential, and enhanced reliability through strategic EV integration and dynamic pricing.</p>
</abstract>
<kwd-group>
<kwd>smart home</kwd>
<kwd>electricity energy</kwd>
<kwd>energy management</kwd>
<kwd>electric vehicle</kwd>
<kwd>time of use</kwd>
<kwd>inclining block rate</kwd>
</kwd-group>
<contract-num rid="cn001">NU/NRP/SERC/12/9</contract-num>
<contract-sponsor id="cn001">Najran University<named-content content-type="fundref-id">10.13039/501100005911</named-content>
</contract-sponsor>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Process and Energy Systems Engineering</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>1 Introduction</title>
<p>The desire to reduce pollution, fight climate change, save fossil fuels, save money, and make the power grid more reliable and stable are all factors that are driving up the consumer demand for electricity (<xref ref-type="bibr" rid="B35">Taner et al., 2019</xref>; <xref ref-type="bibr" rid="B17">Jasim et al., 2023</xref>; <xref ref-type="bibr" rid="B24">Nejatian et al., 2023</xref>). This has led to the adoption of distributed production resources in order to establish a smart and eco-friendly network (<xref ref-type="bibr" rid="B16">Jamil et al., 2022</xref>; <xref ref-type="bibr" rid="B5">Almalki et al., 2023</xref>). The use of fossil fuels to meet this level of demand without proper energy management will result in the depletion, if not the extinction, of these natural resources (<xref ref-type="bibr" rid="B40">Yin et al., 2022</xref>; <xref ref-type="bibr" rid="B25">Nikbakht Naserabad et al., 2023</xref>). As a result, today&#x2019;s humanity is attempting to use renewable resources to help meet this massive and ever-increasing demand (<xref ref-type="bibr" rid="B29">Pachar et al., 2021</xref>). Aside from using renewable resources for production, the discussion of how to manage these energy resources can be appealing because there is a significant opportunity to save energy in the building through efficient use (<xref ref-type="bibr" rid="B11">Erixno et al., 2022</xref>).</p>
<p>Due to their many advantages over other transportation technologies, electric vehicles (EVs) have recently attracted a lot of interest (<xref ref-type="bibr" rid="B23">Mohammed et al., 2024</xref>; <xref ref-type="bibr" rid="B30">Pamidimukkala et al., 2024</xref>). This technology has many benefits, including being environmentally friendly, making very little noise, being extremely efficient with energy, reducing operational costs, using local renewable energy sources, and offering additional services through energy exchange between vehicles and the grid (<xref ref-type="bibr" rid="B22">Misbah Inayat et al., 2023</xref>; <xref ref-type="bibr" rid="B34">Siddiqui et al., 2024</xref>).</p>
<p>The equilibrium between power generation and consumption is a crucial factor for the proper functioning of the power grid (<xref ref-type="bibr" rid="B28">Ourahou et al., 2020</xref>; <xref ref-type="bibr" rid="B37">Wei et al., 2024</xref>). The disparity between the two results in elevated operational expenses for power corporations or potentially immobilizes the entire power network (<xref ref-type="bibr" rid="B15">He et al., 2023</xref>). Power suppliers have installed backup power storage batteries to enhance network stability and reliability. However, typically, this approach in isolation is insufficient. Load response programs are regarded as a tactic to mitigate fluctuations in the demand curve (<xref ref-type="bibr" rid="B12">Ferraro et al., 2020</xref>).</p>
<p>By deploying the load response program, the network operator hopes to lower operating expenses by flattening the network load curve. In recent years, it has garnered considerable interest (<xref ref-type="bibr" rid="B20">Lin et al., 2024</xref>). The customer is tasked with calculating their own electricity consumption in these programs after being presented with different electricity prices at different times. Pricing should be designed to encourage consumption at the operator&#x2019;s preferred times. Electricity consumption during peak hours is something that everyone is interested in reducing, including the operator, distribution companies, and producers. The subscriber is thus informed that, according to the load forecast, the price will be higher during peak hours (<xref ref-type="bibr" rid="B18">Kath and Ziel, 2021</xref>; <xref ref-type="bibr" rid="B31">Rahman et al., 2024</xref>).</p>
<p>A smart building is one in which all of its internal components interact with one another via integrated systems and logical creations that are environmentally friendly (<xref ref-type="bibr" rid="B3">Al Dakheel et al., 2020</xref>; <xref ref-type="bibr" rid="B6">Apanaviciene et al., 2020</xref>; <xref ref-type="bibr" rid="B10">Eini et al., 2021</xref>; <xref ref-type="bibr" rid="B19">Li et al., 2021</xref>). It goes without saying that the preceding definition does not imply that this structure has decided to respond to any incident. Being intelligent means that the system can make appropriate decisions based on past events and defined logic. In other words, a smart building will not be able to be creative in the face of various factors but will instead behave logically. Energy management, on the other hand, is defined as the economic and efficient use of energy (<xref ref-type="bibr" rid="B14">Hakimi and Hasankhani, 2020</xref>; <xref ref-type="bibr" rid="B2">Aguilar et al., 2021</xref>).</p>
<p>A multi-objective algorithm introduced by <xref ref-type="bibr" rid="B33">Shirazi and Jadid (2015)</xref> for the optimal scheduling of electricity and heat with optimal management is used to provide a trade-off between minimizing peak demand and the cost of using the smart home. The use of distributed energy sources has been proposed. <xref ref-type="bibr" rid="B26">Nojavan and Zare (2013)</xref> investigated the optimal bidding strategy with uncertainty modeling of the day-ahead market price. <xref ref-type="bibr" rid="B27">Nojavan et al. (2015)</xref> utilized a combined approach based on particle optimization to maximize production profit in the presence of market price uncertainty. <xref ref-type="bibr" rid="B8">Brahman et al. (2015)</xref> investigated the residential energy hub with the goal of minimizing operating costs by taking the customer&#x2019;s priorities into account. The minimum cost of operations in the GAMS model was obtained by programming a residential microgrid incorporating a smart heat load-micro-CHP-battery meter (<xref ref-type="bibr" rid="B36">Tasdighi et al., 2014</xref>). The management of an energy hub with the goal of minimizing energy costs and risks incorporating a wind turbine, heat generator, and CHP system has been investigated (<xref ref-type="bibr" rid="B7">Bozchalui et al., 2012</xref>). <xref ref-type="bibr" rid="B39">Yan et al. (2023)</xref> investigated an economically optimized home energy management system for smart buildings, incorporating electric vehicles and considering risk factors. They employed an advanced whale optimization algorithm to address practical constraints, revealing substantial cost reductions with positive consumer attitudes toward energy consumption and adaptive strategies based on price risk indicators. <xref ref-type="bibr" rid="B21">Manivannan (2024)</xref> explored the impact of EVs on the electrical system and emphasized the importance of the EV&#x2019;s energy management system (EMS) in smart transportation within smart cities. The study proposed a machine learning-based Smart Energy Management System for Hybrid Electrical Vehicles (SEMS-HEV) to optimize energy usage, enhance battery lifespan, and prevent electrical supply disruptions. Integrating IoT-based smart charging, the research focuses on improving EMS performance and efficiency through dynamic scheduling of vehicle-to-grid (V2G) connections for hybrid electrical vehicles. <xref ref-type="bibr" rid="B4">Alghassab (2024)</xref> introduced a fuzzy-based smart energy management system for Saudi residential buildings, optimizing energy use through fuzzy logic. The system adapts devices based on user preferences, occupancy, and real-time energy prices, demonstrating superior performance in a comparative study. This approach aligns with Saudi Arabia&#x2019;s goal of sustainable energy practices, marking a promising step toward a more efficient and eco-friendly future.</p>
<p>By employing EVs as a sophisticated model and a viable solution to economic concerns, this study also provides a strategy for load planning. In smart homes, the presence of EVs is critical for reducing shared costs and powering household loads with energy discharged during periods of high tariff. The significance of EVs in household load management, however, has been neglected. Consequently, the purpose of this research is to achieve this goal through the implementation of a suitable optimization algorithm. Additionally, the examination of relevant literature studies unveiled that the household load management procedure implemented in the edifice failed to consider the matter of a definite load. The following sections will provide an overview of the subject before proceeding to the mathematical modeling of home load management. This study is grounded in the data regarding a smart home in the urban area of Najran, Kingdom of Saudi Arabia.</p>
</sec>
<sec id="s2">
<title>2 Methodology (proposed model)</title>
<p>In this study, a novel framework for the management of buildings will also be connected to the network. The study also has an EV parking lot and can use electrical car reserves for energy management. In addition, it is assumed that the building has a battery energy store. It will not be a battery charge and discharge, reducing energy losses and the cost of investment because the number of energy converters decreases. By employing precise modeling of the issue grounded in household load management and simulation through the GAMS model, the acquired outcomes are scrutinized and assessed.</p>
<p>There are numerous approaches to EMS in buildings. These techniques fall into the following two categories: information-based predictive methods and real-time-based methods. In this study, real-time-based methods are used. Energy management operates using real-time data, thereby eliminating the necessity for forecasting. In contrast to their predecessors, these methods offer numerous advantages, such as algorithm structure simplification and the elimination of the requirement for intensive calculations. <xref ref-type="bibr" rid="B32">Sechilariu et al. (2013)</xref> stated that an approach to energy management for structures housing PV products involves considering two factors: the DC building load and the charging of EVs. Additionally, for the purpose of energy management, they made an effort to prevent network reception during peak hours. Additionally, the load response method was implemented utilizing a variable price prosecution mechanism.</p>
<p>The pricing structure is based on the time of use (ToU) and the inclining block rate (IBR). This depends on the real-time situation and the specific moment during which it has had the capability to accomplish it. In the forthcoming years, however, real-time is anticipated to be mandatory for the majority of end-users, encompassing the intelligent capabilities of the smart network that rely on suitable communication. According to the results presented in <xref ref-type="bibr" rid="B32">Sechilariu et al. (2013)</xref>, <xref ref-type="bibr" rid="B38">Wi et al. (2013)</xref>, and <xref ref-type="bibr" rid="B9">Byeon et al. (2013),</xref> EMS based on real-time information is more suitable for buildings because it is easier to understand and manage.</p>
<sec id="s2-1">
<title>2.1 EV model</title>
<p>In this study, an EMS is presented that assists building energy operators in achieving a logical and automated operation of DC systems by utilizing real-time cost and consumption information. This algorithm is provided for EMS-owned reserves, which include buildings such as the EV parking lot and incur expenses for the EMS to purchase, repair, and other related matters. Battery technology has been implemented for storage. The EV method employed in this study represents a sophisticated approach to energy management within the realm of smart buildings. Central to this methodology is the integration of electric vehicles as pivotal components in the optimization of energy consumption. EVs act as dynamic entities capable of not only drawing power from the grid but also contributing to the grid through strategic discharge during peak demand periods. Unlike conventional methods, our EV method goes beyond mere load balancing and incorporates a multi-objective model that considers not only economic factors but also risk considerations. This entails a robust framework where electric vehicles are not just passive consumers but active participants in the overall energy ecosystem.</p>
<p>The uniqueness of our EV method lies in its ability to adapt to real-world constraints, including production limits, flexible loads, and intricate cost-risk indicators. By leveraging a developed whale optimization algorithm, we ensure a more efficient and adaptive energy management system. This algorithm has been specifically enhanced to avoid converging to local optima, offering a higher likelihood of finding globally optimal solutions. Moreover, our EV method stands out by considering practical and nonlinear constraints, making it more aligned with the complexities of modern energy scenarios.</p>
<p>Before proceeding via this method, the required information is gathered. The load value, distribution network conditions, battery state of charge (SoC<sub>Batt</sub>), and EV state of charge (SoC<sub>EV</sub>) are included in these data. The primary distribution network is categorized into three modes of load, namely, low load, medium load, and high load, depending on its load level. Energy costs vary for each load level. If the combined power demand for charging the EV and the amount of load exceed the generated power, this approach utilizes either the energy stored in the battery or purchases power from the distribution network. It is possible that the battery&#x2019;s stored power is inadequate to offset the fraction. In this instance, the necessary energy is procured concurrently from the distribution network and the battery. At the times that the SoC has been in the order SoC<sub>min</sub> &#x3c; SoC &#x3c; SoC<sub>max</sub>, the power of the work should be used. SoC<sub>min</sub> and SoC<sub>max</sub> are the minimum and maximum values, which specify the allowed amount of the storage level.</p>
<p>Constant connectivity exists between the building distribution system and the primary distribution network. The EMS is obligated to reduce the power it purchases from the distribution network and, if it possesses power generation sources such as renewable energy sources, sell the excess power to the national distribution network during periods of high electricity prices (typically during peak hours). Therefore, the utilization of an EV is employed in this particular scenario. The EV will be operational to the extent that the EMS will be able to discontinue charging or commence discharging the EV at specific times. If EV charging is halted, the EV will enter the standby mode; otherwise, it will enter the discharge mode.</p>
<p>To encourage EV owners to participate in energy management and utilize EVs as energy storage devices, the EMS operator must provide incentives. The charging and discharging model for EVs presented is predicated on the subsequent principles.<list list-type="simple">
<list-item>
<p>&#x2022; Engagement in energy management activities is not required. The proprietor of an EV is free to sign a participation contract in energy management and configure SOC<sub>min</sub> and SOC<sub>discharging</sub> to their liking at any time. However, if they wish to cancel the contract prior to its expiration, they will incur a fine.</p>
</list-item>
<list-item>
<p>&#x2022; While the EV is parked in the lot and being charged, the EMS operator is obligated to maintain the SOC of the EV battery above the SOC<sub>min</sub> value specified in the contract.</p>
</list-item>
<list-item>
<p>&#x2022; If the SOC of the EV battery reaches the SOC<sub>max</sub> value mentioned in the contract, the EMS operator can stop charging the EV.</p>
</list-item>
<list-item>
<p>&#x2022; To enforce energy management strategies, such as peak load reduction, the EMS operator may suspend the charging process for vehicles with a SOC exceeding the SOC<sub>min</sub>. The term for this state is the standby mode.</p>
</list-item>
<list-item>
<p>&#x2022; It will be feasible to discharge vehicles whose SOC exceeds SOC<sub>discharging</sub> in situations involving a substantial load. It is referred to as the discharge mode.</p>
</list-item>
</list>
</p>
<p>In accordance with the prescribed regulations governing EV involvement in energy management, the charging expense for every EV is computed using Eqs <xref ref-type="disp-formula" rid="e1">1</xref>, <xref ref-type="disp-formula" rid="e2">2</xref>, which can be utilized to compute the energy cost of all EVs when multiple EVs are engaged in energy management (<xref ref-type="bibr" rid="B13">Ghosh et al., 2022</xref>).<disp-formula id="e1">
<mml:math id="m1">
<mml:mrow>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:mi mathvariant="bold-italic">V</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">k</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mtext>&#x200a;</mml:mtext>
<mml:msub>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">l</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mtext>&#x200a;</mml:mtext>
<mml:msub>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>
<disp-formula id="e2">
<mml:math id="m2">
<mml:mrow>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mrow>
<mml:mtext mathvariant="bold">total</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:mi mathvariant="bold-italic">V</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mtext>&#x200a;</mml:mtext>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">k</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mtext>&#x200a;</mml:mtext>
<mml:msub>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mtext>&#x200a;</mml:mtext>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">l</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mtext>&#x200a;</mml:mtext>
<mml:msub>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>
</p>
<p>Here, <italic>EC</italic>
<sub>
<italic>total_EV</italic>
</sub> represents the total cost of charging all EVs, while <italic>EC</italic>
<sub>
<italic>i,EV</italic>
</sub> represents the energy cost for charging the <italic>ith</italic> EV. The costs associated with charging and discharging 1&#xa0;kW of power are denoted by <italic>C</italic>
<sub>
<italic>EV_C</italic>
</sub> and <italic>C</italic>
<sub>
<italic>EV_D</italic>
</sub>, respectively. Additionally, <italic>P</italic>
<sub>
<italic>i,j,EV_C</italic>
</sub> and <italic>P</italic>
<sub>
<italic>i,j,EV_D</italic>
</sub> represent the EV&#x2019;s charge and discharge powers, respectively. If the EV is parked in the lot and is connected to the system, it will adhere to the EMS-provided charging and discharging procedure. The EV owner is responsible for the cost of all power consumed by the EV battery (<inline-formula id="inf1">
<mml:math id="m3">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:msub>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>k</mml:mi>
</mml:msubsup>
</mml:mstyle>
<mml:mtext>&#x200a;</mml:mtext>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>E</mml:mi>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:msub>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>). However, it is compensated for every unit of energy discharged by the EV (<inline-formula id="inf2">
<mml:math id="m4">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:msub>
<mml:mi>D</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>l</mml:mi>
</mml:msubsup>
</mml:mstyle>
<mml:mtext>&#x200a;</mml:mtext>
<mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>E</mml:mi>
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:msub>
<mml:mi>D</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>).</p>
<p>The EMS operator must determine the <italic>C</italic>
<sub>
<italic>EV_D</italic>
</sub> value. This task necessitates the consideration of numerous variables, including charging losses, EV battery life, and the amount of money saved by reducing the peak load (EV battery efficiency). If the <italic>C</italic>
<sub>
<italic>EV_D</italic>
</sub> value is accurately determined, field EVs will be able to manage and benefit from energy support.</p>
<p>The price of electricity influences the performance of EVs, and the price of electricity can impact the degree to which EV owners participate in energy management. Given the fluctuating electricity prices between peak and off-peak hours, the conduct of EV owners will likewise vary during these periods. The charging and discharging patterns of EVs, in relation to the load, are presented in <xref ref-type="table" rid="T1">Table 1</xref>.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>EV charging and discharging algorithm.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">System load status</th>
<th align="center">P<sub>L</sub> status</th>
<th align="center">State of charging</th>
<th align="center">Electric vehicle operation</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td rowspan="4" align="center">High load</td>
<td rowspan="3" align="center">P<sub>L</sub>&#x3e;0</td>
<td align="center">
<inline-formula id="inf3">
<mml:math id="m5">
<mml:mrow>
<mml:mtext>SOC</mml:mtext>
<mml:mo>&#x3c;</mml:mo>
<mml:mtext>SO</mml:mtext>
<mml:msub>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">Charging</td>
</tr>
<tr>
<td align="center">
<inline-formula id="inf4">
<mml:math id="m6">
<mml:mrow>
<mml:mtext>SO</mml:mtext>
<mml:msub>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
<mml:mo>&#x2264;</mml:mo>
<mml:mtext>SOC</mml:mtext>
<mml:mo>&#x3c;</mml:mo>
<mml:mtext>SO</mml:mtext>
<mml:msub>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mrow>
<mml:mtext>discharging</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">Standby</td>
</tr>
<tr>
<td align="center">
<inline-formula id="inf5">
<mml:math id="m7">
<mml:mrow>
<mml:mtext>SOC</mml:mtext>
<mml:mo>&#x2265;</mml:mo>
<mml:mtext>SO</mml:mtext>
<mml:msub>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mrow>
<mml:mtext>discharging</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">Discharging</td>
</tr>
<tr>
<td align="center">P<sub>L</sub>&#x3c;0</td>
<td align="center">
<inline-formula id="inf6">
<mml:math id="m8">
<mml:mrow>
<mml:mtext>SOC</mml:mtext>
<mml:mo>&#x3c;</mml:mo>
<mml:mtext>SO</mml:mtext>
<mml:msub>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi>max</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">Charging</td>
</tr>
<tr>
<td rowspan="2" align="center">Medium load</td>
<td rowspan="2" align="center">P<sub>L</sub>&#x3e;0</td>
<td align="center">
<inline-formula id="inf7">
<mml:math id="m9">
<mml:mrow>
<mml:mtext>SOC</mml:mtext>
<mml:mo>&#x3c;</mml:mo>
<mml:mtext>SO</mml:mtext>
<mml:msub>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">Charging</td>
</tr>
<tr>
<td align="center">
<inline-formula id="inf8">
<mml:math id="m10">
<mml:mrow>
<mml:mtext>SOC</mml:mtext>
<mml:mo>&#x2265;</mml:mo>
<mml:mtext>SO</mml:mtext>
<mml:msub>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">Standby</td>
</tr>
<tr>
<td rowspan="3" align="center">Low load</td>
<td align="center">P<sub>L</sub>&#x3c;0</td>
<td align="center">
<inline-formula id="inf9">
<mml:math id="m11">
<mml:mrow>
<mml:mtext>SOC</mml:mtext>
<mml:mo>&#x3c;</mml:mo>
<mml:mtext>SO</mml:mtext>
<mml:msub>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi>max</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">Charging</td>
</tr>
<tr>
<td align="center">P<sub>L</sub>&#x3e;0</td>
<td align="center">
<inline-formula id="inf10">
<mml:math id="m12">
<mml:mrow>
<mml:mtext>SOC</mml:mtext>
<mml:mo>&#x3c;</mml:mo>
<mml:mtext>SO</mml:mtext>
<mml:msub>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi>max</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">Charging</td>
</tr>
<tr>
<td align="center">P<sub>L</sub>&#x3c;0</td>
<td align="center">
<inline-formula id="inf11">
<mml:math id="m13">
<mml:mrow>
<mml:mtext>SOC</mml:mtext>
<mml:mo>&#x3c;</mml:mo>
<mml:mtext>SO</mml:mtext>
<mml:msub>
<mml:mi mathvariant="normal">C</mml:mi>
<mml:mi>max</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td align="center">Charging</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The system is divided into three load modes, as shown in <xref ref-type="table" rid="T1">Table 1</xref>: high load, normal or medium load, and low load. Charge and discharge patterns of EVs vary between the three scenarios. When power levels are high or low, an EV is only charged if its SOC is below SOC<sub>min</sub>. If the SOC value for any EV during charging falls within the range of SOC<sub>min</sub> and SOC<sub>discharging</sub>, the vehicle enters the standby mode, and neither charging nor discharging occurs. Moreover, the discharge of EVs is exclusively permitted during productive periods, provided that their SOC exceeds that of the SOC<sub>discharging</sub>.</p>
<p>In <xref ref-type="fig" rid="F1">Figure 1</xref>, the presented algorithm is shown for three modes: low load, medium load, and high load. The SOC<sub>Smin</sub> and SOC<sub>Smax</sub> parameters denote the minimum and maximum permissible values for the battery&#x2019;s storage level, respectively. P<sub>UG</sub> represents power exchangeable units. P<sub>S</sub> and P<sub>EV</sub> represent the power and storage capacity of an EV, respectively; positive values signify a charging state.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Model presented for energy management for <bold>(A)</bold> low-load, <bold>(B)</bold> medium-load, and <bold>(C)</bold> high-load hour.</p>
</caption>
<graphic xlink:href="fenrg-12-1364904-g001.tif"/>
</fig>
<p>During the low-load mode, the EV&#x2019;s SOC value is evaluated in order to ascertain the necessary course of action. The P<sub>e</sub> value represents the EV&#x2019;s charging rate. If the SOC value of the EV exceeds SOC<sub>EVmin</sub> during the medium load stage, the system will enter the standby mode. If not, the EV enters the charging mode; this cycle will continue until its state of charge reaches SOC<sub>EVmin</sub>. In this scenario, should the network encounter a power deficit, EVs with the highest SOC will enter the discharge mode (SOC<sub>EVdischarging</sub>). Once the SOC of a vehicle reaches SOC<sub>discharging</sub>, it will transition to the standby mode.</p>
</sec>
<sec id="s2-2">
<title>2.2 Energy cost analysis</title>
<p>To conduct an economic analysis of the proposed energy management algorithm, it is imperative to derive a correlation that facilitates the computation of energy expenses. The determination of energy supply costs can be approached from three perspectives: perspective of the building manager, who may serve as the load collector or energy management operator; perspective of the consumers residing in the building; or from the standpoint of the distribution network. This study operates under the assumption that the building manager is responsible for EMS control and is tasked with reducing the overall cost of energy supply for the structure. Energy costs can be calculated using Eq. <xref ref-type="disp-formula" rid="e3">3</xref>.<disp-formula id="e3">
<mml:math id="m14">
<mml:mrow>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mrow>
<mml:mtext mathvariant="bold">total</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">U</mml:mi>
<mml:mi mathvariant="bold-italic">G</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mrow>
<mml:mtext mathvariant="bold">total</mml:mtext>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mo>_</mml:mo>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:mi mathvariant="bold-italic">V</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>
</p>
<p>The total cost of energy supply for the building is denoted by <italic>EC</italic>
<sub>
<italic>total</italic>
</sub>. Additionally, <italic>E</italic>
<sub>
<italic>CUG</italic>
</sub> represents the expense incurred to procure electricity from the distribution network, while <italic>EC</italic>
<sub>
<italic>total_EV</italic>
</sub> represents the cost incurred to charge and discharge all EVs. The cost of purchasing energy from the distribution network is calculable with the aid of Eq. <xref ref-type="disp-formula" rid="e4">4</xref>.<disp-formula id="e4">
<mml:math id="m15">
<mml:mrow>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">U</mml:mi>
<mml:mi mathvariant="bold-italic">G</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">U</mml:mi>
<mml:mi mathvariant="bold-italic">G</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mrow>
<mml:mtext mathvariant="bold">tota</mml:mtext>
<mml:msub>
<mml:mi mathvariant="bold">l</mml:mi>
<mml:mrow>
<mml:mtext mathvariant="bold">load</mml:mtext>
<mml:mtext>&#xa0;</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mtext>&#x2002;</mml:mtext>
<mml:msub>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>
</p>
<p>Here, <italic>P</italic>
<sub>
<italic>total_load</italic>
</sub> is the total load of the building and calculated using Eq. <xref ref-type="disp-formula" rid="e5">5</xref>.<disp-formula id="e5">
<mml:math id="m16">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mrow>
<mml:mtext mathvariant="bold">total</mml:mtext>
<mml:mo>_</mml:mo>
<mml:mtext mathvariant="bold">load</mml:mtext>
<mml:mtext>&#xa0;</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">D</mml:mi>
<mml:mo>_</mml:mo>
<mml:mi mathvariant="bold">l</mml:mi>
<mml:mi mathvariant="bold">o</mml:mi>
<mml:mi mathvariant="bold">a</mml:mi>
<mml:mi mathvariant="bold">d</mml:mi>
<mml:mtext>&#xa0;</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mtext>&#x2002;</mml:mtext>
<mml:msub>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
</mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>
</p>
<p>
<italic>C</italic>
<sub>
<italic>UG</italic>
</sub> represents the electricity purchased from the grid that costs one hundred dollars per kilowatt-hour. <italic>P</italic>
<sub>
<italic>D_load</italic>
</sub> represents the building load demand expressed in kilowatt-hours. <italic>P</italic>
<sub>
<italic>i,EV_C</italic>
</sub> and <italic>P</italic>
<sub>
<italic>i,EV_D</italic>
</sub> represent the quantity of charged power and discharged power, respectively, in <italic>ith</italic> EV in kW&#xa0;hours.</p>
</sec>
</sec>
<sec sec-type="results|discussion" id="s3">
<title>3 Results and discussion</title>
<p>The evaluation of the proposed innovation method encompassed diverse smart home configurations, incorporating responsive and non-responsive devices, along with the integration of an EV. Three distinct load management modes were considered, including the initial condition with no household load management, a subsequent condition implementing load management without outages, and a final condition simulating load outages akin to the second condition. The assessment was conducted primarily with ToU tariffs as the baseline, with a detailed exploration of the impact of IBR pricing and the combined influence of ToU and IBR on load management outcomes, which are comprehensively discussed in the conclusion section.</p>
<p>In the context of smart home load management, the proposed approach demonstrated robust efficacy in regulating the household load for a 24-h period, employing a daily timestep count of 96, where each time step represented 15&#xa0;min. Non-operational appliances, such as personal laptops, televisions, and vacuum cleaners, were considered baseline non-responsive devices. The load management program effectively transformed the washing machine, dishwasher, and coffee maker into responsive devices by regulating their usage time, as illustrated in the daily average data presented in <xref ref-type="table" rid="T2">Table 2</xref>.</p>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Electric device energy consumption information.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Device</th>
<th align="center">Energy consumption in performance time step (kWh)</th>
<th align="center">Number of performance time steps</th>
<th align="center">Performance time steps</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Television</td>
<td align="center">0.100</td>
<td align="center">22</td>
<td align="center">48&#x2013;88</td>
</tr>
<tr>
<td align="center">Laptop</td>
<td align="center">0.004</td>
<td align="center">10</td>
<td align="center">22&#x2013;96</td>
</tr>
<tr>
<td align="center">Vacuum cleaner</td>
<td align="center">0.080</td>
<td align="center">2</td>
<td align="center">40&#x2013;56</td>
</tr>
<tr>
<td align="center">Dishwasher</td>
<td align="center">0.210</td>
<td align="center">3</td>
<td align="center">73&#x2013;88</td>
</tr>
<tr>
<td align="center">Washing machine</td>
<td align="center">0.080</td>
<td align="center">2</td>
<td align="center">49&#x2013;72</td>
</tr>
<tr>
<td align="center">Coffee maker</td>
<td align="center">0.050</td>
<td align="center">2</td>
<td align="center">61&#x2013;76</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Further considerations included a permissible deviation of 0.30&#xa0;kW-hours, with subscribers being offered one permitted interval for non-responsive devices. It was assumed that the subscriber would accept one of the three intervals specified in the result announcement. A uniform equivalent lost load charge of 25 cents/kWh was applied to all appliances. <xref ref-type="table" rid="T3">Table 3</xref> presents a detailed breakdown of various time-of-use tariffs, providing comprehensive insights into the pricing structures considered during the evaluation.</p>
<table-wrap id="T3" position="float">
<label>TABLE 3</label>
<caption>
<p>ToU tariff in the performance time step.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Time step</th>
<th align="center">ToU (cents/kWh)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">1&#x2013;28</td>
<td align="center">10.15</td>
</tr>
<tr>
<td align="center">29&#x2013;40</td>
<td align="center">13.29</td>
</tr>
<tr>
<td align="center">41&#x2013;80</td>
<td align="center">15.24</td>
</tr>
<tr>
<td align="center">81&#x2013;92</td>
<td align="center">13.5</td>
</tr>
<tr>
<td align="center">93&#x2013;96</td>
<td align="center">9.98</td>
</tr>
</tbody>
</table>
</table-wrap>
<sec id="s3-1">
<title>3.1 Scenario 1</title>
<p>Assumed within the confines of this scenario are several critical parameters. First and foremost, the heating system is presumed to consistently operate at peak efficiency, ensuring optimal energy utilization. Simultaneously, the EV is envisioned to be charged to its maximum capacity upon connection to the charger, and all responsive devices are activated within their designated permitted operating range. Despite these proactive measures, due to the inherent uncontrollability of the load, the integration of EVs into the household load is presently deemed unfeasible. <xref ref-type="fig" rid="F2">Figure 2</xref> provides a comprehensive illustration of the building load demand diagram for this residential scenario, encapsulating the intricate dynamics of the load under the assumed conditions. The basis for the ToU pricing model is established at 268.87 cents, reflecting the electricity consumption throughout the day, as depicted by the load demand in <xref ref-type="fig" rid="F2">Figure 2</xref>. Furthermore, the peak load consumption during this period is recorded at 6.80&#xa0;kW.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Building load curve during a day (scenario 1).</p>
</caption>
<graphic xlink:href="fenrg-12-1364904-g002.tif"/>
</fig>
<p>On the same day, it is postulated that the house&#x2019;s electricity consumption occurs within the timeframe spanning the 78th to the 85th time steps. Consequently, electrical service is anticipated to be intentionally disconnected from the residence at incremental intervals corresponding to these time steps. Notably, during these cut-off periods, both the television and personal laptop experience forced shutdowns, enduring a blackout period of 105&#xa0;min. Additionally, specific measures are implemented to curtail energy consumption during this scenario.</p>
</sec>
<sec id="s3-2">
<title>3.2 Scenario 2</title>
<p>In this particular scenario, the assumption is made that the household load remains uninterrupted, thereby framing load management as an exercise focused on minimizing co-payments throughout the day. <xref ref-type="table" rid="T4">Table 4</xref> provides a comprehensive breakdown of performance intervals for responsive appliances, suggested performance intervals for non-responsive appliances, and the corresponding consumption levels of the heating system within each interval. These values are derived from solving the optimization problem, considering both scenarios with and without accounting for the capability of EVs to supply household loads.</p>
<table-wrap id="T4" position="float">
<label>TABLE 4</label>
<caption>
<p>Electric device performance time step based on scenario 2.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th rowspan="2" align="center">Device</th>
<th colspan="2" align="center">Performance time step</th>
</tr>
<tr>
<th align="center">Without V2G</th>
<th align="center">With V2G</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Television</td>
<td align="center">50&#x2013;62, 74&#x2013;96</td>
<td align="center">59&#x2013;76, 80&#x2013;96</td>
</tr>
<tr>
<td align="center">Laptop</td>
<td align="center">66&#x2013;73, 81&#x2013;96</td>
<td align="center">68&#x2013;75, 82&#x2013;96</td>
</tr>
<tr>
<td align="center">Vacuum cleaner</td>
<td align="center">26&#x2013;28, 94&#x2013;96</td>
<td align="center">26&#x2013;27, 92&#x2013;96</td>
</tr>
<tr>
<td align="center">Dishwasher</td>
<td align="center">71&#x2013;72</td>
<td align="center">64&#x2013;65</td>
</tr>
<tr>
<td align="center">Washing machine</td>
<td align="center">64&#x2013;66</td>
<td align="center">67&#x2013;68</td>
</tr>
<tr>
<td align="center">Coffee maker</td>
<td align="center">28&#x2013;29</td>
<td align="center">28&#x2013;29</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>An analysis of the outcomes reveals that device functionality adheres to the permitted time intervals during periods of reduced tariffs, showcasing the effectiveness of load management in minimizing costs. <xref ref-type="table" rid="T5">Table 5</xref> elucidates the planning involved in EV charging and discharging during different time steps. For instance, during time steps 1&#x2013;12, if the EV cannot supply the load, it is charged to ensure a fully charged battery before departing the residence. At time step 65, when the EV enters the residence, the battery is 2.7&#xa0;kWh full, prompting a recharge at the end of each day to attain a pre-established battery charge level of 3.9&#xa0;kWh.</p>
<table-wrap id="T5" position="float">
<label>TABLE 5</label>
<caption>
<p>Charging/discharging performance time step based on scenario 2.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Performance time step</th>
<th align="center">Charging load (kW)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td colspan="2" align="center">With V2G</td>
</tr>
<tr>
<td align="center">1&#x2013;12</td>
<td align="center">1.5</td>
</tr>
<tr>
<td align="center">12&#x2013;14</td>
<td align="center">1.2</td>
</tr>
<tr>
<td align="center">15&#x2013;90</td>
<td align="center">0</td>
</tr>
<tr>
<td align="center">91&#x2013;94</td>
<td align="center">1.2</td>
</tr>
<tr>
<td align="center">95, 96</td>
<td align="center">1.5</td>
</tr>
<tr>
<td colspan="2" align="center">Without V2G</td>
</tr>
<tr>
<td align="center">1&#x2013;5</td>
<td align="center">1.5</td>
</tr>
<tr>
<td align="center">6&#x2013;8</td>
<td align="center">0</td>
</tr>
<tr>
<td align="center">9&#x2013;20</td>
<td align="center">1.2</td>
</tr>
<tr>
<td align="center">21, 22</td>
<td align="center">1.5</td>
</tr>
<tr>
<td align="center">23&#x2013;40</td>
<td align="center">&#x2212;1.2</td>
</tr>
<tr>
<td align="center">41&#x2013;60</td>
<td align="center">&#x2212;1.5</td>
</tr>
<tr>
<td align="center">62&#x2013;69</td>
<td align="center">0</td>
</tr>
<tr>
<td align="center">70&#x2013;82</td>
<td align="center">&#x2212;1.2</td>
</tr>
<tr>
<td align="center">83&#x2013;96</td>
<td align="center">1.5</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Considering the EV&#x2019;s capacity to supply the household load, the battery is strategically discharged during high tariff periods and charged during low tariff periods (as detailed in <xref ref-type="table" rid="T5">Table 5</xref>), resulting in an overall reduction in payment amounts. A comparative analysis between the two cases, one accounting for the ability of the EV to provide load and the other without, reveals a shared payment cost of 227.26 cents per day in the former and 238.16 cents per day in the latter.</p>
<p>Furthermore, <xref ref-type="fig" rid="F3">Figure 3</xref> visually depicts the household load dynamics both with and without the capability of energy supply via the EV. Notably, when EVs possess the ability to supply the household load, they are discharged during high tariff hours and charged more during low tariff hours, leading to an increase in the peak load at the end of the night, an effect absent in cases where the load supply capability is lacking. This nuanced exploration of load management strategies provides a comprehensive understanding of the interplay between EV capabilities and household load dynamics.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Building load curve during a day (scenario 2).</p>
</caption>
<graphic xlink:href="fenrg-12-1364904-g003.tif"/>
</fig>
</sec>
<sec id="s3-3">
<title>3.3 Scenario 3</title>
<p>In this scenario, the household load experiences a planned interruption from time step 77 for a duration of 90&#xa0;min, spanning 6 time steps, until time step 84. Prior to this interruption, up to time step 76, the household load management results mirrored those observed in the preceding scenario. At time step 77, the schedule undergoes an update to accommodate the planned interruption, and following the cessation of the load at time step 84, the household load is re-evaluated based on the most recent information regarding device operations. Noteworthy in this context is the consideration of a lost energy value for devices at 22 cents/kWh, surpassing the electricity tariff at any given time. Consequently, in the second mode, encompassing time steps 77 to 84, the EV strives to supply maximum electricity to devices that remain operational during this interval.</p>
<p>Given a switching time of 30&#xa0;s, the cost associated with load interruption is calculated at 1.8 cents. This deviation in outage cost, as opposed to the cost calculated in the initial scenario, exemplifies the impact of the proposed household load management methodology on the reduction of outage-related expenses. <xref ref-type="fig" rid="F4">Figure 4</xref> visually represents the household load diagram in this third state, offering insights into the load dynamics during and after the interruption.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Building load curve during a day (scenario 3).</p>
</caption>
<graphic xlink:href="fenrg-12-1364904-g004.tif"/>
</fig>
<p>Based on the outcomes, the expected household peak load in this scenario is determined to be 6.29&#xa0;kW, which is less than the peak load observed in the initial case. Moreover, the payment fee registers at 246.11 cents, slightly higher than that in the second case. This outcome underscores that, despite the occurrence of load interruptions and deviations from the optimal plan in terms of paid costs observed in the second case, the household load management strategy in the third case effectively prevented an excessive increase in overall payment costs. This nuanced analysis highlights the resilience and effectiveness of the proposed methodology under challenging conditions, contributing to a comprehensive understanding of its practical implications.</p>
</sec>
<sec id="s3-4">
<title>3.4 ToU and IBR effect on smart home demand load management</title>
<p>In this section, the effects of IBR pricing, as well as the combination of IBR and ToU, which have been considered in previous references, on the results of household load management, are attempted to be studied. <xref ref-type="table" rid="T6">Table 6</xref> displays the results of the paid fee and peak load when comparing different tariffs.</p>
<table-wrap id="T6" position="float">
<label>TABLE 6</label>
<caption>
<p>Results of the implementation of building load management considering different electricity tariffs.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Tariff</th>
<th align="center">Energy cost (cent/day)</th>
<th align="center">Peak load (kW)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">ToU</td>
<td align="center">227.26</td>
<td align="center">6.38</td>
</tr>
<tr>
<td align="center">IBR</td>
<td align="center">245.81</td>
<td align="center">5.47</td>
</tr>
<tr>
<td align="center">Integrated ToU and IBR</td>
<td align="center">189.93</td>
<td align="center">5.87</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The results show that when the IBR is used, the load is distributed throughout the day, and, as can be seen, the peak load is significantly reduced. As a result, the payment fee and peak load will be reduced by 7.9% and 16.4%, respectively, when the ToU tariff is considered.</p>
<p>To summarize the findings, the first scenario is considered in the ToU to be a state without household load management due to the existence of power outages and the occurrence of outages for various devices, as well as the uncontrollability of the load and the impossibility of supplying the household load by the EV. Regardless of the pricing method used, it results in the imposition of high costs on the subscriber. In the second scenario, unlike the first, it is not certain, owing to the result of load management planning by defining performance intervals for all devices, as well as checking the conditions of ability and inability to supply the household load by the EV, which shows that the supply ability is optimal. In this scenario, the load is supplied by an EV.</p>
<p>In comparison to scenario 1, the result is that the co-payment cost with the ToU tariff has been reduced even if the household load cannot be supplied by the EV. Domestic peak load has also declined since the first state. Outage is considered in the third scenario, but unlike the first, there is optimal planning for load management with the presence of the EV, which allows for a reduction in the outage cost when compared to the first. Furthermore, when compared to the first scenario, the domestic peak load and the cost of paying with the ToU tariff are lower in this case. However, despite the presence of load interruption in this case, the payment fee is only marginally higher than in the second scenario, owing to the effect of the proposed household load management. Finally, the goal is to compare different pricing on household load management planning, demonstrating that the combination of IBR and ToU results in a reduction in the payment cost and peak load when compared to the ToU pricing method.</p>
<p>To validate the outcomes of various tariffs, a qualitative comparison is conducted in this section. The multiple users and load priority (MULP) scenario is utilized by <xref ref-type="bibr" rid="B1">Abushnaf et al. (2015)</xref> to compare the outcomes of the multi-user algorithm and ToU. In the initial instance of this scenario, a comparison is made between the flat rate and ToU tariffs (without energy consumption control). The alterations in <xref ref-type="fig" rid="F5">Figure 5A</xref> constitute a summer day, while the modifications in <xref ref-type="fig" rid="F5">Figure 5B</xref> represent a winter day. The graphs additionally illustrate the load for both flat rate and ToU tariffs, along with the curves representing the costs incurred under each tariff option (flat rate and ToU).</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>Effect of using ToU transpiration on the consumption load and cost in <bold>(A)</bold> summer and <bold>(B)</bold> winter.</p>
</caption>
<graphic xlink:href="fenrg-12-1364904-g005.tif"/>
</fig>
<p>As shown in <xref ref-type="fig" rid="F5">Figure 5</xref>, the cost of payment is reduced by 0.83% when the ToU tariff is utilized during the summer, as opposed to the flat rate tariff. Conversely, when compared to the ToU tariff, the flat rate tariff will result in an 8% reduction in payment costs during the winter season. Conversely, energy consumption remains constant throughout the day and night, with no measures implemented to transfer superfluous loads to more cost-effective ToU periods. Nevertheless, during peak hours, the cost of electricity is considerably greater under this tariff compared to the flat rate tariff. This necessitates the promotion of a method for regulating peak-hour electricity consumption.</p>
<p>In this particular situation, the algorithm for home energy management transfers superfluous loads from periods of high demand to periods of lower cost with the intention of diminishing electricity expenses and overall consumption. In order to accomplish this, it is assumed that the demand limit of 1.7&#xa0;kW during peak hours is constant for both seasons. The home energy management algorithm&#x2019;s adaptable architecture enables subscribers to exercise diverse discretion in order to mitigate their daily energy usage and subsequently lower their electricity expenses.</p>
</sec>
</sec>
<sec sec-type="conclusion" id="s4">
<title>4 Conclusion</title>
<p>The desire to reduce pollution, combat climate change, conserve fossil fuels, save money, and improve power grid reliability has led to the utilization of distributed production resources to build a smart, environmentally friendly network. If the demand for fossil fuels is not met properly, they will deplete or disappear. Thus, humanity relies on renewable resources to meet this massive and growing demand. Beyond production, discussing renewable energy management is appealing because the building can save a significant amount of energy through efficiency. This study underscores the efficacy of the proposed optimization approach for managing household load in smart homes, particularly in integrating EVs into the energy management framework. The numerical results obtained from various scenarios and pricing models provide tangible evidence of the approach&#x2019;s effectiveness in achieving cost savings, peak load reduction, and improved reliability.</p>
<p>This study addresses the escalating demand for electricity by presenting a methodology that not only optimizes energy consumption but also aligns with environmental sustainability goals. The numerical outcomes reveal a 7.9% reduction in integrated payment costs through the regulation of device usage durations, demonstrating a tangible impact on financial savings. EVs, hailed for their environmental compatibility and energy efficiency, emerge as crucial components in the proposed algorithm. The numerical results emphasize the potential of EVs to contribute to load planning, displaying a 16.4% reduction in peak loads and a 7.9% decrease in payment expenses when incorporating IBR pricing. The dynamic pricing structures, including ToU and IBR, exhibit significant impacts on load management. The numerical analysis illustrates a 7.9% reduction in payment costs and a 16.4% decrease in peak loads when IBR pricing is implemented, underscoring the effectiveness of such pricing models in influencing consumer behavior.</p>
<p>Scenario-based results demonstrate the adaptability and robustness of the proposed algorithm under various conditions, including uninterrupted loads, load interruptions, and load management strategies. The outcomes showcase not only cost reduction but also the prevention of excessive increases in paid costs, reinforcing the practical utility of the algorithm. The findings provide clear insights into the economic benefits, peak load reduction potential, and reliability improvements achievable through the proposed optimization approach. The results further underscore the importance of considering dynamic pricing structures and strategically integrating electric vehicles for a holistic and effective smart home energy management system.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s5">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/Supplementary material; further inquiries can be directed to the corresponding authors.</p>
</sec>
<sec id="s6">
<title>Author contributions</title>
<p>YD: conceptualization, data curation, methodology, software, writing&#x2013;original draft, and writing&#x2013;review and editing. AI: conceptualization, methodology, software, validation, writing&#x2013;original draft, and writing&#x2013;review and editing. MA: conceptualization, data curation, methodology, software, validation, writing&#x2013;original draft, and writing&#x2013;review and editing. ZB: data curation, investigation, software, writing&#x2013;original draft, and writing&#x2013;review and editing. AM: data curation, formal analysis, methodology, software, visualization, writing&#x2013;original draft, and writing&#x2013;review and editing. AN: data curation, formal analysis, resources, writing&#x2013;original draft, and writing&#x2013;review and editing.</p>
</sec>
<sec sec-type="funding-information" id="s7">
<title>Funding</title>
<p>The author(s) declare financial support was received for the research, authorship, and/or publication of this article. The authors are thankful to the Deanship of Scientific Research at Najran University for funding this work under the Research Priorities and Najran Research Funding Program, grant code (NU/NRP/SERC/12/9).</p>
</sec>
<sec sec-type="COI-statement" id="s8">
<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="s9">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors, and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Abushnaf</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Rassau</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>G&#xf3;rnisiewicz</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Impact of dynamic energy pricing schemes on a novel multi-user home energy management system</article-title>. <source>Electr. Power Syst. Res.</source> <volume>125</volume>, <fpage>124</fpage>&#x2013;<lpage>132</lpage>. <pub-id pub-id-type="doi">10.1016/j.epsr.2015.04.003</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Aguilar</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Garces-Jimenez</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>R-Moreno</surname>
<given-names>M. D.</given-names>
</name>
<name>
<surname>Garc&#xed;a</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>A systematic literature review on the use of artificial intelligence in energy self-management in smart buildings</article-title>. <source>Renew. Sustain. Energy Rev.</source> <volume>151</volume>, <fpage>111530</fpage>. <pub-id pub-id-type="doi">10.1016/j.rser.2021.111530</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Al Dakheel</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Del Pero</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Aste</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Leonforte</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Smart buildings features and key performance indicators: a review</article-title>. <source>Sustain. Cities Soc.</source> <volume>61</volume>, <fpage>102328</fpage>. <pub-id pub-id-type="doi">10.1016/j.scs.2020.102328</pub-id>
</citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Alghassab</surname>
<given-names>M. A.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Fuzzy-based smart energy management system for residential buildings in Saudi Arabia: a comparative study</article-title>. <source>Energy Rep.</source> <volume>11</volume>, <fpage>1212</fpage>&#x2013;<lpage>1224</lpage>. <pub-id pub-id-type="doi">10.1016/j.egyr.2023.12.039</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Almalki</surname>
<given-names>F. A.</given-names>
</name>
<name>
<surname>Alsamhi</surname>
<given-names>S. H.</given-names>
</name>
<name>
<surname>Sahal</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Hassan</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Hawbani</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Rajput</surname>
<given-names>N. S.</given-names>
</name>
<etal/>
</person-group> (<year>2023</year>). <article-title>Green IoT for eco-friendly and sustainable smart cities: future directions and opportunities</article-title>. <source>Mob. Netw. Appl.</source> <volume>28</volume>, <fpage>178</fpage>&#x2013;<lpage>202</lpage>. <pub-id pub-id-type="doi">10.1007/s11036-021-01790-w</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Apanaviciene</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Urbonas</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Fokaides</surname>
<given-names>P. A.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Smart building integration into a smart city: comparative study of real estate development</article-title>. <source>Sustainability</source> <volume>12</volume>, <fpage>9376</fpage>. <pub-id pub-id-type="doi">10.3390/su12229376</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bozchalui</surname>
<given-names>M. C.</given-names>
</name>
<name>
<surname>Hashmi</surname>
<given-names>S. A.</given-names>
</name>
<name>
<surname>Hassen</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Canizares</surname>
<given-names>C. A.</given-names>
</name>
<name>
<surname>Bhattacharya</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Optimal operation of residential energy hubs in smart grids</article-title>. <source>IEEE Trans. Smart Grid</source> <volume>3</volume>, <fpage>1755</fpage>&#x2013;<lpage>1766</lpage>. <pub-id pub-id-type="doi">10.1109/TSG.2012.2212032</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Brahman</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Honarmand</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Jadid</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Optimal electrical and thermal energy management of a residential energy hub, integrating demand response and energy storage system</article-title>. <source>Energy Build.</source> <volume>90</volume>, <fpage>65</fpage>&#x2013;<lpage>75</lpage>. <pub-id pub-id-type="doi">10.1016/j.enbuild.2014.12.039</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Byeon</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Yoon</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Oh</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Jang</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Energy management strategy of the DC distribution system in buildings using the EV service model</article-title>. <source>IEEE Trans. Power Electron.</source> <volume>28</volume>, <fpage>1544</fpage>&#x2013;<lpage>1554</lpage>. <pub-id pub-id-type="doi">10.1109/TPEL.2012.2210911</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Eini</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Linkous</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Zohrabi</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Abdelwahed</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Smart building management system: performance specifications and design requirements</article-title>. <source>J. Build. Eng.</source> <volume>39</volume>, <fpage>102222</fpage>. <pub-id pub-id-type="doi">10.1016/j.jobe.2021.102222</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Erixno</surname>
<given-names>O.</given-names>
</name>
<name>
<surname>Rahim</surname>
<given-names>N. A.</given-names>
</name>
<name>
<surname>Ramadhani</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Adzman</surname>
<given-names>N. N.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Energy management of renewable energy-based combined heat and power systems: a review</article-title>. <source>Sustain. Energy Technol. Assessments</source> <volume>51</volume>, <fpage>101944</fpage>. <pub-id pub-id-type="doi">10.1016/j.seta.2021.101944</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ferraro</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Brunaccini</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Sergi</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Aloisio</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Randazzo</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Antonucci</surname>
<given-names>V.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>From Uninterruptible Power Supply to resilient smart micro grid: the case of a battery storage at telecommunication station</article-title>. <source>J. Energy Storage</source> <volume>28</volume>, <fpage>101207</fpage>. <pub-id pub-id-type="doi">10.1016/j.est.2020.101207</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ghosh</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Zapata</surname>
<given-names>M. Z.</given-names>
</name>
<name>
<surname>Silwal</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Khurram</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Kleissl</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Effects of number of electric vehicles charging/discharging on total electricity costs in commercial buildings with time-of-use energy and demand charges</article-title>. <source>J. Renew. Sustain. Energy</source> <volume>14</volume>. <pub-id pub-id-type="doi">10.1063/5.0086924</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hakimi</surname>
<given-names>S. M.</given-names>
</name>
<name>
<surname>Hasankhani</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Intelligent energy management in off-grid smart buildings with energy interaction</article-title>. <source>J. Clean. Prod.</source> <volume>244</volume>, <fpage>118906</fpage>. <pub-id pub-id-type="doi">10.1016/j.jclepro.2019.118906</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>He</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Markides</surname>
<given-names>C. N.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Synergies and potential of hybrid solar photovoltaic-thermal desalination technologies</article-title>. <source>Desalination</source> <volume>552</volume>, <fpage>116424</fpage>. <pub-id pub-id-type="doi">10.1016/j.desal.2023.116424</pub-id>
</citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jamil</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Dunnan</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Awan</surname>
<given-names>F. H.</given-names>
</name>
<name>
<surname>Jabeen</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Gul</surname>
<given-names>R. F.</given-names>
</name>
<name>
<surname>Idrees</surname>
<given-names>M.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>Antecedents of consumer&#x2019;s purchase intention towards energy-efficient home appliances: an agenda of energy efficiency in the post COVID-19 era</article-title>. <source>Front. Energy Res.</source> <volume>10</volume>. <pub-id pub-id-type="doi">10.3389/fenrg.2022.863127</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jasim</surname>
<given-names>M. A.</given-names>
</name>
<name>
<surname>Ahmed</surname>
<given-names>O. K.</given-names>
</name>
<name>
<surname>Alaiwi</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Performance of solar stills integrated with PV/Thermal solar collectors: a review</article-title>. <source>NTU J. Renew. Energy</source> <volume>4</volume>, <fpage>97</fpage>&#x2013;<lpage>111</lpage>. <pub-id pub-id-type="doi">10.56286/ntujre.v4i1.456</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kath</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Ziel</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Conformal prediction interval estimation and applications to day-ahead and intraday power markets</article-title>. <source>Int. J. Forecast.</source> <volume>37</volume>, <fpage>777</fpage>&#x2013;<lpage>799</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijforecast.2020.09.006</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Lu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Yan</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Xiao</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Scientometric mapping of smart building research: towards a framework of human-cyber-physical system (HCPS)</article-title>. <source>Automation Constr.</source> <volume>129</volume>, <fpage>103776</fpage>. <pub-id pub-id-type="doi">10.1016/j.autcon.2021.103776</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lin</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Qi</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Ma</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Rostam</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Intelligent electric vehicle charging optimization and horse herd-inspired power generation for enhanced energy management</article-title>. <source>Energy</source> <volume>291</volume>, <fpage>130395</fpage>. <pub-id pub-id-type="doi">10.1016/j.energy.2024.130395</pub-id>
</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Manivannan</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Research on IoT-based hybrid electrical vehicles energy management systems using machine learning-based algorithm</article-title>. <source>Sustain. Comput. Inf. Syst.</source> <volume>41</volume>, <fpage>100943</fpage>. <pub-id pub-id-type="doi">10.1016/j.suscom.2023.100943</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Misbah Inayat</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Rafay Zaidi</surname>
<given-names>S. M.</given-names>
</name>
<name>
<surname>Ahmed</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Ahmed</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Kausar Azam</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Ahmad Arfeen</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Risk assessment and mitigation strategy of large-scale solar photovoltaic systems in Pakistan</article-title>. <source>Int. J. Industrial Eng. Manag.</source> <volume>14</volume>, <fpage>105</fpage>&#x2013;<lpage>121</lpage>. <pub-id pub-id-type="doi">10.24867/IJIEM-2023-2-327</pub-id>
</citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mohammed</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Saif</surname>
<given-names>O.</given-names>
</name>
<name>
<surname>Abo-Adma</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Fahmy</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Elazab</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Strategies and sustainability in fast charging station deployment for electric vehicles</article-title>. <source>Sci. Rep.</source> <volume>14</volume>, <fpage>283</fpage>. <pub-id pub-id-type="doi">10.1038/s41598-023-50825-7</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Nejatian</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Abbaspour</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Javidan</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Nia</surname>
<given-names>M. Y.</given-names>
</name>
<name>
<surname>Shacheri</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Azizi</surname>
<given-names>H.</given-names>
</name>
<etal/>
</person-group> (<year>2023</year>). <article-title>Evaluation of the vulnerability and pathways of groundwater pollution in the Zanjanrud river basin by an integrated modeling approach</article-title>. <source>Model. Earth Syst. Environ.</source> <pub-id pub-id-type="doi">10.1007/s40808-023-01897-x</pub-id>
</citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Nikbakht Naserabad</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Akbari Vakilabadi</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Ahmadi</surname>
<given-names>M. H.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Commercial building integrated energy system: sizing and energy-economic assessment</article-title>. <source>Int. J. Low-Carbon Technol.</source> <volume>18</volume>, <fpage>714</fpage>&#x2013;<lpage>726</lpage>. <pub-id pub-id-type="doi">10.1093/ijlct/ctad050</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Nojavan</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Zare</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Risk-based optimal bidding strategy of generation company in day-ahead electricity market using information gap decision theory</article-title>. <source>Int. J. Electr. Power &#x26; Energy Syst.</source> <volume>48</volume>, <fpage>83</fpage>&#x2013;<lpage>92</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijepes.2012.11.028</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Nojavan</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Zare</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Ashpazi</surname>
<given-names>M. A.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>A hybrid approach based on IGDT&#x2013;MPSO method for optimal bidding strategy of price-taker generation station in day-ahead electricity market</article-title>. <source>Int. J. Electr. Power &#x26; Energy Syst.</source> <volume>69</volume>, <fpage>335</fpage>&#x2013;<lpage>343</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijepes.2015.01.006</pub-id>
</citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ourahou</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Ayrir</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>El Hassouni</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Haddi</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Review on smart grid control and reliability in presence of renewable energies: challenges and prospects</article-title>. <source>Math. Comput. Simul.</source> <volume>167</volume>, <fpage>19</fpage>&#x2013;<lpage>31</lpage>. <pub-id pub-id-type="doi">10.1016/j.matcom.2018.11.009</pub-id>
</citation>
</ref>
<ref id="B29">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Pachar</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Singh</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Wahid</surname>
<given-names>M. A.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Implication of renewable energy in sustainable development in India: future strategy</article-title>. <source>IOP Conf. Ser. Mater. Sci. Eng.</source> <volume>1149</volume>, <fpage>012020</fpage>. <pub-id pub-id-type="doi">10.1088/1757-899X/1149/1/012020</pub-id>
</citation>
</ref>
<ref id="B30">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Pamidimukkala</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Kermanshachi</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Rosenberger</surname>
<given-names>J. M.</given-names>
</name>
<name>
<surname>Hladik</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Barriers and motivators to the adoption of electric vehicles: a global review</article-title>. <source>Green Energy Intelligent Transp.</source>, <fpage>100153</fpage>. <pub-id pub-id-type="doi">10.1016/j.geits.2024.100153</pub-id>
</citation>
</ref>
<ref id="B31">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rahman</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Othman</surname>
<given-names>M. L.</given-names>
</name>
<name>
<surname>Mohd Noor</surname>
<given-names>S. B.</given-names>
</name>
<name>
<surname>Binti Wan Ahmad</surname>
<given-names>W. F.</given-names>
</name>
<name>
<surname>Sulaima</surname>
<given-names>M. F.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Methods and attributes for customer-centric dynamic electricity tariff design: a review</article-title>. <source>Renew. Sustain. Energy Rev.</source> <volume>192</volume>, <fpage>114228</fpage>. <pub-id pub-id-type="doi">10.1016/j.rser.2023.114228</pub-id>
</citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sechilariu</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Locment</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Building-integrated microgrid: advanced local energy management for forthcoming smart power grid communication</article-title>. <source>Energy Build.</source> <volume>59</volume>, <fpage>236</fpage>&#x2013;<lpage>243</lpage>. <pub-id pub-id-type="doi">10.1016/j.enbuild.2012.12.039</pub-id>
</citation>
</ref>
<ref id="B33">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shirazi</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Jadid</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Optimal residential appliance scheduling under dynamic pricing scheme via HEMDAS</article-title>. <source>Energy Build.</source> <volume>93</volume>, <fpage>40</fpage>&#x2013;<lpage>49</lpage>. <pub-id pub-id-type="doi">10.1016/j.enbuild.2015.01.061</pub-id>
</citation>
</ref>
<ref id="B34">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Siddiqui</surname>
<given-names>O.</given-names>
</name>
<name>
<surname>Ishaq</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Khan</surname>
<given-names>D. A.</given-names>
</name>
<name>
<surname>Fazel</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Social cost-benefit analysis of different types of buses for sustainable public transportation</article-title>. <source>J. Clean. Prod.</source> <volume>438</volume>, <fpage>140656</fpage>. <pub-id pub-id-type="doi">10.1016/j.jclepro.2024.140656</pub-id>
</citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Taner</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Naqvi</surname>
<given-names>S. A. H.</given-names>
</name>
<name>
<surname>Ozkaymak</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Techno&#x2010;economic analysis of a more efficient hydrogen generation system prototype: a case study of pem electrolyzer with Cr&#x2010;C coated SS304 bipolar plates</article-title>. <source>Fuel Cells</source> <volume>19</volume>, <fpage>19</fpage>&#x2013;<lpage>26</lpage>. <pub-id pub-id-type="doi">10.1002/fuce.201700225</pub-id>
</citation>
</ref>
<ref id="B36">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tasdighi</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Ghasemi</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Rahimi-Kian</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>Residential microgrid scheduling based on smart meters data and temperature dependent thermal load modeling</article-title>. <source>IEEE Trans. Smart Grid</source> <volume>5</volume>, <fpage>349</fpage>&#x2013;<lpage>357</lpage>. <pub-id pub-id-type="doi">10.1109/TSG.2013.2261829</pub-id>
</citation>
</ref>
<ref id="B37">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wei</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Chammam</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Feng</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Alshammari</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Tehranian</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Innab</surname>
<given-names>N.</given-names>
</name>
<etal/>
</person-group> (<year>2024</year>). <article-title>Power system monitoring for electrical disturbances in wide network using machine learning</article-title>. <source>Sustain. Comput. Inf. Syst.</source> <volume>42</volume>, <fpage>100959</fpage>. <pub-id pub-id-type="doi">10.1016/j.suscom.2024.100959</pub-id>
</citation>
</ref>
<ref id="B38">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wi</surname>
<given-names>Y.-M.</given-names>
</name>
<name>
<surname>Lee</surname>
<given-names>J.-U.</given-names>
</name>
<name>
<surname>Joo</surname>
<given-names>S.-K.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Electric vehicle charging method for smart homes/buildings with a photovoltaic system</article-title>. <source>IEEE Trans. Consumer Electron.</source> <volume>59</volume>, <fpage>323</fpage>&#x2013;<lpage>328</lpage>. <pub-id pub-id-type="doi">10.1109/TCE.2013.6531113</pub-id>
</citation>
</ref>
<ref id="B39">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yan</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Duan</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Chang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Sobhani</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Optimal energy management in smart buildings with electric vehicles based on economic and risk aspects using developed whale optimization algorithm</article-title>. <source>J. Clean. Prod.</source> <volume>415</volume>, <fpage>137710</fpage>. <pub-id pub-id-type="doi">10.1016/j.jclepro.2023.137710</pub-id>
</citation>
</ref>
<ref id="B40">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yin</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Anser</surname>
<given-names>M. K.</given-names>
</name>
<name>
<surname>Abbas</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Ashraf</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Ahmad</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Jamshid</surname>
<given-names>J.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>Integrating the role of green fiscal policies with energy prices volatility and energy efficiency: presenting a COVID-19 perspective</article-title>. <source>Front. Energy Res.</source> <volume>9</volume>. <pub-id pub-id-type="doi">10.3389/fenrg.2021.838307</pub-id>
</citation>
</ref>
</ref-list>
<sec id="s10">
<title>Nomenclature</title>
<table-wrap id="udT1" position="float">
<table>
<tbody valign="top">
<tr>
<td align="left">
<bold>Symbols and variables</bold>
</td>
</tr>
<tr>
<td align="left">
<bold>
<italic>P</italic>
</bold>
<sub>
<bold>
<italic>totalload</italic>
</bold>
</sub>
</td>
<td align="left">Total load of the building (<italic>kW</italic>)</td>
</tr>
<tr>
<td align="left">
<bold>
<italic>P</italic>
</bold>
<sub>
<bold>
<italic>load</italic>
</bold>
</sub>
</td>
<td align="left">Building load demand (<italic>kWh</italic>)</td>
</tr>
<tr>
<td align="left">
<bold>
<italic>P</italic>
</bold>
<sub>
<bold>
<italic>i,EVC</italic>
</bold>
</sub>
</td>
<td align="left">Charged power of the <italic>i</italic>th EV (<italic>kWh</italic>)</td>
</tr>
<tr>
<td align="left">
<bold>
<italic>P</italic>
</bold>
<sub>
<bold>
<italic>i,EVD</italic>
</bold>
</sub>
</td>
<td align="left">Discharged power of the <italic>i</italic>th EV (<italic>kWh</italic>)</td>
</tr>
<tr>
<td align="left">
<bold>C</bold>
<sub>
<bold>UG</bold>
</sub>
</td>
<td align="left">Cost of purchasing electricity from the grid <italic>($/kWh</italic>)</td>
</tr>
<tr>
<td align="left">
<bold>E</bold>
<sub>
<bold>CUG</bold>
</sub>
</td>
<td align="left">Total cost of purchasing electricity from the grid (<italic>$</italic>)</td>
</tr>
<tr>
<td align="left">
<bold>
<italic>EC</italic>
</bold>
<sub>
<bold>
<italic>totalEV</italic>
</bold>
</sub>
</td>
<td align="left">Cost of charging and discharging all EVs (<italic>$</italic>)</td>
</tr>
<tr>
<td align="left">
<bold>
<italic>EC</italic>
</bold>
<sub>
<bold>
<italic>total</italic>
</bold>
</sub>
</td>
<td align="left">Total cost of the energy supply for the building (<italic>$</italic>)</td>
</tr>
<tr>
<td align="left">
<bold>
<italic>SOC</italic>
</bold>
<sub>
<bold>
<italic>min</italic>
</bold>
</sub>
</td>
<td align="left">Minimum state of charge for the EV battery</td>
</tr>
<tr>
<td align="left">
<bold>
<italic>SOC</italic>
</bold>
<sub>
<bold>
<italic>max</italic>
</bold>
</sub>
</td>
<td align="left">Maximum state of charge for the EV battery</td>
</tr>
<tr>
<td align="left">
<bold>SOCEV</bold>
</td>
<td align="left">State of charge for the EV battery</td>
</tr>
<tr>
<td align="left">
<bold>
<italic>SOC</italic>
</bold>
<sub>
<bold>
<italic>EVmin</italic>
</bold>
</sub>
</td>
<td align="left">Minimum state of charge for the EV to be in the standby mode</td>
</tr>
<tr>
<td align="left">
<bold>
<italic>SOC</italic>
</bold>
<sub>
<bold>
<italic>EVdischarging</italic>
</bold>
</sub>
</td>
<td align="left">State of charge for the EV to be in the discharge mode</td>
</tr>
<tr>
<td align="left">
<bold>C</bold>
<sub>
<bold>EVC</bold>
</sub>
</td>
<td align="left">Cost associated with charging 1&#xa0;kW of power for EVs <italic>($/kWh</italic>)</td>
</tr>
<tr>
<td align="left">
<bold>C</bold>
<sub>
<bold>EVD</bold>
</sub>
</td>
<td align="left">Cost associated with discharging 1&#xa0;kW of power for EVs (<italic>$/kWh</italic>)</td>
</tr>
<tr>
<td align="left">
<bold>
<italic>P</italic>
</bold>
<sub>
<bold>
<italic>e</italic>
</bold>
</sub>
</td>
<td align="left">EV&#x2019;s charging rate</td>
</tr>
<tr>
<td align="left">
<bold>Indices</bold>
</td>
</tr>
<tr>
<td align="left">
<bold>
<italic>i</italic>
</bold>
</td>
<td align="left">EV index</td>
</tr>
<tr>
<td align="left">
<bold>
<italic>j</italic>
</bold>
</td>
<td align="left">Time step index</td>
</tr>
<tr>
<td align="left">
<bold>
<italic>k</italic>
</bold>
</td>
<td align="left">Index for charging periods</td>
</tr>
<tr>
<td align="left">
<bold>
<italic>L</italic>
</bold>
</td>
<td align="left">Index for discharging periods</td>
</tr>
<tr>
<td align="left">
<bold>
<italic>n</italic>
</bold>
</td>
<td align="left">Number of EVs</td>
</tr>
<tr>
<td align="left">
<bold>Abbreviations</bold>
</td>
</tr>
<tr>
<td align="left">
<bold>EV</bold>
</td>
<td align="left">Electric vehicle</td>
</tr>
<tr>
<td align="left">
<bold>EMS</bold>
</td>
<td align="left">Energy management system</td>
</tr>
<tr>
<td align="left">
<bold>SoC</bold>
</td>
<td align="left">State of charge</td>
</tr>
<tr>
<td align="left">
<bold>kW</bold>
</td>
<td align="left">Kilowatt</td>
</tr>
<tr>
<td align="left">
<bold>kWh</bold>
</td>
<td align="left">Kilowatt-hour</td>
</tr>
<tr>
<td align="left">
<bold>IBR</bold>
</td>
<td align="left">Inclining block rate</td>
</tr>
<tr>
<td align="left">
<bold>ToU</bold>
</td>
<td align="left">Time of use</td>
</tr>
<tr>
<td align="left">
<bold>V2G</bold>
</td>
<td align="left">Vehicle-to-grid</td>
</tr>
<tr>
<td align="left">
<bold>UG</bold>
</td>
<td align="left">Power from the utility grid</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</back>
</article>