Resource production and energy consumption