Optimal Sizing and Techno-Economic Analysis of Grid-Independent Hybrid Energy System for Sustained Rural Electriﬁcation in Developing Countries: A Case Study in Bangladesh

: The absence of electricity is among the gravest problems preventing a nation’s development. Hybrid renewable energy systems (HRES) play a vital role to reducing this issue. The major goal of this study is to use the non-dominated sorting genetic algorithm (NSGA)-II and hybrid optimization of multiple energy resources (HOMER) Pro Software to reduce the net present cost (NPC), cost of energy (COE), and CO 2 emissions of proposed power system. Five cases have been considered to understand the optimal HRES system for Kutubdia Island in Bangladesh and analyzed the technical viability and economic potential of this system. To demonstrate the efﬁcacy of the suggested strategy, the best case outcomes from the two approaches are compared. The study’s optimal solution is also subjected to a sensitivity analysis to take into account ﬂuctuations in the annual wind speed, solar radiation, and fuel costs. According to the data, the optimized PV/Wind/Battery/DG system (USD 711,943) has a lower NPC than the other cases. The NPC obtained by the NSGA-II technique is 2.69% lower than that of the HOMER-based system.


Introduction
Energy is regarded as a driving force behind a country's economic growth, particularly in emerging countries [1]. Bangladesh's energy demand has risen dramatically during the past decade as the country's population and economic development have accelerated. Now, electricity demand in Bangladesh is nearly 20,000 megawatts (MW). Natural gas is the main fuel used to generate electricity in Bangladesh. As a result, natural gas demand is steadily increasing [2].
Kutubdia is a remote island of the Chittagong division located approximately 90 km southwest of Cox's Bazar [3]. Its location is 21.8167 • S latitude and 91.8583 • E longitude. It covers 215.8 km 2 and has a population of nearly 133,888 people. The literacy rate is 32.4% [4]. The main occupations of Kutubdia's population are agriculture, fishing, and salt farming. Since it is a remote island, the main island cannot provide electricity to it. The power generation system of the island is a windmill, and the total rated output power is 1 MW [5]. Due to the large generation of power from fossil fuels such as oil, coal, and gas, greenhouse gas emissions are growing from day to day, wreaking havoc on the environment. Greenhouse gas emissions in Bangladesh were 74,476,230 tons, 71,265,882 tons and 65,735,285 tons CO 2 , respectively, in FY 2016, FY 2015 and FY 2014. 41.7% of CO 2 emissions are caused by power industries [6]. The greatest way to lower CO 2 emissions is through renewable energy. In response to energy conservation and security concerns, renewable energy sources such as wind and photovoltaic (PV) were incorporated into a country's energy mix [7]. The load curve in a power system is converted into a duck curve via renewable energy operational scheduling. This idea of a duck curve is often used to represent the temporal mismatch among peak load and PV output [8,9]. The battery energy storage system (BESS) is often regarded as a viable tool for addressing these issues since it can store excess energy and supply electricity at reduced power levels. Batteries have become popular as storage devices due to their minimal emissions and high efficiency. On the other hand, the development of BESS is constrained by significant capital expenses. A BESS installation that is haphazard or inefficient can result in higher installation costs, system damage, and lower BESS capacity. An adequate size approach for installed equipment in a future hybrid implementation might assist in achieving maximum power reliability while lowering system costs [10,11]. Optimizing the electric grid with diesel generator (DG) backup may be both economic and ecologically favorable in terms of enhancing human health, reducing air pollution, and attenuating noise when renewable energy sources are employed in remote regional power systems [5]. To reduce the usage of conventional energy sources and pollutants, it is crucial to discover sustainable energy sources. One feasible answer is to encourage renewable and optimal energy sources to meet the growing load demand in Bangladesh and the rest of the world [12]. Yet currently, the renewable energy system is not so popular in Bangladesh. In Bangladesh, Solar accounts for 0.62% of total energy, while gas and heavy fuel oil (HFO) account for 53.02% and 25.51%, respectively, [13]. Due to their unpredictability and severe dependency on environmental conditions, current renewable energy supplies by themselves in off-grid regions are unable to offer a consistent electrical supply. Hybrid renewable energy systems have become the subject of research recently. It has already been mentioned that integrating combustionbased engines or sizable banks of batteries, for instance, with solar PV-based renewable energy systems, is financially advantageous [14].
The major goal of this paper is to optimize the sizing of a hybrid renewable energy system to supply continuous energy to the considered area of Kutubdia Island in Bangladesh through technical and economic analysis. The following actions were taken to accomplish this goal: • The power system is played through in all possible configurations, taking into account renewable energy sources and determining the best possible optimal system. • Five feasible cases are discussed to determine which is the most cost-effective and environmentally friendly. • The hybrid optimization of multiple energy resources (HOMER) software tool and the NSGA (Non-dominated Sorting Genetic Algorithm)-optimization method are used to conduct a comparative study of the proposed PV/Wind/Battery/DG based system. • The proposed optimal system is compared with the current energy situation in selected area. For the optimal system, sensitivity analysis and payback are also considered. In sensitivity analysis, the effectiveness of wind speed and diesel price variation is discussed.
The remainder of the article is structured as follows: Section 2 describes the literature review. Section 3 discusses the proposed power system methodology and its description. The objective function and constraints are explained in Section 4. The outcomes of five separate situations and the viability of the suggested approach are discussed in Section 5. Finally, Section 6 discusses the conclusions.

Literature Review
Researchers across the world have conducted many notable initiatives on the hybrid power system, in which some recent studies are discussed in this section for a better understanding. In [15], PLEXOS software was used to integrate a significant amount of renewable energy onto an island, which is even less expensive (2.5%) and satisfied 78.1% of the total energy requirements. However, no hazard or sensitivity assessments were made, which are necessary to ensure the applicability of the proposed power system. Ref. [16] explains how, for both financial and environmental considerations, a smart energy system was built together with the combined storage (battery and hydrogen) technology. Nevertheless, they failed to specify how their suggested method would be technically possible. In [17], they looked into a CHP-PV-based microgrid's overall economic viability as well as the microturbine productivity of the CHP unit. It ignored the significance of other delicate factors, such as solar irradiation. Only focused on the effects of changes in load and fuel prices.
In [18], the PV/Wind/Battery/Diesel hybrid model is optimized to fulfill the electrical energy requirements and reduce CO 2 emissions. Their proposed system shows no evidence of sensitivity or risk analysis. The aim of [19] was to determine the size of a hybrid energy storage system comprising a hydrogen fuel cell and a super-capacitor for a commercial load generated from solar panels. Under the meteorological conditions of Cape Town, HOMER Pro is used to conduct a sensitivity analysis on the predicted prices of hydrogen storage to determine the impact of hydrogen costs on system and cost of energy (COE). Even if it is anticipated that the price of such a hybrid backup system would decrease in the long run, it will still be too expensive to deploy for a commercial load. In [20], a multi-objective optimization technique is used on Aguni Island, Japan to minimize the cost and carbon pollution of a hybrid energy system made up of PV, WG, BESS, and DG. The given issue is fixed in the appearance of ADLC using the e-constraint technique and MILP. The proposed solution does not account for real-time load demand variability.
In [21], an upgraded multi-objective grey wolf optimization technique has been used to estimate the ideal size of a hybrid microgrid for an island that includes solar panels, wind turbines, tidal current, batteries, and diesel in order to maintain the system's annual cost as low as feasible and avoid the danger of a power distribution deficit. Only the startup and operating costs of installed equipment are evaluated in this study, which cannot accurately reflect the appropriate COE. In order to meet the electrical needs of a small hamlet in northern Nigeria at the lowest cost and even with the least environmental impact, a hybrid system made of solar, wind, batteries, and diesel is optimized using a Genetic Algorithm (GA) in [22]. In [23], a GA and HOMER Pro Software are used to reduce the total system net present cost (NPC), COE, unmet load, and CO 2 emissions of an off-grid HRES. In [24], a Firefly algorithm is used to determine the appropriate size of a hybrid energy system based on solar, wind, and battery storage for supplying electricity to far-flung communities in India at the lowest feasible cost. In order to simulate the complete year, this method employs only one day of summer and winter data, which is insufficient.
In [25], HOMER Pro software is utilized to minimize the overall system's NPC, COE, and CO 2 emissions of an off-grid HRES that provides electricity to the Kutupalong camp in Ukhia, Cox's Bazar, Bangladesh. There is no evidence of sensitivity analysis in their suggested system. According to [26], the suggested system will help to increase energy efficiency and promote the expansion of renewable energy in the Ukrainian energy sector. No combination is illustrated to verify which is more cost-effective and environmentally friendly in this system. Ref. [27], in southern Cameroon, to developed hybrid PV/diesel/small hydro/battery systems for remote electrification. The results show that the suggested technique is more effective than the present one in terms of NPC and lowers energy costs and CO 2 emissions. There is no sign of sensitivity analysis in their suggested system. Ref. [28] provides instructions to guarantee that the government's approach is effective by presenting the current situation, prospects, and current data on renewable and sustainable energy sources in Bangladesh.
In [29], it was examined if hybrid renewable energy systems (PV-wind-generator) could cover the energy requirements of autonomous desalination systems (ADS) capable of producing up to 50 m 3 of water per day in an area with reasonably high wind and solar radiation profiles. These renewable energy methods are not cost-effective in compared to conventional fossil fuels. As addressed in [30], finding the most cost-effective and technologically feasible construction strategy is crucial for building MW-scale renewable energy-based hybrid power plants. The planned system is grid-connected, but no payback period is specified. Ref. [31] combines a demand-supply management (DSM) approach with a particle swarm optimization (PSO)-based method to regulate both the sellers and buyers, reducing building energy consumption and meeting load demand at the lowest feasible cost. The renewable fraction is increased from 15% (without DSM) to 63% (with DSM). Ref. [32] concentrated on HRESs that contain diesel as a backup, despite the high cost and vast distances required to transport fuel, making it less cheap and sustainable in rural areas. The goal of [33] is to create and visualize a perfect micro solar-diesel hybrid electricity generating plant in a remote location of Bangladesh in order to reliably satisfy electrical energy requirements. Sensitivity analysis is not discussed in the proposed system. The suggested system makes no mention of sensitivity analysis. In [34], PV/micro-hydro/wind turbine/biomass generators compare the cost of HRES with a independent diesel generator. Sensitivity analysis is not mentioned in the proposed system. Ref. [35] asserts that HRES is now possible due to the recent substantial decline in the price of wind turbines and solar panels. The intensity of renewable resources, the thermal-to-electrical demand ratio, and the price of diesel fuel are the three main contributing aspects that determine the optimal system. This system makes no mention of environmental impact or sensitivity assessments.
The HRES sizing procedure is more difficult due to the unpredictable supply of renewable resources. Therefore, a fair trade-off between economic and dependability considerations should be taken into account. As a result, several models (algorithms) and software tools have been used to optimize HRES designs, and more are still being created [36][37][38]. The significance of the criteria to be applied in order to produce the optimum hybrid power systems was determined using an analytical hierarchy process (AHP) [39].

Proposed Power System Description
In order to satisfy the load needs of a particular off-grid community, this study provides the best hybrid energy system architecture. The proposed power system model is illustrated in Figure 1. Costs were computed utilizing the balance of hybrid energy systems and their related components with the current limitations, meteorological data, and load profile in the simulation using HOMER Pro software. This software was used to calculate the NPC and COE. The comparative analysis of the optimal system was determined based on this cost calculation. The HOMER Pro software's optimization and sensitivity analysis allow for the examination of the economic and technological viability of hybrid energy system configurations, particularly for off-grid applications.  Figure 2 depicts the HOMER's operational process. There are three primary phases in hybrid renewable energy architecture: pre-HOMER analysis, optimization using HOMER, and post-HOMER analysis.

HOMER
• Pre-HOMER analysis: The pre-HOMER evaluation ensures the infrastructure's longterm capability by performing an early examination of the design configuration and framework. Without meticulous documentation of the specified family, community, and energy requirements, it is difficult to design and implement a successful hybrid system to handle the necessary load requirements. As a result, the first stage is to assess the socioeconomic factors, energy resources, and load needs of the specified off-grid region. This procedure will aid in determining the precise load demand for that location and the available energy sources that may be used to satisfy that demand. The cost of a hardware system, such as the initial price, installation and maintenance costs, and replacement costs, is evaluated in the pre-HOMER section. • Optimization Using HOMER: The techno-economic analysis is carried out in this part using load demand and weather data. This analysis is based on the renewable energy sources accessible in the area, the components necessary for hybrid energy systems, and a complete analysis of the HOMER simulation. Other tools may be used for the optimum and sizing analysis of the hybrid configuration of systems for renewable energy. Still, HOMER has grown in popularity due to its capacity to construct grid systems with trustworthy renewable energy systems. • Post-HOMER analysis: The sensitivity study of the intended off-grid region is necessary for this part to corroborate the substance's findings. A sensitivity analysis was conducted on the PV, battery, fuel, and other variables. These characteristics can give you a decent idea of how energy systems for the off-grid community are determined. The outcome of the simulation is replicated and adjusted using the necessary sensitivity variables for sensitivity analysis. This section also considers the impact on the environment. Investors will be able to determine how long they will be able to benefit from the initiatives.

Load Assumption
This research took into account a municipality with 100 households, 20 different types of shops, eight restaurants and three hotels. The expected load needs for the summer and winter seasons are shown in Table 1.
The principal load was estimated to be 752.75 kWh/day, whereas the annual peak demand was 53.82 kW. The load demand is provided in Figure 3.

PV Modeling
Geographical coordinates information is used in the clearness index to display monthly average global radiation statistics from the National Renewable Energy Laboratory (NREL). Solar radiation is at its highest from February to May, as seen in Figure 4. The yearly clearness index on average is 0.5312, while the daily radiation on average is 4.81 kWh/m 2 /day. The weather has a considerable impact on PV power generation. Generic manufactures the module that will be used in the PV panel. The rated capacity is 1 kilowatt (kW). It has been determined that by increasing the temperature coefficient by 0.1% each degree Celsius. The yearly output generated from the PV panel may be enhanced. Equation (1) may be used to compute the photovoltaic system's hourly base output in this case [25].
where Y PV denotes the rated capacity of PV array, f PV is known as derating factor (80%), I T is incident solar irradiation in kW/m 2 , I S is standard solar irradiation in kW/m 2 , α P is coefficient of the solar power, T C is the temperature of the PV cell in°C, and T S is the standard PV cell temperature. The temperature of the PV cell can be obtained using Equation (2) [25].
where T a is defined as temperature (°C), η PV is the efficiency of the PV cell, and NOCT is the nominal operating cell temperature.

Wind Turbine Modeling
The NREL provided the wind data for this investigation, as shown in Figure 5. Eocycle is the manufacturer of the module being evaluated for the wind turbine (Model: EO10). With a hub height of 24 m, the turbine's expected lifespan is 20 years. The option to utilize the external impact of the environment was not available.
Wind energy is converted into electrical energy by turbines. The hub height, cut-in wind speed, service time, and component cost all play a part in wind turbine selection. As a result, the power output available from different wind generators varies greatly, and it is a function of the wind velocity at hub height. The power law equation (Equation (3)) may be used to determine the wind speed necessary for energy production at a specific location for a given hub height. The value varies according to the type of land [25]. The hub height of the turbine is 24 m.
where U is wind speed (m/s) at the hub height, U re f is wind speed (m/s) at the reference height, H is hub height, H re f is reference height.
where a and b is constant, P r is rated power, U r is rated speed (m/s), U 1 is cut is speed (m/s).
where P WT is defined as actual electric power of wind turbine, A WT is defined as wind turbine as swept area (m 2 ), η WT is wind turbine efficiency, U 2 is defined as cutout speed (m/s) and P WT (U) is defined as wind turbine power output.

Modeling of DG
In order to propose or model any power system, diesel (cost) is required. According to Bangladesh Petroleum Corporation (BPC), Bangladesh's diesel price is now at USD 1/L and is not fixed [40].
This pricing has varied a lot throughout the years. Any diesel-based microgrid project might be expedited, postponed, or even cancelled due to the erratic behaviour of diesel fuel prices since it is directly tied to NPC and COE for the production of power per unit [1].
The diesel fuel consumption can be calculated using Equation (8).
where F 1 is defined as the coefficient of intercept, F 2 is defined as fuel curve slope, R D is the rated DG capacity, and P D is the outcome of the diesel-operated generator at that time.

Battery Modeling
The storage component of a hybrid energy system is major equipment that is utilized to maintain a consistent voltage during periods of lower power generation. In most cases, a Li-ion battery is used for power storage [1]. The following Equation (9) can be used to calculate the battery's maximum discharging power: Equation (10) is also used to calculate the quantity of maximum charging power.
where N l is the battery's maximum capability in kWh, N I is the storage system's initial available energy, r is the selected battery's capacity ratio, ∆h is the time duration in hours, N O is the battery bank's overall capacity for energy and c is the battery rate constant.

Bi-Directional Converter
A bi-directional converter adds both AC and DC buses. Equation (11) can be used to calculate the converter's energy output, where E in represents the power input to the specified inverter and η inv indicates the inverter's efficiency. The capacity of the inverter is determined by the transfer of energy from DC to AC using the HOMER Pro software (3.14) [1]. Table 2 lists the many inputs taken into account while modelling a PV, Wind Turbine, DG, Battery, and Bi-directional Converter.

Problem Formulation
Objective functions and constraints are components of problem formulation.

NPC
In HOMER, NPC is used to depict the system's life cycle cost. Initial capital costs, replacement costs, O&M costs, salvage values, fuel costs, and grid-purchased power costs are all included in the TNPC. Other expenses associated with greenhouse gas emissions are also included [41]. In HOMER, TNPC is calculated using Equation (12) where C OY is the overall yearly cost (USD/year) and CRF is the capital recovery factor.
CRF is calculated using the following Equation (13), where p is the yearly profit rate (%) and n is the entire project lifespan (years).
Equation (14) can be used to get the yearly real profit rate p where p is the nominal profit rate, and a f is the annual inflation rate. In this analysis, an 8% discount rate and a 2% annual inflation rate were employed.

COE
The COE is calculated as the yearly cost of system components divided by total energy production.
Whereas E T stands for "total energy supplied", C Y stands for "total yearly expense". This comprises the expense of yearly capital (C Y,Cap ), annual replacement (C Y,Rep ), and annual operations and maintenance (C Y,O&M ).

Life Cycle Emission
This study utilized life cycle emission (LCE) to estimate the volume of equivalent CO 2 emissions from the energy required to transport, produce, and reuse the components used to simulate the system [25]. To compute life cycle emissions, use the following mathematical expression.
BiEl (17) In this case, x indicates how many components were employed to model the system, El (kWh) outlines how much energy was produced and stored in each unit or component, and Bi (kg CO 2 -eq/kWh) represents the system's life-period corresponding CO 2 emissions.

Constraints
The optimized objective function is written as follows using the constraints:

Bounds Constraint
Lower and higher boundaries for solar, wind, and battery systems are described as constraints where N max WT is defined as the maximum number of wind turbines, N max PV presented as the highest number of PV modules, N max Batt is the highest number of batteries and N max DG is the highest number of diesel generators.

Battery Storage Constraint
A battery bank's capacity at any given hour 't' is somewhere between its lowest and highest capacity. The limitation is then represented by the Equation (22).

Maximum Output Power of Battery
The maximum output power of the battery is calculated by Equations (23) and (24) where B C and B D are the charging and discharging power of battery.

Power Balance Limit
The power balance limit is calculated by Equation (25) N PV P PV (t) + N WT P WT (t) + N Batt (B D (t) − B C (t)) + N DG P D (t) − P sr (t) = P L (t) (25) where P PV (t), P WT (t), P D (t) are the generated power os installed equipment at time t. P sr (t) is the surplus power at time t and P L (t) is the load demand at time t.

Non-Dominated Sorting Genetic Algorithm (NSGA)-II
In contrast to the single response that is typically produced by aggregated or weightedsum procedures, a series of non-dominated replies is obtained using the well-known multi-objective iterative strategy NSGA-II [42]. The NSGA-II optimization technique's operational process is depicted in Figure 6. In general, NSGA-II can be broken down into the following processes [43]: • Create the population using the problem range and constraints as a starting point. • Sorting based on the population's non-dominance requirements. • The crowding distance value is assigned front-wise when the sorting is completed. Each population is chosen depending on their rank and the distance between them and the center of the population.

Results and Analysis
HOMER Pro is used to model various hybrid energy systems. For techno-economic analyses and feasibility studies, NPC and COE are utilized in this study to determine several optimal configurations.

Description of Individual Combination Types of Equipment
The simulation results of the considered cases are shown in the Table 3. This is the base case. In this case, NPC and COE are higher than in other cases that are considered in this system. In Table 3 shows that, The annual operating cost is USD 95,930, and the NPC is USD 1,269,732 for the only DG-based system. The COE is USD 0.358/kilowatt-h (kWh). Table 4 shows the details of the augmented electrical result. Figure 7 shows the production of electricity throughout the year in this system.

Case 2: PV/Wind/Battery
This is the worst case. The NPC and COE are the highest of all the combinations. From Table 3 we see that NPC of this combination is USD 1,374,082 operating cost is USD 33,685 and the COE is USD 0.387/kWh, which is higher than case 1. The simple payback of this system is 12 years. Table 5 shows the details of the augmented electrical result. According to this table, the wind turbine generates 60.8% of the electricity for this specific system. In this system, the excess electricity, unmet electric load, and capacity shortage are 393,722, 164, and 272 kWh/y, respectively. Figure 8 shows the production of electricity throughout the year in this system. In the months of May to September, wind speeds are higher than in any other month of the year.

Case 3: PV/Battery/DG
In Table 3 we see that, NPC and operating cost of PV/Battery/DG based system is USD 922,633 and USD 59,733, respectively. The COE is USD 0.309/kWh, which is lower than in cases 1 and 2. We also see that the excess electricity generated by this system is 57,741 kWh/y, which is 17% of the total produced electricity. The simple payback is 6 years of this combination. The DG provides 54.2% of the power for this particular system, according to Table 6. Figure 9 shows the production of electricity throughout the year in this system. PV electricity generation is quite low from March to October. DG's contribution in this particular system is less than in case 1; that's why CO 2 emissions decrease to 34.32% which is less than in case 1.   Table 3, the NPC, yearly operating cost and initial capital for this specific system are USD 730,435, USD 38,531, and USD 232,321, respectively. The COE is USD 0.206/kWh, which is less than in cases 1, 2 and 3. The simple payback of this hybrid system is 3.3 years. Although simple payback is lower than other cases, it's not the best case. Because in HOMER optimization, results depend on the NPC and COE. Most of the electricity, 258,583 kWh/y, is produced by wind turbines, which is 72.2% of total electricity, according to Table 7. The production of excess electricity is 22.1% of total production. There is no unmet electric load and capacity shortage. In Figure 10, we observe wind turbines producing maximum electricity throughout the year. DG's participation is quite low.  The best approach to handling the ongoing electrical challenges in Bangladesh's Kutubdia Island was discovered to be a hybrid microgrid system based on PV, wind, battery and DG. Two renewable energy resources (solar and wind) were examined in this scenario, together with a battery bank, to lessen the strain from diesel generators and so lower the power price to a tolerable level. The NPC, annual operating cost and initial capital cost for this hybrid system are USD 711,943, USD 33,620 and USD 277,317, respectively, according to Table 3. The COE is USD 0.200/kWh, which is lower than in all other cases. The simple payback of this hybrid system is 3.7 years, which is longer than in case 4, but the NPC and COE are lower. According to Table 8, PV, wind turbine, and DG produced electricity of 54,456, 258,583, and 80,345 kWh/y, respectively, with the wind turbine producing 65.733% of total electricity. Excess electricity is 113,169 kWh/y which is 28.8% of total electricity. In Figure 11 we see that the contribution of DG is reduced in these cases. From June to September, PV's production is very low. The power generation from wind turbine is so high.

Emission Analysis
A hybrid renewable energy-based electrical system would undoubtedly be a significant accomplishment that would help to alleviate global warming. Based on fuel usage and fuel quality, yearly emissions are calculated from polluting materials and gas. Table 9 displays annual gas emission of different cases. According to this table, DG-based systems emit 218,666 kg/y carbon dioxide (CO 2 ) and 542 kg/y sulfur dioxide (SO 2 ); PV/Battery/DG emits 143,732 kg/y CO 2 and 356 kg/y SO 2 ; Wind/Battery/DG emits 77,803 kg/y CO 2 and 193 kg/y SO 2 ; and PV/Wind/Battery/DG emits 62,075 kg/y CO 2 and 154 kg/y SO 2 . The optimized PV/Wind/Battery/DG system emitted fewer CO 2 and SO 2 than all other combinations except PV/Wind/Battery. The PV/Wind/Battery/DG system emitted 71.61% less CO 2 and 71.59% less SO 2 than the base case DG system.

Sensitivity Analysis
Running a sensitivity study on the influence of many factors on the overall cost and viability of a renewable energy-based microgrid system is highly suggested. The sensitivity analysis is primarily carried out by looking at the impact of the following parameters on the previously optimized results: daily load demand, wind speed, solar energy (radiation), and diesel price; several costs (capital, operating, replacement and operation & maintenance) inputs and cost multiplier; grid extension cost; annual interest rate; and maximum capacity shortage. To investigate the correlation between NPC and COE, we picked three main factors: fuel price, wind speed and solar radiation.

The Effects of a Rising Diesel Price
Diesel prices are not the same throughout the year. It depends on the international market. Variation in diesel prices effects the project's cost. Figure 12 shows the effect of the diesel price. In Figure 11 shows that the NPC and COE are 711,943 and 0.200 when diesel price, average solar radiation and average wind speed are USD 1.00, 4.81 kWh/m 2 /day and 4.77 m/s, respectively. When diesel costs drop to USD 0.75 and USD 0.80, the NPC falls to USD 622,478 and USD 637,783, respectively, and COE falls to USD 0.175 and USD 0.80. Contrarily, the NPC increases from USD 711,943 to USD 734,147 and the COE from USD 0.200 to USD 0.207 when the price of fuel rises from USD 1.00 to USD 1.10.

The Effects of Wind Speed
The NPC and COE are also heavily influenced by wind speed. Figure 13 show that increasing the wind speed from 4.77 m/s to 5.00 m/s decreases the NPC and COE. The NPC and COE were USD 711,943 and USD 0.200 while the wind speed was 4.77 m/s, and they decreased to USD 697,715 and USD 0.191 when the wind speed increased to 5.00 m/s. On the other hand, the NPC and COE are USD 751,552 and USD 0.212, respectively, when the wind speed drops from 4.77 m/s to 4.50 m/s. NPC and COE decrease as wind speed increases, and NPC and COE increase as wind speed decreases.

The Effects of Solar Radiation
The hybrid alternative using PV, wind, battery, and direct-drive generators is graphically illustrated in Figure 14 by changing the solar irradiation. It is obvious that the NPC and COE are influenced by changes in solar radiation. For instance, the NPC and COE are USD 711,943 and USD 0.200 at 4.81 kWh/m 2 /day solar radiation, but they rise to USD 716,391 and USD 0.202 at 4.50 kWh/m 2 /day solar radiation. However, the NPC and COE are USD 708,975 and USD 0.200, respectively, when the solar radiation reaches 5.00 kWh/m 2 /day. NPC is lower, even if COE is the same as when solar radiation is 4.81 kWh/m 2 /day.

Comparison between HOMER and NSGA-II Optimization Technique
The suggested PV/Wind/Battery/DG results optimized by HOMER software are contrasted with those optimized by NSGA-II in Table 10. The NPC (USD 692,775) determined by NSGA-II is less than the NPC (USD 701,943) generated by the HOMER. The primary factor behind this discrepancy is that HOMER employs an 80 kW diesel generator whereas the NSGA-II alternative only uses a 50 kW unit. The renewable fraction (88%) is higher in the NSGA-II technique due to the usage of the highest number of PV, wind turbines, and less contribution of diesel than in the HOMER (RF = 70.8%). In NSGA-II, total renewable generation (392,441 kWh/year) is higher than HOMER (313,039 kWh/year). The renewable fraction is also the reason for the less total NPC. Therefore, as compared to HOMER, NSGA-II offers the most economical alternative.

Proposed Optimized System vs. Present Energy System
The study subsequently investigated the optimal hybrid system with the present energy system in addition to comparing the various scenarios, which are characterized by the HOMER software tool based on COE and NPC. Policymakers might choose a hybrid-based energy system with the aid of this comparative study. In comparison to the price of current energy system, the COE of the ideal configuration that was chosen is USD 0.200/kWh dollars per kWh. Mostly, diesel generators are used to produce electricity in the considered area. However, only diesel-based systems are the most costly, which is mentioned in Table 3. Nowadays, they are also using solar home systems. The cost of SHSs is approximately USD 0.72/kWh [44]. Therefore, compared to solar and diesel-powered systems, the suggested system's COE is more affordable.

Conclusions
The feasibility of a hybrid system for prospective energy generation in Bangladesh's Kutubdia Island is studied in this study. Five scenarios are evaluated, and a possible configuration based on lower NPC and emissions is offered. PV/Wind/Battery/DG is the case at issue.According to HOMER a 35.8 kW PV panel, a 50 kW wind turbine, an 80 kW DG and 67 Li-ion batteries make up this system. The NPC is USD 711,943, and the renewable percentage is 70.8%. The renewable percentage is higher than the PV/wind/battery system. In the proposed system, wind turbines produce 65.7%, PV panels produce 13.8%, and DG produces 20.4% of the electricity. The emission of carbon dioxide is 62,075 kg/y, which is less than in all other cases except PV/Wind/Battery. The payback period is 3.7 years in the proposed system. In sensitivity analysis, it shows how the NPC and COE vary depending on diesel price and wind speed.
For verifying the best case selected by HOMER, NSGA-II-based optimization is carried out for the PV/Wind/Battery/DG combination, which uses a 54 kW PV panel, a 60 kW wind turbine, a 50 kW DG, and 86 kW Li-ion batteries. The NPC for the NSGA-II-based optimization approach is USD 692,775, which is less than HOMER-based system. The renewable percentage (88%) and overall energy production (448,132 kWh/y) in NSGA-II are higher than the renewable fraction (70.80%) and overall energy production (393,385 kWh/y) based on HOMER. It is obvious that NSGA-II offers the most economical answer in the aforementioned situation.
This study discusses the design and selection of the optimal system configuration for achieving high efficiency and techno-economic feasibility utilizing locally accessible renewable energy resources. The research takes into account a tiny community, thus more research is necessary to determine the size of HRES in light of widespread energy consumption. The outcomes displayed in the research region might not apply to all of Bangladesh. In future research, we should analyze the embodied carbon emissions of wind turbines.