Heat generation model of energy storage charging pile