Hydroelectric design in the pyramid