Calculation of Heat Energy Transfer