Short-circuit current analysis of energy storage system