A method for quantitatively predicting the proportion of adsorbed gas and free gas in coal-bed gas based on a continuous monitoring carbon isotope fractionation model

By continuously monitoring the carbon isotope fractionation model, combined with multi-source data and the Langmuir model, the ratio of adsorbed gas to free gas in coalbed methane can be predicted in real time. This solves the problems of data delay and large error in traditional methods and achieves high-precision and stable ratio prediction.

CN123176205APending Publication Date: 2026-11-27JILIN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611319189.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-28
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies struggle to predict the ratio of adsorbed gas to free gas in coalbed methane in real time and with high accuracy. Traditional carbon isotope detection methods suffer from data delays and large errors, making it difficult to respond promptly to adjustments in drainage systems and changes in formation conditions.

Method used

A dynamic mixing model of the adsorbed gas-free gas ratio was established by using a continuous monitoring carbon isotope fractionation model, through wellhead online data acquisition, gas conditioning, and isotope analysis. Combined with the Langmuir adsorption isotherm model and multi-source data constraints, rolling adaptive inversion and short-term prediction were achieved.

Benefits of technology

It achieves minute-level high-frequency continuous monitoring, reduces data errors, improves prediction accuracy and stability, and can respond promptly to adjustments in the mining system and pressure fluctuations, providing reliable proportional prediction results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123176205A_ABST
    Figure CN123176205A_ABST
Patent Text Reader

Abstract

The present application relates to coalbed methane development technical field, specifically for a kind of based on continuous monitoring carbon isotope fractionation model quantitative prediction of proportion of adsorbed gas and free gas in coalbed methane method, comprising the following steps: S1, multi-source synchronous data acquisition;S2, wellhead continuous sampling and gas conditioning;S3, online isotope and component synchronous analysis correction;S4, isotope-occurrence form coupling model construction;S5, rolling self-adapting inversion and short-term prediction;S6, result output and check linkage.The present application is through series of measures, such as steady pressure and steady flow, gas-liquid separation, dew point control, automatic zero gas / marker gas calibration and drift compensation, reduces the influence of liquid carrying, humidity interference, pipeline fractionation and instrument drift on isotope result, establishes long-period continuous operation's traceable calibration link, significantly improves the reliability and comparability of field data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of coalbed methane development technology, specifically to a method for quantitatively predicting the ratio of adsorbed gas to free gas in coalbed methane based on a continuous monitoring carbon isotope fractionation model. Background Technology

[0002] Coalbed methane (CBM), an important unconventional natural gas resource, is mainly found in the pore-fracture system of coal reservoirs. Based on its occurrence form, it can be divided into two main categories: adsorbed gas and free gas. Adsorbed gas adheres to the surface of the micropores of the coal matrix through physical adsorption and is the core component of CBM resources. Free gas mainly exists in fractures, macropores, and dissolved phases, and is closely related to coal seam pressure, water content, and fracture connectivity. The ratio of adsorbed gas to free gas directly determines the exploitability of CBM, the desorption start-up pressure, and the decline in gas production, serving as the core basis for drainage system design, well network deployment, fracturing effect evaluation, and dynamic reserve calculation.

[0003] In existing technologies, the determination of the ratio of adsorbed gas to free gas mainly relies on three approaches: First, Langmuir parameters are obtained based on isothermal adsorption experiments, and the adsorbed gas content is estimated by combining formation pressure and gas content tests, thereby indirectly estimating the proportion of free gas; Second, the gas occurrence state is inverted through desorption-residual gas tests, gas content logging interpretation, material balance, or numerical simulation; Third, the adsorption-desorption process is fitted during production by combining bottom hole pressure, water and gas production dynamics, and seepage models.

[0004] The aforementioned methods generally have significant limitations: experiments and interpretations are highly dependent on the representativeness of coal samples and are greatly affected by factors such as sampling disturbances, gas loss, and changes in water content; well logging and model inversion are sensitive to geological parameters, and the solutions are not unique; production dynamics fitting requires long-term data accumulation and is difficult to respond promptly to adjustments in drainage systems or sudden changes in formation conditions. During coalbed methane drainage, as depressurization and desorption progress, water saturation changes, and fracture seepage conditions evolve, the contribution ratio of adsorbed gas to free gas exhibits significant temporal dynamic characteristics. Single or intermittent tests are insufficient to characterize these rapid changes, leading to prediction lags, untimely control, and constraints on production capacity release and development effectiveness.

[0005] On the other hand, the carbon isotope composition of coalbed methane has been widely used for identifying gas source genesis, maturity analysis, and mixed gas identification. Processes such as the thermal evolution of organic matter in coal, microbial activity, gas diffusion, and adsorption / desorption fractionation all cause differences in the carbon isotope ratio of coalbed methane at different spatial locations and production stages. Related studies have shown that isotope fractionation effects exist between the adsorbed and free phases during their occurrence and migration. The isotope composition of the gases produced at different stages of drainage, depressurization, and desorption processes exhibits dynamic changes, and the carbon isotope ratio has the potential to reflect the source, migration, and release processes of coalbed methane.

[0006] However, in engineering applications, current carbon isotope data acquisition methods mostly employ intermittent sampling at the wellhead or in the wellbore, with offline delivery and testing. This results in problems such as low sampling frequency, long analysis cycles, and significant data delays. Furthermore, leaks, contamination, or secondary fractionation may occur during sample collection, storage, and transportation, leading to deviations in isotope results. Because the coalbed methane drainage process exhibits a strong dynamic coupling of "pressure-water content-seepage-desorption," the ratio of adsorbed gas to free gas may change rapidly with fluctuations in bottom hole pressure, adjustments to the drainage regime, and the decay of fracturing conductivity. Traditional intermittent isotope detection cannot provide sufficient temporal resolution to support real-time identification and accurate prediction of ratio changes.

[0007] In addition, using carbon isotope ratios to quantitatively predict the adsorbed gas / free gas ratio still has the following problems: it is difficult to synchronously correlate isotope changes with multi-source production parameters such as reservoir pressure, water and gas production, and water saturation; and it is impossible to distinguish isotope changes caused by factors such as adsorption / desorption fractionation, mixed gas, fugitive diffusion, and wellbore effects. Summary of the Invention

[0008] The purpose of this invention is to provide a method for quantitatively predicting the ratio of adsorbed gas to free gas in coalbed methane based on a continuous monitoring carbon isotope fractionation model, so as to solve the problems mentioned in the background art.

[0009] To achieve the above objectives, the present invention provides the following technical solution:

[0010] A method for quantitatively predicting the ratio of adsorbed gas to free gas in coalbed methane based on a continuous monitoring carbon isotope fractionation model includes the following steps:

[0011] S1. Multi-source synchronous data acquisition: Acquires wellhead online isotope data, online gas composition data, operating parameters, and geological experimental prior parameters, and completes unified timestamp alignment and synchronous transmission through the data acquisition terminal;

[0012] S2. Continuous sampling and gas conditioning at the wellhead: The collected coalbed methane samples are subjected to pressure and flow stabilization control, gas-liquid separation and filtration, dew point and humidity control, and automatic calibration and purging in sequence to obtain the gas to be tested in a stable state.

[0013] S3. Online synchronous analysis and correction of isotopes and components: The methane carbon isotope ratio and gas components of the gas to be tested are continuously detected, and multi-source error correction is performed on the detection data to generate a synchronously matched high-reliability continuous data stream.

[0014] S4. Construction of the isotope-occurrence morphology coupling model: The produced gas is regarded as a dynamic mixing system of free phase contributing gas and adsorbed phase desorbed gas. Adsorption and desorption isotope fractionation constraints, adsorption isotherm prior constraints and operating condition mode recognition constraints are introduced to establish a quantitative inversion model of adsorbed gas-free gas ratio.

[0015] S5. Rolling Adaptive Inversion and Short-Term Prediction: A rolling window sliding fitting combined with an adaptive parameter update mechanism is adopted to solve the contribution ratio of adsorbed gas and free gas in real time, and to make short-term predictions on the ratio changes based on the current pressure drop trend.

[0016] S6. Results Output and Verification Linkage: Outputs time-series results and grading criteria for the ratio of adsorbed gas to free gas, performs phased verification in conjunction with multi-source geological production data, and supports linkage with the well site drainage control system.

[0017] Preferably, in step S1, the specific process of multi-source synchronous data acquisition is as follows:

[0018] The collected online isotope data includes at least the methane carbon isotope ratio. This can be extended to the carbon isotope ratio of ethane. Carbon dioxide carbon isotope ratio ratio of hydrogen isotopes to methane ;

[0019] The collected online gas composition data includes at least the following: , , , , Volume fraction;

[0020] The collected operating parameters should include at least the wellhead pressure, temperature, gas flow rate, water dew point, casing pressure, oil pressure, and throttle valve opening.

[0021] The prior geological parameters collected include at least the Langmuir parameters of the coal sample, the gas content desorption parameters, the coal density, the porosity-fracture parameters, and the isotopic baseline range of the block.

[0022] All data is time-synchronized by uniformly timestamping and remotely transmitting through DAQ acquisition units, PLC controllers, or edge computing gateways.

[0023] Preferably, in step S2, the specific process of continuous wellhead sampling and gas conditioning is as follows:

[0024] A back pressure valve and a mass flow controller are used to control the sampling gas under constant pressure and flow to suppress isotope drift caused by pipeline pressure fluctuations.

[0025] Liquid droplets and solid particles in the gas are removed by demisters, cyclone separators and microporous filters to avoid optical or chromatographic contamination of the analytical unit;

[0026] The gas dew point is controlled by membrane drying, condensation dehydration or adsorption drying to ensure that the water vapor content meets the detection requirements of online analyzers, and the dew point data is recorded simultaneously for subsequent data correction.

[0027] Configure a zero gas and standard gas switching valve group to perform zero point calibration, span calibration and drift correction at regular intervals to ensure the traceability of long-term continuous monitoring data.

[0028] Preferably, in step S3, the specific process of online isotope and component synchronous analysis and correction is as follows:

[0029] Using an online isotope analyzer Perform continuous measurements and output isotope time series with frequencies at the minute level or higher; simultaneously acquire gas composition data using a miniature gas chromatograph or infrared / thermal conductivity component analyzer;

[0030] Four types of error correction are applied to the raw test data:

[0031] (1) Correction for spectral interference caused by humidity / dew point;

[0032] (2) Instrument response correction due to pressure and temperature fluctuations;

[0033] (3) Sampling lag and time alignment correction caused by tube capacity effect;

[0034] (4) Standard gas calibration and instrument drift compensation correction;

[0035] After correction, it becomes " A continuous data stream of "Gas composition - operating parameters" synchronized in time is used as the direct input to the proportional inversion model.

[0036] Preferably, in step S4, the specific process of constructing the isotope-occurrence morphology coupling model is as follows:

[0037] S41. Establish the mixing conservation relationship: Represent the wellhead observed isotope values ​​as a weighted mixture of free gas endmembers and adsorbed gas endmembers, satisfying the mass conservation relationship:

[0038]

[0039]

[0040] in, for The carbon isotope ratio of methane is constantly monitored online. , They are respectively The contribution ratio of free gas and adsorbed gas to the product gas at any given time. , They are respectively The carbon isotope end-member values ​​of methane in the free phase and adsorbed phase at any given time;

[0041] S42. Introducing Adsorption Fractionation Constraints: Defining the Isotopic Fractionation Coefficient Between the Adsorbed Phase and the Free Phase With enrichment coefficient ,satisfy:

[0042]

[0043]

[0044] Furthermore, the quantitative relationship between adsorbed and free endmembers was derived:

[0045]

[0046] in, For pressure ,temperature Water saturation With coal rank The function is calibrated by indoor isothermal adsorption-desorption isotope experiments, or updated by rolling inversion of on-site historical data;

[0047] S43. Incorporating thermal and compositional constraints: based on online pressure. ,temperature Based on the component data, the desorption potential of the adsorbed phase was calculated using the Langmuir adsorption isotherm model. Combining the gas equation of state and the prior constraint of the effective pore volume on the free phase variation trend, the Langmuir adsorption isotherm model satisfies:

[0048]

[0049] in, This represents the adsorbed gas content per unit mass of coal under the corresponding pressure. For the volume of Langmuir, Langmuir pressure constant;

[0050] S44. Operating Condition Change Pattern Recognition: By using component fingerprints and isotopic features to collaboratively identify abnormal operating conditions such as gas injection, mixing of external gas sources, and wellbore backflow, the system automatically switches between pure coalbed methane mode, mixing mode, and abnormal mode to eliminate interference from external gas on the determination of the occurrence ratio.

[0051] Preferably, in step S5, the specific process of rolling adaptive inversion and short-term prediction is as follows:

[0052] S51. Rolling Window Estimation: Set a fixed time window, perform sliding fitting on the observed isotope, composition, and operating condition data within the time window, and construct an objective function with regularization constraints:

[0053]

[0054] in, The length of the scroll window. The regularization coefficient is . This represents the change in proportion between adjacent time steps, used to suppress unreasonable proportional jumps; the real-time value is obtained by solving for the minimum of the objective function. and ;

[0055] S52. Adaptive parameter update: For key parameters such as fractionation enrichment coefficient, free end-member isotope baseline, and sampling lag time constant, online recursive correction is performed using recursive least squares, extended Kalman filtering, or Bayesian update methods to achieve self-calibration of the model as the reservoir state changes.

[0056] S53, Multi-source constraint fusion: The dynamic production data of gas production, wellhead pressure change rate, and water production change are introduced as soft constraint terms into the objective function to further reduce the non-uniqueness of the inversion results;

[0057] S54. Short-term trend prediction: Based on the current inversion state and pressure drop change trend, predict the change in the ratio of adsorbed gas to free gas in the next 6 to 48 hours, and output the ratio trend curve and the corresponding confidence interval.

[0058] Preferably, in step S6, the specific process of linking result output with verification is as follows:

[0059] The output should include at least: the proportion of adsorbed gas contribution. Free gas contribution ratio The time-series curve, the ratio of adsorbed gas to free gas And the classification criteria for adsorption-dominant, transitional, and free-dominant components, abnormal alarm information for key isotopes and components, and drainage recommendation indicators based on ratio changes.

[0060] Verification and closed-loop optimization are performed using the following methods:

[0061] (1) Perform phased comparison and verification with desorption test, gas content test, isothermal adsorption parameters, downhole pressure data or numerical simulation results;

[0062] (2) When obtaining new coal sample experimental or offline isotope detection results, the fractionation parameters and end-member isotope values ​​are recalibrated and the model parameter library is updated;

[0063] (3) Under the premise of meeting the safety strategy, the proportional prediction results are connected to the well site control system to assist in the regulation of throttling opening, drainage intensity and well group coordinated operation.

[0064] A coalbed methane adsorbed gas to free gas ratio prediction system based on a continuous monitoring carbon isotope fractionation model is used to implement the above-described method for quantitatively predicting the ratio of adsorbed gas to free gas in coalbed methane based on a continuous monitoring carbon isotope fractionation model, comprising:

[0065] The data acquisition module is used to synchronously acquire wellhead online isotope data, gas composition data, operating parameters and geological prior parameters, and complete unified timestamp alignment and remote data transmission.

[0066] The gas conditioning module is used to sequentially perform pressure and flow stabilization, gas-liquid separation, dew point control and automatic calibration on the sampled gas, and output a stable test gas.

[0067] The online analysis module is used to continuously detect the isotope ratios and component contents of the gas to be tested, perform multi-source error correction, and generate a highly reliable continuous data stream with time synchronization.

[0068] The model building module is used to build an isotope-occurrence morphology coupled inversion model that includes mixing conservation, adsorption fractionation, adsorption isotherm constraints and operating condition identification.

[0069] The rolling inversion prediction module is used to solve the ratio of adsorbed gas to free gas in real time and perform short-term trend prediction by fitting a rolling window and updating parameters adaptively.

[0070] The output linkage module is used to output proportional time-series results and classification criteria, and supports multi-source data verification and linkage with well site drainage systems.

[0071] Compared with the prior art, the beneficial effects of the present invention are:

[0072] This invention achieves minute-level high-frequency continuous acquisition of methane carbon isotope ratios by deploying continuous sampling, gas conditioning, and online isotope analysis units at the wellhead. It can promptly capture rapid changes in the adsorbed gas / free gas ratio caused by adjustments in the drainage system, pressure fluctuations, and changes in water content, thus completely solving the problems of sparse and significantly delayed data from traditional intermittent sampling.

[0073] This invention reduces the impact of liquid carryover, humidity interference, pipeline fractionation, and instrument drift on isotope results through a series of measures such as pressure and flow stabilization, gas-liquid separation, dew point control, automatic zero gas / standard gas calibration, and drift compensation. It establishes a traceable calibration link that operates continuously over a long period, significantly improving the reliability and comparability of field data.

[0074] This invention does not rely on a single isotope value for direct discrimination. Instead, it couples isotope mixing conservation, adsorption / desorption fractionation constraints with Langmuir adsorption isotherm priors and pressure-yield dynamic constraints for modeling. Under the joint constraints of multi-source data, it inverts the contribution ratio of adsorbed gas and free gas, which greatly reduces the non-uniqueness and misjudgment risk caused by relying solely on isotopes or adsorption parameters, and improves the accuracy and stability of ratio prediction.

[0075] This invention employs a rolling window and an adaptive parameter update mechanism to perform online recursive corrections on key quantities such as fractionation parameters, end-member baselines, and sampling lags. This allows the model to continuously self-calibrate as the drainage stage progresses, end-member drifts, and reservoir conditions change, avoiding the accumulation of errors from long-term static parameter operation and enhancing its adaptability for cross-well and cross-block applications.

[0076] This invention uses isotope and component fingerprint collaborative discrimination and introduces a mode switching mechanism to identify and label working conditions such as gas injection, air intrusion, backflow, and pipeline gas mixing. When necessary, it can re-evaluate end-units or pause output, reduce the proportion misjudgment caused by external gas, and improve the engineering usability under complex working conditions.

[0077] This invention can continuously output the contribution ratios of adsorbed gas and free gas, as well as their ratio curves, and provides identification of the desorption stage, early warning of sudden changes in proportions, and short-term trend prediction with confidence intervals. It provides quantifiable decision-making basis for optimizing throttling strategies, early warning of stable production, identification of declining stages, and well group coordination, thereby shortening the evaluation cycle and reducing the cost of comprehensive testing and interpretation. Attached Figure Description

[0078] Figure 1 This is a schematic diagram of the process steps of a method for quantitatively predicting the ratio of adsorbed gas to free gas in coalbed methane based on a continuous monitoring carbon isotope fractionation model according to the present invention.

[0079] Figure 2 This is a schematic diagram of the system module structure of the present invention. Detailed Implementation

[0080] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0081] Please see Figure 1-2 A method for quantitatively predicting the ratio of adsorbed gas to free gas in coalbed methane based on a continuous monitoring carbon isotope fractionation model includes the following steps:

[0082] S1. Multi-source synchronous data acquisition: Acquiring wellhead online isotope data, online gas composition data, operating parameters, and prior geological experimental parameters, and completing the unified timestamp alignment and synchronous transmission through the data acquisition terminal. The specific process is as follows:

[0083] The collected online isotope data includes at least the methane carbon isotope ratio. This can be extended to the carbon isotope ratio of ethane. Carbon dioxide carbon isotope ratio ratio of hydrogen isotopes to methane ;

[0084] The collected online gas composition data includes at least the following: , , , , Volume fraction;

[0085] The collected operating parameters should include at least the wellhead pressure, temperature, gas flow rate, water dew point, casing pressure, oil pressure, and throttle valve opening.

[0086] The prior geological parameters collected include at least the Langmuir parameters of the coal sample, the gas content desorption parameters, the coal density, the porosity-fracture parameters, and the isotopic baseline range of the block.

[0087] All data is time-synchronized by uniformly timestamping and remotely transmitting through DAQ acquisition units, PLC controllers, or edge computing gateways.

[0088] S2. Continuous sampling and gas conditioning at the wellhead: The specific process of sequentially performing pressure and flow stabilization control, gas-liquid separation and filtration, dew point and humidity control, and automatic calibration purging on the collected coalbed methane samples to obtain a stable gas for testing is as follows:

[0089] A back pressure valve and a mass flow controller are used to control the sampling gas under constant pressure and flow to suppress isotope drift caused by pipeline pressure fluctuations.

[0090] Liquid droplets and solid particles in the gas are removed by demisters, cyclone separators and microporous filters to avoid optical or chromatographic contamination of the analytical unit;

[0091] The gas dew point is controlled by membrane drying, condensation dehydration or adsorption drying to ensure that the water vapor content meets the detection requirements of online analyzers, and the dew point data is recorded simultaneously for subsequent data correction.

[0092] Configure a zero gas and standard gas switching valve group to perform zero point calibration, span calibration and drift correction at regular intervals to ensure the traceability of long-term continuous monitoring data.

[0093] S3. Online Isotope and Component Synchronous Analysis and Correction: The specific process of continuously detecting the methane carbon isotope ratio and gas components of the gas to be tested, performing multi-source error correction on the detection data, and generating a synchronously matched high-reliability continuous data stream is as follows:

[0094] Using an online isotope analyzer Perform continuous measurements and output isotope time series with frequencies at the minute level or higher; simultaneously acquire gas composition data using a miniature gas chromatograph or infrared / thermal conductivity component analyzer;

[0095] Four types of error correction are applied to the raw test data:

[0096] (1) Correction for spectral interference caused by humidity / dew point;

[0097] (2) Instrument response correction due to pressure and temperature fluctuations;

[0098] (3) Sampling lag and time alignment correction caused by tube capacity effect;

[0099] (4) Standard gas calibration and instrument drift compensation correction;

[0100] After correction, it becomes " A continuous data stream of "Gas composition - operating parameters" synchronized in time is used as the direct input to the proportional inversion model.

[0101] S4. Construction of the Isotope-Occurrence Speciation Coupled Model: The produced gas is regarded as a dynamic mixture of free phase contributing gas and adsorbed phase desorbed gas. Adsorption-desorption isotope fractionation constraints, adsorption isotherm prior constraints, and operating condition mode recognition constraints are introduced. The specific process for establishing a quantitative inversion model of the adsorbed gas-free gas ratio is as follows:

[0102] S41. Establish the mixing conservation relationship: Represent the wellhead observed isotope values ​​as a weighted mixture of free gas endmembers and adsorbed gas endmembers, satisfying the mass conservation relationship:

[0103]

[0104]

[0105] in, for The carbon isotope ratio of methane is constantly monitored online. , They are respectively The contribution ratio of free gas and adsorbed gas to the product gas at any given time. , They are respectively The carbon isotope end-member values ​​of methane in the free phase and adsorbed phase at any given time;

[0106] S42. Introducing Adsorption Fractionation Constraints: Defining the Isotopic Fractionation Coefficient Between the Adsorbed Phase and the Free Phase With enrichment coefficient ,satisfy:

[0107]

[0108]

[0109] Furthermore, the quantitative relationship between adsorbed and free endmembers was derived:

[0110]

[0111] in, For pressure ,temperature Water saturation With coal rank The function is calibrated by indoor isothermal adsorption-desorption isotope experiments, or updated by rolling inversion of on-site historical data;

[0112] S43. Incorporating thermal and compositional constraints: based on online pressure. ,temperature Based on the component data, the desorption potential of the adsorbed phase was calculated using the Langmuir adsorption isotherm model. Combining the gas equation of state and the prior constraint of the effective pore volume on the free phase variation trend, the Langmuir adsorption isotherm model satisfies:

[0113]

[0114] in, This represents the adsorbed gas content per unit mass of coal under the corresponding pressure. For the volume of Langmuir, Langmuir pressure constant;

[0115] S44. Operating Condition Change Pattern Recognition: By using component fingerprints and isotopic features to collaboratively identify abnormal operating conditions such as gas injection, mixing of external gas sources, and wellbore backflow, the system automatically switches between pure coalbed methane mode, mixing mode, and abnormal mode to eliminate interference from external gas on the determination of the occurrence ratio.

[0116] S5. Rolling Adaptive Inversion and Short-Term Prediction: The specific process of using a rolling window sliding fit combined with an adaptive parameter update mechanism to solve the contribution ratio of adsorbed gas and free gas in real time, and making short-term predictions of the ratio changes based on the current pressure drop trend is as follows:

[0117] S51. Rolling Window Estimation: Set a fixed time window, perform sliding fitting on the observed isotope, composition, and operating condition data within the time window, and construct an objective function with regularization constraints:

[0118]

[0119] in, The length of the scroll window. The regularization coefficient is . This represents the change in proportion between adjacent time steps, used to suppress unreasonable proportional jumps; the real-time value is obtained by solving for the minimum of the objective function. and ;

[0120] S52. Adaptive parameter update: For key parameters such as fractionation enrichment coefficient, free end-member isotope baseline, and sampling lag time constant, online recursive correction is performed using recursive least squares, extended Kalman filtering, or Bayesian update methods to achieve self-calibration of the model as the reservoir state changes.

[0121] S53, Multi-source constraint fusion: The dynamic production data of gas production, wellhead pressure change rate, and water production change are introduced as soft constraint terms into the objective function to further reduce the non-uniqueness of the inversion results;

[0122] S54. Short-term trend prediction: Based on the current inversion state and pressure drop change trend, predict the change in the ratio of adsorbed gas to free gas in the next 6 to 48 hours, and output the ratio trend curve and the corresponding confidence interval.

[0123] S6. Result Output and Verification Linkage: Outputs time-series results and grading criteria for the ratio of adsorbed gas to free gas, performs phased verification in conjunction with multi-source geological production data, and supports linkage with the well site drainage control system. The specific process is as follows:

[0124] The output should include at least: the proportion of adsorbed gas contribution. Free gas contribution ratio The time-series curve, the ratio of adsorbed gas to free gas And the classification criteria for adsorption-dominant, transitional, and free-dominant components, abnormal alarm information for key isotopes and components, and drainage recommendation indicators based on ratio changes.

[0125] Verification and closed-loop optimization are performed using the following methods:

[0126] (1) Perform phased comparison and verification with desorption test, gas content test, isothermal adsorption parameters, downhole pressure data or numerical simulation results;

[0127] (2) When obtaining new coal sample experimental or offline isotope detection results, the fractionation parameters and end-member isotope values ​​are recalibrated and the model parameter library is updated;

[0128] (3) Under the premise of meeting the safety strategy, the proportional prediction results are connected to the well site control system to assist in the regulation of throttling opening, drainage intensity and well group coordinated operation.

[0129] like Figure 2 As shown, a coalbed methane adsorbed gas-free gas ratio prediction system based on a continuous monitoring carbon isotope fractionation model includes:

[0130] The data acquisition module is used to synchronously acquire wellhead online isotope data, gas composition data, operating parameters and geological prior parameters, and complete unified timestamp alignment and remote data transmission.

[0131] The gas conditioning module is used to sequentially perform pressure and flow stabilization, gas-liquid separation, dew point control and automatic calibration on the sampled gas, and output a stable test gas.

[0132] The online analysis module is used to continuously detect the isotope ratios and component contents of the gas to be tested, perform multi-source error correction, and generate a highly reliable continuous data stream with time synchronization.

[0133] The model building module is used to build an isotope-occurrence morphology coupled inversion model that includes mixing conservation, adsorption fractionation, adsorption isotherm constraints and operating condition identification.

[0134] The rolling inversion prediction module is used to solve the ratio of adsorbed gas to free gas in real time and perform short-term trend prediction by fitting a rolling window and updating parameters adaptively.

[0135] The output linkage module is used to output proportional time-series results and classification criteria, and supports multi-source data verification and linkage with well site drainage systems.

[0136] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A method for quantitatively predicting the ratio of adsorbed gas to free gas in coalbed methane based on a continuous monitoring carbon isotope fractionation model, characterized in that, Includes the following steps: S1. Multi-source synchronous data acquisition: Acquires wellhead online isotope data, online gas composition data, operating parameters, and geological experimental prior parameters, and completes unified timestamp alignment and synchronous transmission through the data acquisition terminal; S2. Continuous sampling and gas conditioning at the wellhead: The collected coalbed methane samples are subjected to pressure and flow stabilization control, gas-liquid separation and filtration, dew point and humidity control, and automatic calibration and purging in sequence to obtain the gas to be tested in a stable state. S3. Online synchronous analysis and correction of isotopes and components: The methane carbon isotope ratio and gas components of the gas to be tested are continuously detected, and multi-source error correction is performed on the detection data to generate a synchronously matched high-reliability continuous data stream. S4. Construction of the isotope-occurrence morphology coupling model: The produced gas is regarded as a dynamic mixing system of free phase contributing gas and adsorbed phase desorbed gas. Adsorption and desorption isotope fractionation constraints, adsorption isotherm prior constraints and operating condition mode recognition constraints are introduced to establish a quantitative inversion model of adsorbed gas-free gas ratio. S5. Rolling Adaptive Inversion and Short-Term Prediction: A rolling window sliding fitting combined with an adaptive parameter update mechanism is adopted to solve the contribution ratio of adsorbed gas and free gas in real time, and to make short-term predictions on the ratio changes based on the current pressure drop trend. S6. Results Output and Verification Linkage: Outputs time-series results and grading criteria for the ratio of adsorbed gas to free gas, performs phased verification in conjunction with multi-source geological production data, and supports linkage with the well site drainage control system.

2. The method for quantitatively predicting the ratio of adsorbed gas to free gas in coalbed methane based on a continuous monitoring carbon isotope fractionation model according to claim 1, characterized in that, In step S1, the specific process of multi-source synchronous data acquisition is as follows: The collected online isotope data includes at least the methane carbon isotope ratio. This can be extended to the carbon isotope ratio of ethane. Carbon dioxide carbon isotope ratio ratio of hydrogen isotopes to methane ; The collected online gas composition data includes at least the following: , , , , Volume fraction; The collected operating parameters should include at least the wellhead pressure, temperature, gas flow rate, water dew point, casing pressure, oil pressure, and throttle valve opening. The prior geological parameters collected include at least the Langmuir parameters of the coal sample, the gas content desorption parameters, the coal density, the porosity-fracture parameters, and the isotopic baseline range of the block. All data is time-synchronized by uniformly timestamping and remotely transmitting through DAQ acquisition units, PLC controllers, or edge computing gateways.

3. The method for quantitatively predicting the ratio of adsorbed gas to free gas in coalbed methane based on a continuous monitoring carbon isotope fractionation model according to claim 1, characterized in that, In step S2, the specific process of continuous wellhead sampling and gas conditioning is as follows: A back pressure valve and a mass flow controller are used to control the sampling gas under constant pressure and flow to suppress isotope drift caused by pipeline pressure fluctuations. Liquid droplets and solid particles in the gas are removed by demisters, cyclone separators and microporous filters to avoid optical or chromatographic contamination of the analytical unit; The gas dew point is controlled by membrane drying, condensation dehydration or adsorption drying to ensure that the water vapor content meets the detection requirements of online analyzers, and the dew point data is recorded simultaneously for subsequent data correction. Configure a zero gas and standard gas switching valve group to perform zero point calibration, span calibration and drift correction at regular intervals to ensure the traceability of long-term continuous monitoring data.

4. The method for quantitatively predicting the ratio of adsorbed gas to free gas in coalbed methane based on a continuous monitoring carbon isotope fractionation model according to claim 1, characterized in that, In step S3, the specific process for online isotope and component synchronous analysis correction is as follows: Using an online isotope analyzer Perform continuous measurements and output isotope time series with frequencies at the minute level or higher; simultaneously acquire gas composition data using a miniature gas chromatograph or infrared / thermal conductivity component analyzer; Four types of error correction are applied to the raw test data: (1) Correction for spectral interference caused by humidity / dew point; (2) Instrument response correction due to pressure and temperature fluctuations; (3) Sampling lag and time alignment correction caused by tube capacity effect; (4) Standard gas calibration and instrument drift compensation correction; After correction, it forms " A continuous data stream of "Gas composition - operating parameters" synchronized in time is used as the direct input to the proportional inversion model.

5. The method for quantitatively predicting the ratio of adsorbed gas to free gas in coalbed methane based on a continuous monitoring carbon isotope fractionation model according to claim 1, characterized in that, In step S4, the specific process of constructing the isotope-occurrence morphology coupling model is as follows: S41. Establish the mixing conservation relationship: Represent the wellhead observed isotope values ​​as a weighted mixture of free gas endmembers and adsorbed gas endmembers, satisfying the mass conservation relationship: in, for The carbon isotope ratio of methane is constantly monitored online. , They are respectively The contribution ratio of free gas and adsorbed gas to the product gas at any given time. , They are respectively The carbon isotope end-member values ​​of methane in the free phase and adsorbed phase at any given time; S42. Introducing Adsorption Fractionation Constraints: Defining the Isotopic Fractionation Coefficient Between the Adsorbed Phase and the Free Phase With enrichment coefficient ,satisfy: Furthermore, the quantitative relationship between adsorbed and free endmembers was derived: in, For pressure ,temperature Water saturation With coal rank The function is calibrated by indoor isothermal adsorption-desorption isotope experiments, or updated by rolling inversion of on-site historical data; S43. Incorporating thermal and compositional constraints: based on online pressure. ,temperature Based on the component data, the desorption potential of the adsorbed phase was calculated using the Langmuir adsorption isotherm model. Combining the gas equation of state and the prior constraint of the effective pore volume on the free phase variation trend, the Langmuir adsorption isotherm model satisfies: in, This represents the adsorbed gas content per unit mass of coal under the corresponding pressure. For the volume of Langmuir, Langmuir pressure constant; S44. Operating Condition Change Pattern Recognition: By using component fingerprints and isotopic features to collaboratively identify abnormal operating conditions such as gas injection, mixing of external gas sources, and wellbore backflow, the system automatically switches between pure coalbed methane mode, mixing mode, and abnormal mode to eliminate interference from external gas on the determination of the occurrence ratio.

6. The method for quantitatively predicting the ratio of adsorbed gas to free gas in coalbed methane based on a continuous monitoring carbon isotope fractionation model according to claim 1, characterized in that, In step S5, the specific process of rolling adaptive inversion and short-term prediction is as follows: S51. Rolling Window Estimation: Set a fixed time window, perform sliding fitting on the observed isotope, composition, and operating condition data within the time window, and construct an objective function with regularization constraints: in, The length of the scroll window. The regularization coefficient is . This represents the change in proportion between adjacent time steps, used to suppress unreasonable proportional jumps; the real-time value is obtained by solving for the minimum of the objective function. and ; S52. Adaptive parameter update: For key parameters such as fractionation enrichment coefficient, free end-member isotope baseline, and sampling lag time constant, online recursive correction is performed using recursive least squares, extended Kalman filtering, or Bayesian update methods to achieve self-calibration of the model as the reservoir state changes. S53, Multi-source constraint fusion: The dynamic production data of gas production, wellhead pressure change rate, and water production change are introduced as soft constraint terms into the objective function to further reduce the non-uniqueness of the inversion results; S54. Short-term trend prediction: Based on the current inversion state and pressure drop change trend, predict the change in the ratio of adsorbed gas to free gas in the next 6 to 48 hours, and output the ratio trend curve and the corresponding confidence interval.

7. The method for quantitatively predicting the ratio of adsorbed gas to free gas in coalbed methane based on a continuous monitoring carbon isotope fractionation model according to claim 1, characterized in that, In step S6, the specific process of linking result output with verification is as follows: The output should include at least: the proportion of adsorbed gas contribution. Free gas contribution ratio The time-series curve, the ratio of adsorbed gas to free gas And the classification criteria for adsorption-dominant, transitional, and free-dominant components, abnormal alarm information for key isotopes and components, and drainage recommendation indicators based on ratio changes. Verification and closed-loop optimization are performed using the following methods: (1) Perform phased comparison and verification with desorption test, gas content test, isothermal adsorption parameters, downhole pressure data or numerical simulation results; (2) When obtaining new coal sample experimental or offline isotope detection results, the fractionation parameters and end-member isotope values ​​are recalibrated and the model parameter library is updated; (3) Under the premise of meeting the safety strategy, the proportional prediction results are connected to the well site control system to assist in the regulation of throttling opening, drainage intensity and well group coordinated operation.

8. A coalbed methane adsorbed gas-free gas ratio prediction system based on a continuous monitoring carbon isotope fractionation model, characterized in that, For implementing the method according to any one of claims 1-7, comprising: The data acquisition module is used to synchronously acquire wellhead online isotope data, gas composition data, operating parameters and geological prior parameters, and complete unified timestamp alignment and remote data transmission. The gas conditioning module is used to sequentially perform pressure and flow stabilization, gas-liquid separation, dew point control and automatic calibration on the sampled gas, and output a stable test gas. The online analysis module is used to continuously detect the isotope ratios and component contents of the gas to be tested, perform multi-source error correction, and generate a highly reliable continuous data stream with time synchronization. The model building module is used to build an isotope-occurrence morphology coupled inversion model that includes mixing conservation, adsorption fractionation, adsorption isotherm constraints and operating condition identification. The rolling inversion prediction module is used to solve the ratio of adsorbed gas to free gas in real time and perform short-term trend prediction by fitting a rolling window and updating parameters adaptively. The output linkage module is used to output proportional time-series results and classification criteria, and supports multi-source data verification and linkage with well site drainage systems.