Graphical solution for energy storage charging pile faults