Brazil is one of the largest energy consumers in the world. But about 90% of its electricity is generated from clean sources.