Heating and Cooling Curves of Electrical Drives