Deep peak load compensation of energy storage system