USGS ScienceSearch

USGS · 70273873

Teach me how to pycap: A high-capacity well decision support tool using analytical solutions in Python

Abstract

Regulatory agencies in humid temperate environments rely on timely evaluations of streamflow depletion and drawdown to protect aquatic ecosystems and existing water users. Numerical models offer detailed insights, but their complexity and time demands often preclude their practical use in rapid decision-making. We present pycap-dss, an open-source Python package that implements a suite of analytical solutions for estimating streamflow depletion and drawdown. The tool supports superposition of multiple wells and time-varying pumping, enabling cumulative impact assessments in situations with multiple wells and streams. The software is modular and extensible, allowing users to interchange solutions or add new analytical methods. A YAML-based configuration supports batch processing of multiple wells, and an optional AnalysisProject class facilitates integration with regulatory workflows. Rigorous unit and regression testing ensures computational reliability, and continuous integration supports ongoing development. We demonstrate deterministic examples of drawdown where multiple solutions are readily compared and streamflow depletion with multiple wells in the Central Sands region of Wisconsin. We also show the value of Monte Carlo analyses of streamflow depletion in the same Central Sands example, leveraging computational efficiency to evaluate the uncertainty of individual and cumulative streamflow depletion calculations from over 200 high-capacity wells.

Explore related subjects

Keep this discovery

BibTeXRIS

Michael N. Fienen, Aaron Pruitt, Howard W. Reeves. 2026-01-25. Teach me how to pycap: A high-capacity well decision support tool using analytical solutions in Python. https://doi.org/10.1111/gwat.70046

Cite the original work for its findings. Save a collection to share your selection of sources.

Discover connections

Connections use source metadata and explicit phrase matches, not verified experimental comparisons.

KEEP EXPLORING

Related discoveries

Streamflow, base-flow, and precipitation trends and simulated effects of groundwater withdrawals from the North Fork Red River aquifer on base flows upgradient from Lake Altus, western Oklahoma, 1980–2022

The U.S. Geological Survey, in cooperation with the Bureau of Reclamation, used five scenarios created from a previously published numerical groundwater-flow model (1980–2013) and historical streamflow records (1980–2022) to investigate the relation between groundwater withdrawals from the North Fork Red River aquifer and inflows to Lake Altus from the North Fork Red River in western Oklahoma. The five scenarios were (1) a scaled-equal-proportionate-share (EPS) groundwater-withdrawal scenario, (2) a study-area-scaled-reported groundwater-withdrawal scenario, (3) a zonal-scaled-reported groundwater-withdrawal scenario, (4) a historical drought-threshold scenario, and (5) a base-flow and evapotranspiration depletion scenario. For the scaled-EPS groundwater-withdrawal scenario, EPS groundwater withdrawals were often much higher than reported groundwater withdrawals and greatly decreased base flows for most scale factors. For the study-area-scaled-reported groundwater-withdrawal scenario, base flows were reduced more but by smaller percentages during wet periods than during dry periods when scaling simulated reported groundwater withdrawals. For the zonal-scaled-reported groundwater-withdrawal scenario, scaling simulated reported groundwater withdrawals within selected zones with more groundwater withdrawals did not always affect base flows more than scaling reported groundwater withdrawals within zones with less groundwater withdrawals. For the historical drought-threshold scenario, curtailing groundwater withdrawals at the drought thresholds increased annual base flows to Lake Altus by about 1,169 to 3,665 acre-feet. For the base-flow and evapotranspiration depletion scenario, the distance between a groundwater well and a stream was a major factor affecting base flow to the North Fork Red River when increasing groundwater withdrawals; however, spatially variable hydrologic properties and saturated-zone evapotranspiration could also affect the relation between base flows and groundwater withdrawals.

Oklahoma