solar generator vs inverter