P&ID wastewater treatment