Domestic Wastewater Treatment

Domestic Wastewater Treatment

How do I figure out the most suitable treatment process (activate sludge, trickling filter) according to the composition of the domestic wastewater? Is there a practical tool to determine it? Is it necessary to particularly focus on nutrients (P and N)?