Next Article in Journal
Aerodynamic Performance Assessment of Multiple Car Body Configurations: A Comparative Study
Next Article in Special Issue
Mathematical Modeling and Comparative Evaluation of PI and PID Speed Controllers for Electric Vehicle Traction Systems
Previous Article in Journal
Fractional Zener Modeling of the Viscoelastic Behavior of PET/rGO Composites
Previous Article in Special Issue
Practical Significance of Reliability-Based Structural Design: Application to Electro-Mechanical Components
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Automated Water Hammer Analysis for Fracture Parameter Inversion Using High-Frequency Shut-In Pressure Signals During Hydraulic Fracturing

1
College of Resources and Safety Engineering, Chongqing University, Chongqing 400044, China
2
State Key Laboratory of Coal Mine Disaster Dynamics and Control, Chongqing 400044, China
*
Author to whom correspondence should be addressed.
Modelling 2026, 7(3), 87; https://doi.org/10.3390/modelling7030087
Submission received: 14 April 2026 / Revised: 23 April 2026 / Accepted: 24 April 2026 / Published: 30 April 2026

Abstract

Hydraulic fracture geometry is of great importance for evaluating stimulation effectiveness and supporting the efficient development of unconventional oil and gas reservoirs, and it can be estimated from field shut-in water hammer signals. However, field signals are commonly characterized by strong noise, pronounced non-stationarity, strong dependence on manual extraction of effective response segments, and limited automation in inversion analysis. To address these issues, this study develops an integrated automated interpretation framework for shut-in water hammer analysis, which combines an adaptive shape-preserving Kalman filter for non-stationary signal denoising, an automatic response segment identification method, and a particle swarm optimization-based inversion strategy for fracture geometry estimation. The framework is validated using field high-frequency pressure data from hydraulically fractured wells. The results show that the proposed denoising method improves the signal-to-noise ratio from 11.99 dB to 25.05 dB while preserving key transient features. The response segments can be extracted efficiently, with runtimes of 0.84–1.22 s and onset errors within 0–5 s. For a representative fracturing stage, the relative errors of the inverted fracture half-length and fracture height are 6.21% and 3.04%, respectively. The proposed framework provides a low-cost and field-applicable tool for fracture evaluation and engineering decision-making.

1. Introduction

With the growing importance of unconventional oil and gas resources as a major contributor to global hydrocarbon reserve replacement and production growth, hydraulic fracturing has become a key technique for the effective stimulation of unconventional reservoirs [1,2,3]. The geometric characteristics of hydraulic fractures, such as half-length, height, and volume, directly govern post-fracturing well productivity and ultimate recovery [4]. Therefore, developing an efficient, reliable, and field-applicable method for fracture parameter monitoring and interpretation is of great significance for evaluating fracturing performance and optimizing subsequent development strategies [5,6]. At present, fracture monitoring mainly relies on techniques such as microseismic monitoring, distributed fiber-optic sensing, and downhole imaging. Although these methods have played an important role in characterizing fracture propagation and geometry [7,8,9,10], they often suffer from practical limitations, including operational complexity, high cost, and limited suitability for large-scale real-time field applications [11]. In contrast, water hammer-based diagnostics, which utilize the transient wellhead pressure response after pump shut-in, can directly take advantage of high-frequency pressure data recorded during fracturing operations without requiring additional downhole tools. This approach therefore offers several notable advantages, including ease of implementation, low interpretation costs, and strong engineering applicability [12,13]. Because the propagation of water hammer waves within the coupled wellbore–fracture system is highly sensitive to bottom boundary conditions and fracture properties, these transient signals provide a solid theoretical basis for fracture parameter inversion [14,15,16,17,18,19]. Despite the initial application of water hammer analysis in oil and gas development, several critical challenges still hinder its engineering deployment for the interpretation of high-frequency field pressure signals. First, field water hammer signals are commonly contaminated by strong noise and non-stationary disturbances, and conventional filtering methods often struggle to suppress noise while preserving transient waveform characteristics [20]. Second, the extraction of effective water hammer response segments still relies heavily on manual experience, and a unified, repeatable, and automated identification method remains lacking, making it difficult to process large volumes of data from multiple stages or wells efficiently [21,22]. Third, fracture parameter inversion is intrinsically a strongly nonlinear and highly constrained optimization problem. Existing studies have not yet established an integrated automated interpretation framework that effectively couples signal preprocessing, event identification, and physics-constrained inversion, thereby limiting both the efficiency and robustness of inversion results [23,24].
To address these challenges, this study develops an integrated and automated water hammer-based framework for fracture parameter interpretation using high-frequency shut-in pressure signals acquired during hydraulic fracturing. The framework combines a coupled wellbore–fracture forward model, an adaptive shape-preserving Kalman filter for denoising non-stationary signals, an objective response segment identification scheme constrained by pressure derivatives, multi-window statistics, and signal envelopes, and a global optimization-based inversion strategy for fracture geometry estimation. In this way, the proposed method enables a seamless transition from raw pressure data to physics-constrained fracture interpretation, reducing subjective intervention and improving the efficiency, robustness, and engineering applicability of water hammer analysis under field conditions.

2. Model Description

2.1. Water Hammer Model

The propagation of water hammer waves in the wellbore is essentially governed by the combined effects of fluid mass conservation and momentum conservation. Its transient response is jointly controlled by wellbore geometric parameters, fluid compressibility, tubing elasticity, and bottomhole boundary conditions. For transient flow propagating along the wellbore axis, the classical water hammer theory can be employed to establish the coupled governing equations for pressure and flow rate, thereby describing the propagation and attenuation of pressure disturbances immediately following pump shut-in.
The transient pressure behavior in the wellbore is governed by the one-dimensional momentum and continuity equations [25]:
Q t + g A H x + f Q | Q | 2 D A = 0
H t + a 2 g A Q x = 0
where a denotes the wave velocity, m/s; A is the cross-sectional area of the pipe, m2; Q is the flow rate, m3/s; and D is the pipe diameter, m.
H = P ρ g + z
where H is the hydraulic head, m; and z is the elevation above the reference datum, m. The water hammer wave velocity in the wellbore can be expressed as follows [26]:
a = K / ρ 1 + ( K / E ) ψ
where K denotes the bulk modulus, GPa; ρ is the fluid density, kg/m3; E is the Young’s modulus of the pipe wall, GPa; and Ψ is a dimensionless parameter introduced to account for different structural conditions, including rigid pipes, thick-walled elastic pipes, thin-walled elastic pipes, and tunnels passing through hard rock. It is determined by the following equation:
ψ = D e ( 1 v 2 )
where e is the pipe wall thickness (mm), and ν is the Poisson’s ratio of the pipe material. Equations (1) and (2) constitute a pair of linear hyperbolic partial differential equations and therefore can only be solved numerically. To this end, the method of characteristics is employed to transform the governing partial differential equations into four ordinary differential equations, which are subsequently solved using the finite difference method. The resulting formulations can be written in terms of the characteristic equations along the C+ and C lines, as given in Equations (6) and (7).
C + :   H i t + Δ t = H i 1 t B Q i t + Δ t Q i 1 t r Q i 1 t Q i 1 t
C :   H i t + Δ t = H i + 1 t + B Q i t + Δ t Q i + 1 t + r Q i + 1 t Q i + 1 t
where B denotes the characteristic impedance of the pipe, as given by B = a g A ; r denotes the pipe resistance coefficient, as defined by r = f x 2 g D A 2 ; and f is the friction factor appearing in Equation (8):
1 f = 2 log 1 3.7065 ( ε D ) 5.0452 Re log 1 2.8257 ε D 1.1098 + 5.8506 Re 0.8981
where D is the pipe diameter, m; ε is the pipe roughness; and Re is the Reynolds number. To fully characterize the coupled wellbore–fracture transient response after pump shut-in during hydraulic fracturing, both the wellhead flow boundary condition and the bottomhole fracture boundary condition must be specified.
At the wellhead, the flow rate is assumed to decrease linearly to zero during pump shutdown. Accordingly, the wellhead boundary condition can be defined in terms of the variation in flow rate, as expressed in Equation (9).
Q 1 t = Q 0 τ ( t )
where Q(t) denotes the wellhead boundary flow rate, which varies with time during pump shut-in. By incorporating the wellhead flow boundary condition, the corresponding characteristic equations can be solved simultaneously to obtain the transient pressure response at the wellhead boundary. Based on the prescribed wellhead boundary flow rate, the hydraulic head at the wellhead boundary can then be calculated by combining Equations (7) and (9).
To simplify the bottomhole boundary, multiple fractures are represented by an equivalent single-fracture system. Following the bottomhole fracture boundary formulation proposed by Carey et al. [14], the fracture boundary condition can be modeled by an equivalent electrical circuit consisting of constants R, C and I.
Accordingly, the boundary condition is expressed as follows:
ρ g Δ H = R Q + 1 C Q d t + I d Q d t
The relationships among R, C and I are given by Equations (11)–(14). In the RCI-equivalent circuit model, R, C, and I correspond to the resistance, capacitance, and inductance elements in an electrical circuit, respectively. In the hydraulic fracturing model, R characterizes the resistance effect generated during fluid flow in the near-wellbore region, mainly reflecting near-wellbore frictional losses (Pa·s/m3); C represents the storage and elastic response capacity of the fracture system, corresponding to the capacitance associated with fracture compliance (m3/Pa); and I characterizes the inertial effect of fluid flow in the wellbore–fracture coupled system, i.e., the inertance of the system (Pa/(m3/s2)).
R = Δ P n w f Q 0
C = Δ V Δ P
Q = C d P d t
Δ P = R Q = I d Q d t
where Q0 is the injection rate before pump shut-in, m/s, ΔPnwf is the near-wellbore frictional pressure drop, MPa, ΔV is the change in fracture volume, m3, and ΔP is the change in fracture pressure, MPa. The average net pressure ΔP0 is defined as the difference between the average fracture pressure ( P B H Δ P n w f ) and the minimum horizontal principal stress ( S H min ), MPa.
Δ P 0 = ( P B H Δ P n w f ) S H min
The average net pressure is related to the fracture dimensions through the following equation, and the fractures are classified into long fractures (2Lf/hf ≥ 1) and short fractures (2Lf/hf < 1) [27].
Δ P 0 = 4 π 2 E 1 ν 2 E ( m ) w max ( 1 L f , 2 L f )
E(m) is the complete elliptic integral of the second kind, where the definition of m is given in Equation (18).
E ( m ) = 0 1 1 m 2 t 2 1 t 2 d t
m = 1 min ( 1 L f , 2 L f ) max ( 1 L f , 2 L f ) 2
The formulas for calculating fracture length, width, and height are given below.
L f = C I Δ P 0 ρ
h f = 4 E ` E ( m ) C π 2 L f 2 ( short   fracture ) 4 E ` E ( m ) C π 2 L f   ( long   fracture )
w = ρ L f I h f
E ` = E 1 ν 2
where Lf is the fracture half-length, m, hf is the fracture height, m, and w is the fracture width, m.
Previous studies have demonstrated that water hammer models based on RCI boundary conditions can effectively characterize the effects of the bottomhole fracture system on pressure wave propagation and attenuation, and have been successfully applied to the analysis of fracture length, attenuation behavior, and multi-cluster fracturing responses [28]. Related studies further indicate that water hammer signals are highly sensitive to fracture geometry and near-wellbore boundary conditions, and generally show good agreement with monitoring results obtained from microseismic and other diagnostic techniques [29]. Therefore, the integration of water hammer dynamic models with automated signal identification and global optimization-based inversion methods provides both a sound theoretical foundation and practical engineering feasibility for the quantitative interpretation of hydraulic fracture parameters in field applications.

2.2. Adaptive Kalman Filter-Based Shape-Preserving Denoising

Field water hammer signals recorded after pump shut-in during hydraulic fracturing typically exhibit pronounced non-stationary characteristics. At the initial stage of pump shut-in, the pressure usually undergoes a rapid drop, followed by a stage of continuously decaying oscillations, and finally transitions gradually into a relatively stable recovery process. Meanwhile, measured data are often contaminated by high-frequency random noise, local spike outliers, and abnormal disturbances, which can easily obscure the effective transient features of the original signal. If feature identification and parameter fitting are performed directly on the raw signal, significant errors may be introduced. The classical Kalman filtering method has a solid theoretical foundation in time-series signal processing and achieves optimal state estimation of the system through recursive updating [30]. However, this method usually assumes that the process noise covariance and observation noise covariance are constant, that is, the system approximately satisfies stationary conditions. In the case of water hammer signals, which represent a typical non-stationary scenario, fixed noise parameters are difficult to adapt to the signal characteristics at different stages. During periods of abrupt transient variation, the filter response may lag behind the actual signal, leading to amplitude attenuation; during relatively stable stages, insufficient noise suppression may occur. Therefore, it is necessary to introduce an adaptive improvement to the conventional Kalman filter.
To address the above issues, this study proposes an adaptive Kalman filtering method driven by local variation intensity. Based on the local rate of change in the pressure signal, a dimensionless indicator reflecting the dynamic characteristics of the signal is constructed, and the noise parameters in the filtering process are dynamically adjusted accordingly, thereby achieving stage-wise adaptive optimization of the filtering performance.
(1)
Data preprocessing
Let the original pressure time series be defined as follows:
P ( t i ) ,   i = 1 , 2 , , N
Here, ti denotes the sampling time, p(ti) is the corresponding wellhead pressure value, and N is the total number of sampling points. To correct isolated spike outliers that may occur in the acquired data, a Hampel filtering method based on the local median and median absolute deviation (MAD) is first employed for robust preprocessing. For the i-th sampling point, within a local window Ωi centered at that point with a half-window length of k, the local median is defined as follows:
p ˜ i = median { p ( t j ) j Ω i }
where p ˜ i denotes the local median within the window corresponding to the i-th point, median { · } represents the median operator, p ( t j ) denotes the j-th pressure value within the window, and Ωi is the moving window set centered at the i-th point.
The local scale estimate is given by the following:
σ i = 1.4826 median ( | p ( t j ) p ˜ i | , j Ω i )
where σ i denotes the locally robust estimate of the standard deviation, MPa, 1.4826 is the scaling factor used to convert the MAD into an estimate of the standard deviation, and p ( t j ) p ˜ i represents the residual relative to the median, MPa.
If a sampling point satisfies the outlier criterion, it is identified as an isolated outlier and replaced with the local median; otherwise, the original value is preserved.
| p ( t i ) p ˜ i | > n σ σ i
n σ σ i is the threshold coefficient used for outlier identification and is typically chosen in the range of 3–5.
After this treatment, a pre-cleaned pressure series, ppre(ti) is obtained, namely, the pressure series after outlier correction, MPa. The purpose of this step is to remove local spike outliers without distorting the main pressure fluctuation pattern, thereby preventing anomalous points from being amplified during subsequent differentiation and threshold-based identification.
(2)
Construction of the variation intensity indicator
To characterize the variation intensity of the water hammer signal at different stages, the rate of pressure change between two adjacent sampling instants is adopted in this study as the basic measure of local variation intensity. This indicator can reflect the dynamic differences in the pressure signal during transient abrupt changes, oscillatory decay, and stable recovery stages. A larger rate of change indicates that the signal is more likely to be in a genuine transient response stage near that instant, whereas a smaller rate of change suggests that the signal tends to become stable and that the proportion of noise components may be higher.
Therefore, after obtaining the preprocessed series, a local variation intensity indicator is further constructed to enable the subsequent adaptive adjustment of filtering parameters. The adjacent difference and the time step are defined as follows:
Δ p i = p pre ( t i ) p pre ( t i 1 )
Δ t i = t i t i 1
where Δpi and Δti denote the pressure difference (MPa) and the time interval (s) between two adjacent sampling points, respectively. Accordingly, the absolute value of the local pressure-change slope can be expressed as follows:
s i = Δ p i Δ t i
where si denotes the absolute value of the pressure change rate, MPa/s.
Considering that field signals often contain outliers and non-Gaussian disturbances, the median smed and the median absolute deviation smad of this sequence are further calculated to improve robustness against abnormal local fluctuations. Based on these quantities, a normalized motion score is constructed as follows:
m i = s i s med 3 s mad
where smed denotes the median of the slope sequence, and smad denotes the median absolute deviation of the slope sequence.
It is then constrained to the interval [0, 1], as follows:
m i = min ( 1 , max ( 0 , m i ) )
where mi is the normalized variation intensity indicator, ranging from 0 to 1, and min and max denote the truncation functions. A larger value of mi indicates that the signal changes more abruptly in the vicinity of that time instant, and is therefore more likely to correspond to a genuine transient response rather than a stable background segment. In the present algorithm, this indicator is used to dynamically adjust the process noise and observation noise in the Kalman filtering procedure.
(3)
Adaptive updating of Q and R
On this basis, an adaptive adjustment model for the process noise and observation noise is established as follows:
Q k = Q 0 · ( 1 + α m k )
R k = R 0 · max ( β , 1 γ m k )
where Q0 and R0 are the baseline process noise and observation noise parameters, respectively; α and γ are adjustment coefficients; and β is the lower-bound constraint parameter for the observation noise. The core idea of this adaptive strategy is as follows: when the signal varies abruptly, Qk is increased to enhance the filter’s responsiveness to state variations, while Rk is reduced to increase confidence in the observations, thereby avoiding excessive smoothing of the true oscillatory signal. In contrast, when the signal tends to become stable, Qk is reduced and Rk is increased so as to strengthen the denoising capability.
(4)
Standard Kalman filtering recursion
After the dynamic updating of the noise parameters is completed, the filtering process still follows the standard recursive Kalman filtering framework, including two stages: state prediction and measurement update.
x ^ k | k 1 = x ^ k 1 | k 1
P k | k 1 = P k 1 | k 1 + Q k
K k = P k | k 1 P k | k 1 + R k
Through the above adaptive mechanism, the filter can dynamically match signal characteristics across different time scales, thereby enabling shape-preserving denoising of transient water hammer signals. Compared with the conventional Kalman filter with fixed parameters, the proposed method significantly reduces high-frequency noise interference while preserving the amplitude and phase characteristics of pressure oscillations, thus improving the signal-to-noise ratio and interpretability of the signal.
Overall, the proposed adaptive Kalman filtering method based on local variation intensity can adjust the filtering parameters in real time according to the dynamic variation characteristics of the pressure signal, achieving a better balance between suppressing high-frequency noise and preserving effective transient features. Compared with fixed-parameter filtering, the present method is able to dynamically match signal variation characteristics over time scales and effectively suppress high-frequency noise and local abnormal disturbances while retaining the principal oscillation period, amplitude, and phase information of the water hammer signal. This method provides higher-quality input data for the subsequent automatic identification of effective water hammer segments and inversion of fracture parameters, and serves as a key preprocessing step in the overall automated interpretation workflow.

2.3. Automatic Identification Algorithm

Conventional water hammer signal analysis usually relies on manually extracting effective response segments from the pressure–time curve, followed by model fitting and interpretation. This process is not only time-consuming, but also strongly dependent on the interpreter’s experience, resulting in considerable subjectivity. Since the triggering of a water hammer event is typically accompanied by a pronounced pressure drop, the first-order derivative of pressure with respect to time can serve as an important basis for identifying candidate onset points. However, relying solely on negative derivatives is insufficient to distinguish genuine water hammer events from ordinary local fluctuations. To address this issue, this study introduces multi-window statistical criteria on the basis of derivative detection, so as to jointly constrain the pressure characteristics before and after candidate time instants. Considering that the water hammer phenomenon essentially originates from the short-term propagation of pressure waves induced by abrupt changes in fluid velocity, an automated identification algorithm is developed based on pressure-derivative features, local statistical characteristics, and oscillatory attenuation behavior to detect and extract physically meaningful effective water hammer response segments. The algorithm can automatically determine the triggering time, principal oscillation interval, and termination position of a water hammer event, and can further screen and score candidate segments, thereby enabling the automatic identification of multiple water hammer signals.
(1)
Adaptive filtering
The field-measured pressure signal, p(t) is first filtered to improve its signal-to-noise ratio, thereby reducing the influence of sensor noise and high-frequency interference on the pressure data.
p ˜ ( t ) = S p ( t p r e )
In this equation, P(t) denotes the original pressure signal, MPa, while p ˜ ( t ) represents the smoothed pressure signal, MPa. S{·} is the smoothing operator, which is implemented in this study using an adaptive Kalman filter.
(2)
Detection of candidate water hammer event segments
After shape-preserving denoising is completed, the time derivative of the pressure curve used for identification is calculated as follows:
d p d t i p smooth ( t i )
where dp/dt is the time derivative of pressure. The derivative reflects the transient rate of pressure change and serves as an important basis for identifying the triggering time of a water hammer event. However, negative slope alone is insufficient to effectively distinguish genuine water hammer events from ordinary fluctuations. Therefore, multi-window statistical criteria are further introduced in this study. For each candidate time instant ti, a preceding window, a subsequent short window, and a persistence window are defined, denoted by Wpre, Wpost and Wsus, respectively, and the following quantities are defined:
p ¯ pre ( i ) = 1 | W pre | j W pre p smooth ( t j )
p ¯ post ( i ) = 1 | W post | j W post p smooth ( t j )
p ¯ sus ( i ) = 1 | W sus | j W sus p smooth ( t j )
where p ¯ pre is the mean pressure before triggering, MPa p ¯ post is the mean pressure within the short window after triggering, MPa. p ¯ sus is the mean pressure within the persistence window, MPa. Wpre, Wpost and Wsus are the corresponding time windows, and ∣W∣ denotes the window length.
In addition, the standard deviation of the preceding window is defined as follows:
σ pre ( i ) = std { p smooth ( t j ) , j W pre }
where σ pre denotes the standard deviation of the pre-trigger window.
Meanwhile, three types of pressure drop indicators are defined as follows:
Δ p short ( i ) = p smooth ( t i ) p smooth ( t i + Δ n )
Δ p mean ( i ) = p ¯ pre ( i ) p ¯ post ( i )
Δ p sus ( i ) = p ¯ pre ( i ) p ¯ sus ( i )
Here, Δpshort denotes the instantaneous pressure drop, MPa, which characterizes the intensity of the local abrupt drop; Δpmean represents the mean pressure difference over a short time scale before and after triggering and is referred to as the mean pressure drop MPa, and Δpsus characterizes whether the signal remains in a sustained oscillatory attenuation state after the event, and is referred to as the oscillatory-stage pressure drop, MPa. Δn is the short-window length, expressed as the number of sampling points.
If a candidate point i satisfies the following conditions, then it is identified as a valid candidate triggering point.
d p d t i θ slope
p ¯ pre ( i ) θ pre
σ pre ( i ) θ std
Δ p short ( i ) θ short
Δ p mean ( i ) θ mean
Δ p sus ( i ) θ sus ,
The manually extracted results were jointly determined by field engineers with practical interpretation experience based on the onset of the pressure drop and the first complete oscillation cycle, and were therefore used as a practical reference baseline for evaluating the algorithmic identification results, rather than as absolute ground truth. The rationale for imposing the above threshold conditions is that a genuine water hammer event usually occurs after a relatively high and stable pressure plateau, and is accompanied by a pronounced short-term pressure drop followed by sustained oscillatory attenuation until the signal gradually approaches a low-pressure stable state. Therefore, compared with a single pressure-threshold method, the multi-window joint constraint is better able to capture the full structural characteristics of the water hammer formation process.
To avoid repeated identification of multiple neighboring points around the same water hammer event, candidate points with time intervals smaller than a prescribed merging threshold are grouped into the same candidate cluster. The composite score of a candidate point is defined as follows:
S i = Δ P s u s ( i ) + 0.5 Δ P m e a n ( i ) + 0.3 | ( d P d t ) i |
Si denotes the score assigned to each candidate onset point. Within each candidate cluster, only the point with the highest score is retained as the final trigger point. This scoring function does not merely emphasize abrupt changes in the pressure derivative; instead, it comprehensively accounts for the persistence of the post-drop response, the contrast between the pre- and post-event mean values, and the instantaneous rate of change. As a result, the selected trigger point is more likely to correspond to the dominant true onset of the water hammer event. This is consistent with the algorithmic procedure in which adjacent candidate points are grouped and the highest-scoring point within each cluster is chosen to define the start of the water hammer segment.
As time progresses, the oscillation energy of the water hammer gradually decays. When the pressure amplitude falls below a prescribed threshold and subsequently remains at a relatively low level, the event is considered to have ended. The amplitude threshold θ A is defined as follows:
| p ˜ ( t ) p ¯ | < θ A , t [ t p , t e ]
where te denotes the end time of the water hammer event, s, and P ¯ represents the average pressure during the stabilized stage, MPa. θ A is the amplitude threshold, which may be defined as a certain percentage of the peak amplitude.
(3)
Envelope-assisted identification of peaks and troughs
Because field pressure signals are often accompanied by local noise disturbances, directly identifying peaks and troughs from the raw signal may easily lead to misjudgment. Therefore, an envelope-assisted identification strategy is introduced in this study to improve the robustness of peak and trough detection. Specifically, the upper and lower envelopes of the signal can be constructed using either the Hilbert transform or a local-extrema connection approach. The decay trend of the envelopes is then used to identify the true dominant oscillation peaks while suppressing false peaks caused by noise or local perturbations. This treatment helps improve the stability of water hammer segment boundary determination and key feature extraction.
p e n v ± ( t ) = p ¯ ± | H [ p ˜ ( t ) ] |
Here, H · denotes the Hilbert transform operator, and H [ P ~ ( t ) ] represents the instantaneous amplitude of the signal. The decay trend of the envelope helps determine te and facilitates the elimination of false peaks caused by noise or local dissipation.

2.4. Automated Fitting and Inversion Algorithm

To quantify the agreement between the simulated results and the field measurements, this study constructs an objective function based on the sum of squared errors between the simulated pressure series and the measured pressure series. The identified effective water hammer response segment is taken as the calculation interval, and the optimal model parameters are obtained by minimizing the deviation between the two series over the entire time sequence. When necessary, weighting coefficients can also be introduced according to sampling reliability or the importance of specific time periods, so as to enhance the sensitivity of the objective function to key characteristic intervals.
To enable automatic fitting of field-measured pressure data, a global optimization-based parameter inversion strategy is employed, in which model parameters are identified by minimizing the discrepancy between simulated and measured pressure responses. The optimization framework is defined as follows. Let P(ti), i = 1, 2, …, N, denote the measured pressure series, and Psim(ti; θ) the simulated pressure obtained from the numerical model, where θ = [R,C,I] is the parameter vector to be inverted. The fitness function is defined as a weighted sum of squared errors between the simulated and measured pressures, providing a quantitative measure of the agreement between model predictions and field observations. After the optimal RCI-related parameters are obtained, they are mapped to the corresponding fracture geometric parameters through the model relationships, and the fracture half-length, fracture height, and fracture width are then calculated according to Equations (19)–(21).
J ( θ ) = 1 N i = 1 N [ P s i m ( t i , θ ) P ( t i ) ] 2
where J(θ) denotes the objective function value; Psim(ti, θ) represents the simulated pressure obtained from the model under the parameter set θ, MPa; P(ti) is the measured pressure at time, MPa; and wi is the weighting coefficient, which can be determined based on the confidence level of the measurement points or the sampling frequency.
θ * = arg min θ Ω J ( θ )
The optimization objective is expressed as min{θ ∈ Ω} J(θ), where Ω denotes the feasible domain of parameters, representing the upper and lower bounds of the search space.
Global optimization algorithms, including the Genetic Algorithm (GA), Particle Swarm Optimization (PSO), and Simulated Annealing (SA), can all be abstracted into the following unified iterative form:
θ k + 1 = Φ ( θ k , J ( θ k ) , ξ k )
where θk denotes the parameter vector at the k-th generation or iteration; represents the corresponding objective function value; ξk denotes a stochastic factor or perturbation introduced by the algorithm; and Φ ( ) is the update operator specific to each optimization algorithm.
Given the strong nonlinearity and non-uniqueness of the water hammer inversion problem, the solution may deviate from actual engineering conditions if no reasonable constraints are imposed on the parameter search ranges. Therefore, physically acceptable upper and lower bounds are specified for each parameter to be inverted. These parameter ranges are mainly determined based on field operation data, wellbore structural parameters, fundamental reservoir characteristics, and relevant literature, so that the search space retains sufficient flexibility while avoiding obviously unrealistic solutions. In addition, the inversion results must satisfy the basic physical constraints imposed by fracture geometric relationships and model boundary conditions, so as to prevent parameter combinations that achieve numerical fitting but lack engineering interpretability. By introducing parameter bounds and physical constraints, the stability and reliability of the inversion results can be improved.
To address the strong nonlinearity, multiple local optima, and pronounced parameter coupling in water hammer parameter inversion, this study employs the Particle Swarm Optimization (PSO) algorithm for global search [31]. PSO is a typical swarm intelligence optimization method with relatively simple parameter settings, easy coupling with numerical forward models, and strong global search capability in complex multimodal search spaces. It is therefore well suited for constrained optimization problems such as shut-in water hammer curve fitting [32]. During the iterative process, each particle updates its velocity and position according to its own historical best position and the global best position of the swarm, and progressively approaches the optimal solution.
The particle swarm optimization algorithm iterates as follows:
v i k + 1 = w v i k + c 1 r 1 ( p i x i k ) + c 2 r 2 ( g x i k ) x i k + 1 = x i k + v i k + 1
Here, w is the inertia weight, c1 is the cognitive acceleration coefficient, and c2 is the social acceleration coefficient. r1 and r2 are random numbers uniformly distributed within the interval [0, 1]. vik+1 represents the velocity of the i-th particle in the k + 1-th iteration, while xik+1 denotes the spatial position of the i-th particle in the k + 1-th iteration.
In summary, this study employs the Particle Swarm Optimization (PSO) algorithm to perform parameter searching for the water hammer model and to achieve automatic fitting to the field-measured pressure data. During the iterative process, each particle updates its velocity and position according to its own historical best position and the global best position of the swarm, and gradually converges toward the minimum value of the objective function. By coupling PSO with the above wellbore–fracture coupled forward model, automatic matching between the simulated and measured pressure curves can be achieved over the effectively identified pressure segment, thereby yielding the optimal estimates of the fracture geometric parameters.
The workflow diagram of the automatic water hammer pressure analysis algorithm, including the automatic recognition algorithm and automatic fitting algorithm, is shown in Figure 1.

3. Base Case

3.1. Synthetic Ideal Water Hammer Signal

To verify the denoising and identification capability of the proposed method for water hammer signals under complex noise conditions, an idealized water hammer pressure response signal was first constructed to simulate the typical transient variation process of wellhead pressure after pump shut-in during hydraulic fracturing. The ideal signal consists of three stages: an initially relatively stable pressure plateau, a rapid pressure drop triggered by pump shut-in, and the subsequent decaying oscillation process. To better approximate actual hydraulic fracturing shut-in conditions, local fracture response disturbances were introduced into the ideal response at 13.4 s and 13.5 s to reflect the influence of bottomhole boundary condition changes on the local characteristics of the pressure curve. The resulting ideal water hammer signal can not only represent the basic dynamic characteristics of shut-in water hammer, but also retain a certain degree of complexity, making it suitable for subsequent algorithm performance evaluation (show in Figure 2).
On this basis, to simulate the random noise interference commonly present in field monitoring data, random noise was superimposed onto the ideal water hammer signal to generate a noisy water hammer signal, as shown in Figure 3. It can be observed that, after noise contamination, both the overall amplitude and local details of the signal are significantly disturbed, and the original water hammer oscillation characteristics are partially obscured. In particular, during the decay stage, high-frequency random fluctuations cause the signal to exhibit pronounced nonphysical oscillations.

3.2. Field Case Description

Well A is a newly drilled horizontal development well located in the Qiulin nose structure in the transitional zone between central and western Sichuan Basin. The target interval is the second member of the Shaximiao Formation, and the treated interval extends from 2502.0 to 3735.0 m, with a total length of 1233.0 m. Log interpretation indicates that the well has favorable reservoir quality and good potential for hydraulic fracturing stimulation.
Well A was completed using a plug-and-perf multistage, multi-cluster hydraulic fracturing design, with a total of 12 fracturing stages. Microseismic monitoring was conducted during the treatment to evaluate fracture geometry and stimulation effectiveness. In addition, the block where Well A is located is characterized by relatively gentle structural conditions, limited fault development, and comparatively good reservoir homogeneity, providing favorable geological conditions for fracture propagation analysis and interpretation of the monitoring results.

3.3. Fixed Input Parameters and Inversion Bounds

The field data used in this study mainly consist of three categories. The first category is the high-frequency wellhead pressure data recorded during the shut-in stage after hydraulic fracturing, which are used for water hammer signal denoising, automatic identification of effective response segments, and fracture parameter inversion, and thus constitute the core dataset of this study. The second category includes wellbore configuration and fracturing treatment parameters, such as well depth, horizontal section length, tubing diameter, wall thickness, pumping rate, shut-in parameters, and stage-and-cluster design. These data are used to establish the coupled wellbore–fracture water hammer forward model and serve as known inputs or constraints for parameter inversion. The third category is the interpreted microseismic monitoring results, which are used to validate the inverted fracture half-length and fracture height.
The basic input parameters used in the model calculations are listed in Table 1, including true vertical depth, horizontal well length, pipe diameter, pipe roughness, fluid density, elastic parameters of the tubing string, shut-in time, injection rate, and initial pressure conditions. These parameters jointly determine the pressure wave propagation characteristics in the wellbore and the boundary response of the bottomhole fracture system, and therefore provide the basis for forward simulation and parameter inversion. Fracture geometry and related boundary parameters are determined within physically reasonable ranges using a global optimization method. Based on the field data from Well A, the fixed input parameters include wellbore parameters and rock mechanical parameters, with their value ranges given in Table 1. The RCI boundary conditions are calculated using empirical fracture parameters derived from hydraulic fracturing data in the Qiulin area.

4. Result

4.1. Evaluation of Denoising Performance Using Synthetic Signals

The noisy signal was processed using the proposed adaptive filtering method, and a comparative analysis of the signals before and after filtering was performed. The results are shown in Figure 4a. As can be clearly observed, the pre-filtered signal is strongly affected by noise, making the local peaks and fluctuation structures difficult to identify accurately. After adaptive filtering, however, the signal becomes considerably smoother overall, with high-frequency noise effectively suppressed, while the principal oscillatory characteristics and decay trend of the water hammer response are well preserved.
Further examination of the locally enlarged view shows that the adaptive filtering method exhibits good stability in preserving the phase and amplitude characteristics of the signal, without introducing any obvious phase lag or amplitude attenuation. This is of great significance for the subsequent identification of water hammer characteristic parameters, such as oscillation period and attenuation coefficient. In addition, the comparison of the signal-to-noise ratio before and after filtering indicates that the proposed method can effectively suppress random noise while preserving the physical information contained in the original signal to the greatest extent possible, thereby achieving a good balance between noise reduction and waveform fidelity.
As shown in Figure 4b, the noisy signal exhibits strong high-frequency fluctuations, whereas the denoised curve closely follows the local variation trend of the ideal signal. Near local inflection points, the filtered result does not show obvious excessive lag or severe distortion, indicating that the adaptive Kalman filtering method has strong detail-preserving capability. It can not only recover the overall trend of the signal, but also retain local dynamic variations that are meaningful for subsequent feature identification.
As shown in Figure 5a, the original error exhibits a relatively large magnitude and strong dispersion. After denoising, the error converges significantly, with a markedly reduced amplitude and a distribution more concentrated around zero. This indicates that the deviation between the filtered signal and the ideal signal is substantially reduced, demonstrating good stability and accuracy of the denoising result.
As can be seen from Figure 5b, the signal-to-noise ratio (SNR) before denoising is 11.99 dB, which increases to 25.05 dB after denoising. This indicates that the filtering process improves the SNR by 13.06 dB, corresponding to an increase of 108.9%.

4.2. Evaluation of Denoising Performance Using Field High-Frequency Signals

The proposed adaptive filtering method was further applied to the processing of field-measured high-frequency water hammer signals, and the results are shown in Figure 6. It can be clearly observed that the original signal contains strong high-frequency random fluctuations and local spike interference. In particular, during the pressure drop stage and the early oscillation stage, the superposition of noise partially obscures the true water hammer response characteristics, resulting in poor signal readability.
These results indicate that the adaptive Kalman filtering method can effectively suppress random noise and local spike interference while preserving the main transient features of field water hammer signals. This improved signal quality provides a clearer basis for subsequent event identification and parameter inversion.

4.3. Performance Evaluation of the Identification Algorithm

After denoising of the pressure signal, the effective water hammer segments in the field shut-in pressure curves were further identified automatically. The identification results for a single water hammer signal are shown in Figure 7, while the results for multiple water hammer signals are presented in Figure 8. The results demonstrate that the proposed identification algorithm can accurately locate the key onset point at which the signal enters the principal oscillatory response after the pressure drop, and can reasonably determine the subsequent decay interval and the terminal stage approaching stability. For signals with relatively clear onset characteristics, the algorithm can rapidly identify the starting position of the water hammer event. For signals with long attenuation durations and gradually decreasing amplitudes at late times, the algorithm can appropriately extend the identified segment by incorporating local stability criteria, so as to preserve the principal dynamic information as much as possible.
From the perspective of time-domain correspondence, the automatically identified water hammer segments show good consistency with the typical transient response locations in the original pressure curve. The identified onset point is generally located near the initial stage of rapid pressure decline followed by oscillatory response, which helps preserve the first complete fluctuation feature. The identified end point is mostly located near the stage where the oscillation amplitude has significantly decayed and the curve gradually approaches a stable plateau, thereby reducing the influence of steady tail-end noise on subsequent inversion. For signals with relatively strong noise or obvious local disturbances, the algorithm can still achieve effective screening by relying on derivative features, multi-window statistical criteria, and envelope constraints, demonstrating good anti-interference capability.
Further analysis of Figure 8 shows that when multiple shut-in-induced transient responses exist within the same field pressure record, the proposed method is able not only to identify a single water hammer event, but also to automatically separate multiple independent effective water hammer response segments from a long time series, while determining the triggering point, peak position, and termination position of each segment individually. This indicates that the algorithm has multi-event identification capability under complex field conditions, thereby avoiding the conventional practice of manually browsing the data and extracting segments one by one based on experience. For multi-event water hammer signals, differences in background pressure level, superposed local disturbances, and attenuation behavior commonly exist among different events, so a single-threshold method is prone to missed detections, false detections, or mixing of adjacent events. In contrast, the present method combines derivative-based abrupt-change detection with multi-window statistical constraints and further screens candidate segments using envelope attenuation characteristics, enabling better physical consistency and time-domain separability of the identified water hammer segments.
It should be emphasized that the capacity for automatic identification of multiple water hammer events constitutes one of the main innovations of this study. Previous water hammer analyses have mostly focused on the processing of single and isolated response events, with the identification process relying heavily on manual experience, which makes them difficult to apply to long-duration, high-frequency, and noisy field pressure records containing multiple transient events. In contrast, the proposed method enables the automatic extraction of multiple effective water hammer signals from continuous pressure records, thus providing a basis for batch parameter inversion and dynamic analysis of fracture responses at different time instants. In particular, under field hydraulic fracturing conditions, different shut-in stages or operational transitions may correspond to multiple usable water hammer events. Automatic identification and segment-by-segment analysis of these events can improve data utilization, enhance the continuity of fracture parameter interpretation, and provide richer time-series information for characterizing the dynamic fracture propagation process.
In addition, the multi-event identification results in Figure 8 indicate that each identified segment preserves the principal oscillation period and its attenuation process well, suggesting that the algorithm is capable not only of detecting water hammer events, but also of accurately extracting the effective analysis interval. This is particularly important for subsequent model fitting, because if the starting point is identified too late, the first principal oscillation information may be missed; if the end point is selected too far, a large amount of steady tail-end noise unrelated to water hammer dynamics may be introduced, thereby reducing the stability of parameter inversion. Therefore, the proposed multi-event automatic identification method improves not only the efficiency of signal recognition, but also the consistency and reliability of the input data for subsequent fracture parameter inversion.
To quantitatively evaluate the computational efficiency and identification consistency of the proposed algorithm, batch automatic identification was further performed on the shut-in signals from all fracturing stages of Well A, and the computation time and onset-position differences for each stage were statistically analyzed. The results are shown in Figure 9. As shown in Figure 7a, the computation time is relatively concentrated across different stages, mainly ranging from 0.84 to 1.22 s, with an interquartile range of approximately 0.89–1.08 s and a median of about 1.00 s, indicating good computational stability of the algorithm under different stage conditions. Most stages can be identified within approximately 1 s, demonstrating that the proposed method is capable of meeting the demand for rapid processing and batch analysis of multi-stage high-frequency pressure data in field applications.
As shown in Figure 9b, the onset difference is generally within the range of 0–5 s, with an interquartile range of approximately 1.0–3.5 s and a median of about 2.5 s. The mean value is close to the median, suggesting that the distribution is relatively stable and does not exhibit a pronounced skewed pattern. For most stages, the onset difference is within 1–4 s, with only a few stages approaching the upper bound. Considering that field shut-in water hammer signals are commonly affected by noise interference, local abnormal disturbances, and inherently indistinct onset boundaries, while manually interpreted results themselves also involve a certain degree of subjectivity, this level of discrepancy is considered acceptable for engineering applications. Overall, these results suggest that the proposed automatic identification algorithm shows reasonable consistency with the manually interpreted reference in determining onset positions and can effectively extract meaningful water hammer response segments.
Overall, the identification results show that the proposed method can extract effective water hammer segments with short computation time and acceptable onset error. This supports its use for batch processing of multi-stage field pressure data.

4.4. Validation in the Inversion Algorithm

After the effective water hammer response segment was obtained through automatic identification, fracture parameter inversion was further carried out based on the coupled wellbore–fracture water hammer model and a global optimization algorithm. Figure 10 illustrates the inversion process for one fracturing stage. Specifically, Figure 10a shows the field shut-in pressure curve, Figure 10b shows the effective water hammer segment obtained by automatic identification, and Figure 10c presents the fitting result between the simulated shut-in water hammer curve and the measured pressure curve. It can be seen that the simulated curve reproduces well the principal oscillation period and the overall attenuation trend of the measured curve after the pressure drop, indicating that the proposed forward–inverse framework can effectively capture the main dynamic response characteristics of the coupled wellbore–fracture system.
Based on the inversion results for this fracturing stage, the fracture half-length and fracture height were determined to be 289.8 m and 44.6 m, respectively. Compared with the microseismic interpretation results, which gave a fracture half-length of 309 m and a fracture height of 46 m and are used here as an external reference rather than absolute ground truth, the two sets of results show good overall agreement, with relative differences of 6.21% and 3.04%, respectively. The relatively small errors indicate that the proposed forward–inverse workflow can recover fracture geometry with reasonable accuracy for this stage. The result also shows that useful fracture information can be extracted from shut-in water hammer signals without additional downhole monitoring.

4.5. Field Validation

From the inversion results of all 12 fracturing stages in Well A (show in Figure 11), it can be seen that the overall errors of the proposed method for both fracture half-length and fracture height remain at relatively low levels, indicating that the established automated water hammer inversion workflow has good applicability and stability under batch processing of multiple stages. Overall, the inversion results for fracture height are more concentrated and exhibit less dispersion, whereas the error distribution for fracture half-length is relatively wider, suggesting that the half-length parameter is more sensitive to inter-stage differences and field condition variations.
As shown in Figure 11, for fracture half-length, the relative error among the 12 stages ranges from 0.56% to 11.2%, with a median of 2.9% and a mean of 3.82%. As shown in the boxplot, most of the data are distributed within a relatively low error range, indicating that the inverted fracture half-lengths are generally in good agreement with the microseismic interpretation results for most stages. However, the box width and overall spread of fracture half-length are both noticeably larger than those of fracture height, and one high-value outlier of approximately 11.2% is present, indicating that the half-length inversion deviation is relatively large for a few individual stages. This suggests that fracture half-length, as a geometric parameter describing fracture extension along the wellbore direction, is more susceptible to the combined influence of nonuniform fracture propagation, reservoir heterogeneity among stages, inter-cluster interference, and uncertainties in microseismic interpretation, resulting in greater variation in its error distribution.
In contrast, the inversion results for fracture height show better concentration and stability. The statistical results indicate that the relative error of fracture height ranges from 0.17% to 6.1%, with a median of 2.2% and a mean of 2.31%. The boxplot shows that most fracture height data are concentrated within a relatively narrow range, and the overall dispersion is significantly smaller than that of fracture half-length, with only a small number of high-error points. This indicates that, under the multi-stage conditions of Well A, the proposed method is more robust in the inversion of fracture height and is less affected by local abnormal stages, yielding better overall consistency than fracture half-length.
From the overall performance of the multi-stage batch inversion results, the proposed method can stably recover fracture geometric parameters under different fracturing-stage conditions, demonstrating that the integrated workflow of signal denoising–effective segment identification–model fitting–parameter inversion has good engineering applicability. Although differences exist among stages in terms of signal quality, boundary conditions, and fracture propagation behavior, the errors of fracture half-length and fracture height for most stages remain within relatively low ranges, indicating that the method has the capability for cross-stage application.
At the same time, the fact that the overall error of fracture half-length is higher than that of fracture height also reflects that different parameters exhibit different sensitivities to model assumptions and data quality. Compared with fracture height, fracture half-length is more easily affected by complex fracture propagation paths, inter-cluster competition, local heterogeneity, and interpretation errors in monitoring data, and therefore shows larger inversion dispersion. This result is consistent with the general pattern of field fracture geometry interpretation and further suggests that, although the proposed method has good interpretive capability for both types of geometric parameters, the inversion of fracture half-length still depends more strongly on high-quality water hammer signals and more stable boundary constraints.

5. Discussion

The wellhead pressure signal after fracturing shut-in exhibits pronounced non-stationary behavior, typically including rapid pressure drop, decaying oscillations, and a later stage approaching stability. Because these stages differ substantially in variation rate, amplitude, and noise level, conventional fixed-parameter filtering methods often cannot balance noise suppression and transient-feature preservation. Excessive filtering may weaken true peak–trough characteristics and introduce phase lag or distortion, whereas insufficient filtering cannot effectively remove high-frequency noise and local disturbances. To address this issue, this study employs an adaptive shape-preserving Kalman filter driven by local variation intensity. By dynamically adjusting the process and observation noise according to local signal characteristics, the method improves tracking during rapidly varying stages while enhancing noise suppression during relatively stable stages. Results from both synthetic and field high-frequency signals show that this method can suppress random noise and spike interference while preserving key features such as pressure drop onset, dominant oscillation period, peak–trough structure, and attenuation trend.
Accurate extraction of effective water hammer segments is essential for subsequent parameter inversion. Conventional processing relies heavily on manual selection of start and end points, which is inefficient and may lead to inconsistent interpretation, especially for multi-stage high-frequency field data. The automatic identification method proposed in this study combines pressure derivatives, multi-window statistical criteria, and envelope constraints to detect water hammer events based on the pattern of “stable plateau–rapid drop–sustained decaying oscillation.” This enables identification of both clear and more complex signals with gradually weakening oscillations. Batch results show second-level computation time and engineeringly acceptable onset error, indicating a reasonable balance between efficiency and accuracy.
Although the proposed forward–inverse framework can reproduce the main dynamic characteristics of measured shut-in water hammer curves and yield fracture parameters close to microseismic interpretation results, fracture inversion remains a constrained nonlinear inverse problem. The results are affected by parameter coupling, non-uniqueness, data quality, parameter bounds, search-space settings, and the selection of effective response segments. Small differences in identified start and end points, as well as noise, sampling precision, and local disturbances, may all influence the inversion results. Therefore, the estimated fracture parameters should be regarded as quantitatively constrained estimates rather than unique solutions. Microseismic results are used here only as an external reference for validation, not as absolute ground truth.
This study also has limitations. The equivalent RCI boundary model simplifies the multi-cluster fracture system as a single composite boundary, which may reduce applicability in cases with strong fracture interaction or complex fracture networks. In addition, field validation is currently based mainly on Well A, and the number of field cases remains limited.

6. Conclusions

To address the problems of strong noise, pronounced non-stationarity, reliance on manual experience for effective water hammer segment extraction, and insufficient automation in fracture parameter inversion for high-frequency pressure signals after fracturing shut-in, this study developed an automated water hammer analysis workflow integrating signal denoising, event identification, and fracture parameter inversion. The effectiveness of the proposed method was validated using both synthetic signals and field cases. The main conclusions are as follows:
(1) An adaptive Kalman filtering method driven by local variation intensity was proposed. The method can adjust the filtering parameters in real time according to the dynamic characteristics of the signal, thereby suppressing high-frequency noise and local spike disturbances while preserving key features such as the pressure drop position, dominant oscillation period, and attenuation behavior. For the synthetic signal, the signal-to-noise ratio increased from 11.99 dB to 25.05 dB after filtering, demonstrating good shape-preserving denoising capability.
(2) A multi-event automatic identification method for effective water hammer segments was developed by combining pressure derivatives, multi-window statistical criteria, and envelope constraints. Batch identification results show that the computation time was mainly distributed between 0.84 s and 1.22 s, while the onset error was generally within 0–5 s, indicating that the method can meet the engineering requirements for rapid processing of high-frequency field pressure data and batch analysis of multiple stages.
(3) An automated fracture parameter inversion workflow was established based on the coupled wellbore–fracture water hammer model and a global optimization algorithm. The field case results show that the inverted fracture half-length and fracture height were 289.8 m and 44.6 m, respectively, with relative errors of 6.21% and 3.04% compared with the microseismic interpretation results, confirming the feasibility and reliability of the proposed method for fracture geometry characterization.
(4) The batch inversion results of all 12 fracturing stages in Well A further demonstrate that the proposed method has good applicability and stability under multi-stage conditions. The relative error of fracture half-length ranges from 0.56% to 11.2%, with a median of 2.9% and a mean of 3.82%. The relative error of fracture height ranges from 0.17% to 6.1%, with a median of 2.2% and a mean of 2.31%.
(5) The inversion results for fracture height are more concentrated and stable than those for fracture half-length, whereas fracture half-length is more sensitive to inter-stage differences, signal quality, and variations in boundary conditions.
Overall, this study established an end-to-end automated workflow for shut-in water hammer analysis and provides a low-cost and practical approach for fracture evaluation in unconventional oil and gas wells. By using routinely acquired high-frequency shut-in pressure data, the proposed method has the potential to support rapid fracture assessment and engineering decision-making without requiring additional downhole monitoring tools. Future work should focus on improving boundary characterization under complex conditions and further validating the method with more field cases.

Author Contributions

Methodology, M.Z.; software, M.Z.; validation, M.Z.; formal analysis, M.Z.; resources, H.W.; data curation, H.W.; writing—original draft preparation, M.Z.; writing—review and editing, H.W.; visualization, M.Z.; supervision, H.W.; project administration, H.W. 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 not publicly available due to confidentiality restrictions related to field operations. The processed results necessary to support the conclusions are included in the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zou, C.; Qiu, Z.; Zhang, J.; Li, Z.; Wei, H.; Liu, B.; Zhao, J.; Yang, T.; Zhu, S.; Tao, H.; et al. Unconventional Petroleum Sedimentology: A Key to Understanding Unconventional Hydrocarbon Accumulation. Engineering 2022, 18, 62–78. [Google Scholar] [CrossRef]
  2. Zou, C.N. Unconventional Petroleum Geology, 2nd ed.; Elsevier: Amsterdam, The Netherlands, 2017. [Google Scholar] [CrossRef]
  3. Wu, Q.; Xu, Y.; Wang, X.; Wang, T.; Zhang, S. Volume fracturing technology of unconventional reservoirs: Connotation, design optimization and implementation. Pet. Explor. Dev. 2012, 39, 377–384. [Google Scholar] [CrossRef]
  4. Cipolla, C.L.; Warpinski, N.R.; Mayerhofer, M.J.; Lolon, E.; Vincent, M.C. The Relationship Between Fracture Complexity, Reservoir Properties, and Fracture Treatment Design. In Proceedings of the SPE Annual Technical Conference and Exhibition, Denver, CO, USA, 21–24 September 2008. [Google Scholar] [CrossRef]
  5. Mayerhofer, M.J.; Lolon, E.P.; Warpinski, N.R.; Cipolla, C.L.; Walser, D.; Rightmire, C.M. What Is Stimulated Reservoir Volume? SPE Prod. Oper. 2010, 25, 89–98. [Google Scholar] [CrossRef]
  6. Shen, J.; He, H.; Li, Y.; Zou, L.; Wang, Y.; Zhu, Z.; Guo, L.; Fu, S. An investigation of data analysis method for hydraulic fracturing based on the water hammer effect. Unconv. Resour. 2023, 3, 284–290. [Google Scholar] [CrossRef]
  7. Tang, J.; Ehlig-Economides, C.; Fan, B.; Cai, B.; Mao, W. A microseismic-based fracture properties characterization and visualization model for the selection of infill wells in shale reservoirs. J. Nat. Gas Sci. Eng. 2019, 67, 147–159. [Google Scholar] [CrossRef]
  8. Maxwell, S.C.; Doss, S.; Holman, R.; Bryce, B. Fracture Growth Through Microseismic Quiescent Zones: Indication of Stealth or Complex Fracturing? In Proceedings of the SPE Hydraulic Fracturing Technology Conference and Exhibition, The Woodlands, TX, USA, 4–6 February 2025. [Google Scholar] [CrossRef]
  9. Wang, Y.; Wu, Z.; Wang, F. Research Progress of Applying Distributed Fiber Optic Measurement Technology in Hydraulic Fracturing and Production Monitoring. Energies 2022, 15, 7519. [Google Scholar] [CrossRef]
  10. Zhang, Y.; Yan, C.; Bai, X.; Bai, J.; Kang, B. Downhole Video Evaluation of Fracturing Performance in Shale Oil Well Xi 233, Ordos Basin. In Proceedings of the SPE International Conference & Exhibition on Formation Damage Control, Lafayette, LA, USA, 18–20 February 2026. [Google Scholar] [CrossRef]
  11. Li, L.; Tan, J.; Wood, D.A.; Zhao, Z.; Becker, D.; Lyu, Q.; Shu, B.; Chen, H. A review of the current status of induced seismicity monitoring for hydraulic fracturing in unconventional tight oil and gas reservoirs. Fuel 2019, 242, 195–210. [Google Scholar] [CrossRef]
  12. Mondal, S. Pressure Transients in Wellbores: Water Hammer Effects and Implications for Fracture Diagnostics. Masters’s Thesis, The University of Texas at Austin, Austin, TX, USA, 2010. [Google Scholar]
  13. Hu, X.; Luo, Y.; Zhou, F.; Qiu, Y.; Li, Z.; Li, Y. Evaluation of multi-fractures geometry based on water hammer signals: A new comprehensive model and field application. J. Hydrol. 2022, 612, 128240. [Google Scholar] [CrossRef]
  14. Carey, M.A.; Mondal, S.; Sharma, M.M. Analysis of Water Hammer Signatures for Fracture Diagnostics. In Proceedings of the SPE Annual Technical Conference and Exhibition, Houston, TX, USA, 28–30 September 2015. [Google Scholar] [CrossRef]
  15. Carey, M.A.; Mondal, S.; Sharma, M.M.; Hebert, D.B. Correlating Water Hammer Signatures with Production Log and Microseismic Data in Fractured Horizontal Wells. In Proceedings of the SPE Hydraulic Fracturing Technology Conference, The Woodlands, TX, USA, 9–11 February 2016. [Google Scholar] [CrossRef]
  16. Ma, X.; Zhou, F.; Ortega Andrade, J.A.; Gosavi, S.; Burch, D. Evaluation of Water Hammer Analysis as Diagnostic Tool for Hydraulic Fracturing. In Proceedings of the SPE/AAPG/SEG Unconventional Resources Technology Conference, Denver, CO, USA, 22–24 July 2019. [Google Scholar] [CrossRef]
  17. Wang, H.; Chen, Y.; Zhu, M. Evaluate Hydraulic Fracturing Effectiveness by Combining Water Hammer Analysis and Unified Transient Analysis: A Case Study of Gulong Shale Oil. SPE J. 2025, 30, 6913–6929. [Google Scholar] [CrossRef]
  18. Wang, X.Q.; Zhao, L.; Wang, Z.Y.; Xiu, C.H.; Jia, G.L.; Dong, Y.; Lu, D.T. Data analysis method of pump shutdown pressure based on water hammer effect and cepstrum transformation. Pet. Reserv. Eval. Dev. 2023, 13, 108–116. [Google Scholar] [CrossRef]
  19. Liu, L.; Liu, Y.; Wang, X. A Novel MCMC-Based Hydraulic Fracture Diagnostics Approach Using Water Hammer Data. In Proceedings of the 57th U.S. Rock Mechanics/Geomechanics Symposium, Atlanta, GA, USA, 25–28 June 2023. [Google Scholar] [CrossRef]
  20. Li, Y.; Hu, X.; Zhou, F.; Qiu, Y.; Li, Z.; Luo, Y. A new comprehensive filtering model for pump shut-in water hammer pressure wave signals during hydraulic fracturing. J. Pet. Sci. Eng. 2022, 208, 109796. [Google Scholar] [CrossRef]
  21. Liu, B.; Yue, W.; Wang, Y.; Gu, Z.; Wen, R.; Qiu, Y.; Yi, P.; Hu, X. Oscillation Times in Water Hammer Signatures: New Insights for the Evaluation of Diversion Effectiveness in Field Cases. Processes 2024, 12, 1312. [Google Scholar] [CrossRef]
  22. Qiu, Y.; Hu, X.; Zhou, F.; Li, Z.; Li, Y.; Luo, Y. Water hammer response characteristics of wellbore-fracture system: Multi-dimensional analysis in time, frequency and quefrency domain. J. Pet. Sci. Eng. 2022, 213, 110425. [Google Scholar] [CrossRef]
  23. Khan, A.M.; AlTammar, M.J.; Alruwaili, K.M.; Almutary, T.O.; Ahmed, D.; Aidagulov, G.; Aldakheel, H.; Abbad, M. Comparative Look at Wellbore/Rock Connection Techniques: An Integrated Perspective from Stimulation, Intervention, and Laboratory Research. SPE J. 2025, 30, 7462–7480. [Google Scholar] [CrossRef]
  24. Zeng, B.; Wei, S.; Su, Y.; Gui, J.; Feng, J.; Guo, Y.; Lyu, P. Fracture size inversion method based on water hammer signal for shale reservoir. Front. Energy Res. 2024, 11, 1336148. [Google Scholar] [CrossRef]
  25. Wylie, E.B.; Streeter, V.L.; Suo, L. Fluid Transients in Systems; Prentice Hall: Englewood Cliffs, NJ, USA, 1993. [Google Scholar]
  26. Halliwell, A.R. Velocity of a Water-Hammer Wave in an Elastic Pipe. J. Hydraul. Div. 1963, 89, 1–21. [Google Scholar] [CrossRef]
  27. Shylapobersky, J.; Wong, G.K.; Walhaug, W.W. Overpressure Calibrated Design of Hydraulic Fracture Stimulations. In Proceedings of the SPE Annual Technical Conference and Exhibition, Houston, TX, USA, 2–5 October 1988. [Google Scholar] [CrossRef]
  28. Hwang, J.; Szabian, M.J.; Sharma, M.M. Hydraulic Fracture Diagnostics and Stress Interference Analysis by Water Hammer Signatures in Multi-Stage Pumping Data. In Proceedings of the SPE/AAPG/SEG Unconventional Resources Technology Conference, Austin, TX, USA, 24–26 July 2017. [Google Scholar] [CrossRef]
  29. Haustveit, K.; Dahlgren, K.; Greenwood, H.; Peryam, T.; Kennedy, B.; Dawson, M. New Age Fracture Mapping Diagnostic Tools-A STACK Case Study. In Proceedings of the SPE Hydraulic Fracturing Technology Conference and Exhibition, The Woodlands, TX, USA, 24–26 January 2017. [Google Scholar] [CrossRef]
  30. Misbahuddin, M.; Cokrowati, N.; Iqbal, M.S.; Farobie, O.; Amrullah, A.; Ernawati, L. Kalman Filter-Enhanced Data Aggregation in LoRaWAN-Based IoT Framework for Aquaculture Monitoring in Sargassum sp. Cultivation. Computers 2025, 14, 151. [Google Scholar] [CrossRef]
  31. Kennedy, J.; Eberhart, R. Particle swarm optimization. In Proceedings of the ICNN’95—International Conference on Neural Networks, Perth, WA, Australia, 27 November–1 December 1995; pp. 1942–1948. [Google Scholar] [CrossRef]
  32. Shami, T.M.; El-Saleh, A.A.; Alswaitti, M.; Al-Tashi, Q.; Summakieh, M.A.; Mirjalili, S. Particle Swarm Optimization: A Comprehensive Survey. IEEE Access 2022, 10, 10031–10061. [Google Scholar] [CrossRef]
Figure 1. A flowchart of the automatic analysis algorithm for water hammer pressure signals.
Figure 1. A flowchart of the automatic analysis algorithm for water hammer pressure signals.
Modelling 07 00087 g001
Figure 2. Ideal synthetic water hammer signal.
Figure 2. Ideal synthetic water hammer signal.
Modelling 07 00087 g002
Figure 3. Synthetic water hammer signal with added noise.
Figure 3. Synthetic water hammer signal with added noise.
Modelling 07 00087 g003
Figure 4. Comparison of signals before and after denoising. (a) Original noisy signal versus denoised signal; (b) localized enlargement showing preservation of transient features after filtering.
Figure 4. Comparison of signals before and after denoising. (a) Original noisy signal versus denoised signal; (b) localized enlargement showing preservation of transient features after filtering.
Modelling 07 00087 g004
Figure 5. Quantitative evaluation of denoising performance for the synthetic signal: (a) comparison of noise error before and after denoising; (b) comparison of the signal-to-noise ratio (SNR) before and after denoising.
Figure 5. Quantitative evaluation of denoising performance for the synthetic signal: (a) comparison of noise error before and after denoising; (b) comparison of the signal-to-noise ratio (SNR) before and after denoising.
Modelling 07 00087 g005
Figure 6. (a) Denoising comparison of field high-frequency pressure data (1000 Hz); (b) local enlarged view.
Figure 6. (a) Denoising comparison of field high-frequency pressure data (1000 Hz); (b) local enlarged view.
Modelling 07 00087 g006
Figure 7. An automatic identification result for a field water hammer signal with a single effective segment (a) Schematic diagram of pump pressure (b) Identified effective water-hammer pressure segment.
Figure 7. An automatic identification result for a field water hammer signal with a single effective segment (a) Schematic diagram of pump pressure (b) Identified effective water-hammer pressure segment.
Modelling 07 00087 g007
Figure 8. Automatic identification results for field water hammer signals with multiple effective segments (a) Schematic diagram of pump pressure; (b) Identified effective water-hammer Pressure segment 1; (c) Identified effective water-hammer Pressure segment 2.
Figure 8. Automatic identification results for field water hammer signals with multiple effective segments (a) Schematic diagram of pump pressure; (b) Identified effective water-hammer Pressure segment 1; (c) Identified effective water-hammer Pressure segment 2.
Modelling 07 00087 g008
Figure 9. Performance evaluation of the automatic identification algorithm: (a) total identification time; (b) onset-position discrepancy relative to the manually interpreted reference.
Figure 9. Performance evaluation of the automatic identification algorithm: (a) total identification time; (b) onset-position discrepancy relative to the manually interpreted reference.
Modelling 07 00087 g009
Figure 10. Comparison of fitting results with field data: (a) field pumping pressure curve; (b) effective water hammer segment; (c) simulated versus measured comparison.
Figure 10. Comparison of fitting results with field data: (a) field pumping pressure curve; (b) effective water hammer segment; (c) simulated versus measured comparison.
Modelling 07 00087 g010
Figure 11. Comparison of inversion errors for fracture half-length and fracture height across all fracturing stages in Well A.
Figure 11. Comparison of inversion errors for fracture half-length and fracture height across all fracturing stages in Well A.
Modelling 07 00087 g011
Table 1. Input parameters for base cases.
Table 1. Input parameters for base cases.
ParametersValue Range
Vertical length of pipe (m)2319
Horizontal length of pipe (m)1416~3735
Pipe diameter (mm)139.1
Pipe thickness(mm)12.7
Young’s modulus of pipe (GPa)206
Poisson’s ratio of casing pipe0.3
Wall roughness of casing pipe (mm)0.015
Resistance (Pa·s/m3)0.5~3 × 107
Capacitance (m3/Pa)1~5 × 10−5
Poisson’s ratio of rock0.17~0.22
Minimum Principal Stress (Mpa)49
Fluid density (kg/m3)1000
Rock fracture pressure (MPa)72.9~79.1
Friction coefficient0.05
Pump time (s)5672~9428
injection rate (m3/min)18
ISIP (MPa)40
Wave speed (m/s)1416
Inductance (Pa/(m3/s2))1~5 × 10−5
Young’s modulus of rock (GPa)38~46
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

Zhu, M.; Wang, H. Automated Water Hammer Analysis for Fracture Parameter Inversion Using High-Frequency Shut-In Pressure Signals During Hydraulic Fracturing. Modelling 2026, 7, 87. https://doi.org/10.3390/modelling7030087

AMA Style

Zhu M, Wang H. Automated Water Hammer Analysis for Fracture Parameter Inversion Using High-Frequency Shut-In Pressure Signals During Hydraulic Fracturing. Modelling. 2026; 7(3):87. https://doi.org/10.3390/modelling7030087

Chicago/Turabian Style

Zhu, Mao, and Hanyi Wang. 2026. "Automated Water Hammer Analysis for Fracture Parameter Inversion Using High-Frequency Shut-In Pressure Signals During Hydraulic Fracturing" Modelling 7, no. 3: 87. https://doi.org/10.3390/modelling7030087

APA Style

Zhu, M., & Wang, H. (2026). Automated Water Hammer Analysis for Fracture Parameter Inversion Using High-Frequency Shut-In Pressure Signals During Hydraulic Fracturing. Modelling, 7(3), 87. https://doi.org/10.3390/modelling7030087

Article Metrics

Back to TopTop