Connection to electricity grid