Exploring temporal and spatial evolution of global energy production and consumption