Investigation into dynamic membranes and integration with anaerobic bioreactors