Over the past three years, agencies have rebuilt their departments and energy programs, leveraging years of data and experience.