Text this: Dynamics of a Stochastic Functional System for Wastewater Treatment