Question: what is the relation between power and heat?
Answer: Power converted to heat in a component is always dissipated in an effective resistance in the component, so you can use P = I2R or V2/R to determine the power in watts from the current I through the resistance or the voltage V across it.