An inverter/charger would convert the AC power from the generator to charge the DC battery bank. ... Another common use for an inverter/charger is in a boat or an RV, where you have an inverter/charger charging the battery bank from shore power or a generator, and the inverter converting the DC power to run your AC loads.