Software sensor for on-line estimation of the microbial activity in activated sludge systems.