Principle of thermal management system for energy storage charging pile