Matrix Formulation for Simultaneous Calculations of Pressure and Temperature in Wells and Pipelines

I. N. Alves, R. Islam, José Savio Alves de Sousa Segundo
{"title":"Matrix Formulation for Simultaneous Calculations of Pressure and Temperature in Wells and Pipelines","authors":"I. N. Alves, R. Islam, José Savio Alves de Sousa Segundo","doi":"10.2118/212252-ms","DOIUrl":null,"url":null,"abstract":"\n This paper presents a novel approach to calculate pressure and temperature profile in a pipe. An implicit formulation is implemented in this model using a combined system of the three conservation equations (mass, momentum, and energy), and using the change of enthalpy and pressure to calculate the change of temperature.\n The derivation of the equations for temperature and pressure profile calculation uses the traditional approach of applying the mass, momentum and energy balance equations to a control volume of the pipe. For a pipe, usually the pressure and temperature values at one end are known. Due to the non-linearity of balance equation, an iterative process is required to calculate the values at the other end of the pipe. In the model proposed in this paper the system of equations was arranged in a matrix and vector form, all pressure and temperature for all the nodes are calculated in one calculation step, different from the traditional approach.\n The proposed model is used with both Black oil table correlations and a fully compositional model for calculating P-T profiles. It can be applied over the entire inclination angle range from horizontal to vertical. Conventionally, marching algorithm is used to calculate pressure from first cell to second cell until the end of the pipe is reached. The final form of energy balance is expressed in terms of enthalpy; therefore, P-H flash is used to calculate temperature profile. The calculation process is faster as all of it is done in one step and more accurate than the traditional approach.\n Traditionally the coupling of the mechanical energy and heat balance equation, uses a marching algorithm to determine pressure and temperature profile in a pipe, using a nested pair of loops, usually the external one for temperature and an internal for pressure. The proposed method applies a novel matrix formulation using a vectorized procedure to determine simultaneously pressure and temperature using their natural connection the enthalpy through the balance equations. This method aims to determine pressure-temperature profiles in a fast and accurate way. Vector and matrices approach is a tool that improves the performance of a code and utilizing it for pipeline calculation is unique, it opens a door for also coupling with reservoir simulators in an integrated approach. Since most flow assurance problems i.e. paraffin, hydrate are related to pressure and temperature dependent, the proper calculation of the P-T profile is a must. The proposed model provides a fast and precise calculation organizing the problem in a structured manner.","PeriodicalId":205933,"journal":{"name":"Day 2 Wed, March 29, 2023","volume":"6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-03-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Day 2 Wed, March 29, 2023","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2118/212252-ms","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

This paper presents a novel approach to calculate pressure and temperature profile in a pipe. An implicit formulation is implemented in this model using a combined system of the three conservation equations (mass, momentum, and energy), and using the change of enthalpy and pressure to calculate the change of temperature. The derivation of the equations for temperature and pressure profile calculation uses the traditional approach of applying the mass, momentum and energy balance equations to a control volume of the pipe. For a pipe, usually the pressure and temperature values at one end are known. Due to the non-linearity of balance equation, an iterative process is required to calculate the values at the other end of the pipe. In the model proposed in this paper the system of equations was arranged in a matrix and vector form, all pressure and temperature for all the nodes are calculated in one calculation step, different from the traditional approach. The proposed model is used with both Black oil table correlations and a fully compositional model for calculating P-T profiles. It can be applied over the entire inclination angle range from horizontal to vertical. Conventionally, marching algorithm is used to calculate pressure from first cell to second cell until the end of the pipe is reached. The final form of energy balance is expressed in terms of enthalpy; therefore, P-H flash is used to calculate temperature profile. The calculation process is faster as all of it is done in one step and more accurate than the traditional approach. Traditionally the coupling of the mechanical energy and heat balance equation, uses a marching algorithm to determine pressure and temperature profile in a pipe, using a nested pair of loops, usually the external one for temperature and an internal for pressure. The proposed method applies a novel matrix formulation using a vectorized procedure to determine simultaneously pressure and temperature using their natural connection the enthalpy through the balance equations. This method aims to determine pressure-temperature profiles in a fast and accurate way. Vector and matrices approach is a tool that improves the performance of a code and utilizing it for pipeline calculation is unique, it opens a door for also coupling with reservoir simulators in an integrated approach. Since most flow assurance problems i.e. paraffin, hydrate are related to pressure and temperature dependent, the proper calculation of the P-T profile is a must. The proposed model provides a fast and precise calculation organizing the problem in a structured manner.
井和管道中压力和温度同时计算的矩阵公式
本文提出了一种计算管道内压力和温度分布的新方法。在这个模型中,使用三个守恒方程(质量、动量和能量)的组合系统实现隐式公式,并使用焓和压力的变化来计算温度的变化。温度和压力分布计算方程的推导采用了传统的方法,即将质量、动量和能量平衡方程应用于管道的控制体积。对于管道,通常一端的压力和温度值是已知的。由于平衡方程的非线性,计算管道另一端的值需要一个迭代过程。与传统方法不同,该模型将方程组以矩阵和矢量形式排列,一次计算出所有节点的压力和温度。所提出的模型与黑油表相关性和全成分模型一起用于计算P-T剖面。它可以适用于从水平到垂直的整个倾角范围。传统上,移动算法用于计算从第一个单元到第二个单元的压力,直到到达管道末端。能量平衡的最终形式用焓表示;因此,采用P-H闪蒸法计算温度分布。计算过程比传统方法更快,因为所有的计算都是一步完成的,而且比传统方法更准确。传统上,机械能和热平衡方程的耦合使用行军算法来确定管道中的压力和温度分布,使用嵌套的一对循环,通常是外部的温度和内部的压力。该方法采用了一种新颖的矩阵形式,采用矢量化过程,通过平衡方程同时确定压力和温度的自然联系以及焓。该方法旨在快速准确地确定压力-温度曲线。向量和矩阵方法是一种提高代码性能的工具,将其用于管道计算是独一无二的,它为与油藏模拟器的集成耦合打开了大门。由于大多数流动保证问题(如石蜡、水合物)都与压力和温度相关,因此必须正确计算P-T剖面。该模型提供了一种快速、精确的计算,以结构化的方式组织问题。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信