基于VBA的煤储层参数反演模型

    Model of Coal Reservoir Parameters Inversion Based on VBA

    • 摘要: 煤层气排采过程中大量的产水、水位降深及产气量数据,一般用Excel 表格进行存储。基于这些数据,为了更好的指导煤层气后期的排采,预测产气及产水降深至关重要。理论上,产气及产水降深在Excel表中按泰斯公式可以进行数值计算,但由于计算过程复杂且煤层气排采为变流量的产水过程,利用 VBA 对原先编制的泰斯Excel公式试验数据处理表进行了二次开发,在计算过程中增加了降深、参数m、累计产气量共3个Excel函数,并对这3个函数进行了VBA编程,通过点击试验结果按钮,可以计算出产水降深及产气量,并与实际结果拟合,发现曲线基本吻合,满足要求。

       

      Abstract: A large number of data of water production, water level drop and gas production in the process of coalbed methane (CBM) production are usually stored in Excel form. Based on these data, in order to guide the later stage production of CBM, it is very important to predict gas production and water drawdown. In theory, gas and water drawdown in the Excel table can be calculated by Theis formula, but the calculation process is complicated, the production of CBM is a water production process with variable discharge. By the VBA in Excel, the secondary development for original test data processing table of Theis formula is carried out. In the calculation process, three Excel functions are added to calculate the water drawdown, the parameter m and the accumulated gas production, and the three functions are programmed by VBA in Excel. By clicking the test results button, we can calculate the production water drawdown and gas, it is found that the curves are basically consistent and meet the requirements.

       

    /

    返回文章
    返回