Process flow diagrams for all 18 water resource recovery facility (WRRF)
configurations as described in In Zhang et al., 2026 [1]. These configurations were based on the net-zero energy solutions for WRRFs report by the Water Environment Research Foundation (WERF, now a part of the Water Research Foundation, WRF) [2].
Source codes for these configurations can be found in the werf EXPOsan module.
To create any of the system configurations, use the following code, replacing B1 with the desired configuration code (e.g., B2, C3, etc.).
Distinguishing features of benchmark WRRF configurations. A WRRF configuration is referred to as a unique combination of a liquid code (a) and a solid code (b) as defined in [2]. Configurations followed by a star (*) are implemented in EXPOsan.¶
Every diagram uses the same convention: liquid train across the top with the
bioreactor zones in the middle, mixed-liquor recycles (MLR) above the zones,
return activated sludge (RAS) below them; solids train across the middle;
reject water (centrate + thickener supernatants) returned to the head of the
plant along the bottom.
PC Primary clarifier · SC Secondary clarifier · DW Dewatering
Conventional six-zone aerobic activated sludge with short SRT (~2 d) — only BOD
removal, nitrifiers wash out. The three B variants differ only in the solids
train (AD, AED, or no digestion).
Same six-zone aerobic activated sludge as the B series but without primary clarification — all influent organics enter the bioreactor directly, increasing aeration demand. The three C variants differ only in the solids train (AD, AED, or no digestion).
C1rBOD · No primary clarifier · 6-zone aerobic ASP · Anaerobic digestionLIQUID TREATMENTRWWO1O2O3O4O5O6MLSCEffluentRASWASSOLIDS TREATMENTMTADbiogasDWsludge cakereject water (centrate + thickener supernatant)AnaerobicAnoxicAerobicClarifierAnaerobic dig. (AD)Aerobic dig. (AED)ThickenerDewateringMembrane (MBR)Chemical doseMain flowRecycleSludgeBiogasChemical addition
C2rBOD · No primary clarifier · 6-zone aerobic ASP · Aerobic digestionLIQUID TREATMENTRWWO1O2O3O4O5O6MLSCEffluentRASWASSOLIDS TREATMENTMTAEDDWsludge cakereject water (centrate + thickener supernatant)AnaerobicAnoxicAerobicClarifierAnaerobic dig. (AD)Aerobic dig. (AED)ThickenerDewateringMembrane (MBR)Chemical doseMain flowRecycleSludgeBiogasChemical addition
C3rBOD · No primary clarifier · 6-zone aerobic ASP · No digestion (thickening + dewatering only)LIQUID TREATMENTRWWO1O2O3O4O5O6MLSCEffluentRASWASSOLIDS TREATMENTMTDWsludge cakereject water (centrate + thickener supernatant)AnaerobicAnoxicAerobicClarifierAnaerobic dig. (AD)Aerobic dig. (AED)ThickenerDewateringMembrane (MBR)Chemical doseMain flowRecycleSludgeBiogasChemical addition
Five-stage Bardenpho without primary clarification — raw wastewater provides carbon for denitrification and EBPR without external dosing. The three I variants differ only in the solids train (AD, AED, or no digestion).
Five-stage Bardenpho liquid train with a completely-mixed membrane bioreactor (MBR) replacing the conventional secondary clarifier. N1 includes primary clarification and anaerobic digestion; N2 omits primary clarification and uses aerobic digestion.