Germany’s Energiewende —the transition from nuclear and fossil fuels to renewable energy — used to be a model for the world, and Angela Merkel was