Pywr-DRB#

New Release:

Pywr-DRB v2.0.0 is now available on GitHub!

Pywr-DRB is a water resources model of the Delaware River Basin (DRB) designed to improve our understanding of water availability, drought risk, and long-term water supply planning within the Basin.

Pywr-DRB is an open-source Python model for exploring the role of reservoir operations, transbasin diversions, minimum flow targets, and other regulatory rules on water availability and drought risk in the DRB. Pywr-DRB is designed to flexibly draw on streamflow estimates from a variety of emerging data resources, such as the National Water Model, the National Hydrologic Model, and hybrid datasets blending modeled and observed data. Pywr-DRB bridges state-of-the-art advances in large-scale hydrologic modeling with an open-source representation of the significant role played by the basin’s evolving water infrastructure and management institutions.

Pywr-DRB builds on the open-source Python package Pywr, which provides a flexible structure for building and simulating water resource networks.

A graphical representation of the Pywr-DRB model is shown below, where every octogon represents a reservoir in the DRB:

Training Resources#

The following Jupyter Notebooks are designed to serve as training material for the pywrdrb package.

For more general setup and background, see the

Advanced Tutorials#

In the future, we will share more notebooks to highlight advanced workflows or model features.

Publications#

Citation and DOI#

If you are using the package, we kindly ask that you acknowledge both the model and the associated publication.

  1. Model: Lin, C.Y., Amestoy, T., Smith, M., Hamilton, A., & Reed, P. (2025). Pywr‑DRB v2.0.0 [Software]. Zenodo. https://doi.org/10.5281/zenodo.15659955

  2. Paper: Hamilton, A. L., Amestoy, T. J., & Reed, Patrick. M. (2024). Pywr-DRB: An open-source Python model for water availability and drought risk assessment in the Delaware River Basin. Environmental Modelling & Software, 106185. https://doi.org/10.1016/j.envsoft.2024.106185

Acknowledgements#

This research was funded by the U.S. Geological Survey (USGS) as part of the Water Resources Mission area (USGS Grant Numbers G21AC10668, G23AC00678, and G24AC00124). The authors thank Hedeff Essaid and Noah Knowles from USGS and Aubrey Dugger and David Yates from the National Center for Atmospheric Research (NCAR) for providing data and feedback that improved this work. The views expressed in this work are those of the authors and do not reflect the views or policies of the USGS or NCAR.

License#

This program is licensed under the MIT License. See the full license here.

Copyright (c) 2025 Chung-Yi Lin, Trevor Amestoy, Marilyn Smith, Andrew Hamilton, Patrick Reed.

Copyright (c) 2023-2024 Andrew Hamilton, Trevor Amestoy, Patrick Reed.