Solar panels provide DC current. So there is one positive wire and one negative wire and the current flows through it only one direction. However the power grid uses AC current where the current changes direction back and forth 50-60 times a second. The main component in an inverter is a row of switches which is used to invert the connections according to the current direction in the grid. It is of course more complicated then that with components to transform the voltages correctly and make sure to always collect all the current from the solar panels and that the output is a nice sine curve and so forth. This is also how some inverters are better then other and how some need a connection to the grid and some can work off-grid.
Latest Answers