How to connect solar cells to the grid