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

An Optimal Energy Dispatch Management System for Hybrid Power Plants: PV-Grid-Battery-Diesel Generator-Pumped Hydro Storage

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Fatma Ahmed — Department of Electrical Engineering, Qatar University, Doha, Qatar
  2. Rashid Al Abri — Department of Electrical and Computer Engineering, Sultan Qaboos University, Muscat, Oman
  3. Hassan Yousef — Department of Electrical and Computer Engineering, Sultan Qaboos University, Muscat, Oman
  4. Ahmed Massoud — Department of Electrical Engineering, Qatar University, Doha, Qatar
DOI
10.1109/access.2024.3470652
저널
IEEE Access
발행년도
2024
발행기관
Institute of Electrical and Electronics Engineers
피인용수
14
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2024.3470652
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W4403059172

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Effective real-time energy management strategies are crucial for optimising hybrid power plants, particularly when challenged with integrating Renewable Energy Sources (RESs) and managing their intermittent nature. This paper presents a comprehensive energy management framework holding real-time optimisation for HPP. The practical implications of this research are significant, as it provides a roadmap for seamlessly integrating RESs with Battery Energy Storage Systems (BESSs) in Hybrid Power Plants (HPPs) to minimise cost while meeting daily household energy demands. Furthermore, it demonstrates how diesel generators (DGs) can be incorporated into the HPP’s energy management system while minimising carbon emissions. An Energy Dispatch Engine (EDE) is introduced to control HPPs that combine PV, BESS, DG and Pumped Hydro Storage (PHS). Two optimisation approaches are used, namely, Mixed-Integer Linear Programming (MILP) and Stochastic Dual Dynamic Programming (SDDP). The system leverages load and RES power data while considering State-of-Charge (SoC) constraints to manage battery health proactively. Optimising discharge and charge profiles of the BESS, with the overarching goal of minimising the total cost of satisfying daily load demand, is an objective. Various tariff schemes were explored to assess the presented EDE. Our testing demonstrates that the SDDP approach consistently results in lower total costs than MILP. The total cost for the MILP method, where the system with PHS incurs higher costs (219.8 <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${\$}$ </tex-math></inline-formula>/24h) than the total cost for the SDDP method, where the system with PHS system (180 <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${\$}$ </tex-math></inline-formula>/24h). The cost of CO2 emissions was found to be lower in the case of SDDP, amounting to 8.3 <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${\$}$ </tex-math></inline-formula>/24h for a total emission of 160 kg. In contrast, the MILP approach resulted in a higher CO2 cost of 10.2 <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${\$}$ </tex-math></inline-formula>/24h for a total emission of 200 kg. This suggests that SDDP is more cost-effective in terms of reducing CO2 emissions.

본문 79,979자

본문 펼치기
Received 10 September 2024, accepted 24 September 2024, date of publication 2 October 2024, date of current version 10 October 2024. _Digital Object Identifier 10.1109/ACCESS.2024.3470652_ # An Optimal Energy Dispatch Management System for Hybrid Power Plants: PV-Grid-Battery-Diesel Generator-Pumped Hydro Storage FATMA AHMED 1, (Graduate Student Member, IEEE), RASHID AL-ABRI <sup>2</sup>, (Senior Member, IEEE), HASSAN YOUSEF 2, AND AHMED M. MASSOUD 1, (Senior Member, IEEE) 1Department of Electrical Engineering, Qatar University, Doha, Qatar 2Department of Electrical and Computer Engineering, Sultan Qaboos University, Muscat 123, Oman Corresponding author: Fatma Ahmed (fa1702175@qu.edu.qa) This work was supported by the International Research Collaboration Co-Fund (IRCC), Qatar University, under Grant IRCC-2022-609. ABSTRACT Effective real-time energy management strategies are crucial for optimising hybrid power plants, particularly when challenged with integrating Renewable Energy Sources (RESs) and managing their intermittent nature. This paper presents a comprehensive energy management framework holding real-time optimisation for HPP. The practical implications of this research are significant, as it provides a roadmap for seamlessly integrating RESs with Battery Energy Storage Systems (BESSs) in Hybrid Power Plants (HPPs) to minimise cost while meeting daily household energy demands. Furthermore, it demonstrates how diesel generators (DGs) can be incorporated into the HPP’s energy management system while minimising carbon emissions. An Energy Dispatch Engine (EDE) is introduced to control HPPs that combine PV, BESS, DG and Pumped Hydro Storage (PHS). Two optimisation approaches are used, namely, Mixed-Integer Linear Programming (MILP) and Stochastic Dual Dynamic Programming (SDDP). The system leverages load and RES power data while considering State-of-Charge (SoC) constraints to manage battery health proactively. Optimising discharge and charge profiles of the BESS, with the overarching goal of minimising the total cost of satisfying daily load demand, is an objective. Various tariff schemes were explored to assess the presented EDE. Our testing demonstrates that the SDDP approach consistently results in lower total costs than MILP. The total cost for the MILP method, where the system with PHS incurs higher costs (219.8 $/24h) than the total cost for the SDDP method, where the system with PHS system (180 $/24h). The cost of CO2 emissions was found to be lower in the case of SDDP, amounting to 8.3 $/24h for a total emission of 160 kg. In contrast, the MILP approach resulted in a higher CO2 cost of 10.2 $/24h for a total emission of 200 kg. This suggests that SDDP is more cost-effective in terms of reducing CO2 emissions. INDEX TERMS Energy dispatch engine (EDE), mixed integer linear programming (MILP), stochastic dual dynamic programming (SDDP), energy management system (EMS), hybrid power plant (HPP), optimization. NOMENCLATURE _Indices_ _t(T)_ Index (set) of time periods. _n_ ( _N_ ) Index (set) of the length of the forecasted rolling horizon. The associate editor coordinating the review of this manuscript and approving it for publication was Cuo Zhang . _Variables_ _Pess_ Battery Energy Storage Power (kW). _Pl_ Load Power (kW). Q-ESS Maximum Capacity of the ESS. _ηESS_ Charger efficiency (%). _�t_ Time interval (min). _ηp_ Pump efficiency (%). _ηb_ Battery Efficiency (%). 2024 The Authors This work is licensed under a Creative Commons Attribution 4 0 License _ηt_ Turbine efficiency (%). ∀ _intial_ The initial volume of the water in the reservoir. _ER_ Nominal potential energy of the reservoir in (kWh). _αco_ 2 Gas mass (kg/L). _Cf_ Cost of fuel ($/L). _Ppv_ Power of the photovoltaic (MW). _PDG_ Power of the diesel generator (MW). k Power Temperature Coefficient (% _/_ <sup>◦</sup> _C_ ). _Tpv_ PV’s cell Temperature ( <sup>◦</sup> _C_ ). . G Solar Radiation - _<u>W</u>_ _m_ <sup>2</sup> _Abbreviation_ CPP Critical Peak Pricing. DG Diesel Generator. EDE Energy Dispatch Engine. EMS Energy Management System. HPPES Hybrid Power PlantEnergy System. MILP Mixed Integer Linear Programming. PV Photovoltaic. PHS Pumped Hydro Storage. RES Renewable Energy System. RTP Real-Time Pricing. SDDP Stochastic Dual Dynamic Programming. SoC State of Charge. TOU Time-of-Use. I. INTRODUCTION The rapid adoption of Renewable Energy Sources (RESs) in power systems over the past two decades has introduced significant challenges, particularly in balancing energy supply and demand due to the intermittent nature of sources like photovoltaic (PV) systems. One of the primary challenges is the effective integration of RESs with existing grid infrastructure, which may result in a fluctuating power supply, causing grid instability. Grid-connected energy storage systems (ESSs) can help improve the grid’s reliability and security. However, they might not always provide an effective techno-economic solution in large-scale power systems applications. Developing a proper energy management system (EMS) supports optimal energy dispatch, particularly with hybrid power plants, alleviating the challenges encountered. To address these issues, this study focuses on developing a comprehensive energy dispatch management system for hybrid power plants (HPPs) that combine PV, Battery Energy Storage Systems (BESS), Diesel Generators (DG), and Pumped Hydro Storage (PHS). By optimising the energy dispatch using advanced algorithms, we aim to enhance the reliability and efficiency of the power supply within a microgrid, reduce operational costs, and minimise carbon emissions. The proposed Energy Dispatch Engine (EDE) leverages Mixed-Integer Linear Programming (MILP) and Stochastic Dual Dynamic Programming (SDDP) to optimise the operation of HPPs. This dual optimisation approach allows for more robust decision-making under uncertainty, significantly reducing operational costs and carbon emissions compared to Conventional methods. The flexibility of our system to scale from small microgrid applications to larger power systems demonstrates its potential for widespread impact in the energy sector, supporting the scalability and broader applicability in a similar fashion to [1] and [2]. It is essential to raise the effectiveness and efficacy of these hybrid PV-Grid-ESS power plants [3]. With a simple and effective technique for optimisation, the optimal grid interconnection of PV and ESS, along with the energy dispatch strategy, can be optimally identified. This can lower energy expenses, increase system effectiveness, and reduce the HPP’s environmental impact [4]. EMS optimisation techniques can be categorised into three types based on complexity: intelligent, metaheuristic, and classical approaches. Innovative techniques employ neural networks that incorporate weighted variables to optimise power transfer, but they are computationally demanding [5]. Metaheuristic methods, such as Monte Carlo simulations, random simulation, and search algorithms, such as Genetic Algorithm, GreyWolf, and Particle Swarm Optimization (PSO), are employed to optimise an objective function without or without constraints [6]. Although less computationally intensive than intelligent methods, metaheuristic methods typically require more time to solve optimisation problems. Conventional approaches are based on mathematical principles and strive to optimise an objective function while adhering to a specified set of constraints. These methods often rely on predetermined initial values and predefined parameters, as seen in Linear and Non-Linear Programming (LP/NLP) and Mixed-Integer Linear and Non-Linear Programming (MILP/MINLP) [15]. ESS was used to manage unpredictable wind power fluctuations, aided by accurate predictions through Artificial Neural Networks (ANN). This hybrid ESS supports optimising schedules based on forecasts and real-time adjustments, leading to economic benefits for RESs by aligning energy output with pricing signals [7]. In [8], a strategy has been outlined for dispatching a wind-solar hybrid power system using a hybrid ESS comprising batteries and supercapacitors. The approach optimises battery and supercapacitor use for cost-effective energy storage. The hybrid ESS cost optimisation is achieved through the filter’s time constant using curve fitting and PSO. Simulation results validate the approach’s superiority over the single storage method, achieving accurate power dispatch and advancing RES integration with optimised ESSs. The authors in [9] Presented the power flow challenges in distribution networks due to increased RESs and flexible loads. It introduces Virtual Power Plants (VPPs) to integrate various energy sources and improve RES utilisation. A two-stage congestion management model involving Independent System Operator (ISO) congestion management and VPPs with hybrid generators was presented. The first stage minimizes congestion costs through a genetic algorithm, while the second stage considers multi-objective TABLE 1. Literature review comparison. power correction for VPPs, including water and light curtailment, navigation, and ecological needs. In [10], a dispatch strategy that uses model predictive control (MPC) has been introduced for a wind farm with a dual-battery energy storage system (DBESS). The MPC technique manages the two batteries to alternate between charging and discharging, aligning with the dispatch sequence. Simulation results based on real wind power data confirm the effectiveness of this MPC-based approach. It improves wind farm dispatch coordination with the hybrid wind/battery storage system, enhancing control and introducing a longer lifespan for the battery. The strategy performs well across various scenarios, adeptly following dispatch curves and maintaining the battery state of charge (SoC) within limits. However, the authors in [11] delved into a comprehensive evaluation of a hybrid PV/Deisel Generator (DG)/BESS system’s practicality, economic aspects, and energy management. The system targets a specific load far from the utility grid. Key considerations include addressing water demands, reverse osmosis unit sizes, energy dispatch strategies, and DG capacities. The optimal system size is determined based on criteria such as energy cost and environmental impact. An approach has been presented in [12]. The approach combined hybrid stochastic-robust optimization with power flow calculation aiming to reduce CO2 emissions by integrating RESs. The method optimizes power system operation to minimize CO2 emissions via improved generator, load, and energy storage operation, and by evaluating system changes. In [13], an advanced real-time energy management strategy for residential PV-storage hybrid systems comprising solar PV generation and BESS has been presented. It overcomes the challenges of offline and online methods by integrating an offline optimization model with a real-time rule-based controller. Through rolling horizon optimization and deep learning forecasts, the approach effectively reduces electricity purchase costs. It employs a multi-stage stochastic program and the Stochastic Dual Dynamic Programming (SDDP) algorithm for continuous updates to BESS dispatch settings. The approach effectively reduced net electricity purchase costs, validated through simulation tests. The study in [16] focused on optimizing microgrid operations for it enhanced clean energy utilization and cost reduction. It begins by creating a wind power prediction error model incorporating pricing and operational factors of various clean energy sources. Subsequently, a collaborative optimization model for a cooling, heating, and power microgrid is developed, aiming to minimize costs and power-generation units. An intelligent optimization algorithm combining the non-dominated sorting genetic algorithm (NSGA) and beetle antennae search was employed, outperforming the conventional NSGA in simulations on a real microgrid case [16]. TABLE 1 provides a summary of the literature review on RESs in HPPs, comparing the optimization methods and control strategies employed in this paper with those in previous studies. Notably, the proposed concept addresses the HPP comprehensively. In this paper, we introduce an Energy Dispatch Engine (EDE) that leverages MILP and SDDP optimization methods to control a hybrid system consisting of PV, the grid, an ESS, a DG, and Pumped Hydro Storage (PHS) components. This has been done by optimization and comparison of PV/diesel/battery/PHS systems within a multiobjective framework, taking into account factors such as the cost of electricity and CO2 emissions. The paper utilizes load and RES power data while incorporating SoC constraints to manage the battery efficiently. To achieve this, a hybrid system is designed, incorporating PV and a diesel generator FIGURE 1. Block diagram of the hybrid power plant. within a multi-objective framework and introducing two types of ESSs, namely, BESS and PHS. The hybrid system is connected to the distribution system, forming a microgrid, which allows for better integration and management of the local energy resources. The effectiveness of the proposed model is evaluated in terms of cost savings by considering three pricing schemes. The paper is organized as follows: Section II elucidates the methodology and modeling of the proposed real-time optimization. Section III examines the performance of the MILP and SDDP algorithms, along with simulation outcomes. Finally, Section IV provides the paper’s conclusion. II. OPTIMIZATION OF THE HYBRID POWER PLANT _A._ _DESIGN METHODOLOGY_ The schematic of the hybrid HPP in FIGURE 1 shows that the ESS and PV are connected to the AC grid through an inverter. 1) PV MODELING To acquire the field data for optimizing the operation of the system, the load and PV power profiles were gathered from Pecan Street data, used in [13], consisting of 1 minute PV power data and load data for 75 homes across the United States in 2018. The instantaneous potential of PV generation is intricately tied to prevailing meteorological conditions, specifically solar irradiance, and ambient temperature, as elucidated in reference [17]. This work assumes that these parameters can be forecasted with acceptable accuracy, which is a plausible assumption. Consequently, at each discrete time increment (t), the electrical output of a PV module ( _Ppv_ ) channeled through an inverter is subject to the dynamic interplay between incident solar radiation (G) and the temperature of the PV cells ( _Tpv_ ), as expounded below [18]: where _ηinv_ is inverter efficiency, k is the power temperature coefficient (% _/_ <sup>◦</sup> _C_ ), and _Npv_ is the number of PV modules. PV power is not treated as a constraint but is dynamically managed to ensure efficient operation. When excess power is generated by the PV system, and the ESS is fully charged, the system implements PV power curtailment to prevent overgeneration. This curtailment is achieved by adjusting the operating point of the PV system or by reducing the power fed into the grid. The EMS continuously monitors the SoC of the ESS, power demand, and grid conditions, and it sends control signals to curtail PV power as necessary to maintain system stability and efficiency [19]. Therefore, the following equation represents the dynamic management of PV power: _Ppv,curtailed (t)_ = _Ppv,generated (t)_ - _Pcurtail,_ ( _t_ ) (2) where _Ppv,curtailed (t)_ is the curtailed PV power at time t, _Ppv,generated (t)_ is the total PV power generated at time t,and _Pcurtail,_ ( _t_ ) is the power curtailed at time _t_ to prevent overgeneration. FIGURE 2. Pumped hydro storage system. 2) ESS MODELING ESSs play a pivotal role in the context of HPPs by serving as reservoirs for surplus energy generated from RESs and bridging energy deficits when needed. In this research, we classify both batteries and PHS as instances of ESS [20]. To elucidate, the energy of an ESS, E(t) can be conceptually simplified with a dynamic model represented as follows: _E_ ( _t_ ) = _E_ ( _t_ - 1) − _δt_ _Pess_ ( _t_ ) (3) _Ppv_ = _ηinv.G (t) ._ �1 + _k_ - _Tpv_ - 25�� _.Npv_ (1) where _δt_ is a parameter that influences the change in energy state per unit of power. The _Pess (t)_ is the DC power of the battery, assuming a positive value when the battery injects power into the grid and a negative value when it is in charging mode. The effective control of battery charging and discharging stands as one of the most critical elements for enhancing the overall efficiency of the HPP. On an hourly basis, the battery SoC is expressed as follows: _SoC (t)_ where _ρ_ is water density ( _kg/m_ <sup>3</sup> ), _Hp_ (m) is pumping head, _g_ is the gravitational acceleration ( _m/s_ <sup>2</sup> ), _qp_ ( _t_ ) is the function of the pump flow rate ( _m_ <sup>3</sup> _/s_ ), _ηp_ is the pump efficiency, and the generating coefficient of the pump ( _kmW_ _/m_ <sup>3</sup> ) is _cp_ . The power of the turbine ( _Pt_ ) can be expressed by (9): _Pt (t)_ = _ηt_ _ρgHnet_ _.qt (t)_ = _ct_ _.qt_ ( _t_ ) (9) where _Hnet_ (m) is the net head, _qt_ ( _t_ ) is the function of the turbine flow rate ( _m_ <sup>3</sup> _/s_ ), _ηt_ is the turbine efficiency and generating coefficient of the turbine ( _kmW_ _/m_ <sup>3</sup> ) is _ct_ . The stored potential energy in the upper reservoir is expressed by (10) [26] _Ec_ = <sup>_ηt_</sup> <sup>_.ρ.g.H_</sup> <sup>_.V_</sup> (10) 3 _._ 6 × 10 <sup>6</sup> where _Ec_ is the energy storage capability of the water reservoir ( _kWh_ ) and _V_ is the volume of the upper reservoir ( _m_ <sup>3</sup> ). The total stored quantity of water in the upper reservoir can be expressed by (11): QUR(t) =QUR(t − 1)(1 − _α_ )+ _qp_ ( _t_ ) − _qt_ ( _t_ ) (11) where QUR _(_ t _)_ is the total quantity of water and _α_ is the leakage loss. The SoC of the upper reservoir (UR) is represented in terms of the water level within the storage tank, where the water level serves as a proxy for SoC This relationship is described by the following (12) [27]. _Pl (t)_ (4) = _SoC (t_ - 1 _) . (_ 1 − _σ)_ + _ηb._ - <u>1</u> _Ppv (t)_ _ηinv_ where _Pl_ is the load power, _σ_ is the battery’s self-discharge rate and _ηb_ is the battery efficiency. 3) DIESEL GENERATOR (DG) MODELING The utilization of a DG as a backup system is imperative due to the inherent unpredictability of power generation from both PV and BESS [21]. In off-grid energy systems, DGs have the dual purpose of regulating voltage and enhancing reliability [22]. On an hourly basis, the quantity of fuel consumed by the DG ( _FDG_ ) is a function of the output power ( _PDG_ ) as follows: _FDG (t)_ = _a. (PDG (t))_ <sup>2</sup> + _b.PDG (t)_ + _c_ (5) where the variables a, b, and c are coefficients or parameters that determine the relationship between the fuel consumption _FDG (t)_ of the DG and its output power _PDG (t)_ . Regarding the fuel price _FPDG_, the models for calculating both hourly and annual fuel costs can be expressed through (6) and (7), respectively. _FC_ _DG (t)_ = _FPDG.FDG_ ( _t_ ) (6) (12) _FC_ _DG,year (t)_ = 8760 _t_ =1 _FC_ _DG (t)_ (7) _SoC (t)_ = <sup><u>QUR</u></sup> <sup>_<u>(</u>_</sup> <sup><u>t</u></sup> <sup>_<u>)</u>_</sup> QUR _,_ max FIGURE 3. Energy management system block diagram. In terms of environmental impact, CO2 constitutes 99.4% of the leading greenhouse gases emitted from the combustion of diesel fuel, and some other gases such as methane, but in this paper the focus will be on CO2 [23]. 4) PHS MODELING As shown in FIGURE 2, PHS is a widely recognized and commercially viable technology for storing electrical energy, consisting of a separated pump/motor unit and a turbine/generator, and accomplished by harnessing the potential energy of water [24]. In this sophisticated storage approach, surplus energy is harnessed during off-peak periods to elevate water from a lower reservoir to a higher one. Subsequently, during peak demand periods, this elevated water is strategically released, permitting it to flow through a hydro turbine, thus converting its stored potential energy into electrical power generation [25]. The power of the pump ( _Pp_ ) can be expressed by (8): 5) ENERGY MANAGEMENT SYSTEM FIGURE 3 shows the proposed EMS that provides the power references for the ESS power ( _Pess_ ), the Pump and turbine power for the PHS ( _Pt_ _, Pp_ ), the desired grid power _(PG)_, and the desired DG power _(PDG)_ . The EMS inputs are the predicted solar power - _Ppv_ �, expected load ( _PL_ ), turbine power dicted solar power - _Ppv_ �, expected load ( _PL_ ), turbine power ( _Pt_ ), and the initial conditions for the battery charge ( _SoCi_ ). - _Ppv_ _Pp_ ( _t_ ) = _ρgHp.qp_ _(t)_ _ηp_ = _cp.qp_ ( _t_ ) (8) The power plant within the microgrid is typically owned and managed by a local entity or consortium. This ownership structure allows for localized control and efficient management of the energy resources, enhancing the reliability and resilience of the power supply. The EMS plays a crucial role in efficiently managing and optimizing the operation of various components in a hybrid energy system [28]. These components include PHS, PV, ESS, the grid, and DG. The Diesel Generator (DG) is connected to the local distribution network in our microgrid setup. This configuration allows the DG to operate as a backup power source within the microgrid, ensuring reliability and stability of the power supply. The DG supports the local energy needs and provides supplementary power during periods of insufficient renewable energy generation or battery storage. EMS regulates the operation of the PHS system by deciding when to release water from the upper reservoir to generate electricity through hydro turbines based on real-time energy needs. During electricity generation, power is produced by the hydro turbine, and this electricity can be utilized within the energy management system (EMS) to meet real-time energy needs. Any excess electricity generated, such as from PV, can be directed by the EMS to various storage systems, including pumping water from the lower reservoir to the upper reservoir in the PHS system when demand is low or electricity is cheap, converting it into potential energy [29]. Also, EMS monitors PV panel output, deciding whether to use, store, or export the generated solar electricity. EMS controls the charging and discharging of ESS, like batteries, to store excess electricity for later use during high-demand or expensive periods. It manages the connection with the grid, deciding when to import or export electricity to optimize performance and minimize costs. In case of power deficits or insufficient RESs, EMS can activate the DG as a backup, determining its start and stop times for system reliability and efficiency [20]. The power balance principle where the power generated must match the power consumed and stored in the ESS, transferred to or from the grid, and managed by the PHS system to maintain a stable and balanced electrical system. The power balance of the proposed HPP can be modeled by equation (13). This equation ensures that the total power in the system is conserved, and any excess generation or deficit is accounted for in terms of these components. _Pl (t)_ + _PDG_ ( _t_ ) − _Ppv (t)_ - _Pess,ch (t)_ + _Pess,dis (t)_ - _PG (t)_ + _Pp (t)_ - _Pt (t)_ = 0 (13) The equation states that the sum of power generated by Diesel Generators ( _PDG_ ) and the electrical load ( _Pl_ ) should equal the sum of power generated by PV panels ( _Ppv_ ), power used for ESS ( _Pess_ ), power imported or exported from or to the grid ( _PG_ ), and power generated or consumed by the PHS system ( _Pphs_ ). The EDE controller regulated the charging and discharging of the ESS to ensure that the PV operated where N corresponds to the duration of the forecasted horizon for a specific time (t) given and ( _t_ + _N_ ) is the cumulative sum. _CGRID_ is the cost of grid power, and it is equal to _Cpurchased_ when purchasing power from the grid, while _CGRID_ is equal to _Csold_ when selling power to the grid. _ηch,ESS_ is the charging efficiency of the ESS while _ηdis,ESS_ is the discharging efficiency of the ESS. _Pch,ESS (t)_ is the ESS charging power while _Pdis,ESS (t)_ is the ESS discharging power [33]. at optimum efficacy. If the PV output is greater than the necessary load, the extra power is used to fill the ESS while the ESS is released if the PV output is less than the required load [30]. _B._ _MILP OPTIMIZATION_ In MILP, the objective function and constraints are linear, but some decision variables can only take integer values, while others can take continuous values. The MILP method solves the optimization problem by formulating it as a mathematical model and then using specialized algorithms to find the optimal solution [31]. One common approach is to use a branch-and-bound algorithm, which involves recursively partitioning the feasible solution space and solving linear programming problems at each node until the optimal solution is found [21]. This paper will use the MILP to find the optimal solution that represents the lowest cost. FIGURE 4 shows a detailed flowchart of the EMS algorithm employed in this study to solve a MILP optimization problem for HPP integrating an ESS, DG, PHS, PV, and load. The flowchart represents the decision-making process of the EMS, which includes multiple checks to ensure optimal operation. Each component in the flowchart is distinctly color-coded for clarity, ensuring that the progression of the algorithm is easily understandable. Key steps and decision points are highlighted to emphasize their importance in the EMS process. The feedback correction was used similarly to the paper [32], which will help reduce the scheduling errors resulting from forecasting errors. The objective is to minimize the use of the ESS while meeting the load demand. The Total Cost Functions for this HPP can be expressed as follows _Jtotal_ = _JESS_ + _JPV_ + _JLoad_ + _JDG_ + _Jgrid_ + _Jphs_ (14) where _JLoad_, _JPV_, _JDG,Jphs_ and _JESS_ are the cost functions of the load, PV, DG, PHS, and ESS, respectively. _JESS_ = _Cpurchased,ess_ - _Csold,ess_ (15) where _JESS_ a function of the cost of ESS is, _Cpurchased,ess_ is a cost of purchased power, and _Csold,ess_ is a cost of sold power. _JESS_ = _._ _t_ + _N_ _t_ =1 - <u>1</u> _ηch,ESS_ _.Pess,ch (t)_ _ηdis,ESS_ _�t.CGRID (t)_ _Pess,dis (t)_ (16) FIGURE 4. Flowchart of the EMS algorithm. The PV’s power values are given, so the function of the cost of PV power is expressed as follows: where _JLoad_ is a function of the cost of the Load power, _Cpurchased_ is a cost of purchased power, and _Csold_ is a cost of sold power. _JDG_ is represented as the combination of the expenses linked to the fuel necessary for generating sufficient energy to meet load demands and operate the generation facility, along with the emissions-related costs. By knowing the quantities of gas produced when burning diesel fuel, the emission costs can be formulated as a function of fuel consumption, as follows: _JPV_ = _t_ + _N_ _t_ =1 _�t.Ppv (t) .Cpv_ (17) where _JPV_ is a function of the cost of the PV. The _Cpv_ is the constant cost of the PV. _t_ + _N_ _t_ =1 - ( _Ppurchased_ _(t)_ - _Psold_ _(t)_ ) _.F_ _�t_ _P_ <sup>_max_</sup> _DG_ _JDG_ = _JLoad_ = _t_ + _N_ _t_ =1 _�t.CGRID (t) ._ ( _Ppurchased (t)_ - _Psold (t)_ ) (18) _Jload_ = _Cpurchased,l_ - _Csold,l_ (19) ·( _Cf_ + _Cmαco_ 2) (20) where _P_ <sup>_max_</sup> _DG_ <sup>the DG produces he maximum power,</sup> <sup>_Cf_</sup> <sup>is the</sup> cost of fuel per liter, _αco_ 2 and _Cm_ are the gas mass associated with burning fuel and the cost of said gases, and _F_ is the amount of diesel used per kWh. The function of the cost of PHS is expressed as follows: where _δ_ is the evaporation and leakage loss. During pumping and power generation, _VR_ is the state of water volume in the reservoir of the PHS at time t, which must be maintained between its minimum and maximum values, _VR,min_ and _VR,max_, and is calculated considering the previous volume, evaporation and leakage losses, and the efficiencies and power of the pump and turbine. s.t (5), PHS Control: _Pt (t)_ (21) _Jphs_ = _t_ + _N_ _t_ =1 _�t.CGRID (t) ._ _ηp.Pp (t)_ - <sup><u>1</u></sup> _ηt_ where _ηp_ is the pump efficiency of the PHS while _ηt_ is the turbine efficiency of the PHS. _Pp (t)_ is the PHS pumping power while _Pt (t)_ is the PHS turbine power. Now the total cost function can be simplified as follows: _Jtotal_ _x.Tmin_ ≤ _T_ _(t)_ ≤ _x.Tmax_ _y.Pp,min_ ≤ _Pp (t)_ ≤ _y.Pp,max_ _VR,min_ ≤ _VR (t)_ ≤ _V_ _x, y ϵ_ {0 _,_ 1} _y_ = 1 − _x_ _PHS_ =    (27) where _T_ is the turbine value, and when it is 0% the valve is fully closed. Otherwise, when _T_ is 100% the valve is fully open. s.t (6), DG Control: The diesel generator power is bounded between maximum and minimum values as = _t_ + _N_ _t_ =1 _�t._ - _Ppv (t) .Cpv_ + _CGRID (t)_ [ _ηch,ESS_ _.Pess,ch (t)_ <u>1</u> _ηdis,ESS_ _Pess,dis (t)_ + - _Ppurchased (t)_ - _Psold (t)_ + _ηp.Pp (t)_ - <sup><u>1</u></sup> _ηt_ _.Pt (t)_ ] ~~+~~ <sup>(</sup> <sup>_Ppurchased_</sup> <sup>_(t)_</sup> <sup>−</sup> <sup>_Psold_</sup> <sup>_(t)_</sup> <sup>)</sup> <sup>_.F._</sup> <sup>(</sup> <sup>_Cf_</sup> <sup>+</sup> <sup>_Cm.αco_</sup> <sup><u>2)</u></sup> _PDG_ = - _PDG,min (t) < PDG (t) < PDG,max_ ( _t_ ) (28) _P_ <sup>_max_</sup> _DG_ <sup>)</sup> <u>�</u> (22) _DG_ Since the total cost functions are constrained by a multiple of the constraints that affect the system’s behavior as shown below: s.t (1), Power Balance: _Pl (t)_ + _PDG_ ( _t_ ) − _Ppv (t)_ - _Pess,ch (t)_ + _Pess,dis (t)_ - _PG (t)_ + _Pp (t)_ - _Pt (t)_ = 0 (23) s.t (2), SoC Balance: _SoC (t)_ = _SoC (t_ - 1 _)_ _Pess,dis (t)_ (24) _C._ _STOCHASTIC GRADIENT DESCENT OPTIMIZATION_ Stochastic gradient descent (SGD) is an optimization algorithm commonly used in machine learning and deep learning to minimize the loss function of a model by updating the model parameters based on the gradient of the loss function computed on a randomly selected subset of the training data [34]. SGD has many benefits and one of the most important is efficiency with large datasets. In many machine learning tasks, datasets can be massive, and processing the entire dataset in each iteration of the optimization process can be computationally expensive. SGD addresses this issue by using a random subset of the data in each iteration. This significantly speeds up the training process [35]. This random sampling introduces noise in the gradients but allows the algorithm to converge faster to a reasonable solution since it can take steps in the direction of the optimal solution more frequently. In each iteration, the algorithm computes the gradient of the loss function with respect to the parameters for the selected batch. It updates the parameters in the opposite direction of the gradient. The step size is controlled by a learning rate, which determines the magnitude of the update. The process continues for a fixed number of epochs or until the convergence criteria are met. The main advantage of stochastic gradient descent is its computational efficiency, which makes it suitable for large-scale problems. However, it can be sensitive to the learning rate, which may need to be adjusted during training, and it may converge to a suboptimal solution if the initial learning rate is too high or too low. Various extensions of the basic algorithm, such as mini-batch gradient descent and momentum, have been proposed to improve its performance and stability [34]. <u>1</u> + _QESS_ - <u>1</u> _ηch,ESS_ _.Pess,ch (t)_ _ηdis_ s.t (3), ESS Control: _x.Pess,ch_ - _min_ ≤ _Pcharge (t)_ ≤ _x.Pess,ch_ - _max_ _y.Pess,dis_ - _min_ ≤ _Pdis (t)_ ≤ _y.Pess,dis_ - _max_ _SoC_ _min_ ≤ _SoC_ _min (t)_ ≤ _SoC_ _max_ _x, y ϵ_ {0 _,_ 1} _y_ = 1 − _x_ _ESS_ =    (25) where x & y are integer variables responsible for and representing the state of the behavior of ESS either charging or discharging. _QESS_ is the maximum capacity of the ESS ( _kWh_ ). s.t (4), State of water Balance: _VR (t)_ = _VR (t_ - 1 _) ._ (1 − _δ_ ) + <sup><u>1</u></sup> _ER_ - _ηp.Pp (t)_ - <sup><u>1</u></sup> _.Pt (t)_ _ηt_ (26) FIGURE 5. SDDP optimization (Scenario Tree). The objective function and constraints must be defined to finalize the HPP modeling, which includes PV, ESS, and load for SGD optimization. As done previously in MILP optimization, the objective function and constraints will remain the same for both optimization methods. The objective of the optimization problem is to minimize the total cost of electricity generation and storage over a specified time period. The cost function of the Energy Storage System (ESS) is designed to capture its behavior concerning the State of Charge (SoC) in a stochastic gradient descent optimization framework. The primary goal is to minimize the total cost associated with electricity generation and storage over a specified timeframe, taking into account both the charging and discharging costs [36]. The stochastic gradient descent algorithm can be used to find the optimal values of the PV power and ESS power that satisfy the constraints and minimize the total cost of electricity generation and storage, subject to the constraints on the PV generation, load demand, and ESS capacity [37], [38]. _D._ _MULTI-STAGE STOCHASTIC OPTIMIZATION PROGRAM_ The multistage-stochastic process, whose distribution is known, allows for a comprehensive understanding of the system’s behaviour under uncertainty. The process’s manifestation may be viewed at distinct times, and remedial actions are conceivable. This yields an iterated observation-decision scheme in which a choice of remedial actions are made after each observation of the stochastic process. This approach is particularly beneficial for several reasons such as energy management to balance the supply and demand of multiple energy resources, including RESs, conventional sources, and energy storage. Also, multi-stage optimization allows for the optimal control of energy storage systems over time, including charging, discharging, and state-of-charge management while allowing for integrated long-term and short-term planning [39]. A discrete-time horizon t was considered and suppose that the set is either finite or infinitely countable. Afterward, we will limit ourselves to limited horizons. The index identified the time points, and it was written as t = {1, 2,..., t} or t = {1, 2,...} [14]. The equations (22) - (28) can be represented as a multi-stage stochastic linear program as the following formula: _ht (xt_ _, bt_ _)_ = minxt <sup>_ct_</sup> <sup>_xt_</sup> <sup>+E</sup> <sup>_b(t_</sup> <sup>+1 |</sup> <sup>_bt )ht_</sup> <sup>+1</sup> <sup>_(xt_</sup> <sup>_, bt_</sup> <sup>+1</sup> <sup>_)_</sup> (29) s.t. _At_ _xt_ = _Bt_ _xt_ −1 + _bt_ : _π_ 1 (30) _xt_ ≥ 0 (31) where t = 2,...,T, _xt_ is the decision variables at a certain stage, _πt_ is the dual variables associated with the constraints, and the expression (E _b(t_ +1 | _bt )ht_ +1 _(xt_ _, bt_ +1 _)_ ) denotes the estimated cost function for stage t+1, based on decisions ( _xt_ ), which is the vector of decision variables at time t, made in stage t, where bt+1 represents the realization of the random parameter for that case, while _bt_ is a vector representing external inputs or disturbances at time _t_ . _At_ _, Bt_ are matrices defining the relationship between current and previous state variables. Also, the general T-stage stochastic linear program is shown below in (32) - (34): minxt <sup>_ct_</sup> <sup>_xt_</sup> <sup>+E</sup> <sup>_(b_</sup> <sup>2 |</sup> <sup>_b_</sup> <sup>1</sup> <sup>_)h_</sup> <sup>2</sup> <sup>_(xt_</sup> <sup>_, b_</sup> <sup>2</sup> <sup>_)_</sup> (32) s.t. _A_ 1 _x_ 1 = _B_ 1 _x_ 0 + _b_ 1 : _π_ 1 (33) _xt_ ≥ 0 (34) The decision variables at a certain stage, represented by vector _xt_, including electricity purchases from the grid, the charge and discharge power of the ESS, and the battery’s state of charge (SoC). The target functions for minimizing the total cost, considering present and future stage costs, are described in (29) and (32). The structural constraints of the model, (30) and (33), the specific scenario involves power balance and charge balance (22) and (23). The dual variables ( _π_ t) obtained from the structural constraints are utilized to create a piece-wise linear estimation of the future cost function through Benders’ decomposition technique. Equations (31) and (34) define the state transitions in the optimization model. _At_ _, Bt_ are matrices that relate the state and decision variables across different time periods, while _bt_ represents external inputs or disturbances. The dual variables _πt_ are associated with these constraints, providing necessary conditions for optimality. Equations (31) and (34) impose straightforward restrictions on the decision variables, such as (26) and (27). In the objective function presented in equation (32), The expression _ct_ _xt_ +E _(b_ 2 | _b_ 1 _)h_ 2 _(xt_ _, b_ 2 _)_ denotes the estimated cost function for stage 2, considering decisions ( _x_ 1) made in stage 1. In this context, _b_ 2 represents a random parameter that influences the system’s condition at stage 2. Likewise, in equation (29), E _b(t_ +1 | _bt )ht_ +1 _(xt_ _, bt_ +1 _)_ calculates the projected cost function for stage t+1, based on decisions ( _xt_ ) made in stage t, where _bt_ +1 represents the realization of the random parameter for that case [40]. To date, the most advanced approach for solving multi-stage stochastic linear programming is the SDDP method. SDDP addresses the computational complexity of Dynamic Programming (DP) by approximating the future cost function with piece-wise linear functions known as Benders’ cuts, which are progressively included. This iterative process continues until a specific stopping measure is satisfied [41]. FIGURE 5 provides a visual representation of how SDDP works for a three-stage problem, although it’s important to note that the actual tree sizes can be large[43]. In the SDDP procedure, once a sampled scenario tree is provided, the forward pass begins by sampling the pathways in the tree. Throughout the problem-solving process, these paths are taken into account. In the forward pass, models represented by (32) - (34) are solved at each time stage using the simplex approach. Benders’ cuts obtained from previous iterations for the corresponding stage are incorporated as additional constraints to enhance the approximation of future costs and improve decision-making. The average cost of all the sampled forward pathways serves as an estimation of the anticipated future cost. At the final stage, the entire predicted cost is calculated, serving as the upper bound for the problem. Solving the first stage problem provides a lower bound for the sampled problem. The upper and lower bounds converge after a finite number of iterations, and the process can be terminated based on a convergence criterion. During the convergence process, if the upper and lower bound costs fail to achieve the desired level of convergence, an additional iteration of SDDP is executed. New forward pathways are sampled individually in each cycle. The algorithm then conducts the backward pass to achieve the desired convergence level. During the backward pass, additional Benders’ cuts are computed at specific stages to reflect the projected future cost function better. Cuts are not used at the final stage since there are no future costs [13]. The marked nodes in FIGURE _5 (c)_ indicate the selected nodes in the backward pass for each iteration. Benders’ cut for stage t is computed using equations (35)-(37). _θt_ + _Gt_ _xt_ ≥ _gt_ (35) where the future cost obtained from the forward pass is represented by _θt_, the dual variables are denoted by _π_ <sup>_ωt_</sup> <sup>+1</sup> _t_ +1 <sup>,</sup> and the optimal cost is indicated by _h_ <sup>_ωt_</sup> <sup>+1</sup> _t_ +1 <sup>from</sup> <sup>the</sup> <sup>solved</sup> linear problem for stage (t+1) [40]. The backward pass is unable to solve all of the sampled forward pathways that were solved in the forward path. The SDDP can calculate the Benders’ cuts by selecting a subset of sampled forward pathways. Because the backward pass estimation takes longer than the forward pass estimation, the number of paths chosen can be lowered to accelerate convergence. Following the completion of the backward pass for every stage, a separate set of forward pathways is sampled from the scenario tree to represent the cumulative cuts gained from the backward pass of every iteration for every stage of the system [43]. III. SIMULATION AND RESULTS A MATLAB code has been used for the simulation, the ‘‘ Optimproblem’’ function is used to define an optimization problem with decision variables for the power generated by the HPP, the power charging/discharging of the ESS, and the energy capacity of the ESS over time. The case studies provided in this manuscript illustrate a larger scale than typical microgrid setups. This approach is intended to demonstrate the scalability and flexibility of the proposed energy dispatch management system. While the examples exceed the conventional microgrid scale, they highlight the system’s potential for larger applications and integration of various energy resources. Additionally, the system is equally applicable to smaller, more conventional microgrid setups, offering broad versatility in energy management. The objective function is _Gt_ = _gt_ = _ωt_ +1∈ _�(ωt_ _)πt_ <sup>_ω_</sup> + <sup>_t_</sup> <sup>+</sup> 1 <sup>1</sup> <sup>_Bt_</sup> <sup>+1</sup> (36) - _ωt_ +1∈ _�(ωt_ _)h_ <sup>_ω_</sup> _t_ + <sup>_t_</sup> <sup>+</sup> 1 <sup>1</sup> <sup>_ω_</sup> _t_ + <sup>_t_</sup> <sup>+</sup> 1 <sup>1</sup> <sup>−</sup> <sup>_Gt_</sup> <sup>[</sup> <sup>_x_</sup> _t_ <sup>_ωt_</sup> _t_ <sup>_ωt_</sup> <sup>]</sup> <sup>_k_</sup> (37) to minimize the total power generated by the HPP over the simulation period. The economic model considered in this study includes the capital costs of the PV system, batteries, and other components, as well as the operational costs related to energy dispatch and grid interactions. The operation and maintenance (O&M) costs of the Energy Storage System (ESS) were excluded from this analysis for several reasons: - Focus on Capital and Operational Optimization: Our study primarily aims to optimize the capital and operational expenditures associated with energy dispatch and system efficiency, which are critical to our research objectives. - Comparative Analysis Objective: This research is designed to compare different energy dispatch strategies under various tariff schemes, where the inclusion of relatively constant O&M costs would not significantly impact the comparative results. - Simplified Economic Model: To simplify the model and concentrate on the main variables affecting optimization, we excluded O&M costs. Future research will incorporate these costs for a more comprehensive economic assessment. Constraints are included to ensure power balance, energy storage capacity limits, and the relationship between power charging/discharging of the ESS and energy storage over time. The pricing mechanism for the microgrid is based on Time-of-Use (ToU) tariffs, which reflect the varying cost of electricity during different times of the day. This approach incentivizes users to shift their energy consumption to periods when electricity is cheaper, thereby improving cost-effectiveness and load management within the microgrid. The Real-time hourly electricity prices of Chicago are used to calculate the cost and used for the tariff cost as well as presented in TABLE 2 [41]. TABLE 2. Time-of-use (TOU) tariff. _A._ _MILP_ The cost data used in the analysis consisted of real-time electricity pool prices, sampled at 15-minute intervals, which determined the cost of purchasing or selling electricity. Forecasted data for both PV generation and load demand were provided. The figures presented in the analysis depict the system’s performance over 24 hours. FIGURE 6 (a) and FIGURE 6 (b) display the PV generation and load demand profiles for the entire day. FIGURE 6 (d) presents the grid power profile for a system empty of (PHS), whereas FIGURE 7 (a) showcases the grid power profile for a system integrated with PHS over a day. These plots representations delineate the changes in grid power within predefined upper and lower bounds, which are influenced by the status of the TABLE 3. System parameters. (ESS). When the ESS is discharging, the grid power exhibits a positive value, signifying the draw of electricity from the grid to fulfil demand. When the load is relatively miniature, the ESS with PHS is capable of handling the load while also generating power for it. However, if the load were to double, the grid would commence power generation to support the ESS and PHS in meeting the increased load demand. Notably, as evidenced in FIGURE 6 (b) and FIGURE 7 (a), the cumulative net grid power for the system without PHS is lesser than that for the system incorporating PHS, amounting to 521 MW and 678 MW, respectively. FIGURE 6 (c) and FIGURE 7 (c) show the power profile of the ESS without and with PHS integration, respectively. FIGURE 6 (c) the minimum ESS power registers at (−17 MW), slightly higher than the corresponding value depicted in FIGURE 7 (c) (−15 MW), while the standard minimum ESS power stands at (−20 MW). This discrepancy arises from the interplay between the grid, DG, and the charging/discharging cycles of the ESS, all while adhering to specified constraints and anticipated power demands. The operational capacity of the ESS is defined by its battery capacity. By minimizing ESS operations while considering SoC the plot underscores charging and discharging patterns. The initial SoC of the system, depicted in FIGURE 6 (e) without PHS, is 50%. It commences discharging for the first 6 hours of the day, followed by a charging phase until it reaches 53%. Subsequently, another discharge phase ensues, succeeded by a charging phase ultimately restoring the SoC to 50% in response to peak load hours. Conversely, for a system incorporating PHS, FIGURE 7 (e) illustrates a similar SoC pattern within the PHS system. Here, FIGURE 6. Results of the MILP optimization for a Hybrid Energy System (HES) combining PV, DG, and ESS. (a) the system’s PV profiles, (b) the system’s Load profiles, (c) ESS power profile (PV, DG, ESS), (d) grid profile (PV, DG, ESS), (e) SoC profiles (PV, DG, ESS), and (f) DG profile (PV, DG, ESS). the SOC initiates charging after the initial 6 hours of the day and continues,until it reaches 52%. It has to be noted that the SoC decreases/increases with the discharging/charging of the battery with the negative/positive sign of the power, FIGURE 7. Results of the MILP optimization for a Hybrid Energy System (HES) combining PV, DG, PHS, and ESS. (a) grid profile (PV, DG, ESS, PHS), (b) water level state profile (PV, DG, ESS, PHS), (c) ESS power profile (PV, DG, ESS, PHS), (d) PHS profile (PV, DG, ESS, PHS), (e) SoC profiles (PV, DG, ESS, PHS), and (f) DG profile (PV, DG, ESS, PHS). respectively. In the system comprising DG, PV, ESS, and PHS, FIGURE 7(b) illuminates the water level state within the PHS system. Initially set at 40% of its capacity, the water level volume decreases until it reaches 21% during the first FIGURE 8. Results of the SDDP optimization for a Hybrid Energy System (HES) combining PV, DG, and ESS. (a) ESS power profile (PV, DG, ESS), (b) grid profile (PV, DG, ESS), (c) SoC profiles (PV, DG, ESS), and (d) DG profile (PV, DG, ESS). 6 hours of the day, followed by an ascent phase until it reaches 44.1%. This decrement denotes a period of heightened electrical demand surpassing the ESS’s capacity alone to satisfy the load, prompting the PHS system to generate supplementary electricity. While both PHS and ESS serve as energy storage systems, they operate distinctively. PHS stores energy as potential energy by pumping water to an upper reservoir and subsequently releasing it through turbines to generate electricity as needed. During instances of elevated demand exceeding supply, such as peak periods or low PV generation, both PHS and ESS discharge stored energy to the grid, aiding in grid stabilization and mitigating the necessity for DG. Moreover, FIGURE 7 (d) and FIGURE 9 (d) elucidate the PHS mode for both MILP and SDDP methods, respectively. When operating as a pump, the PHS system consumes electrical energy to transfer water from a lower reservoir to an upper reservoir, effectively storing energy. This pump mode entails the PHS system acting as a load and consuming power, yielding a negative power output. Conversely, when functioning as a generator or turbine, the system releases stored water from the upper reservoir to the lower reservoir, converting potential energy into electrical energy. In this generator mode, the PHS system acts as a generator, producing electrical power and yielding a positive power output. The inclusion of PHS in the HES augments its energy storage capabilities and enhances grid stability while mitigating dependence on DG and grid power. Strategic coordination and optimization of PHS and ESS alongside other system components can yield improved performance, cost efficiency, and environmental sustainability. _B._ _SDDP_ The SDDP method is employed to optimize the operation of ESS while considering uncertainty, which is represented by 5 stages, each stage has 10 different scenarios. These scenarios are generated based on stochastic variations in load FIGURE 9. Results of the SDDP optimization for a Hybrid Energy System (HES) combining PV, DG, PHS, and ESS. (a) grid profile (PV, DG, ESS, PHS), (b) water level state profile (PV, DG, ESS, PHS), (c) ESS power profile (PV, DG, ESS, PHS), (d) PHS profile (PV, DG, ESS, PHS), (e) SoC profiles (PV, DG, ESS, PHS), and (f) DG profile (PV, DG, ESS, PHS). and PV generation profiles. To generate sample scenarios for uncertain parameters at each stage, changes in load may arise from variations in these uncertain factors across different scenarios or stages. These sample scenarios serve as distinct possible realizations of uncertain variables, such as PV generation or load demand, encountered within the optimization problem. These scenarios are instrumental in estimating the expected value of the objective function associated with the constraints. Including scenarios in the optimization process enhances the robustness of decision-making for ESS operation. By considering various scenarios, the algorithm can make informed decisions that lead to reduced energy purchases and more efficient utilization of the ESS. This approach enables better management of the ESS’s SoC while minimizing operational costs. FIGURE 8 (a) presents the grid power profile for a system empty of PHS, whereas FIGURE 9(a) showcases the grid power profile for a system integrated with PHS over a day. Notably, as evidenced in FIGURE 8 (a) and FIGURE 9 (a), the cumulative net grid power for the system without PHS is lesser than that for the system incorporating PHS, amounting to 370 MW and 678 MW, respectively. FIGURE 8 (c) and FIGURE 9 (c) show the power profile of the ESS without and with PHS integration, respectively. These plots indicate periods of charging and discharging while adhering to all provided constraints and anticipated power requirements. The ESS’s operational capacity is constrained by its battery capacity. Positive ESS power values contribute to an increase in SoC, while negative ESS power values result in a decrease in SoC. FIGURE 8 (b) presents the SoC percentage profile throughout the day for the system without PHS. The plot highlights charging and discharging patterns, indicating that the initial SOC of the system is 50%. It begins discharging for the first 6 hours of the day, followed by a charging phase until it reaches 53.9%. Subsequently, it initiates another discharge phase, ultimately returning to 50% SOC in response to peak load hours. However, for a system that also includes PHS, FIGURE 9 (e) illustrates a similar SOC pattern. Here, the SOC begins discharging for the first 6 hours of the day and continues until it reaches 52.2%. Constraints on the minimum and maximum SoC of the ESS are rigorously enforced for each scenario, ensuring that the ESS operates within predefined and safe boundaries. Through optimization across scenarios, the algorithm strives to strike a balance between maximizing ESS utilization and maintaining SoC within acceptable limits. Upon analyzing FIGURE 8 (d) and FIGURE 6 (f), show the changes in DG power within the system without PHS. These figures depict minimal changes in DG values, with the maximum DG power peaking at 40 MW. This nominal variance can be ascribed to the persistent and considerable load demand, which maintains a consistently high level. Furthermore, the absence of PHS exacerbates the situation by limiting the system’s flexibility in adjusting power outputs to meet fluctuating demands. Conversely, upon review of FIGURE 7 (f) and FIGURE 9 (f), illustrating the changes in DG power within the system integrated with PHS, with large dynamic changes. These visual representations portray dynamic shifts in DG values, indicative of a system that incorporates both PHS and Energy Storage Systems (ESS). This integration facilitates more agile and adaptable energy management strategies, resulting in a scenario where the maximum DG power is capped at 20 MW. Such responsiveness is made possible by the complementary nature of PHS and ESS, allowing for efficient balancing of supply and demand dynamics within the system. For a system comprising DG, PV, ESS, and PHS, FIGURE 9 (b) visualizes the water level status within the PHS system. Initially, the water level is set at 40% of its total capacity. As indicated at t = 1, the water level decreases to 19%, and then it increases to 45%. This decline reflects a period of heightened electrical demand that surpassed the ESS’s capacity to independently meet the load. Consequently, during this period, the PHS system commences electricity generation to complement the power supply. Both PHS and ESS are categorized as energy storage systems, although they operate differently. One commonality between PHS, ESS, and the grid is their capacity to store surplus energy when generation exceeds demand and release stored energy when demand exceeds generation. This capability contributes to grid stability, facilitates load balancing, and allows for the storage of excess energy for future utilization. Constraints are integrated into the code to ensure that the SoC remains within predefined limits. In the context of the SDDP algorithm, the results obtained from solving the optimization problem for each scenario provide valuable insights into the optimal operation of the HPP. These insights encompass the intricate relationship between the grid, SoC, and the ESS, as well as strategies for minimizing ESS operation while accounting for SoC considerations. By thoroughly analyzing the outcomes generated by the SDDP algorithm, you can gain a deeper understanding of the optimal control decisions governing grid, ESS, PHS, and PV power under various scenarios. FIGURE 10. Different electricity tariffs. _C._ _TOTAL ELECTRICITY COST OF DIFFERENT TARIFFS &_ _CO_ 2 _EMISSION COST_ In this research, the Real Time Pricing (RTP) scheme refers to a scenario where electricity rates are directly tied to the ever-changing electricity market prices. These rates are not FIGURE 11. The convergence analysis and final optimal cost comparison. fixed in advance and typically fluctuate hourly. TOU tariffs, conversely, represent the most used approach to pricing that varies with time. Under TOU, each day is divided into two to five intervals, each having a set electricity rate. This division and rate determination process occur monthly. In the Critical Peak Pricing (CPP) scheme, either TOU or RTP rates generally apply for most days throughout the year. However, a few specific days within the year witness rate adjustments during certain hours that coincide with peak electricity demand provides an overview of the various tariff structures considered in the Chicago case study [41]. TABLE 4 presents the CO2 emission costs for both MILP and SDDP, revealing that the CO2 cost is lower in the case of SDDP. Interestingly, the system without PHS exhibits higher CO2 costs compared to the system with PHS. The values presented in TABLE 4 were calculated using the following equations: TABLE 4. Daily _CO_ <sup>2</sup> emission cost. TABLE 5. Daily operational Cost for MILP. TABLE 6. Daily operational Cost for SDDP. higher costs than the system with PHS (e.g., 180 $/24h). It’s noteworthy that the SDDP approach consistently results in lower total costs than MILP. The rationale behind the SDDP method’s cost-effectiveness, particularly in complex systems dealing with uncertainty and multiple scenarios, lies in its ability to consider a broad spectrum of scenarios and their associated probabilities. This approach offers a more accurate representation of real-world uncertainties in energy systems. In contrast, MILP primarily relies on deterministic models, rendering it more conservative and less adaptable to variable conditions. Furthermore, SDDP employs probabilistic models to represent uncertainties more faithfully, whereas MILP often relies on deterministic approximations that can lead to suboptimal decisions and higher costs. The convergence analysis and optimal cost comparison clearly indicate that the proposed SDDP method outperforms the MILP method in optimizing the energy dispatch for hybrid power plants. The SDDP algorithm not only converges more efficiently but also achieves lower overall costs, validating its effectiveness in real-time energy management scenarios as shown in FIGURE 11 illustrates the PV and load profiles after introducing white noise. The added white noise, characterized by a standard deviation of the noise is half of the standard deviation of the original signals, introduces stochastic elements into the PV and load data. This randomness serves to simulate real-world unpredictability and variability in energy generation and consumption patterns. The effects of this noise on the outcomes of Stochastic Dual Dynamic Programming (SDDP) and Mixed-Integer Linear _CO_ 2 _,emission_ = _t_ + _N_ _t_ =1 _EDG (t)_ + _Egrid_ ( _t_ ) (38) _CO_ 2 _,cost_ = _CO_ 2 _,emission.CCO_ 2 (39) where the _EDG (t)_ is the carbon emissions from the diesel generator at time t, _Egrid_ ( _t_ ) is the carbon emissions from grid power usage at time t, and _CCO_ 2 is the cost per Kg of CO2 emissions. These equations represent the methodology used to derive the CO2 cost and CO2 emissions for the hybrid power plant system. TABLE 5 and TABLE 6 provide a comparison of the total optimized and base electricity costs between the MILP and SDDP methods. These tables reflect the overall energy costs of the proposed HES, contrasting the optimized and base costs for the following pricing schemes: RTP, TOU, and CPP. TABLE 5 displays the total cost for the MILP method, indicating that the system without PHS incurs higher costs (e.g., 227 $/24h) than the system with PHS (e.g., 219.8 $/24h). On the other hand, TABLE 6 reveals the total cost for the SDDP method, where the system without PHS (e.g., 209 $/24h) exhibits Programming (MILP) optimization methods are explored in the subsequent analysis. Introducing white noise to the data can enhance the robustness of the SDDP approach, making it more adaptable and resilient to variations. SDDP is explicitly designed to manage uncertainty, and the introduction of noise effectively simulates real-world unpredictability. Consequently, the SDDP method is likely to yield more reliable and robust solutions, as evident in TABLE 8, where the total cost without white noise is slightly higher than the total cost with white noise. Conversely, incorporating white noise into MILP can significantly elevate the complexity of the optimization problem. MILP models may encounter challenges when handling noisy data, resulting in more intricate and time-consuming computations. Additionally, MILP may struggle to identify the most cost-effective solutions in the presence of noisy data, possibly leading to suboptimal outcomes. This, in turn, can result in higher total electricity costs, as evident in TABLE 7, where the total cost without white noise is lower than the total cost with white noise. FIGURE 12. The effect of white noise that being added with a standard deviation that is half (0.5) of the original signals of PV and Load. (a) Load profile, (b) PV profile. TABLE 7. The daily operational Cost for MILP with showing the presence of uncertainty in the load and PV profiles, with the standard deviation specified as 0.5 MW. TABLE 8. The daily operational Cost for SDDP with showing the presence of uncertainty in the load and PV profiles, with the standard deviation specified as 0.5 MW. IV. CONCLUSION In conclusion, in this research, complex challenges of optimizing HPPs were tackled by integrating various RESs and storage systems. The focus was on a hybrid setup combining PV systems, BESS, DG, and PHS to enhance energy management and minimize operational costs and carbon emissions. An advanced EDE was developed using MILP) and SDDP. The SDDP algorithm demonstrated superior performance in optimizing the discharge and charge profiles of the BESS, resulting in lower total costs and reduced carbon emissions compared to the MILP method. The SDDP approach consistently achieved lower total costs than the MILP approach. The total cost for the system with PHS using SDDP was 180 $/24h, significantly lower than the MILP cost of 219.8 $/24h. Findings indicated that the SDDP method also reduced CO2 emissions, with the SDDP approach emitting 160 kg of CO2 per day compared to 200 kg with the MILP method. Introducing stochastic elements, such as white noise into PV and load data, demonstrated the robustness of the SDDP method in handling real-world unpredictability, further validating its effectiveness for dynamic energy management. This study highlights the importance of advanced optimization techniques in managing hybrid power plants. The proposed SDDP algorithm not only improves cost efficiency but also enhances environmental sustainability by reducing emissions. The flexibility and scalability of this approach make it suitable for various applications, from small microgrids to larger power systems. These findings contribute significantly to the ongoing efforts to optimize renewable energy integration, reduce costs, and promote sustainable energy solutions in the evolving energy landscape. The scalability of the proposed system is one of its key strengths. Although the case studies presented in this paper are on a larger scale, the energy dispatch management system is designed to be adaptable to both large and small setups. This flexibility makes it suitable for a wide range of applications, from localized microgrids to more extensive power systems. Future work may include further analysis and case studies focusing on smaller, conventional microgrid setups to illustrate the system’s broad applicability. ACKNOWLEDGMENT The statements made herein are solely the responsibility of the authors. REFERENCES [1] M. Azeroual, T. Lamhamdi, H. El Moussaoui, and H. El Markhi, ‘‘Simula tion tools for a smart grid and energy management for microgrid with wind power using multi-agent system,’’ _Wind Eng._, vol. 44, no. 6, pp. 661–672, [Dec. 2020, doi: 10.1177/0309524x19862755.](http://dx.doi.org/10.1177/0309524x19862755) [2] H. A. U. Muqeet and A. Ahmad, ‘‘Optimal scheduling for campus pro sumer microgrid considering price based demand response,’’ _IEEE Access_, [vol. 8, pp. 71378–71394, 2020, doi: 10.1109/ACCESS.2020.2987915.](http://dx.doi.org/10.1109/ACCESS.2020.2987915) [3] M. Al-Saadi, M. Al-Greer, and M. Short, ‘‘Reinforcement learning-based intelligent control strategies for optimal power management in advanced power distribution systems: A survey,’’ _Energies_, vol. 16, no. 4, p. 1608, [Feb. 2023, doi: 10.3390/en16041608.](http://dx.doi.org/10.3390/en16041608) [4] V. Khare, S. Nema, and P. Baredar, ‘‘Solar–wind hybrid renewable energy system: A review,’’ _Renew._ _Sustain._ _Energy_ _Rev._, vol. 58, pp. 23–33, [May 2016, doi: 10.1016/j.rser.2015.12.223.](http://dx.doi.org/10.1016/j.rser.2015.12.223) [5] L. Moretti, M. Astolfi, C. Vergara, E. Macchi, J. I. Pérez-Arriaga, and G. Manzolini, ‘‘A design and dispatch optimization algorithm based on mixed integer linear programming for rural electrification,’’ _Appl._ _Energy_, vols. 233–234, pp. 1104–1121, Jan. 2019, doi: [10.1016/j.apenergy.2018.09.194.](http://dx.doi.org/10.1016/j.apenergy.2018.09.194) [6] M. Liu, F. L. Quilumba, and W.-J. Lee, ‘‘Dispatch scheduling for a wind farm with hybrid energy storage based on wind and LMP forecasting,’’ _IEEE_ _Trans._ _Ind._ _Appl._, vol. 51, no. 3, pp. 1970–1977, May 2015, doi: [10.1109/TIA.2014.2372043.](http://dx.doi.org/10.1109/TIA.2014.2372043) [7] P. Roy, J. He, and Y. Liao, ‘‘Cost minimization of battery-supercapacitor hybrid energy storage for hourly dispatching wind-solar hybrid power system,’’ _IEEE_ _Access_, vol. 8, pp. 210099–210115, 2020, doi: [10.1109/ACCESS.2020.3037149.](http://dx.doi.org/10.1109/ACCESS.2020.3037149) [8] N. Lou, Y. Zhang, Y. Wang, Q. Liu, H. Li, Y. Sun, and Z. Guo, ‘‘Two stage congestion management considering virtual power plant with cascade hydro-photovoltaic-pumped storage hybrid generation,’’ _IEEE_ _Access_, [vol. 8, pp. 186335–186347, 2020, doi: 10.1109/ACCESS.2020.3030637.](http://dx.doi.org/10.1109/ACCESS.2020.3030637) [9] B. Wang, G. Cai, and D. Yang, ‘‘Dispatching of a wind farm incor porated with dual-battery energy storage system using model predictive control,’’ _IEEE_ _Access_, vol. 8, pp. 144442–144452, 2020, doi: [10.1109/ACCESS.2020.3014214.](http://dx.doi.org/10.1109/ACCESS.2020.3014214) [10] H. Rezk, M. Al-Dhaifallah, Y. B. Hassan, and H. A. Ziedan, ‘‘Optimization and energy management of hybrid photovoltaic-diesel-battery system to pump and desalinate water at isolated regions,’’ _IEEE_ _Access_, vol. 8, [pp. 102512–102529, 2020, doi: 10.1109/ACCESS.2020.2998720.](http://dx.doi.org/10.1109/ACCESS.2020.2998720) [11] A. J. Lamadrid, D. L. Shawhan, C. E. Murillo-Sánchez, R. D. Zimmerman, Y. Zhu, D. J. Tylavsky, A. G. Kindle, and Z. Dar, ‘‘Stochastically optimized, carbon-reducing dispatch of storage, generation, and loads,’’ _IEEE_ _Trans._ _Power_ _Syst._, vol. 30, no. 2, pp. 1064–1075, Mar. 2015, doi: [10.1109/TPWRS.2014.2388214.](http://dx.doi.org/10.1109/TPWRS.2014.2388214) [12] F. Hafiz, M. A. Awal, A. R. D. Queiroz, and I. Husain, ‘‘Real-time stochas tic optimization of energy storage management using deep learning-based forecasts for residential PV applications,’’ _IEEE Trans. Ind. Appl._, vol. 56, [no. 3, pp. 2216–2226, May 2020, doi: 10.1109/TIA.2020.2968534.](http://dx.doi.org/10.1109/TIA.2020.2968534) [13] M. Gr, J. Schweiger, F. Mathematik, T. Universit, and B. Berlin. (2010). _Application_ _of_ _Multistage_ _Stochastic_ _Programming_ _in_ _Strategic_ _Telecommunication_ _Network_ _Planning_ . [Online]. Available: https://www.google.com/%5Cnpapers2://publication/uuid/74BDDFC8E6DA-4F42-B7E8-F68F0E77EA2C [14] B. Tan and H. Chen, ‘‘Stochastic multi-objective optimized dis patch of combined cooling, heating, and power microgrids based on hybrid evolutionary optimization algorithm,’’ _IEEE_ _Access_, vol. 7, [pp. 176218–176232, 2019, doi: 10.1109/ACCESS.2019.2955515.](http://dx.doi.org/10.1109/ACCESS.2019.2955515) [15] M. Tostado-Véliz, S. Mouassa, and F. Jurado, ‘‘A MILP framework for electricity tariff-choosing decision process in smart homes considering ‘Happy Hours’ tariffs,’’ _Int._ _J._ _Electr._ _Power_ _Energy_ _Syst._, vol. 131, [Oct. 2021, Art. no. 107139, doi: 10.1016/j.ijepes.2021.107139.](http://dx.doi.org/10.1016/j.ijepes.2021.107139) [16] F. Fodhil, A. Hamidat, and O. Nadjemi, ‘‘Potential, optimization and sensitivity analysis of photovoltaic-diesel-battery hybrid energy system for rural electrification in Algeria,’’ _Energy_, vol. 169, pp. 613–624, Feb. 2019, [doi: 10.1016/j.energy.2018.12.049.](http://dx.doi.org/10.1016/j.energy.2018.12.049) [17] R. Palma-Behnke, C. Benavides, F. Lanas, B. Severino, L. Reyes, J. Llanos, and D. Sáez, ‘‘A microgrid energy management system based on the rolling horizon strategy,’’ _IEEE_ _Trans._ _Smart_ _Grid_, vol. 4, no. 2, pp. 996–1006, [Jun. 2013, doi: 10.1109/TSG.2012.2231440.](http://dx.doi.org/10.1109/TSG.2012.2231440) [18] Z. Belboul, B. Toual, A. Kouzou, L. Mokrani, A. Bensalem, R. Kennel, and M. Abdelrahem, ‘‘Multiobjective optimization of a hybrid PV/wind/battery/diesel generator system integrated in microgrid: A case study in Djelfa, Algeria,’’ _Energies_, vol. 15, no. 10, p. 3579, [May 2022, doi: 10.3390/en15103579.](http://dx.doi.org/10.3390/en15103579) [19] O. Skarstein and K. Uhlen, ‘‘Design considerations with respect to long-term diesel saving in wind/diesel plants,’’ _Wind_ _Eng._, vol. 13, no. 2, pp. 72–87, 1989. [Online]. Available: http://www.jstor. org/stable/43749369 [20] Y. Azoumah, D. Yamegueu, P. Ginies, Y. Coulibaly, and P. Girard, ‘‘Sus tainable electricity generation for rural and peri-urban populations of sub-Saharan Africa: The ‘flexy-energy’ concept,’’ _Energy Policy_, vol. 39, [no. 1, pp. 131–141, Jan. 2011, doi: 10.1016/j.enpol.2010.09.021.](http://dx.doi.org/10.1016/j.enpol.2010.09.021) [21] G. He, S. Kar, J. Mohammadi, P. Moutis, and J. F. Whitacre, ‘‘Power system dispatch with marginal degradation cost of battery storage,’’ _IEEE_ _Trans._ _Power_ _Syst._, vol. 36, no. 4, pp. 3552–3562, Jul. 2021, doi: [10.1109/TPWRS.2020.3048401.](http://dx.doi.org/10.1109/TPWRS.2020.3048401) [22] G. El-Jamal, M. Ghandour, H. Ibrahim, and A. Assi, ‘‘Technical feasi bility study of solar-pumped hydro storage in Lebanon,’’ in _Proc._ _Int._ _Conf. Renew. Energies Developing Countries_, Nov. 2014, pp. 23–28, doi: [10.1109/REDEC.2014.7038525.](http://dx.doi.org/10.1109/REDEC.2014.7038525) [23] A.-M. Georgescu, C.-I. Cosoiu, S. Perju, S.-C. Georgescu, L. Hasegan, and A. Anton, ‘‘Estimation of the efficiency for variable speed pumps in EPANET compared with experimental data,’’ _Proc._ _Eng._, vol. 89, [pp. 1404–1411, Jan. 2014, doi: 10.1016/j.proeng.2014.11.466.](http://dx.doi.org/10.1016/j.proeng.2014.11.466) [24] F. A. Canales and A. Beluco, ‘‘Modeling pumped hydro storage with the micropower optimization model (HOMER),’’ _J._ _Renew._ _Sustain._ _Energy_, [vol. 6, no. 4, Jul. 2014, Art. no. 043131, doi: 10.1063/1.4893077.](http://dx.doi.org/10.1063/1.4893077) [25] T. Ma, H. Yang, L. Lu, and J. Peng, ‘‘Pumped storage-based standalone photovoltaic power generation system: Modeling and techno-economic optimization,’’ _Appl._ _Energy_, vol. 137, pp. 649–659, Jan. 2015, doi: [10.1016/j.apenergy.2014.06.005.](http://dx.doi.org/10.1016/j.apenergy.2014.06.005) [26] S. Govindasamy, S. R. Balapattabi, B. Kaliappan, and V. Badrinarayanan, ‘‘Energy management in microgrids using IoT considering uncertainties of renewable energy sources and electric demands: GBDT-JS approach,’’ _Electr._ _Eng._, vol. 105, no. 6, pp. 4409–4426, Aug. 2023, doi: [10.1007/s00202-023-01947-8.](http://dx.doi.org/10.1007/s00202-023-01947-8) [27] M. Tostado-Véliz, A. A. Ghadimi, M. R. Miveh, D. Sánchez-Lozano, A. Escamez, and F. Jurado, ‘‘A novel stochastic mixed-integer-linearlogical programming model for optimal coordination of hybrid storage systems in isolated microgrids considering demand response,’’ _Batteries_, [vol. 8, no. 11, p. 198, Oct. 2022, doi: 10.3390/batteries8110198.](http://dx.doi.org/10.3390/batteries8110198) [28] B. Bhandari, K.-T. Lee, G.-Y. Lee, Y.-M. Cho, and S.-H. Ahn, ‘‘Optimiza tion of hybrid renewable energy power systems: A review,’’ _Int. J. Precis._ _Eng._ _Manuf.-Green_ _Technol._, vol. 2, no. 1, pp. 99–112, Jan. 2015, doi: [10.1007/s40684-015-0013-z.](http://dx.doi.org/10.1007/s40684-015-0013-z) [29] J. P. Vielma, ‘‘Mixed integer linear programming formulation techniques,’’ _SIAM Rev._ [, vol. 57, no. 1, pp. 3–57, Jan. 2015, doi: 10.1137/130915303.](http://dx.doi.org/10.1137/130915303) [30] C. A. Floudas and X. Lin, ‘‘Mixed integer linear programming in process scheduling: Modeling, algorithms, and applications,’’ _Ann._ _Oper._ _Res._, vol. 139, no. 1, pp. 131–162, Oct. 2005, doi: [10.1007/s10479-005-3446-](http://dx.doi.org/10.1007/s10479-005-3446-x) [x.](http://dx.doi.org/10.1007/s10479-005-3446-x) [31] L. Kanaan, L. S. Ismail, S. Gowid, N. Meskin, and A. M. Massoud, ‘‘Optimal energy dispatch engine for PV-DG-ESS hybrid power plants considering battery degradation and carbon emissions,’’ _IEEE_ _Access_, [vol. 11, pp. 58506–58515, 2023, doi: 10.1109/ACCESS.2023.3281562.](http://dx.doi.org/10.1109/ACCESS.2023.3281562) [32] N. Ketkar, ‘‘Stochastic gradient descent,’’ in _Deep Learning With Python_ . [Berkeley, CA, USA: Apress, 2017, pp. 113–132, doi: 10.1007/978-1-4842-](http://dx.doi.org/10.1007/978-1-4842-2766-4_8) [2766-4_8.](http://dx.doi.org/10.1007/978-1-4842-2766-4_8) [33] M. Li, T. Zhang, Y. Chen, and A. J. Smola, ‘‘Efficient mini-batch training for stochastic optimization,’’ in _Proc._ _20th_ _ACM_ _SIGKDD_ _Int._ _Conf._ _Knowl._ _Discovery_ _Data_ _Mining_, Aug. 2014, pp. 661–670, doi: [10.1145/2623330.2623612.](http://dx.doi.org/10.1145/2623330.2623612) [34] S. Rajamand, M. Shafie-khah, and J. P. S. Catalão, ‘‘Energy storage systems implementation and photovoltaic output prediction for cost minimization of a microgrid,’’ _Electric Power Syst. Res._, vol. 202, Jan. 2022, [Art. no. 107596, doi: 10.1016/j.epsr.2021.107596.](http://dx.doi.org/10.1016/j.epsr.2021.107596) [35] M. A. Hannan, S. B. Wali, P. J. Ker, M. S. A. Rahman, M. Mansor, V. K. Ramachandaramurthy, K. M. Muttaqi, T. M. I. Mahlia, and Z. Y. Dong, ‘‘Battery energy-storage system: A review of technologies, optimization objectives, constraints, approaches, and outstanding issues,’’ _J._ _Energy_ _Storage_, vol. 42, Oct. 2021, Art. no. 103023, doi: [10.1016/j.est.2021.103023.](http://dx.doi.org/10.1016/j.est.2021.103023) [36] R. Basmadjian and H. De Meer, ‘‘A heuristics-based policy to reduce the curtailment of solar-power generation empowered by energy-storage systems,’’ _Electronics_ [, vol. 7, no. 12, p. 349, Nov. 2018, doi: 10.3390/elec-](http://dx.doi.org/10.3390/electronics7120349) [tronics7120349.](http://dx.doi.org/10.3390/electronics7120349) [37] A. R. de Queiroz and D. P. Morton, ‘‘Sharing cuts under aggre gated forecasts when decomposing multi-stage stochastic programs,’’ _Oper._ _Res._ _Lett._, vol. 41, no. 3, pp. 311–316, May 2013, doi: [10.1016/j.orl.2013.03.003.](http://dx.doi.org/10.1016/j.orl.2013.03.003) [38] F. Hafiz, A. Rodrigo de Queiroz, P. Fajri, and I. Husain, ‘‘Energy manage ment and optimal storage sizing for a shared community: A multi-stage stochastic programming approach,’’ _Appl._ _Energy_, vol. 236, pp. 42–54, [Feb. 2019, doi: 10.1016/j.apenergy.2018.11.080.](http://dx.doi.org/10.1016/j.apenergy.2018.11.080) [39] V. Guigues, A. Shapiro, and Y. Cheng, ‘‘Risk-averse stochastic optimal control: An efficiently computable statistical upper bound,’’ _Oper._ _Res._ _Lett._ [, vol. 51, no. 4, pp. 393–400, Jul. 2023, doi: 10.1016/j.orl.2023.05.002.](http://dx.doi.org/10.1016/j.orl.2023.05.002) [40] M. V. F. Pereira and L. M. V. G. Pinto, ‘‘Multi-stage stochastic opti mization applied to energy planning,’’ _Math. Program._, vol. 52, nos. 1–3, [pp. 359–375, May 1991, doi: 10.1007/bf01582895.](http://dx.doi.org/10.1007/bf01582895) [41] _Real_ _Time_ _Hourly_ _Electricity_ _Prices_ _of_ _Chicago_ . [Online]. Available: https://hourlypricing.comed.com/live-prices/?date=20231003 FATMA AHMED (Graduate Student Member, IEEE) received the B.Sc. degree (Hons.) in electrical engineering from Qatar University, Qatar, in 2022. She is currently a Research Assistant with the Electrical Engineering Department, Qatar University. Her research interests include machine learning, power electronics, renewable energy, and smart grids. RASHID AL-ABRI (Senior Member, IEEE) received the B.Sc. degree in electrical engineering from Sultan Qaboos University, Oman, in 2002, the M.Sc. degree in electrical engineering from the Curtin University of Technology, WA, Australia, in 2004, and the Ph.D. degree from the Department of Electrical and Computer Engineering, University of Waterloo, Waterloo, ON, Canada, in 2012. He is currently an Assistant Professor with the Department of Electronics and Communication Engineering (ECE), Sultan Qaboos University. His research interests include power electronics applications, renewable energy, power quality, power systems, smart grid applications, and power system stability. HASSAN YOUSEF received the B.Sc. (Hons.) and M.Sc. degrees in electrical engineering from Alexandria University, Alexandria, Egypt, in 1979 and 1983, respectively, and the Ph.D. degree in electrical and computer engineering from the University of Pittsburgh, PA, USA, in 1989. He spent 15 years at Alexandria University as an Assistant Professor, an Associate Professor, and a Professor. He joined Qatar University for six years as an Assistant Professor and then an Associate Professor. At Qatar University, he held the position of the Acting Head of the Department of Electrical and Computer Engineering. He was a Visiting Associate Professor with the University of Florida, Gainesville, in Summer 1995. He is currently with the Department of Electrical and Computer Engineering, Sultan Qaboos University, Muscat, Oman. He has supervised 28 M.Sc. theses (completed) and eight Ph.D. dissertations (completed). His publication records include more than 100 papers in refereed journals and international conferences in the area of control systems, nonlinear control, adaptive fuzzy control, and intelligent control applications to power systems and electric drives. He has authored the book _Power System_ _Load_ _Frequency_ _Control:_ _Classical_ _and_ _Adaptive_ _Fuzzy_ _Approaches_ (CRC Press, 2017). AHMED M. MASSOUD (Senior Member, IEEE) received the B.Sc. (Hons.) and M.Sc. degrees in electrical engineering from Alexandria University, Egypt, in 1997 and 2000, respectively, and the Ph.D. degree in electrical engineering from Heriot–Watt University, Edinburgh, U.K., in 2004. He is currently the Associate Dean for Research and Graduate Studies with the College of Engineering, Qatar University, Qatar, and a Professor with the Department of Electrical Engineering, College of Engineering, Qatar University. He has supervised several M.Sc. and Ph.D. students at Qatar University. He has published more than 130 journal articles in the fields of power electronics, energy conversion, and power quality. He holds 12 U.S. patents. His research interests include power electronics, energy conversion, renewable energy, and power quality. He has been awarded several research grants addressing research areas, such as energy storage systems, renewable energy sources, HVDC systems, electric vehicles, pulsed power applications, and power electronics for aerospace applications.

섹션 본문 93문단 · 55,698자

(제목 없음)

1Effective real-time energy management strategies are crucial for optimising hybrid power plants, particularly when challenged with integrating Renewable Energy Sources (RESs) and managing their intermittent nature.This paper presents a comprehensive energy management framework holding real-time optimisation for HPP.The practical implications of this research are significant, as it provides a roadmap for seamlessly integrating RESs with Battery Energy Storage Systems (BESSs) in Hybrid Power Plants (HPPs) to minimise cost while meeting daily household energy demands.Furthermore, it demonstrates how diesel generators (DGs) can be incorporated into the HPP's energy management system while minimising carbon emissions.An Energy Dispatch Engine (EDE) is introduced to control HPPs that combine PV, BESS, DG and Pumped Hydro Storage (PHS).Two optimisation approaches are used, namely, Mixed-Integer Linear Programming (MILP) and Stochastic Dual Dynamic Programming (SDDP).The system leverages load and RES power data while considering State-of-Charge (SoC) constraints to manage battery health proactively.Optimising discharge and charge profiles of the BESS, with the overarching goal of minimising the total cost of satisfying daily load demand, is an objective.Various tariff schemes were explored to assess the presented EDE.Our testing demonstrates that the SDDP approach consistently results in lower total costs than MILP.The total cost for the MILP method, where the system with PHS incurs higher costs (219.8 $/24h) than the total cost for the SDDP method, where the system with PHS system (180 $/24h).The cost of CO2 emissions was found to be lower in the case of SDDP, amounting to 8.3 $/24h for a total emission of 160 kg.In contrast, the MILP approach resulted in a higher CO2 cost of 10.2 $/24h for a total emission of 200 kg.This suggests that SDDP is more cost-effective in terms of reducing CO2 emissions.INDEX TERMS Energy dispatch engine (EDE), mixed integer linear programming (MILP), stochastic dual dynamic programming (SDDP), energy management system (EMS), hybrid power plant (HPP), optimization.NOMENCLATURE

Indices t(T)

2Index (set) of time periods.n(N ) Index (set) of the length of the forecasted rolling horizon.

3The associate editor coordinating the review of this manuscript and approving it for publication was Cuo Zhang .

I. INTRODUCTION

4The rapid adoption of Renewable Energy Sources (RESs) in power systems over the past two decades has introduced significant challenges, particularly in balancing energy supply and demand due to the intermittent nature of sources like photovoltaic (PV) systems.One of the primary challenges is the effective integration of RESs with existing grid infrastructure, which may result in a fluctuating power supply, causing grid instability.Grid-connected energy storage systems (ESSs) can help improve the grid's reliability and security.However, they might not always provide an effective techno-economic solution in large-scale power systems applications.Developing a proper energy management system (EMS) supports optimal energy dispatch, particularly with hybrid power plants, alleviating the challenges encountered.

5To address these issues, this study focuses on developing a comprehensive energy dispatch management system for hybrid power plants (HPPs) that combine PV, Battery Energy Storage Systems (BESS), Diesel Generators (DG), and Pumped Hydro Storage (PHS).By optimising the energy dispatch using advanced algorithms, we aim to enhance the reliability and efficiency of the power supply within a microgrid, reduce operational costs, and minimise carbon emissions.The proposed Energy Dispatch Engine (EDE) leverages Mixed-Integer Linear Programming (MILP) and Stochastic Dual Dynamic Programming (SDDP) to optimise the operation of HPPs.This dual optimisation approach allows for more robust decision-making under uncertainty, significantly reducing operational costs and carbon emissions compared to Conventional methods.The flexibility of our system to scale from small microgrid applications to larger power systems demonstrates its potential for widespread impact in the energy sector, supporting the scalability and broader applicability in a similar fashion to [1] and [2].

6It is essential to raise the effectiveness and efficacy of these hybrid PV-Grid-ESS power plants [3].With a simple and effective technique for optimisation, the optimal grid interconnection of PV and ESS, along with the energy dispatch strategy, can be optimally identified.This can lower energy expenses, increase system effectiveness, and reduce the HPP's environmental impact [4].EMS optimisation techniques can be categorised into three types based on complexity: intelligent, metaheuristic, and classical approaches.

7Innovative techniques employ neural networks that incorporate weighted variables to optimise power transfer, but they are computationally demanding [5].Metaheuristic methods, such as Monte Carlo simulations, random simulation, and search algorithms, such as Genetic Algorithm, Grey-Wolf, and Particle Swarm Optimization (PSO), are employed to optimise an objective function without or without constraints [6].Although less computationally intensive than intelligent methods, metaheuristic methods typically require more time to solve optimisation problems.Conventional approaches are based on mathematical principles and strive to optimise an objective function while adhering to a specified set of constraints.These methods often rely on predetermined initial values and predefined parameters, as seen in Linear and Non-Linear Programming (LP/NLP) and Mixed-Integer Linear and Non-Linear Programming (MILP/MINLP) [15].ESS was used to manage unpredictable wind power fluctuations, aided by accurate predictions through Artificial Neural Networks (ANN).This hybrid ESS supports optimising schedules based on forecasts and real-time adjustments, leading to economic benefits for RESs by aligning energy output with pricing signals [7].In [8], a strategy has been outlined for dispatching a wind-solar hybrid power system using a hybrid ESS comprising batteries and supercapacitors.The approach optimises battery and supercapacitor use for cost-effective energy storage.The hybrid ESS cost optimisation is achieved through the filter's time constant using curve fitting and PSO.Simulation results validate the approach's superiority over the single storage method, achieving accurate power dispatch and advancing RES integration with optimised ESSs.The authors in [9] Presented the power flow challenges in distribution networks due to increased RESs and flexible loads.power correction for VPPs, including water and light curtailment, navigation, and ecological needs.In [10], a dispatch strategy that uses model predictive control (MPC) has been introduced for a wind farm with a dual-battery energy storage system (DBESS).The MPC technique manages the two batteries to alternate between charging and discharging, aligning with the dispatch sequence.Simulation results based on real wind power data confirm the effectiveness of this MPC-based approach.It improves wind farm dispatch coordination with the hybrid wind/battery storage system, enhancing control and introducing a longer lifespan for the battery.The strategy performs well across various scenarios, adeptly following dispatch curves and maintaining the battery state of charge (SoC) within limits.However, the authors in [11] delved into a comprehensive evaluation of a hybrid PV/Deisel Generator (DG)/BESS system's practicality, economic aspects, and energy management.The system targets a specific load far from the utility grid.Key considerations include addressing water demands, reverse osmosis unit sizes, energy dispatch strategies, and DG capacities.The optimal system size is determined based on criteria such as energy cost and environmental impact.An approach has been presented in [12].The approach combined hybrid stochastic-robust optimization with power flow calculation aiming to reduce CO2 emissions by integrating RESs.The method optimizes power system operation to minimize CO2 emissions via improved generator, load, and energy storage operation, and by evaluating system changes.In [13], an advanced real-time energy management strategy for residential PV-storage hybrid systems comprising solar PV generation and BESS has been presented.It overcomes the challenges of offline and online methods by integrating an offline optimization model with a real-time rule-based controller.Through rolling horizon optimization and deep learning forecasts, the approach effectively reduces electricity purchase costs.It employs a multi-stage stochastic program and the Stochastic Dual Dynamic Programming (SDDP) algorithm for continuous updates to BESS dispatch settings.The approach effectively reduced net electricity purchase costs, validated through simulation tests.The study in [16] focused on optimizing microgrid operations for it enhanced clean energy utilization and cost reduction.It begins by creating a wind power prediction error model incorporating pricing and operational factors of various clean energy sources.Subsequently, a collaborative optimization model for a cooling, heating, and power microgrid is developed, aiming to minimize costs and power-generation units.An intelligent optimization algorithm combining the non-dominated sorting genetic algorithm (NSGA) and beetle antennae search was employed, outperforming the conventional NSGA in simulations on a real microgrid case [16].TABLE 1 provides a summary of the literature review on RESs in HPPs, comparing the optimization methods and control strategies employed in this paper with those in previous studies.Notably, the proposed concept addresses the HPP comprehensively.In this paper, we introduce an Energy Dispatch Engine (EDE) that leverages MILP and SDDP optimization methods to control a hybrid system consisting of PV, the grid, an ESS, a DG, and Pumped Hydro Storage (PHS) components.This has been done by optimization and comparison of PV/diesel/battery/PHS systems within a multiobjective framework, taking into account factors such as the cost of electricity and CO2 emissions.The paper utilizes load and RES power data while incorporating SoC constraints to manage the battery efficiently.To achieve this, a hybrid system is designed, incorporating PV and a diesel generator within a multi-objective framework and introducing two types of ESSs, namely, BESS and PHS.The hybrid system is connected to the distribution system, forming a microgrid, which allows for better integration and management of the local energy resources.The effectiveness of the proposed model is evaluated in terms of cost savings by considering three pricing schemes.

8The paper is organized as follows: Section II elucidates the methodology and modeling of the proposed real-time optimization.Section III examines the performance of the MILP and SDDP algorithms, along with simulation outcomes.Finally, Section IV provides the paper's conclusion.

II. OPTIMIZATION OF THE HYBRID POWER PLANT A. DESIGN METHODOLOGY

9The schematic of the hybrid HPP in FIGURE 1 shows that the ESS and PV are connected to the AC grid through an inverter.

1) PV MODELING

10To acquire the field data for optimizing the operation of the system, the load and PV power profiles were gathered from Pecan Street data, used in [13], consisting of 1 minute PV power data and load data for 75 homes across the United States in 2018.The instantaneous potential of PV generation is intricately tied to prevailing meteorological conditions, specifically solar irradiance, and ambient temperature, as elucidated in reference [17].This work assumes that these parameters can be forecasted with acceptable accuracy, which is a plausible assumption.Consequently, at each discrete time increment (t), the electrical output of a PV module (P pv ) channeled through an inverter is subject to the dynamic interplay between incident solar radiation (G) and the temperature of the PV cells (T pv ), as expounded below [18]:

11where η inv is inverter efficiency, k is the power temperature coefficient (%/ • C), and N pv is the number of PV modules.PV power is not treated as a constraint but is dynamically managed to ensure efficient operation.When excess power is generated by the PV system, and the ESS is fully charged, the system implements PV power curtailment to prevent overgeneration.This curtailment is achieved by adjusting the operating point of the PV system or by reducing the power fed into the grid.The EMS continuously monitors the SoC of the ESS, power demand, and grid conditions, and it sends control signals to curtail PV power as necessary to maintain system stability and efficiency [19].Therefore, the following equation represents the dynamic management of PV power:

12where P pv,curtailed (t) is the curtailed PV power at time t, P pv,generated (t) is the total PV power generated at time t,and P curtail, (t) is the power curtailed at time t to prevent overgeneration.

2) ESS MODELING

13ESSs play a pivotal role in the context of HPPs by serving as reservoirs for surplus energy generated from RESs and bridging energy deficits when needed.In this research, we classify both batteries and PHS as instances of ESS [20].To elucidate, the energy of an ESS, E(t) can be conceptually simplified with a dynamic model represented as follows:

14Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

15where δ t is a parameter that influences the change in energy state per unit of power.The P ess (t) is the DC power of the battery, assuming a positive value when the battery injects power into the grid and a negative value when it is in charging mode.The effective control of battery charging and discharging stands as one of the most critical elements for enhancing the overall efficiency of the HPP.On an hourly basis, the battery SoC is expressed as follows:

16where P l is the load power, σ is the battery's self-discharge rate and η b is the battery efficiency.

3) DIESEL GENERATOR (DG) MODELING

17The utilization of a DG as a backup system is imperative due to the inherent unpredictability of power generation from both PV and BESS [21].In off-grid energy systems, DGs have the dual purpose of regulating voltage and enhancing reliability [22].On an hourly basis, the quantity of fuel consumed by the DG (F DG ) is a function of the output power (P DG ) as follows:

18where the variables a, b, and c are coefficients or parameters that determine the relationship between the fuel consumption F DG (t) of the DG and its output power P DG (t).Regarding the fuel price FP DG , the models for calculating both hourly and annual fuel costs can be expressed through ( 6) and (7), respectively.

19FC DG (t) = FP DG .F DG (t) (6)

20In terms of environmental impact, CO2 constitutes 99.4% of the leading greenhouse gases emitted from the combustion of diesel fuel, and some other gases such as methane, but in this paper the focus will be on CO2 [23].

4) PHS MODELING

21As shown in FIGURE 2, PHS is a widely recognized and commercially viable technology for storing electrical energy, consisting of a separated pump/motor unit and a turbine/generator, and accomplished by harnessing the potential energy of water [24].In this sophisticated storage approach, surplus energy is harnessed during off-peak periods to elevate water from a lower reservoir to a higher one.Subsequently, during peak demand periods, this elevated water is strategically released, permitting it to flow through a hydro turbine, thus converting its stored potential energy into electrical power generation [25].

22The power of the pump (P p ) can be expressed by ( 8):

23where ρ is water density (kg/m 3 ), H p (m) is pumping head, g is the gravitational acceleration (m/s 2 ), q p (t) is the function of the pump flow rate (m 3 /s), η p is the pump efficiency, and the generating coefficient of the pump (kmW /m 3 ) is c p .The power of the turbine (P t ) can be expressed by ( 9):

24where H net (m) is the net head, q t (t) is the function of the turbine flow rate (m 3 /s), η t is the turbine efficiency and generating coefficient of the turbine (kmW /m 3 ) is c t .

25The stored potential energy in the upper reservoir is expressed by (10) [26]

26where E c is the energy storage capability of the water reservoir (kWh) and V is the volume of the upper reservoir (m 3 ).The total stored quantity of water in the upper reservoir can be expressed by (11):

27where Q UR (t) is the total quantity of water and α is the leakage loss.The SoC of the upper reservoir (UR) is represented in terms of the water level within the storage tank, where the water level serves as a proxy for SoC This relationship is described by the following ( 12) [27].

5) ENERGY MANAGEMENT SYSTEM

28FIGURE 3 shows the proposed EMS that provides the power references for the ESS power (P ess ), the Pump and turbine power for the PHS (P t , P p ), the desired grid power (P G ), and the desired DG power (P DG ).The EMS inputs are the predicted solar power P pv , expected load (P L ), turbine power (P t ), and the initial conditions for the battery charge (SoC i ).

29The power plant within the microgrid is typically owned and managed by a local entity or consortium.This ownership structure allows for localized control and efficient management of the energy resources, enhancing the reliability and resilience of the power supply.The EMS plays a crucial role in efficiently managing and optimizing the operation of various components in a hybrid energy system [28].These components include PHS, PV, ESS, the grid, and DG.The Diesel Generator (DG) is connected to the local distribution network in our microgrid setup.This configuration allows the DG to operate as a backup power source within the microgrid, ensuring reliability and stability of the power supply.The DG supports the local energy needs and provides supplementary power during periods of insufficient renewable energy generation or battery storage.EMS regulates the operation of the PHS system by deciding when to release water from the upper reservoir to generate electricity through hydro turbines based on real-time energy needs.During electricity generation, power is produced by the hydro turbine, and this electricity can be utilized within the energy management system (EMS) to meet real-time energy needs.Any excess electricity generated, such as from PV, can be directed by the EMS to various storage systems, including pumping water from the lower reservoir to the upper reservoir in the PHS system when demand is low or electricity is cheap, converting it into potential energy [29].

30Also, EMS monitors PV panel output, deciding whether to use, store, or export the generated solar electricity.EMS controls the charging and discharging of ESS, like batteries, to store excess electricity for later use during high-demand or expensive periods.It manages the connection with the grid, deciding when to import or export electricity to optimize performance and minimize costs.In case of power deficits or insufficient RESs, EMS can activate the DG as a backup, determining its start and stop times for system reliability and efficiency [20].

31The power balance principle where the power generated must match the power consumed and stored in the ESS, transferred to or from the grid, and managed by the PHS system to maintain a stable and balanced electrical system.The power balance of the proposed HPP can be modeled by equation ( 13).This equation ensures that the total power in the system is conserved, and any excess generation or deficit is accounted for in terms of these components.

32The equation states that the sum of power generated by Diesel Generators (P DG ) and the electrical load (P l ) should equal the sum of power generated by PV panels (P pv ), power used for ESS (P ess ), power imported or exported from or to the grid (P G ), and power generated or consumed by the PHS system (P phs ).The EDE controller regulated the charging and discharging of the ESS to ensure that the PV operated at optimum efficacy.If the PV output is greater than the necessary load, the extra power is used to fill the ESS while the ESS is released if the PV output is less than the required load [30].

B. MILP OPTIMIZATION

33In MILP, the objective function and constraints are linear, but some decision variables can only take integer values, while others can take continuous values.The MILP method solves the optimization problem by formulating it as a mathematical model and then using specialized algorithms to find the optimal solution [31].One common approach is to use a branch-and-bound algorithm, which involves recursively partitioning the feasible solution space and solving linear programming problems at each node until the optimal solution is found [21].This paper will use the MILP to find the optimal solution that represents the lowest cost.

34FIGURE 4 shows a detailed flowchart of the EMS algorithm employed in this study to solve a MILP optimization problem for HPP integrating an ESS, DG, PHS, PV, and load.The flowchart represents the decision-making process of the EMS, which includes multiple checks to ensure optimal operation.Each component in the flowchart is distinctly color-coded for clarity, ensuring that the progression of the algorithm is easily understandable.Key steps and decision points are highlighted to emphasize their importance in the EMS process.The feedback correction was used similarly to the paper [32], which will help reduce the scheduling errors resulting from forecasting errors.The objective is to minimize the use of the ESS while meeting the load demand.

35The Total Cost Functions for this HPP can be expressed as follows J total = J ESS + J PV + J Load + J DG + J grid + J phs (14) where J Load , J PV , J DG, J phs and J ESS are the cost functions of the load, PV, DG, PHS, and ESS, respectively.

36where J ESS a function of the cost of ESS is, C purchased,ess is a cost of purchased power, and C sold,ess is a cost of sold power.

37where N corresponds to the duration of the forecasted horizon for a specific time (t) given and (t +N ) is the cumulative sum.C GRID is the cost of grid power, and it is equal to C purchased when purchasing power from the grid, while C GRID is equal to C sold when selling power to the grid.η ch,ESS is the charging efficiency of the ESS while η dis,ESS is the discharging efficiency of the ESS.P ch,ESS (t) is the ESS charging power while P dis,ESS (t) is the ESS discharging power [33].The PV's power values are given, so the function of the cost of PV power is expressed as follows:

38where J PV is a function of the cost of the PV.The C pv is the constant cost of the PV.

39t.C GRID (t) .(Ppurchased (t) − P sold (t)) (18)

40where J Load is a function of the cost of the Load power, C purchased is a cost of purchased power, and C sold is a cost of sold power.J DG is represented as the combination of the expenses linked to the fuel necessary for generating sufficient energy to meet load demands and operate the generation facility, along with the emissions-related costs.By knowing the quantities of gas produced when burning diesel fuel, the emission costs can be formulated as a function of fuel consumption, as follows:

41where P max DG the DG produces he maximum power, C f is the cost of fuel per liter, α co 2 and C m are the gas mass associated with burning fuel and the cost of said gases, and F is the amount of diesel used per kWh.The function of the cost of PHS is expressed as follows:

42where η p is the pump efficiency of the PHS while η t is the turbine efficiency of the PHS.P p (t) is the PHS pumping power while P t (t) is the PHS turbine power.Now the total cost function can be simplified as follows:

43s.t (3), ESS Control:

44where δ is the evaporation and leakage loss.During pumping and power generation, V R is the state of water volume in the reservoir of the PHS at time t, which must be maintained between its minimum and maximum values, V R,min and V R,max , and is calculated considering the previous volume, evaporation and leakage losses, and the efficiencies and power of the pump and turbine.s.t (5), PHS Control:

45where T is the turbine value, and when it is 0% the valve is fully closed.Otherwise, when T is 100% the valve is fully open.s.t (6), DG Control:

46The diesel generator power is bounded between maximum and minimum values as

47C. STOCHASTIC GRADIENT DESCENT OPTIMIZATION Stochastic gradient descent (SGD) is an optimization algorithm commonly used in machine learning and deep learning to minimize the loss function of a model by updating the model parameters based on the gradient of the loss function computed on a randomly selected subset of the training data [34].SGD has many benefits and one of the most important is efficiency with large datasets.In many machine learning tasks, datasets can be massive, and processing the entire dataset in each iteration of the optimization process can be computationally expensive.SGD addresses this issue by using a random subset of the data in each iteration.This significantly speeds up the training process [35].This random sampling introduces noise in the gradients but allows the algorithm to converge faster to a reasonable solution since it can take steps in the direction of the optimal solution more frequently.In each iteration, the algorithm computes the gradient of the loss function with respect to the parameters for the selected batch.It updates the parameters in the opposite direction of the gradient.The step size is controlled by a learning rate, which determines the magnitude of the update.

48The process continues for a fixed number of epochs or until the convergence criteria are met.The main advantage of stochastic gradient descent is its computational efficiency, which makes it suitable for large-scale problems.However, it can be sensitive to the learning rate, which may need to be adjusted during training, and it may converge to a suboptimal solution if the initial learning rate is too high or too low.Various extensions of the basic algorithm, such as mini-batch gradient descent and momentum, have been proposed to improve its performance and stability [34].

49143314 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.The objective function and constraints must be defined to finalize the HPP modeling, which includes PV, ESS, and load for SGD optimization.As done previously in MILP optimization, the objective function and constraints will remain the same for both optimization methods.

50The objective of the optimization problem is to minimize the total cost of electricity generation and storage over a specified time period.

51The cost function of the Energy Storage System (ESS) is designed to capture its behavior concerning the State of Charge (SoC) in a stochastic gradient descent optimization framework.The primary goal is to minimize the total cost associated with electricity generation and storage over a specified timeframe, taking into account both the charging and discharging costs [36].The stochastic gradient descent algorithm can be used to find the optimal values of the PV power and ESS power that satisfy the constraints and minimize the total cost of electricity generation and storage, subject to the constraints on the PV generation, load demand, and ESS capacity [37], [38].

D. MULTI-STAGE STOCHASTIC OPTIMIZATION PROGRAM

52The multistage-stochastic process, whose distribution is known, allows for a comprehensive understanding of the system's behaviour under uncertainty.The process's manifestation may be viewed at distinct times, and remedial actions are conceivable.This yields an iterated observation-decision scheme in which a choice of remedial actions are made after each observation of the stochastic process.This approach is particularly beneficial for several reasons such as energy management to balance the supply and demand of multiple energy resources, including RESs, conventional sources, and energy storage.Also, multi-stage optimization allows for the optimal control of energy storage systems over time, including charging, discharging, and state-of-charge management while allowing for integrated long-term and short-term planning [39].A discrete-time horizon t was considered and suppose that the set is either finite or infinitely countable.Afterward, we will limit ourselves to limited horizons.The index identified the time points, and it was written as t = {1, 2,. . ., t} or t = {1, 2,. . .} [14].

53The equations ( 22) -( 28) can be represented as a multi-stage stochastic linear program as the following formula:

54x t ≥ 0 (34)

55The decision variables at a certain stage, represented by vector x t , including electricity purchases from the grid, the charge and discharge power of the ESS, and the battery's state of charge (SoC).The target functions for minimizing the total cost, considering present and future stage costs, are described in (29) and (32).The structural constraints of the model, ( 30) and ( 33), the specific scenario involves power balance and charge balance (22) and (23).The dual variables (π t) obtained from the structural constraints are utilized to create a piece-wise linear estimation of the future cost function through Benders' decomposition technique.Equations ( 31) and ( 34) define the state transitions in the optimization model.A t , B t are matrices that relate the state and decision variables across different time periods, while b t represents external inputs or disturbances.The dual variables π t are associated with these constraints, providing necessary conditions for optimality.Equations ( 31) and (34) impose straightforward restrictions on the decision variables, such as (26) and (27).In the objective function presented in equation (32), The expression c t x t +E (b 2 | b 1 ) h 2 (x t , b 2 ) denotes the estimated cost function for stage 2, considering decisions (x 1 ) made in stage 1.In this context, b 2 represents a random parameter that influences the system's condition at stage 2. Likewise, in equation ( 29), E b (t+1 | b t ) h t+1 (x t , b t+1 ) calculates the projected cost function for stage t+1, based on decisions (x t ) made in stage t, where b t+1 represents the realization of the random parameter for that case [40].To date, the most advanced approach for solving multi-stage stochastic linear programming is the SDDP method.SDDP addresses the computational complexity of Dynamic Programming (DP) by approximating the future cost function with piece-wise linear functions known as Benders' cuts, which are progressively included.This iterative process continues until a specific stopping measure is satisfied [41].FIGURE 5 provides a visual representation of how SDDP works for a three-stage problem, although it's important to note that the actual tree sizes can be large [43].

56In the SDDP procedure, once a sampled scenario tree is provided, the forward pass begins by sampling the pathways in the tree.Throughout the problem-solving process, these paths are taken into account.In the forward pass, models represented by ( 32) -( 34) are solved at each time stage using the simplex approach.Benders' cuts obtained from previous iterations for the corresponding stage are incorporated as additional constraints to enhance the approximation of future costs and improve decision-making.The average cost of all the sampled forward pathways serves as an estimation of the anticipated future cost.At the final stage, the entire predicted cost is calculated, serving as the upper bound for the problem.Solving the first stage problem provides a lower bound for the sampled problem.The upper and lower bounds converge after a finite number of iterations, and the process can be terminated based on a convergence criterion.During the convergence process, if the upper and lower bound costs fail to achieve the desired level of convergence, an additional iteration of SDDP is executed.New forward pathways are sampled individually in each cycle.The algorithm then conducts the backward pass to achieve the desired convergence level.During the backward pass, additional Benders' cuts are computed at specific stages to reflect the projected future cost function better.Cuts are not used at the final stage since there are no future costs [13].The marked nodes in FIGURE 5 (c) indicate the selected nodes in the backward pass for each iteration.Benders' cut for stage t is computed using equations ( 35)- (37).

57where the future cost obtained from the forward pass is represented by θt, the dual variables are denoted by π ω t+1 t+1 , and the optimal cost is indicated by h ω t+1 t+1 from the solved linear problem for stage (t+1) [40].

58The backward pass is unable to solve all of the sampled forward pathways that were solved in the forward path.The SDDP can calculate the Benders' cuts by selecting a subset of sampled forward pathways.Because the backward pass estimation takes longer than the forward pass estimation, the number of paths chosen can be lowered to accelerate convergence.Following the completion of the backward pass for every stage, a separate set of forward pathways is sampled from the scenario tree to represent the cumulative cuts gained from the backward pass of every iteration for every stage of the system [43].

III. SIMULATION AND RESULTS

59A MATLAB code has been used for the simulation, the ''Optimproblem'' function is used to define an optimization problem with decision variables for the power generated by the HPP, the power charging/discharging of the ESS, and the energy capacity of the ESS over time.The case studies provided in this manuscript illustrate a larger scale than typical microgrid setups.This approach is intended to demonstrate the scalability and flexibility of the proposed energy dispatch management system.While the examples exceed the conventional microgrid scale, they highlight the system's potential for larger applications and integration of various energy resources.Additionally, the system is equally applicable to smaller, more conventional microgrid setups, offering broad versatility in energy management.The objective function is 143316 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

60to minimize the total power generated by the HPP over the simulation period.The economic model considered in this study includes the capital costs of the PV system, batteries, and other components, as well as the operational costs related to energy dispatch and grid interactions.The operation and maintenance (O&M) costs of the Energy Storage System (ESS) were excluded from this analysis for several reasons:

61• Focus on Capital and Operational Optimization: Our study primarily aims to optimize the capital and operational expenditures associated with energy dispatch and system efficiency, which are critical to our research objectives.

62• Comparative Analysis Objective: This research is designed to compare different energy dispatch strategies under various tariff schemes, where the inclusion of relatively constant O&M costs would not significantly impact the comparative results.

63• Simplified Economic Model: To simplify the model and concentrate on the main variables affecting optimization, we excluded O&M costs.Future research will incorporate these costs for a more comprehensive economic assessment.Constraints are included to ensure power balance, energy storage capacity limits, and the relationship between power charging/discharging of the ESS and energy storage over time.The pricing mechanism for the microgrid is based on Time-of-Use (ToU) tariffs, which reflect the varying cost of electricity during different times of the day.This approach incentivizes users to shift their energy consumption to periods when electricity is cheaper, thereby improving cost-effectiveness and load management within the microgrid.The Real-time hourly electricity prices of Chicago are used to calculate the cost and used for the tariff cost as well as presented in TABLE 2 [41].

A. MILP

64The cost data used in the analysis consisted of real-time electricity pool prices, sampled at 15-minute intervals, which determined the cost of purchasing or selling electricity.Forecasted data for both PV generation and load demand were provided.The figures presented in the analysis depict the system's performance over 24 hours.FIGURE 6 (a) and FIGURE 6 (b) display the PV generation and load demand profiles for the entire day.FIGURE 6 (d) presents the grid power profile for a system empty of (PHS), whereas FIGURE 7 (a) showcases the grid power profile for a system integrated with PHS over a day.These plots representations delineate the changes in grid power within predefined upper and lower bounds, which are influenced by the status of the (ESS).When the ESS is discharging, the grid power exhibits a positive value, signifying the draw of electricity from the grid to fulfil demand.When the load is relatively miniature, the ESS with PHS is capable of handling the load while also generating power for it.However, if the load were to double, the grid would commence power generation to support the ESS and PHS in meeting the increased load demand.Notably, as evidenced in FIGURE 6 (b) and FIGURE 7 (a), the cumulative net grid power for the system without PHS is lesser than that for the system incorporating PHS, amounting to 521 MW and 678 MW, respectively.FIGURE 6 (c) and FIGURE 7 (c) show the power profile of the ESS without and with PHS integration, respectively.FIGURE 6 (c) the minimum ESS power registers at (−17 MW), slightly higher than the corresponding value depicted in FIGURE 7 (c This discrepancy arises from the interplay between the grid, DG, and the charging/discharging cycles of the ESS, all while adhering to specified constraints and anticipated power demands.The operational capacity of the ESS is defined by its battery capacity.By minimizing ESS operations while considering SoC the plot underscores charging and discharging patterns.The initial SoC of the system, depicted in FIGURE 6 (e) without PHS, is 50%.It commences discharging for the first 6 hours of the day, followed by a charging phase until it reaches 53%.Subsequently, another discharge phase ensues, succeeded by a charging phase ultimately restoring the SoC to 50% in response to peak load hours.Conversely, for a system incorporating PHS, FIGURE 7 (e) illustrates a similar SoC pattern within the PHS system.Here, the SOC initiates charging after the initial 6 hours of the day and continues,until it reaches 52%.It has to be noted that the SoC decreases/increases with the discharging/charging of the battery with the negative/positive sign of the power, respectively.In the system comprising DG, PV, ESS, and PHS, FIGURE 7(b) illuminates the water level state within the PHS system.Initially set at 40% of its capacity, the water level volume decreases until it reaches 21% during the first 6 hours of the day, followed by an ascent phase until it reaches 44.1%.This decrement denotes a period of heightened electrical demand surpassing the ESS's capacity alone to satisfy the load, prompting the PHS system to generate supplementary electricity.While both PHS and ESS serve as energy storage systems, they operate distinctively.PHS stores energy as potential energy by pumping water to an upper reservoir and subsequently releasing it through turbines to generate electricity as needed.During instances of elevated demand exceeding supply, such as peak periods or low PV generation, both PHS and ESS discharge stored energy to the grid, aiding in grid stabilization and mitigating the necessity for DG.Moreover, FIGURE 7 (d) and FIGURE 9 (d) elucidate the PHS mode for both MILP and SDDP methods, respectively.When operating as a pump, the PHS system consumes electrical energy to transfer water from a lower reservoir to an upper reservoir, effectively storing energy.This pump mode entails the PHS system acting as a load and consuming yielding a negative power output.Conversely, when functioning as a generator or turbine, the system releases stored water from the upper reservoir to the lower reservoir, converting potential energy into electrical energy.In this generator mode, the PHS system acts as a generator, producing electrical power and yielding a positive power output.The inclusion of PHS in the HES augments its energy storage capabilities and enhances grid stability while mitigating dependence on DG and grid power.Strategic coordination and optimization of PHS and ESS alongside other system components can yield improved performance, cost efficiency, and environmental sustainability.

B. SDDP

65The SDDP method is employed to optimize the operation of ESS while considering uncertainty, which is represented by 5 stages, each stage has 10 different scenarios.These scenarios are generated based on stochastic variations in load 143320 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.and PV generation profiles.To generate sample scenarios for uncertain parameters at each stage, changes in load may arise from variations in these uncertain factors across different scenarios or stages.These sample scenarios serve as distinct possible realizations of uncertain variables, such as PV generation or load demand, encountered within the optimization problem.These scenarios are instrumental in estimating the expected value of the objective function associated with the constraints.Including scenarios in the optimization process enhances the robustness of decision-making for ESS operation.By considering various scenarios, the algorithm can make informed decisions that lead to reduced energy purchases and more efficient utilization of the ESS.This approach enables better management of the ESS's SoC while minimizing operational costs.FIGURE 8 (a) presents the grid power profile for a system empty of PHS, whereas FIGURE 9(a) showcases the grid power profile for a system integrated with PHS over a day.Notably, as evidenced in FIGURE 8 (a) and FIGURE 9 (a), the cumulative net grid power for the system without PHS is lesser than that for the system incorporating PHS, amounting to 370 MW and 678 MW, respectively.FIGURE 8 (c) and FIGURE 9 (c) show the power profile of the ESS without and with PHS integration, respectively.These plots indicate periods of charging and discharging while adhering to all provided constraints and anticipated power requirements.The ESS's operational capacity is constrained by its battery capacity.Positive ESS power values contribute to an increase in SoC, while negative ESS power values result in a decrease in SoC.FIGURE 8 (b) presents the SoC percentage profile throughout the day for the system without PHS.The plot highlights charging and discharging patterns, indicating that the initial SOC of the system is 50%.It begins discharging for the first 6 hours of the day, followed by a charging phase until it reaches 53.9%.Subsequently, it initiates another discharge phase, ultimately returning to 50% SOC in response to peak load hours.However, for a system that also includes PHS, FIGURE 9 (e) illustrates a similar SOC pattern.Here, the SOC begins discharging for the first 6 hours of the day and continues until it reaches 52.2%.Constraints on the minimum and maximum SoC of the ESS are rigorously enforced for each scenario, ensuring that the ESS operates within predefined and safe boundaries.Through optimization across scenarios, the algorithm strives to strike a balance between maximizing ESS utilization and maintaining SoC within acceptable limits.Upon analyzing FIGURE 8 (d) and FIGURE 6 (f), show the changes in DG power within the system without PHS.These figures depict minimal changes in DG values, with the maximum DG power peaking at 40 MW.This nominal variance can be ascribed to the persistent and considerable load demand, which maintains a consistently high level.Furthermore, the absence of PHS exacerbates the situation by limiting the system's flexibility in adjusting power outputs to meet fluctuating demands.Conversely, upon review of FIGURE 7 (f) and FIGURE 9 (f), illustrating the changes in DG power within the system integrated with PHS, with large dynamic changes.These visual representations portray dynamic shifts in DG values, indicative of a system that incorporates both PHS and Energy Storage Systems (ESS).This integration facilitates more agile and adaptable energy management strategies, resulting in a scenario where the maximum DG power is capped at 20 MW.Such responsiveness is made possible by the complementary nature of PHS and ESS, allowing for efficient balancing of supply and demand dynamics within the system.For a system comprising DG, PV, ESS, and PHS, FIGURE 9 (b) visualizes the water level status within the PHS system.Initially, the water level is set at 40% of its total capacity.As indicated at t = 1, the water level decreases to 19%, and then it increases to 45%.This decline reflects a period of heightened electrical demand that surpassed the ESS's capacity to independently meet the load.Consequently, during this period, the PHS system commences electricity generation to complement the power supply.Both PHS and ESS are categorized as energy storage systems, although they operate differently.One commonality between PHS, ESS, and the grid is their capacity to store surplus energy when generation exceeds demand and release stored energy when demand exceeds generation.This capability contributes to grid stability, facilitates load balancing, and allows for the storage of excess energy for future utilization.Constraints are integrated into the code to ensure that the SoC remains within predefined limits.In the context of the SDDP algorithm, the results obtained from solving the optimization problem for each scenario provide valuable insights into the optimal operation of the HPP.These insights encompass the intricate relationship between the grid, SoC, and the ESS, as well as strategies for minimizing ESS operation while accounting for SoC considerations.By thoroughly analyzing the outcomes generated by the SDDP algorithm, you can gain a deeper understanding of the optimal control decisions governing grid, ESS, PHS, and PV power under various scenarios.

C. TOTAL ELECTRICITY COST OF DIFFERENT TARIFFS & CO2 EMISSION COST

66In this research, the Real Time Pricing (RTP) scheme refers to a scenario where electricity rates are directly tied to the ever-changing electricity market prices.These rates are not fixed in advance and typically fluctuate hourly.TOU tariffs, conversely, represent the most used approach to pricing that varies with time.Under TOU, each day is divided into two to five intervals, each having a set electricity rate.This division and rate determination process occur monthly.In the Critical Peak Pricing (CPP) scheme, either TOU or RTP rates generally apply for most days throughout the year.However, a few specific days within the year witness rate adjustments during certain hours that coincide with peak electricity demand provides an overview of the various tariff structures considered in the Chicago case study [41].TABLE 4 presents the CO2 emission costs for both MILP and SDDP, revealing that the CO2 cost is lower in the case of SDDP.Interestingly, the system without PHS exhibits higher CO2 costs compared to the system with PHS.The values presented in TABLE 4 were calculated using the following equations:

67where the E DG (t) is the carbon emissions from the diesel generator at time t, E grid (t) is the carbon emissions from grid power usage at time t, and C CO 2 is the cost per Kg of CO2 emissions.These equations represent the methodology used to derive the CO2 cost and CO2 emissions for the hybrid power plant system.TABLE 5 and TABLE 6 provide a comparison of the total optimized and base electricity costs between the MILP and SDDP methods.These tables reflect the overall energy costs of the proposed HES, contrasting the optimized and base costs for the following pricing schemes: RTP, TOU, and CPP.TABLE 5 displays the total cost for the MILP method, indicating that the system without PHS incurs higher costs (e.g., 227 $/24h) than the system with PHS (e.g., 219.8 $/24h).On the other hand, TABLE 6 reveals the total cost for the SDDP method, where the system without PHS (e.g., 209 $/24h) exhibits higher costs than the system with PHS (e.g., 180 $/24h).It's noteworthy that the SDDP approach consistently results in lower total costs than MILP.The rationale behind the SDDP method's cost-effectiveness, particularly in complex systems dealing with uncertainty and multiple scenarios, lies in its ability to consider a broad spectrum of scenarios and their associated probabilities.This approach offers a more accurate representation of real-world uncertainties in energy systems.In contrast, MILP primarily relies on deterministic models, rendering it more conservative and less adaptable to variable conditions.Furthermore, SDDP employs probabilistic models to represent uncertainties more faithfully, whereas MILP often relies on deterministic approximations that can lead to suboptimal decisions and higher costs.The convergence analysis and optimal cost comparison clearly indicate that the proposed SDDP method outperforms the MILP method in optimizing the energy dispatch for hybrid power plants.The SDDP algorithm not only converges more efficiently but also achieves lower overall costs, validating its effectiveness in real-time energy management scenarios as shown in FIGURE 11 illustrates the PV and load profiles after introducing white noise.The added white noise, characterized by a standard deviation of the noise is half of the standard deviation of the original signals, introduces stochastic elements into the PV and load data.This randomness serves to simulate real-world unpredictability and variability in energy generation and consumption patterns.

68The effects of this noise on the outcomes of Stochastic Dual Dynamic Programming (SDDP) and Mixed-Integer Linear Programming (MILP) optimization methods are explored in the subsequent analysis.Introducing white noise to the data can enhance the robustness of the SDDP approach, making it more adaptable and resilient to variations.SDDP is explicitly designed to manage uncertainty, and the introduction of noise effectively simulates real-world unpredictability.Consequently, the SDDP method is likely to yield more reliable and robust solutions, as evident in TABLE 8, where the total cost without white noise is slightly higher than the total cost with white noise.Conversely, incorporating white noise into MILP can significantly elevate the complexity of the optimization problem.MILP models may encounter challenges when handling noisy data, resulting in more intricate and time-consuming computations.Additionally, MILP may struggle to identify the most cost-effective solutions in the presence of noisy data, possibly leading to suboptimal outcomes.This, in turn, can result in higher total electricity costs, as evident in TABLE 7, where the total cost without white noise is lower than the total cost with white noise.

IV. CONCLUSION

69In conclusion, in this research, complex challenges of optimizing HPPs were tackled by integrating various RESs and storage systems.The focus was on a hybrid setup combining PV systems, BESS, DG, and PHS to enhance energy management and minimize operational costs and carbon emissions.An advanced EDE was developed using MILP) and SDDP.

70The SDDP algorithm demonstrated superior performance in optimizing the discharge and charge profiles of the BESS, resulting in lower total costs and reduced carbon emissions compared to the MILP method.The SDDP approach consistently achieved lower total costs than the MILP approach.The total cost for the system with PHS using SDDP was 180 $/24h, significantly lower than the MILP cost of 219.8 $/24h.Findings indicated that the SDDP method also reduced CO2 emissions, with the SDDP approach emitting 160 kg of CO2 per day compared to 200 kg with the MILP method.Introducing stochastic elements, such as white noise into PV and load data, demonstrated the robustness of the SDDP method in handling real-world unpredictability, further validating its effectiveness for dynamic energy management.This study highlights the importance of advanced optimization techniques in managing hybrid power plants.The proposed SDDP algorithm not only improves cost efficiency but also enhances environmental sustainability by reducing emissions.The flexibility and scalability of this approach make it suitable for various applications, from small microgrids to larger power systems.These findings contribute significantly to the ongoing efforts to optimize renewable energy integration, reduce costs, and promote sustainable energy solutions in the evolving energy landscape.The scalability of the proposed system is one of its key strengths.Although the case studies presented in this paper are on a larger scale, the energy dispatch management system is designed to be adaptable to both large and small setups.This flexibility makes it suitable for a wide range of applications, from localized microgrids to more extensive power systems.Future work may include further analysis and case studies focusing on smaller, conventional microgrid setups to illustrate the system's broad applicability.

FIGURE 1 .

71FIGURE 1. Block diagram of the hybrid power plant.

FIGURE 2 .

72FIGURE 2. Pumped hydro storage system.

FIGURE 3 .

73FIGURE 3. Energy management system block diagram.

FIGURE 4 .

74FIGURE 4. Flowchart of the EMS algorithm.

FIGURE 5 .

75FIGURE 5. SDDP optimization (Scenario Tree).

76) (−15 MW), while the standard minimum ESS power stands at (−20 MW).

FIGURE 6 .

77FIGURE 6. Results of the MILP optimization for a Hybrid Energy System (HES) combining PV, DG, and ESS.(a) the system's PV profiles, (b) the system's Load profiles, (c) ESS power profile (PV, DG, ESS), (d) grid profile (PV, DG, ESS), (e) SoC profiles (PV, DG, ESS), and (f) DG profile (PV, DG, ESS).

FIGURE 7 .

78FIGURE 7. Results of the MILP optimization for a Hybrid Energy System (HES) combining PV, DG, PHS, and ESS.(a) grid profile (PV, DG, ESS, PHS), (b) water level state profile (PV, DG, ESS, PHS), (c) ESS power profile (PV, DG, ESS, PHS), (d) PHS profile (PV, DG, ESS, PHS), (e) SoC profiles (PV, DG, ESS, PHS), and (f) DG profile (PV, DG, ESS, PHS).

FIGURE 8 .

79FIGURE 8. Results of the SDDP optimization for a Hybrid Energy System (HES) combining PV, DG, and ESS.(a) ESS power profile (PV, DG, ESS), (b) grid profile (PV, DG, ESS), (c) SoC profiles DG, ESS), and (d) DG profile (PV, DG, ESS).

FIGURE 9 .

80FIGURE 9. Results of the SDDP optimization for a Hybrid Energy System (HES) combining PV, DG, PHS, and ESS.(a) grid profile (PV, DG, ESS, PHS), (b) water level state profile (PV, DG, ESS, PHS), (c) ESS power profile (PV, DG, ESS, PHS), (d) PHS profile (PV, DG, ESS, PHS), (e) SoC profiles (PV, DG, ESS, PHS), and (f) DG profile (PV, DG, ESS, PHS).

FIGURE 10 .

81FIGURE 10.Different electricity tariffs.

FIGURE 11 .

82FIGURE 11.The convergence analysis and final optimal cost comparison.

FIGURE 12 .

83FIGURE 12.The effect of white noise that being added with a standard deviation that is half (0.5) of the original signals of PV and Load.(a) Load profile, (b) PV profile.

TABLE 1 .

84Literature review comparison.

85P ess,ch−min ≤ P charge (t) ≤ x.P ess,ch−max y.P ess,dis−min ≤ P dis (t) ≤ y.P ess,dis−max SoC min ≤ SoC min (t) ≤

86resenting the state of the behavior of ESS either charging or discharging.Q ESS is the maximum capacity of the ESS (kWh).s.t (4), State of water Balance:

TABLE 2 .

87Time-of-use (TOU) tariff.

TABLE 3 .

88System parameters.

TABLE 4 .

89Daily CO 2 emission cost.

TABLE 5 .

90Daily operational Cost for MILP.

TABLE 6 .

91Daily operational Cost for SDDP.

TABLE 7 .

92The daily operational Cost for MILP with showing the presence of uncertainty in the load and PV profiles, with the standard deviation specified as 0.5 MW.

TABLE 8 .

93The daily operational Cost for SDDP with showing the presence of uncertainty in the load and PV profiles, with the standard deviation specified as 0.5 MW.

참고문헌 39건

  1. Dispatch Scheduling for a Wind Farm With Hybrid Energy Storage Based on Wind and LMP Forecasting IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2014 10.1109/tia.2014.2372043
  2. A Microgrid Energy Management System Based on the Rolling Horizon Strategy IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2013 10.1109/tsg.2012.2231440
  3. Stochastically Optimized, Carbon-Reducing Dispatch of Storage, Generation, and Loads IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2015 10.1109/tpwrs.2014.2388214
  4. Multi-stage stochastic optimization applied to energy planning Mathematical Programming · Springer Science+Business Media · 1991 10.1007/bf01582895
  5. Optimization of hybrid renewable energy power systems: A review International Journal of Precision Engineering and Manufacturing-Green Technology · Springer Science+Business Media · 2015 10.1007/s40684-015-0013-z
  6. Mixed Integer Linear Programming in Process Scheduling: Modeling, Algorithms, and Applications Annals of Operations Research · Springer Science+Business Media · 2005 10.1007/s10479-005-3446-x
  7. Sustainable electricity generation for rural and peri-urban populations of sub-Saharan Africa: The “flexy-energy” concept Energy Policy · Elsevier BV · 2010 10.1016/j.enpol.2010.09.021
  8. Pumped storage-based standalone photovoltaic power generation system: Modeling and techno-economic optimization Applied Energy · Elsevier BV · 2014 10.1016/j.apenergy.2014.06.005
  9. Estimation of the Efficiency for Variable Speed Pumps in EPANET Compared with Experimental Data Procedia Engineering · Elsevier BV · 2014 10.1016/j.proeng.2014.11.466
  10. Sharing cuts under aggregated forecasts when decomposing multi-stage stochastic programs Operations Research Letters · Elsevier BV · 2013 10.1016/j.orl.2013.03.003
  11. Modeling pumped hydro storage with the micropower optimization model (HOMER) Journal of Renewable and Sustainable Energy · American Institute of Physics · 2014 10.1063/1.4893077
  12. Efficient mini-batch training for stochastic optimization 2014 10.1145/2623330.2623612
  13. Mixed Integer Linear Programming Formulation Techniques SIAM Review · Society for Industrial and Applied Mathematics · 2015 10.1137/130915303
  14. Solar–wind hybrid renewable energy system: A review Renewable and Sustainable Energy Reviews · Elsevier BV · 2016 10.1016/j.rser.2015.12.223
  15. Application of Multistage Stochastic Programming in Strategic Telecommunication Network Planning 2010
  16. Technical feasibility study of solar-pumped hydro storage in Lebanon 2014 10.1109/redec.2014.7038525
  17. Stochastic Gradient Descent Apress eBooks · Apress · 2017 10.1007/978-1-4842-2766-4_8
  18. A design and dispatch optimization algorithm based on mixed integer linear programming for rural electrification Applied Energy · Elsevier BV · 2018 10.1016/j.apenergy.2018.09.194
  19. A Heuristics-Based Policy to Reduce the Curtailment of Solar-Power Generation Empowered by Energy-Storage Systems Electronics · Multidisciplinary Digital Publishing Institute · 2018 10.3390/electronics7120349
  20. Energy management and optimal storage sizing for a shared community: A multi-stage stochastic programming approach Applied Energy · Elsevier BV · 2018 10.1016/j.apenergy.2018.11.080
  21. Potential, optimization and sensitivity analysis of photovoltaic-diesel-battery hybrid energy system for rural electrification in Algeria Energy · Elsevier BV · 2018 10.1016/j.energy.2018.12.049
  22. Simulation tools for a smart grid and energy management for microgrid with wind power using multi-agent system Wind Engineering · SAGE Publishing · 2019 10.1177/0309524x19862755
  23. Stochastic Multi-Objective Optimized Dispatch of Combined Cooling, Heating, and Power Microgrids Based on Hybrid Evolutionary Optimization Algorithm IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2955515
  24. Real-Time Stochastic Optimization of Energy Storage Management Using Deep Learning-Based Forecasts for Residential PV Applications IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2020 10.1109/tia.2020.2968534
  25. Optimal Scheduling for Campus Prosumer Microgrid Considering Price Based Demand Response IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2987915
  26. Optimization and Energy Management of Hybrid Photovoltaic-Diesel-Battery System to Pump and Desalinate Water at Isolated Regions IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2998720
  27. Dispatching of a Wind Farm Incorporated With Dual-Battery Energy Storage System Using Model Predictive Control IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.3014214
  28. Two-Stage Congestion Management Considering Virtual Power Plant With Cascade Hydro-Photovoltaic-Pumped Storage Hybrid Generation IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.3030637
  29. Cost Minimization of Battery-Supercapacitor Hybrid Energy Storage for Hourly Dispatching Wind-Solar Hybrid Power System IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.3037149
  30. Power System Dispatch With Marginal Degradation Cost of Battery Storage IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2020 10.1109/tpwrs.2020.3048401
  31. A MILP framework for electricity tariff-choosing decision process in smart homes considering ‘Happy Hours’ tariffs International Journal of Electrical Power & Energy Systems · Elsevier BV · 2021 10.1016/j.ijepes.2021.107139
  32. Battery energy-storage system: A review of technologies, optimization objectives, constraints, approaches, and outstanding issues Journal of Energy Storage · Elsevier BV · 2021 10.1016/j.est.2021.103023
  33. Energy storage systems implementation and photovoltaic output prediction for cost minimization of a Microgrid Electric Power Systems Research · Elsevier BV · 2021 10.1016/j.epsr.2021.107596
  34. Multiobjective Optimization of a Hybrid PV/Wind/Battery/Diesel Generator System Integrated in Microgrid: A Case Study in Djelfa, Algeria Energies · Multidisciplinary Digital Publishing Institute · 2022 10.3390/en15103579
  35. A Novel Stochastic Mixed-Integer-Linear-Logical Programming Model for Optimal Coordination of Hybrid Storage Systems in Isolated Microgrids Considering Demand Response Batteries · Multidisciplinary Digital Publishing Institute · 2022 10.3390/batteries8110198
  36. Reinforcement Learning-Based Intelligent Control Strategies for Optimal Power Management in Advanced Power Distribution Systems: A Survey Energies · Multidisciplinary Digital Publishing Institute · 2023 10.3390/en16041608
  37. Risk-averse stochastic optimal control: An efficiently computable statistical upper bound Operations Research Letters · Elsevier BV · 2023 10.1016/j.orl.2023.05.002
  38. Optimal Energy Dispatch Engine for PV-DG-ESS Hybrid Power Plants Considering Battery Degradation and Carbon Emissions IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3281562
  39. Energy management in microgrids using IoT considering uncertainties of renewable energy sources and electric demands: GBDT-JS approach Electrical Engineering · Springer Science+Business Media · 2023 10.1007/s00202-023-01947-8