Energy storage charging pile test principle