QUAL2Kw

QUAL2Kw – A framework for modeling water quality in streams and rivers using a genetic algorithm for calibration. QUAL2Kw is a framework for the simulation of water quality in streams and rivers. Dynamic diel heat budget and water quality kinetics are calculated for one-dimensional steady-flow systems. The framework includes a genetic algorithm to facilitate the calibration of the model in application to particular waterbodies. The genetic algorithm is used to find the combination of kinetic rate parameters and constants that results in a best fit for a model application compared with observed data. The user has the flexibility to select any combination of parameters for the optimization and specify any appropriate function for goodness-of-fit.