Optimization of the operations conditions in membrane bioreactors through the use of ASM3 model simulations