How to connect a solar power plant to the grid