Schematic diagram of the upflow porous-plate anaerobic reactor and nitrogen removal pathways occurring within the reactor.