AI-Driven Swarm-Based Control Architecture for Dynamic Microgrid Energy Management | Synapse