Solar inverter connection with charge controller