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

Groundwater
By: , and 

Links

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.

Suggested Citation

Fienen, M., Pruitt, A., Reeves, H.W., 2026, Teach me how to pycap: A high-capacity well decision support tool using analytical solutions in Python: Groundwater, https://doi.org/10.1111/gwat.70046.

Study Area

Publication type Article
Publication Subtype Journal Article
Title Teach me how to pycap: A high-capacity well decision support tool using analytical solutions in Python
Series title Groundwater
DOI 10.1111/gwat.70046
Edition Online First
Publication Date January 25, 2026
Year Published 2026
Language English
Publisher National Groundwater Association
Contributing office(s) Upper Midwest Water Science Center
Country United States
State Wisconsin
Other Geospatial Tomorrow River
Additional publication details