A mechanistic model for anaerobic phototrophs in domestic wastewater applications: Photo-anaerobic model (PAnM).