원시데이터 수집 시스템
선정목록으로

Optimizing Microgrid Efficiency: A Methodological Approach to Scheduling Combined Heat and Power Systems with Renewable Energy Sources and Diverse Battery Technologies

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. Hashim Alnami — Department of Electrical and Electronics Engineering, Faculty of Engineering and Computer Science, Jazan University, Jizan, Saudi Arabia
  2. Ghareeb Moustafa — Department of Electrical and Electronics Engineering, Faculty of Engineering and Computer Science, Jazan University, Jizan, Saudi Arabia
  3. Badr M Al Faiya — Department of Electrical and Electronics Engineering, Faculty of Engineering and Computer Science, Jazan University, Jizan, Saudi Arabia
  4. Sultan Hassan Hakmi — Department of Electrical and Electronics Engineering, Faculty of Engineering and Computer Science, Jazan University, Jizan, Saudi Arabia
  5. Mostafa H. Mostafa — Electrical Engineering Department, Faculty of Engineering, Al Ryada University for Science and Technology, Sadat City, Egypt
DOI
10.1109/access.2025.3625586
저널
IEEE Access
발행년도
2025
발행기관
Institute of Electrical and Electronics Engineers
피인용수
0
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2025.3625586
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W4415593845

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
규칙(키워드) 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The escalating reliance on renewable energy sources (RES) is revolutionizing microgrids (<inline-formula> <tex-math notation="LaTeX">$\mu $ </tex-math></inline-formula>Gs), making coordinated scheduling of these systems not just beneficial but essential for optimizing efficiency and meeting electrical load demands effectively. This study addresses the scheduling challenges of combined heat and power (CHP) systems, proposing a methodology that meets the total heat and power demands of microgrids (<inline-formula> <tex-math notation="LaTeX">$\mu $ </tex-math></inline-formula>G) while minimizing total operation costs. The approach integrates key technical constraints, particularly the interdependencies between heat and power production in CHP units. Optimal energy management is evaluated across three scenarios: standalone CHP systems, CHP with RES, and a comprehensive model including battery storage (BS) systems. A model is developed to accurately represent the non-convex feasible operating regions of CHP units, highlighting the intricate interactions between electricity and heat generation. Additionally, a framework is introduced that accounts for the dual dependency of electricity and thermal output, enhancing resource allocation optimization. The study investigates the impact of RES, CHP, and BS on active and reactive power losses, operational costs, and voltage profiles. To improve financial efficiency, strategies for selecting cost-effective technologies are explored, evaluating five battery types: Lithium-Ion (Li-ion), Sodium-Nickel Chloride (Na-NiCl2), Nickel-Cadmium (NiCd), Sodium-Sulfur (NaS), and Lead-Acid (Pb-A). The analysis emphasizes the importance of diverse energy sources in mitigating voltage fluctuations and ensuring compliance with electrical standards. It is observed that the proposed method helps reduce active losses by 28.15% and reactive losses by 33.36% for a comprehensive model that includes the BS system. Additionally, operational costs decrease with the integration of RES and BS, highlighting economic benefits. Voltage profiles also improve, with BS enhancing stability during peak demand, underscoring its crucial role in future energy system designs.

본문 98,382자

본문 펼치기
Received 12 October 2025, accepted 19 October 2025, date of publication 27 October 2025, date of current version 4 November 2025. _Digital Object Identifier 10.1109/ACCESS.2025.3625586_ # Optimizing Microgrid Efficiency: A Methodological Approach to Scheduling Combined Heat and Power Systems With Renewable Energy Sources and Diverse Battery Technologies HASHIM ALNAMI <sup>1</sup>, (Associate Member, IEEE), GHAREEB MOUSTAFA 1, BADR M. AL FAIYA <sup>1</sup>, (Member, IEEE), SULTAN HASSAN HAKMI 1, AND MOSTAFA H. MOSTAFA 2 1Department of Electrical and Electronics Engineering, Faculty of Engineering and Computer Science, Jazan University, Jizan 45142, Saudi Arabia 2Electrical Engineering Department, Faculty of Engineering, Al Ryada University for Science and Technology, Sadat City 32897, Egypt Corresponding author: Mostafa H. Mostafa (Moustafa.Hassan@rst.edu.eg) This work was supported by the Deanship of Graduate Studies and Scientific Research, Jazan University, Saudi Arabia, under Project JU-20250234-DGSSR-RP-2025. ABSTRACT The escalating reliance on renewable energy sources (RES) is revolutionizing microgrids ( _µ_ Gs), making coordinated scheduling of these systems not just beneficial but essential for optimizing efficiency and meeting electrical load demands effectively. This study addresses the scheduling challenges of combined heat and power (CHP) systems, proposing a methodology that meets the total heat and power demands of microgrids ( _µ_ G) while minimizing total operation costs. The approach integrates key technical constraints, particularly the interdependencies between heat and power production in CHP units. Optimal energy management is evaluated across three scenarios: standalone CHP systems, CHP with RES, and a comprehensive model including battery storage (BS) systems. A model is developed to accurately represent the non-convex feasible operating regions of CHP units, highlighting the intricate interactions between electricity and heat generation. Additionally, a framework is introduced that accounts for the dual dependency of electricity and thermal output, enhancing resource allocation optimization. The study investigates the impact of RES, CHP, and BS on active and reactive power losses, operational costs, and voltage profiles. To improve financial efficiency, strategies for selecting cost-effective technologies are explored, evaluating five battery types: Lithium-Ion (Li-ion), Sodium-Nickel Chloride (Na-NiCl2), NickelCadmium (NiCd), Sodium-Sulfur (NaS), and Lead-Acid (Pb-A). The analysis emphasizes the importance of diverse energy sources in mitigating voltage fluctuations and ensuring compliance with electrical standards. It is observed that the proposed method helps reduce active losses by 28.15% and reactive losses by 33.36% for a comprehensive model that includes the BS system. Additionally, operational costs decrease with the integration of RES and BS, highlighting economic benefits. Voltage profiles also improve, with BS enhancing stability during peak demand, underscoring its crucial role in future energy system designs. INDEX TERMS Battery storage, combined heat and power, energy management, microgrid, renewable energy sources, sodium-nickel chloride. The associate editor coordinating the review of this manuscript and approving it for publication was Lei Chen . I. INTRODUCTION In recent years, advancements in renewable energy sources (RESs), coupled with growing economic and environmental concerns—such as rising fossil fuel consumption and global warming—have prompted power sector decision-makers to adopt renewable energy solutions increasingly [1], [2]. These sources are typically clean and cost-effective [3], [4]. Besides lowering costs and minimizing environmental impact, RESs improve the reliability and quality of electricity while enhancing the flexibility of power grids [5], [6]. Additionally, energy storage systems (ESS), such as batteries, can significantly contribute to load balancing and reducing overall network costs by storing energy during periods of low demand and releasing it during peak demand [7], [8]. The integration of RESs with traditional energy sources has led to the emergence of microgrids ( _µ_ G), which represent the future of distribution systems [9]. Electricity generation often results in substantial energy loss as heat [10]. By capturing and utilizing this thermal energy to meet the heating demands of a _µ_ G, the network’s efficiency can be improved significantly, leading to lower overall costs [11], [12]. As a result, effective implementation of combined heat and power (CHP) systems can minimize environmental pollution and reduce heat wastage [13]. Consequently, the adoption of CHP systems in microgrids has surged in recent years. CHP systems generate electricity while simultaneously converting waste energy into thermal energy, thereby improving overall energy utilization and system efficiency [14], [15]. A _µ_ G can be defined as a collection of controllable electrical and thermal loads and distributed energy resources (DER) that can operate both independently and in conjunction with the utility, adhering to specific power network limits [16]. The integration of DERs, including RESs, CHP systems, and energy storage solutions within _µ_ Gs, leads to environmentally sustainable, cost-effective, and reliable energy production. The use of CHP systems in _µ_ Gs has garnered increasing attention, primarily due to their ability to deliver both electrical and thermal energy simultaneously [17], [18]. The operation of a _µ_ G necessitates an energy management system (EMS) to assess the power output from each DER, the amount of power traded with the utility, and the energy stored in ESS during the day. This is done in alignment with the _µ_ G’s objectives, which include cost minimization, environmental impact reduction, and loss mitigation [19]. Numerous research efforts have focused on the design, management, and operation of _µ_ Gs, in these studies, diverse _µ_ Gs have been analyzed with diverse objective functions and different types of DER. Zhang et al. [20] investigated the energy management of a grid-connected microgrid, integrating renewable sources, CHP systems, and ESS to meet electricity and heat demands. They formulated this as a stochastic non-convex optimization problem aimed at minimizing operating costs. Their proposed algorithm, based on a modified Lyapunov optimization technique, operated with low computational complexity and required no statistical system information. Empirical evaluations using real-world data demonstrated the algorithm’s effectiveness in optimizing microgrid performance. Firouzmakan et al. [21] introduced a day-ahead energy management system aimed at reducing operational costs and enhancing the reliability of a _µ_ G, addressing various challenges related to electrical and thermal loads. Their strategy incorporated micro-CHP units, renewable energy sources, an auxiliary boiler, and energy storage to meet these demands. The problem was framed the issue as a multi-objective optimization problem, exploring the effects of non-ideal battery efficiency. The analysis included both islanding and grid-connected modes, examining demand-side management’s impact on costs and reliability, with simulations conducted on a 3-feeder _µ_ G. Li et al. [22] developed a stochastic approach to the simultaneous management of renewable and thermal energy units, emphasizing the combination of fuel cell-based CHP units, WTs, and PV units. The model included hydrogen ESS and accounted for uncertainties such as wind speed, solar irradiance, and market price variations using a scenariobased approach. The scheduling challenge was formulated as a mixed-integer nonlinear programming (MINP) model, which was then transformed into a stochastic MINP. To tackle this complex problem, an Improved Salp Swarm Algorithm (ISSA) was applied on a modified 33-bus distribution network. Nazari-Heris et al. [23] introduced an optimization approach utilizing mixed-integer nonlinear programming (MINLP) to address the economic dispatch of _µ_ G that includes CHP units, conventional generators, heat-only units, wind turbines, photovoltaic systems, and battery storage under uncertain conditions. The primary aim was to determine the optimal economic dispatch solutions while considering technical constraints such as AC power flow limitations. The study also examined the dual dependency of heat and power production by CHP units and the influence of electrical energy storage and heat buffer tanks. Uncertainties from renewable generation, grid power prices, and load were managed through scenario-based methods, robust optimization, and information gap decision theory (IGDT). The model was tested on a 14-bus system across various scenarios, with results provided to assess the effectiveness of the approaches used. Ding et al. [24] introduced a system that integrated heat and power generation by recovering waste heat from a gas turbine. This system features a proton exchange membrane electrolyzer for producing pure hydrogen. It incorporated an organic Rankine cycle to generate hot water, optimized through a Kalina cycle, which converts waste heat into electricity using R-141b as the working fluid. The process also produced excess hot water and electricity for hydrogen generation, utilizing two organic Rankine cycles with different working fluids. The study evaluated energy, exergy, economic, and environmental aspects, along with a sensitivity analysis of operational parameters, examining thermodynamic performance across three scenarios: single generation, combined heat and power, and combined heat, power, and hydrogen. Huang et al. [25] proposed an innovative framework that integrates RESs, electric vehicles (EVs), and hydrogen technologies within CHP _µ_ Gs for efficient energy management in buildings. The framework employs Particle Swarm Optimization (PSO) to identify optimal solutions and utilizes Chance-Constrained Programming (CCP) to address uncertainties associated with renewable generation and EV demand. Through Monte Carlo simulations of EV load profiles and K-means clustering for load and generation patterns, the study also incorporated a Sigmoid function model for real-time pricing. This combination of PSO and CCP optimized operational strategies while evaluating economic benefits and carbon emission impacts across various scenarios, including different weather conditions and weekday versus weekend variations. Paul et al. [26] presented an innovative method for tackling the CHP economic dispatch optimal power flow problem through chaotic driving training optimization (DTBO), referred to as chaotic DTBO (CDTBO). This method integrates chaotic learning to address issues of local optima and slow convergence found in traditional algorithms. The combination of CHP economic dispatch and OPF is essential for ensuring efficient power system operations, enabling cost-effective generation and optimal flow in transmission lines. Considering fluctuating fuel prices, the effective integration of renewable energy sources, especially wind energy, with thermal units is crucial for minimizing thermal fuel use. The proposed approach was tested on the CHP economic dispatch-based IEEE-30 bus system, exploring scenarios with and without renewable energy sources. The study accounted for non-linearities by incorporating valve point loading for thermal units, transmission losses, and uncertainties in wind speed. Key aims included minimizing costs, controlling voltage deviations, reducing transmission losses, and optimizing stability indices. Furthermore, the method was assessed using multi-objective functions to achieve simultaneous reductions in costs and emissions, as well as to lower active power losses while enhancing the voltage profile. Erixno et al. [27] developed and analyzed a micro-CHP system that integrates renewable energy sources with a realistic load management approach. The control components and system management were validated using actual data for each component, and a simulation environment was established using LABVIEW to ensure proper functionality. Comprehensive assessments were performed focusing on energy, economic, and environmental factors to evaluate the long-term feasibility of the system. Additionally, a detailed comparison of this approach with existing projects, both locally in Malaysia and globally, was provided, highlighting the potential of micro-CHP systems for application in public and private buildings. Yan et al. [28] integrated four technologies—heating units, electric boilers, ESS, and bypass compensation technology—into the CHP system to enhance its flexibility. They developed a flexibility improvement indicator and an operational model based on the feasible operational regions. Additionally, an optimization strategy was proposed that accounts for penalties associated with renewable energy curtailment and load shedding, allowing for a quantitative assessment of performance enhancements. Using a 350 MW CHP system, the analysis evaluated the operating performance improvements resulting from this technological integration alongside the distribution of energy efficiency within the feasible operational region. Li and Saeid [29] developed an optimal load dispatch model for an energy hub aimed at minimizing overall costs, including operational expenses and CO2 emission costs. This energy hub consists of several components, such as a heat system, a CHP system, PV, a gas boiler, a WT, and EVs. The uncertainty associated with EVs was addressed using Monte Carlo simulations, while a grasshopper search-based algorithm was implemented to manage future fluctuations in electricity prices. The model also comprehensively incorporates electric and thermal demand response strategies. Three distinct scheduling scenarios were analyzed, each featuring varying charge/discharge protocols and DR configurations. A thorough framework for energy management and trading in renewable-integrated combination cooling, heating, and power (CCHP) microgrids was created by Riaz et al. [30]. Demand-side management is the primary focus of this framework in order to satisfy each CCHP microgrid’s energy requirements while abiding by a number of restrictions. The microgrid can obtain electricity from nearby CCHP microgrids or the utility if the local renewable energy generation is insufficient to meet the load demands. On the other hand, any extra energy can be sold to nearby microgrids or given back to the utility. Additionally, diesel generators are available to supplement the microgrids’ energy supply in an emergency. In order to create a hybrid energy storage system that combines natural gas, hydrogen, and electric heat, Chen et al. [31] introduced a novel power-to-gas (P2G) conversion technology that incorporates an intermediary buffer link. The power-to-natural gas and power-to-hydrogen phases are the two separate phases of the P2G process. This leads to a two-way coupling system that links ‘‘electricgas-electricity’’ via gas turbines and ‘‘electric hydrogenelectricity’’ through fuel cells. Additionally, fuel cells and concentrated solar power plants were used as a state-ofthe-art combined heat and power (CHP) unit, providing an alternative to traditional CHP techniques. In order to improve the integrated energy system’s scheduling capabilities, they also incorporated flexible load technology. Finally, a mixedinteger programming technique was used to solve the optimization problem and create an economic dispatch model for the electric-heat-gas integrated energy system. Ao et al. [32] incorporated electric heat pumps (EHPs) and absorption heat pumps (AHPs) into the combined heat and power (CHP) system to improve waste heat recovery and operational flexibility. They calculated the optimal capacity of the AHP to optimize waste heat recovery while minimizing overall costs. Subsequently, they proposed an operational optimization model that considered penalties associated with renewable energy curtailment and load shedding. Additionally, they developed evaluation indicators for the integrated systems based on the perspectives of feasible operation regions and system structure. Despite the advancements made in addressing the economic dispatch problem within CHP systems, several gaps remain that warrant further investigation. Firstly, while scheduling challenges associated with CHP systems have been explored, there is a need for more comprehensive approaches that effectively integrate RES and ESS. This integration must consider the numerous technical constraints, particularly the interdependence between heat and power production in CHP units. Additionally, although a model has been developed to depict the non-convex feasible operating regions of CHP units, further research is necessary to fully capture the complex interactions between electricity and heat generation processes under varying operational conditions. Furthermore, the influence of RES, CHP, and BS on active and reactive power losses, operational costs, and voltage profiles requires deeper investigation. Lastly, there is a need for more thorough exploration of how different types of battery storage impact operational costs. Addressing these gaps could significantly enhance the robustness and effectiveness of energy management strategies in CHP systems. In this regard, this paper addresses the economic dispatch problem, which involves optimizing the output of power generation units to meet electricity and heat demands while minimizing operational costs. Consequently, the key contributions of this paper can be outlined as follows: - The scheduling challenges associated with CHP systems have been effectively addressed. The proposed methodology aims to satisfy the total heat and power requirements of the _µ_ G while minimizing costs. This strategy integrates most technical constraints, particularly the interdependencies between heat and power production in CHP units; - A data-driven method using a roulette wheel mechanism based on probability distribution functions is introduced to generate scenarios that model the variations in electrical demand and the intermittent output of WT and PV systems; - Evaluates optimal energy management in _µ_ G through three scenarios: CHP systems alone, CHP with renewable energy sources, and all components including battery storage systems; - A model has been developed to accurately depict the non-convex feasible operating regions of CHP units, capturing the intricate interactions between electricity and heat generation processes; - A framework has been introduced that explicitly accounts for the dual dependency of electricity and thermal output, thereby improving the optimization of resource allocation within CHP systems; - The influence of the RESs, CHP, and BS on the active and reactive power losses, operation costs, and voltage profile are investigated; - To enhance financial efficiency, this study explores strategies for selecting cost-effective technologies. It evaluates five distinct battery types: Lithium-Ion (Li-ion), Sodium-Nickel Chloride (Na-NiCl2), NickelCadmium (NiCd), Sodium-Sulfur (NaS), and Lead-Acid (Pb-A); - This analysis underscores the significance of utilizing diverse energy sources to alleviate voltage fluctuations and maintain adherence to electrical standards. The structure of the paper is as follows: Section I provides the introduction. Section II outlines the configuration of the electrical system. Section III elaborates on the problem formulation. Section IV offers a concise overview of the PSO algorithm utilized. Section V presents the results and their discussion. Finally, Section VI concludes with a summary of the research findings. II. ELECTRICAL SYSTEM CONFIGURATION To assess the effectiveness of the method presented in this study, a revised version of the IEEE 33 bus system, as outlined in references [33], [34], [35], and [36], is utilized. The considered 33-bus _µ_ G is shown in Figure 1. This _µ_ G is a localized energy system that integrates various renewable and conventional power sources to supply electricity to nearby loads while maintaining the flexibility to operate independently from the utility. It includes RESs such as WTs (WT1, WT2, WT3), PV, and BS, along with CHP units (CHP1, CHP2, and CHP3) and an HO unit. As illustrated in Figure 1, CHP1 type-1, CHP2 type-1, and CHP type-2 are installed at buses 14, 21, and 25, respectively, while WT units are positioned at buses 3, 18, and 30. PV unit and BS are situated at buses 33 and 7. Furthermore, the HO unit is located at bus 26. Moreover, the imported power from the main grid (MG) is supplied to bus 1. The _µ_ G is managed by a control center (MGCC), which oversees the energy flow through various switches and converters, optimizing performance and maintaining reliability. It can operate in two modes: connected to the utility for support or feeding excess power back to the grid, or in islanded mode for autonomous operation during grid outages. This setup enhances energy resilience, promotes sustainable energy use, and allows for efficient distribution tailored to local needs [37]. FIGURE 1. Modified IEEE 33-bus construction with RESs, BS, HO, and CHP systems. _A._ _WIND TURBINE (WT)_ A WT station consists of multiple WTs designed to convert wind energy into electrical power. These turbines operate on the principle of aerodynamic lift, where the wind turns the blades, driving a rotor connected to a generator [38]. The efficiency of the station is influenced by factors such as wind speed, turbine design, and site location. Effective integration into the energy grid requires careful consideration of variability in wind patterns and potential energy storage solutions. Additionally, advancements in turbine technology and control systems enhance performance, optimize energy output, and reduce environmental impacts, making wind turbine stations a crucial component of sustainable energy infrastructure. Eq.(1), as shown at the bottom of the next page, shows the relationship between a wind turbine’s power output and wind speed. _WTP_ <sup>_w,r_</sup> and _WTP_ <sup>_w,r,R_</sup> represent the output and rated power of the WT unit number _r_ at hour _w_, respectively. _Wr_ <sup>_w_</sup> <sup>,</sup> <sup>_W_</sup> _r_ <sup>_w_</sup> _,c_ _ut_ - _in_ <sup>,</sup> <sup>_W_</sup> _r_ <sup>_w_</sup> _,c_ _ut_ - _out_ <sup>and</sup> <sup>_W_</sup> _r_ <sup>_w_</sup> _,r_ _ated_ <sup>denote current wind</sup> speed, minimum wind speed for turbine operation, maximum wind speed for safe operation, and rated wind speed for WT unit number _r_ at hour _w_, respectively [39]. and facilitates the integration of intermittent renewable energy sources. Furthermore, the deployment of ESS contributes to reducing greenhouse gas emissions by enabling more sustainable energy practices and supporting the transition to a low-carbon economy [43]. The initial capital outlay of the BS technologies ( _ICOBS_ ) is linked to both their power capacity ( _BSP_ <sup>_C_</sup> <sup>)</sup> <sup>and</sup> <sup>energy</sup> <sup>capacity</sup> <sup>(</sup> <sup>_BS_</sup> _E_ <sup>_C_</sup> <sup>),</sup> <sup>as</sup> <sup>indicated</sup> <sup>in</sup> Eq.(3). In Eq.(3), _CFP_ <sup>_C_</sup> <sup>represents</sup> <sup>the</sup> <sup>cost</sup> <sup>factor</sup> <sup>associated</sup> with the power capacity, while _CFE_ <sup>_C_</sup> <sup>refers to the cost factor</sup> linked to the energy capacity [44]. _P_ - _CFE_ <sup>_C_</sup> _E_ <sup>_C_</sup> <sup>×</sup> <sup>_BS_</sup> _E_ <sup>_C_</sup> _E_ - _CFP_ <sup>_C_</sup> _P_ <sup>_C_</sup> <sup>×</sup> <sup>_BS_</sup> _P_ <sup>_C_</sup> + (3) _P_ <sup>_w,r_</sup> and _WTP_ <sup>_w,r,R_</sup> _ICOBS_ = _r_ <sup>_w_</sup> <sup>,</sup> <sup>_W_</sup> _r_ <sup>_w_</sup> _,_ _r_ <sup>_w_</sup> _,c_ _ut_ - _in_ <sup>,</sup> <sup>_W_</sup> _r_ <sup>_w_</sup> _,_ _r_ <sup>_w_</sup> _,c_ _ut_ - _out_ <sup>and</sup> <sup>_W_</sup> _r_ <sup>_w_</sup> _,_ _B._ _PHOTOVOLTAIC (PV)_ A PV station is a facility that converts sunlight into electricity using solar panels composed of numerous photovoltaic cells. These cells capture solar energy and convert it into direct current (DC) electricity, which is then transformed into alternating current (AC) for integration into the power grid. The efficiency of a PV station is influenced by several factors, including the orientation and inclination of the solar panels, local climate conditions, and the technology used in the solar cells [40]. By harnessing renewable energy, photovoltaic stations contribute significantly to reducing greenhouse gas emissions and promoting sustainable energy solutions. Furthermore, advancements in solar technology and energy storage systems are enhancing the performance and reliability of PV stations, enabling greater adoption and integration into existing energy infrastructures. Eq.(2), as shown at the bottom of the next page, expresses the power output of a photovoltaic system. _PV_ <sup>_NU_</sup> denotes the number of PV panels. _PVP_ <sup>_w,r_</sup> and _PVP_ <sup>_w_</sup> _,_ <sup>_,_</sup> rated <sup>_r_</sup> <sup>denote the power output and rated power</sup> for the WT unit number _r_ at hour _w_, respectively. _LS_ and _Li_ denote the standard solar insolation and the global insolation. _RAT_ and _RTC_ represent the Ambient temperature in degrees Celsius and the temperature coefficient of power. _ηt_ and _ηt_ represent the Efficiency of the PV panels and the inverter efficiency, respectively [39]. _C._ _ENERGY STORAGE SYSTEM (ESS)_ An ESS is a technology designed to capture and store energy for later use, playing a critical role in enhancing the reliability and flexibility of power systems [41]. ESS can take various forms, including batteries, pumped hydro storage, flywheels, and compressed air systems, each offering unique advantages depending on the application [42]. By storing excess energy generated during periods of low demand or high renewable output, such as solar or wind, an ESS helps balance supply and demand, mitigates grid instability, To conduct a comprehensive assessment of the operational costs associated with the _µ_ G, the selection of a BS system is essential. Our analysis focuses on five different BS technologies to identify the most suitable option for integration into the _µ_ G, with the primary objective of effectively minimizing the overall operational expenses of the system. This study evaluates five distinct battery types: Lithium-Ion (Li-ion), Sodium-Nickel Chloride (Na-NiCl2), Nickel-Cadmium (NiCd), SodiumSulfur (NaS), and Lead-Acid (Pb-A). Detailed information regarding cost considerations, efficiency metrics, and lifecycle characteristics of these batteries is provided in Table 1 [45]. TABLE 1. Information data of the different BS technologies. _D._ _COMBINED HEAT AND POWER (CHP) SYSTEM AND_ _HEAT-ONLY UNITS_ CHP systems, also known as cogeneration, are efficient technologies that simultaneously generate electricity and useful thermal energy from a single fuel source [46]. By utilizing the waste heat produced during electricity generation, CHP systems enhance overall energy efficiency, often achieving efficiencies of 70% to 90% [47]. This dual output allows for significant reductions in greenhouse gas emissions and energy costs compared to traditional energy generation methods. CHP systems can be powered by various fuels, including natural gas, biomass, and even waste, making them versatile for different applications, from industrial facilities to residential buildings [48]. The integration of CHP into energy systems not only contributes to a more sustainable energy infrastructure but also provides resilience by reducing reliance on the grid during peak demand periods. As global energy demands evolve, the role of CHP in facilitating energy efficiency and supporting renewable energy integration becomes increasingly vital [49]. The CHP unit is represented in Figures 2 and 3, which illustrates the operating regions for two different CHP units, labeled as CHP type-1, CHP type-2, respectively. The graph plots the active power output (P in MW) against the useful heat output (H in MWth). The shaded area (yellow polygon) represents the feasible operating region for the CHP units, indicating the combinations of power and heat output that the system can achieve simultaneously. FIGURE 2. Power-heat feasible operating zone related to CHP 1 and 2. The direct association for the operating regions of CHP type-1 can be expressed by Eqs 4, 5, 6, as shown at the bottom of the next page, 7, and 8 [23]: The direct association for the operating regions of CHP type-2 can be expressed by Eqs 9,10, 11, 12, as shown at the bottom of the next page, 13, 14, 15, and 16 [23]: _HCHP_ <sup>_w_</sup> _H_ <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,_ 3 <sup>−</sup> <sup>_H_</sup> <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,_ 3 <sup>−</sup> <sup>_H_</sup> <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,E,_ 3 <sup>≥−</sup> _CHP_ <sup>_w_</sup> _,E,_ 3 <sup>≥−</sup> - 1 − _S_ 3 <sup>_w,_</sup> <sup>2</sup> × _Z_ (13) - 1 − _S_ 3 <sup>_w,_</sup> <sup>1</sup> × _Z_ (14) <sup>_W_</sup> _CHP,A,_ 3 <sup>×</sup> <sup>_S_</sup> 3 <sup>_w,_</sup> <sup>2</sup> 0 ≤ _P_ <sup>_W_</sup> _CHP,_ 3 <sup>≤</sup> <sup>_PW_</sup> 3 <sup>_w,_</sup> <sup>2</sup> (15) _CHP_ <sup>_W_</sup> _,C,_ 3 <sup>×</sup> <sup>_S_</sup> 3 <sup>_w,_</sup> <sup>2</sup> 0 ≤ _HCHP_ <sup>_W_</sup> _,_ 3 <sup>≤</sup> <sup>_H_</sup> <sup>_W_</sup> 3 <sup>_w,_</sup> <sup>2</sup> (16) 0 ≤ _HCHP_ <sup>_W_</sup> _,x_ <sup>≤</sup> <sup>_H_</sup> <sup>_W_</sup> 0 ≤ _P_ <sup>_W_</sup> _CHP,x_ <sup>≤</sup> <sup>_PW_</sup> _CHP_ _CHP_ <sup>_W_</sup> _,B,x_ <sup>×</sup> <sup>_U_</sup> _x_ <sup>_w_</sup> _x_ <sup>_w_</sup> (7) _x_ <sup>_w_</sup> (8) The HO unit is engineered to produce thermal energy specifically for heating purposes within power systems [50]. These units are crucial for meeting thermal demands in district heating networks, industrial applications, and residential heating systems. Commonly utilizing fuels such as natural gas, biomass, or waste heat, HOUs achieve high efficiency by converting fuel directly into thermal energy [51]. They play a crucial role in maintaining energy stability and meeting peak heating demands, especially during the winter months. By concentrating solely on heat generation, these units enhance resource efficiency and contribute to lower greenhouse gas emissions when compared to conventional power plants that generate both heat and electricity [52]. III. PROBLEM FORMULATION This study proposes a synchronized managing strategy for CHP and HO units within a _µ_ G, incorporating WTs, PV, and BS. The main objective is to minimize the total operation costs of the _µ_ G while complying with the operational limits. The goal of this study is to optimize _µ_ G operations through day-ahead scheduling. The method entails carefully scheduling the use of different energy resources and loads according to the anticipated supply and demand for the next day. The goal is to improve resource allocation and scheduling by using projected data on load profiles and renewable energy generation. This will ultimately increase operational efficiency and lower overall costs. _A._ _OBJECTIVE FUNCTION_ The objective function for operational costs comprises five components: 1) expenses for active power purchased from <sup>_W_</sup> _CHP,A,x_ <sup>×</sup> <sup>_U_</sup> _x_ <sup>_w_</sup> 0 _,_ _Wr_ <sup>_w_</sup> _r_ <sup>_w_</sup> _,_ cut-in _r_ <sup>_w_</sup> <sup>_< W_</sup> _r_ <sup>_w_</sup> _,_ _r_ <sup>_w_</sup> <sup>≥</sup> <sup>_W_</sup> _r_ <sup>_w_</sup> _,_ �3 <u>�3</u> <sup>_,_</sup> _Wr_ <sup>_w_</sup> _,_ �3 − - _Wr_ <sup>_w_</sup> _,_ cut-in <u>�</u> _Wr_ <sup>_w_</sup> _,_ rated - _Wr_ <sup>_w_</sup> _r_ <sup>_w_</sup> <sup>_< W_</sup> _r_ <sup>_w_</sup> _,_ _r_ <sup>_w_</sup> _,_ rated _WTP_ <sup>_w,r_</sup> =    _WTP_ <sup>_w,r,R_</sup> × _WTP_ <sup>_w,r,R_</sup> (1) <u>�</u> _Wr_ <sup>_w_</sup> _,_ cut-in <u>�</u> _Wr_ <sup>_w_</sup> _,_ <u>�3</u> _r_ <sup>_w_</sup> _,_ cut-in <sup>≤</sup> <sup>_W_</sup> _r_ <sup>_w_</sup> _WTP_ <sup>_w,r,R_</sup> _r_ <sup>_w_</sup> _,_ rated <sup>≤</sup> <sup>_W_</sup> _r_ <sup>_w_</sup> _r_ <sup>_w_</sup> _,_ cut-out _P_ <sup>_w,r,R_</sup> _,_ _Wr_ <sup>_w_</sup> _,_ _r_ <sup>_w_</sup> <sup>_< W_</sup> _r_ <sup>_w_</sup> _,_ 0 _,_ _Wr_ <sup>_w_</sup> _r_ <sup>_w_</sup> _,_ cut-out _(_ 1 − _RTC (RAT_ - 25 _)) Cηt_ (2) _PVP_ <sup>_w,r_</sup> _P_ <sup>_w,r_</sup> = _PV_ <sup>_NU_</sup> _PVP_ <sup>_w_</sup> _,_ <sup>_,r_</sup> _P,_ rated - _<u>Li</u>_ _LS_ Eq.(18), as shown at the bottom of the next page, models how the power output and heat output of a CHP system contribute to overall costs of the system. In the function _fx_ - _P_ <sup>_w_</sup> _CHP,x_ <sup>_, H_</sup> _CHP_ <sup>_w_</sup> _,x_ �, _Ax_, _Bx_, _Cx_, _Dx_, _Ex_, and _Fx_ represent - _P_ <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,x_ _fx_ - _P_ <sup>_w_</sup> _CHP,x_ <sup>_, H_</sup> _CHP_ <sup>_w_</sup> _,x_ �, _Ax_, _Bx_, _Cx_, _Dx_, _Ex_, and _Fx_ represent cost coefficients associated to the CHP system’s cost. The cost of the HO units is described in Eq.(19). In the function _fy_ - _HH_ <sup>_w_</sup> _,y_ �, _Zy_, _Qy_,and _Ky_ represent the constants specific to <sup>_w_</sup> _CHP,x_ <sup>_, H_</sup> <sup>_w_</sup> _fy_ - _HH_ <sup>_w_</sup> _,y_ �, _Zy_, _Qy_,and _Ky_ represent the constants specific to the HO unit’s cost. - _HH_ <sup>_w_</sup> _H_ _,y_ - _HH_ <sup>_w_</sup> _,y_ - _HH_ <sup>_w_</sup> _,y_ - _HH_ <sup>_w_</sup> _,_ = _Zy_ - _HH_ <sup>_w_</sup> _,y_ - _HH_ <sup>_w_</sup> �2 + _Qy_ + _Ky_ (19) _fy_ during the year, denoted as _MBS_ <sup>_NC_</sup> <sup>.</sup> Eqs.(20 and 21) used to calculate the _MBS_ <sup>_NC_</sup> FIGURE 3. Power-heat feasible operating zone related to CHP3. The costs associated with the BS system encompass several factors, including the initial capital outlay and expenses for replacements throughout the project’s duration. To assess the necessary number of replacements for the BS system throughout the project’s lifespan, it is essential to first calculate the total number of charge and discharge cycles during the year, denoted as _MBS_ <sup>_NC_</sup> <sup>.</sup> Eqs.(20 and 21) used to calculate the _MBS_ <sup>_NC_</sup> <sup>.</sup> <sup>In</sup> <sup>Eq.</sup> <sup>3,</sup> _O_ <sup>_cy_</sup> _BS_ <sup>(</sup> <sup>_w, d_</sup> <sup>)</sup> <sup>indicates</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>cycles</sup> <sup>as</sup> <sup>a</sup> <sup>function</sup> <sup>of</sup> _P_ <sup>_w,r_</sup> ) and PV _PVP_ <sup>_w,r_</sup> DERs such as WT ( _WTP_ <sup>_w,r_</sup> DERs such as WT ( _WTP_ <sup>_w,r_</sup> ) and PV _PVP_ <sup>_w,r_</sup> units at each hour _w_, 2) costs related to power exchanges with the main utility ( _UTP_ <sup>_w_</sup> <sup>)</sup> <sup>at</sup> <sup>each</sup> <sup>hour</sup> <sup>_w_</sup> <sup>,</sup> <sup>3)</sup> <sup>expenses</sup> <sup>related</sup> <sup>with</sup> heat-only units - _fy_ - _HH_ <sup>_w_</sup> _,y_ ��, 4) costs linked to CHP systems heat-only units - _fy_ - _HH_ <sup>_w_</sup> _,y_ ��, 4) costs linked to CHP systems - _fx_ - _P_ <sup>_w_</sup> _CHP,x_ <sup>_, H_</sup> _CHP_ <sup>_w_</sup> _,x_ ��, and 5) the total daily expenditures _BS_ <sup>_L_</sup> <sup>,</sup> <sup>as</sup> <sup>shown</sup> <sup>in</sup> <sup>Eq.</sup> <sup>22.</sup> <sup>_Z_</sup> _BS_ <sup>_L_</sup> _fy_ - _HH_ <sup>_w_</sup> _H_ _,y_ - _fx_ - _P_ <sup>_w_</sup> _CHP,x_ <sup>_, H_</sup> _CHP_ <sup>_w_</sup> _,x_ ��, and 5) the total daily expenditures for ESS ( _DBS_ ). Thus, the operational cost objective function is formulated as Eq.17, as shown at the bottom of the next page. where _MPR_ <sup>_w_</sup> _Ut_ <sup>,</sup> <sup>_Bid_</sup> _WT_ <sup>_w,r_</sup> <sup>and</sup> <sup>_Bid_</sup> _pv_ <sup>_w_</sup> <sup>denote</sup> <sup>the</sup> <sup>market</sup> <sup>price</sup> of the main grid at each hour _w_, the cost of kWh of the WT and PV at each hour _w_, respectively. _NCHP_, _NH_, _NWT_, and _NPV_ represent the number units of CHP, HO, WT, and PV, respectively. _O_ <sup>_cy_</sup> _BS_ <sup>(</sup> <sup>_w, d_</sup> <sup>)</sup> <sup>indicates</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>cycles</sup> <sup>as</sup> <sup>a</sup> <sup>function</sup> <sup>of</sup> w and working day ( _d_ ). In this study, the total number of working days per year is fixed at 365. The binary variable ( _STw_ ) indicates the status of the BS at _w_ and _d_ : it takes a value of 0 when the BS is discharging and 1 when it is charging. Once the _MBS_ <sup>_NC_</sup> <sup>are determined, the lifespan of the</sup> ESS, represented as _ZBS_ <sup>_L_</sup> <sup>, can be estimated based on</sup> <sup>_M_</sup> _BS_ <sup>_NC_</sup> <sup>and</sup> the ESS’s rated _MBS_ <sup>_L_</sup> <sup>,</sup> <sup>as</sup> <sup>shown</sup> <sup>in</sup> <sup>Eq.</sup> <sup>22.</sup> <sup>_Z_</sup> _BS_ <sup>_L_</sup> <sup>is</sup> <sup>important</sup> for predicting how often replacements will be necessary throughout the project ( _PLT_ ). This information allows for the integration of total replacement costs into the costs of the BS. By considering both _ICOBS_ and the expected replacement expenses, a comprehensive evaluation of the total daily cost of the BS can be achieved. This thorough cost analysis is vital for determining the long-term economic feasibility and competitiveness of implementing BS within the larger _BS_ <sup>_L_</sup> <sup>, can be estimated based on</sup> <sup>_M_</sup> _BS_ <sup>_NC_</sup> - _P_ <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,x_ <sup>_w_</sup> _CHP,x_ <sup>_, H_</sup> <sup>_w_</sup> <sup>_w_</sup> _Ut_ <sup>,</sup> <sup>_Bid_</sup> _WT_ <sup>_w,r_</sup> where _MPR_ <sup>_w_</sup> _Ut_ _WT_ <sup>_w,r_</sup> <sup>and</sup> <sup>_Bid_</sup> _pv_ <sup>_w_</sup> × _P_ <sup>_w_</sup> <sup>_w_</sup> _CHP,x_ <sup>−</sup> <sup>_Pw_</sup> <sup>_w_</sup> _CHP,A,x_ <sup>−</sup> _<u>CHP,A,x</u>_ <sup>−</sup> <sup>_P_</sup> _<u>CHP</u>_ <sup>_w_</sup> _<u>,B,x</u>_ _HCHP_ <sup>_w_</sup> _,A,x_ <sup>−</sup> <sup>_H_</sup> _CHP_ <sup>_w_</sup> _,B,x_ <sup>_w_</sup> _CHP,A,x_ - ≤ 0 (4) _P_ <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,B,x_ - _H_ <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,x_ <sup>−</sup> <sup>_Pw_</sup> - _H_ <sup>_w_</sup> - ≥− _P_ <sup>_w_</sup> <sup>_w_</sup> _CHP,x_ <sup>−</sup> <sup>_Pw_</sup> <sup>_w_</sup> _CHP,B,x_ <sup>−</sup> _<u>CHP,B,x</u>_ <sup>−</sup> <sup>_Pw_</sup> _<u>CHP,C,x</u>_ _HCHP_ <sup>_w_</sup> _,B,x_ <sup>−</sup> <sup>_H_</sup> _CHP_ <sup>_w_</sup> _,C,x_ <sup>_w_</sup> _CHP,B,x_ - × _Z_ (5) _P_ <sup>_w_</sup> <sup>_w_</sup> _<u>CHP,A,x</u>_ <sup>−</sup> <sup>_P_</sup> _<u>CHP</u>_ <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,A,x_ <sup>−</sup> <sup>_H_</sup> _CHP_ <sup>_w_</sup> <sup>_w_</sup> _<u>CHP,B,x</u>_ <sup>−</sup> <sup>_Pw_</sup> _<u>CHP</u>_ _CHP_ <sup>_w_</sup> _,B,x_ <sup>−</sup> <sup>_H_</sup> _CHP_ <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,C,x_ �1 − _Ux_ <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,x_ <sup>−</sup> <sup>_Pw_</sup> - _H_ <sup>_w_</sup> - ≥− _P_ <sup>_w_</sup> <sup>_w_</sup> _CHP,x_ <sup>−</sup> <sup>_Pw_</sup> <sup>_w_</sup> _CHP,C,x_ <sup>−</sup> <sup>_w_</sup> _CHP,C,x_ - × _Z_ (6) _<u>CHP,C,x</u>_ <sup>−</sup> <sup>_Pw_</sup> _<u>CHP,D,x</u>_ _HCHP_ <sup>_w_</sup> _,C,x_ <sup>−</sup> <sup>_H_</sup> _CHP_ <sup>_w_</sup> _,D,x_ _P_ <sup>_w_</sup> <sup>_w_</sup> _<u>CHP,C,x</u>_ <sup>−</sup> <sup>_Pw_</sup> _CHP_ <sup>_w_</sup> _,C,x_ <sup>−</sup> <sup>_H_</sup> <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,D,x_ �1 − _Ux_ <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,x_ <sup>−</sup> <sup>_Pw_</sup> - _H_ <sup>_w_</sup> _P_ <sup>_w_</sup> <sup>_w_</sup> _CHP,_ 3 <sup>−</sup> <sup>_P_</sup> _CHP_ <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,B,_ 3 <sup>−</sup> _CHP_ <sup>_w_</sup> _,B,_ 3 - ≤ 0 (9) _P_ <sup>_w_</sup> _<u>CHP,B,</u>_ <u>3</u> <sup>−</sup> <sup>_Pw_</sup> _<u>CHP,C,</u>_ <u>3</u> _HCHP_ <sup>_w_</sup> _,B,_ 3 <sup>−</sup> <sup>_H_</sup> _CHP_ <sup>_w_</sup> _,C,_ 3 _CHP_ <sup>_w_</sup> _,C,_ 3 _CHP_ <sup>_w_</sup> _,_ 3 <sup>−</sup> <sup>_H_</sup> _CHP_ <sup>_w_</sup> - _H_ <sup>_w_</sup> _P_ <sup>_w_</sup> <sup>_w_</sup> _CHP,_ 3 <sup>−</sup> <sup>_Pw_</sup> _CHP_ <sup>_w_</sup> _CHP,C,_ 3 <sup>−</sup> _P_ <sup>_w_</sup> _<u>CHP,C,</u>_ <u>3</u> <sup>−</sup> <sup>_Pw_</sup> _<u>CHP,D,</u>_ <u>3</u> _HCHP_ <sup>_w_</sup> _,C,_ 3 <sup>−</sup> <sup>_H_</sup> _CHP_ <sup>_w_</sup> _,D,_ 3 _CHP_ <sup>_w_</sup> _,C,_ 3 - ≥ _(_ 0 _)_ (10) <sup>_w_</sup> _<u>CHP,B,</u>_ <u>3</u> <sup>−</sup> <sup>_Pw_</sup> _<u>CHP</u>_ _CHP_ <sup>_w_</sup> _,B,_ 3 <sup>−</sup> <sup>_H_</sup> _CHP_ <sup>_w_</sup> <sup>_w_</sup> _<u>CHP,C,</u>_ <u>3</u> <sup>−</sup> <sup>_Pw_</sup> _<u>CHP</u>_ _CHP_ <sup>_w_</sup> _,C,_ 3 <sup>−</sup> <sup>_H_</sup> _CHP_ <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,D,_ 3 _CHP_ <sup>_w_</sup> _,_ 3 <sup>−</sup> <sup>_H_</sup> <sup>_w_</sup> - _H_ <sup>_w_</sup> _P_ <sup>_w_</sup> <sup>_w_</sup> _CHP,_ 3 <sup>−</sup> <sup>_Pw_</sup> _CHP_ <sup>_w_</sup> _CHP,E,_ 3 <sup>−</sup> _CHP_ <sup>_w_</sup> _,E,x_ - 1 − _S_ 3 <sup>_w,_</sup> <sup>1</sup> × _Z_ (11) - 1 − _S_ 3 <sup>_w,_</sup> <sup>2</sup> × _Z_ (12) _P_ <sup>_w_</sup> _<u>CHP,E,</u>_ <u>3</u> <sup>−</sup> <sup>_Pw_</sup> _<u>CHP,F,</u>_ <u>3</u> _HCHP_ <sup>_w_</sup> _,E,_ 3 <sup>−</sup> <sup>_H_</sup> _CHP_ <sup>_w_</sup> _,F,_ 3 _CHP_ <sup>_w_</sup> _,F,_ 3 _CHP_ <sup>_w_</sup> _,_ 3 <sup>−</sup> <sup>_Pw_</sup> - _H_ <sup>_w_</sup> _P_ <sup>_w_</sup> <sup>_w_</sup> _CHP,_ 3 <sup>−</sup> <sup>_Pw_</sup> _CHP_ <sup>_w_</sup> _CHP,D,_ 3 <sup>−</sup> _CHP_ <sup>_w_</sup> _,D,x_ - ≥− - ≥− _P_ <sup>_w_</sup> _<u>CHP,D,</u>_ <u>3</u> <sup>−</sup> <sup>_Pw_</sup> _<u>CHP,E,</u>_ <u>3</u> _HCHP_ <sup>_w_</sup> _,D,_ 3 <sup>−</sup> <sup>_H_</sup> _CHP_ <sup>_w_</sup> _,E,_ 3 <sup>_w_</sup> _<u>CHP,E,</u>_ <u>3</u> <sup>−</sup> <sup>_Pw_</sup> _<u>CHP</u>_ _CHP_ <sup>_w_</sup> _,E,_ 3 <sup>−</sup> <sup>_H_</sup> <sup>_w_</sup> <sup>_w_</sup> _<u>CHP,D,</u>_ <u>3</u> <sup>−</sup> <sup>_Pw_</sup> _<u>CHP</u>_ _CHP_ <sup>_w_</sup> _,D,_ 3 <sup>−</sup> <sup>_H_</sup> <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,E,_ 3 _CHP_ <sup>_w_</sup> _,_ 3 <sup>−</sup> <sup>_Pw_</sup> energy framework. Consequently, the total number of BS replacements ( _NBS_ <sup>_R_</sup> <sup>)</sup> <sup>over</sup> <sup>the</sup> <sup>_PLT_</sup> <sup>can</sup> <sup>be</sup> <sup>represented</sup> <sup>as</sup> indicated in Eq. 23. The _DBS_ can then be calculated by Eq. 24. Additionally, _r_ represents the interest rate associated with financing the BS. _O_ <sup>_cy_</sup> _BS_ <sup>(</sup> <sup>_w, d_</sup> <sup>) =</sup> <sup>_(STw_</sup> <sup>−</sup> <sup>_STw_</sup> <sup>−1</sup> <sup>_) STw,_</sup> ∀ _w_ ∈ 24 _,_ ∀ _d_ ∈ 365 (20) _MBS_ <sup>_NC_</sup> <sup>=</sup> 365 _d_ =1 24 _w_ =1 _O_ <sup>_cy_</sup> _BS_ <sup>(</sup> <sup>_w, d_</sup> <sup>)</sup> (21) _O_ <sup>_cy_</sup> _BS_ _BS_ <sup>_L_</sup> <sup>=</sup> <sup>_M_</sup> _<u>BS</u>_ <sup>_L_</sup> _MBS_ <sup>_NC_</sup> _BS_ <sup>_R_</sup> <sup>=</sup> <sup>_<u>PLT</u>_</sup> (22) (23) _ZBS_ <sup>_L_</sup> _<u>BS</u>_ <sup>_M_</sup> <sup>_L_</sup> _MBS_ <sup>_NC_</sup> CHP units face various constraints that are crucial for their efficient and dependable operation. Firstly, the power output must be maintained within specified minimum and maximum thresholds to guarantee that the unit functions within its intended design parameters. Furthermore, the thermal output produced by the CHP must correspond to the heat demand of the connected load, ensuring adequate heat generation without surplus, while adhering to the thermal output limits of the CHP units, as illustrated in Eqs. 31 and 32, as shown at the bottom of the next page. Additionally, the output heat of HO units essential operate within its specified capacity at all times, as outlined in Eq. 33. (33) 2) Battery storage constraints: There are constraints on the charge and discharge power from the batteries as illustrated in Eqs. 29 and 30, there are also constraints on their storage capacity ( _EBS_ <sup>_w_</sup> <sup>), as shown in Eq. 34.</sup> _BS_ _HH_ <sup>_w,_</sup> _,_ <sup>min</sup> _y_ _H_ <sup>_w,_</sup> _,_ <sup>min</sup> _y_ ≤ _HH_ <sup>_w_</sup> _,_ _H_ <sup>_w_</sup> _,y_ <sup>≤</sup> <sup>_H_</sup> _H_ <sup>_w,_</sup> _,_ <sup>min</sup> _y_ _H_ <sup>_w,_</sup> _,_ <sup>min</sup> _y_ _,_ ∀ _y_ ∈ _NH_ _,_ ∀ _w_ = 1 _, . . .,_ 24 _NBS_ <sup>_R_</sup> _Z_ <sup>_L_</sup> _BS_ <u>1</u> _DBS_ = 356 ∗ _PLT_ - _<u>r</u>_ <u>(1 +</u> _<u>r</u>_ <u>)</u> _PLT_ _BS_ (1 + _r_ ) <sup>_PLT_</sup> <sup>−1</sup> <sup>×</sup> <sup>_ICOBS_</sup> <sup>×</sup> <sup>_N R_</sup> _BS_ (24) _B._ _CONSTRAINTS_ 1) Active power and heat power balance: The balance of active power and heat power is essential for maintaining the efficiency and reliability of _µ_ G. The combined output power from the CHP systems, WT units, PV units the main utility, and the power discharged of BS ( _P_ <sup>_w_</sup> _BS_ <sup>_,d_</sup> <sup>_is_</sup> ) must align with the total electrical demand ( _P_ <sup>_w_</sup> _ED_ <sup>)</sup> <sup>and</sup> <sup>the</sup> <sup>power</sup> <sup>charged</sup> <sup>of</sup> <sup>BS</sup> <sup>(</sup> <sup>_P_</sup> _BS_ <sup>_w,c_</sup> <sup>_h_</sup> ) at each _w_, as illustrated in Eq. 25, as shown at the bottom of the next page. The combined output heat from the CHP systems ( _HCHP_ <sup>_w_</sup> _,x_ <sup>)</sup> <sup>and</sup> <sup>the</sup> <sup>HO</sup> <sup>units</sup> <sup>(</sup> <sup>_H_</sup> _H_ <sup>_w_</sup> _,y_ <sup>)</sup> <sup>must</sup> <sup>align</sup> <sup>with</sup> <sup>the</sup> <sup>heat</sup> load ( _HHL_ <sup>_w_</sup> <sup>) at each</sup> <sup>_w_</sup> <sup>, as illustrated in Eq. 26.</sup> _SBS_ <sup>_w_</sup> <sup>represents</sup> <sup>the</sup> <sup>state</sup> <sup>of</sup> <sup>charge</sup> <sup>of</sup> <sup>the</sup> <sup>BS</sup> <sup>system,</sup> which must remain within defined minimum and maximum constraints, as illustrated in Eq.35. _SBS_ <sup>_w,i_</sup> <sup>_n_</sup> represents the initial state of charge of BS, which is set at the beginning ( _w_ =1). At the _w_ =24, _SBS_ <sup>_w_</sup> <sup>must match the</sup> <sup>_S_</sup> _BS_ <sup>_w,i_</sup> <sup>_n_</sup> to ensure it remains unchanged, as outlined in Eq. 36. The total _P_ <sup>_w_</sup> _BS_ <sup>_,d_</sup> <sup>_is_</sup> during the day is equal to the total _P_ <sup>_w_</sup> _BS_ <sup>_,ch_</sup> <sup>,</sup> considering the efficiency of the BS, as explained in Eq. 37. The _SBS_ <sup>_w_</sup> <sup>at</sup> <sup>the</sup> <sup>hour</sup> <sup>_w_</sup> <sup>depends</sup> <sup>on</sup> <sup>the</sup> <sup>previous</sup> <sup>_S_</sup> _BS_ <sup>_w_</sup> <sup>−1</sup> _BS_ <sup>_w_</sup> <sup>at</sup> <sup>the</sup> <sup>hour</sup> <sup>_w_</sup> <sup>depends</sup> <sup>on</sup> <sup>the</sup> <sup>previous</sup> <sup>_S_</sup> _BS_ <sup>_w_</sup> <sup>−1</sup> _EBS_ <sup>_w,_</sup> <sup>min</sup> _BS_ <sup>_w_</sup> <sup>≤</sup> <sup>_E_</sup> _BS_ <sup>_w,_</sup> <sup>max</sup> _BS_ <sup>_w,_</sup> <sup>max</sup> _,_ ∀ _w_ = 1 _, . . .,_ 24 (34) _BS_ <sup>_w,_</sup> <sup>min</sup> ≤ _EBS_ <sup>_w_</sup> _S_ <sup>_w_</sup> <sup>_w_</sup> _ED_ <sup>)</sup> <sup>and</sup> <sup>the</sup> <sup>power</sup> <sup>charged</sup> <sup>of</sup> <sup>BS</sup> <sup>(</sup> <sup>_P_</sup> _BS_ <sup>_w,c_</sup> <sup>_h_</sup> _BS_ <sup>_w_</sup> <sup>must match the</sup> <sup>_S_</sup> _BS_ <sup>_w,i_</sup> <sup>_n_</sup> _CHP_ <sup>_w_</sup> _,x_ <sup>)</sup> <sup>and</sup> <sup>the</sup> <sup>HO</sup> <sup>units</sup> <sup>(</sup> <sup>_H_</sup> _H_ <sup>_w_</sup> The total _P_ <sup>_w_</sup> _BS_ <sup>_,d_</sup> <sup>_is_</sup> <sup>_w_</sup> _BS_ <sup>_,d_</sup> <sup>_is_</sup> during the day is equal to the total _P_ <sup>_w_</sup> _BS_ <sup>_,ch_</sup> <sup>,</sup> _HL_ <sup>_w_</sup> <sup>) at each</sup> <sup>_w_</sup> <sup>, as illustrated in Eq. 26.</sup> _NC_ _x_ =1 _HCHP_ <sup>_w_</sup> _,x_ <sup>+</sup> _H_ <sup>_w_</sup> _NH_ _y_ =1 _HH_ <sup>_w_</sup> _H_ <sup>_w_</sup> _,y_ <sup>=</sup> <sup>_H_</sup> _HL_ <sup>_w_</sup> _HL_ <sup>_w_</sup> ∀ _w_ = 1 _, . . . ._ 24 (26) _BS_ along with the amount of _P_ <sup>_w_</sup> _BS_ <sup>_,ch_</sup> and _P_ <sup>_w_</sup> _BS_ <sup>_,d_</sup> <sup>_is_</sup> at the same along with the amount of _P_ <sup>_w_</sup> _BS_ <sup>_,ch_</sup> and _P_ <sup>_w_</sup> _BS_ <sup>_,d_</sup> <sup>_is_</sup> at the same w, as explained in Eq.38. <sup>_w_</sup> _BS_ <sup>_,ch_</sup> and _P_ <sup>_w_</sup> _BS_ <sup>_,d_</sup> <sup>_is_</sup> _BS_ <sup>_w_</sup> <sup>≤</sup> <sup>_S_</sup> _BS_ <sup>_w,_</sup> <sup>max</sup> _BS_ <sup>_w,_</sup> <sup>max</sup> _,_ ∀ _w_ = 1 _, . . .,_ 24 (35) Moreover, the _WTP_ <sup>_w,r_</sup> _P_ <sup>_w,r_</sup>, _PVP_ <sup>_w,r_</sup> _P_ <sup>_w,r_</sup>, _P_ <sup>_w_</sup> _BS_ <sup>_,dis_</sup> <sup>_w_</sup> _BS_ <sup>_,dis_</sup>, and _P_ <sup>_w_</sup> _BS_ <sup>_,ch_</sup> _S_ <sup>_w_</sup> _BS_ <sup>_w_</sup> <sup>=</sup> <sup>_S_</sup> _BS_ <sup>_w,i_</sup> <sup>_n_</sup> Moreover, the _WTP_ <sup>_w,r_</sup>, _PVP_ <sup>_w,r_</sup>, _P_ <sup>_w_</sup> _BS_ <sup>_,dis_</sup>, and _P_ <sup>_w_</sup> _BS_ <sup>_,ch_</sup> must remain within their specified minimum and maximum limits as illustrated in Eqs. 27, 28, 29, and 30 respectively. _SBS_ <sup>_w,_</sup> <sup>min</sup> _BS_ <sup>_w,_</sup> <sup>min</sup> ≤ _SBS_ <sup>_w_</sup> _BS_ <sup>_w,i_</sup> <sup>_n_</sup> _,_ _h_ = 24 (36) 24 _w_ =1 _P_ <sup>_w_</sup> _BS_ <sup>_,c_</sup> <sup>_h_</sup> × _η_ <sup>_BS_</sup> (37) _WTP_ <sup>_w_</sup> _,_ <sup>_,r_</sup> _PVP_ <sup>_w_</sup> _,_ <sup>_,r_</sup> _P_ <sup>_w_</sup> _,_ <sup>_,_</sup> min <sup>_r_</sup> <sup>≤</sup> <sup>_WT_</sup> _P_ <sup>_w,r_</sup> _P_ <sup>_w_</sup> _,_ <sup>_,_</sup> min <sup>_r_</sup> <sup>≤</sup> <sup>_PV_</sup> _P_ <sup>_w,r_</sup> _P_ <sup>_w,r_</sup> ≤ _WTP_ <sup>_w_</sup> _,_ <sup>_,r_</sup> _P_ <sup>_w,r_</sup> ≤ _PVP_ <sup>_w_</sup> _,_ <sup>_,r_</sup> _P_ <sup>_w_</sup> _,_ <sup>_,_</sup> max <sup>_r_</sup> <sup>_,_</sup> ∀ _w_ = 1 _, . . .,_ 24 (28) _P_ <sup>_w_</sup> _,_ <sup>_,_</sup> max <sup>_r_</sup> <sup>_,_</sup> ∀ _w_ = 1 _, . . .,_ 24 (27) 24 _w_ =1 _P_ <sup>_w_</sup> _BS_ <sup>_,d_</sup> <sup>_is_</sup> = _P_ <sup>_w_</sup> _BS_ <sup>_,c_</sup> <sup>_h_</sup> <sup>_w_</sup> _BS_ <sup>_,c_</sup> <sup>_h_</sup> - _�wP_ <sup>_w_</sup> _BS_ <sup>_,d_</sup> <sup>_is_</sup> <sup>_w_</sup> _BS_ <sup>_,c_</sup> <sup>_h_</sup> - _�wP_ <sup>_w_</sup> _BS_ <sup>_,d_</sup> <sup>_is_</sup> _BS_ _w_ = 1 <sup>_w_</sup> _BS_ <sup>_,d_</sup> <sup>_is_</sup> _,_ - _SBS_ <sup>_w,i_</sup> <sup>_n_</sup> _SBS_ <sup>_w,i_</sup> <sup>_n_</sup> + _�wη_ <sup>_BS_</sup> _P_ <sup>_w_</sup> _BS_ <sup>_,c_</sup> <sup>_h_</sup> - _�wP_ <sup>_w_</sup> _BS_ <sup>_,d_</sup> <sup>_is_</sup> _,_ _SBS_ <sup>_w_</sup> <sup>−1</sup> + _�wη_ <sup>_BS_</sup> _P_ <sup>_w_</sup> _BS_ <sup>_,c_</sup> <sup>_h_</sup> - _�wP_ <sup>_w_</sup> _BS_ <sup>_,d_</sup> <sup>_is_</sup> _,_ _BS_ <sup>_w,i_</sup> <sup>_n_</sup> + _�wη_ <sup>_BS_</sup> _P_ <sup>_w_</sup> _BS_ <sup>_,c_</sup> <sup>_h_</sup> _BS_ <sup>_w_</sup> <sup>−1</sup> + _�wη_ <sup>_BS_</sup> _P_ <sup>_w_</sup> _BS_ <sup>_,c_</sup> <sup>_h_</sup> _P_ <sup>_w_</sup> _BS_ <sup>_,ch_</sup> _P_ <sup>_w_</sup> _BS_ <sup>_,dis_</sup> <sup>_w_</sup> _BS_ <sup>_,ch_</sup> ≤ _P_ <sup>_w_</sup> _BS_ <sup>_,ch_</sup> _,_ max <sup>_w_</sup> _BS_ <sup>_,dis_</sup> ≤ _P_ <sup>_w_</sup> _BS_ <sup>_,dis_</sup> _,_ max <sup>_w_</sup> _BS_ <sup>_,ch_</sup> _,_ max <sup>_,_</sup> ∀ _w_ = 1 _, . . .,_ 24 (29) <sup>_w_</sup> _BS_ <sup>_,dis_</sup> _,_ max <sup>_,_</sup> ∀ _w_ = 1 _, . . .,_ 24 (30) (38) _SBS_ <sup>_w_</sup> <sup>=</sup> _NCHP_ _x_ =1 �� + _MPR_ <sup>_w_</sup> _Ut_ <sup>_w_</sup> _Ut_ <sup>×</sup> <sup>_UT_</sup> _P_ <sup>_w_</sup> _P_ _CHP_ <sup>_w_</sup> _,x_ <sup>_w_</sup> _CHP,x_ <sup>_, H_</sup> <sup>_w_</sup> _OBj_ = 24 [ _w_ =1 - _fx_ - _P_ <sup>_w_</sup> _NH_ �� + _y_ =1 _fy_ - _HH_ <sup>_w_</sup> _,y_ - _HH_ <sup>_w_</sup> + <sup>_w_</sup> _P_ <sup>_,r_</sup> _P_ + _NWT_ _r_ =1 _BidWT_ <sup>_w,r_</sup> _WT_ <sup>_w,r_</sup> <sup>×</sup> <sup>_WT w_</sup> _P_ <sup>_,r_</sup> _NPV_ _r_ =1 _Bidpv_ <sup>_w_</sup> _pv_ <sup>_w_</sup> <sup>×</sup> <sup>_PV w_</sup> _P_ <sup>_,r_</sup> + _DBS_ (17) - + _Cx_ + _Dx_ - + _FxP_ <sup>_w_</sup> <sup>_w_</sup> _CHP,x_ <sup>_H_</sup> <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,x_ - = _Ax_ �2 + _Bx_ - _P_ <sup>_w_</sup> _CHP,x_ �2 + _Bx_ - _P_ <sup>_w_</sup> �2 + _Ex_ - _HCHP_ <sup>_w_</sup> _,x_ �2 + _Ex_ - _H_ <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,x_ (18) - _HCHP_ <sup>_w_</sup> _,x_ _fx_ - _P_ <sup>_w_</sup> <sup>_w_</sup> _CHP,x_ <sup>_, H_</sup> <sup>_w_</sup> - _P_ <sup>_w_</sup> _CHP,x_ IV. PARTICLE SWARM OPTIMIZATION (PSO) PSO is a widely recognized optimization technique that draws inspiration from the collective behavior observed in bird flocks and fish schools [53]. Its application spans numerous fields, including energy systems, where it effectively addresses complex optimization challenges. This section outlines the methodology, procedural steps, and fundamental principles underlying the implementation of the PSO algorithm [54]. The process begins with the initialization of a population of particles, each representing a potential solution. Through iterative updates, these particles converge towards an optimal solution. In the context of PSO, the decision variables correspond to the positional vectors of the particles. Each particle, denoted as _j_, possesses a position vector _Q_ and a velocity vector _A_ at each iteration, which can be mathematically represented as follows [55]: _j_ <sup>_i_</sup> _,N_ _Q_ <sup>_i_</sup> _j_ <sup>=</sup> - _Q_ <sup>_i_</sup> _j,_ <sup>_i_</sup> _j,_ 1 <sup>_,_</sup> _Q_ <sup>_i_</sup> _j_ <sup>_i_</sup> _j,_ 2 <sup>_, . . . . . . ., Q_</sup> _j_ <sup>_i_</sup> <sup>_i_</sup> _j,_ 2 <sup>_, . . . . . . ., A_</sup> _j_ <sup>_i_</sup> _j_ <sup>_i_</sup> _,N_ _A_ <sup>_i_</sup> _j_ <sup>=</sup> - _A_ <sup>_i_</sup> _j_ <sup>_i_</sup> _j,_ 1 <sup>_,_</sup> _A_ <sup>_i_</sup> _j,_ (39) (40) let _N_ represent the total number of decision variables. During each iteration, every particle strives to improve its position by utilizing its updated velocity, personal historical experiences, and the collective experiences of other particles within the swarm. The mathematical representations of this process are as follows (41), as shown at the bottom of the next page. <sup>_i_</sup> _j,n_ <sup>=</sup> <sup>_Qi_</sup> _j_ <sup>−</sup> _,n_ <sup>1</sup> _Q_ <sup>_i_</sup> _j_ <sup>_i_</sup> _j_ <sup>−</sup> _,n_ <sup>1</sup> <sup>+</sup> <sup>_Q_</sup> _j_ <sup>_i_</sup> _j_ <sup>_i_</sup> _,n_ (42) In these equations, _γ_ denotes the inertia weight, while _e_ 1 and _e_ 2 are learning factors. The terms _v_ <sup>_n_</sup> 1 <sup>and</sup> <sup>_vn_</sup> 2 <sup>are random values</sup> _e_ 2 are learning factors. The terms _v_ <sup>_n_</sup> 1 <sup>and</sup> <sup>_vn_</sup> 2 <sup>are random values</sup> uniformly distributed in the interval [0, 1]. The variables _R_ <sup>_i_</sup> best <sup>−1</sup> _j,n_ <sup>and</sup> <sup>_Q_</sup> _j_ <sup>_i_</sup> _,_ <sup>−</sup> _n_ <sup>1</sup> <sup>represent the best positions of the</sup> <sup>_jth_</sup> <sup>particle</sup> _R_ <sup>_i_</sup> best <sup>−1</sup> _j,n_ <sup>and</sup> <sup>_Q_</sup> _j_ <sup>_i_</sup> _,_ <sup>−</sup> _n_ <sup>1</sup> <sup>represent the best positions of the</sup> <sup>_jth_</sup> <sup>particle</sup> and the overall swarm in the previous iteration, respectively. The updated velocities must adhere to specified bounds: <sup>_i_</sup> best <sup>−1</sup> _j,n_ <sup>and</sup> <sup>_Q_</sup> _j_ <sup>_i_</sup> _,_ <sup>−</sup> _n_ <sup>1</sup> - _A_ <sup>max</sup> _n_ <sup>max</sup> _n_ (43) <sup>max</sup> _n_ ≤ _Aj,n_ ≤ _A_ <sup>max</sup> _n_ FIGURE 4. The flowchart of the introduced method. V. SIMULATION RESULTS WITH ANALYTICAL DISCUSSION The analyzed 33-bus _µ_ G is depicted in Figure 1. This configuration includes two varieties of CHP units, HO units, WT, PV units, and BS. In Figure 1, CHP type-1 is located at buses 14 and 21, while CHP type-2 is situated at bus 25. <sup>max</sup> _j,n_ <sup>=</sup> <sup>_<u>Q</u>_</sup> _<u>n</u>_ <sup>max</sup> _<u>n</u>_ (44) _β_ _A_ <sup>max</sup> _j,n_ _<u>n</u>_ - _<u>Q</u>_ <sup>min</sup> _<u>n</u>_ <sup>max</sup> where _Q_ <sup>max</sup> _n_ <sup>max</sup> _n_ and _Q_ <sup>min</sup> _n_ where _Q_ <sup>max</sup> _n_ and _Q_ <sup>min</sup> _n_ represent the upper and lower limits of the decision variables, as outlined in previous sections. The parameter _β_ regulates the adjustment of the velocity. A flowchart illustrating the PSO algorithm and its application to the economic dispatch problem of RESs, BS, HO units, and CHP systems is presented in Figure 4. _NC_ _x_ =1 _NWT_ _r_ =1 _PVP_ <sup>_w,r_</sup> _P_ <sup>_w,r_</sup> + _UTP_ <sup>_w_</sup> _P_ <sup>_w_</sup> <sup>+</sup> <sup>_Pw_</sup> _BS_ <sup>_,d_</sup> <sup>_is_</sup> <sup>_w_</sup> _ED_ <sup>+</sup> <sup>_Pw_</sup> _BS_ <sup>_,c_</sup> <sup>_h_</sup> _P_ <sup>_w_</sup> _CHP,x_ <sup>+</sup> _NWT_ _r_ =1 _WTP_ <sup>_w,r_</sup> + <sup>_w_</sup> _BS_ <sup>_,d_</sup> <sup>_is_</sup> = _P_ <sup>_w_</sup> <sup>_w_</sup> _BS_ <sup>_,c_</sup> <sup>_h_</sup> ∀ _w_ = 1 _, . . ._ 24 (25) _P_ <sup>_w_</sup> _CHP_ <sup>_,_</sup> <sup>min</sup> _,x_ _P_ <sup>_w_</sup> _CHP_ <sup>_,_</sup> <sup>min</sup> _,x_ _HCHP_ <sup>_w,_</sup> <sup>min</sup> _,x_ - _HCHP_ <sup>_w_</sup> _,x_ - _HCHP_ <sup>_w_</sup> _,x_ - _H_ <sup>_w_</sup> <sup>_w_</sup> _CHP,x_ <sup>≤</sup> <sup>_Pw_</sup> _CHP_ <sup>_,_</sup> <sup>max</sup> _,x_ _CHP,x_ _CHP,x_ - _H_ <sup>_w_</sup> - _P_ <sup>_w_</sup> _CHP,x_ - _P_ <sup>_w_</sup> _HCHP_ <sup>_w,_</sup> <sup>min</sup> _,x_ - _P_ <sup>_w_</sup> _CHP,x_ - _P_ <sup>_w_</sup> - ≤ _P_ <sup>_w_</sup> - ≤ _H_ <sup>_w_</sup> _CHP_ <sup>_w_</sup> _,x_ <sup>≤</sup> <sup>_H_</sup> _CHP_ <sup>_w,_</sup> <sup>max</sup> _,x_ - _,_ ∀ _x_ ∈ _NCHP,_ ∀ _w_ = 1 _, . . .,_ 24 (31) - _,_ ∀ _x_ ∈ _NCHP,_ ∀ _w_ = 1 _, . . .,_ 24 (32) Figure 5 illustrates the power-heat feasible operating zone associated with two distinct CHP units utilized in the proposed study [56]. FIGURE 5. Power-heat feasible operating zone related to two different CHP units. The HO units are positioned at bus 26. Detailed input data and relevant information regarding the CHP systems and HO unit can be found in Table 2 [57]. The rated powers of WTs placed at buses 3, 18, and 30 are 1 MW, 2 MW, and 2 MW, respectively. The rated power of the PV unit placed at bus 33 is 0.8 MW. The cost of electricity produced by a WTS is $1.9 per kWh, while the cost of electricity generated by PVS is $ 2.8 per kWh [58]. It’s crucial to understand that electricity and heat demands fluctuate continuously throughout the day. In the analyzed _µ_ G, the peak active load is 3.715 MW, with the hourly active load represented as a percentage of this maximum. Additionally, the peak reactive load reaches 2.3 MVAR, with the hourly reactive load similarly expressed as a percentage of this peak. Furthermore, the peak heat load is 1 MWth, with the hourly heat load also shown as a percentage of this maximum value. To establish a foundational understanding of load behavior, the hourly percentage distribution of active, reactive, and heat loads is derived from [35]. This data enables the modeling of load dynamics, accounting for variability throughout the day. Furthermore, to enhance the robustness of the scheduling methods under diverse operating conditions, forecasted percentages for WT and PV power generation are utilized, as referenced in [39]. This incorporation of forecasted data allows for a more accurate representation of energy supply models, ensuring that scheduling decisions are made based on anticipated generation profiles. Figure 6 illustrates the hourly percentage distribution of active, reactive, and heat loads [35]. Additionally, Figure 6 includes the forecasted percentages for WT and PV power generation [39]. The power imported from the market is supplied to the microgrid through bus 1. Figure 7 illustrates the market price of the utility over 24 hours [39]. This study evaluates optimal energy management for the _µ_ G across three distinct scenarios. The first scenario (S1) examines optimal energy management while incorporating only CHP systems and HO units. The second scenario (S2) expands the scope to include CHP systems, HO units, and RESs. Finally, the third scenario (S3) encompasses all previous components along with BS systems to assess their collective impact on optimal energy management within the _µ_ G. This study addresses the scheduling challenges of the systems in the three scenarios, proposing a methodology that meets the total heat and power demands of the microgrids while minimizing total operational costs. Regarding the relationship between the objective function and performance indicators such as active/reactive power losses and voltage quality, we acknowledge that while these indicators are not explicitly included in the objective function, they are indirectly influenced by it. By optimizing operational costs, we enhance the efficiency of energy management within the _µ_ G, which can lead to reductions in active and reactive power losses and improvements in voltage quality. To demonstrate this indirect influence, our study specifically investigates the impact of RES, CHP systems, and BS on active and reactive power losses, operational costs, and voltage profiles. Through this optimization process, our goal is to improve the overall performance of the microgrid, thereby positively affecting the relevant performance indicators. For the PSO parameters, we set the cognitive and social coefficients for the PSO parameters to 1.5 since research shows that these values improve convergence behavior by balancing individual exploration with group guiding [59]. The inertia weight was adjusted to go down from 0.9 to 0.4 across the iterations, promoting exploration in the early stages and encouraging exploitation of promising solutions later [60]. We selected a population size of 30 and an iteration count of 100 after initial experiments demonstrated that these numbers were a good balance between speed and quality of the solution [61]. Figure 8 shows the total active and reactive power losses of the considered _µ_ G during the day. The results indicate that the first scenario yields the highest total active losses (2622.75 kW) and reactive losses (1748.88 kVAR). The integration of RES leads to lower active losses of 1553.38 kW, representing a decrease of approximately 26.89%, and reactive losses of 1108.40 kVAR, which is a 21.38% reduction. Notably, the scenario incorporating CHP, RES, and BS achieves the most favorable outcomes, with total active losses reduced to 1526.59 kW (a 28.15% decrease from the first scenario) and reactive losses reduced to 1094.70 kVAR _j,n_ _ij_ - _,n_ 1 <sup>−</sup> <sup>_Q_</sup> _j_ <sup>_i_</sup> _,_ <sup>−</sup> _n_ <sup>1</sup> _j,n_ <sup>_i_</sup> _j,n_ <sup>=</sup> <sup>_γ Ai_</sup> _j_ <sup>−</sup> _,n_ <sup>1</sup> 1 <sup>_n_</sup> - _R_ <sup>_i_</sup> best <sup>−1</sup> - + _e_ 2 _v_ <sup>_n_</sup> 2 <sup>_n_</sup> 2 - _O_ best _ij_ - _,n_ 1 (41) _A_ <sup>_i_</sup> _j_ <sup>_i_</sup> _j_ <sup>−</sup> _,n_ <sup>1</sup> <sup>+</sup> <sup>_e_</sup> <sup>1</sup> <sup>_v_</sup> 1 <sup>_n_</sup> <sup>_i_</sup> best <sup>−1</sup> _j,n_ <sup>−</sup> <sup>_Q_</sup> _j_ <sup>_i_</sup> _,_ <sup>−</sup> _n_ <sup>1</sup> TABLE 2. Cost coefficients associated with the CHP system’s cost and the HO’s cost. FIGURE 6. The hourly percentage distribution of active, reactive, heat loads, WT, and PV. FIGURE 7. The market price of the utility over 24 hours. (a 33.36% decrease). These findings demonstrate that optimizing energy systems through the implementation of CHP, renewable technologies, and battery storage can significantly enhance overall efficiency, suggesting a viable pathway for reducing energy losses in modern power systems. Figure 9 shows the active and reactive power losses in the considered _µ_ G over 24 hours, typically displayed in kilowatts (kW) for active losses and kilovolt-amperes reactive (kVAR) for reactive losses. Figure 9 illustrates the hourly active and reactive power losses of the considered _µ_ G in three scenarios over 24 hours. The data reveal that periods of elevated active and reactive losses predominantly occur during the early morning (approximately 6 AM to 9 AM) and evening (around 6 PM to 9 PM). These losses are closely associated with demand loads and the economic dispatch of RESs, CHP systems, and utility contributions. FIGURE 8. The total active and reactive power losses of the considered _µ_ G during the day. FIGURE 9. The hourly active and reactive power losses of the considered _µ_ G over 24 hours. Table 3 presents a detailed economic assessment of various battery technologies, including Li-ion, Na-NiCl2, NiCd, NaS, and Pb-A, based on the lifecycle data provided in Table 1. The analysis starts with the project duration ( _PLT_ ), established at 25 years, and outlines the total cycle count ( _MBS_ <sup>_NC_</sup> <sup>),</sup> <sup>which</sup> is 365 cycles annually for each battery type. Consequently, the projected annual lifetimes ( _ZBS_ <sup>_L_</sup> <sup>) are calculated as follows:</sup> 15.06 years for Li-ion, 8.22 years for NiCd, 15.06 years for Na-NiCl2, 5.48 years for Pb-A, determined by correlating _MBS_ <sup>_NC_</sup> <sup>with the respective system lifecycle (</sup> <sup>_M_</sup> _BS_ <sup>_LC_</sup> <sup>).</sup> Initial capital costs ( _ICOBS_ ) shows considerable variation, with Li-ion priced at $360,000, while Na-NiCl2 emerges as the most cost-effective option at $75,000. Daily operating costs also vary, with Na-NiCl2 maintaining the lowest expense at $16.43, whereas NiCd incurs the highest daily cost at $92.05. To improve financial efficiency, strategies such as choosing cost-effective technologies, enhancing cycle efficiency, and incorporating renewable energy sources are essential. These approaches can lead to better resource utilization and lower overall operational costs, thereby increasing the economic feasibility of battery systems throughout their operational lifespan. TABLE 3. Economic aspects of the different BS technology. The analysis of _µ_ G operational costs reveals significant savings when integrating RES and BS systems alongside CHP technologies. The total costs for the three scenarios were recorded as follows: $638,914.62 for costs with CHP, $614,785.82 for costs with CHP and RES, and $609,398.67 for costs with CHP, RES, and BS. The transition from traditional CHP to a CHP and RES setup results in a savings of approximately 3.75%, indicating a beneficial reduction in operational expenses. Furthermore, the incorporation of BS solutions alongside RES yields an additional cost reduction of about 4.63% compared to the original CHP costs. These findings underscore the financial advantages of adopting integrated energy solutions, highlighting their potential for enhancing economic efficiency while promoting sustainable practices. Figure 10 illustrates the hourly operation costs of the considered _µ_ G in three scenarios over 24 hours. The hourly operation costs of the _µ_ G associated with demand and heating loads and the economic dispatch of RESs, CHP systems, HO units, and utility contributions. Thus, the economic dispatch of RESs, CHP systems, the HO unit, and the utility plays a crucial role in determining these hourly costs. FIGURE 10. The hourly operation costs of the considered _µ_ G in three scenarios over 24 hours. Figure 11 illustrates the impact of integrating different energy sources on minimum voltage profiles in the considered _µ_ G. In S1, the values of the minimum voltage profile data reveal several instances where voltage levels drop below the standard limit of 0.95, with recorded values such as 0.9454, 0.9399, and as low as 0.9235. In S2, minimum voltage values range from 0.9504 to 0.9909, indicating a stable voltage profile that consistently exceeds the standard limit of 0.95. Similarly, S3 demonstrates a comparable minimum voltage range of 0.95 to 0.9909, also reflecting compliance with established voltage standards. Both configurations (S2 and S3) effectively maintain voltage levels within acceptable limits, thereby promoting operational efficiency. Notably, during peak load periods from 16 to 20 in scenario 3, the minimum voltage profile significantly outperforms that of S2, primarily due to the strategic discharge of BS. This underscores the vital role of BS in enhancing voltage stability under high-demand conditions, emphasizing its importance in future energy system designs. FIGURE 11. The hourly minimum voltage profile of the considered _µ_ G in three scenarios over 24 hours. Figure 12 illustrates the voltage profile across each bus of the _µ_ G under three scenarios at varying load levels: (a) 50% at hour 4, (b) 100% at hour 18, (c) 96% at hour 19, and (d) 76% at hour 24. This analysis provides insights into the voltage behavior of the _µ_ G under different operational conditions, highlighting the impact of load variations on system performance. During hour 4, voltage levels across all buses remain within the acceptable range under the three scenarios, due to the relatively low load conditions. During hour 18, voltage levels across several buses in scenario S1 fall below the acceptable range due to the heavy load conditions, while all buses in scenarios S2 and S3 remain within acceptable limits. Additionally, the voltage profile in scenario S3 demonstrates significant improvement compared to S2, attributed to the discharging status of the BS system. This trend continues into hour 19, where S1 falls below the acceptable range due to the heavy load conditions, and all buses in scenarios S2 and S3 remain within acceptable limits. Additionally, the voltage profile in scenario S3 shows a significant improvement compared to S2, which is attributed to the discharging status of the BS system. By hour 24, voltage levels across buses 30, 31, and 33 in scenario S1 fall below the acceptable range due to medium load conditions. In contrast, all buses in scenarios S2 and FIGURE 12. The voltage profile across each bus of the _µ_ G under the three considered scenarios at different load levels: (a) 50%, (b) 100%, (c) 96%, and (d) 76%. S3 remain within acceptable limits. Furthermore, the voltage profiles in scenarios S2 and S3 are identical, attributed to the BS system not charging or discharging during this hour. The results obtained demonstrate the critical role of RESs and BS in enhancing the voltage of all buses during highdemand conditions, emphasizing their significance in the design of future energy systems. Figure 13 vividly demonstrates the significant contributions of various CHP systems and UT in S1. The x-axis indicates the time intervals for which data is collected, while the y-axis reflects the total power generation in kW. Fig. 12 shows the optimal active power generation of utility and CHP systems (CHP1, CHP2, and CHP3) to minimize the total operation cost of the considered _µ_ G in S1. Figure 14 illustrates the optimal heating generation from CHP systems (CHP1, CHP2, and CHP3) and the HO unit, aimed at minimizing the total operational cost of the considered _µ_ G in S1. The output heating from CHP systems and HO units is intricately linked to operational costs, the feasible operating zone of CHP power and heat, and market demand. Operational costs govern the economic dispatch of heat production, whereas the CHP power-heat feasible operating zone delineates the operational limits of these systems. Furthermore, fluctuations in market demand necessitate flexible adjustments in output to optimize efficiency and reduce costs. This dynamic interplay enables CHP and HO units to respond to varying economic conditions and user requirements effectively. Figure 15 illustrates the contributions of various power generation sources over time, with each color representing a different energy type, such as WT (WT1, WT2, WT3), PV, CHP, and UT in S2. Fig. 14 shows the optimal active power generation of RESs (WT1, WT2, WT3, and PV), utility, and CHP systems (CHP1, CHP2, and CHP3) to minimize the total operation cost of the considered _µ_ G, considering the operational _µ_ G constraints in S2. FIGURE 13. The economic dispatch for output power of RESs, Utility, and CHP units in S1. FIGURE 14. The economic dispatch for output heating of CHP units and the HO unit in S1. Notably, the costs of wind and solar energy relative to the market price significantly influence decision-making. For example, during periods when the market price is high, it incentivizes increased output from RESs, thereby enhancing their economic viability, such as during hours from 7 to 24. Conversely, during hours 1 to 6, the output power from RES is zero due to the low market price of utility electricity, which is lower than the cost per kilowatt-hour from wind and solar power. Figure 16 illustrates the optimal heating generation from CHP systems (CHP1, CHP2, and CHP3) and the HO unit, aimed at minimizing the total operational cost of the considered _µ_ G while adhering to the operational constraints of the _µ_ G in S2. The output heating from CHP systems and HO units is intricately linked to operational costs, the feasible operating zone of CHP power and heat, and market demand in S2. Figure 17 shows the optimal active power generation of the RESs (WT1, WT2, WT3, and PV), BS, utility, and CHP FIGURE 15. The economic dispatch for output power of RESs, Utility, and CHP units in S2. FIGURE 16. The economic dispatch for output heating of CHP units and the HO unit in S2. systems (CHP1, CHP2, and CHP3) to minimize the total operational cost of the considered microgrid in S3. Notably, this approach is fundamentally influenced by the costs of electricity generated from RES and the prevailing market prices of the utility. During periods of low market prices, such as during the period from 1 to 6, the system prioritizes charging BS to accumulate excess energy at minimal costs, thereby enhancing resource utilization. Conversely, during high market price intervals, such as during the period from 16 to 20, the discharge of stored energy is strategically executed to mitigate costs, effectively capitalizing on the value of stored electricity. This dual strategy not only maximizes the economic advantages of RES but also stabilizes supply during peak demand periods, underscoring the importance of dynamic energy management in achieving a resilient and sustainable energy landscape. Such an integrated approach is essential for advancing the transition toward renewable energy systems and optimizing grid operations. Figure 18 illustrates the optimal heating generation from CHP systems (CHP1, CHP2, and CHP3) and the HO unit, aimed at minimizing the total operational cost of the considered _µ_ G while adhering to the operational constraints of the _µ_ G in S3. The output heating from CHP systems and HO units is intricately linked to operational costs, the feasible operating zone of CHP power and heat, and market demand in S3. FIGURE 17. The economic dispatch for output power of RESs, Utility, and CHP units in S3. FIGURE 18. The economic dispatch for output heating of CHP units and the HO unit in S3. FIGURE 19. The SoC of Na-NiCl2 and its charge and discharge power. Figure 19 illustrates a dual-axis plot depicting state of charge (SoS) and charge and discharge power over 24 hours of Na-NiCl2. Initially, the SoC is at zero, indicating an absence of stored energy. As time advances, the SoC rises, peaking at 1500 kWh during several intervals. There are also periods when charging ceases, resulting in a stable SoC that suggests the system is nearing its total capacity. Additionally, Figure 19 demonstrates discharge events where the SoC decreases. These discharge values indicate that the Na-NiCl2 is delivering energy back to the grid during peak demand periods. VI. CONCLUSION This study addresses the scheduling challenges of CHP systems in _µ_ G by proposing a cost-effective methodology that meets total heat and power demands. It evaluates three scenarios: standalone CHP systems, CHP with RES, and a comprehensive model that includes BS systems. A model is developed to represent the non-convex feasible operating regions of CHP units, capturing the interactions between electricity and heat generation. The study further investigates the impact of RES, CHP, and BS on active/reactive power losses and operational costs, emphasizing the need for diverse energy sources to ensure voltage stability and compliance with standards. The results show that the first scenario experiences the highest total active losses at 2622.75 kW and reactive losses at 1748.88 kVAR. Integrating renewable energy sources (RES) reduces active losses to 1553.38 kW (26.89% decrease) and reactive losses to 1108.40 kVAR (21.38% reduction). The scenario with CHP, RES, and battery storage (BS) achieves the best results, lowering active losses to 1526.59 kW (28.15% decrease) and reactive losses to 1094.70 kVAR (33.36% decrease). The analysis of microgrid operational costs shows significant savings with the integration of renewable energy sources (RES) and battery storage (BS) alongside combined heat and power (CHP) systems. Costs were $638,914.62 for CHP, $614,785.82 for CHP and RES, and $609,398.67 for CHP, RES, and BS, indicating overall expense reductions. Future research will focus on utilizing machine learning algorithms to enhance the predictive accuracy of renewable energy generation and evaluating the impact of regulatory frameworks on the integration of RES and ESS within CHP systems. The study will expand to include diverse technologies like geothermal and biomass, allowing for long-term evaluations of their benefits on grid reliability. Emphasizing operational flexibility, the research will explore strategies to improve the adaptability of CHP systems, building insights from EHPs and AHPs to better respond to fluctuating energy demands and supply conditions. Additionally, a stochastic approach will be introduced to generate multiple load scenarios and scenarios for PV and WT power generation, effectively capturing the inherent variability in both load demands and renewable energy production. REFERENCES [1] Y. Yin, T. Chen, J. Pang, and J. Hussain, ‘‘The drivers of sustainable development goals in G-7 countries: Navigating the role of climate technology and renewable energy transition,’’ _Renew._ _Energy_, vol. 240, Feb. 2025, Art. no. 122251. [2] E. Ejuh Che, K. Roland Abeng, C. D. Iweh, G. J. Tsekouras, and A. Fopah-Lele, ‘‘The impact of integrating variable renewable energy sources into grid-connected power systems: Challenges, mitigation strategies, and prospects,’’ _Energies_, vol. 18, no. 3, p. 689, Feb. 2025. [3] Y. Hu and Y. Jin, ‘‘Energy hubs integrating renewable energy sources and demand response programs for cost-effective operations,’’ _Energy_, vol. 333, Oct. 2025, Art. no. 137271. [4] J. Fan, R. Yan, Y. He, J. Zhang, W. Zhao, M. Liu, S. An, and Q. Ma, ‘‘Stochastic optimization of combined energy and computation task scheduling strategies of hybrid system with multi-energy storage system and data center,’’ _Renew. Energy_, vol. 242, Apr. 2025, Art. no. 122466. [5] S. Kumar, R. K. Saket, D. K. Dheer, J. B. Holm-Nielsen, and P. Sanjeevikumar, ‘‘Reliability enhancement of electrical power system including impacts of renewable energy sources: A comprehensive review,’’ _IET Gener., Transmiss. Distrib._, vol. 14, no. 10, pp. 1799–1815, May 2020. [6] A. Razmjoo, L. G. Kaigutha, M. A. V. Rad, M. Marzband, A. Davarpanah, and M. Denai, ‘‘A technical analysis investigating energy sustainability utilizing reliable renewable energy sources to reduce CO2 emissions in a high potential area,’’ _Renew. Energy_, vol. 164, pp. 46–57, Feb. 2021. [7] M. H. Mostafa, S. H. E. A. Aleem, S. G. Ali, Z. M. Ali, and A. Y. Abdelaziz, ‘‘Techno-economic assessment of energy storage systems using annualized life cycle cost of storage (LCCOS) and levelized cost of energy (LCOE) metrics,’’ _J. Energy Storage_, vol. 29, Jun. 2020, Art. no. 101345. [8] M. Arun, S. Samal, D. Barik, S. S. R. Chandran, K. Tudu, and S. Praveenkumar, ‘‘Integration of energy storage systems and grid modernization for reliable urban power management toward future energy sustainability,’’ _J. Energy Storage_, vol. 131, Apr. 2025, Art. no. 115830. [9] T. E. K. Zidane, Z. A. Muis, W. S. Ho, Y. Zahraoui, A. S. Aziz, C.-L. Su, S. Mekhilef, and P. E. Campana, ‘‘Power systems and microgrids resilience enhancement strategies: A review,’’ _Renew. Sustain. Energy Rev._, vol. 207, Jan. 2025, Art. no. 114953. [10] R. Yang, Z. Yi, Y. Xu, G. Chen, H. Yang, R. Yi, T. Li, M. Shen, J. Li, H. Gao, and H. Duan, ‘‘Adaptive multi-objective Bayesian optimization for capacity planning of hybrid heat sources in electric-heat coupling systems of cold regions,’’ _IEEE_ _Trans._ _Ind._ _Appl._, vol. 61, no. 3, pp. 4718–4729, May 2025. [11] C. Wei, Y. Huang, and A. Löschel, ‘‘Recent advances in energy demand for residential space heating,’’ _Energy_ _Buildings_, vol. 261, Apr. 2022, Art. no. 111965. [12] H. Gadd and S. Werner, ‘‘Thermal energy storage systems for district heating and cooling,’’ in _Advances_ _in_ _Thermal_ _Energy_ _Storage_ _Systems_ . Amsterdam, The Netherlands: Elsevier, 2021, pp. 625–638. [13] R. Uthirasamy, T. Arulkumar, G. Prabu, and V. Sivakumar, ‘‘Solving economic emission dispatch of combined heat and power units problem using enhanced Tasmanian devil optimization strategy in power systems,’’ _Energy Sources, A, Recovery, Utilization, Environ. Effects_, vol. 46, no. 1, pp. 14012–14032, Dec. 2024. [14] Y. Cao, H. Hu, R. Chen, and F. Si, ‘‘Operation optimization for a CHP system using an integrated approach of ANN and simulation database,’’ _Appl._ _Thermal_ _Eng._, vol. 266, May 2025, Art. no. 125771. [15] Y. Yin and P. Jin, ‘‘A economic optimal dispatch model for combined heat and power microgrids supporting China’s carbon neutrality,’’ _Sci._ _Rep._, vol. 15, no. 1, p. 22415, Jul. 2025. [16] D. J. Ahmad, N. Hariyanto, and U. Khayam, ‘‘Issues, challenges, and solution options for on-grid multi-microgrid game theory: A systematic review,’’ _IEEE Access_, vol. 13, pp. 76574–76608, 2025. [17] Y. Ding, Y. Xu, Z. Yi, Z. Li, S. Rong, and X. Zhu, ‘‘Peak shaving capability assessment approach of multi flexible resources based on the time-series production simulation of combined heat and power systems,’’ in _Proc._ _7th_ _Asia_ _Energy_ _Electr._ _Eng._ _Symp._ _(AEEES)_, Mar. 2025, pp. 287–292. [18] L. Guo, X. Lin, Z. Feng, M. S. Khalid, and S. M. Dawoud, ‘‘Comprehensive energy system with combined heat and power photovoltaic-thermal power stations and building phase change energy storage for island regions and its coordinated dispatch strategy,’’ _Renew._ _Energy_, vol. 240, Feb. 2025, Art. no. 122207. [19] S. E. Eyimaya and N. Altin, ‘‘Review of energy management systems in microgrids,’’ _Appl. Sci._, vol. 14, no. 3, p. 1249, Feb. 2024. [20] G. Zhang, Y. Cao, Y. Cao, D. Li, and L. Wang, ‘‘Optimal energy management for microgrids with combined heat and power (CHP) generation, energy storages, and renewable energy sources,’’ _Energies_, vol. 10, no. 9, p. 1288, Aug. 2017. [21] P. Firouzmakan, R.-A. Hooshmand, M. Bornapour, and A. Khodabakhshian, ‘‘A comprehensive stochastic energy management system of micro-CHP units, renewable energy sources and storage systems in microgrids considering demand response programs,’’ _Renew._ _Sustain._ _Energy Rev._, vol. 108, pp. 355–368, Jul. 2019. [22] S. Li, C. Tian, and H. Faraji, ‘‘Probabilistic optimization of coordinated fuel cell-CHP and renewable energy policy in microgrid integrated with hydrogen storage for optimizing system profitability,’’ _Int._ _J._ _Hydrogen_ _Energy_, vol. 102, pp. 129–145, Feb. 2025. [23] F. Nazari-Heris, B. Mohammadi-Ivatloo, and D. Nazarpour, ‘‘Network constrained economic dispatch of renewable energy and CHP based microgrids,’’ _Int._ _J._ _Electr._ _Power_ _Energy_ _Syst._, vol. 110, pp. 144–160, Sep. 2019. [24] Q. Ding, M. A. Alotaibi, and C. Lui, ‘‘Sustainable process mod eling and holistic 4E assessment of an innovative CHP plant with renewable hydrogen production based on multi-heat recovery and PEM electrolyzer,’’ _Process_ _Saf._ _Environ._ _Protection_, vol. 194, pp. 730–751, Feb. 2025. [25] Y. Huang, S. Ahmed, S. Ueda, X. Liang, H. O. R. Howlader, M. E. Lotfy, and T. Senjyu, ‘‘Operation optimization of combined heat and power microgrid in buildings consider renewable energy, electric vehicles and hydrogen fuel,’’ _Energy_, vol. 319, Mar. 2025, Art. no. 134690. [26] C. Paul, T. Sarkar, S. Dutta, and P. K. Roy, ‘‘Integration of optimal power flow with combined heat and power dispatch of renewable wind energy based power system using chaotic driving training based optimization,’’ _Renew. Energy Focus_, vol. 49, Jun. 2024, Art. no. 100573. [27] O. Erixno, F. Ramadhani, N. A. Rahim, and A. Rivai, ‘‘Realistic operation and strategic energy, economic and environmental analyses of a hybrid renewable energy based–micro combined heat and power,’’ _Sol._ _Energy_, vol. 272, Apr. 2024, Art. no. 112467. [28] R. Yan, J. Wang, S. Huo, J. Zhang, S. Tang, and M. Yang, ‘‘Comparative study for four technologies on flexibility improvement and renewable energy accommodation of combined heat and power system,’’ _Energy_, vol. 263, Jan. 2023, Art. no. 126056. [29] R. Li and S. SaeidNahaei, ‘‘Optimal operation of energy hubs integrated with electric vehicles, load management, combined heat and power unit and renewable energy sources,’’ _J._ _Energy_ _Storage_, vol. 48, Apr. 2022, Art. no. 103822. [30] M. Riaz, S. Ahmad, M. Naeem, A. Zafar, and K. S. Kim, ‘‘Energy management of cooperative combined cooling, heating, and power microgrids considering user comfort,’’ _IEEE Access_, vol. 13, pp. 76963–76980, 2025. [31] N. Chen, J. Gao, L. Gao, S. Yang, and S. Chen, ‘‘Scheduling strategy for an electricity-heat-gas hybrid energy storage microgrid system considering novel combined heat and power units,’’ _Energy Rep._, vol. 13, pp. 4719–4733, Jun. 2025. [32] X. Ao, J. Zhang, R. Yan, Y. He, C. Long, X. Geng, Y. Zhang, J. Fan, and T. Liu, ‘‘More flexibility and waste heat recovery of a combined heat and power system for renewable consumption and higher efficiency,’’ _Energy_, vol. 315, Jan. 2025, Art. no. 134392. [33] R. Habibifar, H. Ranjbar, M. Shafie-Khah, M. Ehsan, and J. P. S. Catalão, ‘‘Network-constrained optimal scheduling of multi-carrier residential energy systems: A chance-constrained approach,’’ _IEEE_ _Access_, vol. 9, pp. 86369–86381, 2021. [34] M. M. Alhaider, Z. M. Ali, M. H. Mostafa, and S. H. E. A. Aleem, ‘‘Economic viability of NaS batteries for optimal microgrid operation and hosting capacity enhancement under uncertain conditions,’’ _Sustainability_, vol. 15, no. 20, p. 15133, Oct. 2023. [35] C. Ju, S. Yao, and P. Wang, ‘‘Resilient post-disaster system reconfiguration for multiple energy service restoration,’’ in _Proc._ _IEEE_ _Conf._ _Energy_ _Internet Energy Syst. Integr. (EI2)_, Nov. 2017, pp. 1–6. [36] R. Wang, W. Shan, and H. Xie, ‘‘Impact analysis of renewable energy accommodation considering heat pump in peak shaving,’’ in _Proc._ _IEEE_ _4th_ _Conf._ _Energy_ _Internet_ _Energy_ _Syst._ _Integr._ _(EI2)_, Oct. 2020, pp. 1813–1816. [37] A. Kaur, J. Kaushal, and P. Basak, ‘‘A review on microgrid cen tral controller,’’ _Renew._ _Sustain._ _Energy_ _Rev._, vol. 55, pp. 338–345, Mar. 2016. [38] L. Yang, B. Li, Y. Dong, Z. Hu, K. Zhang, and S. Li, ‘‘Large-amplitude rotation of floating offshore wind turbines: A comprehensive review of causes, consequences, and solutions,’’ _Renew._ _Sustain._ _Energy_ _Rev._, vol. 211, Apr. 2025, Art. no. 115295. [39] M. H. Mostafa, S. H. E. A. Aleem, S. G. Ali, A. Y. Abdelaziz, P. F. Ribeiro, and Z. M. Ali, ‘‘Robust energy management and economic analysis of microgrids considering different battery characteristics,’’ _IEEE_ _Access_, vol. 8, pp. 54751–54775, 2020. [40] H. B. Aribia, A. M. El-Rifaie, M. A. Tolba, A. Shaheen, G. Moustafa, F. Elsayed, and M. Elshahed, ‘‘Growth optimizer for parameter identification of solar photovoltaic cells and modules,’’ _Sustainability_, vol. 15, no. 10, p. 7896, May 2023. [41] G. De Carne, S. M. Maroufi, H. Beiranvand, V. De Angelis, S. D’Arco, V. Gevorgian, S. Waczowicz, B. Mather, M. Liserre, and V. Hagenmeyer, ‘‘The role of energy storage systems for a secure energy supply: A comprehensive review of system needs and technology solutions,’’ _Electric_ _Power_ _Syst._ _Res._, vol. 236, Nov. 2024, Art. no. 110963. [42] D. A. Elalfy, E. Gouda, M. F. Kotb, V. Bureš, and B. E. Sedhom, ‘‘Com prehensive review of energy storage systems technologies, objectives, challenges, and future trends,’’ _Energy_ _Strategy_ _Rev._, vol. 54, Jul. 2024, Art. no. 101482. [43] E. T. Sayed, A. G. Olabi, A. H. Alami, A. Radwan, A. Mdallal, A. Rezk, and M. A. Abdelkareem, ‘‘Renewable energy and energy storage systems,’’ _Energies_, vol. 16, no. 3, p. 1415, 2023. [44] M. Rawa, A. Abusorrah, Y. Al-Turki, H. Sindi, H. Bassi, and M. H. Mostafa, ‘‘Efficient energy management framework for enhancing the techno-economic-environmental performance of grid-connected microgrids under uncertain conditions,’’ _Ain Shams Eng. J._, vol. 15, no. 1, Jan. 2024, Art. no. 102336. [45] T. Alharbi, A. Abdalrahman, and M. H. Mostafa, ‘‘Data-driven EV charging infrastructure with uncertainty based on a spatial–temporal flowdriven (STFD) models considering batteries,’’ _Sci._ _Rep._, vol. 15, no. 1, p. 27056, Jul. 2025. [46] G. Moustafa, H. Alnami, S. H. Hakmi, A. M. Shaheen, A. R. Ginidi, M. A. Elshahed, and H. S. E. Mansour, ‘‘A novel mantis search algorithm for economic dispatch in combined heat and power systems,’’ _IEEE Access_, vol. 12, pp. 2674–2689, 2024. [47] M. A. Bagherian, K. Mehranzamir, S. Rezania, Z. AbdulMalek, A. B. Pour, and S. M. Alizadeh, ‘‘Analyzing utilization of biomass in combined heat and power and combined cooling, heating, and power systems,’’ _Processes_, vol. 9, no. 6, p. 1002, Jun. 2021. [48] C. Dobre, M. Costin, and M. Constantin, ‘‘A review of available solutions for implementation of small–medium combined heat and power (CHP) systems,’’ _Inventions_, vol. 9, no. 4, p. 82, Jul. 2024. [49] C. Wang, J. Song, W. Zheng, Z. Liu, and C. Lin, ‘‘Analysis of economy, energy efficiency, environment: A case study of the CHP system with both civil and industrial heat users,’’ _Case_ _Stud._ _Thermal_ _Eng._, vol. 30, Feb. 2022, Art. no. 101768. [50] H. Wang, P. Hua, X. Wu, R. Zhang, K. Granlund, J. Li, Y. Zhu, R. Lahdelma, E. Teppo, and L. Yu, ‘‘Heat-power decoupling and energy saving of the CHP unit with heat pump based waste heat recovery system,’’ _Energy_, vol. 250, Jul. 2022, Art. no. 123846. [51] R. Harmsen and W. Crijns-Graus, ‘‘Unhiding the role of CHP in power & heat sector decomposition analyses,’’ _Energy Policy_, vol. 152, May 2021, Art. no. 112208. [52] K. Sartor, S. Quoilin, and P. Dewallef, ‘‘Simulation and optimization of a CHP biomass plant and district heating network,’’ _Appl. Energy_, vol. 130, pp. 474–483, Oct. 2014. [53] M. Jain, V. Saihjpal, N. Singh, and S. B. Singh, ‘‘An overview of variants and advancements of PSO algorithm,’’ _Appl. Sci._, vol. 12, no. 17, p. 8392, Aug. 2022. [54] F. A. Zaini, M. F. Sulaima, I. A. W. A. Razak, N. I. Zulkafli, and H. Mokhlis, ‘‘A review on the applications of PSO-based algorithm in demand side management: Challenges and opportunities,’’ _IEEE_ _Access_, vol. 11, pp. 53373–53400, 2023. [55] E. S. Rahayu, A. Ma’arif, and A. Çakan, ‘‘Particle swarm optimization (PSO) tuning of PID control on DC motor,’’ _Int._ _J._ _Robot._ _Control_ _Syst._, vol. 2, no. 2, pp. 435–447, Jul. 2022. [56] B. Singh and A. K. Sharma, ‘‘Network constraints economic dis patch of renewable energy sources with impact of energy storage,’’ _Int._ _J._ _Comput._ _Digit._ _Syst._, vol. 11, no. 1, pp. 423–440, Jan. 2022. [57] D. Zou, S. Li, X. Kong, H. Ouyang, and Z. Li, ‘‘Solving the combined heat and power economic dispatch problems by an improved genetic algorithm and a new constraint handling strategy,’’ _Appl. Energy_, vol. 237, pp. 646–670, Mar. 2019. [58] M. Rawa, A. Abusorrah, Y. Al-Turki, S. Mekhilef, M. H. Mostafa, Z. M. Ali, and S. H. E. A. Aleem, ‘‘Optimal allocation and economic analysis of battery energy storage systems: Self-consumption rate and hosting capacity enhancement for microgrids with high renewable penetration,’’ _Sustainability_, vol. 12, no. 23, p. 10144, Dec. 2020. [59] A. G. Gad, ‘‘Particle swarm optimization algorithm and its applications: A systematic review,’’ _Arch._ _Comput._ _Methods_ _Eng._, vol. 29, no. 5, pp. 2531–2561, Aug. 2022. [60] L. Abualigah, A. Sheikhan, A. M. Ikotun, R. A. Zitar, A. R. Alsoud, I. Al–Shourbaji, A. G. Hussien, and H. Jia, ‘‘Particle swarm optimization algorithm: Review and applications,’’ _Metaheuristic_ _Optim._ _Algorithms_, vol. 2024, pp. 1–14, Apr. 2024. [61] M. A. R. Pohan, B. R. Trilaksono, S. P. Santosa, and A. S. Rohman, ‘‘Path planning using combined informed rapidly- exploring random tree star and particle swarm optimization algorithms,’’ _IEEE_ _Access_, vol. 12, pp. 56582–56608, 2024. HASHIM ALNAMI (Associate Member, IEEE) received the bachelor’s degree in electrical engineering from Jazan University, Jazan, Saudi Arabia, in 2013, the master’s degree in electrical engineering specialization in electrical power systems from Southern Illinois University, IL, USA, in 2018, and the Ph.D. degree in electrical engineering specialization in electrical power systems from Wichita State University, KS, USA, in 2021. He was a Power Engineer with Saudi Aramco Company, Dhahran, Saudi Arabia, from 2013 to 2014. Since 2021, he has been an Assistant Professor with the Electrical Engineering Department, Jazan University. His research interests include power system distribution, power generation, power system analysis, renewable energy sources, and power control. GHAREEB MOUSTAFA received the bachelor’s and master’s degrees in electrical engineering from Suez Canal University, Egypt, in 1998 and 2003, respectively, and the joint Ph.D. degree in electrical engineering with a cooperation channel system from Suez Canal University and Dresden Technical University (TUD), Germany, in 2010. From 1998 to 2003, he was a Research and Teaching Assistant with the Electrical and Computer Engineering Department, Faculty of Engineering, Suez Canal University, where he was an Assistant Lecturer, from 2003 to 2007. From 2007 to 2009, he was a Researcher and a Visiting Ph.D. Student with the Institute of High Voltage and Current, TUD. From 2010 to 2013, he was a Lecturer with the Electrical Engineering Department, Faculty of Engineering, Suez Canal University. Since 2013, he has been an Assistant Professor with the Electrical Engineering Department, Faculty of Engineering, Jazan University, Jazan, Saudi Arabia. His research interests include high-voltage and high-current, electric connectors, power quality, and power system optimization. BADR M. AL FAIYA (Member, IEEE) received the B.Sc. degree in electrical engineering from the King Fahd University of Petroleum and Minerals, Saudi Arabia, in 2005, the M.Sc. degree in electrical and computer engineering from Carleton University, Canada, in 2012, and the Ph.D. degree in electronic and electrical engineering from the University of Strathclyde, U.K., in 2023. Since 2023, he has been an Assistant Professor with the Electrical and Electronics Engineering Department, Faculty of Engineering and Computer Science, Jazan University. His research interests include distributed and intelligent control systems, multi-agent control, smart grids, self-organizing systems, machine learning, and AI control techniques. SULTAN HASSAN HAKMI received the bachelor’s degree in electrical engineering from the King Fahd University of Petroleum and Minerals, Saudi Arabia, in 2013, and the master’s and Ph.D. degrees in electrical engineering specialization in electrical power systems from Wichita State University, KS, USA, in 2017 and 2021, respectively. He was a Teaching Assistant with the Electrical Engineering Department, Jazan University, Jazan, Saudi Arabia, from 2013 to 2014. From 2016 to 2021, he was a Research Assistant, while he was a Student with the Electrical Engineering Department, Wichita State University. Since 2021, he has been an Assistant Professor with the Electrical Engineering Department, Jazan University. His research interests include power system distribution, energy management, power system analysis, renewable energy sources, power markets, and power system optimization. MOSTAFA H. MOSTAFA received the B.Sc. and M.Sc. degrees in electrical power and machines from the Faculty of Engineering, Cairo University, Egypt, in 2012 and 2016, respectively, and the Ph.D. degree from the Faculty of Engineering, Ain Shams University, Egypt, in 2020. Currently, he is a Faculty Member with Al Ryada University for Science and Technology. His research interests include energy management, electric vehicles, distributed generation, electrical machines, renewable energy technologies, optimization, and ESS.

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.