Irrigation illustrates a major dilemma of agriculture: On the one hand, a growing world population demands more food and biomass (for example for energy production). On the other hand, natural resources such as water are only available in limited quantities and excessive use often leads to the degradation of ecosystems, which in turn has adverse effects on agricultural production and local livelihoods.