AI-Based Smart Energy Management in Microgrids | Synapse