Energy management system energy storage frequency regulation