A modeling study of anaerobic biofilm systems: II. Reactor modeling