A genetic algorithm for real-time demand side management in smart-microgrids. (4th February 2022)