Abstract
In recent years, many countries have experienced more intense and frequent heat waves and cold fronts associated with greenhouse gas emissions and global warming. Adopting less polluting and more sustainable energy sources is crucial, especially in forming energy communities to produce and share renewable energy, reducing CO2 emissions, and improving energy efficiency. These communities e…