There are a number of situations in which there are sources of heat in the domain of interest. Examples are:
Electrical heaters where electrical energy is converted resistively into heat.
Nuclear power supplies.
Propellants where chemical energy is the source.