Thermal reservoir

A thermal reservoir, also thermal energy reservoir or thermal bath, is a thermodynamic system with a heat capacity so large that the temperature of the reservoir does not change when a reasonable amount of heat is added or extracted. It is an effectively infinite pool of thermal energy at a given, constant temperature. Since it can act as a source and sink of heat, it is often also referred to as a heat reservoir or heat bath. 
Lakes, oceans and rivers often serve as thermal reservoirs in geophysical processes, such as the weather. In atmospheric science, large air masses in the atmosphere often function as thermal reservoirs.
Since the temperature of a thermal reservoir formula_1does not change during the heat transfer, the change of entropy in the reservoir is formula_2.
The microcanonical partition sum formula_3 of a heat bath of temperature formula_1 has the property
where formula_6 is Boltzmann's constant. It thus changes by the same factor when a given amount of energy is added. The exponential factor in this expression can be identified with the reciprocal of the Boltzmann factor.
For an engineering application, see geothermal heat pump.