Energy, production and consumption