Production System Modelling

Your Progress in this Chapter

0%

0 / 26 units completed

Chapter Overview

Inflow Performance Relation

Section 11.2 of 630 min9 code examples

Definition: The Inflow Performance Relationship (IPR) describes the relationship between the bottom-hole flowing pressure (p_{wf}) and the production rate ('math:q) of a well. It is a fundamental tool in reservoir engineering used to evaluate well productivity and forecast performance under different operating conditions.

Oil Well IPR Above Bubble Point

the reservoir pressure is above the bubble point pressure, the fluid remains single-phase (oil only). The relationship is linear and can be expressed as:

q=J(prpwf)q = J \cdot (p_r - p_{wf})

Where:

  • q = production rate (STB/day)
  • J = productivity index (STB/day/psi)
  • p_r = average reservoir pressure (psi)
  • p_{wf} = bottom-hole flowing pressure (psi)

Numerical Example:

Given:

  • J = 2 \, \text{STB/day/psi}
  • p_r = 3000 \, \text{psi}
  • p_{wf} = 2500 \, \text{psi}
q=2(30002500)=1000STB/dayq = 2 \cdot (3000 - 2500) = 1000 \, \text{STB/day}

Example 1C#

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Code is ready to run
OutputFrom the book
Production Rate (q) = 1000 STB/day
OilIPR_Above_Pb.png

Oil Well IPR Below Bubble Point

When the reservoir pressure falls below the bubble point, gas evolves from solution, and the relationship becomes non-linear. Vogel’s empirical equation is commonly used:

qqmax=10.2pwfpr0.8(pwfpr)2\frac{q}{q_{max}} = 1 - 0.2 \cdot \frac{p_{wf}}{p_r} - 0.8 \cdot \left(\frac{p_{wf}}{p_r}\right)^2

Where:

-q_{max} = maximum flow rate at p_{wf} = 0

Numerical Example:

Given:

  • q_{max} = 2000 \, \text{STB/day}
  • p_r = 2500 \, \text{psi}
  • p_{wf} = 1000 \, \text{psi}
q2000=10.2100025000.8(10002500)2q2000=10.080.128=0.792q=20000.792=1584STB/day\frac{q}{2000} = 1 - 0.2 \cdot \frac{1000}{2500} - 0.8 \cdot \left(\frac{1000}{2500}\right)^2\\ \frac{q}{2000} = 1 - 0.08 - 0.128 = 0.792\\ q = 2000 \cdot 0.792 = 1584 \, \text{STB/day}

Example 2C#

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Code is ready to run
OutputFrom the book
Production Rate (q) = 1583.9999999999998 STB/day
OilIPR_Below_Pb.png

Flow Efficiency and Skin

Flow Efficiency (FE): Flow efficiency is a measure of how effectively a well produces compared to an ideal, undamaged well. It is defined as:

FE=qactualqidealFE = \frac{q_{actual}}{q_{ideal}}

Example 3C#

1
2
3
4
Code is ready to run
OutputFrom the book
Flow Efficiency (FE) = 75.76%

Skin Factor (s): Skin represents additional pressure drop caused by near-wellbore damage or stimulation. The productivity index with skin is:

Js=Jln(re/rw)ln(re/rw)+sJ_s = \frac{J \ln(r_e/r_w)}{\ln(r_e/r_w) + s}

Where:

  • r_e = drainage radius
  • r_w = wellbore radius
  • s = skin factor

A positive skin reduces productivity, while a negative skin (stimulation) increases productivity. Numerical Example with Pressure Drop Consider a reservoir with:

  • p_r = 3000 \, \text{psi}
  • Bubble point pressure p_b = 2500 \, \text{psi}
  • q_{max} = 2000 \, \text{STB/day}
  • J = 2 \, \text{STB/day/psi}
  • r_e/r_w = 1000
  • s = +3

Case 1: Above Bubble Point (p_{wf} = 2800 \, \text{psi})

Js=2ln(1000)ln(1000)+31.3944q=1.3944(30002800)=278.9 STB/dayJ_s = \cfrac{2 \ln(1000)}{\ln(1000) + 3} \approx 1.3944 \\ q = 1.3944 \cdot(3000 - 2800) = 278.9 \, \text{ STB/day}

Example 4C#

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Code is ready to run
OutputFrom the book
Adjusted Productivity Index (J_s) = 1.3944 STB/day/psi
OilIPR_Above_Pb_Damaged_Stimulated_Skin.png

Case 2: Below Bubble Point (p_{wf} = 2000 \, \text{psi})

q2000=10.2200030000.8(20003000)2q2000=10.1330.356=0.511q=20000.511=1022 STB/day\frac{q}{2000} = 1 - 0.2 \cdot \frac{2000}{3000} - 0.8 \cdot \left(\frac{2000}{3000}\right)^2 \\ \frac{q}{ 2000} = 1 - 0.133 - 0.356 = 0.511 \\ q = 2000 \cdot 0.511 = 1022 \, \text{ STB/day}

Adjusted for skin:

qactual=1022JsJ=10221.39442=712.5STB/dayq_actual = 1022 \cdot \frac{J_s}{J} = 1022 \cdot \frac{1.3944}{2} = 712.5 \, \text{STB/day}

Example 5C#

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Code is ready to run
OutputFrom the book
OilIPR_Below_Pb_Damaged_Stimulated_Skin.png

Case 3: At Zero Bottom-Hole Pressure (p_{wf} = 0)

q=qmax=2000STB/dayq = q_{max} = 2000 \, \text{STB/day}

Adjusted for skin:

qactual=20001.39442=1394.4STB/dayq_actual = 2000 \cdot \frac{1.3944}{2} = 1394.4 \, \text{STB/day}

Example 6C#

1
2
3
Code is ready to run
OutputFrom the book
Actual AOF = 1394.4 STB/day

Gas Well Inflow Performance Relation (IPR)

Definition: Gas Inflow Performance Relationship (IPR) describes the relationship between the gas flow rate (q_g) and the bottom-hole flowing pressure (p_{wf}). Unlike oil, gas productivity is highly non-linear due to the pressure-dependent properties of gas (viscosity mu_g and compressibility factor z).

The Simplified Back-Pressure Equation

For most engineering applications, the Rawlins and Schellhardt empirical "Back-Pressure" equation is used to describe gas well performance:

qg=C(pr2pwf2)nq_g = C \cdot (p_r^2 - p_{wf}^2)^n

Where:

  • q_g = gas flow rate (Mscf/day)
  • C = performance coefficient (Mscf/day/psi²)
  • p_r = average reservoir pressure (psia)
  • p_{wf} = bottom-hole flowing pressure (psia)
  • n = turbulence factor (typically 0.5 to 1.0)

Numerical Example:

Given:

  • C = 0.01 \, \text{Mscf/day/psi}^2
  • n = 0.85 (indicates some non-Darcy flow/turbulence)
  • p_r = 3000 \, \text{psia}
  • p_{wf} = 2000 \, \text{psia}
qg=0.01(3000220002)0.85qg=0.01(5,000,000)0.854,874,Mscf/dayq_g = 0.01 \cdot (3000^2 - 2000^2)^{0.85} \\ q_g = 0.01 \cdot (5,000,000)^{0.85} \approx 4,874 , \text{Mscf/day}

Example 7C#

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Code is ready to run
OutputFrom the book
Gas Flow Rate (q_g) = 4944.52 Mscf/day
GasIPR.png

Absolute Open Flow (AOF)

The Absolute Open Flow potential is the maximum rate a well could theoretically deliver if the flowing pressure (p\_{wf}) were reduced to zero. It is a common benchmark for gas well productivity.

AOF=C(pr2)nAOF = C \cdot (p_r^2)^n

Numerical Example:

Using the same parameters as above:

AOF=0.01(30002)0.85AOF=0.01(9,000,000)0.858,021Mscf/dayAOF = 0.01 \cdot (3000^2)^{0.85} \\ AOF = 0.01 \cdot (9,000,000)^{0.85} \approx 8,021 \, \text{Mscf/day}

Example 8C#

1
2
3
4
5
Code is ready to run
OutputFrom the book
❌ Syntax Error in Documentation:
Line 7: Member definition, statement, or end-of-file expected

High Pressure Gas IPR (Pseudo-Pressure)

The m(p) approach:/// When reservoir pressure exceeds 2000–3000 psi, the p^2 method becomes inaccurate. Engineers use the Real Gas Pseudo-Pressure, m(p), to linearize the flow equation:

qg=C[m(pr)m(pwf)]q_g = C' \cdot [m(p_r) - m(p_{wf})]

Where:

m(p)=2pbaseppμgzdpm(p) = 2 \int_{p_{base}}^{p} \frac{p}{\mu_g z} dp

Example 9C#

1
2
3
4
5
6
Code is ready to run
OutputFrom the book
Pseudo-pressure Gas Rate = 4600.00 Mscf/day

Summary of n-values:

n ValueFlow RegimeDescription
n = 1.0Fully LaminarDarcy flow, no turbulence near wellbore.
0.5 < n < 1.0TransitionalCommon in most commercial gas wells.
n = 0.5Fully TurbulentHigh velocity flow, typical in high-rate wells.