Federated learning assisted distributed energy optimization | Synapse