Skip to content

Commit

Permalink
Update cvd_condensate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yohanesnuwara authored Jun 25, 2020
1 parent d6606c9 commit f19ff08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Unit 10 Gas-Condensate Reservoirs/functions/cvd_condensate.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ def cvd_condensate(z, z2, temp, p, Gp, Np, Vo):
z: measured gas-phase compressibility factor (array)
z2: measured two-phase compressibility factor (array)
p: measured pressure (array)
Gp: gas produced in the PVT cell
Np: condensate produced in the PVT cell
Gp: gas produced in the PVT cell, in Mscf
Np: condensate produced in the PVT cell, in STB
Vo: condensate volume in the PVT cell
"""

z_j = z; Gp_j = Gp; Np_j = Np; z2_j = z2; Vo_j = Vo
z_j = z; Gp_j = Gp * 1E+3; Np_j = Np; z2_j = z2; Vo_j = Vo

# calculate gas FVF (Bg)
Bg = (0.00503676 * z_j * (temp + 460)) / p # in RB/scf
Expand Down

0 comments on commit f19ff08

Please sign in to comment.