Optimal Sizing and Assessment of a Renewable Rich Standalone Hybrid Microgrid Considering Conventional Dispatch Methodologies

: This paper presents an evaluation of the optimized design of an off-grid hybrid microgrid for alternative load dispatch algorithms with the determination of the most optimal sizing of each equipment, analyzing the voltage and frequency outputs and various costs of the proposed microgrids. Kushighat and Rajendro Bazar, two geographical locations in Bangladesh have been taken as test sites. The proposed microgrids incorporating diesel generator, renewable resources, storage device, and 23.31 kW of demand have been optimized for ﬁve conventional load dispatch methodologies: HOMER predictive dispatch, Load Following, Generator Order, Cycle Charging, and Combined Dispatch to reduce the system’s net present cost, gas discharge and cost of energy. HOMER (Hybrid Optimization of Multiple Electric Renewables) software has been used for the analysis to determine the optimal sizes and costing and the voltage-frequency performances of the microgrids are analyzed using MATLAB/Simulink. From our analysis, load following is determined as the superior approach with a minimum operating cost of 3738 USD, net present cost of 152,023 USD, CO 2 discharge of 3375 kg/year and cost of energy of 0.208 USD /kWh along with a steady voltage-frequency output. Combined dispatch is determined as the worst strategy for the proposed microgrids with the highest energy cost of 0.532 USD /kWh, the operational cost of 15,394 USD, net present cost of 415,030 USD, and high CO 2 discharge. At the end of this work, a comparative analysis between the proposed design, another hybrid, and traditional generation plant is also presented. The ﬁndings of this work will be appropriate for any location with an identical demand proﬁle and meteorological estate.


Introduction
The key solution to the future energy problems is renewable energy. To include distributed renewable energy sources like solar PV and wind turbines into the electricity networks, microgrids are considered as a feasible solution [1]. Industrialization and urbanization cause rapid increment in power usage and demand. The non-renewable energy-based power plants like fossil fuel or gas-based plants produce harmful greenhouse gasses (GHG). Thus, the interest in renewable and non-traditional fuel sources is rising. Among these, sun-based and wind power technology are more experienced and promptly accessible and the usage portion of these energy sources with conventional grids and microgrids are being built from one side of the planet to the other [2]. Xinyue et al.
creates a research gap in the study. In [26], a technologically modern dispatch model for off gird microgrid is proposed for microgrid frequency tuning. The study did not consider voltage response analysis. In [27], the researchers have designed an optimized microgrid considering three dispatch approaches but no power system analysis of the microgrid is conducted in the study. In [8], the authors have proposed an optimized design of microgrid for a remote location, but the authors have not considered any dispatch strategy-based analysis or power system-based study. Yinliang et al. implemented an optimal distributed control scheme for auxiliary voltage and frequency monitoring of an islanded microgrid. The plug and play capability and scalability test have been implemented to justify the optimization results [28].
The lack of adequate coordination between the techno-economic research and optimization of a proposed microgrid alongside the power system response investigation on the basis of various dispatch strategies is one of the main research gaps of the abovementioned accessible literatures. The proper operation of a microgrid depends largely on fulfilling these criteria. In [29,30], an optimized hybrid microgrid is designed by the researchers which tries to fill the above-mentioned research gap. In both the studies, dispatch strategy-based optimized microgrids have been designed along with the microgrid's power system response analysis. The studies both cover techno-economic analysis along with power system response study to determine superior and worst dispatch scenarios for the desired sites. In [29], for the demonstration, as proposed sites, four northern divisional sites of Bangladesh are taken as test locations. In [30], on the other hand, two southernmost divisions of the country have been taken as test sites.

Core Contribution of This Research Work
The literature study suggests that the proper techno-economic study (e.g., optimal sizing, pricing and gas emission) that consider both power system performances and various dispatch approaches are quite rare and it is clear that none of the current research, to the best of the authors' knowledge, conducted such study for the proposed areas of Kushighat, Sylhet, Bangladesh, and Rajendro Bazar, Rangpur, Bangladesh. Thus, clearly, a research gap lies here.
The main contribution of this research is to fill up this research gap by designing and evaluating a diesel generator-solar PV-wind turbine-battery-based off-grid hybrid microgrid for the proposed Kushighat and Rajendro Bazar microgrid along with the already available distribution system. In this work: • HOMER optimization is utilized for the evaluation and design of the proposed Integrated Hybrid Microgrid System (IHMS), which will guarantee the least CO 2 production, Cost of Energy (COE), and Net Present Cost (NPC) for the planned areas for different dispatch methodologies; • Microgrids' response (voltage and frequency) is evaluated in Simulink to guarantee achievable, effective, and reliable performance; • Five alternative dispatch techniques have been considered in this study and on the basis of their performances in terms of minimum cost, GHG release and power system responses, the worst and best dispatch approaches for the proposed microgrids have been declared.

Paper Organization
The remainder of this paper has been arranged as follows: Section 2 demonstrates the modeling of a standalone microgrid framework; Section 3 demonstrates the research methodology and simulation algorithm; Section 4 talks about the outcomes of this work with significant diagrams to compare between various dispatch procedures. The last section sums up the main results and featuring the contributions.

Site and Load Profile
For this research purpose, a community near the location of 24 • 52 43.6 N, 91 • 54 00.4 E is taken as the proposed site. The location is near the bank of the Surma river having plenty of wind and solar resources. The location is near Kushighat, Sylhet, Bangladesh. This proposed microgrid will be known as the 'Kushighat microgrid' throughout this research work. Another location of 25 • 46 56.2 N, 89 • 26 02.4 E is taken as another test location in this work. The location is near the bank of the Teesta river having plenty of wind and solar resources. The location is near Rajendro bazar, Rangpur, Bangladesh. This proposed microgrid will be known as the 'Rajendro bazar microgrid' throughout this research work. The microgrids have been optimized for a total load of 23.31 kW which includes a local market, religious prayer centers and household loads. The microgrids consist of solar PV, backup diesel generator, battery, wind turbine and converter unit. The model of the proposed microgrids is shown in Figure 1. The solar and wind-related resource data required for this work have been collected from NREL [31,32]. HOMER software is used for optimized designing of the microgrid according to various dispatch techniques and the power system responses have been collected from Simulink analysis. with significant diagrams to compare between various dispatch procedures. The last section sums up the main results and featuring the contributions.

Site and Load Profile
For this research purpose, a community near the location of 24°52′43.6″ N, 91°54′00.4″ E is taken as the proposed site. The location is near the bank of the Surma river having plenty of wind and solar resources. The location is near Kushighat, Sylhet, Bangladesh. This proposed microgrid will be known as the 'Kushighat microgrid' throughout this research work. Another location of 25°46′56.2″ N, 89°26′02.4″ E is taken as another test location in this work. The location is near the bank of the Teesta river having plenty of wind and solar resources. The location is near Rajendro bazar, Rangpur, Bangladesh. This proposed microgrid will be known as the 'Rajendro bazar microgrid' throughout this research work. The microgrids have been optimized for a total load of 23.31 kW which includes a local market, religious prayer centers and household loads. The microgrids consist of solar PV, backup diesel generator, battery, wind turbine and converter unit. The model of the proposed microgrids is shown in Figure 1. The solar and wind-related resource data required for this work have been collected from NREL [31,32]. HOMER software is used for optimized designing of the microgrid according to various dispatch techniques and the power system responses have been collected from Simulink analysis.  Figure 1 portrays a simple model of the proposed standalone IHMS along with the components and their mutual relationships. Solar PV modules generate direct current (DC) energy and battery devices store energy in DC form. This DC supply is converted into alternating current (AC) prior to being integrated with the AC bus utilizing suitable converter devices. On the contrary, wind turbines (WT) and diesel generators (DG) produce AC and may thus be simply integrated into the AC bus after a voltage adjustment using transformers. Within the microgrid, the AC and DC buses can therefore deliver electricity to AC and DC loads, respectively.  Figure 1 portrays a simple model of the proposed standalone IHMS along with the components and their mutual relationships. Solar PV modules generate direct current (DC) energy and battery devices store energy in DC form. This DC supply is converted into alternating current (AC) prior to being integrated with the AC bus utilizing suitable converter devices. On the contrary, wind turbines (WT) and diesel generators (DG) produce AC and may thus be simply integrated into the AC bus after a voltage adjustment using transformers. Within the microgrid, the AC and DC buses can therefore deliver electricity to AC and DC loads, respectively.

Dispatch Algorithms
The "Dispatch" algorithm/methodology/strategy is a segment of the control framework which deals with the transfer of electrical power between components of the system [33]. This research considers five dispatch strategies: (i) cycle charging (CC), (ii) load Sustainability 2021, 13, 12734 5 of 23 following (LF), (iii) combined dispatch (CD), (iv) HOMER Predictive dispatch (PS) and (v) generator order (GO) strategy has been discussed and implemented [34,35].
CC strategy makes the power generator work at its rated power whenever it is needed. The surplus energy in this situation is utilized for charging the storage devices. The CC dispatch approach is most appropriate for networks with no renewable energy resources.
When a power generator is required, the LF dispatch approach ensures that enough power is available to meet the demand. In LF, the load needs to be met by sustainable sources for network feasibility and stability [36,37].
CD technique avoids the upcoming total load assumption. CD utilizes the current net demand estimation to decide whether to charge the battery utilizing the generator. In low demand, the usage of generators is skipped in the CD strategy. It chooses the cheaper choice to follow LF or CC in each time-lapse.
The GO method, on the other hand, picks a generator combination to satisfy the load that meets the operational capacity first, from a predetermined sequence of generator combinations [38,39].
In PS, the future accessibility of the wind and solar resources and probable upcoming load data are already approximated. The utilization of this methodology reduces the net cost of operation of the network [40,41].
Dispatch methodologies provide the directions towards the energy management and optimized sizing of a standalone microgrid. When the situation is serious and availability to renewable sources and/or customer demand is sudden, how each of the five dispatch strategies uses the backup diesel generator is essential. Figure 2 depicts the operating sequence's priority based on the five dispatch algorithms to show the perception of resources and a backup generator. Whenever the renewable resource is high, LF and CC have higher impact on the microgrid. The need for back-up DG is least in LF and, in CC, it is the highest. On the contrary, when the renewable sources are comparatively lower, the impact of CD and GO strategy is the lowest on the microgrid. HOMER PS strategy, on the other hand, stays in a medium position in respect to renewable resource utilization and backup generation implementation.

Dispatch Algorithms
The "Dispatch" algorithm/methodology/strategy is a segment of the control framework which deals with the transfer of electrical power between components of the system [33]. This research considers five dispatch strategies: (i) cycle charging (CC), (ii) load following (LF), (iii) combined dispatch (CD), (iv) HOMER Predictive dispatch (PS) and (v) generator order (GO) strategy has been discussed and implemented [34,35].
CC strategy makes the power generator work at its rated power whenever it is needed. The surplus energy in this situation is utilized for charging the storage devices. The CC dispatch approach is most appropriate for networks with no renewable energy resources.
When a power generator is required, the LF dispatch approach ensures that enough power is available to meet the demand. In LF, the load needs to be met by sustainable sources for network feasibility and stability [36,37].
CD technique avoids the upcoming total load assumption. CD utilizes the current net demand estimation to decide whether to charge the battery utilizing the generator. In low demand, the usage of generators is skipped in the CD strategy. It chooses the cheaper choice to follow LF or CC in each time-lapse.
The GO method, on the other hand, picks a generator combination to satisfy the load that meets the operational capacity first, from a predetermined sequence of generator combinations [38,39].
In PS, the future accessibility of the wind and solar resources and probable upcoming load data are already approximated. The utilization of this methodology reduces the net cost of operation of the network [40,41].
Dispatch methodologies provide the directions towards the energy management and optimized sizing of a standalone microgrid. When the situation is serious and availability to renewable sources and/or customer demand is sudden, how each of the five dispatch strategies uses the backup diesel generator is essential. Figure 2 depicts the operating sequence's priority based on the five dispatch algorithms to show the perception of resources and a backup generator. Whenever the renewable resource is high, LF and CC have higher impact on the microgrid. The need for back-up DG is least in LF and, in CC, it is the highest. On the contrary, when the renewable sources are comparatively lower, the impact of CD and GO strategy is the lowest on the microgrid. HOMER PS strategy, on the other hand, stays in a medium position in respect to renewable resource utilization and backup generation implementation.

Objective Function
The purpose of utilizing ED approaches in the optimization of microgrids is to minimize the microgrid's expenses in a sustainable manner [24]. A single quadratic function Sustainability 2021, 13, 12734 6 of 23 may represent the objective function of conventional ED problems approximately as given in the following equation [18,[42][43][44].
where N gen = number of generator units, a j , b j , c j are fuel cost coefficients of the j th generator, F j (P j ) = cost function of fuel of the j th generator in USD/hour, P j = power output of the j th generator in MW.

Equality Inequality Constraints
Following constraints are needed to be satisfied by ED problems.
Active Power Balance Constraint The net system loss (P loss ) plus the net consumer demand (P demand ) must equal net power output [18]: Now, P loss is evaluated utilizing B coefficients: here B ij , B 0i , B 00 are coefficients of loss.

Constraints for Generation Capacity
P gen(i) electricity generated from the i th generator must equal to or higher than the lowest generation range, P gen.min(i) and equal to or less than the highest source capacity P gen.max(i) [18,42,44]: Subject to P gen.min(i) ≤ P gen(i) ≤ P gen.max(i) The combined net power losses (P losses ), net load demand (P demand ) and storage power (P storage ) needs to be equal to the net generated power [18]:

Cost Function Minimization and Optimal Sizing
To get the ideal component capacities and the required quantity of power generating equipment, the optimization problems (Equations (7)-(10)) must be solved [45].
In the equation, a, b, c, d are corresponding capacities of various microgrid components, and f 1 , f 2 , f 3 are weights to mean the corresponding component's significance. NPC refers to the corresponding equipment's net present cost, LCOE refers to the corresponding equipment's levelized cost of energy, eCO 2 and GHG refer to the quantity of carbon-dioxide and greenhouse gas release by the hybrid microgrid, respectively.

COE Calculation
Microgrid's cost of energy (COE) can be evaluated utilizing HOMER following [46]: In this equation, C annual = yearly net cost, L primary = net primary demand, E gs = net energy brought by the traditional grid each year, L d = net deferrable demand.

NPC Calculation
NPC of an IHMS can be evaluated using the following equation [46]: here, i = rate of interest (annualized), C annual = annual net cost, T project = longevity of the project, CRF (.) = capital recovery factor.
3.2.6. Evaluation of CO 2 Release CO 2 release from the IHMS can be quantified by the equation below [46]: In the equation, eCO 2 = amount of CO 2 gas, m fuel = amount of fuel in Liter, FHV = Fuel heating value in MJ/L, CEF fuel = carbon emission factor in ton carbon/TJ, X c = oxidized carbon fraction. To estimate the carbon emission, the fact "3.667 g of CO 2 contains 1 g of carbon" needs to be taken into consideration.

Evaluation of ED
Following equations formulate ED problems as optimization problems [47]: Subject to, The objective function mentioned in Equation (14) minimizes the cost of power production. In the equation, C GI refers marginal cost of every generation unit and P GI refers to the quantity of power that produces. Equation (15) demands that all generation units must stay within their max or min limits, and Equation (16) stipulates that the net produced energy must be equal to demand, P D.

Stabilization of Frequency
The frequency nadir (f nadir ) and the post-fault RoCoF (Rate of Change of Frequency), must both be kept within their inceptions to achieve a stable microgrid frequency [48]: The IHMS's frequency may be controlled by: In this equation, H = microgrid's inertia, D = load damping factor, ∆f (t) = frequency deviation, ∆P Gi (t) and ∆P Sj (t) power differences of generation unit i and battery j respectively, P M = microgrids power imbalance.

Voltage Stabilization
Equation (19) can be used as the optimal function to keep up the ideal steady voltage [47]: In this equation, specific nodal voltage, V i, and the reference voltage is V set,i . The quadratic objective function, for the situation, assists in limiting voltage deviations from the reference voltage. Figure 3 portrays a straight-line diagram representation for the proposed microgrids in Simulink analysis. The Simulink diagram combines diesel generator, solar PV, wind turbine, controllers, battery devices, loads, and converters, as shown in Figure 3. Figure 4 depicts the entire functional flow model for the intended microgrids for this research effort, demonstrating the optimization and assessment method. The cycle begins with the insertion of input quantities followed by technical and economic constraints, demand profile assessment, and then determining the dispatch methodologies in HOMER software. To determine the technical correctness of the proposed design, using Simulink, the simulated optimum sizes are classified and assessed with a proper power system analysis.       Table 1 contains the differences in COE, NPC, and CO 2 release for different strategies for the proposed locations found from the HOMER analysis. LF has the least LCOE, NPC, and CO 2 release of USD 0.208/kWh, USD 152,023 and 3375 kg/year and CD has the highest as respectively USD 0.532/kWh, USD 415,030, and 17,266 kg per year for Rajendro bazar and Kushighat. Figures 5 and 6 portray the different expenses and CO 2 release for five dispatch approaches for the proposed locations found from HOMER study in a per unit fashion. The result shows clear differences in expenses and emissions despite the identical load demand, due to variations in dispatch mechanism. Table 2 demonstrates the ideal sizes of different microgrid components i.e., solar PV, storage, wind turbine, diesel generator, and converter optimum capacities from HOMER simulation.          Table 3 demonstrates the ideal sizes of different microgrid component sizes used in the Simulink study that makes the microgrid power system i.e., voltage, frequency outputs steady and within the allowable range. From this study it has been observed that the optimum sizes of the system components obtained from the HOMER study for an area, when implemented in Simulink microgrid model, do not give a possible, steady, and reliable power system output always. For this reason, the HOMER anticipated optimal sizes in Table 2 have been calibrated and reported in Table 3, on basis of the 'trial and error' method for a real-time power system study in Simulink. The changes have been marked in Table 3.    Figure 7 portrays the ideal component sizes for the optimum operation of the microgrid on the basis of five dispatch approaches for Rajendro bazar discovered by HOMER and Simulink for side by side comparison in a normalized way.       Figure 7 portrays the ideal component sizes for the optimum operation of the microgrid on the basis of five dispatch approaches for Rajendro bazar discovered by HOMER and Simulink for side by side comparison in a normalized way.

Dispatch Strategy Based Voltage-Frequency Response of the Microgrids
This study refers to the stable and "within permissible limit" microgrid frequency and steady voltage output of distinct microgrid components produced from the Simulink microgrid model examination as "power system performance." Different component sizes mentioned in Table 3 has been utilized with the Simulink microgrid model of Figure 3 and the steady microgrid responses have been obtained and will be demonstrated in the following segments: Figure 9 shows the voltage outputs for microgrid components i.e., battery, solar PV, wind turbine, load, and diesel generator voltage responses for Rajendro bazar for Cycle Charging strategy. All the above-mentioned voltage outputs are steady between the timeframe of 2 to 3 s. The PV voltage is steady between 650 V to 600 V, the 3 ϕ DG is steady with 1000 V (peak to peak), wind turbine voltage output is steady in between 500 V to 440 V, the battery voltage is steady within the range of 323.3 V to 322.7 V, and the 3 ϕ load is steady within 400 V (peak to peak) output. V, the battery output is stable between the range of 324 V to 323.9 V, the 3 φ DG voltage stays at 1000 V (peak to peak) and the voltage of 3 φ load stays at 400 V (peak to peak). Figure 18 shows the voltage responses for various components found for Kushighat for HOMER Predictive dispatch strategy. All the voltages stay between 2 to 3 s. The PV response stays between 655 V to 600 V, wind output stays in between 500 V to 440 V, the battery output voltage is steady within the range of 323.7 V to 323.3 V, the 3 φ DG output is at 1000 V (peak to peak) and the 3 φ load output is stable at 400 V (peak to peak).    Figure 10 shows the voltage responses for various components found for Rajendro bazar for the Combined Dispatch strategy. All the voltage outputs are steady between 2 to 3 s timeframe. The PV response is stable between 655 V to 600 V, wind turbine output is steady between 500 V to 440 V, the battery is steady within the range of 323.8 V to 323.6 V, the 3 ϕ DG output stays at 1000 V (peak to peak) and the 3 ϕ load is steady at 400 V (peak to peak).

Voltage Outputs
between 500 V to 440 V, the battery output is stable between the range of 324.6 V to 324.4 V, the 3 φ DG output stays at 1000 V (peak to peak) and the 3 φ load voltage is settled at 400 V (peak to peak). Figure 17 shows the voltage responses for various components found for Kushighat for Load Following dispatch strategy. All the voltage outputs are steady between 2 to 3 s. The PV response is steady between 660 V to 610 V, wind output is between 500 V to 440 V, the battery output is stable between the range of 324 V to 323.9 V, the 3 φ DG voltage stays at 1000 V (peak to peak) and the voltage of 3 φ load stays at 400 V (peak to peak). Figure 18 shows the voltage responses for various components found for Kushighat for HOMER Predictive dispatch strategy. All the voltages stay between 2 to 3 s. The PV response stays between 655 V to 600 V, wind output stays in between 500 V to 440 V, the battery output voltage is steady within the range of 323.7 V to 323.3 V, the 3 φ DG output is at 1000 V (peak to peak) and the 3 φ load output is stable at 400 V (peak to peak).    Figure 11 shows the voltage responses for various components found for Rajendro bazar for the Generator Order dispatch strategy. The PV response is steady between 660 V to 640 V, wind turbine output stays between 500 V to 440 V, the battery is steady between the voltage range of 324.6 V to 324.4 V, the 3 ϕ DG output is about 1000 V (peak to peak) and the 3 ϕ load stays steady with 400 V (peak to peak). Sustainability 2021, 13, x FOR PEER REVIEW 15 of 23     Figure 12 shows the voltage responses for various components found for Rajendro bazar for Load Following dispatch strategy. The solar PV has stable output within 660 V to 610 V, the wind turbine has a voltage between 500 V to 440 V, the battery output is stable between the range of 324 V to 323.9 V, the 3 ϕ DG has approximately 1000 V (peak to peak) voltage and the 3 ϕ load has a stable voltage of 400 V (peak to peak).    Figure 13 shows the voltage responses for various components found for Rajendro bazar for HOMER Predictive dispatch strategy. All the voltages are steady between 2 to 3 s. The PV response is staying between 650 V to 600 V, wind output is between 500 V to 440 V, the battery output is stable between the range of 323.7 V to 323.3 V, the 3 ϕ load has a voltage of 400 V (peak to peak) voltage and the 3 ϕ DG voltage stays at 1000 V (peak to peak). Figure 14 shows the voltage responses for various components found for Kushighat for the Cycle Charging Dispatch strategy. All the voltage performances are steady between the time frame of 2 to 3 s. The PV response has a magnitude between 655 V to 600 V, the battery output is stable between the range of 323.4 V to 322.9 V, wind output is between 500 V to 440 V the 3 ϕ DG output stays at 1000 V (peak to peak) and the 3 ϕ load side voltage has magnitude at 400 V (peak to peak).      Figure 15 shows the voltage responses for various components found for Kushighat for the Combined Dispatch strategy. All the voltages are within the range of 2 to 3 s. The PV output is between 660 V to 600 V, the wind turbine has voltage magnitude between 500 V to 440 V, the battery output is stable between the range of 323.9 V to 323.6 V, the 3 ϕ DG output stays at 1000 V (peak to peak) and the 3 ϕ load has an output of 400 V (peak to peak). Figure 16 shows the voltage responses for various components found for Kushighat for the Generator Order Dispatch strategy. All the voltages are steady within the time range of 2 to 3 s. The PV response stays in between 660 V to 620 V, wind output stays in between 500 V to 440 V, the battery output is stable between the range of 324.6 V to 324.4 V, the 3 ϕ DG output stays at 1000 V (peak to peak) and the 3 ϕ load voltage is settled at 400 V (peak to peak). Figure 17 shows the voltage responses for various components found for Kushighat for Load Following dispatch strategy. All the voltage outputs are steady between 2 to 3 s. The PV response is steady between 660 V to 610 V, wind output is between 500 V to 440 V, the battery output is stable between the range of 324 V to 323.9 V, the 3 ϕ DG voltage stays at 1000 V (peak to peak) and the voltage of 3 ϕ load stays at 400 V (peak to peak).          Figure 18 shows the voltage responses for various components found for Kushighat for HOMER Predictive dispatch strategy. All the voltages stay between 2 to 3 s. The PV response stays between 655 V to 600 V, wind output stays in between 500 V to 440 V, the battery output voltage is steady within the range of 323.7 V to 323.3 V, the 3 ϕ DG output is at 1000 V (peak to peak) and the 3 ϕ load output is stable at 400 V (peak to peak).   Figure 19 portrays the frequency responses for Rajendro bazar for five alternative dispatch approaches. Despite several ups and downs within the frequency amplitudes over the time frame, the frequency response has been steady throughout the range of 2 to 3 s and stays between the ideal allowable range of 50 +/− 2% Hz. For Cycle Charging dispatch strategy, at time = 2 s, the frequency is about 49.82 Hz and the frequency at 3 s is about 50.09 Hz. For the Combined Dispatch strategy, at time = 2 s, the system frequency is about 49.85 Hz and about 50.15 Hz at 3 s. For the Generator Order Dispatch strategy, at time = 2 s the frequency is about 50.08 Hz and 50.11 Hz at 3 s. For Load Following strategy, the frequency is approximately 49.82 Hz, at time = 2 s, and at 3 s, it settles at about 50.10 Hz. For HOMER Predictive Dispatch strategy, at time = 2 s the frequency is 50.12 Hz and at 3 s frequency is about 50.12 Hz. Figure 20 shows the microgrid frequency for the Kushighat for various dispatch approaches. Despite several ups and downs within the frequency amplitudes over the time frame, the frequency response has been steady throughout the range of 2 to 3 s and stays between the ideal allowable range of 50 +/− 2% Hz. At time = 2 s, the frequency of microgrid is 49.88 Hz and the frequency settles at up to 50.15 Hz in Cycle Charging strategy.

Comparison
From the analysis, it can be observed that various costs for the proposed IHMS have been successfully minimized compared to the other Hybrid Renewable Energy Systems (HRES). Table 4 gives a short comparison between the intended IHMS and other HRES in terms of CO2 release, NPC, operating costs and COE. It can be deduced from the comparative table that there is a considerable difference between the proposed IHMS and other HRES. The comparison study respectively shows the COE of the developed IHMS is 88.92%, the NPC is 47.25%, the operating cost is 80.85%, and the CO2 release of the developed IHMS is 99.99% reduced than other optimized HRES. The comparison shown in

Comparison
From the analysis, it can be observed that various costs for the proposed IHMS have been successfully minimized compared to the other Hybrid Renewable Energy Systems (HRES). Table 4 gives a short comparison between the intended IHMS and other HRES in terms of CO 2 release, NPC, operating costs and COE. It can be deduced from the comparative table that there is a considerable difference between the proposed IHMS and other HRES. The comparison study respectively shows the COE of the developed IHMS is 88.92%, the NPC is 47.25%, the operating cost is 80.85%, and the CO 2 release of the developed IHMS is 99.99% reduced than other optimized HRES. The comparison shown in Table 5 demonstrates that the COE of the optimized microgrid is 45.26%, the NPC is 48.80% and the CO 2 release is 99.99% reduced compared to traditional power generation plants, respectively. The reason behind this improvement lies in the implementation of a dispatch strategy based control, and limiting the usage of diesel generator and keeping it only for backup power supply. The researchers in [46] did not implement DS based control which resulted in higher usage of diesel generator. On the other hand, conventional fossil fuel-based power generation stations do use fossil fuels and thus produce a huge amount of GHG.

Determining the Best and Worst Dispatch Approaches
Assessment of the simulated results in techno-economic perspective, power system response perspective, and environmental perspective it is evident that, LF approach can be declared as the best dispatch technique for all the performance evaluation criteria and on the contrary, for microgrid's operation and sustainable optimization, the CD method is determined being the worst approach. GO on the other hand needs the highest PV and converter sizes. NPC and COE in GO strategy are higher than LF and lower than other strategies. In GO, the lowest sized DG of 1 kW is used, which results in the lowest carbon emission in this strategy. For Kushighat, GO offers a worse frequency response than LF and for Rajendro bazar, GO is better than LF. Considering costing, sizing, emissions and power system responses, overall, LF performs better than GO. Furthermore, based on the power system aspect, both PS and CC shows the worst responses because of the long-lasting instability and delays in mitigation of frequency and voltage stability.

Discussion on Results
The optimization results and system performances obtained in this research work are up to the mark and can be declared feasible and practically implementable. When there is enough power generation from renewable energy resources, the LF dispatch operates on the concept of first filling the principal loads. In this situation, the primary load refers to specialized or preset load needs, such as the residential load demand. In the LF approach, storage battery units and other deferrable load demands are given low priority. The CD dispatch method, on the other hand, is based on a system that determines the most costeffective manner to pick either the LF or CC dispatch strategy. This results in higher system costs and component sizes, which may impair the output power system responsiveness. The recommended sites in this study provide sufficient renewable resources in the form of solar irradiation and wind speed, allowing the LF method to outperform other strategies for these specific locations. Alternatively, the CD approach picks the CC method in this study for the specified sites, degrading system responsiveness and optimal sizes. Furthermore, on the basis of the microgrid's voltage and frequency results, both PS and CC methods have the lowest performance owing to the delay and long-term instability in frequency and voltage stability mitigation.

Advantages of the Proposed System
The proposed islanded microgrids have several advantages such as voltage and frequency stability under different stochastic conditions, least COE, CO 2 release and NPC. Selection of the best dispatch controller was achieved through the comparative analysis of several dispatch techniques for the optimum operation of the islanded microgrid.

Conclusions
In this work, a wind/PV/batt/diesel generator-based off-grid hybrid microgrid has been designed for proposed locations. In this analysis, the optimal resource planning and dependable microgrid operation have been given importance. On the basis of a minimal cost of energy, CO 2 release, net present cost and generally consistent voltage-frequency performances, the study of simulation data from HOMER and Matlab/Simulink for several dispatch algorithms suggests that load following is the best dispatch approach for the proposed locations. Combined dispatch is determined as the worst dispatch approach based on the highest net present cost, CO 2 release, cost of energy and relatively poor voltage-frequency responses for the proposed microgrids. The energy cost of the planned hybrid microgrid is 88.92%, the net present cost is 47.25%, the cost of operation is 80.85% and the CO 2 emission is 99.99% reduced compared to the other hybrid microgrid, respectively. The comparison study also shows that the energy cost of the proposed system is 45.26%, the net present cost is 48.80%, and the CO 2 emission is 99.99% reduced compared to traditional power generation station. The power system (voltage and frequency) performance for the proposed microgrids, found through Simulink analysis, has also been studied in this research work. To guarantee a continuous power supply for the planned sites of Rajendro bazar and Kushighat, the proposed microgrids have met three primary requirements, including techno-economic feasibility and system stability (stable voltage and frequency outputs). This hybrid islanded microgrids, which have been designed and optimized, will be used mostly in islanded and isolated areas with similar load demand and meteorological status.

Limitations and Future Research Recommendations
The main limitations of this research are that the real-life line length data of the available distribution network are yet to be considered for more accurate results. More dynamic loads need to be considered and integrated into the system to monitor the voltage and frequency profile for practical application and, finally, multiple years of meteorological data need to be considered for evaluating the results under different stochastic conditions. All three points can be considered as future works to be done in further research papers.  number of generator units a j , b j , c j fuel cost coefficients of the j th generator F j (P j ) cost function of fuel of the j th generator in USD/hour P j power output of the j th generator in MW P loss net system loss P demand net consumer demand B ij , B 0i , B 00 coefficients of loss P gen(i) electricity generated from the i th generator P gen.min(i) lowest generation range, P gen.max(i) highest source capacity P storage storage power a, b, c, d corresponding capacities of various microgrid components f 1 , f 2 , f 3 weights to mean the corresponding component's significance C annual yearly net cost L primary net primary demand E gs net energy brought by the traditional grid each year L d net deferrable demand i rate of interest (annualized) C annual annual net cost T project longevity of the project CRF (.) capital recovery factor eCO 2 amount of CO 2 gas m fuel amount of fuel in Liter FHV Fuel heating value in MJ/L CEF fuel carbon emission factor in ton carbon/TJ X c oxidized carbon fraction f nadir frequency nadir RoCoF Rate of Change of Frequency H microgrid's inertia D load damping factor ∆f (t) frequency deviation P M microgrids power imbalance ∆P Sj (t) power differences of generation unit i ∆P Gi (t) power differences of battery j