Abstract
Renewable energy generation is a critical component of society's long-term sustainability, and numerous energy sources, including biogas, solar, biomass, and wind, must be fully utilized to satisfy current demands. Different countries are off the grid. This study includes a real-life case study. Researchers created a mathematical optimization technique utilizing a CPLEX analyzer to produce the required solar capacity simultaneously reducing the cost of energy (COE) to match the requirements of this settlement. Various situations were examined in this research about present energy availability, for instance, at varying periods of each year, economic expenses, the feasibility of sources including such biomass and biogas, and the profitability of wind power generation given the related high prices. Lastly, the study investigated the impact of geothermal power generation on carbon dioxide emission.