Evaluation of a typical hydrological model in relation to environmental flows