Ecosystem modeling in theory and practice :an introduction with case histories