Energy Flow and Nutrient Cycles as Constraints