Engineering Principles of Bioenergy, Geothermal, and Hydroelectric Systems