Towards managed energy

Without a reliable means of generating energy, our society could not function. To this is added the need to control consumption to achieve greater energy efficiency. How is energy generated and managed? What intelligent means are used?