Modeling the Effects of Distribution System Topology on Water Quality