Working principle of solar inverter