Heat transfer and Cost calculation