Thermal Model Of Motor For Heating And Cooling