BATTERY STORAGE PROFITABILITY CALCULATOR OPTIMIZATION