Next Article in Journal
Combining Szewalski’s Idea and Hydrogen in Modern Medium-Scale Gas Turbines: A Promising Solution for Efficient Power Generation
Previous Article in Journal
Fuel Dilution in Hybrid Engine Oils: Correlation Between Viscosity Loss and FTIR Spectral Shifts in Modern Combustion Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Complexity of Horizontal Oil–Gas–Water Flows in Deepwater Simulation Well: Insights from Multiscale Phase Permutation Entropy Analysis

1
School of Electrical and Information Engineering, Tianjin University, Tianjin 300072, China
2
Global Ocean Capital Promotion Council of Shenzhen, Shenzhen 518000, China
*
Authors to whom correspondence should be addressed.
Energies 2026, 19(1), 52; https://doi.org/10.3390/en19010052
Submission received: 24 November 2025 / Revised: 17 December 2025 / Accepted: 18 December 2025 / Published: 22 December 2025
(This article belongs to the Section H1: Petroleum Engineering)

Abstract

Deepwater oil–gas–water three-phase flow is widely regarded as a multiphase system. Intense interfacial interactions cause significant nonuniform fluid distributions in the wellbore, giving rise to complex nonlinear dynamics. In this study, a distributed conductance sensor (DCS) was developed to capture local flow information from a horizontal oil–gas–water simulation well. To quantify the complexity of nonlinear time series, phase permutation entropy (PPE) was first validated using artificial data, including the Tent map, Hénon map, and Lorenz system. PPE demonstrates superior capability in detecting abnormal dynamical changes compared with permutation entropy (PE). Subsequently, PPE is combined with the multiscale approach, i.e., multiscale phase permutation entropy (MPPE), to analyze the DCS signals and uncover the complexity of horizontal oil–gas–water flows. The results show that the MPPE analysis can reveal the spatial distribution characteristics of elongated gas bubbles, gas paths, dispersed bubbles and oil droplets.

1. Introduction

Deep-water oil–gas–water three-phase flow is widely recognized as a multiphase system [1]. The strong interfacial interactions give rise to pronounced nonuniform distributions within the wellbore and lead to highly complex nonlinear dynamics. Applying nonlinear analysis methods to investigate the spatiotemporal characteristics of such flows is of great importance for optimizing well-logging sensor deployment, understanding flow pattern transitions, and thereby modeling phase volume fractions and total flow rates [2,3].
Entropy has been established as a fundamental measure of complexity in nonlinear systems, with widely used examples including approximate entropy [4], sample entropy [5], cross-entropy [6], and diffusion entropy [7], among others. Costa et al. [8,9,10] originally introduced the concept of multiscale entropy (MSE) to characterize complex physiological time series, providing insights into system dynamics from both macroscopic and microscopic perspectives. Since then, MSE has been extensively applied across various dynamical domains, including physiological processes [11,12], financial markets [13], atmospheric dynamics [14], and beyond. Given that complex systems typically comprise interacting components with intrinsic coupling relationships [15,16], multivariate time-series analysis has become a powerful tool for system-level diagnosis and interpretation.
Meanwhile, Bandt and Pompe [17] proposed a complexity metric known as permutation entropy (PE), which characterizes time series by evaluating the ordinal patterns formed through comparisons of adjacent data points. Owing to its robustness and sensitivity to underlying dynamics, permutation entropy has been widely recognized as an effective measure of complexity for chaotic signals, particularly when dynamical disturbances and measurement noise are present. On this basics, He et al. [18] developed the multivariate permutation entropy (MPE) algorithm, which demonstrated strong robustness to noise and high computational efficiency, making it suitable for real-time monitoring of multivariable complexity. Building on the univariate MSE framework, Ahmed and Mandic [19] generalized the approach to multivariate data and proposed multivariate multiscale sample entropy (MMSE), the effectiveness of which in evaluating traffic system complexity has been validated [20]. Subsequently, Morabito et al. [21] introduced multivariate multiscale permutation entropy (MMPE) for assessing the complexity of physiological signals. On this basis, Yin and Shang [22] further advanced the method by proposing multivariate weighted multiscale permutation entropy (MWMPE), which not only improves robustness but also provides a more accurate representation of the complexity inherent in multichannel time series.
Recently, by incorporating phase information into permutation entropy (PE), Kang et al. [23] proposed the phase permutation entropy (PPE) method and demonstrated that PPE enhances the sensitivity to dynamical variations compared with conventional PE, both in logistic maps and real-world signals. In this work, we further combine PPE with the multiscale approach and introduce multiscale phase permutation entropy (MPPE) to analyze distributed conductance sensor (DCS) signals obtained from horizontal oil–gas–water flows, aiming to uncover the complexity of multiphase flow systems.
The remainder of this paper is organized as follows. Section 2 presents the principles of PE, PPE and MPPE. Section 3 evaluates the performance of PPE under different conditions. Section 4 describes the experimental setup of the horizontal oil–gas–water simulation well and the acquisition of DCS data. Section 5 discusses the complexity of horizontal three-phase flows by using MPPE, and Section 6 concludes the paper.

2. PE, PPE and MPPE Algorithm

2.1. PE Algorithm [17]

Consider a time series X ( i ) = x i , i = 1 , 2 , , N } of length N. It can be reconstructed in an m-dimensional state space as
X j m , τ = [ x j , x j + τ , , x j + ( m 1 ) τ ] , j = 1 , 2 , , N ( m 1 ) τ
where m denotes the embedding dimension and τ represents the delay time. Each embedded vector X j m , τ is then rearranged in ascending order, expressed as x j + ( k 1 1 ) τ x j + ( k 2 1 ) τ x j + ( k m 1 ) τ . Thus, every vector X j m , τ corresponds to a specific ordinal pattern, given by
S j = [ k 1 , k 2 , , k m ] , j = 1 , 2 , , N ( m 1 ) τ
leading to a total of m ! possible patterns. The occurrence frequency of each ordinal pattern is defined as
P v m , τ = N u m ( v ) N ( m 1 ) τ , v = 1 , 2 , , m !
where N u m ( v ) is the number of each possible type in all ordinal patterns and N ( m 1 ) τ is the total number of patterns observed. Based on Shannon entropy, the permutation entropy of order m is formulated as
P E ( m ) = V = 1 m ! P v m , τ ln ( P v m , τ )
To facilitate comparison, P E ( m ) is further normalized by dividing with ln ( m ! ) , giving
P E N ( m ) = P E ( m ) / ln ( m ! )

2.2. PPE Algorithm [23]

Let us take a discrete time series X ( i ) = x i , i = 1 , 2 , , N } . Its analytic signal Z ( i ) is defined as a complex-valued function, given by
Z ( i ) = X ( i ) + j X ˜ ( i ) = A ( i ) e j θ ( i )
where X ˜ ( i ) denotes the Hilbert transform of X ( i ) . From this representation, the instantaneous phase sequence θ ( i ) can be obtained as [23]:
θ ( i ) = arctan X ˜ ( i ) X ( i ) , i = 1 , 2 , , N
Here, θ ( i ) varies between π and π , representing the instantaneous phase, which reflects the joint contribution of the phases of all frequency components at each time point.
Subsequently, the procedure of PPE follows the same framework as the conventional PE algorithm. Specifically, θ ( i ) is embedded into an m-dimensional state space, expressed as
Θ j m , τ = [ θ j , θ j + τ , , θ j + ( m 1 ) τ ] ,   j = 1 , 2 , , N - ( m - 1 ) τ
Next, Θ j m , τ is ordered in ascending fashion, yielding a position vector S j . The relative frequency P v m , τ of every ordinal pattern is computed accordingly. The PPE value is then defined using Shannon entropy as:
P P E ( m ) = v = 1 m ! P v m , τ ln ( P v m , τ )
Finally, normalization is performed by dividing with ln ( m ! ) , resulting in
P P E N ( m ) = P P E ( m ) / ln ( m ! )

2.3. MPPE Algorithm

Given a phase series θ ( i ) ,   i = 1 , 2 , , N , a set of coarse-grained time series is obtained through scale-dependent averaging [8,9,10]. For a time scale S, coarse-grained time series θ J S can be expressed as:
θ J S = 1 S i = ( J 1 ) S + 1 J S θ ( i ) ,   1 J L ,   L = [ N S ]
where [ N S ] denotes the greatest integer less than or equal to N S . As for the coarse-grained time series θ J S , the remaining steps of MPPE are consistent with PPE. Thus, for each time scale S, a P P E can be obtained, and its normalized value can be denoted by M P P E N .

3. Algorithm Evaluation

3.1. PPE Evaluation

Tent map is a one-dimensional piecewise linear mapping, and it serves as a typical model of discrete dynamical systems. In mathematics, the Tent map with parameter μ is defined as the real-valued function f μ :
f μ ( x ) : = μ min x , 1 x
For the values of the parameter μ within the interval 0 < μ < 2 , the Tent map transforms the unit interval [0, 1] into itself, thereby defining a discrete-time dynamical system. Iterating a point x 0 [ 0 , 1 ] generates a sequence x n :
x n + 1 = f μ ( x n ) = μ x n                     for   x n < 1 2   μ ( 1 - x n )   for   1 2 < x n
where μ denotes a positive real constant. Different choices of μ lead to distinct regimes, ranging from deterministic to chaotic evolution. Specifically, as the system approaches the chaotic regime, the following transitions are observed. When μ is close to 1, finite-period orbits (e.g., period-2 and period-4) appear. As μ increases, the system undergoes period-doubling bifurcations and gradually evolves into chaos. Within the chaotic regime, the iterates become extremely sensitive to initial conditions, exhibiting the hallmark features of deterministic chaos [24]. Bifurcation diagram for the Tent map is shown in Figure 1. Here, μ ranges from 1 to 2 with a step of 0.001, the data length is 10,000, and the initial value is set to 0.3. The diagram clearly illustrates the evolution of the dynamical behavior of the Tent map. Moreover, it can be observed that both PE and PPE provide effective indicators of this evolution. In particular, when the system is in a periodic state, PE and PPE remain relatively low; as the system progresses into chaos, both measures exhibit a distinct increasing trend.
Hénon map is a classical two-dimensional discrete nonlinear dynamical system, expressed as
x n + 1 = 1 a x n 2 + y n y n + 1 = b x n
where a and b are control parameters. When b is equal to 0.12, the system’s evolution primarily depends on the value of a. As shown in Figure 2, when a varies from 1.2 to 1.8 with a step size of 0.001, the system exhibits a mixed state of weak chaos, periodic behavior, and strong chaos, with periodic windows and chaotic regimes repeatedly alternating throughout the interval (the data length is 10,000). PE and PPE can accurately detect the occurrence of period-doubling windows in the Hénon map, where both measures maintain relatively low values, indicating simpler system dynamics. In contrast, once the system enters a chaotic regime, PE and PPE rapidly increase to higher values.
Overall, PE and PPE exhibit comparable performance in characterizing behavioral variations in complex nonlinear systems. We further examine the effects of embedding dimension of state space reconstruction on PE and PPE. Taking the Hénon map as an example, as shown in Figure 3, variations in the embedding dimension m influence the ability of both PE and PPE to detect dynamical transition. When the embedding dimension is relatively low, PPE can clearly capture the transition between period-doubling and chaos in the Hénon map (see Figure 3a). By definition, as the embedding dimension increases, the size of the symbolic sequence space expands substantially, leading to a higher computational burden. From this perspective, PPE demonstrates superior capability in detecting abnormal dynamical changes compared with PE in the Hénon map.
Furthermore, the effect of delay time τ on PPE is examined, as depicted in Figure 4. The results indicate that PPE values rise with increasing delay time, while the method continues to perform effectively in detecting anomalous system behavior. For state-space reconstruction of one-dimensional signals, it is generally recommended to select the embedding dimension m and delay time τ using the false nearest neighbors method [25] and the average mutual information method [26], respectively.

3.2. MPPE Evaluation

Lorenz system was originally proposed as a simplified model for describing atmospheric convection [27,28]. It is a three-dimensional autonomous nonlinear system of ordinary differential equations:
x ˙ = σ ( y x ) y ˙ = x ( ρ z ) y z ˙ = x y β z
where x represents the convection intensity (a velocity component of fluid motion), y denotes the temperature difference (the horizontal temperature gradient), and z describes the vertical distribution of the temperature field. The parameter σ is the Prandtl number (the ratio of momentum diffusivity to thermal diffusivity), ρ is the Rayleigh number (the strength of convection driven by the temperature gradient), and β is a geometric factor. When σ = 10, β = 8 / 3 , ρ = 28 , the system exhibits chaotic dynamics and generates the well-known Lorenz attractor.
This section investigates the multiscale phase permutation entropy (MPPE) of the Lorenz system x-series and a sinusoidal series, as shown in Figure 5. It can be observed that the complex chaotic characteristics of the Lorenz x-series produce relatively high PPE across different scales. In addition, white noise is added to both the sinusoidal and x-series to examine the noise robustness of MPPE. The results show that, for the x-series, PPE increases progressively with scale and is only weakly affected by noise. For the sinusoidal series, when the signal-to-noise ratio is low, PPE deviates significantly at small scales; however, as the scale increases, the influence of noise on PPE gradually diminishes. In this sense, MPPE, by probing system information across multiple scales, provides a more effective means of revealing the intrinsic characteristics of the system.

4. Data Acquisition for Horizontal Oil–Gas–Water Simulation Well

4.1. Experimental Setup

The experimental setup for horizontal oil–gas–water three-phase flow is shown in Figure 6. The working fluids used in this study were No. 3 industrial white oil, tap water, and air. The test section consisted of a transparent acrylic pipe with an inner diameter of 20 mm and an outer diameter of 30 mm. At the pipe inlet, a four-way inlet was employed to connect the water inlet, oil inlet, gas inlet, and the test section.
To facilitate visual observation, a red dye was added to the No. 3 industrial white oil, which allowed clear distinction from the aqueous phase without altering its physical or chemical properties. Tap water was supplied and metered by a dual-channel industrial peristaltic pump (Longer, WG600F, accuracy: ±0.2%, flow range per channel: 8.3–13,800 mL/min). White oil was delivered and measured by another dual-channel industrial peristaltic pump (Longer, WT600F, accuracy: ±0.5%, flow range per channel: 0.006–6000 mL/min). The gas phase was provided by an air compressor (Dailo, DA805), and the airflow rate was regulated and measured by a rotameter (Yihuan, YHFZ type, accuracy: 1.5) before entering the test section.
To ensure fully developed flow patterns, a 2400 mm development section was installed downstream of the inlet, followed by the test section. The outlet flow was then routed through a U-shaped pipe to a separation tank, in which the oil–water mixture underwent gravitational settling before the separated phases were pumped back into the corresponding storage tanks for recycling.
A high-speed camera (Photron FASTCAM Mini UX50/100) was positioned 2625 mm downstream of the inlet to record flow images for structural analysis. Image acquisition was conducted at a frame rate of 1000 fps, with a shutter speed of 1/5000 s and a total recording duration of 4 s. To reduce optical distortions arising from reflection and refraction at the curved pipe wall and multiphase interfaces, the test pipe was placed inside an acrylic visualization box filled with glycerol. By matching the refractive indices, this configuration effectively corrected optical distortions and allowed clearer observation of the intrinsic flow structures.
The structure of the distributed conductance sensor (DCS) is illustrated in Figure 7. It consists of a ring-shaped excitation electrode (E) and eight arc-shaped measuring electrodes (M1–M8). The excitation electrode was embedded on a cylindrical center body made of insulating material, which was supported by a set of orthogonal beams at the pipe center. To reduce flow disturbance caused by the center body, both ends were designed in a spherical shape, with a central body diameter of 6 mm. The eight measuring electrodes were embedded in the inner surface of the pipe wall, each having the same subtended angle θ , with numbering and distribution shown in Figure 7b. Both the excitation electrode and the measuring electrodes were in direct contact with the fluid. The excitation electrode was connected through a lead wire inside the central body, routed via the supporting beams to the external circuit. The distributed conductance sensor was installed 2950 mm downstream of the inlet, enabling the capture of flow dynamics across eight distinct regions of the pipe cross-section.
The DCS measurement system is illustrated in Figure 8. It consists of the sensor, excitation module, signal conditioning module, and data acquisition module. The measurement principle is as follows: the fluid between the excitation electrode and each measuring electrode can be equivalently modeled as a resistor. When an excitation voltage is applied to the excitation electrode, the current flows through the fluid and the reference resistor (Rref) before reaching the ground. Since oil, gas, and water exhibit significantly different electrical conductivities, variations in phase distribution within the pipe lead to changes in the equivalent resistance between the excitation electrode and the measuring electrode. Consequently, the voltage drop across Rref provides information on the local phase distribution inside the pipe.
The excitation module generates a sinusoidal signal using an oscillator (CG-402R2), producing a 20 kHz sine wave with a peak-to-peak amplitude of 4 V. The signal conditioning module comprises a differential amplification stage and a signal demodulation stage. Differential amplification is implemented with an AD620 chip, chosen for its low cost, high precision, and adjustable gain via an external resistor RG. In this study, the gain was set to 3.5 with RG configured as 20 kΩ. For signal demodulation, an AD637 chip was employed, which functions as a true RMS-to-DC converter, converting the amplified AC voltage into a DC voltage. During the use of the AD637, the key parameters considered were ripple level and settling time. A smaller settling time and ripple level can be achieved by increasing the external capacitor Cav, though at the cost of higher ripple and reduced signal-to-noise ratio (SNR). To improve signal quality, a first-order RC passive low-pass filter was added after demodulation, with R = 10 kΩ and C = 3300 pF, effectively attenuating noise above 50 Hz.
The data acquisition module employs an NI USB-6363 DAQ card with a sampling frequency of 2 kHz. The output voltages (V1–V8) of the DCS measurement system are transmitted through channels Ch0–Ch7 to the host computer. Differential connection was used between the DAQ card and the circuit, which effectively suppresses ground-loop noise compared with single-ended connection, thereby improving measurement reliability.

4.2. Flow Images and DCS Responses

For horizontal oil–gas–water three-phase flow with an oil volume fraction of 0.05, the oil content in the liquid phase is sufficiently low that the flow-pattern classification can be reasonably referenced to gas–water two-phase flow. Accordingly, the flow pattern is identified based on the behavior of the gas phase and the state of the continuous liquid phase, particularly whether the oil and water phases are emulsified. Under the present experimental conditions, the horizontal three-phase flow is dominated by slug flow, which is characterized by a quasi-periodic alternation between film regions (FRs) and slug regions (SRs).
In the film region, an elongated bubble (EB) occupies the upper portion of the pipe, with a liquid film flowing beneath it. In contrast, within the slug region, water serves as the continuous phase, in which dispersed bubbles (DBs) and dispersed oil droplets (ODs) are suspended. Based on these flow characteristics, three representative types of horizontal oil–gas–water slug flow are identified.
(1)
Oil-dispersed slug flow: As illustrated in Figure 9, this flow pattern exhibits a clear quasi-periodic succession of film and slug regions. The slug region contains a limited number of dispersed bubbles and oil droplets, with the oil droplets generally exhibiting relatively large diameters. In the film region, only a small number of bubbles and droplets are observed within the liquid film beneath the elongated bubble.
(2)
Emulsified slug flow: With an increase in gas flow rate, as shown in Figure 10, both the film and slug regions display a markedly higher concentration of dispersed bubbles and oil droplets. The slug region becomes strongly aerated, characterized by a greater number and broader spatial distribution of bubbles. Simultaneously, the oil droplets in the slug region are significantly reduced in size, leading to the formation of an oil–water emulsion.
(3)
Pseudo slug flow: As the aeration of the slug region intensifies further, gas pathways develop within the slug, progressively disrupting its structure (Figure 11). The liquid phase also appears as an oil-water emulsion, while the overall fluid motion becomes increasingly irregular and chaotic.
At typical conditions with Usl = 0.295 m/s, the response signals of the DCS are shown in Figure 12. From a macroscopic perspective, the alternation of high- and low-amplitude signals reflects the quasi-periodic switching between slug regions and film regions, while the signal fluctuations across different measurement electrodes reveal the nonuniform distribution of the oil–gas–water three-phase flow.
(1)
Due to the presence of dispersed bubbles and oil droplets, short-term low-amplitude fluctuations are embedded within the high-amplitude signals corresponding to slug regions, as illustrated in Figure 12a. With increasing gas flow rate, the slug length gradually decreases, and the low-amplitude fluctuations caused by dispersed bubbles and droplets become less evident, as shown in Figure 12b. When the flow transitions into pseudo slug flow, the slug-region signals exhibit sharp peaks, primarily dominated by gas pathways; in this case, the effects of dispersed bubbles and droplets almost vanish, as seen in Figure 12c.
(2)
Because of the varying liquid-film thickness beneath the elongated bubble, the signals from electrodes M1, M2, and M3 show large-amplitude oscillations. In contrast, electrodes M4 and M5 are mainly sensitive to the elongated-bubble structure and thus display stable, low-level signals, as observed in Figure 12a,b. Interestingly, when the flow shifts to pseudo slug flow, complex gas coalescence in the film region leads to noticeable fluctuations even in the signals of electrodes M4 and M5. Meanwhile, the responses of M1, M2, and M3 also effectively indicate the intensified instability of the liquid film.
At typical conditions with Usl = 0.589 m/s, the response signals of the DCS are presented in Figure 13. Compared with Figure 12, the higher total flow rate enhances flow turbulence, resulting in more complex signal fluctuations. Specifically, almost all electrodes become sensitive to structural variations in the film region, with significantly larger fluctuation amplitudes. In addition, the low-amplitude disturbances induced by dispersed bubbles and oil droplets in the slug region appear more frequently. Once the flow transforms into pseudo slug flow, the presence of continuous gas pathways within the slug region blurs the boundary between slug and film regions, and the quasi-periodic flow behavior gradually disappears, exhibiting instead a highly irregular spatial distribution.

5. Complexity of Horizontal Oil–Gas–Water Flows

The analytic signal, Z ( i ) , of experimentally acquired DCS signal is obtained using Equation (6), and the corresponding instantaneous phase sequence θ ( i ) is calculated according to Equation (7). Then, the coarse-grained time series θ J S at different time scales S is constructed using Equation (11). Finally, the coarse-grained time series θ J S is processed following Equations (1)–(5), from which P P E and its normalized value M P P E N can be obtained for each time scale S. When the superficial liquid velocity Usl is 0.295 m/s, the M P P E N corresponding to different flow patterns is shown in Figure 14, in which The circle represents the circumference of the pipe. It can be observed that, as a complex chaotic system, the M P P E N of oil–gas–water three-phase flow exhibits a gradual increase with scale S.
(1)
At low gas flow rates, as shown in Figure 14a, the flow pattern corresponds to oil-dispersed slug flow. Because electrodes M1, M2, and M3 are located at the bottom of the pipe, they are able to capture information on the motion of dispersed bubbles and oil droplets as well as fluctuations in liquid-film thickness. Their M P P E N values are relatively high, indicating more complex hydrodynamic behavior near the pipe bottom. In comparison, electrodes M4–M8 are more sensitive to the quasi-periodic motion of elongated bubbles and liquid slugs in the upper part of the pipe, and thus show lower M P P E N values within the examined scales.
(2)
With increasing gas flow rate, as illustrated in Figure 14b, the M P P E N values of signals from different electrodes tend to converge at larger scales and exhibit a noticeable increasing trend. At smaller scales, however, the M P P E N shows a distinct difference according to electrode height: as the electrode position rises, the M P P E N gradually decreases. This indicates that the motion complexity of small-scale bubbles and oil droplets presents a spatial gradient distribution.
(3)
When pseudo slug flow occurs, as shown in Figure 14c, the overall motion complexity of the flows increases throughout the entire pipe cross-section, and the M P P E N values at different spatial positions become relatively close.
Figure 15 presents the M P P E N under different flow patterns at a superficial liquid velocity Usl of 0.589 m/s. For the oil-dispersed slug flow and emulsified slug flow, as shown in Figure 15a,b, the M P P E N values of different electrode signals are all relatively high, with reduced variability (in comparison with Figure 14a,b). This indicates that an increase in the total flow rate generally enhances the overall fluid complexity across both the full range of scales and the entire pipe cross-section. When the flow pattern transitions to pseudo slug flow, as shown in Figure 15c, the relatively high liquid flow rate, combined with the coexistence of large-scale gas paths, dispersed bubbles, and oil droplets, leads to a highly non-uniform spatial distribution of the flows. As a result, the flow complexity gradually decreases from the bottom to the top of the pipe over the scale range of 50–500.
In addition, we calculated the mean M P P E N of different flow conditions across all scales, as shown in Figure 16. The results indicate the following:
(1)
When the superficial liquid velocity is relatively low, as shown in Figure 16a, the flow complexity at the eight local positions in the pipe increases with the rise in gas flow rate. At low gas flow rates, the mean M P P E N of the M1, M2, and M3 electrode signals is higher, suggesting that the flow complexity is dominated by dispersed phase motion and liquid film fluctuations near the pipe bottom. At higher gas flow rates, however, the mean M P P E N values obtained from different electrode signals show better consistency, indicating that the flow complexity has expanded across the entire pipe.
(2)
When the superficial liquid velocity increases to 0.442 m/s, as shown in Figure 16b, higher gas flow rates always produce higher mean M P P E N values for all electrode signals, while the mean M P P E N of the M1, M2, and M3 electrode signals remains relatively high.
(3)
With a further increase in superficial liquid velocity, as shown in Figure 16c,d, all electrodes exhibit relatively high mean M P P E N values under various gas flow rates, and the difference in flow complexity between the pipe bottom and top no longer follows a clear pattern.
Note that, to demonstrate that the observed differences in Figure 14, Figure 15 and Figure 16 reflect genuine changes in flow dynamics rather than random fluctuations, an additional verification experiment was conducted. Two representative flow conditions were selected, and repeated measurements were performed for each condition. Please refer to Appendix A.

6. Conclusions

To quantify the complexity of nonlinear time series, phase permutation entropy (PPE) was first validated using artificial data, including the Tent map, Hénon map, and Lorenz system. The results indicate that PPE and PE exhibit comparable performance in characterizing behavioral variations in complex nonlinear systems. Note that when the embedding dimension is relatively low, PPE can clearly capture the transition between period-doubling and chaos in the Hénon map. From this perspective, PPE demonstrates superior capability in detecting abnormal dynamical changes compared with PE.
Deep-water oil–gas–water three-phase flow is widely recognized as a chaotic system. The strong interfacial interactions give rise to pronounced nonuniform distributions within the wellbore and lead to highly complex nonlinear dynamics. A distributed conductance senso (DCS) with eight measurement electrodes is designed in this study to capture the flow information. PPE is combined with the multiscale approach to uncover the complexity of horizontal oil–gas–water flows. The results show the following:
(1)
For oil-dispersed slug flow, the presence of dispersed bubbles and oil droplets can produce high flow complexity at the lower part of the pipe. In comparison, measuring electrodes at the upper part of the pipe are more sensitive to the quasi-periodic motion of elongated bubbles, and thus show lower M P P E N values within the examined scales.
(2)
For emulsified slug flow, M P P E N values of different electrodes tend to converge at larger scales. At smaller scales, however, the M P P E N shows a distinct difference according to electrode height. As the electrode position rises, the M P P E N gradually decreases, indicating that the motion complexity of small-scale bubbles and oil droplets presents a spatial gradient distribution.
(3)
For pseudo-slug flow, the overall dynamical complexity increases across the pipe cross-section. It is worth noting that when the superficial liquid velocity is relatively low, the complexity values at different electrodes remain close to each other. However, when the superficial liquid velocity becomes sufficiently high, the flow complexity gradually decreases from the bottom to the top of the pipe. This behavior is mainly attributed to the coexistence of large-scale gas pathways, dispersed bubbles, and oil droplets, which leads to a highly non-uniform spatial distribution of the flow structures.
Moreover, the M P P E N curves and their multiscale evolution patterns constitute meaningful numerical features that could be incorporated into machine learning or AI-driven models for future flow pattern identification and intelligent interpretation of complex multiphase flow behavior.

Author Contributions

Conceptualization, L.Z., Y.H. and J.C.; methodology, Y.H. and J.Q.; software, L.Z. and Y.H.; validation, Y.H. and J.Q.; formal analysis, Y.H. and J.Q.; investigation, Y.H. and J.C.; resources, L.Z. and J.C.; data curation, Y.H. and J.Q.; writing—original draft preparation, L.Z., Y.H. and J.C.; writing—review and editing, L.Z., Y.H. and J.C.; visualization, Y.H. and J.Q.; supervision, L.Z. and J.C.; project administration, L.Z.; funding acquisition, L.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Natural Science Foundation of China, grant number 42274148.

Data Availability Statement

Data will be made available on request.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

We conducted an additional verification experiment by selecting two representative flow conditions and performing repeated measurements for each condition. The two repeated tests under the same condition showed consistent M P P E N results, indicating good repeatability of the measurement and analysis procedure, as shown in Figure A1, Figure A2 and Figure A3. These repeatability results provide supporting evidence that the observed differences reflect genuine changes in flow dynamics rather than random fluctuations.
Figure A1. M P P E N of typical flow condition (Usl = 0.295 m/s, Usg = 0.295 m/s, oil-dispersed slug flow): (a) Test 1; (b)Test 2.
Figure A1. M P P E N of typical flow condition (Usl = 0.295 m/s, Usg = 0.295 m/s, oil-dispersed slug flow): (a) Test 1; (b)Test 2.
Energies 19 00052 g0a1
Figure A2. M P P E N of typical flow condition (Usl = 0.295 m/s, Usg = 0.737 m/s, emulsified slug flow): (a) Test 1; (b) Test 2.
Figure A2. M P P E N of typical flow condition (Usl = 0.295 m/s, Usg = 0.737 m/s, emulsified slug flow): (a) Test 1; (b) Test 2.
Energies 19 00052 g0a2
Figure A3. Comparison of mean M P P E N under repeated tests for two representative flow conditions: (a) Usl = 0.295 m/s, Usg = 0.295 m/s; (b) Usl = 0.295 m/s, Usg = 0.737 m/s.
Figure A3. Comparison of mean M P P E N under repeated tests for two representative flow conditions: (a) Usl = 0.295 m/s, Usg = 0.295 m/s; (b) Usl = 0.295 m/s, Usg = 0.737 m/s.
Energies 19 00052 g0a3

References

  1. Zhuang, L.; Jin, N.; Zhao, A.; Gao, Z.; Zhai, L.; Tang, Y. Nonlinear multi-scale dynamic stability of oil–gas–water three-phase flow in vertical upward pipe. Chem. Eng. J. 2016, 302, 595–608. [Google Scholar] [CrossRef]
  2. Zhai, L.; Huang, Y.; Qiao, J.; Xu, B.; Jin, N. Measurement of gas holdup in slug region of horizontal oil–gas–water three-phase flow by a distributed ultrasonic sensor. IEEE Sens. J. 2024, 24, 2547–2557. [Google Scholar] [CrossRef]
  3. Zhai, L.; Meng, X.; Qiao, J.; Huang, Y.; Wang, W. Measurement of water holdup in slug region of oil-gas-water intermittent flow by plug-in conductance sensors. Flow Meas. Instrum. 2025, 102, 102832. [Google Scholar] [CrossRef]
  4. Richman, J.S.; Moorman, J.R. Physiological time-series analysis using approximate entropy and sample entropy. Am. J. Physiol. Heart Circ. Physiol. 2000, 278, H2039. [Google Scholar] [CrossRef]
  5. Liu, L.-Z.; Qian, X.-Y.; Lu, H.-Y. Cross-sample entropy of foreign exchange time series. Phys. A Stat. Mech. Its Appl. 2010, 389, 4785–4792. [Google Scholar] [CrossRef]
  6. Zhu, L.; Jin, N.D.; Gao, Z.K.; Zong, Y.B. Multi-scale cross entropy analysis for inclined oil–water two-phase countercurrent flow patterns. Chem. Eng. Sci. 2011, 66, 6099–6108. [Google Scholar] [CrossRef]
  7. Scafetta, N.; Grigolini, P. Scaling detection in time series: Diffusion entropy analysis. Phys. Rev. E Stat. Nonlinear Soft Matter Phys. 2002, 66, 036130. [Google Scholar] [CrossRef]
  8. Costa, M.; Goldberger, A.L.; Peng, C.K. Multiscale entropy analysis of biological signals. Phys. Rev. E Stat. Nonlinear Soft Matter Phys. 2005, 71, 021906. [Google Scholar] [CrossRef]
  9. Costa, M.; Peng, C.K.; Goldberger, A.L.; Hausdorff, J.M. Multiscale entropy analysis of human gait dynamics. Phys. A Stat. Mech. Its Appl. 2003, 330, 53–60. [Google Scholar] [CrossRef]
  10. Costa, M.; Goldberger, A.L.; Peng, C.K. Multiscale entropy analysis of complex physiologic time series. Phys. Rev. Lett. 2002, 89, 068102. [Google Scholar] [CrossRef]
  11. Thuraisingham, R.A.; Gottwald, G.A. On multiscale entropy analysis for physiological data. Phys. A Stat. Mech. Its Appl. 2006, 366, 323–332. [Google Scholar] [CrossRef]
  12. Angelini, L.; Maestri, R.; Marinazzo, D.; Nitti, L.; Pellicoro, M.; Pinna, G.D.; Stramaglia, S.; Tupputi, S.A. Multiscale analysis of short term heart beat interval, arterial blood pressure, and instantaneous lung volume time series. Artif. Intell. Med. 2007, 41, 237–250. [Google Scholar] [CrossRef] [PubMed]
  13. Wang, G.J.; Xie, C.; Han, F. Multi-scale approximate entropy analysis of foreign exchange markets efficiency. Syst. Eng. Procedia 2012, 3, 201–208. [Google Scholar] [CrossRef]
  14. Fu, Z.; Li, Q.; Yuan, N.; Yao, Z. Multi-scale entropy analysis of vertical wind variation series in atmospheric boundary-layer. Commun. Nonlinear Sci. Numer. Simul. 2014, 19, 83–91. [Google Scholar] [CrossRef]
  15. Begušić, S.; Kostanjčar, Z.; Kovač, D.; Stanley, H.E.; Podobnik, B. Information feedback in temporal networks as a predictor of market crashes. Complexity 2018, 2018, 2834680. [Google Scholar] [CrossRef]
  16. Harnack, D.; Laminski, E.; Schünemann, M.; Pawelzik, K.R. Topological causality in dynamical systems. Phys. Rev. Lett. 2017, 119, 098301. [Google Scholar] [CrossRef]
  17. Bandt, C.; Pompe, B. Permutation entropy: A natural complexity measure for time series. Phys. Rev. Lett. 2002, 88, 174102. [Google Scholar] [CrossRef]
  18. He, S.; Sun, K.; Wang, H. Multivariate permutation entropy and its application for complexity analysis of chaotic systems. Phys. A Stat. Mech. Its Appl. 2016, 461, 812–823. [Google Scholar] [CrossRef]
  19. Ahmed, M.U.; Mandic, D.P. Multivariate multiscale entropy: A tool for complexity analysis of multichannel data. Phys. Rev. E Stat. Nonlinear Soft Matter Phys. 2011, 84, 061918. [Google Scholar] [CrossRef]
  20. Yin, Y.; Shang, P. Multivariate multiscale sample entropy of traffic time series. Nonlinear Dyn. 2016, 86, 479–488. [Google Scholar] [CrossRef]
  21. Morabito, F.C.; Labate, D.; La Foresta, F.; Bramanti, A.; Morabito, G.; Palamara, I. Multivariate multi-scale permutation entropy for complexity analysis of alzheimer’s disease EEG. Entropy 2012, 14, 1186. [Google Scholar] [CrossRef]
  22. Yin, Y.; Shang, P. Multivariate weighted multiscale permutation entropy for complex time series. Nonlinear Dyn. 2017, 88, 1707–1722. [Google Scholar] [CrossRef]
  23. Kang, H.; Zhang, X.; Zhang, G. Phase permutation entropy: A complexity measure for nonlinear time series incorporating phase information. Phys. A Stat. Mech. Its Appl. 2021, 568, 125686. [Google Scholar] [CrossRef]
  24. Li, C.; Luo, G.; Qin, K.; Li, C. An image encryption scheme based on chaotic tent map. Nonlinear Dyn. 2017, 87, 127–133. [Google Scholar] [CrossRef]
  25. Abarbanel, H.D.I.; Kennel, M.B. Local false nearest neighbors and dynamical dimensions from observed chaotic data. Phys. Rev. E Stat. Phys. Plasmas Fluids Relat. Interdiscip. Top. 1993, 47, 3057. [Google Scholar] [CrossRef]
  26. Liebert, W.; Schuster, H.G. Proper choice of the time delay for the analysis of chaotic time series. Phys. Lett. A 1989, 142, 107–111. [Google Scholar] [CrossRef]
  27. Zhai, L.; Angeli, P.; Jin, N.; Zhou, D.; Zhu, L. The nonlinear analysis of horizontal oil-water two-phase flow in a small diameter pipe. Int. J. Multiph. Flow 2017, 92, 39–49. [Google Scholar] [CrossRef]
  28. Lorenz, E.N. Deterministic Nonperiodic Flow. J. Atmos. Sci. 1963, 20, 130–141. [Google Scholar] [CrossRef]
Figure 1. Bifurcation diagram, PE, and PPE of the Tent map (For the calculation of PE and PPE, the data length is 2000, with the embedding dimension m and delay time τ set to 7 and 4, respectively).
Figure 1. Bifurcation diagram, PE, and PPE of the Tent map (For the calculation of PE and PPE, the data length is 2000, with the embedding dimension m and delay time τ set to 7 and 4, respectively).
Energies 19 00052 g001
Figure 2. Data series x n , PE, and PPE of the Hénon map (For the calculation of PE and PPE, the data length is 2000, with the embedding dimension m and delay time τ set to 7 and 4, respectively).
Figure 2. Data series x n , PE, and PPE of the Hénon map (For the calculation of PE and PPE, the data length is 2000, with the embedding dimension m and delay time τ set to 7 and 4, respectively).
Energies 19 00052 g002
Figure 3. The effects of embedding dimension m of state space reconstruction on PE and PPE (Data length is 5000, delay time τ = 3): (a) m = 4; (b) m = 5; (c) m = 6; (d) m = 7; (e) m = 8; (f) m = 9.
Figure 3. The effects of embedding dimension m of state space reconstruction on PE and PPE (Data length is 5000, delay time τ = 3): (a) m = 4; (b) m = 5; (c) m = 6; (d) m = 7; (e) m = 8; (f) m = 9.
Energies 19 00052 g003
Figure 4. Influence of time delay τ on PPE (Data length is 5000, embedding dimension m is 7).
Figure 4. Influence of time delay τ on PPE (Data length is 5000, embedding dimension m is 7).
Energies 19 00052 g004
Figure 5. M P P E N of Lorenz and sinusoidal series with different SNRs (For the Lorenz system, the data length of the x-series is 10,000, and initial value [1, 1, 1]; for the sinusoidal signal, the frequency is 50 Hz and the data length is 10,000).
Figure 5. M P P E N of Lorenz and sinusoidal series with different SNRs (For the Lorenz system, the data length of the x-series is 10,000, and initial value [1, 1, 1]; for the sinusoidal signal, the frequency is 50 Hz and the data length is 10,000).
Energies 19 00052 g005
Figure 6. Schematic of the horizontal oil–gas–water three-phase flow simulation well.
Figure 6. Schematic of the horizontal oil–gas–water three-phase flow simulation well.
Energies 19 00052 g006
Figure 7. Schematic diagram of the DCS structure: (a) 3D view; (b) Front view.
Figure 7. Schematic diagram of the DCS structure: (a) 3D view; (b) Front view.
Energies 19 00052 g007
Figure 8. Schematic diagram of the DCS measurement system.
Figure 8. Schematic diagram of the DCS measurement system.
Energies 19 00052 g008
Figure 9. Flow images of oil-dispersed slug flow (Superficial liquid velocity Usl = 0.589 m/s, Superficial gas velocity Usg = 0.295 m/s): (ac) Flow images from film region; (df) Flow images from slug region.
Figure 9. Flow images of oil-dispersed slug flow (Superficial liquid velocity Usl = 0.589 m/s, Superficial gas velocity Usg = 0.295 m/s): (ac) Flow images from film region; (df) Flow images from slug region.
Energies 19 00052 g009
Figure 10. Flow images of emulsified slug flow (Usl = 0.589 m/s, Usg = 0.737 m/s): (ac) Flow images from film region; (df) Flow images from slug region.
Figure 10. Flow images of emulsified slug flow (Usl = 0.589 m/s, Usg = 0.737 m/s): (ac) Flow images from film region; (df) Flow images from slug region.
Energies 19 00052 g010
Figure 11. Flow images of pseudo slug flow (Usl = 0.589 m/s, Usg = 2.505 m/s): (ac) Flow images from film region; (df) Flow images from slug region.
Figure 11. Flow images of pseudo slug flow (Usl = 0.589 m/s, Usg = 2.505 m/s): (ac) Flow images from film region; (df) Flow images from slug region.
Energies 19 00052 g011
Figure 12. DCS signals under typical flow conditions (Usl = 0.295 m/s): (a) Usg = 0.295 m/s, oil-dispersed slug flow; (b) Usg = 0.737 m/s, emulsified slug flow; (c) Usg = 2.505 m/s, pseudo slug flow.
Figure 12. DCS signals under typical flow conditions (Usl = 0.295 m/s): (a) Usg = 0.295 m/s, oil-dispersed slug flow; (b) Usg = 0.737 m/s, emulsified slug flow; (c) Usg = 2.505 m/s, pseudo slug flow.
Energies 19 00052 g012
Figure 13. DCS signals under typical flow conditions (Usl = 0.589 m/s): (a) Usg = 0.295 m/s, oil-dispersed slug flow; (b) Usg = 0.737 m/s, emulsified slug flow; (c) Usg = 2.505 m/s, pseudo slug flow.
Figure 13. DCS signals under typical flow conditions (Usl = 0.589 m/s): (a) Usg = 0.295 m/s, oil-dispersed slug flow; (b) Usg = 0.737 m/s, emulsified slug flow; (c) Usg = 2.505 m/s, pseudo slug flow.
Energies 19 00052 g013
Figure 14. M P P E N of typical flow conditions (Usl = 0.295 m/s): (a) Usg = 0.295 m/s, oil-dispersed slug flow; (b) Usg = 0.737 m/s, emulsified slug flow; (c) Usg = 2.505 m/s, pseudo slug flow.
Figure 14. M P P E N of typical flow conditions (Usl = 0.295 m/s): (a) Usg = 0.295 m/s, oil-dispersed slug flow; (b) Usg = 0.737 m/s, emulsified slug flow; (c) Usg = 2.505 m/s, pseudo slug flow.
Energies 19 00052 g014
Figure 15. M P P E N of typical flow conditions (Usl = 0.589 m/s): (a) Usg = 0.295 m/s, oil-dispersed slug flow; (b) Usg = 0.737 m/s, emulsified slug flow; (c) Usg = 2.505 m/s, pseudo slug flow.
Figure 15. M P P E N of typical flow conditions (Usl = 0.589 m/s): (a) Usg = 0.295 m/s, oil-dispersed slug flow; (b) Usg = 0.737 m/s, emulsified slug flow; (c) Usg = 2.505 m/s, pseudo slug flow.
Energies 19 00052 g015
Figure 16. Mean M P P E N for horizontal oil–gas–water flows: (a) Usl = 0.295 m/s; (b) Usl = 0.442 m/s; (c) Usl = 0.589 m/s; (d) Usl = 0.737 m/s.
Figure 16. Mean M P P E N for horizontal oil–gas–water flows: (a) Usl = 0.295 m/s; (b) Usl = 0.442 m/s; (c) Usl = 0.589 m/s; (d) Usl = 0.737 m/s.
Energies 19 00052 g016
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

Zhai, L.; Huang, Y.; Qiao, J.; Cui, J. Complexity of Horizontal Oil–Gas–Water Flows in Deepwater Simulation Well: Insights from Multiscale Phase Permutation Entropy Analysis. Energies 2026, 19, 52. https://doi.org/10.3390/en19010052

AMA Style

Zhai L, Huang Y, Qiao J, Cui J. Complexity of Horizontal Oil–Gas–Water Flows in Deepwater Simulation Well: Insights from Multiscale Phase Permutation Entropy Analysis. Energies. 2026; 19(1):52. https://doi.org/10.3390/en19010052

Chicago/Turabian Style

Zhai, Lusheng, Yukun Huang, Jiawei Qiao, and Jingru Cui. 2026. "Complexity of Horizontal Oil–Gas–Water Flows in Deepwater Simulation Well: Insights from Multiscale Phase Permutation Entropy Analysis" Energies 19, no. 1: 52. https://doi.org/10.3390/en19010052

APA Style

Zhai, L., Huang, Y., Qiao, J., & Cui, J. (2026). Complexity of Horizontal Oil–Gas–Water Flows in Deepwater Simulation Well: Insights from Multiscale Phase Permutation Entropy Analysis. Energies, 19(1), 52. https://doi.org/10.3390/en19010052

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