The application of bacterial process kinetics in stream simulation and stream analysis