Science and technology of the 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.
Refrigeration
In 1820 the English scientist Michael Faraday liquefied ammonia and other gases by using high pressures and low temperatures, and in 1834, an American expatriate to Great Britain, Jacob Perkins, built the first working vapor-compression refrigeration system in the world. It was a closed-cycle that could operate continuously, as he described in his patent: