Next Article in Journal
Estimation of Reclaimed Water Utilization Benefits in a Typical Coastal River Network
Previous Article in Journal
Removal of Indicator Micropollutants Included in Directive (EU) 2024/3019 Using Nanofiltration and Reverse Osmosis
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Eliminating Noise of Pumping Test Data Using the Theis Solution Implemented in the Kalman Filter

by
Maria Ines Rivas-Recendez
1,
Hugo Enrique Júnez-Ferreira
1,2,*,
Julián González-Trinidad
1,2,*,
Carlos Alberto Júnez-Ferreira
3,
Raúl Ulices Silva-Ávalos
2 and
Eric Muñoz de la Torre
1
1
Doctorado en Ciencias de la Ingeniería, Universidad Autónoma de Zacatecas, Campus UAZ Siglo XXI, Carretera Zacatecas-Guadalajara Km. 6, Ejido La Escondida, Zacatecas 98160, Mexico
2
Licenciatura en Ciencia y Tecnología del Agua, LUMAT, Universidad Autónoma de Zacatecas, Campus UAZ Siglo XXI, Carretera Zacatecas-Guadalajara Km. 6, Ejido La Escondida, Zacatecas 98160, Mexico
3
Facultad de Ingeniería Civil, Universidad Michoacana de San Nicolás de Hidalgo, Ciudad Universitaria, Gral. Francisco J. Múgica S/N., Morelia 58030, Mexico
*
Authors to whom correspondence should be addressed.
Water 2025, 17(9), 1271; https://doi.org/10.3390/w17091271
Submission received: 27 February 2025 / Revised: 12 April 2025 / Accepted: 22 April 2025 / Published: 24 April 2025
(This article belongs to the Topic Advances in Hydrogeological Research)

Abstract

:
This study presents a novel approach that integrates the Kalman filter and genetic algorithms to obtain the hydraulic parameters of a confined aquifer with precision, eliminating noise that is not normally considered in traditional procedures; these parameters are necessary for the design of wells, the calculation of water balances and the numerical modeling of aquifers. The Theis solution for horizontal radial groundwater flow to an extraction well within a confined aquifer is implemented in the Kalman filter to calibrate the hydraulic transmissivity and the storage coefficient, minimizing the differences between drawdown estimates and the Theis solution by means of genetic algorithms. The estimate error variances provided by the method allowed for the quantification of an approximate average drawdown measurement error of 0.12 m and 0.02 m, respectively, during the execution of two pumping tests.

1. Introduction

Water is an essential substance for regulating the Earth’s temperature, maintaining ecosystem balance and supporting human development. In particular, groundwater plays a vital role in agriculture, industry and domestic water supply, especially in regions with limited surface water availability [1]. The costs associated with groundwater exploitation are generally lower than those associated with the construction and operation of reservoirs and canals. Additionally, aquifers have a lower vulnerability to droughts compared to surface reservoirs [2].
Effective groundwater management is essential to prevent over-extraction, pollution, depletion, scarcity and stress on aquifers. It involves monitoring water levels, implementing sustainable extraction limits and protecting recharge areas, to ensure its availability for future generations [1].
Knowledge of hydraulic parameters in aquifers (such as the hydraulic conductivity, specific yield, storage coefficient or specific storage) is of great importance for the development of any groundwater project. Pumping tests are the usual procedure to determine these parameters at a local scale under field conditions. Alternatively, the performance of oscillatory pumping tests has been promoted [3].
The specialized literature presents various procedures for determining the spatial distribution of hydraulic parameters within a limited area of an aquifer, a method known as hydraulic tomography, using hydraulic head data from pumping tests and additional data from the study area [4,5,6,7]. Inverse modeling of the hydraulic head [8,9], the incorporation of a geophysical data set with a joint scheme [10,11] and the Ensemble Kalman filter [12,13] are commonly used for this purpose; however, these procedures are limited to areas with a high density of observation wells near a pumping well or the availability of geophysical equipment, a condition that is uncommon in many regions of the world.
Traditional methods for interpreting pumping tests have relied on analytical solutions for specific flow conditions that idealize the behavior of water within an aquifer. These methods typically involve graphical techniques to manually match drawdown data [14,15,16,17], meaning that hydraulic parameters are determined by finding the best match between a reference curve and plotted drawdown measurements from observation wells [18]. This approach was a cutting-edge technique at the time and is still used in some technical reports today.
However, with the advancement in modern computational resources, numerical methods have been developed to overcome the limitations of traditional and quasi-analytical solutions, for example, numerical models that solve the groundwater flow equation to both single-layer and two-layered media [19,20].
It has been recognized that drawdown measurement errors, field heterogeneities and other conditions that do not align with the assumptions of analytical solutions used in the interpretation of pumping tests can lead to hydraulic parameter values that do not accurately reflect real aquifer conditions [21,22]. In these cases, the Kalman filter represents an alternative for obtaining reliable values of the hydraulic parameters, as it accounts for both measurement and model errors [6,23]. In these approaches, the hydraulic parameters are updated each time a new drawdown measurement is incorporated into the Kalman filter implementation. The resulting parameter estimates can vary depending on the initial guess provided. It is important to note that, in the cases presented, measurement errors are considered very small or are neglected.
In an alternative approach to interpreting pumping tests, the hydraulic parameters are calibrated using filtered drawdown data. To achieve this, the Cooper–Jacob solution was applied within the Kalman filter [24]. However, a limitation of this method is that the solution is not valid for drawdown measurements taken shortly after the pumping test begins.
In this paper, that limitation is addressed by incorporating the Theis solution as the model used to filter all measured drawdown data collected during a pumping test. The hydraulic parameters are determined using a calibration process that involves a genetic algorithm-based optimization procedure that compares estimated drawdown data and the Theis solution. Furthermore, estimate error variances are used to assess the quality of the drawdown measurements during the pumping test.
The proposed method is intended for practical use in field pumping tests, aiming to improve the accuracy of hydraulic parameter estimation, particularly in confined aquifers. This approach enables the quantification of measurement errors in drawdown observations while also accounting for deviations from the field conditions assumed in the Theis solution.

2. Methods

2.1. Equations That Describe Groundwater Movement

Differential equations describing flow in porous media are derived by combining Darcy’s law with mass balance principles. Mass balance accounts for input and output flows as well as changes in storage. Darcy’s law is strictly valid under laminar flow conditions, and its application in a turbulent regime can result in significant quantitative errors.
Well hydraulics, as a specialized branch of groundwater dynamics, focuses on studying the movement of water toward wells due to the gradients created by water extraction. It aims to relate the extracted flow rate to the spatial and temporal distribution of drawdowns in the aquifer, considering the key hydrogeological parameters of the region.

2.2. Theis Solution

Most of the existing methods to interpret pumping tests start from emulating or modifying the work of C. V. Theis [14], which laid the foundations of modern well hydraulics in transient regime. The method is only valid for ideal confined aquifers with elastic water release. The general equation of the radial flow to a well in a transient regime, considering two dimensions and the non-existence of vertical recharge is as follows:
2 h r 2 + 1 r h r = S T h t ,
where h is the hydraulic head, S is the storage coefficient (dimensionless), t is the time elapsed from the start of the pumping, r is the distance between the pumping and the observation well and T is the aquifer transmissivity. Theis equation was derived assuming strong limitations on the physical reality of the tested aquifer:
  • Homogeneous, isotropic and infinite extension;
  • Radial flow and laminar regime;
  • Absence of external recharges;
  • Fully penetrating, zero diameter well;
  • Constant pumping flow, which produces an immediate drop in level [14].
It is used for the determination of hydraulic parameters of a confined aquifer. Following Theis’ formulation [14], these parameters are obtained employing Equations (2)–(4) as presented below:
s = Q 4 π T W u
where s = h 0 h ( t ) is the water level drawdown at a distance r from the pumping well, Q is the constant pumping flow rate and W ( u ) is the well function. Setting
u = r 2 S 4 T t ,
the well function will be
W u = u u u d u ,
which is the well-known integral function. This integral has no analytical solution, so it is solved by approximate methods:
W u = γ ln u + u u 2 2 · 2 ! + u 3 3 · 3 ! u 4 4 · 4 ! +
where γ 0.577216 is the Euler–Mascheroni constant. For this work, no truncation or approximation of the well function is employed; we use the complete well function taking advantages of numerical packages.

2.3. Kalman Filter

The Kalman filter is a mathematical algorithm for data assimilation that operates through a mechanism to predict future data and correct possible errors. The filter is sequential since it calculates the solution each time a new measurement is obtained without reusing previous data. With this process, a new estimate of a state is obtained from its previous estimate by adding a correction term that incorporates the information provided by new data, so that the prediction error is statistically minimized. The Kalman filter is constituted of three models and two phases:
System model. The state vector, expressed as x n + 1 , describes the evolution in time of the quantity to be estimated. The transition between states x n   a n d   x n + 1 is characterized by the transition matrix A n + 1 and the addition of Gaussian white noise w n + 1 as follows:
x n + 1 = A n + 1 x n + w n + 1 ,   w n + 1 ~ N 0 , Q n + 1 ,
with a covariance matrix  Q n + 1 , which shall not be confused with the discharge Q .
Measurement model. Relates the measurement vector z n to the state of the system x n through the measurement matrix H n and the addition of a Gaussian white noise vector v n with covariance matrix R n .
z n = H n x n + v n   , v n ~ N 0 , R n .
Prior model. Describes prior knowledge about the state vector at the initial time x n 0 in terms of the expected value and the covariance matrix P n 0 . Process and sensor noises are assumed to be uncorrelated.
E x n 0 = x ^ n 0 P n 0 = E x n 0 x ^ n 0 x n 0 x ^ n 0 T E w n = E v n = 0 E w n v n T = E v n w n T = 0 E w n w n T = Q n E v n v n T = R n .
Propagation phase. The new value of the quantity to be estimated is predicted using the system model. For this, the estimate of the previous state x n and its covariance matrix P n are extrapolated to form the predicted state vector x n + 1 and its covariance matrix P n + 1 , where
x n + 1 = A n + 1 x n ,
and
P n + 1 = A n + 1 P n A n + 1 T + Q n + 1 .
Update phase. In this phase, the new state vector x n + 1 and its covariance matrix P n + 1 are calculated. For this, the predicted covariance is used to calculate the Kalman gain K n + 1 . The new state vector x n + 1 is calculated adding to the predicted state vector x n + 1 the measurement residual z n + 1 H n + 1 x n + 1 scaled with the Kalman gain.
K n + 1 = P n + 1 H n + 1 T H n + 1 P n + 1 H n + 1 T + R n + 1 1 ,
x n + 1 = x n + 1 + K n + 1 z n + 1 H n + 1 x n + 1 ,
P n + 1 = I K n + 1 H n + 1 P n + 1 .
The Kalman gain is constructed to obtain minimum variance estimates. After each update, the process is repeated, taking as a starting point the new estimates of the state and of the matrix error covariance.

2.4. Implementation of the Theis Solution Within the Kalman Filter

The partial derivative with respect to time of Equation (3) is
u   t = r 2 S 4 T t 2 = u t .  
On the other hand, the partial derivative with respect to time of Equation (5) is obtained applying the chain rule as
[ W u ] t = [ W u ] u u t = e u t ,
where the derivative of exponential integral function is used. Therefore, the derivative of Equation (2) with respect to time is as follows:
s t = Q 4 π T t W u .
Solving Q 4 π T from Equation (16) leads to the following:
Q 4 π T = 1 t W u s t ,
since
s 2 s 1 = Q 4 π T W u 2 W u 1 ,
we solve for s 2 from Equation (18), substituting (17) for s 1 , obtaining
        s 2 = s 1 + W u 2 W u 1 t W u 1 s 1 t .
To calculate the value of W u 2 , it is necessary to know the time in which the subsequent drawdown measurement will be taken. From Equation (16), it follows that
s n t = t W u n t W u n 1 s n 1 t .
In this manner, from Equations (10) and (11), the propagation phase of the Kalman filter is expressed as follows:
x n + 1 = s n + 1 s n + 1 t = 1 W u n + 1 W u n t W u n 0 t W u n + 1 t W u n s n s n t
and
P n + 1 = 1 W u n + 1 W u n t W u n 0 t W u n + 1 t W u n v a r s c o v s , s t c o v s , s t v a r s t 1 0 W u n + 1 W u n t W u n t W u n + 1 t W u n + Q n + 1
where v a r ( s ) is the variance of drawdowns, v a r s t is the variance of drawdown rates and c o v s , s t is the covariance of drawdowns and drawdown rates. In the proposed methodology, these last three terms are defined by the analysis.
To determine the solution to the problem, with the proposed approach, the search technique known as genetic algorithms (GAs) was used, since these types of metaheuristic technique, versatile and easy to implement, have demonstrated their usefulness as tools for optimization in complex problems, especially those in which it is difficult to guarantee the determination of the optimal solution analytically. Thus, GAs have been used as effective tools in various areas of engineering, particularly in the management and monitoring of water resources [25,26,27,28].
GAs, originally proposed by Holland [29], imitate the process of natural evolution such as selection, crossover and mutation. Generally, they begin by randomly generating an initial set of individuals who are candidates to be solutions, that are evaluated using metrics corresponding to the problem. The result of its evaluation is known as fitness, whose values allow a set of candidate solutions to be classified or selected. Subsequently, offspring are produced through reproduction or mutation mechanisms. It is possible to add these offspring to the existing population, or replace the population entirely. This process is repeated iteratively until a certain stopping condition is met.
In order to obtain the T and S values that calibrate the Theis solution, the following optimization problem was posed:
minimize f = s est s T h e i s 2 subject   to l S S u S , 0 < T u T ,   s 1 T h e i s > 0
where s est and s T h e i s are the estimates for the drawdown vectors at times t using the Kalman filter and the Theis solution, respectively.
Thus, for optimization using GAs, an initial population Ω 1 with N Ω candidate individuals are created through the pair x = T , S , generated randomly considering the limits established by restrictions. Subsequently, the fitness  f of each individual is determined by calculating the metric corresponding to the quadratic norm of the difference of the estimated drawdown using the Kalman filter and the Theis solution, as indicated in Algorithm 1. Then, they are selected the best N s e l candidates according to this metric, forming the set Ω s e l . From a subset of individuals of this selection, an offspring  Ω c r o s s is produced using a crossover operator, consisting of a weighted average. Some elements of this offspring are mutated by randomly replacing elements of the real-coded string of characters that form it, constituting the set Ω m u t . Also, a subset of individuals Ω r a n d is randomly generated in order to reduce the possibility of premature convergence to a suboptimal solution. Finally, the union of the sets Ω s e l , Ω c r o s s , Ω m u t and Ω r a n d form a new population, with N Ω individuals, which replaces the previous generation. This process is repeated iteratively until the stopping criterion is met, which is a function of the convergence of the last ξ generations or a maximum number of iterations is reached (see Algorithm 2).
Algorithm 1. Fitness function f ( x , t , s o b s , N , Q , r ) .
Input:  x = T ,   S , t ,   s o b s ,   N ,   Q , r

Output:  f
  • Prior estimate vector x 1 = s 1 s 1 t T = s 1 o b s Q 4 π T 1 t 1 T
  • for n = 1   to N 1 do
  •      Propagation phase x n + 1 , P n + 1
  •      Update phase K n + 1 ,   x n + 1 ,   P n + 1
  •      Theis solution s Theis
  •      Fitness function f = s est s Theis 2
  •      return f
Although Algorithm 2 depends on the creation of random individuals, the results are reproducible when a large population number is employed. Nevertheless, we compare to other algorithms [30,31], to verify the veracity of the results.
Algorithm 2. Genetic algorithm optimization.
Input:  t , s obs , N ,   Q , r ,   l S ,   u S ,   u T , N Ω ,   N s e l ,   N cross ,   N mut ,   N rand , ξ ,   T o l , i m a x ; N Ω = N s e l + N cross + N mut + N rand

Output: F
  • Set   i = 1
  • Initial Population Ω 1 = x k 1 | x k 1 = T k 1 , S k 1 = rand R u T , l S ,   u S ;   k = 1 ,   2 , N Ω
  • while  i i m a x  do
  •     update phase
  •     fitness evaluation  F i = F k i | F k i = f x k i , t ,   s obs ,   N ,   Q , r ;   k = 1 ,   2 , N Ω
  •      Ω sort = sort Ω i , F i
  •     selection Ω s e l i = x k sel | x k sel Ω sort ; k = 1 ,   2 , N s e l
  •     if  i > ξ  then
  •         if  j = i ξ i 1 Ω sel i Ω sel j T o l  then
  •         return  x 1 sel  stop
  •     crossover Ω cross i = x k cross | x k cross = cross ( x k 1 sel , x k 2 sel ,   u T , l S ,   u S ) ;   k 1 = rand Z 1 , N s e l ; k 2 = rand Z 1 , N s e l ;   k = 1 ,   2 , N cross
  •     mutation Ω mut i = x k mut | x k mut = mut ( x k 1 cross , u T , l S ,   u S ) ;   k 1 = rand Z 1 , N c r o s s ;   k = 1 ,   2 , N mut
  •     random individuals Ω rand i = x k rand | x k rand = rand R u T , l S ,   u S ;   k = 1 ,   2 , N rand
  •     new population Ω i + 1 = Ω sel i Ω cross i Ω mut i Ω rand i
  • i = i + 1
Figure 1 presents the flow diagram outlining the steps from Algorithms 1 and 2, which are used to obtain the hydraulic parameters T   and S by applying the Kalman filter to drawdown data.

3. Case Study

The proposed algorithm was applied to interpret pumping tests conducted in confined aquifers. These data correspond to well-known examples that have become standard exercises for hydrogeologists to evaluate the performance of new techniques.
1.
The “Oude Korendijk” pumping test presented in [32].
This pumping test was carried out in the “Oude Korendijk” aquifer, south of Rotterdam, the Netherlands. The distinguishing features of the impermeable confining layer aquifer is composed of clay, peat and fine clayey-sand for the first 18 m below the surface. Between 18 and 25 m below the surface of the aquifer consists of coarse sand with some gravel, while the bottom of the aquifer, which is considered impermeable, consists of fine sandy and clayey sediments.
The pumping well screen was placed throughout the thickness of the aquifer, and a 20 m deep piezometer was installed 30 m from it. It is assumed that all the extracted water was derived from the aquifer between 18 and 25 m [32].
During the pumping test, the data in Table 1 were collected at the piezometer, and the well was pumped at a constant discharge rate of 9.12   L   s 1   o r   788   m 3 d 1 for almost 14 h.
2.
The “Todd and Mays” pumping test, which is found in [33].
This case study shows an aquifer test in a well that penetrates a confined aquifer; the pumping rate was 2500 m 3 d 1 . The data collected in an observation well 60 m away are presented in Table 2. In this case, there is no additional information on the aquifer conditions and the construction characteristics of the pumping and the observation well.

4. Results

To apply the proposed algorithm, starting values of T = 5000   m 2 d 1 and S = 0.0005 were considered for the two cases, with bounds 100 T 10,000 and 0.00001 S 0.001 , respectively. Also, a model error covariance matrix
Q = 0.00001 0.00001 0.00001 0.00001
was employed; this implies that model errors are very small.
For the “Oude Korendijk” pumping test, the prior estimate error covariance matrix was
P n 0 = 0.2 0.2 × 30,000 0.2 × 30,000 30,000
Therefore, the initial variance of drawdowns was 0.2 m 2 whereas the initial variance of drawdown rates was 30,000 m 2 d 2 . These values were proposed from calculations using measured data.
On the other hand, the variance of the drawdown measurement error (VDME) = 0.015 m 2 (this means that an approximate average drawdown measurement error of 0.12 m was made during the pumping test). For this value, the estimate error variances obtained with the Kalman filter are adequate to represent the differences between the estimated values and the Theis equation.
For the “Todd and Mays” pumping test, the prior estimate error covariance matrix was
P n 0 = 0.1 0.1 × 3000 0.1 × 3000 3000
and a VDME = 0.0004 m2 (this means that during the pumping test an approximate average drawdown measurement error of 0.02 m was made).

4.1. Interpretation of the “Oude Korendijk” Pumping Test

The values of the parameters obtained with the proposed algorithm were T = 430.92   m 3 d 1 and S = 0.00016 . In Figure 2, it is observed that estimated drawdowns approximate adequately the Theis solution by filtering the measured data with the proposed model and measurement errors.
To evaluate the adequacy of the selected VDME, it was verified that the s est s Theis values fall within the range of the standard deviation for the estimation error (SDEE) computed with the Kalman filter. In Figure 3 is shown the reduction of the drawdown estimation errors each time a new drawdown measurement is incorporated in the proposed procedure; these errors fall amply inside the range of the SDEE obtained with the Kalman filter. The selection of a large VDME would overestimate the SDEE; meanwhile, the s est s Theis values would go beyond the range of the SDEE for a low value of VDME.
In Table 3 is presented a comparison of the T and S values obtained for the “Oude Korendijk” pumping test with the proposal and other methodologies. It can be observed that T obtained with the proposal falls outside the range found by Sen (also using the Kalman filter); the advantage of the proposal is that an approximation of the measurement errors can be estimated. The Cooper–Jacob and Kalman filter procedure seems to overestimate T and underestimate S since it uses a more limited flow solution.

4.2. Interpretation of the “Todd and Mays” Pumping Test

Analogously to the previous case study, the values T = 1140.57   m 2 d 1 and S = 0.00019 were obtained. In Figure 4, it is observed that estimated drawdowns are very approximated to the Theis solution. The way that measured data are filtered reflects low model and measurement errors.
In Figure 5, it is observed that with the selected VDME for the “Todd and Mays” pumping test, the estimation errors of the drawdowns are well represented by the standard deviations for the estimation errors obtained with the Kalman filter. This reflects that measurement errors for this pumping test are very small.
In Table 4, it is observed that the T and S values obtained for the “Todd and Mays” pumping test are very approximate to those using the optimization tool of the software Aquifer Win for the Theis equation and the average values obtained in [12] ( T = 1142   m 2 d 1 and S = 0.00019 ). This is due to the high precision in the drawdowns measured during the pumping test and the good compliance of the Theis solution hypothesis with the field conditions. In these cases, measured drawdowns are easily adjusted with a type curve such as that used in the Theis method. However, for large deviations from a type curve, it takes relevance to consider model and measurement errors in the interpretation of pumping tests. The Cooper–Jacob and Kalman filter procedure seems to overestimate T and underestimate S for the same reasons exposed in the previous case.

4.3. Interpretation of the “Todd and Mays” Pumping Test Adding Noise to the Data

To evaluate the proposal for data with a known measurement error, we generated drawdown data using the Theis solution, applying the hydraulic parameters determined in the previous section for the “Todd and Mays” pumping test. To this synthetic data, we added random Gaussian noise with a mean of zero and a standard deviation of 3 cm. The generated data are presented in Table 5. We applied the proposed interpretation method using the same matrices as in the previous example and set the variance of the drawdown measurement error (VDME) to 0.0009 m2, corresponding to an average measurement error of approximately 3 cm, consistent with the added random Gaussian noise.
The parameters obtained after implementing our proposal were T = 1140.97   m 2 d 1 and S = 0.00019 , closely matching those from the previous example. As shown in Figure 6, the drawdown measurements are effectively filtered, enhancing estimation accuracy.
Finally, in Figure 7, it is observed that the estimation errors of the drawdowns are well represented by the standard deviations for the estimation errors obtained with the Kalman filter for the VDME selected for the “Todd and Mays” pumping test with added noise.
In total, 1000 sets of drawdown data with added random Gaussian noise, with a mean of zero and a standard deviation of 3 cm, were generated. The proposed method was applied using the same matrices and VDME value (0.0009 m2) as in the previous case to calibrate the hydraulic parameters, obtaining average values of T = 1141.76   m 2 d 1 and S = 0.00019 . Since these values are very similar to those reported for the “Todd and Mays” pumping test, it is demonstrated that the proposed method can provide a good approximation of the average measurement error, allowing for an adequate filtering of the observed drawdowns.
Sen [23] compares the obtained T and S values with those reported in the literature to assess the performance of his approach, stating that a greater resemblance among them indicates a better estimation. The author highlights the importance of selecting appropriate initial values in the estimation process. In our case, values from previous methodologies serve as reference points, but none can be considered the best option. On the other hand, Leng and Yeh [12] evaluate differences between estimated and observed drawdowns using the mean error and the standard error of estimate. The mean error has the drawback of compensating for large negative and positive values, while the standard error of the estimate is used in that study because estimates are obtained at time steps without observed data, which is not our case.
To evaluate the performance of our proposed method, we selected as the primary metrics the Root Mean Square Error (RMSE) defined as
R M S E = 1 N i = 1 N y i y ^ i 2
and the Normalized Root Mean Square Error (NRMSE) percentage as
N R M S E = R M S E y ¯ × 100
where y i will be s i e s t , y ^ i = s i T h e i s and y ¯ is the mean value for drawdowns obtained with Theis. These metrics are presented in Table 6.
Appiah-Adjei et al. [34] reported an average NRMSE value of 8.06% when simulating hydraulic heads in observation wells during a pumping test. In our case studies, the NRMSE values range from 0.38% to 1.93%, demonstrating that the results are within an acceptable range.

5. Discussion

The use of the proposed methodology is recommended for the interpretation of pumping tests in confined aquifers where a poor match between test data and the Theis solution is observed, typically due to large measurement errors or deviations from the assumptions of the Theis model. A similar approach could be applied to filter pumping test data from unconfined, leaky or more complex aquifer systems, whether using curve matching or numerical flow modeling.
Proper filtering of pumping test measurements helps to avoid the underestimation or overestimation of hydraulic parameters in the vicinity of the pumping well. Additionally, estimating the average measurement errors can aid in detecting execution flaws and determining whether the test results are reliable or whether the test should be discarded or repeated.
On the other hand, the proposed methodology does not offer significant advantages when measurement errors in drawdowns during a pumping test are small and the assumptions of the Theis solution are met. In such cases, a traditional curve-matching procedure would be easier to implement and would yield similar results.

6. Conclusions

We present a Kalman filter-based procedure to calibrate the hydraulic transmissivity and storage coefficient using data from a pumping test conducted in a confined aquifer, minimizing the differences between drawdown estimates and the Theis solution using genetic algorithms. Data from the “Oude Korendijk” and “Todd and Mays” pumping tests were used to assess this proposal. For a third case study, Gaussian noise (simulating the presence of measurement errors in the pumping test) was added to the latter pumping test. The results show that the filtered data allow an adequate calibration of the hydrogeological parameters reported in previous works.
The proposed method represents a reliable alternative for interpreting pumping tests conducted in confined aquifers, particularly in cases where large errors occur in drawdown measurements (e.g., when using a manual probe) or where the assumptions of the Theis solution are significantly violated, such as in the presence of heterogeneity near the extraction well or the return of pumped water to the aquifer during the pumping test.
The estimate error variances computed with the Kalman filter can provide a good approximation of the average drawdown measurement errors occurring during a pumping test.

Author Contributions

Conceptualization, H.E.J.-F.; methodology, H.E.J.-F. and C.A.J.-F.; software, C.A.J.-F. and R.U.S.-Á.; validation, H.E.J.-F., M.I.R.-R. and R.U.S.-Á.; formal analysis, H.E.J.-F., M.I.R.-R.; investigation, H.E.J.-F., M.I.R.-R., J.G.-T., C.A.J.-F. and R.U.S.-Á.; resources, M.I.R.-R. and J.G.-T.; data curation, M.I.R.-R. and E.M.d.l.T.; writing—original draft preparation, M.I.R.-R.; writing—review and editing, H.E.J.-F., J.G.-T. and R.U.S.-Á.; visualization, R.U.S.-Á.; supervision, H.E.J.-F. and J.G.-T. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data presented in this study are available in the article. Please refer to the corresponding authors for the code of this work.

Acknowledgments

Maria Ines Rivas-Recendez greatly appreciates the support of the Consejo Nacional de Humanidades, Ciencia y Tecnología (CONAHCYT) for a scholarship grant from January 2021 to December 2024. We thank COZCyT (Consejo Zacatecano de Ciencia Tecnología e Innovación) for the support at the research team.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Papazotos, P.; Vlachomitrou, M.; Psarraki, D.; Vasileiou, E.; Perraki, M. Coupling Advanced Geo-Environmental Indices for the Evaluation of Groundwater Quality: A Case Study in NE Peloponnese, Greece. Environments 2025, 12, 14. [Google Scholar] [CrossRef]
  2. Herraiz, A.S. La importancia de las aguas subterráneas. Rev. De La Real Acad. De Cienc. Exactas Físicas Y Nat. 2009, 103, 97–114. [Google Scholar]
  3. Cardiff, M.; Sayler, C. Strategies for avoiding errors and ambiguities in the analysis of oscillatory pumping tests. J. Hydrol. 2016, 540, 1016–1021. [Google Scholar] [CrossRef]
  4. Aliouache, M.; Wang, X.; Fischer, P.; Massonnat, G.; Jourde, H. An inverse approach integrating flowmeter and pumping test data for three-dimensional aquifer characterization. J. Hydrol. 2021, 603, 126939. [Google Scholar] [CrossRef]
  5. Alzraiee, A.H.; Baú, D.; Elhaddad, A. Estimation of heterogeneous aquifer parameters using centralized and decentralized fusion of hydraulic tomography data. Hydrol. Earth Syst. Sci. 2014, 18, 3207–3223. [Google Scholar] [CrossRef]
  6. Lee, D. Ensemble Kalman Filter for Transient Pumping Test. Ph.D. Dissertation, Seoul National University Graduate School, Seoul, Republic of Korea, 2022. [Google Scholar]
  7. Sánchez-León, E.; Leven, C.; Erdal, D.; Cirpka, O.A. Comparison of two ensemble-Kalman filter based methods for estimating aquifer parameters from real 3-D hydraulic and tracer tomographic tests. Geosciences 2020, 10, 462. [Google Scholar] [CrossRef]
  8. Poeter, E.P.; Hill, M.C. Inverse models: A necessary next step in ground-water modeling. Groundwater 1997, 35, 250–260. [Google Scholar] [CrossRef]
  9. Tonkin, M.J.; Doherty, J. A hybrid regularized inversion methodology for highly parameterized environmental models. Water Resour. Res. 2005, 41, W10412. [Google Scholar] [CrossRef]
  10. Ahmed, A.S.; Jardani, A.; Revil, A.; Dupont, J.-P. Hydraulic conductivity field characterization from the joint inversion of hydraulic heads and self-potential data. Water Resour. Res. 2014, 50, 3502–3522. [Google Scholar] [CrossRef]
  11. Jardani, A.; Revil, A.; Dupont, J.-P. Stochastic joint inversion of hydrogeophysical data for salt tracer test monitoring and hydraulic conductivity imaging. Adv. Water Resour. 2013, 52, 62–77. [Google Scholar] [CrossRef]
  12. Leng, C.H.; Yeh, H.-D. Aquifer parameter identification using the extended Kalman filter. Water Resour. Res. 2003, 39. [Google Scholar] [CrossRef]
  13. Hantush, M.M.; Mariño, M.A. Estimation of spatially variable aquifer hydraulic properties using Kalman filtering. J. Hydraul. Eng. 1997, 123, 1027–1035. [Google Scholar] [CrossRef]
  14. Theis, C.V. The relation between the lowering of the piezometric surface and the rate and duration of discharge of a well using ground-water storage. Eos Trans. Am. Geophys. Union 1935, 16, 519–524. [Google Scholar] [CrossRef]
  15. Cooper, H.H.C., Jr.; Jacob, C.E. A generalized graphical method for evaluating formation constants and summarizing well-field history. Eos Trans. Am. Geophys. Union 1946, 27, 526–534. [Google Scholar]
  16. Neuman, S.P. Effect of partial penetration on flow in unconfined aquifers considering delayed gravity response. Water Resour. Res. 1974, 10, 303–312. [Google Scholar] [CrossRef]
  17. Hantush, M.S. Analysis of data from pumping tests in anisotropic aquifers. J. Geophys. Res. 1966, 71, 421–426. [Google Scholar] [CrossRef]
  18. Robledo-Zavala, S. Interpretación De Pruebas De Acuífero Empleando El Filtro De Kalman Dinámico. Bacherlor’s Thesis, Universidad Autónoma de Zacatecas, Unidad Académica de Ingeniería Civil, Zacatecas, Mexico, 2018. [Google Scholar]
  19. Rathod, K.S.; Rushton, K.R. Interpretation of Pumping from Two-Zone Layered Aquifers Using a Numerical Model. Groundwater 1991, 29, 499–509. [Google Scholar] [CrossRef]
  20. Titov, K.; Konosavsky, P.; Narbut, M. Pumping test in a layered aquifer: Numerical analysis of self-potential signals. J. Appl. Geophys. 2015, 123, 188–193. [Google Scholar] [CrossRef]
  21. Naderi, M. Estimating confined aquifer parameters using a simple derivative-based method. Heliyon 2019, 5, e02657. [Google Scholar] [CrossRef]
  22. Kirlas, M.C.; Nagkoulis, N. Effects of pumping flow rates on the estimation of hydrogeological parameters. J. Hydroinformatics 2023, 25, 611–627. [Google Scholar] [CrossRef]
  23. Şen, Z. Adaptive pumping test analysis. J. Hydrol. 1984, 74, 259–270. [Google Scholar] [CrossRef]
  24. Júnez-Ferreira, H.E. Use of the Kalman Filter for the Interpretation of Aquifer Tests Including Model and Measurement Errors. Water 2022, 14, 522. [Google Scholar] [CrossRef]
  25. Wang, M.; Zheng, C. Ground Water Management Optimization Using Genetic Algorithms and Simulated Annealing: Formulation and Comparison. JAWRA J. Am. Water Resour. Assoc. 1998, 34, 519–530. [Google Scholar] [CrossRef]
  26. Tayfur, G. Modern optimization methods in water resources planning, engineering and management. Water Resour. Manag. 2017, 31, 3205–3233. [Google Scholar] [CrossRef]
  27. Ritzel, B.J.; Eheart, J.W.; Ranjithan, S. Using genetic algorithms to solve a multiple objective groundwater pollution containment problem. Water Resour. Res. 1994, 30, 1589–1603. [Google Scholar] [CrossRef]
  28. Ayaz, M.D. Groundwater pollution source identification using genetic algorithm based optimization model. Int. J. Comput. Sci. Eng. 2017, 5, 65–72. [Google Scholar] [CrossRef]
  29. Holland, J.H. Adaptation in Natural and Artificial Systems: An Introductory Analysis with Applications to Biology, Control, and Artificial Intelligence; MIT Press: Cambridge, MA, USA, 1992. [Google Scholar]
  30. Nelder, J.A.; Mead, R. A simplex method for function minimization. Comput. J. 1965, 7, 308–313. [Google Scholar] [CrossRef]
  31. Wright, M.H. Direct search methods: Once scorned, now respectable. In Numerical Analysis: Proceedings of the 1995 Dundee Biennial Conference in Numerical Analysis; Griffiths, D.F., Watson, G.A., Eds.; Addison-Wesley: Harlow, UK, 1996; pp. 191–208. [Google Scholar]
  32. Kruseman, G.P.; De Ridder, N.A.; Verweij, J.M. Analysis and Evaluation of Pumping Test Data; International Institute for Land Reclamation and Improvement: Wageningen, The Netherlands, 1970; Volume 11. [Google Scholar]
  33. Todd, D.K.; Mays, L.W. Groundwater Hydrology; John Wiley & Sons: Hoboken, NJ, USA, 2004. [Google Scholar]
  34. Appiah-Adjei, E.K.; Shu, L.; Adjei, K.A.; Lu, C.; Deng, M. Interpretation of pumping test with radial collector well using a reservoir model. J. Hydrol. Eng. 2012, 17, 1397–1407. [Google Scholar] [CrossRef]
Figure 1. Flow diagram for applying the proposed method.
Figure 1. Flow diagram for applying the proposed method.
Water 17 01271 g001
Figure 2. Filtering of measured drawdown data ( s obs ) with T = 430.92   m 3 d 1 and S = 0.00016 for the “Oude Korendijk” pumping test.
Figure 2. Filtering of measured drawdown data ( s obs ) with T = 430.92   m 3 d 1 and S = 0.00016 for the “Oude Korendijk” pumping test.
Water 17 01271 g002
Figure 3. Adequacy of the standard deviations for the estimation errors computed with the Kalman filter for the “Oude Korendijk” pumping test.
Figure 3. Adequacy of the standard deviations for the estimation errors computed with the Kalman filter for the “Oude Korendijk” pumping test.
Water 17 01271 g003
Figure 4. Filtering of measured drawdown data ( s obs ) with T = 1140.57   m 2 d 1 and S = 0.00019 for the “Todd and Mays” pumping test.
Figure 4. Filtering of measured drawdown data ( s obs ) with T = 1140.57   m 2 d 1 and S = 0.00019 for the “Todd and Mays” pumping test.
Water 17 01271 g004
Figure 5. Adequacy of the standard deviations for the estimation errors computed with the Kalman filter for the “Todd and Mays” pumping test.
Figure 5. Adequacy of the standard deviations for the estimation errors computed with the Kalman filter for the “Todd and Mays” pumping test.
Water 17 01271 g005
Figure 6. Filtering of measured drawdown ( s obs ) data with T = 1140.97   m 2 d 1 and S = 0.00019 for the “Todd and Mays” pumping test with added Gaussian noise.
Figure 6. Filtering of measured drawdown ( s obs ) data with T = 1140.97   m 2 d 1 and S = 0.00019 for the “Todd and Mays” pumping test with added Gaussian noise.
Water 17 01271 g006
Figure 7. Adequacy of the standard deviations for the estimation errors computed with the Kalman filter for the “Todd and Mays” pumping test with added Gaussian noise.
Figure 7. Adequacy of the standard deviations for the estimation errors computed with the Kalman filter for the “Todd and Mays” pumping test with added Gaussian noise.
Water 17 01271 g007
Table 1. Observed drawdown measurements s obs from the “Oude Korendijk” pumping test [32].
Table 1. Observed drawdown measurements s obs from the “Oude Korendijk” pumping test [32].
Time After Pumping
Started (min)
Drawdown (m)Time After Pumping
Started (min)
Drawdown (m)
0.100.04018.000.680
0.250.08027.000.742
0.500.13033.000.753
0.700.18041.000.779
1.000.23048.000.793
1.400.28059.000.819
1.900.33080.000.855
2.330.36095.000.873
2.800.390139.000.915
3.360.420181.000.935
4.000.450245.000.966
5.350.500300.000.990
6.800.540360.001.007
8.300.570480.001.050
8.700.580600.001.053
10.000.600728.001.072
13.100.640830.001.088
Table 2. Observed drawdown s obs measurements from the “Todd and Mays” pumping test [33].
Table 2. Observed drawdown s obs measurements from the “Todd and Mays” pumping test [33].
Time After Pumping
Started (min)
Drawdown (m)Time After Pumping
Started (min)
Drawdown (m)
10.2240.72
1.50.27300.76
20.3400.81
2.50.34500.85
30.37600.9
40.41800.93
50.451000.96
60.481201
80.531501.04
100.571801.07
120.62101.1
140.632401.12
180.67
Table 3. Parameters estimated by different methodologies [24] for the “Oude Korendijk” pumping test.
Table 3. Parameters estimated by different methodologies [24] for the “Oude Korendijk” pumping test.
ParameterTheis ProcedureCooper–Jacob
Procedure
Aquifer Win
(Theis Solution)
Sen ProcedureCooper–Jacob and Kalman Filter
Procedure
(VDME = 0.01 m2)
Theis and Kalman Filter-Based Proposed Procedure
(VDME = 0.015 m2)
T m 2 d 1 342–418401480.67342–420505.76430.92
S   0.000170.000170.000110.00016–0.00020.0000880.00016
Table 4. Parameters estimated by different methodologies [24] for the “Todd and Mays” pumping test.
Table 4. Parameters estimated by different methodologies [24] for the “Todd and Mays” pumping test.
ParameterTheis ProcedureCooper–Jacob
Procedure
Aquifer Win
(Theis Solution)
Cooper–Jacob and Kalman Filter
Procedure
(VDME = 0.01 m2)
Theis and Kalman Filter-Based Proposed Procedure
(VDME = 0.004 m2)
T m 2 d 1 111011441138.171180.431140.57
S   0.000210.000190.000190.000170.00019
Table 5. Modified drawdown measurements from the “Todd and Mays” pumping test with added Gaussian noise.
Table 5. Modified drawdown measurements from the “Todd and Mays” pumping test with added Gaussian noise.
Time After Pumping
Started (min)
Drawdown (m)Time After Pumping
Started (min)
Drawdown (m)
10.242240.753
1.50.283300.768
20.260400.824
2.50.341500.816
30.389600.886
40.396800.976
50.4631000.938
60.4891200.943
80.5341500.989
100.5671801.081
120.6162101.171
140.6662401.157
180.644
Table 6. Root Mean Square Error and Normalized Root Mean Square Error (%) for the pumping test data presented in this work.
Table 6. Root Mean Square Error and Normalized Root Mean Square Error (%) for the pumping test data presented in this work.
Pumping Test DataRMSE (m)NRMSE (%)
Oude Korendijk0.01261.9335
Todd and Mays0.00260.3825
Todd and Mays with Gaussian noise0.00680.9970
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Rivas-Recendez, M.I.; Júnez-Ferreira, H.E.; González-Trinidad, J.; Júnez-Ferreira, C.A.; Silva-Ávalos, R.U.; Muñoz de la Torre, E. Eliminating Noise of Pumping Test Data Using the Theis Solution Implemented in the Kalman Filter. Water 2025, 17, 1271. https://doi.org/10.3390/w17091271

AMA Style

Rivas-Recendez MI, Júnez-Ferreira HE, González-Trinidad J, Júnez-Ferreira CA, Silva-Ávalos RU, Muñoz de la Torre E. Eliminating Noise of Pumping Test Data Using the Theis Solution Implemented in the Kalman Filter. Water. 2025; 17(9):1271. https://doi.org/10.3390/w17091271

Chicago/Turabian Style

Rivas-Recendez, Maria Ines, Hugo Enrique Júnez-Ferreira, Julián González-Trinidad, Carlos Alberto Júnez-Ferreira, Raúl Ulices Silva-Ávalos, and Eric Muñoz de la Torre. 2025. "Eliminating Noise of Pumping Test Data Using the Theis Solution Implemented in the Kalman Filter" Water 17, no. 9: 1271. https://doi.org/10.3390/w17091271

APA Style

Rivas-Recendez, M. I., Júnez-Ferreira, H. E., González-Trinidad, J., Júnez-Ferreira, C. A., Silva-Ávalos, R. U., & Muñoz de la Torre, E. (2025). Eliminating Noise of Pumping Test Data Using the Theis Solution Implemented in the Kalman Filter. Water, 17(9), 1271. https://doi.org/10.3390/w17091271

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop