Solar charging inverter circuit