Tang dynasty
The inventor Ding Huan (fl. 180 AD) of the Han dynasty invented a rotary fan for air conditioning, with seven wheels 3 m (10 ft) in diameter and manually powered. In 747, Emperor Xuanzong had a "Cool Hall" built in the imperial palace, which the "Tang Yulin" () describes as having water-powered fan wheels for air conditioning as well as rising jet streams of water from fountains. During the subsequent Song dynasty, written sources mentioned the air conditioning rotary fan as even more widely used.
Refrigerator
The first practical vapor compression refrigeration system was built by James Harrison, a Scottish Australian. His 1856 patent was for a vapor compression system using ether, alcohol or ammonia. He built a mechanical ice-making machine in 1851 on the banks of the Barwon River at Rocky Point in Geelong, Victoria, and his first commercial ice-making machine followed in 1854. Harrison also introduced commercial vapor-compression refrigeration to breweries and meat packing houses, and by 1861, a dozen of his systems were in operation.
The first gas absorption refrigeration system using gaseous ammonia dissolved in water (referred to as "aqua ammonia") was developed by Ferdinand Carré of France in 1859 and patented in 1860. Carl von Linde, an engineering professor at the Technological University Munich in Germany, patented an improved method of liquefying gases in 1876. His new process made possible the use of gases such as ammonia (NH), sulfur dioxide (SO) and methyl chloride (CHCl) as refrigerants and they were widely used for that purpose until the late 1920s.