Evaluation of the Functions of a Compound Agroecosystem