Simulation and Activated Sludge Model-Based Iterative Learning Control for a Sequencing Batch Reactor