Synchronization in complex oscillator networks and smart grids | Synapse