Aggregation and the role of energy in the economy