Time series analysis models of activated sludge plants