Toward an intelligent community microgrid energy management system based on optimal control schemes. (3rd July 2022)