Battery pack thermal management system is divided into