water quality model for bacteria