Solar anti-backflow grid-connected inverter