Email

Calculation algorithm for complex trajectories

Engineering
Petroleum
Reservoir Engineering
Well Modeling

2 months ago

112 6

A segmented well modeling algorithm for calculating productivity of complex-trajectory wells in multilayer reservoirs, accounting for inflow geometry, skin factors, anisotropy, and wellbore friction losses.

Introduction

In modern petroleum engineering, the development of oil and gas reservoirs increasingly relies on wells with complex trajectories, including inclined, horizontal, and S-shaped wellbores. Such wells significantly increase the contact area with the reservoir, improve drainage efficiency, and enhance hydrocarbon recovery from multilayer formations. However, the evaluation of well productivity in these conditions becomes more challenging due to the combined influence of wellbore geometry, inclination angle, permeability anisotropy, partial penetration of formations, skin effects, and frictional pressure losses within the wellbore.

Classical analytical solutions for inflow performance were originally derived for vertical or horizontal wells and often cannot fully represent the behavior of wells with complex trajectories intersecting multiple productive layers. Therefore, an integrated calculation approach that combines different inflow models and accounts for the spatial geometry of the wellbore is required.

This paper presents a methodology for calculating the productivity of complex-trajectory wells in multilayer reservoirs. The proposed algorithm is based on discretizing the wellbore into segments and applying established analytical models, including the Dupuit solution for radial flow and the Joshi model for horizontal wells, while accounting for skin factors and frictional pressure losses along the wellbore. This approach allows for a more accurate estimation of inflow distribution along the wellbore and the total production rate of the well.

Well Productivity Calculation Method for Complex-Trajectory Wells in Multi-Layer Reservoirs

This methodology describes the algorithm for determining the productivity of wells with complex trajectories (inclined, horizontal, S-shaped) that intersect multiple isolated productive formations, accounting for wellbore inclination angle, anisotropy, skin factors, and frictional pressure losses in the wellbore.

The approach relies on classical solutions for inflow to vertical and horizontal wells (Dupuit, Joshi, Economides) and correlations for skin factors in deviated wells (Cinco-Ley, Besson, and subsequent generalizations).

1. Inflow Calculation for Deviated Wells (Directional Wells)

For wellbore segments where the inclination angle lies outside the horizontal range, the flow pattern approximates radial, and the Dupuit formula for steady-state inflow to a vertical well is applied:

q=2πkhΔPμB(ln(Rerw)0.75+Stotal)q = \frac{2\pi kh\Delta P}{\mu B\left(\ln\left(\frac{R_{e}}{r_{w}}\right) - 0.75 + S_{total}\right)}

where:

  • k — formation permeability (mD, converted to m² for calculations);
  • h — effective formation thickness (m);
  • ΔP=PresPwf\Delta P = P_{res} - P_{wf} — drawdown (atm or Pa, depending on units);
  • μ\mu — oil viscosity (mPa·s → Pa·s);
  • B — oil formation volume factor (dimensionless);
  • Re/rwR_{e}/r_{w} — drainage radius to wellbore radius ratio;
  • StotalS_{total} — total skin factor (see Section 3 ).

The classical constant in the denominator corresponds to the pseudoskin factor for radial inflow to a perfectly penetrating vertical well and is documented, e.g., by Economides et al.

2. Inflow Calculation for Horizontal Wells

For segments with inclination angle θ from 80° to 90° (near-horizontal wellbore), the Joshi model for steady-state inflow to a horizontal well in an anisotropic formation is used:

q=khΔPμBDenomq = \frac{kh\Delta P}{\mu B D_{enom}}

where the denominator Aln(reHrw)+sA\ln\left(\frac{r_{eH}}{r_{w}}\right) + s accounts for elliptical drainage geometry and formation anisotropy:

1. Major semi-axis of the ellipse (α):

a=L2[0.5+0.25+(2reL)4]0.5a = \frac{L}{2}\left[0.5 + \sqrt{0.25 + \left(\frac{2r_e}{L}\right)^4}\right]^{0.5}

2. Anisotropy coefficient (β) (introduced as IaniI_{ani} or permeability ratio):

β=khkv or β=Iani\beta = \sqrt{\frac{k_h}{k_v}} \text{ or } \beta = \sqrt{I_{ani}}

3. Effective thickness (h′):

h=hβh^{\prime} = h \cdot \beta

4. Joshi logarithmic terms (in one common form):

ln1=ln(aL/2+(aL/2)21)ln2=ln(hL1+ββ)ln3=ln(h2rwhL1+ββ)\begin{aligned} \ln_1 &= \ln\left(\frac{a}{L/2} + \sqrt{\left(\frac{a}{L/2}\right)^2 - 1}\right) \\ \\ \ln_2 &= \ln\left(\frac{h^{\prime}}{L} \cdot \frac{1 + \beta}{\beta}\right) \\ \\ \ln_3 &= \ln\left(\frac{h^{\prime}}{2r_w} \cdot \sqrt{\frac{h^{\prime}}{L} \cdot \frac{1 + \beta}{\beta}}\right) \end{aligned}

Then:

Denom=ln1+ln2ln3+S\mathit{Denom} = \ln_1 + \ln_2 - \ln_3 + S

where s— skin factor (mechanical + other components, see Section 3 ).

The Joshi model is detailed in Horizontal Well Technology and generalized for various drainage geometries in Petroleum Production Systems.

3. Skin Factor Calculations

The total skin factor for each wellbore segment is treated as an additive quantity:

Stotal=Smech+Sθ+SpS_{total} = S_{mech} + S_{\theta} + S_{p}

3.1. Mechanical Skin Factor SmechS_{mech}

SmechS_{mech} reflects filtration resistance due to near-wellbore zone contamination by drilling fluid filtrate, perforation damage, uneven penetration, etc. Its value is typically calibrated from well test (WDT/PLT) data or taken from standard correlations (Economides, Babu-Odeh, etc.).

3.2. Inclination Angle Skin Factor

For deviated sections (0<θ<90°)(0 < θ < 90°), the geometric pseudoskin correlation for deviated wells by Cinco-Ley and Besson is used:

Sθ=hrwkvkhcosθ412(h/Re)S_{\theta} = \frac{h}{r_w} \cdot \sqrt{\frac{k_v}{k_h}} \cdot \frac{|\cos \theta|}{41 - 2 \cdot \left(h / R_e\right)}
  • As θ90°θ → 90°, SθS_{θ} transitions to the geometric component of the Joshi model (horizontal well);
  • With increasing anisotropy (kv/kh1)(k_{v}/k_{h} ≪ 1) the inclination effect on SθS_{θ} grows, confirmed by classical Besson work and modern deviated well correlations.

3.3. Partial Penetration Skin Factor SpS_{p}

The partial penetration skin factor accounts for additional inflow resistance arising when the wellbore intersects only part of the effective formation thickness hh and terminates within the formation.

In this case, streamlines converge toward the ends of the open interval, increasing drawdown compared to a fully penetrating well.

To quantify this effect, the widely cited analytical approximation by Papatzacos (1987) is applied, commonly used in inflow analysis and well test interpretation for partially penetrated and perforated intervals.

Calculation Algorithm SpS_{p}:

1. Dimensionless Thickness hDh_{D}

hD=hrwkhkvh_{D} = \frac{h}{r_w} \cdot \sqrt{\frac{k_h}{k_v}}

where kh,kvk_h, k_v are horizontal and vertical permeabilities, and rwr_w is the wellbore radius.

2. Geometric Parameter bb

The parameter bb describes the geometry of the partially penetrated interval relative to formation boundaries and accounts for flow asymmetry when the open interval is offset from the formation center:

b=h/hp2+h/hp(zw+hp/4)(hzw+hp/4)(zwhp/4)(hzwhp/4)b = \frac{h / h_p}{2 + h / h_p} \cdot \sqrt{\frac{\left(z_w + h_p / 4\right)\left(h - z_w + h_p / 4\right)}{\left(z_w - h_p / 4\right)\left(h - z_w - h_p / 4\right)}}

where:

  • hph_p is the penetrated (perforated) formation thickness;
  • zw=hhp/2z_w = h - h_p / 2 is the coordinate of the open interval midpoint relative to the formation top.

3. Final Formula SpS_{p}

Sp=(hhp1)ln(πhD2)+hhpln(b)S_{p} = \left(\frac{h}{h_p} - 1\right) \cdot \ln\left(\frac{\pi \cdot h_D}{2}\right) + \frac{h}{h_p} \cdot \ln(b)

The first term reflects the effect of the full-to-penetrated thickness ratio h/hph / h_p and anisotropy via hDh_D, while the second provides a correction for interval position within the formation via bb. When hphh_p \to h and the interval is symmetrically centered, SpS_p is consistent with solutions for fully penetrating wells.

4. Calculation Algorithm for Complex Trajectories (Radial Channel Model)

For wells with curved trajectories crossing multiple layers, a segmented approach (discretized wellbore/segment model) is applied.

Stage 1: Wellbore Discretization

  1. Wellbore is divided into segments of length ΔL\Delta L (typically 5-10 m; step selected based on trajectory smoothness and logging/inclinometry resolution).
  2. For each segment ii, from inclinometry data:
  • average inclination angle θi\theta_i;
  • coordinates and affiliation to specific formation jj;
  • local petrophysical parameters (kj,hj,pres,j)(k_j, h_j, p_{res,j}).

Stage 2: Calculation Model Selection by Angle

For each segment, the inflow model is selected:

  • If 70θi12070^\circ \le \theta_i \le 120^\circ: use Joshi horizontal well model ( Section 2 );
  • If θi<70\theta_i < 70^\circ or θi>120\theta_i > 120^\circ: use Dupuit formula ( Section 1 ) with StotalS_{total}, including SθS_{\theta}.

For segments partially penetrating the formation, SpS_p is additionally calculated (see 3.3).

Stage 3: Accounting for Frictional Losses in Wellbore

Drawdown for segment ii is determined as:

ΔPi=Pres,j(Pwf,heel+ΔPfric,i)\Delta P_i = P_{res,j} - \left(P_{wf,heel} + \Delta P_{fric,i}\right)

where ΔPfric,i\Delta P_{fric,i} is the frictional pressure loss in the wellbore section from segment ii to the heel.

Frictional losses can be estimated using the Darcy-Weisbach equation or standard pipeline correlations (depending on flow regime and phase composition), using current total flow rate in that wellbore section.

The general solution is iterative:

  1. Assign initial flow rate distribution across segments, for example proportional to khk \cdot h.
  2. Calculate ΔPfric,i\Delta P_{fric,i} along the wellbore.
  3. Recalculate ΔPi\Delta P_i and inflow qi,jq_{i,j} using Dupuit/Joshi models.
  4. Repeat until convergence on total flow rate and bottomhole pressure PwfP_{wf}.

This approach is described in IPR studies for horizontal/deviated wells, where neglecting friction leads to overestimation of productivity and errors in water/gas breakthrough timing.

Stage 4: Summing Flow Rates

Total well flow rate:

Qtotal=j=1ni=1mjqi,jQ_{total} = \sum_{j=1}^{n} \sum_{i=1}^{m_j} q_{i,j}

where:

  • jj is the formation (layer) index;
  • ii is the segment index belonging to layer jj;
  • qi,jq_{i,j} is the inflow from segment ii of layer jj, calculated by the selected model.

Additionally, an inflow profile along the wellbore and by layers can be generated to assess penetration efficiency and identify zones with excessive resistance (high StotalS_{total}).

Figure 1: Detailed flowchart of the calculation algorithm.

References

  1. Joshi S. D. Horizontal Well Technology. PennWell Publishing Company, 1991.
  2. Economides M. J., et al. Petroleum Production Systems. Prentice Hall, 1994.
  3. Cinco-Ley H., Samaniego F. “Transient Pressure Analysis for Fractured Wells.” JPT, 1981.
  4. Besson J. “Performance of Slanted and Horizontal Wells.” SPE 20965, SPERE, 1990.
  5. Modern reviews on IPR for horizontal wells and wellbore friction effects.

Case Study: Application of a Segmented Well Modeling Approach for Productivity Evaluation of an S-Shaped Well

As a representative example, a scenario is considered to demonstrate the impact of well trajectory on the inflow profile. Three hydraulically isolated reservoir layers exhibit identical petrophysical and flow properties; however, they intersect the wellbore with different geometrical configurations. A comparison between the segmented well modeling approach and a simplified layer-based analytical model reveals not only significant quantitative discrepancies but also a qualitative distortion of the physical representation of the inflow distribution.

Problem Definition and Input Data

An S-shaped well intersecting three productive reservoir layers is considered. The layers have identical properties: permeability of 100 mD, permeability anisotropy defined by the ratio kv/kh=0.30k_{v} / k_{h} = 0.30, reservoir pressure of 270 atm, and mechanical skin factor SmechS_{mech}. The wellbore diameter is 0.05 m, and the bottomhole pressure at the heel is 100 atm. Each layer has a thickness of 200 m, with the perforated interval located at the center and equal to 100 m (50% reservoir penetration, Figure 1).

The segmented approach represents the wellbore as a discrete set of segments. For each segment, the inclination angle, reservoir layer assignment, and local properties are determined from trajectory (inclination survey) data. An appropriate inflow model (radial or quasi-horizontal) is then selected, and skin components are incorporated, including mechanical skin, angular pseudoskin, and partial penetration skin. The local pressure drawdown is subsequently updated iteratively, accounting for cumulative pressure losses along the wellbore. 1, 2

Figure 1. Well trajectory geometry and relative position of perforated intervals

Simulation Results and Inflow Redistribution Analysis

According to the segmented well model, the production rates from the reservoir layers are 143.7, 86.0, and 389.7 m³/day, respectively, resulting in a total well production rate of 619.5 m³/day. The fractional contribution of each layer to the total inflow is 23.2%, 13.9%, and 62.9%, respectively (Figure 2).

Figure 2. Summary of layer-wise results (production rates, skin components, and inclination angles) in the segmented well model

Since the petrophysical properties of the reservoir layers are identical, the non-uniform inflow profile is solely governed by the wellbore spatial configuration and wellbore hydraulic losses. The intersection geometry is characterized by average inclination angles of 41.9°, 17.0°, and 70.1° for the respective layers. This spatial orientation results in angular pseudoskin values SθS_{θ} of 35.75, 45.95, and 16.35, respectively. The partial penetration skin factor SpS_{p} is identical for all layers (8.85), reflecting the same relative geometry of the perforated intervals [5].

The physical mechanism underlying this phenomenon follows a clear cause-and-effect relationship: wellbore geometry determines the local pseudoskin, which directly controls the near-wellbore flow resistance and, consequently, leads to a nonlinear redistribution of formation inflow. In steady-state flow equations, the flow resistance appears in the denominator of a logarithmic function involving flow geometry parameters and the skin factor. An increase in the total skin (S) results in a proportional reduction of the productivity index (PI) [3]. For inclined and horizontal completions, geometric effects become dominant: the effective flow resistance critically depends on the inclination angle and permeability anisotropy [4].

Superposition of all skin components (mechanical, angular, and partial penetration) for the considered layers yields total skin values of 46.1, 56.3, and 26.7. Thus, the overall flow resistance of the second layer exceeds that of the third layer by more than a factor of two, despite the mechanical formation damage being only 1.5. Therefore, well trajectory effects dominate over classical near-wellbore formation damage (formation impairment) effects.

Impact of Wellbore Hydraulic Losses on Local Pressure Drawdown

A critically important physical mechanism captured by the segmented well model is the degradation of local pressure drawdown due to frictional pressure losses along the wellbore. In the considered case, the local flowing bottomhole pressure PwfP_{wf} increases from 160.85 atm in the upper (first) layer to 175.37 atm in the lower (third) layer. The resulting longitudinal pressure gradient of approximately 14.5 atm leads to a proportional reduction in local pressure drawdown from 109.15 to 94.63 atm (Figure 3).

Figure 3. Bottomhole pressure and pressure drawdown profile along the wellbore, illustrating frictional pressure losses

In engineering literature, this phenomenon is classified as a macroscopic manifestation of the heel-toe effect: frictional pressure losses along an extended wellbore section create a pressure differential between the heel and the toe, resulting in an asymmetric inflow profile even in a homogeneous reservoir [6, 7]. From a pipeline hydraulics perspective, distributed friction losses are described by the Darcy–Weisbach equation [8]. In this context, a horizontal well can be treated as a system with distributed inflow (“pipe manifold with T-junctions”), where continuous fluid influx from the reservoir dynamically alters the velocity profile along the wellbore, requiring a coupled solution of wellbore flow equations and reservoir flow (filtration) equations [9, 10].

Comparison with a Layer-Based Analytical Model (Simplified Approach)

The conventional layer-based analytical approach assumes averaged reservoir properties and neglects pressure gradients within the wellbore. Under identical values of kk, hh, and ΔP{\Delta P}, and considering only the mechanical skin SmechS_{mech}, the first and second layers produce identical inflow. Within this framework, the predicted production rates are 928.2, 928.2, and 518.2 m³/day, respectively, resulting in a total well production rate of 2374.6 m³/day (Figure 4).

Figure 4. Results of the simplified (layer-based) analytical model and comparison with the segmented well model

Comparison with the segmented well model results (619.5 m³/day) shows that the simplified analytical model overestimates well productivity by a factor of 3.83 (error of +283%). This significant discrepancy is explained by the underlying assumptions of the layer-based model: neglect of angular pseudoskin, omission of additional flow resistance due to partial penetration, and the assumption of uniform (isobaric) pressure along the wellbore.

In classical IPR models for horizontal wells, the inability to properly account for frictional pressure losses is a well-known limitation [11]. The use of the Joshi formulation in its basic form assumes an equipotential wellbore wall, which is not valid in the presence of a significant pressure gradient along the wellbore length [12].

Discussion

The obtained results clearly demonstrate the fundamental limitations of conventional analytical approaches that rely on an average inclination angle and an equivalent drainage radius when applied to multilayer wells with complex trajectories. The segmented analysis shows that under anisotropic reservoir conditions kv/kh<1k_{v} / k_{h} < 1, the local wellbore orientation (inclination angle) exerts a disproportionately strong influence on flow resistance. In particular, the angular pseudoskin in inclined intervals may exceed the mechanical skin SmechS_{mech} by an order of magnitude, becoming the primary limiting factor for well productivity.

Furthermore, the study confirms that neglecting wellbore hydrodynamics (frictional effects) inevitably leads to overestimation of the effective pressure drawdown in distal (toe) sections. This not only distorts the predicted total production rate but also results in an incorrect representation of the inflow profile along the wellbore. The practical implications are particularly significant for well completion design: accurate prediction of the heel-toe effect is essential for proper design of inflow control devices (ICD/AICD), optimization of liner diameters, and mitigation of premature water or gas coning in zones of excessive drawdown near the heel.

Conclusions and Practical Recommendations

  1. Non-uniform inflow profile. In wells with complex architectures draining multilayer reservoirs, the inflow profile is governed not only by reservoir transmissibility khkh but also, to a significant extent, by completion geometry (local inclination angle and penetration ratio). Reservoir layers with identical properties may exhibit substantially different contributions to total production.
  2. Dominance of geometric pseudoskin. The angular skin factor SθS_{θ} and the additional flow resistance associated with partial penetration SpS_{p} may exceed conventional mechanical skin SmechS_{mech} by several times. Well trajectory geometry thus becomes the primary factor controlling near-wellbore flow resistance.
  3. Importance of wellbore hydraulic losses (heel-toe effect). Frictional forces in deviated and horizontal sections may cause a significant increase in bottomhole pressure from heel to toe in long, high-productivity wells, leading to a reduction of effective pressure drawdown in distal intervals. Iterative coupling of wellbore hydraulics is therefore essential to ensure the physical consistency of the model.
  4. Limitations of layer-based analytical models. The use of classical simplified approaches that do not account for discrete inflow distribution and wellbore pressure losses leads to a significant overestimation of predicted well productivity (up to 280%) and distortion of the inflow profile. For the design of S-shaped and horizontal wells, as well as wells with radial laterals of varying lengths, the segmented well modeling approach should be considered a standard engineering practice.

References

Contact Form

Please leave your contact information and we will contact you soon

Required field

Your first name
Your last name
Your company or organization

Required field

Your preferred contact email
Your comment

Consulting Form

Please leave your contact information and we will contact you soon

Required field

Your first name
Your last name

Required field

Your preferred contact email
Your comment

The message has been sent