Optimizing Power Generation