What happens to excess energy fed into the power grid?
This problem is called the island generation problem and is very hard to solve without some additional intelligence in the power grid and inverters (i.e. smart grids). However, as you can see in this previous paragraph the extra energy doesn''t necessarily go anywhere.