Scheduling of Software-Defined Microgrids for Optimal Frequency Regulation | Synapse