Effect of hydraulic retention time and substrate availability in denitrifying bioelectrochemical systems