Energy storage charging pile preheating principle and method