Synchronization of droop-controlled microgrids with distributed rotational and electronic generation | Synapse