2024 年 3 月
特征

页岩技术:页岩气井贝叶斯变压下降曲线分析

新的工作流程可以为任何递减曲线模型生成概率历史匹配和生产预测,同时结合可变的必和必拓条件。它比传统 DCA 更准确地提供页岩气井的快速历史匹配和预测,同时量化模型不确定性。主要增值是概率变压 DCA 的创新方法。
Leopoldo Ruiz Maraggi 博士 / 德克萨斯大学奥斯汀分校经济地质局 Mark P. Walsh / 希尔德布兰特 德克萨斯大学奥斯汀分校石油和地球系统工程系 Larry W. Lake / 希尔德布兰特大学石油和地球系统工程系德克萨斯州奥斯汀 ·弗兰克·R·马累 / 宾夕法尼亚州立大学

递减曲线分析是石油和天然气行业中最流行的预测井产量和估计储量的技术。流行的递减曲线模型包括 Arps 双曲线模型,以及最近专门为非常规井开发的速率-时间模型,例如幂律指数、拉伸指数和逻辑增长模型。后一类还包括基于物理的模型。 

所有这些模型都有一个共同点:BHP 恒定的假设。虽然这种假设对于许多常规油气井通常是令人满意的,但它并不适合许多非常规油藏。在没有正确校正可变 BHP 条件的情况下应用 DCA 可能会导致一些不准确的情况,包括但不限于错误的 EUR 和不正确的流态表征。 

有两种主要方法可以解释可变 BHP 条件:速率-压力反卷积和时间叠加。第一种方法将变压率响应转换为恒压率响应。一旦我们有了恒压响应,我们就将速率-时间模型拟合到它,然后应用卷积将背压变化包括到历史匹配和预测产量中。 Kuchuk (2005) 提出了一种逆方案,该方案使用显式正性约束将线性反演转化为非线性问题。 Ilk (2007) 引入了基于累积产量的速率-压力反卷积方法。他们提出了一种反演方案,使用带有正则化的 B 样条基函数来获得恒定的单位压力速率解。  

反卷积方法有一个重要的局限性。数据(速率、初始储层压力和 BHP)中的误差会导致卷积矩阵通常存在秩不足且病态,从而使恒压速率响应高度振荡且不稳定。第二种方法使用下降曲线模型以及时间叠加原理。 Ilk 和 Blasingame(2013)以及后来的 Collins(2014)建议应用时间叠加以及递减曲线模型来对受可变 BHP 影响的非常规井的历史匹配和预测产量进行预测。作者指出了该方法的局限性,指出叠加原理仅适用于一致的速率和压力数据。速率和压力数据中的错误会导致生产历史匹配和预测不佳。 

贝叶斯推理使用概率来模拟不确定性和变化。贝叶斯推理背后的基本思想如下: a)它将给定模型的参数视为随机变量并估计它们的概率分布; b) 它包含了我们的信念和先验信息,例如专业知识或类似知识。 

Kong(2014) 首次使用 Arps 双曲线模型将贝叶斯推理应用于 Eagle Ford 和 Barnett 页岩的非常规井。随后,Gonzalez (2012, 2013)展示了贝叶斯推理在衰退分析中的应用,其中包括几种经验模型:修正的 Arps 幂律指数、拉伸指数、Duong 和逻辑增长。Fulford(2016)使用瞬态双曲关系(一种半经验模型)来生成 Bakken 地层 Elm Coulee 油田各井的产量预测分布。  

Holanda(2018)应用贝叶斯推论,利用单相微可压缩压力扩散方程的解析解来量化Barnett页岩井未来产量预测的不确定性。上述贝叶斯 DCA 研究均采用 Metropolis-Hastings (MH) MCMC 算法对下降曲线模型参数的后验分布进行采样。然而,当模型参数相关时,MH MCMC 技术收敛到平稳后验分布的速度非常慢。 

工作目标 

这项工作的目标是: a) 以快速、简单和稳健的方式将致密油藏 Ruiz Maraggi (2023) 变压 DCA 方法的开发和应用扩展到页岩气井; b) 量化模型参数和未来产量预测的不确定性。该技术分为两个阶段:I)变压DCA; II) 概率变压 DCA。第一阶段依次估计:1)递减曲线模型参数,2)BHP; 3) 初始储层压力,以准确匹配页岩气井在可变 BHP 下的产量。第二阶段计算模型参数的后验分布及其未来产量预测。这项工作使用自适应 MH MCMC 算法,可快速收敛到平稳后验分布。 

本文的结构如下:首先,我们详细介绍所提出方法的步骤。其次,我们用初始油藏压力和必和必拓历史中存在错误的合成案例验证了该技术。最后,本工作比较了概率可变压降 DCA 和传统 DCA 在页岩气井中的应用结果。我们使用基于物理的真实气体数值下降曲线模型来说明这些结果。 

方法

图1是变压DCA方法主要思想的示意图,它描绘了两个压力域:恒压和变压。图 1a描绘了恒压域,其中下降曲线模型的速率历史通常以单位压力速率q up (t;x)的形式显示,它是时间t和参数x的函数

 

图 1b显示了可变压力域,其中显示了实际速率历史记录。此步骤的目标是将下降曲线模型从恒定压降域映射到可变压降域,同时产生与实际速率历史的良好匹配。 

图 1. 变压 DCA 方法主要概念示意图。目标是将递减曲线模型从 (a) 恒定(伪)压降域映射到 (b) 可变(伪)压力条件,以进行历史匹配并预测页岩气井的产量。

图 2说明了在实际页岩气井示例中将递减曲线模型从恒压域应用到变压域时出现的问题。由于数据错误,该模型的历史匹配(蓝色虚线)与生产数据(红点)的匹配度极差。初始储层压力的错误估计P i和 BHP 在速率响应中产生误差。这些误差随时间向前传播,导致递减曲线模型的变压率响应出现较大振荡,如图2中蓝色虚线所示。  

图 2. 页岩气井的产气量生产历史(红点)和生产历史匹配,使用递减曲线模型(蓝色虚线)。由于数据错误,模型的历史匹配(蓝色虚线)与生产数据(红点)的匹配度很差。初始储层压力 Pi 和 BHP 的错误估计会导致速率响应出现错误。这些误差及时向前传播,导致递减曲线模型的变压率响应出现较大振荡。

为了避免这些问题,我们提出了一种替代方法,该方法在我们的姊妹篇 Ruiz Maraggi (2023) 中针对致密油井进行了介绍。该技术提供了一种快速而简单的解决方案,可将变量 BHP 合并到任何下降曲线模型中,同时解决以下问题(数据问题): 

    1. 初始储层压力P i估计不正确
    2. 井底流动压力P wf值不正确
    3. 速率和井底流动压力不一致(例如流动压力增加和气体速率增加)。 

本方法有四个主要目标: 

  1. 使用下降曲线模型,同时考虑可变压降效应,与历史相符的天然气产量。 
  2. 估计 BHP 历史,与下降曲线模型历史匹配一致。 
  3. 估计初始储层压力,与递减曲线模型历史匹配一致。 
  4. 量化模型估计的不确定性:估计参数和 EUR 的分布。 

工作流程

我们将工作流程分为两个阶段:I)变压DCA; II) 概率变压 DCA。 Ruiz Maraggi (2023) 针对轻微可压缩流体的情况引入了变压 DCA 方法。这项研究针对可压缩气体的情况调整并扩展了该方法。 

第一阶段:变压 DCA。该阶段由三个主要步骤组成:1)生产历史匹配; 2)(伪)压降修正; 3) 初始储层(伪)压力修正。 

步骤 1 :初始化。第一步选择递减曲线模型q up来分析产气量。下降曲线模型应根据每单位压降的速率(速率的维度除以压力)来定义。此外,该方法还需要初步估计(l=0)地层初始压力P (0) i和井底流动压力P (0) wf。该算法需要对 BHP 历史进行合理的估计。井底压力通常是利用流量相关性根据井口压力来估计的。 

 

步骤 2 :将压力转换为伪压力。我们必须将初始和井底流动压力转换为伪压力。方程 1 给出了压力和伪压力之间的关系。以下伪压力的定义很方便,因为它有压力单位。 

本研究使用 Peng-Robinson 78 EOS 使用范德华混合规则来计算天然气混合物的压缩系数(Sandler 2017 ),并使用 Lee-Gonzalez 相关性来计算混合物的粘度。计算出伪压力后,我们使用公式 2计算每次的伪压降: 

 

步骤3:GP历史匹配。第三步涉及天然气产量的历史匹配,使用时间叠加方程与递减曲线模型的累积产量 Gp向上。累计产量随时间单调增加。此外,它比速率历史更平滑,并提供更好的历史匹配,同时抑制压降估计中潜在错误的影响。

 

公式 3 假设系统的行为随时间呈线性变化。气体压缩性和粘度随压力的变化可能会随时间引入非线性。 Agarwal (1979) 引入了伪时间变换来解释这种非线性。然而,伪时间的定义需要预先了解每个生产时间的平均储层压力,而平均储层压力随着储层中存在的流动状态而变化的事实使情况变得复杂。由于这些原因,伪时间变换的应用并不简单。 

方程 4 是累积产量的最小二乘回归。 

此步骤的目标是估计下降曲线模型参数x (l+1)并在下一步中使用它们来校正/估计伪压降。 

步骤4:伪压降校正。 此步骤应用速率(伪)压力反卷积(Kuchuk 等人,2010)来估计伪压降螖P wf =蠄i鈭捪 � wf 使用下降曲线模型q up及其参数x (l+1)来自步骤 3。方程 5 是卷积积分的积分形式。 

考虑每个时间间隔的恒定伪压降,方程: 5 被离散化如下。 

在哪里G p螖蠄wf分别是累积产量和伪压降向量。矩阵B (l+1)  包含递减曲线模型q up的时间积分 

 

此步骤的目标是估计伪压降 螖蠄wf (l+1) 。然后在步骤 5 中使用该估计来校正/估计初始储层伪压力。 

步骤5:初始储层拟压力修正。 此步骤使用以下最小二乘优化来估计初始储层伪压力。 

一旦方程 9 解出,我们就返回到步骤 3,并使用估计的初始储层伪压力,然后重复步骤 3 至 5,直到: 

算法的最终输出为: (a) 模型的参数x (l+1), (b) 初始油藏拟压力i (l+1)和 (c) 伪压降螖蠄wf (l+1) 

第 6 步:计算汇率历史记录。 此步骤历史记录将产气率与产气量相匹配,使用方程 1 和估计模型的参数、初始储层伪压力和伪压降。 我们将伪压降转换为井底流动伪压力,如下所示:

wf (l+1) =鈭舍斚 � wf (l+1) +蠄i (l+1)

 

第二阶段:概率变压 DCA。第二阶段的目标是估计模型参数的概率分布,以生成页岩气井的概率生产历史匹配和预测。贝叶斯推理计算给定数据的模型参数的概率分布p(x|q) Gelman 等人,2014 )。 

先验分布。蟺(x) 是模型参数x的分布,在观察数据之前。该术语将我们的知识或信念纳入后验概率的计算中。 

 

似然函数 似然函数f(q|x)是在模型参数等于 x 的情况下生成数据q的概率这项工作假设数据的观察q k服从以模型值q k为中心的高斯分布,方差为常数2(同方差)。 

这项工作假设残差的样本标准差实际产量与计算产量之间的εε服从正态分布N (0,蟽) 

 

在哪里是最小二乘拟合残差的样本标准差(方程14),而εk �是产油率与生产时间k时建议参数值评估的模型之间的残差: ε k鈭� =q k鈭抭藛k (x鈭�) 

 

在哪里d是下降曲线模型的参数数量。方程中的求和。 13 和等式。 14延伸到所有生产数据点k。上标I表示由阶段 I 的优化例程确定的参数值。  

证据术语方程中的分母。 11 是数据的边际分布。在我们的例子中,f(q)。该术语确保封闭;也就是说,所有概率的总和加一。 

后分布贝叶斯推理得到后验分布观察数据q后模型参数x的p(x|q)。无法通过分析确定等式 12 中的证据项。但是,由于证据项(等式 11 的分母)是常数,后验、似然和先验可以写成比例: 

 

MCMC 方法通过利用先验和似然的乘积来估计模型参数的后验分布。他们构建一系列随机状态x 1−2−掆€︹啋x s使用条件概率函数[方程]来确定下一个状态x s以先前状态为条件x s−1。该序列称为马尔可夫链,如果条件分布给定x 0 , x 1 , ”, x s”1 的xs仅取决于先前状态x s”1(马尔可夫性质): 

MCMC 致力于设计一个马尔可夫链,使得平稳分布是后验分布p(x|q)。下面我们详细介绍自适应 Metropolis-Hastings (MH) MCMC 算法的步骤。 

步骤1:初始化马尔可夫链和参数向量x 0。执行 MCMC 需要多个马尔可夫链。标准程序是运行至少三个(C=3)平行链使用度量来评估收敛性,例如R藛诊断。此外,我们为每个链c设置初始起始模拟值x 0和模拟总数S。 

第 2 步:样本参数向量x鈭�由于后验分布未知,我们从另一个分布中抽取样本,这称为提议分布[方程] ,以生成候选参数向量x鈭 �(蒙特卡洛采样)基于采样器x s�1的先前状态。这项工作针对提案分布使用多元高斯分布r 

 

维度为d(模型参数数量)的多元正态分布具有以下联合密度: 

协方差矩阵结合了模型参数之间的相关性。我们在第 6 步中更新该矩阵。 

步骤3:计算接受率。 接受率是采样参数向量的可能性的度量与先前接受的移动x s−1相比, x−位于后验分布p(x|q)的高密度区域 

 

步骤4:生成均匀随机数。我们采样一个均匀的随机数u决定是否接受或拒绝该提案x鈭 

 

 

第 5 步:更新x s。如果u≤α锟解墹饾浖,我们接受提案并将下一个状态设置为等于提案:x s =x。如果u>α,我们拒绝该提案并将下一个状态设置为等于前一个状态:x s =x s鈭�1 

第 6 步:更新协方差矩阵

 录取率是接受的动作的分数。对于维度d=1 (一个参数),最优接受率opt为 0.441 ,随着维度数(模型参数个数)的增加而减小,达到渐近值 0.234(Brooks等人,2011)。 

自适应MH算法更新协方差矩阵根据过去的模拟抽签对提案分布进行评估,以确保接受接近最优接受。 (哈里奥 2001) 

 

步骤 7:计算概率率历史记录。一旦我们得到了每条链的模型参数的后验分布x c =[x 1 ,x 2 ,-,x S ],我们使用这些值来计算概率生产历史匹配,使用公式 10: 

在哪里x sc是给定马尔可夫链c的模型参数的后验模拟绘制sq藛sc是与该后验参数值相对应的速率估计。图3是示出贝叶斯变压DCA方法的步骤的流程图。 

图 3 说明概率可变压降 DCA 方法步骤的流程图。该方法分为两个阶段:I)变压DCA和II)概率变压DCA。

计算性能。 算法的设计满足三个要求:高稳定性、鲁棒性和速度。目前,一般井的典型分析需要变压 DCA 方法(第一阶段)约 10 秒,变压 DCA 方法约 1 分钟。用于典型笔记本电脑上的概率变压 DCA 技术(第二阶段)。我们预计在更复杂的硬件上执行时间会更短。进一步的改进将缩短计算时间。 

使用合成案例进行验证。 为了验证工作流程,我们在可变 BHP 条件下运行了数值模拟。数值模拟代表了理想化的水力压裂井,该井由n f 个 均匀分布的横向平面水力压裂井组成,这些裂缝刺激了周围的岩石体积。假定所有水力压裂的这些受刺激岩石体积相等,构成储层的受刺激岩石体积(SRV)。裂缝具有无限的电导率,因此,到达裂缝的流体会立即产生。此外,我们引用以下模型假设:(a)长度为 2 x f  且高度为h f恒定的平面裂缝和两个生产面,(b)水流是一维的并且垂直于水力裂缝的面,(c) ) 天然气混合物密度和压缩率遵循 Peng-Robinson 78 EOS (Robinson and Peng 1978),使用范德华混合规则 ( Sandler 2017 ),(d) 天然气混合物粘度使用 Lee-Gonzalez 相关性进行建模 ( Lee 等人) . 1966 ), (e) 达西定律适用,(f) 重力和毛细管力可忽略不计,(g) 不可约水位S wi处的恒定水饱和度,(h) 等温储层,(i) 恒定初始储层压力P i ,并且 (j)在相邻裂缝之间的距离L 的一半处存在无流边界。模拟案例的天然气成分如表1所示。这是海恩斯维尔页岩中具有干燥气体成分的井的代表。   

 

表 2定义了所研究的模拟案例的输入储层特性和完井特征。 

这些原来的气体就位OGIP std和特征时间i可以回答两个重要问题:系统中存在多少气体以及我们可以多快恢复它。 

使用表 1中的气体成分和表 2中的储层特性公式 23和公式 24 给出以下值:OGIP stdi用于模拟案例

  • OGIP标准=10 BSCF
  • i =3年

图 4 显示了输入 BHP 和模拟天然气速率历史记录。我们假设 BHP 历史具有周期性阶跃变化(由青色实线显示)。然而,对于变压 DCA 方法,我们将故意包含不正确的初始油藏压力(红色虚线)和输入 BHP 上的噪声(由棕色菱形所示),以有效模拟这两个变量的不确定性和误差。初始储层压力和BHP的误差分别为15%和45%。 

图 4. 使用 7,000 psi 的初始储层压力和青色线表示阶跃变化的井底流动压力历史生成的可变压力气体速率历史(红点)。我们输入了不正确的初始油藏压力和 BHP(红色虚线和棕色菱形,以测试该方法准确匹配产量历史记录并估计真实初始油藏压力和 BHP 的能力。初始油藏压力错误必和必拓分别为15%和最高45%。

下降曲线模型。 我们使用理想化水力压裂井的真实气体混合物的扩散率方程的一维恒压缩放数值解。该模型有两个拟合参数:OGIP stdi: 

 

图 5 说明了无量纲速率解q D和无量纲时间t D在双对数图上,初始油藏压力为 8,000 psi,不同的恒定 BHP 条件:5,000 psi、2,000 psi 和 500 psi。对于 图 5中绘制的每个解决方案,我们证明了两种不同的行为。在早期无量纲时间( t D≤�1),产量遵循与瞬态流态相对应的 -1/2 恒定斜率(无边界效应)。对于晚期无量纲时代(t D >1 ),存在斜率单调持续减小的时期;这代表了一个边界主导流的时期。此外,当我们降低 BHP 时,无量纲速率解在无量纲时间内被拉伸。  

图 5. 初始储层压力 8,000 psi 和不同恒定 BHP 条件:5,000 psi、2,000 时,一维单相实际气体混合物无量纲速率解 qD 锟� 锟� 作为无量纲时间 tD 锟� 锟� 的函数磅/平方英寸和500磅/平方英寸。随着 BHP 减小,无量纲速率解在无量纲时间内被拉伸。

 

为了验证该方法(图 3),我们按如下步骤进行。首先,我们运行数值递减曲线模型,从错误的初始油藏压力 8,000 psi 到恒定的 BHP 2,000 psi。此外,我们输入了图 5中棕色菱形所示的噪声 BHP 历史记录。 

图6显示了针对 图4的合成情况应用可变压降技术(图3中的阶段I)的结果。蓝色虚线是下降曲线模型历史匹配;与天然气生产历史的吻合度非常好。洋红色虚线表示根据算法估计的修正后的初始储层压力。该估计值与真实的初始储层压力一致。最后,蓝色虚线曲线是通过该技术估计的 BHP 历史记录,与真实的 BHP 历史记录非常吻合。 

图 6. 该方法对图 4 的合成情况的应用结果。蓝色虚线是下降曲线模型历史匹配;与天然气生产历史非常吻合。洋红色虚线表示根据算法估计的修正后的初始储层压力。该估计值与真实的初始储层压力一致。最后,蓝色虚线曲线是通过技术估计的 BHP 历史记录,与真实的 BHP 历史记录非常吻合。

表 3 比较了合成情况下真实和估计的初始储层压力以及模型参数OGIP stdi 。这些量的相对误差小于 15%。我们将这些误差归因于叠加原理的应用以及在一维单相可压缩气体模型中使用了不正确的初始储层压力。对于这项工作的目标来说,这些错误是可以接受的。 

图 7 显示了使用一维真实气体模型的概率生产历史匹配,包括可变压力效应(蓝色曲线)。该方法很好地覆盖了生产率历史(红点)中存在的不确定性和可变性。 

图 7. 使用一维真实气体模型进行概率生产历史匹配,包括可变压力效应(蓝色曲线)。该方法很好地覆盖了生产率历史(红点)中存在的不确定性和可变性。

图 8显示了三个平行马尔可夫链 ( C = 3 )的后验分布(顶部)和迹线图(底部),每个链对原始气体进行了4,000 次模拟 ( S = 4,000 )(图 8.a.1图8.a.2)和特征时间(图8.b.1和8.b.2)参数。三个链呈现相似的迹线图;迹线图显示观察到的链值(x 轴)相对于相应的迭代/模拟次数(y 轴)和后验分布,说明向平稳后验分布的收敛。与其他更传统的方法(例如蒙特卡罗模拟)相比,贝叶斯方法的一个明显且有吸引力的特征是,用户确实需要指定参数分布函数,但该方法本质上会估计它们。  

图 8. 3 个平行马尔可夫链 (C = 3) 的后验分布(上)和迹线图(下),每个对原始气体进行 4,000 次模拟(S = 4,000)(图 8.a.1)和图 8.a.2)以及 SPE #18 井的特征时间(图 8.b.1 和图 8.b.2)参数。这三个链呈现出相似的迹线图和后验分布,这一事实说明了向平稳后验分布的收敛。

页岩气示例 

 本节介绍图 3流程图在对应于 SPE 数据存储库、数据集 #1、#17 井的页岩气井中的应用。我们分析的第一口井是来自 Haynesville 页岩的 9,100 英尺横向长度井。表 4列出了 17 号井的储层和完井特征。 

图 9 比较了一维真实气体模型的生产历史匹配(图 9a)和预测(图 9b ),使用:压力-速率-时间数据(蓝色虚线)和速率-时间数据(洋红色虚线曲线) )。虽然压力-速率-时间技术提供了速率历史数据(红点)的完美匹配,但速率-时间分析却不能。此外,使用压力-速率-时间数据的模型预测比速率-时间模型更加保守(图9b)。 

图 9.一维实际气体模型的生产历史匹配和预测的比较,使用:压力-速率-时间数据(蓝色虚线)和速率-时间数据(洋红色虚线曲线)。虽然速率-时间-压力技术为生产数据(红点)提供了极好的历史匹配,但速率-时间分析无法与该井的生产历史匹配(图9a)。此外,使用压力-速率-时间数据的模型预测比速率-时间数据更为保守(图9b)。

表 5比较了一维真实气体模型参数、20 年 EUR 和 20 年采收率 (RF) 值,包括可变压力影响并仅使用图 9 的速率-时间数据。包括可变压力影响导致较小奥吉普标准 i、20 年 EUR,以及该井更现实的 20 年 RF。 

使用公式 23 和公式 24,我们可以求解裂缝半长x f和有效气体渗透率k g, 分别。表 6比较了一维真实气体模型裂缝半长和气体渗透率估计值,包括可变压力效应和仅使用速率-时间数据。仅使用速率-时间数据会给出这些参数的不切​​实际的值。 

 

图 10显示了三个平行马尔可夫链 ( C = 3 )的后验分布(顶部)和迹线图(底部),每个链对原始气体进行了4,000 次模拟 ( S = 4,000 )(图 10.a.1图10.a.2)和该井的特征时间(图10.b.1图10.b.2)参数。这三个链呈现相似的迹线图和后验分布,说明了向平稳后验分布的收敛。 

图 10. 三个平行马尔可夫链 (C = 3) 的后验分布(顶部)和迹线图(底部),每个都对原始气体进行了 4,000 次模拟(S = 4,000)(图 10.a.1 和图 10.a.2)和 SPE #17 井的特征时间(图 10.b.1 和图 10.b.2)参数。这三个链呈现出相似的迹线图和后验分布,这一事实说明了向平稳后验分布的收敛。

图 11 显示了使用一维真实气体模型的概率生产历史匹配(图 11a)和预测(图 11b ),包括可变压力效应(蓝色曲线)。该方法很好地覆盖了生产率历史(红点)中存在的不确定性和可变性。 

图 11. 使用一维真实气体模型进行的概率生产历史匹配(图 11a)和预测(图 11b),包括可变压力效应(蓝色曲线)。该方法很好地覆盖了生产率历史(红点)中存在的不确定性和可变性。

图 12 显示了以下各项的贝叶斯后验分布的直方图:(a) 20 年 EUR,(b) 裂缝半长,以及 (c) 有效气体渗透率。直方图还呈现确定性(第一阶段的最小二乘值:L 2拟合)、贝叶斯 P10、P50 和 P90 估计值。 

图 12. 贝叶斯后验分布的直方图:(a) 20 年 EUR,(b) 裂缝半长,(c) 有效气体渗透率。直方图还呈现贝叶斯 P10、P50 和 P90 估计的确定性(第一阶段的最小二乘值:L2 拟合)。

SPE 数据存储库,数据集 1,第 18 口井。我们分析的第二口井是来自 Haynesville 页岩的 9,750 英尺横向长度井。表 7 列出了 18 井的储层和完井特征。 

图 13 比较了一维真实气体模型的生产历史匹配(图 13a)和预测(图 13b ),使用:压力-速率-时间数据(蓝色虚线)和速率-时间数据(洋红色虚线曲线) )。虽然压力-速率-时间技术提供了与生产数据(红点)极好的历史匹配,但速率-时间分析却不能。此外,与速率-时间模型相比,使用压力-速率-时间数据的模型预测更加保守,如图13b 

图 13.一维真实天然气模型的生产历史匹配和预测的比较,使用:压力-速率-时间数据(蓝色虚线)和速率-时间数据(洋红色虚线曲线)。虽然速率-时间-压力技术为生产数据(红点)提供了极好的历史匹配,但速率-时间分析无法与该井的生产历史匹配(图13a)。此外,使用压力-速率-时间数据的模型预测比速率-时间数据更为保守(图13b)。

表 8比较了一维真实气体模型参数、20 年 EUR 和 20 年采收率 (RF) 值,包括可变压力影响并仅使用图 13 的速率-时间数据。包括可变压力影响导致较小奥吉普标准,i、20 年 EUR,以及该井更现实的 20 年 RF。 

 

使用方程。根据方程 23 和方程 24,我们可以求解断裂半长x f和有效气体渗透率k g, 分别。表 9比较了一维真实气体模型裂缝半长和气体渗透率估计值,包括可变压力效应和仅使用速率-时间数据。仅使用速率-时间数据会给出这些参数的不切​​实际的值。 

 

图 14 显示了 3 个平行马尔可夫链 ( C = 3 ) 的后验分布(顶部)和迹线图(底部),每个链对原始气体进行了4,000 次模拟 ( S = 4,000 )(图 14.a.1图14.a.1) . 14.a.2)和该井的特征时间(图14.b.1图14.b.2)参数。这三个链呈现出相似的迹线图和后验分布,说明了模型参数向稳态分布的收敛。 

图 14. 3 个平行马尔可夫链 (C = 3) 的后验分布(顶部)和迹线图(底部),每个都对原始气体进行了 4,000 次模拟(S = 4,000)(图 14.a.1 和图 14.a.2)和 SPE #18 井的特征时间(图 14.b.1 和图 14.b.2)参数。这三个链呈现出相似的迹线图和后验分布,这一事实说明了向平稳后验分布的收敛。

图15 示出了使用一维真实气体模型的概率生产历史匹配(图15a)和预测(图15b ),包括可变压力效应(蓝色曲线)。该方法很好地覆盖了生产率历史(红点)中存在的不确定性和可变性。 

图 15. 使用一维真实气体模型进行的概率生产历史匹配(图 15a)和预测(图 15b),包括可变压力效应(蓝色曲线)。该方法很好地覆盖了生产率历史(红点)中存在的不确定性和可变性。

图 16 显示了以下各项的贝叶斯后验分布的直方图:(a) 20 年 EUR,(b) 裂缝半长,以及 (c) 有效气体渗透率。直方图还呈现确定性(第一阶段的最小二乘值:L 2拟合)和贝叶斯 P10、P50 和 P90 估计值。 

图 16. 贝叶斯后验分布的直方图:(a) 20 年 EUR,(b) 裂缝半长,(c) 有效气体渗透率。直方图还呈现确定性(第一阶段的最小二乘值:L2 拟合)和贝叶斯 P10、P50 和 P90 估计。

 

结论

 本文基于第二篇论文,该论文扩展了双篇论文中第一篇论文(Ruiz Maraggi 等人,2023 年)中介绍的确定性变压 DCA 方法:(a) 处理可压缩气体,(b) 包括贝叶斯概率计算。这两篇论文都包含了一种纠正初始储层和井底压力测量中可疑错误的新方法。与传统 DCA 相比,该技术的历史匹配和预测可变 BHP 条件下页岩气井的产量更准确。 

这项工作的结论如下。 

对于合成示例,尽管初始储层压力和 BHP 历史都存在误差,但变压 DCA 方法提供了与天然气生产历史的良好历史匹配(图 6)。此外,该方法估计了真实模型的参数和初始油藏压力,误差在15%以内(表3)。 

所提出的校正初始压力和 BHP 测量值的方法(图 3)提供了一种推断页岩气井初始储层压力和 BHP 历史中存在的误差的可能校正的方法,并估计真实或实际的初始压力和 BHP。 

对于页岩气示例,我们表明,将可变 BHP 条件纳入递减曲线模型可实现更准确的生产历史匹配和更现实的模型估计([方程] [方程] 、20 年 EUR、20 年 RF 、裂缝半长和气体渗透率) ,与仅使用速率时间数据的递减曲线模型分析相比(见图9图 13以及5、6、8 9  

自适应 MH MCMC 算法提供马尔可夫链的快速收敛(图 8、10 和 14)。该技术使我们能够量化模型参数和未来产量估计的不确定性(图 12图 13图 16图 17)。 

致谢 

这项工作部分由经济地质局德克萨斯州高级资源回收计划 (STARR) 资助。拉里·W·莱克 (Larry W. Lake) 担任德克萨斯大学奥斯汀分校地下能源与环境中心的沙龙和沙希德·乌拉 (Sharon and Shahid Ullah) 主席。马克·P·沃尔什 (Mark P. Walsh) 是德克萨斯大学奥斯汀分校希尔德布兰德石油和地球系统工程系的研究员,也是德克萨斯州奥斯汀市的石油和天然气顾问。 Frank R. Male 得到宾夕法尼亚州立大学内部提供的晋升/终身教职资金的支持。  

本文基于 URTeC 论文 3856826“页岩气井的耶氏可变压力下降曲线分析”,经非常规资源技术会议许可转载,进一步使用需获得非常规资源技术会议的许可。该论文于2023年6月13日至15日在科罗拉多州丹佛市举行的SPE/AAPG/SEG非常规资源技术会议上发表。原始论文得到了经济地质局局长的授权。 

关于作者
莱奥波尔多·鲁伊斯·马拉吉博士
德克萨斯大学奥斯汀分校经济地质局
Leopoldo Ruiz Maraggi 博士是德克萨斯州经济地质局高级资源回收项目的一名油藏工程师。他的研究兴趣包括常规和非常规油气资源、地下氢和二氧化碳储存。 Maraggi 博士拥有布宜诺斯艾利斯大学(阿根廷)化学工程学士学位,以及德克萨斯大学奥斯汀分校石油工程硕士学位和博士学位。
马克·沃尔什
德克萨斯大学奥斯汀分校希尔德布兰特石油与地球系统工程系
马克·P·沃尔什 (Mark P. Walsh) 是德克萨斯州奥斯汀市的一名咨询油藏工程师,也是德克萨斯大学奥斯汀分校石油与地球系统工程系的研究员。他拥有超过 35 年的经验,他的职业生涯始于 Amoco Production,后来担任德克萨斯 A&M 大学石油工程教授。 Walsh 博士还曾担任 Gaffney, Cline and Associates 的首席顾问、Wapiti Energy 的首席油藏工程师以及奥斯汀经济地质局的项目经理。他拥有伊利诺伊大学厄巴纳分校化学工程学士学位、德克萨斯大学奥斯汀分校化学工程硕士学位和德克萨斯大学奥斯汀分校石油工程博士学位。
拉里·W·莱克
德克萨斯大学奥斯汀分校希尔德布兰特石油与地球系统工程系
拉里·W·莱克 (Larry W. Lake) 是德克萨斯大学奥斯汀分校希尔德布兰德石油与地球系统工程系教授,担任沙希德和莎伦·乌拉主席。他分别拥有亚利桑那州立大学和莱斯大学的 BSE 学位和化学工程博士学位。他是 150 多篇技术论文、四本教科书的作者或合著者,也是三本合订本的编辑。 Lake 博士曾担任石油工程师协会董事会成员,荣获 1996 年 AIME 安东尼·F·卢卡斯金奖,于 2002 年荣获 DeGolyer 杰出服务奖,并且是美国国家科学院院士自 1997 年以来,他获得了工程师博士学位。他于 2000 年获得了 SPE/DOE IOR 先锋奖。他于 2022 年被评为 UT 杰出毕业生。他自 1978 年以来一直在德克萨斯大学工作。
弗兰克·R·马累
宾夕法尼亚州立大学
Frank R. Male 是宾夕法尼亚州立大学大学公园分校能源与矿物工程系的助理研究教授。他的研究重点包括可解释机器学习、油藏工程和风险。 2015年,他在德克萨斯大学奥斯汀分校获得物理学博士学位。2009年,他在堪萨斯州立大学获得物理学学士学位和政治学学士学位。
相关文章
原文链接/worldoil
March 2024
Features

Shale technology: Bayesian variable pressure decline-curve analysis for shale gas wells

A new workflow generates probabilistic history-matches and production forecasts for any decline-curve model while incorporating variable BHP conditions. It provides fast history matches and forecasts of shale gas wells more accurately than traditional DCA while quantifying model uncertainty. The primary value added is an innovative method for probabilistic variable-pressure DCA.
Dr. Leopoldo Ruiz Maraggi / Bureau of Economic Geology, University of Texas at Austin Mark P. Walsh / Hildebrant Department of Petroleum and Geosystems Engineering at the University of Texas at Austin Larry W. Lake / Hildebrant Department of Petroleum and Geosystems Engineering at the University of Texas at Austin Frank R. Male / Pennsylvania State University

Decline-curve analysis is the most popular technique in the oil and gas industry to forecast the production and estimate reserves from wells. Popular decline-curve models include the Arps hyperbolic model, as well as the more recent proliferation of rate-time models developed specifically for unconventional wells, such as the power-law exponential, stretched exponential and the logistic growth models. This latter category also includes physics-based models. 

All these models have one thing in common: the assumption of a constant BHP. While this assumption is often satisfactory for many conventional oil and gas wells, it is not suitable for many unconventional reservoirs. The application of DCA without properly correcting for variable BHP conditions might lead to several inaccuracies, including—but not limited to—grossly erroneous EURs and incorrect flow regime characterization. 

There are two main ways to account for variable BHP conditions: rate-pressure deconvolution and time superposition. The first approach transforms a variable-pressure rate into a constant-pressure rate response. Once we have the constant-pressure response, we fit the rate-time model to it and then apply convolution to include back pressure variations to history-match and forecast production. Kuchuk (2005) presented an inverse scheme that uses an explicit positivity constraint transforming the linear inversion into non-linear problem. Ilk (2007) introduced a rate-pressure deconvolution approach, based on the cumulative production. They propose an inversion scheme, using b-spline basis functions with regularization to obtain the constant unit-pressure rate solution.  

Deconvolution approaches have an important limitation. Errors in the data (rate, initial reservoir pressure, and BHP) lead to a convolution matrix that is usually rank-deficient and ill-conditioned, making the constant-pressure rate response highly oscillatory and unstable. The second approach uses a decline-curve model, along with the time superposition principle. Ilk and Blasingame (2013) and later Collins (2014) propose applying time superposition, along with decline-curve models, to history-match and forecast production of unconventional wells subject to variable BHP. The authors note the limitations of the method by stating that the superposition principle is only applicable under consistent rate and pressure data. Errors in rate and pressure data lead to poor production history matches and forecasts. 

Bayesian inference uses probability to model uncertainty and variation. The basic ideas behind Bayesian inference are the following: a) it treats the parameters of a given model as random variables and estimates their probability distributions; and b) it incorporates our beliefs and prior information, such as expert knowledge or analogs. 

Gong (2014) was the first to apply Bayesian inference to unconventional wells of the Eagle Ford and Barnett shales, using Arps hyperbolic model. Subsequently, Gonzalez (2012, 2013) showed the application of Bayesian inference to decline analysis with several empirical models: modified Arps power-law exponential, stretched exponential, Duong and logistic growth. Fulford (2016) used the transient hyperbolic relation, a semi-empirical model, to generate distributions of production forecasts of wells in the Elm Coulee field of the Bakken formation.  

Holanda (2018) applies the Bayesian inference, using the analytic solution of the single-phase slightly compressible pressure diffusivity equation to quantify the uncertainty of future production forecasts of Barnett shale wells. The mentioned Bayesian DCA studies all used the Metropolis-Hastings (M-H) MCMC algorithm to sample the posterior distribution of the decline-curve models’ parameters. However, the M-H MCMC technique converges very slowly to stationary posterior distributions when the model’s parameters are correlated. 

GOAL OF WORK 

The objectives of this work are: a) to extend the development and application of the Ruiz Maraggi (2023) variable pressure DCA method for tight-oil reservoirs to shale gas wells in a fast, simple and robust way; and b) to quantify the uncertainty in the model’s parameters and future production predictions. The technique is divided into two stages: I) variable pressure DCA; and II) probabilistic variable pressure DCA. Stage I sequentially estimates: 1) the decline-curve model parameters, 2) the BHP; and 3) the initial reservoir pressure to accurately history-match the production of shale gas wells subject to variable BHP. Stage II computes the posterior distributions of the model’s parameters and its future production prediction. This work uses an adaptive M-H MCMC algorithm that provides fast convergence to stationary posterior distributions. 

This article is organized as follows: First, we detail the steps of the proposed approach. Second, we validate the technique with a synthetic case that has errors in the initial reservoir pressure and BHP history. Finally, this work compares the results of the application of the probabilistic variable pressure drop DCA and traditional DCA for shale gas wells. We illustrate these results, using a physics-based real gas numerical decline-curve model. 

METHODS

Figure 1 is a schematic illustrating the main idea of the variable pressure DCA method, and it depicts two pressure domains: constant and variable pressure. Figure 1a depicts the constant-pressure domain, where the decline-curve model’s rate history is customarily displayed in terms of the unit-pressure rate, qup(t;x), which is a function of time t and parameters x.

 

Figure 1b shows the variable-pressure domain, where the actual rate history is displayed. The goal of this step is to map a decline-curve model from a constant pressure drop domain to variable pressure drop domain while yielding a good match of the actual rate history. 

Fig. 1. Schematic illustrating the main concept of the variable pressure DCA method. The goal is to map a decline-curve model from (a) a constant (pseudo) pressure drop domain to (b) variable (pseudo) pressure conditions to history-match and forecast the production of shale gas wells.

Figure 2 illustrates the problems that arise when applying a decline-curve model from a constant-pressure domain to a variable-pressure domain for a real shale gas well example. The model’s history-match (dashed blue lines) to production data (red dots) is extremely poor because of errors in the data. Incorrect estimates of either the initial reservoir pressure Pi and the BHP produce errors in the rate response. These errors propagate forward in time, leading to large oscillations in the variable-pressure rate response of the decline-curve model, as shown by the dashed blue curve in Fig. 2.  

Fig. 2. Gas rate production history of a shale gas well (red dots) and production history-match, using a decline-curve model (dashed blue lines). The model’s history-match (dashed blue lines) to production data (red dots) is poor because of errors in the data. Incorrect estimates in the initial reservoir pressure Pi and the BHP produce errors in the rate response. These errors propagate forward in time leading to large oscillations in the variable-pressure rate response of the decline-curve model.

To avoid these problems, we propose an alternative approach, which was introduced for tight-oil wells in our companion paper, Ruiz Maraggi (2023). This technique provides a fast and simple solution to incorporate variable BHP into any decline-curve model while addressing the following problems (data issues): 

    1. Incorrect estimate of initial reservoir pressure Pi
    2. Incorrect values of bottomhole flowing pressures Pwf
    3. Rate and bottomhole flowing pressure inconsistencies (e.g. flowing pressure increases and gas rate increases). 

There are four main goals of the present method: 

  1. History-match the gas production, using a decline-curve model while accounting for variable pressure drop effects. 
  2. Estimate the BHP history, consistent with the decline-curve model history-match. 
  3. Estimate the initial reservoir pressure, consistent with the decline-curve model history-match. 
  4. Quantify the uncertainty in the model’s estimates: estimate distributions of parameters and EUR. 

WORKFLOW

We divide the workflow into two stages: I) variable pressure DCA; and II) probabilistic variable pressure DCA. Ruiz Maraggi (2023) introduces the variable pressure DCA method for the case of a slightly compressible fluid. This study adapts and extends this method for the case of a compressible gas. 

Stage I: Variable pressure DCA.This stage consists of three main steps: 1) production history-match; 2) (pseudo) pressure drop correction; and 3) initial reservoir (pseudo) pressure correction. 

Step 1: Initialization. The first step selects a decline-curve model qup for the analysis of the gas production. The decline-curve model should be defined in terms of rate per unit pressure drop (dimensions of rate divided by pressure). In addition, the method requires the preliminary estimates (l=0) of the initial reservoir pressure P(0)i and the bottomhole flowing pressure P(0)wf. The algorithm requires a reasonable estimate for the BHP history. The bottomhole pressures are usually estimated from wellhead pressures, using flow correlations. 

 

Step 2: Convert pressures to pseudo-pressures. We must convert the initial and bottomhole flowing pressures into pseudo-pressures. Equation 1 gives the relationship between pressures and pseudo-pressures. The following definition of pseudo-pressure is convenient, since it has units of pressure. 

This study uses the Peng-Robinson 78 EOS using Van der Waals mixing rule to compute the compressibility factor of the natural gas mixture (Sandler 2017), and the Lee-Gonzalez correlation to compute the viscosity of the mixture. After we calculate the pseudo-pressures, we compute the pseudo-pressure drop for each time using Equation 2: 

 

Step 3: Gp history matching. The third step involves history-matching the gas production, using the time superposition equation with the cumulative production of the decline-curve model Gpup. The cumulative production monotonically increases with time. In addition, it is smoother than the rate history and provides a better history-match while dampening the effects of potential errors in the pressure drop estimates.

 

Equation 3 assumes that the system behaves linearly with time. The variations of the gas compressibility and viscosity with pressure might introduce non-linearities with time. Agarwal (1979) introduces a pseudo-time transformation to account for this nonlinearity. However, the definition of a pseudo-time requires prior knowledge of the average reservoir pressure at each production time, complicated by the fact that the average reservoir pressure changes with the flow regime(s) present in the reservoir. For these reasons, the application of pseudo-time transformation is not straightforward. 

Equation 4 is the least-squares regression of the cumulative production. 

The goal of this step is to estimate the decline-curve model parameters x(l+1) and to use them in next step to correct/estimate the pseudo-pressure drop. 

Step 4: Pseudo-pressure drop correction. This step applies rate-(pseudo) pressure deconvolution (Kuchuk et al. 2010) to estimate the pseudo-pressure drop ΔPwf=ψi−ψwf using the decline-curve model qup and its parameters x(l+1) from step 3. Equation 5 is an integrated form of the convolution integral. 

Considering a constant pseudo-pressure drop for each time interval, Eq. 5 is discretized as follows. 

where Gp and Δψwf are the cumulative production and the pseudo-pressure drop vectors, respectively. The matrix B(l+1)  contains the time integrals of the decline-curve model qup. 

 

The goal of this step is to estimate the pseudo-pressure drop Δψwf(l+1) . This estimate is then used in step 5 to correct/estimate the initial reservoir pseudo-pressure. 

Step 5: Initial reservoir pseudo-pressure correction. This step estimates the initial reservoir pseudo-pressure, using the following least-squares optimization. 

Once Equation 9 is solved, we return to step 3 with the estimated initial reservoir pseudo-pressure, and we repeat steps 3 to 5 until: 

The final outputs of the algorithm are: (a) the model’s parameters x(l+1), (b) the initial reservoir pseudo-pressure ψi(l+1), and (c) the pseudo-pressure drop Δψwf(l+1). 

Step 6: Compute rate history. This step history-matches the gas rate production, using Equation 1 with the estimated model’s parameters, the initial reservoir pseudo-pressure, and the pseudo-pressure drop. We convert the pseudo-pressure drops into bottomhole flowing pseudo-pressures as follows:

ψwf(l+1)=−Δψwf(l+1)i(l+1)

 

Stage II: Probabilistic variable pressure DCA. The goal of stage two is to estimate probability distributions of the model’s parameters to generate probabilistic production history-matches and forecasts of shale gas wells. Bayesian inference computes the probability distributions of the model’s parameters given the data p(x|q) (Gelman et al. 2014). 

Prior distribution. π(x) is the distribution of the model’s parameters x, before observing the data. This term incorporates our knowledge or belief into the computation of the posterior probability. 

 

Likelihood function. The likelihood function f(q|x) is the probability of generating the data q if the parameters of the model were equal to x. This work assumes that the observations of the data qk follow a Gaussian distribution that is centered around the model value qk with constant variance σ2 (homoscedasticity). 

This work assumes that the sample standard deviation of the residuals ε∗ between the actual production and the calculated production has a normal distribution N(0,σ). 

 

where σ is the sample standard deviation of the residuals of the least-squares fit (Eq. 14) and εkis the residual between the oil rate and the model evaluated at the values of the proposed parameters at the production time k:εk∗ =qk−qˆk(x∗). 

 

where d is the number of parameters of the decline-curve model. The summations in Eq. 13 and Eq. 14 extend over all the production data points k. The superscript I denotes the parameter’s values determined by the optimization routine of stage I. 

Evidence term. The denominator in Eq. 11 is the marginal distribution of the data. In our case, f(q). This term ensures closure; namely, the summation of all probabilities adds to one. 

Posterior distribution. Bayesian inference obtains the posterior distribution p(x|q) of the model’s parameters x after observing the data q. It is not possible to determine analytically the evidence term in Equation 12. However, since the evidence term (denominator of Eq. 11) is a constant, the posterior, likelihood, and prior can be written as a proportionality: 

 

MCMC methods work by exploiting the product of the prior and likelihood to estimate the posterior distribution of the model’s parameters. They build a sequence of random states x1→x2→…→xs that uses a conditional probability function [Equation] to determine the next state xs conditional to the previous state xs−1. The sequence is called a Markov chain, if the conditional distribution of xs given x0, x1, …, xs−1 depends only on the previous state xs−1 (Markov property): 

MCMC works designing a Markov chain, such that the stationary distribution is the posterior distribution p(x |q). Below we detail the steps of the adaptive Metropolis-Hastings (M-H) MCMC algorithm. 

Step 1: Initialize Markov chains and parameter’s vector x0. Multiple Markov chains are necessary to perform MCMC. The standard procedure is to run at least three (C=3) parallel chains to assess convergence using a metric, such as the diagnostic. In addition, we set the initial starting simulation value x0 and total number of simulations S for each chain c. 

Step 2: Sample parameter vector x∗ Since the posterior distribution is unknown, we draw samples from another distribution, this is called the proposal distribution [Equation] to generate a candidate parameter vector x∗ (Monte Carlo sampling) based on the previous state of the sampler xs−1. This work multivariate Gaussian distribution for the proposal distribution r. 

 

The multivariate normal distribution with dimensionality d (number of model’s parameters) has the following joint density: 

The covariance matrix Σ incorporates the correlation among the model’s parameters. We update this matrix in Step 6. 

Step 3: Compute acceptance ratio. The acceptance ratio is a measure of the likelihood of the sampled parameter vector x∗ to lie on a high-density region of the posterior distribution p(x|q) compared to the previous accepted move xs−1. 

 

Step 4: Generate uniform random number. We sample a uniform random number u to decide on whether to accept or reject the proposal x∗. 

 

 

Step 5: Update xs. If u≤ α�≤ 𝛼, we accept the proposal and set the next state equal to the proposal: xs=x. If u> α, we reject the proposal and set the next state equal to the previous state: xs=xs−1. 

Step 6: Update Covariance Matrix Σ

 The acceptance rate ζ is the fraction of accepted moves. The optimal acceptance rate ζopt is 0.441 for the dimension d=1 (one parameter), which decreases as the number of dimensions (number of model’s parameters) increases, reaching an asymptotic value of 0.234 for 𝑑→∞ (Brooks et al. 2011). 

The adaptive M-H algorithm updates the covariance matrix Σ of the proposal distribution, based on past simulation draws to ensure that the acceptance rate ζ becomes close to the optimal acceptance ratio ζopt. (Haario 2001). 

 

Step 7: Compute probabilistic rate history. Once we have the posterior distribution of the model’s parameters for each chain xc=[x1,x2,…,xS], we use these values to compute the probabilistic production history-matches, using Equation 10: 

where xsc is a posterior simulated draw s of the model’s parameters for a given Markov chain c and sc is the rate estimate corresponding to that posterior parameter value. Figure 3 is a flowchart illustrating the steps of the Bayesian variable pressure DCA method. 

Fig. 3 Flowchart illustrating the steps of the probabilistic variable pressure drop DCA method. The method is divided into two stages: I) variable pressure DCA and II) probabilistic variable pressure DCA.

Computational performance. The design of the algorithm meets three requirements: high stability, robustness, and speed. Currently, a typical analysis for an average well requires about 10 sec for the variable pressure DCA method (stage I) and 1 min. for the probabilistic variable-pressure DCA technique (stage II) on a typical laptop computer. We expect much shorter execution times on more sophisticated hardware. Further improvements will shorten the computational time. 

Validation with synthetic case. To validate the workflow, we ran a numerical simulation subject to variable BHP conditions. The numerical simulation represents an idealized hydraulically fractured well that consists of n evenly spaced, transverse planar hydraulic fractures that stimulate a rock volume around them. These stimulated rock volumes are assumed to be equal for all hydro-fractures, constituting the stimulated rock volume (SRV) of the reservoir. The fractures have infinite conductivity and thus, fluid that reaches them is instantly produced. In addition, we invoke the following model assumptions: (a) planar fractures of constant length 2xf  and height hf  and two producing faces, (b) flow is one-dimensional and perpendicular to the faces of the hydraulic fractures, (c) natural gas mixture density and compressibility follow the Peng-Robinson 78 EOS (Robinson and Peng 1978) using Van der Waals mixing rule (Sandler 2017), (d) natural gas mixture viscosity is modeled using the Lee-Gonzalez correlation (Lee et al. 1966), (e) Darcy’s law applies, (f) gravity and capillary forces are negligible, (g) constant water saturation at the irreducible level Swi, (h) an isothermal reservoir, (i) constant initial reservoir pressure Pi, and (j) there is a no-flow boundary at half the distance L between adjacent fractures. The natural gas composition for the simulated case is shown in Table 1. This is representative of a well with dry gas composition in the Haynesville shale. 

 

Table 2 defines the input reservoir properties and completion characteristics for the simulated case under study. 

These original gas in place OGIPstd and the characteristic time τi allow to answer two important questions: how much gas is present in the system and how fast we can recover it. 

Using the gas composition in Table 1 and reservoir properties in Table 2, Equation 23 and Equation 24 give the following values for OGIPstd and τi for the simulation case

  • OGIPstd=10 BSCF
  • τi=3 years

Figure 4 shows the input BHP and the simulated gas rate histories. We assume a BHP history with periodic step changes (shown by the cyan solid lines). However, for the variable-pressure DCA method, we will purposely include both an incorrect initial reservoir pressure (dashed red line) and noise on the input BHP (shown by the brown diamonds) to effectively simulate uncertainty and error in these two variables. The errors in the initial reservoir pressure and BHP are 15% and up to 45%, respectively. 

Fig. 4. Variable pressure gas rate history (red dots) generated using an initial reservoir pressure of 7,000 psi and a bottomhole flowing pressure history with step changes represented by the cyan lines. We input incorrect initial reservoir pressure and BHP (dashed red line and the brown diamonds, to test the method’s ability to accurately history-match the production and to estimate both the true initial reservoir pressure and the BHP. Errors in the initial reservoir pressure and BHP are 15% and up to 45%.

Decline-curve model. We use the 1-D constant-pressure scaled numerical solution of the diffusivity equation for a real gas mixture of an idealized hydro-fractured well. This model has two fitting parameters: OGIPstd and τi: 

 

Figure 5 illustrates the dimensionless rate solution qD with dimensionless time tD on a log-log plot for an initial reservoir pressure of 8,000 psi and different constant BHP conditions: 5,000 psi, 2,000 psi, and 500 psi. For each solution plotted in Fig. 5, we evidence two distinct behaviors. At early dimensionless times (tD≪1), production follows a constant slope of -1/2 corresponding to the transient flow regime (no-boundary effects). For late dimensionless times (tD>1), there is a period where the slope is monotonically and continually decreasing; this represents a period of boundary-dominated flow. In addition, as we lower the BHP, the dimensionless rate solution is stretched in dimensionless time.  

Fig. 5. 1-D single-phase real gas mixture dimensionless rate solution qD � � as a function of dimensionless time tD � � for an initial reservoir pressure of 8,000 psi and different constant BHP conditions: 5,000 psi, 2,000 psi, and 500 psi. As the BHP decreases, the dimensionless rate solution is stretched in dimensionless time.

 

To validate the method (Fig. 3), we proceed as follows. First, we run the numerical decline-curve model from an incorrect initial reservoir pressure of 8,000 psi to a constant BHP of 2,000 psi. In addition, we input the noisy BHP history shown by the brown diamonds in Fig. 5. 

Figure 6 presents the results of the application of the variable pressure drop technique (stage I in Fig. 3) for the synthetic case of Fig. 4. The dashed blue curve is the decline-curve model history-match; the agreement with the gas production history is excellent. The dashed magenta line represents the corrected initial reservoir pressure estimated from the algorithm. This estimate coincides with the true initial reservoir pressure. Finally, the dotted blue curve is the BHP history estimated from the technique, which is in good agreement with the true BHP history. 

Fig. 6. Results of the application of the method for the synthetic case of Fig. 4. The dashed blue lines are the decline-curve model history-match; agreement with the gas production history is excellent. The dashed magenta line represents the corrected initial reservoir pressure estimated from the algorithm. This estimate coincides with the true initial reservoir pressure. Finally, the dotted blue curve is the BHP history, estimated from the technique, which is in good agreement with the true BHP history.

Table 3 compares true and estimated initial reservoir pressure and model’s parameters OGIPstd and τi for the synthetic case. The relative errors for these quantities are less than 15%. We attribute these errors to the application of the superposition principle and the use of an incorrect initial reservoir pressure in the 1-D single-phase compressible gas model. The errors are acceptable for the goals of this work. 

Figure 7 shows the probabilistic production history-matches, using the 1-D real gas model, including variable pressure effects (blue curves). The method presents a good coverage of the uncertainty and the variability present in the production rate history (red dots). 

Fig. 7. Probabilistic production history-matches using the 1-D real gas model, including variable pressure effects (blue curves). The method presents a good coverage of the uncertainty and the variability present in the production rate history (red dots).

Figure 8 presents the posterior distribution (top) and trace plots (bottom) of the three parallel Markov chains (C = 3) each with 4,000 simulations (S = 4,000) for the original gas in place (Fig. 8. a.1 and Fig. 8. a.2) and the characteristic time (Figs. 8. b.1 and 8. b.2) parameters. The three chains present similar trace plots; a trace plot shows the observed chain value (x-axis) against the corresponding iteration/simulation number (y-axis), and posterior distributions, illustrating the convergence towards a stationary posterior distribution. A clear, attractive feature of the Bayesian approach over other more traditional approaches, such as Monte Carlo simulation, is that the user does need to specify parameter distribution functions, but the method inherently estimates them. 

Fig. 8. Posterior distribution (top) and trace plots (bottom) of the 3 parallel Markov chains (C = 3), each with 4,000 simulations (S = 4,000) for the original gas in place (Fig. 8.a.1 and Fig 8.a.2) and the characteristic time (Fig. 8.b.1 and Fig. 8.b.2) parameters for well SPE #18. The three chains present similar trace plots and posterior distributions, this fact illustrates the convergence towards a stationary posterior distribution.

SHALE GAS EXAMPLES 

 This section presents the application of the flowchart of Fig. 3 to shale gas wells corresponding to the SPE Data Repository, Data Set #1, Well #17. The first well we analyze is a 9,100-ft lateral-length well from the Haynesville shale. Table 4 presents the reservoir and completion characteristics for Well # 17. 

Figure 9 compares the production history-matches (Fig. 9a) and forecasts (Fig. 9b) of the 1-D real gas model using: pressure-rate-time data (dashed blue curve) and rate-time data (magenta dotted curve). While the pressure-rate-time technique provides an excellent match of the rate history data (red dots), the rate-time analysis does not. In addition, the forecast of the model using pressure-rate-time data is more conservative than the rate-time one (Fig. 9b). 

Fig. 9. Comparison of the production history-matches and forecasts of the 1-D real gas model, using: pressure-rate-time data (dashed blue curve) and rate-time data (magenta dotted curve). While the rate-time-pressure technique provides an excellent history-match to the production data (red dots), rate-time analysis cannot history-match the production of this well (Fig. 9a). In addition, the forecast of the model, using pressure-rate-time data, is more conservative than the rate-time one (Fig. 9b).

Table 5 compares the 1-D real gas model parameters, 20-year EUR, and 20-year recovery factor (RF) values, including variable pressure effects and using only rate-time data of Fig. 9. Including variable pressure effects leads to smaller OGIPstd τi, 20-year EUR, and a more realistic 20-year RF for this well. 

Using Equation 23 and Equation 24, we can solve for the fracture half-length xf and effective gas permeability kg, respectively. Table 6 compares the 1-D real gas model fracture half-length and gas permeability estimates, including variable pressure effects and using only rate-time data. Using only rate-time data gives unrealistic values for these parameters. 

 

Figure 10 presents the posterior distribution (top) and trace plots (bottom) of the three parallel Markov chains (C = 3) each with 4,000 simulations (S = 4,000) for the original gas in place (Fig. 10.a.1 and Fig. 10.a.2) and the characteristic time (Fig. 10.b.1 and Fig. 10.b.2) parameters for this well. The three chains present similar trace plots and posterior distributions, illustrating the convergence towards a stationary posterior distribution. 

Fig. 10. Posterior distribution (top) and trace plots (bottom) of the three parallel Markov chains (C = 3) each with 4,000 simulations (S = 4,000) for the original gas in place (Fig. 10.a.1 and Fig. 10.a.2) and the characteristic time (Fig. 10.b.1 and Fig. 10.b.2) parameters for well SPE #17. The three chains present similar trace plots and posterior distributions, this fact illustrates the convergence towards a stationary posterior distribution.

Figure 11 illustrates the probabilistic production history-matches (Fig. 11a) and forecasts (Fig. 11b), using the 1-D real gas model, including variable pressure effects (blue curves). The method presents a good coverage of the uncertainty and the variability present in the production rate history (red dots). 

Fig. 11. Probabilistic production history-matches (Fig. 11a) and forecasts (Fig. 11b), using the 1-D real gas model, including variable pressure effects (blue curves). The method presents a good coverage of the uncertainty and the variability present in the production rate history (red dots).

Figure 12 shows the histograms of the Bayesian posterior distributions of: (a) the 20-year EUR, (b) the fracture half-length, and (c) the effective gas permeability. The histograms also present the deterministic (least-squares value of stage I: L2 fit), the Bayesian P10, P50, and P90 estimates. 

Fig. 12. Histograms of the Bayesian posterior distributions of: (a) the 20-year EUR, (b) the fracture half-length, and (c) the effective gas permeability. The histograms also present the deterministic (least-squares value of stage I: L2 Fit) the Bayesian P10, P50, and P90 estimates.

SPE Data Repository, Data Set 1, Well 18. The second well we analyze is a 9,750-ft lateral-length well from the Haynesville Shale. Table 7 presents the reservoir and completion characteristics for Well 18. 

Figure 13 compares the production history-matches (Fig. 13a) and forecasts (Fig. 13b) of the 1-D real gas model using: pressure-rate-time data (dashed blue curve) and rate-time data (magenta dotted curve). While the pressure-rate-time technique provides an excellent history match to the production data (red dots), rate-time analysis does not. In addition, the forecast of the model using pressure-rate-time data is more conservative, compared to the rate-time one, Fig. 13b. 

Fig. 13. Comparison of the production history-matches and forecasts of the 1-D real gas model, using: pressure-rate-time data (dashed blue curve) and rate-time data (magenta dotted curve). While the rate-time-pressure technique provides an excellent history-match to the production data (red dots), rate-time analysis cannot history-match the production of this well (Fig. 13a). In addition, the forecast of the model, using pressure-rate-time data, is more conservative than the rate-time one (Fig. 13b).

Table 8 compares the 1-D real gas model parameters, 20-year EUR, and 20-year recovery factor (RF) values, including variable pressure effects and using only rate-time data of Fig. 13. Including variable pressure effects leads to smaller OGIPstd, τi, 20-year EUR, and a more realistic 20-year RF for this well. 

 

Using Equation. 23 and Equation 24, we can solve for the fracture half-length xf and effective gas permeability kg, respectively. Table 9 compares the 1-D real gas model fracture half-length and gas permeability estimates including variable pressure effects and using only rate-time data. Using only rate-time data gives unrealistic values for these parameters. 

 

Figure 14 presents the posterior distribution (top) and trace plots (bottom) of the 3 parallel Markov chains (C = 3) each with 4,000 simulations (S = 4,000) for the original gas in place (Fig 14.a.1 and Fig. 14.a.2) and the characteristic time (Fig. 14.b.1 and Fig. 14.b.2) parameters for this well. The three chains present similar trace plots and posterior distributions, illustrating the convergence towards a stationary distribution of the model’s parameters. 

Fig. 14. Posterior distribution (top) and trace plots (bottom) of the 3 parallel Markov chains (C = 3) each with 4,000 simulations (S = 4,000) for the original gas in place (Fig. 14.a.1 and Fig. 14.a.2) and the characteristic time (Fig. 14.b.1 and Fig. 14.b.2) parameters for well SPE #18. The three chains present similar trace plots and posterior distributions, this fact illustrates the convergence towards a stationary posterior distribution.

Figure 15 illustrates the probabilistic production history-matches (Fig. 15a) and forecasts (Fig. 15b) using the 1-D real gas model, including variable pressure effects (blue curves). The method presents a good coverage of the uncertainty and the variability present in the production rate history (red dots). 

Fig. 15. Probabilistic production history-matches (Fig. 15a) and forecasts (Fig. 15b), using the 1-D real gas model, including variable pressure effects (blue curves). The method presents a good coverage of the uncertainty and the variability present in the production rate history (red dots).

Figure 16 shows the histograms of the Bayesian posterior distributions of: (a) the 20-year EUR, (b) the fracture half-length, and (c) the effective gas permeability. The histograms also present the deterministic (least-squares value of stage I: L2 Fit) and the Bayesian P10, P50, and P90 estimates. 

Fig. 16. Histograms of the Bayesian posterior distributions of: (a) the 20-year EUR, (b) the fracture half-length, and (c) the effective gas permeability. The histograms also present the deterministic (least-squares value of stage I: L2 Fit) and the Bayesian P10, P50 and P90 estimates.

 

CONCLUSIONS

 This article is based on the second paper that extends the deterministic variable-pressure DCA method introduced in the first paper (Ruiz Maraggi et al. 2023) of a two-paper set to: (a) treat compressible gases and (b) include a Bayesian probabilistic calculation. Both papers include a novel method to correct suspected errors in the initial reservoir and bottomhole pressure measurements. The technique history-matches and forecasts production of shale gas wells subject to variable BHP conditions more accurately than traditional DCA. 

The conclusions of this work are the following statements. 

For the synthetic example, the variable-pressure DCA method provides an excellent history-match to the gas production history, despite the presence of errors in both the initial reservoir pressure and the BHP history (Fig. 6). In addition, the method estimates the true model’s parameters and initial reservoir pressure within 15% error (Table 3). 

The proposed method for correcting initial pressure and BHP measurements (Fig. 3) gives a way to infer possible corrections to errors present in the initial reservoir pressure and BHP history for shale gas wells and to estimate the true or actual initial pressure and BHP. 

For the shale gas examples, we show that including variable BHP conditions into the decline-curve model led to more accurate production history-matches and more realistic model estimates ([Equation], [Equation], 20-year EUR, 20-year RF, fracture half-length, and gas permeability), compared to the analysis of decline-curve models using only rate time data (see Fig. 9 and Fig. 13 and Tables 5, 6, 8 and 9). 

The adaptive M-H MCMC algorithm provides a fast convergence of the Markov chain (Figs. 8, 10, and 14). This technique allows us to quantify the uncertainty in the model’s parameters and future production estimates (Fig. 12, Fig. 13 and Fig. 16 and Fig. 17). 

ACKNOWLEDGEMENTS 

This work was partially funded by the State of Texas Advanced Resource Recovery Program (STARR) at the Bureau of Economic Geology. Larry W. Lake holds the Sharon and Shahid Ullah Chair at the Center for Subsurface Energy and the Environment at The University of Texas at Austin. Mark P. Walsh is a Research Fellow at the Hildebrand Department of Petroleum and Geosystems Engineering at The University of Texas at Austin and an oil and gas consultant in Austin, Texas. Frank R. Male is supported through promotion/tenure funds provided internally by The Pennsylvania State University.  

This article is based on URTeC paper 3856826, “Bayesian Variable Pressure Decline-Curve Analysis for Shale Gas Wells,” and is reprinted with permission from the Unconventional Resources Technology Conference, whose permission is required for further use. The paper was presented at the SPE/AAPG/SEG Unconventional Resources Technology Conference, Denver, Colo., June 13–15 2023. The original paper was authorized by the director of the Bureau of Economic Geology. 

About the Authors
Dr. Leopoldo Ruiz Maraggi
Bureau of Economic Geology, University of Texas at Austin
Dr. Leopoldo Ruiz Maraggi is a reservoir engineer within the State of Texas Advanced Resource Recovery program at the Bureau of Economic Geology. His research interests include conventional and unconventional oil and gas resources, subsurface hydrogen and CO2 storage. Dr. Maraggi holds a BS degree in chemical engineering from University of Buenos Aires (Argentina), as well as an MS degree and a PhD in petroleum engineering from The University of Texas at Austin.
Mark P. Walsh
Hildebrant Department of Petroleum and Geosystems Engineering at the University of Texas at Austin
Mark P. Walsh is a consulting reservoir engineer in Austin, Texas, and a research fellow in the Department of Petroleum and Geosystems Engineering at the University of Texas at Austin. He has over 35 years of experience, starting his career with Amoco Production and later serving as a professor of petroleum engineering at Texas A&M University. Dr. Walsh also has been principal advisor at Gaffney, Cline and Associates, chief reservoir engineer at Wapiti Energy and project manager at the Bureau of Economic Geology in Austin. He has a BS degree in chemical engineering from the University of Illinois at Urbana, an MS degree in chemical engineering from the University of Texas at Austin and a PhD in petroleum engineering from the University of Texas at Austin.
Larry W. Lake
Hildebrant Department of Petroleum and Geosystems Engineering at the University of Texas at Austin
Larry W. Lake is a professor in the Hildebrand Department of Petroleum and Geosystems Engineering at The University of Texas at Austin, where he holds the Shahid and Sharon Ullah Chair. He holds a BSE degree and a PhD in chemical engineering from Arizona State University and Rice University, respectively. He is the author or co-author of more than 150 technical papers, four textbooks and the editor of three bound volumes. Dr. Lake has served on the Board of Directors for the Society of Petroleum Engineers, won the 1996 Anthony F. Lucas Gold Medal of the AIME, been awarded the DeGolyer Distinguished Service Award in 2002, and has been a member of the U.S. National Academy of Engineers since 1997. He won the SPE/DOE IOR Pioneer Award in 2000. He was named a Distinguished Graduate of UT in 2022. He has been at the University of Texas since 1978.
Frank R. Male
Pennsylvania State University
Frank R. Male is an assistant research professor of Energy and Mineral Engineering at Penn State University, University Park. His research focuses include interpretable machine learning, reservoir engineering, and risk. He was awarded a PhD in physics from UT Austin in 2015. In 2009, he received a BS degree in physics and a BA degree in political science from Kansas State University.
Related Articles