Hi,
In case the heat generation takes place inside of a volume, then power sources would be an option. Other than that, if the heat generation happens on an exposed boundary, then you could go for a wall boundary condition.
The analysis type will likely be “Conjugate Heat Transfer v2.0” assuming that you have a clean CAD model.
Cheers