Priority-Based Energy Scheduling in a Smart Distributed Network With Multiple Microgrids | Synapse