CISEM: Computational Intelligence for Sustainable Energy Management in Microgrids and Renewable Energy Communities