Wei Xiong, Lienan Zhang, Yu-Long Zhao, Shao-Mu Wen, Kai Bao, O. Møyner, Knut-Andreas Lie
{"title":"利用电解质关联状态方程模拟多孔介质中的碳封存成分","authors":"Wei Xiong, Lienan Zhang, Yu-Long Zhao, Shao-Mu Wen, Kai Bao, O. Møyner, Knut-Andreas Lie","doi":"10.2118/219734-pa","DOIUrl":null,"url":null,"abstract":"\n We present a new algorithm based on automatic differentiation that enables precise computation of the derivatives of the Z-factor, facilitating the utilization of Newton’s method or coupling with a robust flow solver. Leveraging a free open-source code [MATLAB Reservoir Simulation Toolbox (MRST)], we develop an electrolyte cubic plus association (e-CPA) equation of state (EoS) model to accurately represent the injection of carbon dioxide (CO2) in brine. By integrating flow and thermodynamics, we construct an advanced compositional simulator using MRST’s object-oriented, automatic differentiation framework and the newly developed e-CPA EoS model. This simulator offers flexibility through both overall-composition and natural-variable formulations, achieved by selecting different primary variables. The Péneloux volume translation technique is employed to modify the EoS model’s volume, ensuring accurate density calculation for the mixture. Additionally, we introduce a viscosity model, e-CPA-FV, which accurately predicts the viscosity of carbon capture and storage (CCS) fluids, surpassing the accuracy of the traditional Lohrenz-Bray-Clark (LBC) model. Our simulator demonstrates superior performance in predicting CO2-brine systems compared with the standard formulation based on the Peng-Robinson (PR) EoS and can handle brine with various salts. The self-contained source code necessary to reproduce all examples is available on the open-access Zenodo digital repository (doi: 10.5281/zenodo.10691505).","PeriodicalId":22252,"journal":{"name":"SPE Journal","volume":null,"pages":null},"PeriodicalIF":3.2000,"publicationDate":"2024-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Compositional Simulation for Carbon Storage in Porous Media Using an Electrolyte Association Equation of State\",\"authors\":\"Wei Xiong, Lienan Zhang, Yu-Long Zhao, Shao-Mu Wen, Kai Bao, O. Møyner, Knut-Andreas Lie\",\"doi\":\"10.2118/219734-pa\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"\\n We present a new algorithm based on automatic differentiation that enables precise computation of the derivatives of the Z-factor, facilitating the utilization of Newton’s method or coupling with a robust flow solver. Leveraging a free open-source code [MATLAB Reservoir Simulation Toolbox (MRST)], we develop an electrolyte cubic plus association (e-CPA) equation of state (EoS) model to accurately represent the injection of carbon dioxide (CO2) in brine. By integrating flow and thermodynamics, we construct an advanced compositional simulator using MRST’s object-oriented, automatic differentiation framework and the newly developed e-CPA EoS model. This simulator offers flexibility through both overall-composition and natural-variable formulations, achieved by selecting different primary variables. The Péneloux volume translation technique is employed to modify the EoS model’s volume, ensuring accurate density calculation for the mixture. Additionally, we introduce a viscosity model, e-CPA-FV, which accurately predicts the viscosity of carbon capture and storage (CCS) fluids, surpassing the accuracy of the traditional Lohrenz-Bray-Clark (LBC) model. Our simulator demonstrates superior performance in predicting CO2-brine systems compared with the standard formulation based on the Peng-Robinson (PR) EoS and can handle brine with various salts. The self-contained source code necessary to reproduce all examples is available on the open-access Zenodo digital repository (doi: 10.5281/zenodo.10691505).\",\"PeriodicalId\":22252,\"journal\":{\"name\":\"SPE Journal\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":3.2000,\"publicationDate\":\"2024-03-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"SPE Journal\",\"FirstCategoryId\":\"5\",\"ListUrlMain\":\"https://doi.org/10.2118/219734-pa\",\"RegionNum\":3,\"RegionCategory\":\"工程技术\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"ENGINEERING, PETROLEUM\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"SPE Journal","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.2118/219734-pa","RegionNum":3,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, PETROLEUM","Score":null,"Total":0}
引用次数: 0
摘要
我们提出了一种基于自动微分的新算法,该算法能够精确计算 Z 因子的导数,便于使用牛顿法或与稳健的流动求解器耦合。利用免费的开放源代码[MATLAB 储层模拟工具箱 (MRST)],我们开发了一种电解质立方加关联(e-CPA)状态方程(EoS)模型,以准确表示盐水中二氧化碳(CO2)的注入。通过整合流动和热力学,我们利用 MRST 面向对象的自动微分框架和新开发的 e-CPA EoS 模型,构建了一个先进的成分模拟器。通过选择不同的主变量,该模拟器可以灵活地使用整体构成和自然变量公式。我们采用贝内卢体积平移技术来修改 EoS 模型的体积,从而确保混合物密度计算的准确性。此外,我们还引入了粘度模型 e-CPA-FV,该模型可准确预测碳捕集与封存(CCS)流体的粘度,其准确性超过了传统的洛伦兹-布雷-克拉克(LBC)模型。与基于彭-罗宾逊(PR)EoS 的标准公式相比,我们的模拟器在预测 CO2-盐水系统方面表现出卓越的性能,并能处理含有各种盐分的盐水。重现所有示例所需的独立源代码可从开放式 Zenodo 数字资源库(doi: 10.5281/zenodo.10691505)获取。
Compositional Simulation for Carbon Storage in Porous Media Using an Electrolyte Association Equation of State
We present a new algorithm based on automatic differentiation that enables precise computation of the derivatives of the Z-factor, facilitating the utilization of Newton’s method or coupling with a robust flow solver. Leveraging a free open-source code [MATLAB Reservoir Simulation Toolbox (MRST)], we develop an electrolyte cubic plus association (e-CPA) equation of state (EoS) model to accurately represent the injection of carbon dioxide (CO2) in brine. By integrating flow and thermodynamics, we construct an advanced compositional simulator using MRST’s object-oriented, automatic differentiation framework and the newly developed e-CPA EoS model. This simulator offers flexibility through both overall-composition and natural-variable formulations, achieved by selecting different primary variables. The Péneloux volume translation technique is employed to modify the EoS model’s volume, ensuring accurate density calculation for the mixture. Additionally, we introduce a viscosity model, e-CPA-FV, which accurately predicts the viscosity of carbon capture and storage (CCS) fluids, surpassing the accuracy of the traditional Lohrenz-Bray-Clark (LBC) model. Our simulator demonstrates superior performance in predicting CO2-brine systems compared with the standard formulation based on the Peng-Robinson (PR) EoS and can handle brine with various salts. The self-contained source code necessary to reproduce all examples is available on the open-access Zenodo digital repository (doi: 10.5281/zenodo.10691505).
期刊介绍:
Covers theories and emerging concepts spanning all aspects of engineering for oil and gas exploration and production, including reservoir characterization, multiphase flow, drilling dynamics, well architecture, gas well deliverability, numerical simulation, enhanced oil recovery, CO2 sequestration, and benchmarking and performance indicators.