It has been one of Europe’s dirtiest companies for more than a century; now rwe is aiming to be among the cleanest. Germany’s largest power generator has recently taken two big steps towards this goal. On October 1st it agreed to buy the renewable-energy business of Consolidated Edison (ConEd), an American utility, for $6.8bn. Three days later it signed an agreement with Germany’s regional and federal governments to bring forward plans…