Global electricity grids have been transforming in recent years. Large, reliable, centralized thermal power plants are increasingly being replaced by other energy sources like wind and rooftop solar. Factors like rising energy demand, extreme weather events, and electric transportation (electric cars and public transit) further...