Performance of external membrane bioreactor for wastewater treatment and irrigation reuse