Researchers have developed an optimization algorithm that reduces the lifecycle cost of a standalone hybrid microgrid designed for a site in Egypt, according to a study published Monday in Scientific Reports.
The Enhanced RIME Optimization (E-RIME) algorithm achieved a mean lifecycle cost of $1.0745 million over a 20-year horizon for a system at the Zafarana site on the Gulf of Suez, outperforming the baseline RIME algorithm and Particle Swarm Optimization (PSO) under identical computational budgets, the study shows.
Algorithm combines four search mechanisms
“Together, the four mechanisms modify different stages of the RIME search process: Tent initialization increases initial diversity, OBL improves the initial candidate set, adaptive nonlinear control regulates the search amplitude throughout the iterations, and conditional restart restores diversity when stagnation occurs,” the authors wrote in the paper.
System modeled with 42 integer variables
The formulation uses 42 integer decision variables representing the quantities of ten candidate wind-turbine types, ten PV-module types, two fuel-cell types, five DC/DC-converter types, five inverter types, and ten battery types.
The objective minimizes total lifecycle cost — including capital investment, operation and maintenance, discounted replacement costs, and salvage value — subject to power-balance, annual energy-adequacy, component-compatibility, and battery-backup constraints. The annual electrical-energy demand for the Zafarana case is 1,804,811.2 kWh.
Resource data sourced from global atlases
Solar-resource data for the Zafarana site were obtained from the Global Solar Atlas, while wind-resource data came from the Global Wind Atlas. The annual global horizontal irradiation at the site is approximately 2,149.2 kWh/m²/year, and wind-speed measurements at a 10-meter reference height were extrapolated to an 18-meter turbine hub height using a wind-shear exponent of 0.143.
The annual electrical-energy demand of 1,804,811.2 kWh was sourced from the Canal Electricity Distribution Company. Four representative operating conditions — including high solar with high demand, nighttime operation, reduced solar with moderate demand, and maximum demand — were incorporated to ensure the optimized configuration satisfies energy adequacy across varying resource and load scenarios.
Battery bank sized for three-day backup
An allowable depth of discharge of 80 percent is adopted, and the battery-side inverter efficiency is taken as 0.96.
When the maximum battery energy capacity is expressed in watt-hours, division by 1,000 gives the corresponding capacity in kilowatt-hours.
Scientific Reports is the Nature Portfolio’s open-access mega journal covering all natural sciences, established in 2011 to assess scientific validity rather than perceived significance.
The journal became the world’s largest by article volume in September 2016, overtaking PLOS One, and operates under a reviewing policy requiring manuscripts be “scientifically valid and technically sound in methodology and analysis” without regard to impact. The microgrid optimization study appears in this venue, which carries a 2025 Journal Citation Reports impact factor of 4.9.
Statistical evaluation over 30 independent runs
The algorithms were tested with a population size of 60 search agents across iteration budgets of 20, 100, and 300. Each algorithm was executed independently 30 times using different random seeds. Performance was evaluated using best, mean, worst, and standard deviation of lifecycle-cost values, along with confidence intervals of the mean.
A sensitivity analysis tested the optimized lifecycle cost against variations in solar and wind resource availability, electrical demand, component costs, discount rate, battery lifetime, and component efficiencies. The study was authored by Nada Mostafa, Hamdy Kanaan, and El Said Abd El Aziz Osman.
Worth a look