The evolution towards decarbonized energy systems is entailing deep changes at the levels of generation and demand. Furthermore, the grid structure is becoming more decentralized with many small,...