Energy storage charging pile function external heating