Simulation-based assessment on the interaction between mainstream and anaerobic digestion of WWTP | Synapse