Water Quality Modeling Theory