Abstract
A Nanogrid (NG) model is described as a power distribution system that integrates Hybrid Renewable Energy Sources (HRESs) and Energy Storage Systems (ESSs) into the primary grid. However, this process is affected by several factors, like load variability, market pricing, and the intermittent nature of Wind Turbines (WTs) and Photovoltaic (PV) systems. Hence, other researchers in the past have used a few optimization-based processes to improve the development of Energy Management Systems (EMSs) and ESSs, which further enhanced the operational performance of NGs. It was seen that EMS acts as the distributed energy source in the NG setup and assists in power generation, usage, dissemination, and differential pricing. Hence this study employed the MATLAB Simulink software for modelling the grid-connected NG that included HRES; such as wind and PV; in addition to 3 Battery Storage Devices (BSDs) to design an effective EMS for the NG system and decrease its overall costs. For this purpose, a Rule-Based EMS (RB-EMS) that employs State Flow (SF) to guarantee a safe and reliable operating power flow to the NG has been developed. In addition to that, a Genetic Algorithm (GA)-based optimization system and Simulated Annealing optimization Algorithm (SAA) were proposed to determine an economical solution for decreasing the cost of the NG system depending on its operational constraints. Lastly, comparison about the cost between RB-EMS, GA and SAA has been presented. According to the simulation results, the proposed GA displayed an economical performance since it could achieve a 40% cost saving whereas the SAA system showed a 19.3% cost saving compared to the RB-EMS. It can be concluded from the findings that the GA-based optimization technique was very cost-effective displays many important features, like rapid convergence, simple design, and very few controlling factors.
Similar content being viewed by others
Introduction
A power distribution setup that can assimilate multiple distributed sources, like renewable energy sources (RESs), energy storage systems (ESSs), and non-RES, is known as a microgrid (MG) or nanogrid (NG). The power pyramid is what primarily distinguishes MG from NG. For example, NG is usually less complex and less powerful than MG. While MG can provide numerous entities, such as institutions of higher learning and medical and industrial facilities, with over tens of MWs, NG can provide a modest structure or a home with a power output exceeding tens of KWs1.
An energy management system (EMS) is described as a control mechanism that provides the necessary functionality and information to ensure that both the generation units and distribution setups produce electricity at the lowest possible operational costs in NG and MG applications2,3.
With the integration of RESs, NGs and MGs play a significant role in enhancing the electrical grid and moving away from sources of pollution. NG and MG systems use a variety of RESs, including solar photovoltaic (PV) and wind turbine (WT) systems. However, as PV and WT systems are intermittent in nature, an ESS consisting of supercapacitors or batteries can be used to sustain the power generated by such RES setups4. The output power levelling, the energy arbitrage, and the load-following functions of an ESS should be employed in conjunction with intermittent RESs5.
An NG is a unit that can be programmed to swiftly respond to the various load needs of local areas to increase the dependability of the supplied power, provide uninterrupted power supply, and decrease distribution losses. This can be accomplished using the NG’s power conversion system6,7. Most mid- and small-scale NGs derive their power from erratic and stochastic sources; such as WTs and PVs. However, load requirements and the grid tariffs change throughout the day. Due to these limitations and ambiguities, an NG is a complex system that requires intelligent control to ensure load demands can be met and it can be connected to the primary grid to keep its operational cost of electricity (COE) low8.
Multiple recent studies have examined how NG and MG systems function. A few optimization techniques have been used to identify the most effective operation schedules for various loading scenarios and objectives. One of the biggest issues that existing optimization methods face is the selection of the most cost-effective units to use9. Some studies have discussed several optimization techniques regarding the role of profit or cost in deciding the total power output of MG and NG applications10,11. For instance, in12 the authors have used recursive particle swarm optimization (rPSO) to increase reliance on RES and decrease reliance on traditional sources; like microturbines (MTs) and diesel generators (DGs). Although the suggested algorithm had higher efficacy than the Bat and GA algorithms, it took longer to address the issue than the Bat and GA algorithms. With fuel limits as a primary consideration, the authors in13 have suggested using the herd optimization algorithm (HOA) to schedule stand-alone NGs in the short run. The study's simulation-based findings indicated that the suggested approach was superior to previous methods.
In14, the researchers developed two methodologies; namely, a heuristic that utilizes the SF method and an optimization algorithm based on linear programming (LP); to reduce the cost of grid-connected MGs composed of a BSD and a PV array. The projected cost and loading conditions were considered during the optimization procedure. The simulation outcomes showed that the suggested optimization approach reduced operational costs by about 19%.
In15, the authors created a grey wolf optimisation (GWO) method to reduce the operational costs of grid-connected MGs; such as WTs, PV arrays, MTs, BSDs, and fuel cells (FCs). The operating cost solely applied to MTs, and FCs consist of operation and maintenance (O&M), fuel, and start-up costs, and shut-down expenses. Notably, the start-up and shut-down costs for WTs, PVs, and BSDs were zero. Furthermore, the ideal BSD size was also considered to lower MG operating expenses. The simulation data indicated that the devised optimization technique was more effective than differential evolution (DE) and particle swarm optimisation (PSO).
Another study proposed a grid-connected MG EMS with solar and BSD to reduce an MG's COE. Heuristic and optimization strategies for clear and foggy days were both considered. The simulation outcomes revealed that the optimization approach decreased the COE by 6.6% on clear days and 13.7% on overcast days than heuristics16.
A teacher-learning-based optimization (TLBO) was used to overcome the non-linear energy management issues and decrease the operating cost of a grid-connected MG composed of a WT, a PV, a FC, a MT, and a BSD. The simulation findings showed that the suggested method could perform a global search, resulting in quick and acceptable convergence, while the experimental findings demonstrated its superiority and viability over other prominent methods17.
In18, the researchers created an RB-EMS optimized using a grasshopper optimisation algorithm (GOA) to plan the capacity of independent MGs made up of a WT, a PV array, a DG, and a BSD. The RB-EMS was used to increase the use of RESs and to guarantee power flow inside the MG system. The effectiveness of the planned GOA-integrated RB-EMS were also determined and validated. The simulation outcomes demonstrated that the suggested RB-EMS was a cleaner power production mechanism as it reduced fuel consumption, CO2 emission, and COE by 92.4%, 92.3%, and 79.8%, respectively, than a traditional DG. A comparison of the algorithms indicated that the GOA-integrated RB-EMS yielded the best results as its COE (USD0.3656/kWh) was lower than that of a cuckoo search algorithm (CSA)-integrated RB-EMS (USD0.3662/kWh).
In19, the authors presented an improved RB-EMS to guarantee the dependable operation of a freestanding MG comprising a WT, a PV, a DG, and a BSD. The best RB-EMS was improved based on comparisons of the RB-EMS performances indicated by earlier efforts. The simulation outcomes demonstrated that, in comparison to existing RB-EMS, the suggested technique resulted in fewer emissions, costs, operational outlays, and power losses.
In20, the researchers proposed an EMS based on stochastic model predictive control (SMPC) for grid-connected MGs with a WT, a PV, a DG, a FC, and a BSD. A mixed integer quadratic programming model was devised to reduce the operating cost. A thorough comparison of the simulations indicated that the suggested algorithm yielded lower operating cost than other state-of-the-art approaches.
In21, the researchers proposed an ideal EMS, that consisted of a FC, a PV, and a BSD, for a grid-connected NG to decrease its operational cost and determine the ideal BSD size. Linear programming (LP) was used for objective functions with non-integer variables to discover the best solutions. The best solution for objective functions with integer variables was also discovered using mixed-integer linear programming (MILP). The findings showed that the suggested hourly-based optimal operation mode reduced daytime operating costs by 17.8 to 94.5%.
A hierarchical control architecture is necessary to regulate NGs. This hierarchy has three control levels; namely, primary, secondary, and tertiary. Local voltage, frequency, and current are controlled at the primary control level or power management system (PMS) level1.
The EMS or secondary control level manages and regulates the power flow between the generation sources, the primary grid, and the internal load needs of the NG system1. The tertiary control level deals with the connection between the network and the NG22. This paper will focus on the EMS level; namely, the second level of NG control.
The research objectives were split into three steps. The first step was to model the grid-connected NG using MATLAB Simulink, which included a WT and PV hybrid RES dual active bridge (DAB) DC/DC converters, a BSD, LCL filters, DC/AC inverters, and the variable load for one day. In the second step, a rule-based EMS using an SF approach for an NG system to ensure power flow and a safe and dependable operation was recommended. The third stage involves applying an optimization technique based on a genetic algorithm (GA) for an NG system to find the most economical solution for distributed generation units. To showcase the effectiveness of the recommended algorithm, the performance of GA is compared to that of the Simulated Annealing optimization algorithm (SAA). Figure 1 depicts the frameworks of all the procedures used to determine the most advantageous and cost-effective solutions for grid connected NGs. The primary contributions of this paper are summarised below:
-
(1)
Designed the NG-connected modelled grid using the MATLAB Simulink software and proposed RB-EMS for guaranteeing a safe and reliable operating power flow in the NG system.
-
(2)
Analysis of the single-objective optimization issue after decreasing the overall operational costs.
-
(3)
GA has been introduced for resolving the single-objective optimization issue.
-
(4)
GA displays many important features, like rapid convergence, simple design, and very few controlling factors.
-
(5)
The simulation results were compared with the SAA optimization findings.
-
(6)
Finally, the effectiveness and robustness of the proposed GA in the single-objective optimization setting were validated.
The paper is structured as follows: Section “Introduction” introduces MG and NG energy management. Section “Nanogrid (NG) system explanation” gives a comprehensive description of the NG system with RB-EMS. Section “Formulation of optimization problem” describes the optimization problem, objective function, limitations, and GA execution. Section “Simulation results and discussions” presents the outcomes and discussion. The conclusions are presented in Section “Conclusions”.
Nanogrid (NG) system explanation
As seen in Fig. 2, the grid-connected NG comprised a PV array, a BSD, a WT system, a DC/DC boost converter, DAB converters, LCL filters, and DC/AC inverters, along with three-phase loads modelled in MATLAB Simulink software coupled with local controllers.
Maximum power point tracking (MPPT) extracted energy from the PV array while the BSD created energy balance in the NG structure. The WT system, which was a critical component, was designed using a permanent magnet synchronous generator (PMSG).
Photovoltaic (PV)
The array, which was simulated in MATLAB, comprised 14 series-connected PV panels and four parallel connections. The parameters of the PV panels were set as maximum current output (IM) = 8.18 A, maximum voltage output (VM) = 36.7 V, short circuit current (ISC) = 8.68 A, open circuit voltage (VOC) = 45.3 V, maximum power (PM) = 300 W, and number of cells = 72.
Figure 3 depicts the power characteristics of the PV system using Malaysian irradiation data for 24 h at 25 °C. The peak power production was 16.7 kW. Figure 4 depicts the single-day irradiation information. The perturb and observe (P&O) technique was used to drive the MPPT to extract power from the PV array23. The algorithm computed the duty cycle required to drive the DC/DC boost converter to extract optimum power from the PV system.
The equation below was used to compute the highest current output of the PV array
where, VM is the maximum voltage output of the PV array and IM is its highest current output.
Wind turbine system (WTS)
The WT system comprised a PMSG-based WT, a DC/DC boost converter, a DC converter, a DC/AC inverter, and a controller. The wind-based power computation is, subsequently, discussed.
where, PM_PU is the nominal power in per unit (PU) for the specific ρ (air density in kg/m3) and A (swept area in m2) values; KP is the power gain (KP was ≤ 1), CP_PU is the performance coefficient in PU of the maximum cp; and VWIND_PU is the wind speed in PU of the base wind speed. The base wind speed is the mean value of the expected wind speed in m/s24.
A variable-speed WT system was employed for 24 h. Figure 5 indicates single-day power characteristics with a 15-kW peak. Moreover, Fig. 6 indicates single-day wind speed information.
Battery storage devices
It was critical to connect a BSD to the grid-linked system due to the uncertain power generation of PV and WT sources. The BSD comprised three lithium-ion batteries that had several desirable characteristics; such as high energy density, high performance, superior life cycle (1000 cycles), and low power duration (within 1 h)25.
The BSD charging and discharging states depended on the state of charge (SOC), the WT’s available power, and the PV’s available power. The SOC thresholds determine the amount of energy drawn from the BSD.
where, SOC_MIN and SOC_MAX are the lower and the upper limits of the SOC of the BSD, respectively. Table 1 provides the parameters of the BSD.
DC/DC converters
As a DC/DC boost converter is a very efficient transformer-less device that steps up the input voltage, it is frequently used in WT and PV installations26. Table 2 lists the DC/DC boost converter parameters of the PV and WT. A DAB converter, which was initially recommended by27, was also discussed in5. A DAB may be considered a bidirectional DC/DC converter comprising galvanic isolation-based on DAB, a high-frequency transformer, and leakage inductance. The transformer provides galvanic isolation with very high conversion. Hence, a DAB is used if the input and output voltages vary significantly. The converter was placed after the BSD. Table 3 lists the DAB converter aspects of the BSD.
DC/AC inverters and LCL filters
MG and NG setups critically rely on DC/AC inverters to transform the DC power from PV arrays, WTs, or BSDs to AC power. A more comprehensive analysis was presented in28.
LCL filters help eliminate unnecessary harmonics. The technique specified by27 was employed to power a converter-specific LCL filter design. Table 4 lists the LCL filters and the DC/AC inverter parameters.
Rule-based energy management system (RB-EMS) using state flow (SF)
The SF technique was modified to suit the RB-EMS approach. This technique comprised an event-specific modelling toolbox in MATLAB to facilitate the logic modelling of the dynamic regulation of the RB-EMS. The power flow regulation is based on the energy availability data of the BSD, WT, PV, and energy demand. It provides control commands to power conversion systems that include the converters and inverters typically used to integrate NG systems.
The RB-EMS was the primary instrument that controlled and regulated the commands in the NG setup and the workings of all the inverters, controllers, and converters while the MPPT drove the DC/DC boost converters connected to the PV and WT systems. The DAB-only converters of the BSD controlled its discharging or charging states to provide a steady DC bus voltage. It was critical to balance the NG power for various power levels from the BSD, the PV, the WT, the grid, and the energy demand. The power balance expression is specified below.
Figure 7 presents a flowchart of the various operation modes of the RB-EMS applied in the SF.
The EMS used different modes based on two criteria; namely, power production from the WT and the PV and the SOC of the BSD.
If the power demand exceeded the average power generated by the WT and PV systems, the BSD balanced the deficit until the SOC approached SOC_MIN. The three BSDs discharged equally to balance the power. For instance, if the BSD was powering a 3-kW load, each BSD was loaded at 1 kW. The grid was the last source used to power the balance, which was when the BSDs reached SOC_MIN. The more desirable scenario was the average power generated by the WT and PV system exceeding the load demand. The PV and WT systems powered the load demand and charged the BSD to SOC_MAX. When the SOC_MAX limit was reached, the excess energy was exported to the grid.
Formulation of optimization problem
This section specifies the optimization problem of this present study. The overall operating cost of the NG was the objective function. The decision variables comprised DG power generation and the grid to provide optimal power production points for every source. ON/OFF states were used to optimize the overall operating cost of the NG and fulfil the restrictions concerning power generation levels, load balance, and BSD charging/discharging.
Objective functions
As reducing the total cost is critical to optimizing NG operations, various objective functions for reducing the cost of NG and MG have been presented in29,30. The suggested expressions considered the levelized cost of energy (LCOE), which comprises the capital investment and O&M capital corresponding to every source comprising the NG setup. The primary target of the recommended objective functions was to economically fulfil load demands throughout the day. The following function was suggested to decrease the total operating cost of the NG system:
where, T is the total time of the study in hours (h); \({{\text{N}}}_{{\text{g}}}\) and \({{\text{N}}}_{{\text{Bat}}}\) are the energy generation units and BSD, respectively; Ui (t) is the status of the generation and BSD units at time t, either in ON or OFF mode; \({{\text{P}}}_{{\text{gi}}}({\text{t}})\) and \({{\text{P}}}_{{\text{Batj}}}({\text{t}})\) are the amount of power output by the generation units and BSD at time t; \({{\text{B}}}_{{\text{gi}}}({\text{t}})\) and \({{\text{B}}}_{{\text{Batj}}}({\text{t}})\) are the energy price offered for each generated unit and BSD at time t; and \({{\text{P}}}_{{\text{Grid}}}({\text{t}})\) and \({{\text{B}}}_{{\text{Grid}}}\left({\text{t}}\right)\) are the volume of power exchanged and the grid market price at time t.
Constraints and limitations
Three constraints; namely, the load generation balance, the power limit of the generating units, and the charging and discharging of the BSD; were considered.
Load generation balance
As load demands must be fulfilled, regardless of the conditions, the NG should be able to adequately fulfil the load demand. This case can be expressed as follows:
where, \({{\text{PL}}}_{{\text{k}}}\left({\text{t}}\right)\) is the load demanded at hour t.
Power limit of units
The amount of power that the WT, PV, and BSDs can provide are subject to the following limitations:
where, MAX and MIN are the maximum and minimum boundaries of the variable, respectively.
Battery storage charging and discharging constraint
The following expressions specify the charge and discharge limits of the BSD31:
where, WBat(t) and WBat (t − 1) are the volume of energy stored in the BSD at times t and t − 1, respectively; \({{\text{W}}}_{{\text{Bat}},{\text{MIN}}}\) and \({{\text{W}}}_{{\text{Bat}},{\text{MAX}}}\) are the lowest and highest amount of energy stored in the BSD, respectively; \({{\text{P}}}_{{\text{charge}},\mathrm{ MAX}}\) and \({{\text{P}}}_{{\text{discharge}},\mathrm{ MAX}}\) are the maximum charging and discharging powers of the BSD, respectively; \({{\text{P}}}_{{\text{charge}}}\) and \({{\text{P}}}_{{\text{discharge}}}\) are the maximum charging and discharging powers of the BSD over a given timeframe, respectively; and \({\upeta }_{{\text{charge}}}\) and \({\upeta }_{{\text{discharge}}}\) are the efficacy of the BSD in the charging and discharging modes, respectively.
System variables
This section provides a comprehensive overview of aspects of the system; such as the energy production of the WT and PV, the load characteristics, and the grid tariffs of the NG setup. All the assumptions discussed in this section were based on real-world data.
PV array and wind power availability
As wind velocity and irradiation levels determine the power production of WT and PV systems, they were modelled based on the Malaysian climate. Figures 3 and 5 provide the hourly predicted PV and wind power levels throughout the day, respectively.
Load profile
Numerous factors; such as geography, hourly time of day, and climate change; affect load demand. Figure 8 provides the random commercial load profile for Malaysia, with time-specific changes in load demand indicated5.
Malaysian grid tariff
The primary grid market price indicates changes in demand while supply pricing facilitates higher production during peak demand and lesser production during lower demand. Figure 9 provides the 24 h electricity price (USD/kWh) profile of the Malaysian national grid32. The indicated price reflects traditional commercial requirements and is based on Tenaga Nasional Berhad (TNB). The daily commercial electricity price can be split into three intervals; namely, 4 h of peak demand at 11, 14, 15, and 16; 10 h of mid-peak demand at 8 to 11, 12 to 14, and 17 to 22; and 10 h of off-peak demand from 22 to 8.
System parameters
This section specifies the source-specific power levels, including the LCOE of a DG when it is in operation and the true cost of using a BSD.
Wind turbines (WTs), PV arrays, and BSDs have upper and lower power generation constraints during operation. The International Renewable Energy Agency (IRENA) specifies the LCOE per kWh standards for BSD and RES systems. As the LCOE depends on the country, the data used in this present study pertained to Malaysia. The LCOE typically comprises the installation and O&M cost of a power source. Furthermore, the true cost of using a BSD (USD/kWh) may be computed by amortising its cost (USD135/kWh per IRENA standards) over its usable life. The usable life may be determined by multiplying the cycle life (3000 cycles) and the rated energy content of the BSD (4.8 kWh). Table 5 lists the actual LCOE of PV arrays, WTs, and BSDs based on their usable life as well as upper and lower limits for BSDs and RESs.
Genetic algorithm (GA)
This section discusses the optimization algorithm for the power generated by the NG system. The GA was employed to assess the optimization issues of NG operation33. The GA can be defined as a stochastic global search algorithm that facilitates the simulation of a metaphor of a natural biological evolution34,35.
Optimizing using GA offers several benefits over other algorithms, including optimizing with continuous or discrete variables and not requiring derivative information. The GA can also deal with non-linearity issues, whether as constraints or objective functions36. It can also handle numerous variables and function with experimental data, analytical functions, or numerically generated data.
Like all the optimization algorithms, the GA needs the specification of the suggested upper and lower values of the variables that require optimization as they establish the starting point of the decision variables. The steps used to identify the best solutions to the optimization problem are provided below.
Initialization
The GA aimed to solve the optimization problem by searching for an optimal solution; which was the lowest cost; among the variables of the problem; which were the PWIND, PPV, PBAT1, PBAT3, PBAT2, and PGRID. Thus, the first step of the GA was fitting by specifying an individual as an array of variable values to be optimized. In this present study, six variables (Nvar = 6) were associated with the individual, known as the chromosome.
The GA can function with various possible solutions, known as populations. A population can include 30 to 100 chromosomes. A matrix denotes the population within each row of the matrix, which is a 1 × Nvar chromosome of the continuous values. By considering a 24-chromosome preliminary population of Npop, the matrix below describes the full Npop × Nvar matrix of the random values:
Selection and crossover
A selection procedure helps determine which parents need to die and which ones must be preserved and allowed to reproduce to maintain a constant population size. Meanwhile, a crossover is the basic operator used to generate new chromosomes in the proposed algorithm. Much like in nature, a crossover can generate new chromosomes that include a few sections of the genetic materials of both parents. A crossover was employed to yield new solutions based on the available existing solutions in the mating group post-use of the selection operator.
Mutation
A mutation can be defined as a random process that is responsible for searching for the best and most optimal solution. The mutation process begins with selecting the mutation rate and the variables’ row while the columns to be mutated are selected based on random numbers. A new random variable then switches a mutated variable based on the variable's limits. The stages of the GA are presented in the flowchart provided in Fig. 10.
Simulation results and discussions
This present study used RB-EMS, GA and SAA. In the testing phase, the RB-EMS considered the behaviour during the day, the PV-related irradiation data at a constant temperature of 25 °C, the random demand profile, and the wind data speed for one day. The RB-EMS was tested based on the grid that was connected to the NG, which comprised a WT system, a PV array and three BSDs. Both the RESs and BSDs had to supply the load at any given time to ensure constant power flow. The GA optimization and its effect on the overall cost of the NG system was presented. The cost saving efficacy of the RB-EMS was also compared with GA and SAA.
The purpose of the RB-EMS was to satisfy load demands that had reached a peak of 15 KW in various generating conditions and utilising minimum supply from the grid. Figure 11 shows the power at different locations of the NG. The three BSDs supplied the load for up to 8 h as the PV and WT produced zero power. Post 8 h, the PV and WT supplied the load at various intervals while the additional power produced was used to charge the BSD. The excess power was then transferred to the grid for up to 15 h. The BSD supplied the load as the both the PV and WT produced less power between 15 and 18 h. Between 18 and 24 h, the WT supplied the load with support from the BSD. Figure 12 shows the discharging and charging states of the three BSDs during the day while Table 6 lists the total power produced by the WT and PV, the discharging and charging states of the BSD, and the power transferred to the grid over a 24 h period post-using the RB-EMS.
As seen in Fig. 11, the power outputted by all the sources post-using the RB-EMS was extracted to the workspace and acted as an input for the GA. The optimization problem was solved based on the optimization algorithm, which helped decrease the overall cost of the NG. The daily PV irradiation data and the wind speed data were used to analyse the results. The SOC of the BSD constraints were kept in the range of 20 to 80% SOC, which helps extend battery life. The NG used a lithium-ion battery. As for the GA optimization operation, the time step was set to a 24 h scale. The GA optimization helped decrease the COE from the main grid as well as satisfy the load demand using the power generated by the WT, the PV, the grid, and the BSDs, which, in turn, helped decrease the COE of the grid. Moreover, a comparison with SAA has been presented to showcase the effectiveness of the GA. Table 7 lists the optimum allocation post-using GA for NG generators, BSDs, and the main grid in a 24 h operation scenario, as per the cost function. While Table 8 presents the list of ideal distributions after the use of SAA for the NG generators, BSDs, and the primary grid in the case of a 24 h operation context, based on the cost functions.
The GA optimization provided an added benefit for almost every measure versus the RB-EMS. The total cost of variable-price electricity was calculated in terms of USD/kWh. The results showed that the COE of RB-EMS was USD 15.9856/day whereas the COEs displayed by the GA and SAA optimization systems were USD 9.50672/day and USD 12.8928/day, respectively. Table 9 presents the COE (per hour) and the daily overall cost savings after employing the RB-EMS and GA systems. Figure 13 displays the COE values shown by the GA and RB-EMS systems. Table 10 displays the COE (per hour) and the daily overall cost savings after employing the RB-EMS and SAA systems; whereas Fig. 14 depicts the COE comparison of both the systems.
The results presented in Figs. 13 and 14 indicated that with regard to the determination of optimal operating costs, the proposed GA showed a better performance compared to the SAA algorithm. It was noted that the GA acquired a 40% cost saving, while the SAA achieved a 19.3% cost saving compared to the RB-EMS. The primary difference between the optimization algorithms and RB-EMS was that the RB-EMS relied mainly on logic and predefined rules before making decisions regarding the distribution and consumption of energy in the NG systems. These rules were based on the system’s knowledge and operational experience. This technique was generally used for guaranteeing power flow in the NG system and for providing safe and reliable functioning.
Meanwhile, optimization algorithms like GA employ mathematical models for determining the cost-effective and efficient ways of managing energy in the NG system. The above algorithms consider different constraints and factors for optimizing energy generation, storage, and energy consumption, for fulfilling objectives like cost minimization.
The benefits of the GA optimization for the NG system can be described as follows: The GA significantly decreases the COE of NG compared to RB-EMS. Moreover, the proposed optimization algorithm also reduced grid energy usage. In future, several advanced algorithms will be used for solving the multi-objective issue that includes minimizing the costs and emissions generated from the NG system.
Conclusions
In this study, an RB-EMS is proposed for the grid-connected NG that included a PV, WT, and BSD. The RB-EMS primarily aimed to offer safe and reliable functioning and guarantee a steady power flow within the NG system. Furthermore, the GA was employed for minimizing the costs of the NG system. In addition to its simplicity, the GA-based optimization technique showed a low computational complexity. The GA technique proposed in this study could effectively overcome the limitations in comparison to the conventional heuristic techniques. This study compared the simulation results presented by the GA, RB-EMS, and SAA optimization techniques; wherein the daily costs for the RB-EMS, SAA, and GA techniques were seen to be USD 15.9856/day, USD 12.8928/day, and USD 9.50672/day respectively. Finally, it was concluded that the GA-based optimization technique was very cost-effective. This technique also lowered the variable-electricity cost by ≈ 40% compared to the RB-EMS and also lowered the grid energy usage. On the other hand, the SAA optimization reduced the costs by ≈ 19.3% compared to the RB-EMS.
Data availability
The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request.
References
Jamal, S., Tan, N. M. L. & Pasupuleti, J. A review of energy management and power management systems for microgrid and nanogrid applications. Sustain. 13, 18. https://doi.org/10.3390/su131810331 (2021).
Vera, Y. E. G., Dufo-López, R. & Bernal-Agustín, J. L. Energy management in microgrids with renewable energy sources: A literature review. Appl. Sci. 9, 18. https://doi.org/10.3390/app9183854 (2019).
Yin, C., Wu, H., Locment, F. & Sechilariu, M. Energy management of DC microgrid based on photovoltaic combined with diesel generator and supercapacitor. Energy Convers. Manag. 132, 14–27. https://doi.org/10.1016/j.enconman.2016.11.018 (2017).
Cabrane, Z., Ouassaid, M. & Maaroufi, M. Battery and supercapacitor for photovoltaic energy storage: A fuzzy logic management. IET Renew. Power Gener. 11(8), 1157–1165. https://doi.org/10.1049/iet-rpg.2016.0455 (2017).
Jamal, S., Pasupuleti, J., Rahmat, N. A. & Tan, N. M. L. During COVID-19 (2022).
Ding, Y., Wang, Z., Liu, S. & Wang, X. Energy management strategy of PV grid-connected household nano-grid system. IEEE Power Energy Soc. Gen. Meet. 2019, 3–7. https://doi.org/10.1109/PESGM40551.2019.8973404 (2019).
Salazar, A., Berzoy, A., Song, W. & Velni, J. M. Energy management of islanded nanogrids through nonlinear optimization using stochastic dynamic programming. IEEE Trans. Ind. Appl. 56(3), 2129–2137. https://doi.org/10.1109/TIA.2020.2980731 (2020).
Merabet, A., Al-Durra, A. & El-Saadany, E. F. Energy management system for optimal cost and storage utilization of renewable hybrid energy microgrid. Energy Convers. Manag. 252, 115116. https://doi.org/10.1016/j.enconman.2021.115116 (2022).
Roslan, M. F. et al. Scheduling controller for microgrids energy management system using optimization algorithm in achieving cost saving and emission reduction. Appl. Energy 292, 116883. https://doi.org/10.1016/j.apenergy.2021.116883 (2021).
Rathor, S. K. & Saxena, D. Energy management system for smart grid: An overview and key issues. Int. J. Energy Res. 44(6), 4067–4109. https://doi.org/10.1002/er.4883 (2020).
Phommixay, S., Doumbia, M. L. & Lupien St-Pierre, D. Review on the cost optimization of microgrids via particle swarm optimization. Int. J. Energy Environ. Eng. 11(1), 73–89. https://doi.org/10.1007/s40095-019-00332-1 (2020).
Qayyum, F., Jamil, F., Ahmad, S. & Kim, D. Hybrid renewable energy resources management for optimal energy operation in nano-grid hybrid renewable energy resources management for optimal energy operation in nano-grid. Comput. Mater. https://doi.org/10.32604/cmc.2022.019898 (2022).
Basu, S. & Basu, M. Horse herd optimization algorithm for fuel constrained day-ahead scheduling of isolated nanogrid horse herd optimization algorithm for fuel constrained day-ahead scheduling of isolated nanogrid. Appl. Artif. Intell. 35(15), 1250–1270. https://doi.org/10.1080/08839514.2021.1975392 (2021).
Shufian, A. & Mohammad, N. Modeling and analysis of cost-effective energy management for integrated microgrids. Clean. Eng. Technol. 8, 100508. https://doi.org/10.1016/j.clet.2022.100508 (2022).
Sharma, S., Bhattacharjee, S. & Bhattacharya, A. Grey wolf optimisation for optimal sizing of battery energy storage device to minimise operation cost of microgrid. IET Gener. Transm. Distrib. 10(3), 625–637. https://doi.org/10.1049/iet-gtd.2015.0429 (2016).
Sarda, J. S., Lee, K., Patel, H., Patel, N. & Patel, D. Energy management system of microgrid using optimization approach. IFAC-Pap. Online 55(9), 280–284. https://doi.org/10.1016/j.ifacol.2022.07.049 (2022).
Vosoogh, M., Kamyar, M., Akbari, A. & Abbasi, A. A novel modification approach based on MTLBO algorithm for optimal management of renewable micro-grids in power systems. J. Intell. Fuzzy Syst. 27(1), 465–473. https://doi.org/10.3233/IFS-131014 (2014).
Bukar, A. L., Tan, C. W., Yiew, L. K., Ayop, R. & Tan, W. S. A rule-based energy management scheme for long-term optimal capacity planning of grid-independent microgrid optimized by multi-objective grasshopper optimization algorithm. Energy Convers. Manag. 221, 113161. https://doi.org/10.1016/j.enconman.2020.113161 (2020).
Wee, N. R., Jamian, J. J., Syed Nasir, S. N. & Zaid, N. M. Enhanced rule-based energy management system for an islanded microgrid. in 2022 IEEE International Conference Power Energy Advance Power Energy System Toward Sustainable Resilient Energy Supply, PECon 2022, 144–148 (2022). https://doi.org/10.1109/PECon54459.2022.9988802.
Zhang, Y., Meng, F., Wang, R., Zhu, W. & Zeng, X. J. A stochastic MPC based approach to integrated energy management in microgrids. Sustain. Cities Soc. 41, 349–362. https://doi.org/10.1016/j.scs.2018.05.044 (2018).
Rai, S. K., Mathur, H. D. & Bansal, R. C. Optimal energy management of nanogrid using battery storage system. Sustain. Energy Technol. Assess. 55, 102921. https://doi.org/10.1016/j.seta.2022.102921 (2023).
Proano, J. L., Villalba, D. O., Saez, D. & Quero, D. O. Economic dispatch for optimal management of isolated microgrids. in IEEE 36th Central American and Panama Convention, CONCAPAN 2016, 2–7. (2016). https://doi.org/10.1109/CONCAPAN.2016.7942382.
Kumar, P. S., Chandrasena, R. P. S., Ramu, V., Srinivas, G. N. & Babu, K. V. S. M. Energy management system for small scale hybrid wind solar battery based microgrid. IEEE Access 8, 8336–8345. https://doi.org/10.1109/ACCESS.2020.2964052 (2020).
Wu, D. et al. Modeling and simulation of novel dynamic control strategy for PV–wind hybrid power system using FGS−PID and RBFNSM methods. Soft Comput. 24(11), 8403–8425. https://doi.org/10.1007/s00500-019-04408-2 (2020).
Di Piazza, M. C., Luna, M., Pucci, M., La Tona, G. & Accetta, A. Electrical storage integration into a DC nanogrid testbed for smart home applications. in Proceeding of 2018 IEEE International Conference on Environment and Electrical Engineering and 2018 IEEE Industrial and Commercial Power Systems, 1–5 (2018). https://doi.org/10.1109/EEEIC.2018.8493913.
Pradhan, A. & Panda, B. A simplified design and modeling of boost converter for photovoltaic system. Int. J. Electr. Compute. Eng. 8(1), 141–149. https://doi.org/10.11591/ijece.v8i1.pp141-149 (2018).
Qin, H. & Kimball, J. W. Generalized average modeling of dual active bridge DC-DC converter. IEEE Trans. Power Electron. 27(4), 2078–2084. https://doi.org/10.1109/TPEL.2011.2165734 (2012).
Mostafa, S., Zekry, A., Youssef, A. & Anis, W. R. Raspberry pi design and hardware implementation of fuzzy-PI controller for three-phase grid-connected inverter. Energies 15(3), 1–22. https://doi.org/10.3390/en15030843 (2022).
Chen, Y. H., Lu, S. Y., Chang, Y. R., Lee, T. T. & Hu, M. C. Economic analysis and optimal energy management models for microgrid systems: A case study in Taiwan. Appl. Energy 103, 145–154. https://doi.org/10.1016/j.apenergy.2012.09.023 (2013).
Elsied, M., Oukaour, A., Youssef, T., Gualous, H. & Mohammed, O. An advanced real time energy management system for microgrids. Energy 114, 742–752. https://doi.org/10.1016/j.energy.2016.08.048 (2016).
Jasim, A. M., Jasim, B. H. & Kraiem, H. A Multi-Objective Demand/Generation Scheduling Model-Based Microgrid Energy Management System, 1–28 (2022).
Azman, N. A. M., Abdullah, M. P., Hassan, M. Y., Said, D. M. & Hussin, F. Enhanced time of use electricity pricing for commercial customers in Malaysia. Pertanika J. Sci. Technol. 25, 285–294 (2017).
Li, H., Eseye, A. T., Zhang, J. & Zheng, D. Optimal energy management for industrial microgrids with high-penetration renewables. Prot. Control Mod. Power Syst. 2(1), 1–14. https://doi.org/10.1186/s41601-017-0040-6 (2017).
Niknam, T., Azizipanah-Abarghooee, R. & Narimani, M. R. An efficient scenario-based stochastic programming framework for multi-objective optimal micro-grid operation. Appl. Energy 99, 455–470. https://doi.org/10.1016/j.apenergy.2012.04.017 (2012).
Elsied, M., Oukaour, A., Gualous, H., Hassan, R. & Amin, A. An advanced energy management of microgrid system based on genetic algorithm. IEEE Int. Symp. Ind. Electron. 1, 2541–2547. https://doi.org/10.1109/ISIE.2014.6865020 (2014).
Nemati, M., Braun, M. & Tenbohlen, S. Optimization of unit commitment and economic dispatch in microgrids based on genetic algorithm and mixed integer linear programming. Appl. Energy 210, 944–963. https://doi.org/10.1016/j.apenergy.2017.07.007 (2018).
Acknowledgements
This work was supported by the Ministry of Higher Education, Malaysia, through the Fundamental Research Grant Scheme (FRGS), under the project code of FRGS/1/2022/TK08/UNITEN/01/3.
Author information
Authors and Affiliations
Contributions
Conceptualization, S.J. and J.P.; resources, S.J. and J.P.; writing original draft preparation, S.J. and J.P.; writing review and editing, S.J., J.P. and J.E.; supervision, J.P.; project administration, J.P.; funding acquisition, J.P. All authors have read and agreed to the published version of the manuscript.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Jamal, S., Pasupuleti, J. & Ekanayake, J. A rule-based energy management system for hybrid renewable energy sources with battery bank optimized by genetic algorithm optimization. Sci Rep 14, 4865 (2024). https://doi.org/10.1038/s41598-024-54333-0
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-024-54333-0
Keywords
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.