The scale of investment has led to hopes that China may emerge as the world's first green superpower. This is premature. Breakneck economic growth has left much of the country enshrouded in a murky grey smog. But the environmental crisis is so bad that it is a driver for change.
Carbon dioxide emissions have more than doubled in the past 10 years, taking China past the U.S. as the world's No. 1 source of greenhouse gases. Dirty smokestacks and illegal discharge pipes contribute to the hundreds of thousands of annual premature deaths from pollution related diseases. Environment ministry statistics suggest that 40% of river water can make you sick.
Four in five major cities are unlikely to reach the government's relatively low standards for air quality. Biodiversity is declining, while consumer demand is rising for ever more rare – and expensive – flora, fauna and minerals. More than two dozen areas have been declared "resource depleted". Droughts are becoming more prolonged and more widespread.
If environmental damage were fully factored into the state's account books, China's economic growth rate would probably be halved, Wang Yuqing – the former deputy director of the state environmental protection ministry – warned this week. He estimated environmental damage last year at about 2.5tn yuan (£250bn), or 5-6% of China's GDP.
Government plans to tackle these problems include increasingly ambitious pollution controls, afforestation targets and hydro-engineering projects, But the focus of its efforts is the attempted switch from coal to renewable energy.
The campaign faces economic and technical obstacles. Coal and gas are far cheaper and abundant, which means it will be many years before China's emissions start to fall.
But Jiuquan's planners say their region is testimony to how quick change can come when staple fossil fuels run out. The output of the first local oilfields, which opened in Yumen county in 1939, has fallen by two-thirds since the 80s. New fields are being explored, but officials say the era of "peak oil" in Jiuquan has already passed.
"This was the cradle of the Chinese oil industry," said Wu Shengxue, director of Jiuquan's reform and development department. "But we realize that fossil fuel supplies are limited. They will run out one day. So we need to find other forms of energy. Jiuquan is leading the move to renewable energy in China."
Investments in wind and solar are now more than 40 billion?yuan a year in the region, he said, compared to about 1bn yuan for oil and coal combined.
The flood of money is transforming this previously poor area. Average urban incomes – once among China's lowest – have almost tripled since 2000 and are forecast to be higher than the national average by 2015.
Other regions are following. National planners have earmarked seven regions for huge wind projects, each at least 10GW in size. The state grid has struggled to keep up. Two years ago, almost a third of the turbines were wastefully unconnected.
This has prompted unflattering comparisons with the Great Leap Forward of the late 1950s, when Mao Zedong urged China's population to ramp up agricultural and steel production to unrealistic levels with disastrous consequences.
There are echoes of that era in a banner on the street in Yumen New Town, which reads: "Make an effort to develop the economy in a fast leap!"
Market forces are a secondary consideration. The state grid is legally obliged to pay 0.54 yuan per kilowatt hour (kWh) of wind energy, even though it could get the same amount of coal-fired power for 0.3 yuan.
The director of the town's energy department said the fact that the government controls prices rather than the market was good for the development of wind power.
Yumen used to be known as Oil City but people are now being moved from the old oilfields to a new town in half-completed tower blocks closer to the wind farms.
"Most people left because business was bad. The environment is much better here," said Dong Suqin, 66, who relocated three years ago.
Business is also more promising. By 2020 Jiuquan plans to increase wind power generation sixfold to 40GW. Wu predicts even faster growth between 2020 and 2030, when solar power starts to take off: "That's when the technology will have matured and the generating costs will be lower. By 2030, I think China will get half its energy from renewable resources and Jiuquan will be famous around the world. People here are going to be rich."
His optimism is shared in Dunhuang, a city of ancient Buddhist grottoes and ultramodern solar farms where China's first 10MW demonstration photovoltaic plant waits to be connected to the state grid.
"We showed it can be done – this is very significant," said Song Rongwu, assistant manager at the state development and investment corporation (SDIC) facility. "Ten years from now, I believe every home in Dunhuang will be powered by clean energy. The Gobi desert will be filled with blue photovoltaic panels. It will be a beautiful sight."
That is by no mean certain. King Coal's rule looks stronger than ever. This year, China will – for the first time – account for half the coal burned globally, according to Yang Fuqiang of the World Resources Institute. Last year, this dirtiest of fuels increased its share of national energy supply to above 72%. Meanwhile hydro-power declined because of drought, and the wind industry had a year of consolidation.
Yang says incentives to boost the supply of clean energy are no longer enough. He wants the government to curb demand for fossil fuels by making them more expensive: "We need a cap on coal to send a strong signal to investors – 'Don't put your money in coal. Move to cleaner energy.'?"
Environmentalists see glimmers of hope in places such as Jiuquan that this might one day change. But the pace is still too slow and there is too much focus on engineering projects in the desert and not enough on consumption habits in cities.
"We cannot yet say China has finished industrialization and the dirty phase is finished. This will last quite some time," said Li Bo of Friends of Nature, China's first green NGO. "We cannot rely solely on new technology to clean up our environment. We need to talk more about social responsibility and eco-civilization."
Intellpuke: You can read this article by Guardian Asian correspondent Jonathan Watts, reporting from Jiuquan, China, in context here: www.guardian.co.uk/world/2012/mar/19/china-windfarms-renewable-energy
Additional research for this article was provided by Cecily Huang.