Battery Energy Storage System: A Financial Analysis For Microgrids