Text this: Development of optimal sizing of energy storage system for sustainable energy utilization