HydroCNHS: A Python Package of Hydrological Model for Coupled Natural–Human Systems
Publication: Journal of Water Resources Planning and Management
Volume 148, Issue 12
Abstract
Modeling coupled natural–human systems (CNHS) to inform comprehensive water resources management policies or describe hydrological cycles in the Anthropocene has become popular in recent years. To fulfill this need, we developed a semidistributed hydrological model for coupled natural–human systems, HydroCNHS. HydroCNHS is an open-source Python package supporting four application programming interfaces (APIs) that enable users to integrate their human decision models, which can be programmed with the agent-based modeling concept, into HydroCNHS. Specifically, we designed Dam API, RiverDiv API, Conveying API, and InSitu API to integrate, respectively, customized man-made infrastructures such as reservoirs, off-stream diversions, transbasin aqueducts, and drainage systems that abstract human behaviors (e.g., operator and farmer water use decisions). Each of the HydroCNHS APIs has a unique plug-in structure that respects within-subbasin and inter-subbasin (i.e., river) routing logic for maintaining the water balance. In addition, HydroCNHS uses a single model configuration file to organize input features for the hydrological model and case-specific human systems models. Also, HydroCNHS enables model calibration using parallel computing power. We demonstrate the functionalities of the HydroCNHS package through a case study in the Northwest United States. Given the integrity of the modeling framework, HydroCNHS can benefit water resources planning and management in various aspects, including uncertainty analysis in CNHS modeling and more complex agent design.
Get full access to this article
View all available purchase options and get full access to this article.
Data Availability Statement
All data, models, and code generated or used during the study appear in the published article. The HydroCNHS Python package was developed under Python 3.8. The code, user manual, and TRB example (including input data) can be downloaded at https://github.com/philip928lin/HydroCNHS. The weather data originated from Livneh et al. (2015). The streamflow and Hagg reservoir were obtained from the US Bureau of Reclamation Hydromet platform (https://www.usbr.gov/pn/hydromet/tuatea.html) and Bonn (2020). Detailed station information is provided in Table S1 .
Acknowledgments
The work described in this paper was supported by the US National Science Foundation (NSF): CBET #1941727. We thank the editor, the associate editor, and two anonymous reviewers for their comments and suggestions to improve the quality of the manuscript.
References
Arnold, J. G. et al. 2012. “SWAT: Model use, calibration, and validation.” Trans. ASABE. 55 (4): 1491–1508.
Bonn, B. 2020. Tualatin River flow management technical committee 2020 annual report. Hillsboro, OR: Clean Water Services.
De Rainville, F. M., F. A. Fortin, M. A. Gardner, M. Parizeau, and C. Gagné. 2012. “Deap: A python framework for evolutionary algorithms.” In Proc., 14th Annual Conf. Companion on Genetic and Evolutionary Computation, 85–92. New York: Association for Computing Machinery.
Faust, K. M., D. M. Abraham, and D. DeLaurentis. 2017. “Coupled human and water infrastructure systems sector interdependencies: Framework evaluating the impact of cities experiencing urban decline.” J. Water Resour. Plann. Manage. 143 (8): 04017043. https://doi.org/10.1061/(ASCE)WR.1943-5452.0000794.
Fortin, F. A., F. M. De Rainville, M. A. G. Gardner, M. Parizeau, and C. Gagné. 2012. “DEAP: Evolutionary algorithms made easy.” J. Mach. Learn. Res. 13 (1): 2171–2175.
Gupta, H. V., H. Kling, K. K. Yilmaz, and G. F. Martinez. 2009. “Decomposition of the mean squared error and NSE performance criteria: Implications for improving hydrological modeling.” J. Hydrol. 377 (1–2): 80–91. https://doi.org/10.1016/j.jhydrol.2009.08.003.
Gwenzi, W., and G. Nyamadzawo. 2014. “Hydrological impacts of urbanization and urban roof water harvesting in water-limited catchments: A review.” Environ. Processes 1 (4): 573–593. https://doi.org/10.1007/s40710-014-0037-3.
Haith, D. A., and L. L. Shoenaker. 1987. “Generalized watershed loading functions for stream flow nutrients 1.” JAWRA J. Am. Water Resour. Assoc. 23 (3): 471–478. https://doi.org/10.1111/j.1752-1688.1987.tb00825.x.
Hu, Y., and S. Beattie. 2019. “Role of heterogeneous behavioral factors in an agent-based model of crop choice and groundwater irrigation.” J. Water Resour. Plann. Manage. 145 (2): 04018100. https://doi.org/10.1061/(ASCE)WR.1943-5452.0001033.
Knox, S., P. Meier, J. Yoon, and J. J. Harou. 2018. “A python framework for multi-agent simulation of networked resource systems.” Environ. Modell. Software 103 (Jun): 16–28. https://doi.org/10.1016/j.envsoft.2018.01.019.
Liang, X., E. F. Wood, and D. P. Lettenmaier. 1996. “Surface soil moisture parameterization of the VIC-2L model: Evaluation and modification.” Global Planet. Change 13 (1–4): 195–206. https://doi.org/10.1016/0921-8181(95)00046-1.
Lin, C.-Y., and Y.-C. E. Yang. 2022. “The effects of model complexity on model output uncertainty in co-evolved coupled natural-human systems.” Earth’s Future 10 (6): e2021EF002403. https://doi.org/10.1029/2021EF002403.
Lin, C.-Y., Y.-C. E. Yang, K. Malek, and J. C. Adam. 2022. “An investigation of coupled natural human systems using a two-way coupled agent-based modeling framework.” Environ. Modell. Software 155 (Jun): 105451. https://doi.org/10.1016/j.envsoft.2022.105451.
Livneh, B., T. J. Bohn, D. W. Pierce, F. Muñoz-Arriola, B. Nijssen, R. Vose, D. R. Cayan, and V. Brekke. 2015. “A spatially comprehensive, meteorological data set for Mexico, the U.S., and southern Canada (NCEI Accession 0129374). [The year 1981 to 2013].” Accessed November 7, 2021. https://cawaterlibrary.net/document/a-spatially-comprehensive-hydrometeorological-data-set-for-mexico-the-u-s-and-southern-canada-1950-2013/.
Lohmann, D., E. Raschke, B. Nijssen, and D. P. Lettenmaier. 1998. “Regional scale hydrology: I. Formulation of the VIC-2L model coupled to a routing model.” Hydrol. Sci. J. 43 (1): 131–141. https://doi.org/10.1080/02626669809492107.
NASEM (National Academies of Sciences, Engineering, and Medicine). 2021. “Developing a toolkit for fostering open science practices.” In Proc., Workshop. Washington DC: National Academies Press.
Sivapalan, M., and G. Blöschl. 2015. “Time scale interactions and the coevolution of humans and water.” Water Resour. Res. 51 (9): 6988–7022. https://doi.org/10.1002/2015WR017896.
Thomas, H. A. 1981. Improved methods for national water assessment. Washington, DC: US Water Resource Council.
Tualatin River Watershed Council. 2021. “Tualatin basin information.” Accessed November 19, 2021. http://trwc.org/tualatin-basin-information/.
Wada, Y., et al. 2017. “Human–water interface in hydrological modelling: Current status and future directions.” Hydrol. Earth Syst. Sci. 21 (8): 4169–4193. https://doi.org/10.5194/hess-21-4169-2017.
Whitley, D. 1994. “A genetic algorithm tutorial.” Stat. Comput. 4 (2): 65–85. https://doi.org/10.1007/BF00175354.
Wi, S., Y. C. E. Yang, S. Steinschneider, A. Khalil, and C. M. Brown. 2015. “Calibration approaches for distributed hydrologic models in poorly gaged basins: Implication for streamflow projections under climate change.” Hydrol. Earth Syst. Sci. 19 (2): 857–876. https://doi.org/10.5194/hess-19-857-2015.
Yang, Y. E., K. Son, F. Hung, and V. Tidwell. 2020. “Impact of climate change on adaptive management decisions in the face of water scarcity.” J. Hydrol. 588 (Sep): 125015. https://doi.org/10.1016/j.jhydrol.2020.125015.
Information & Authors
Information
Published In
Copyright
© 2022 American Society of Civil Engineers.
History
Received: Feb 13, 2022
Accepted: Aug 27, 2022
Published online: Oct 13, 2022
Published in print: Dec 1, 2022
Discussion open until: Mar 13, 2023
Authors
Metrics & Citations
Metrics
Citations
Download citation
If you have the appropriate software installed, you can download article citation data to the citation manager of your choice. Simply select your manager software from the list below and click Download.
Cited by
- Ming Yang, Güzin Bayraksan, Stochastic Multistage Multiobjective Water Allocation with Hedging Rules for Multireservoir Systems, Journal of Water Resources Planning and Management, 10.1061/JWRMD5.WRENG-5950, 149, 9, (2023).