HOW TO CALCULATE THE HEAT DISSIPATED BY A BATTERY PACK