Exemplary Model of AI-Supported Adaptive Optimization Energy Flow Control in Smart City Microgrids: A Simulation-Based Scenarios | Synapse