Integrated operation of membrane bioreactors: simulation and experimental studies