skip to main content
US FlagAn official website of the United States government
dot gov icon
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
https lock icon
Secure .gov websites use HTTPS
A lock ( lock ) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.


Title: PyTheis—A Python Tool for Analyzing Pump Test Data
The Theis equation is an important mathematical model used for analyzing drawdown data obtained from pumping tests to estimate aquifer parameters. Since the Theis model is a nonlinear equation, a complex graphical procedure is employed for fitting this equation to pump test data. This graphical method was originally proposed by Theis in the late 1930s, and since then, all the groundwater textbooks have included this fitting method. Over the past 90 years, every groundwater hydrologist has been trained to use this tedious procedure for estimating the values of aquifer transmissivity (T) and storage coefficient (S). Unfortunately, this mechanical procedure does not provide any intuition for understanding the inherent limitations in this manual fitting procedure. Furthermore, it does not provide an estimate for the parameter error. In this study, we employ the public domain coding platform Python to develop a script, namely, PyTheis, which can be used to simultaneously evaluate T and S values, and the error associated with these two parameters. We solve nine test problems to demonstrate the robustness of the Python script. The test problems include several published case studies that use real field data. Our tests show that the proposed Python script can efficiently solve a variety of pump test problems. The code can also be easily adapted to solve other hydrological problems that require nonlinear curve fitting routines.  more » « less
Award ID(s):
2019561
PAR ID:
10336900
Author(s) / Creator(s):
; ;
Date Published:
Journal Name:
Water
Volume:
13
Issue:
16
ISSN:
2073-4441
Page Range / eLocation ID:
2180
Format(s):
Medium: X
Sponsoring Org:
National Science Foundation
More Like this
  1. We implement the numerical unified transform method to solve the nonlinear Schrödinger equation on the half-line. For the so-called linearizable boundary conditions, the method solves the half-line problems with comparable complexity as the numerical inverse scattering transform solves whole-line problems. In particular, the method computes the solution at any x and t without spatial discretization or time stepping. Contour deformations based on the method of nonlinear steepest descent are used so that the method’s computational cost does not increase for large x , t and the method is more accurate as x , t increase. Our ideas also apply to some cases where the boundary conditions are not linearizable. 
    more » « less
  2. Purpose: Little quantitative or mechanistic information about tear film breakup can be determined directly via current imaging techniques. In this paper, we present simplified mathematical models based on two proposed mechanisms of tear film breakup: evaporation of water from the tear film and tangential fluid flow within the tear film. We use our models to determine whether one or a combination of the two mechanisms causes tear film breakup in a variety of instances. In this study, we estimate related breakup parameters that cannot currently be measured in breakup during subject trials, such as tear film osmolarity and thinning rates. The present study validates our procedure against previous work.Methods: Five ordinary differential equation models for tear film thinning were designed that model evaporation, osmosis, and various types of tangential flow. Eight tear film breakup instances occurring within a time interval of 1–8 s postblink of five healthy subjects thatwere identified in fluorescence images in previous work were fit with these five models. The fitting procedure used a nonlinear least squares optimization that minimized the difference of the computed theoretical fluorescent intensity from the models and the experimental fluorescent intensity from the images. The optimization was conducted over the evaporation rate and up to three tangential flow rate parameters. The smallest norm of the difference was determined to correspond to the model that best explained the tear film dynamics.Results: All of the breakup instances were best fit by models with time-dependent tangential flow. Our optimal parameter values and thinning rate as well as tangential fluid flow profiles compare well with previous partial differential equation model results in most instances.Conclusion: Our fitting results suggest that a combination of tangential fluid flow and evaporation cause most of the breakup instances. Comparison with results from previous work suggests that the simplified models can capture the essential tear film dynamics in most cases, thereby validating this procedure for wider usage. 
    more » « less
  3. Abstract The common‐pool nature of groundwater resources creates incentives to over pump that contribute to their rapid global depletion. In transboundary aquifers, users are separated by a territorial border and might face substantially different economic and hydrogeologic conditions that can alternatively dampen or amplify incentives to over pump. We develop a theoretical model that couples principles of game theory and groundwater flow to capture the combined effect of well locations and user asymmetries on pumping incentives. We find that heterogeneities across users (here referred to as asymmetries) in terms of either energy cost, groundwater profitability or aquifer response tend to dampen incentives to over pump. However, combinations of two or more types of asymmetry can substantially amplify common‐pool overdraft, particularly when the same user simultaneously faces comparatively higher costs (or aquifer response) and profitability. We use this theoretical insight to interpret the emergence of the Disi agreement between Saudi Arabia and Jordan in association with the Disi‐Amman water pipeline. By using bounded non‐dimensional parameters to encode user asymmetries and groundwater connectivity, the theory provides a tractable generalized framework to understand the premature depletion of shared aquifers, whether transboundary or not. 
    more » « less
  4. The hydrology of alpine and subalpine areas in the Colorado Front Range (USA) is evolving, driven by warming and by the alteration of precipitation patterns, the timing of snowmelt, and other components of the hydrologic budget. Field measurements of soil hydraulic conductivity and moisture along 30-m transects (n = 13) of representative soils developed in surficial deposits and falling head slug tests of shallow groundwater in till demonstrate that hydraulic conductivity in the soil is comparable to hydraulic conductivity values in the shallow aquifer. Soil hydraulic conductivity values were variable (medians ranged from 5.6 × 10−7 to 4.96 × 10−5 m s−1) and increased in alpine areas underlain by periglacial deposits. Hydraulic conductivities measured by a modified Hvorslev technique in test wells ranged from 4.86 × 10−7 to 1.77 × 10−4 m s−1 in subalpine till. The results suggest a gradient from higher hydraulic conductivity in alpine zones, where short travel paths through periglacial deposits support ephemeral streams and wetlands, to lower hydraulic conductivity in the till-mantled subalpine zone. In drier downstream areas, streambed infiltration contributes substantially to near-channel groundwater. As summer temperatures and evapotranspiration (ET) increase and snowmelt occur earlier, alpine soils are likely to become more vulnerable to drought, and groundwater levels in the critical zone may lower, affecting the connectivity between late-melting snow, meltwater streams, and the areas they affect downstream. 
    more » « less
  5. Safe control designs for robotic systems remain challenging because of the difficulties of explicitly solving optimal control with nonlinear dynamics perturbed by stochastic noise. However, recent technological advances in computing devices enable online optimization or sampling-based methods to solve control problems. For example, Control Barrier Functions (CBFs) have been proposed to numerically solve convex optimization problems that ensure the control input to stay in the safe set. Model Predictive Path Integral (MPPI) control uses forward sampling of stochastic differential equations to solve optimal control problems online. Both control algorithms are widely used for nonlinear systems because they avoid calculating the derivatives of the nonlinear dynamic functions. In this paper, we use Stochastic Control Barrier Functions (SCBFs) constraints to limit sample regions in the samplingbased algorithm, ensuring safety in a probabilistic sense and improving sample efficiency with a stochastic differential equation. We also show that our algorithm needs fewer samples than the original MPPI algorithm does by providing a sampling complexity analysis. 
    more » « less