Proof of Concept code for Heat Generation