Robust implementation of distributed algorithms for control of distributed energy resources | Synapse