The conventional sequential control of Sequencing Batch Reactor (SBR) is designed with fixed time periods for various operation phases. However, both of the flow rates and qualities of influent vary over time, therefore, a big capacity of wastewater equal