Text this: Power quality analysis of energy storage system