Life Cycle Cost Analysis for BESS Optimal Sizing