Evaluating the Effect of Flooding on an Ecosystem