Phases of energy production