OPTIMIZING LIFEPO4 BATTERY SETTINGS FOR INVERTERS