An intelligent processing system for oil and gas field production data

By using multiphase fluid dynamics modeling and fracture propagation prediction modules in the oil and gas field production data intelligent processing system, the shortcomings of the traditional system in multiphase flow behavior and fracture propagation prediction are solved, and the efficiency and safety of oil and gas field production are improved. Costs and risks are reduced.

CN118095137BActive Publication Date: 2024-09-03SHENZHEN AOKUN OILFIELD SERVICES LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410409555.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-07
Publication Date
2024-09-03
Estimated Expiration
2044-04-07

Smart Images

  • Figure CN118095137B
    Figure CN118095137B
Patent Text Reader

Abstract

The present invention relates to the field of intelligent data processing technology, specifically to an intelligent processing system for oil and gas field production data, which includes a raw data acquisition module, a multiphase fluid dynamics modeling module, an energy conservation analysis module, a fluid interaction analysis module, a fracture expansion prediction module, a production change trend analysis module, and an optimization strategy generation module. In the present invention, by integrating modules such as multiphase fluid dynamics modeling, energy conservation analysis, fluid interaction analysis, fracture expansion prediction, production change trend analysis, and optimization strategy generation, the accuracy and application scope of oil and gas field production data processing are significantly optimized, especially in terms of carefully capturing the flow behavior of oil, water, and gas in oil and gas fields and the fracture expansion process, providing accurate analysis and prediction, realizing refined management of production activities, effectively improving oil and gas recovery rate and production process efficiency, and reducing operating costs and safety risks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent data processing, and in particular to an intelligent processing system for oil and gas field production data. Background Art

[0002] The field of intelligent data processing technology uses advanced data analysis and artificial intelligence technologies to parse, understand and optimize various data sets, and improve the quality, efficiency and automation of decision-making. By integrating machine learning, data mining, pattern recognition and optimization algorithms, it is possible to conduct in-depth analysis of data, thereby revealing the key influencing factors in the production process, optimizing production operations, improving resource utilization efficiency, and ultimately achieving the goal of reducing costs and increasing efficiency.

[0003] The intelligent processing system for oil and gas field production data refers to an intelligent system specially designed to process and analyze various types of data generated in oil and gas field production. Its main purpose is to achieve optimized management of oil and gas field production activities through in-depth analysis and processing of production data, including but not limited to improving oil and gas recovery rates, optimizing production processes, reducing operating costs and improving safety. It can more accurately predict the production performance of oil fields and make more well-founded decisions, thereby achieving the dual goals of improving production efficiency and economic benefits.

[0004] Traditional systems have deficiencies in in-depth analysis of multiphase flow behavior and accurate prediction of fracture expansion, which directly affects the scientificity and effectiveness of production optimization strategies. Insufficient complex data processing and real-time updates further limit the timeliness and accuracy of production process optimization, resulting in inefficient production operations, inadequate resource utilization, increased mining costs and potential safety risks. Summary of the invention

[0005] The purpose of the present invention is to solve the shortcomings of the prior art and to propose an intelligent processing system for oil and gas field production data.

[0006] In order to achieve the above-mentioned object, the present invention adopts the following technical scheme: an intelligent processing system for oil and gas field production data includes a raw data acquisition module, a multiphase fluid dynamics modeling module, an energy conservation analysis module, a fluid interaction analysis module, a fracture extension prediction module, a production change trend analysis module, and an optimization strategy generation module;

[0007] The raw data acquisition module collects production data, including temperature, pressure and flow, based on the sensor network and monitoring system at the oil and gas field site to generate a raw production data set;

[0008] The multiphase fluid dynamics modeling module constructs a multiphase fluid dynamics model based on the original production data set using the lattice Boltzmann method to simulate the flow behavior of oil, water and gas in the oil and gas reservoir to obtain multiphase flow simulation results;

[0009] The energy conservation analysis module analyzes the energy conversion and loss in the oil and gas field production process based on the multiphase flow simulation results to obtain energy analysis results;

[0010] The fluid interaction impact analysis module analyzes the impact of the interaction between different fluids on the production efficiency of the oil and gas field, including the oil-water ratio and the relative permeability of the fluid, based on the energy analysis results, and obtains the fluid interaction impact analysis results;

[0011] The fracture extension prediction module evaluates the development trend of fractures under different conditions based on the results of fluid interaction analysis, simulates the fracture generation and extension process using rock mechanics principles, adjusts simulation parameters to match actual observations, and generates fracture extension prediction results;

[0012] The production change trend analysis module analyzes the production change trend based on the fracture expansion prediction result and the actual production data of the oil and gas field, predicts the future oil and gas production, and obtains the production change trend record;

[0013] The optimization strategy generation module analyzes the reasons for production changes based on the production change trend records, adjusts the production pressure, optimizes the water injection plan, and obtains the production optimization strategy in combination with the actual production conditions of the oil and gas fields.

[0014] As a further solution of the present invention, the original production data set includes temperature values, pressure values, and flow values; the multiphase flow simulation results include distribution maps of all phases in the oil and gas field, flow velocity maps, and interaction strength data; the energy analysis results include stage energy consumption, energy conversion efficiency values, and key energy loss area identifiers; the fluid interaction impact analysis results include interfacial tension data between differential fluids, relative motion impact assessment, and fluid mixing efficiency evaluation; the fracture extension prediction results include predicted fracture development paths, fracture opening width estimates, and fracture extension end point positions; the production change trend records include short-term production change forecasts, long-term production change trends, and a list of key factors affecting production; the production optimization strategies include fracture control adjustment measures, water injection pressure optimization parameters, and mining strategy adjustment recommendations.

[0015] As a further solution of the present invention, the raw data acquisition module includes a temperature acquisition submodule, a pressure acquisition submodule, and a flow acquisition submodule;

[0016] The temperature acquisition submodule collects temperature data of the oil and gas field based on the sensor network and monitoring system at the oil and gas field site and generates a temperature data set;

[0017] The pressure acquisition submodule collects the pressure data of the oil and gas field based on the temperature data set, synchronizes the pressure data with the temperature data, and generates a temperature and pressure synchronization data set;

[0018] The flow acquisition submodule collects flow data of the oil and gas field based on the temperature and pressure synchronization data set, performs comprehensive data analysis, and obtains the original production data set.

[0019] As a further solution of the present invention, the multiphase fluid dynamics modeling module includes a fluid property definition submodule, a lattice Boltzmann simulation submodule, and a flow analysis integration submodule;

[0020] The fluid property definition submodule calibrates the physical properties of the three fluids, oil, water and gas, including density, viscosity and surface tension, based on the original production data set, and generates a fluid physical property table;

[0021] The lattice Boltzmann simulation submodule uses the lattice Boltzmann method to simulate multiphase flow based on the fluid physical property table, simulates the dynamic interaction and flow behavior of oil, water and gas in the oil and gas reservoir environment, and obtains preliminary flow simulation data;

[0022] The lattice Boltzmann method, according to the formula:

[0023] ,

[0024] Calculate the updated particle distribution function to obtain preliminary flow simulation data, where: is the updated particle distribution function, is the particle distribution function at the current time and position, is the discrete velocity in the ith direction, is the time step, is the dimensionless relaxation time, is a function of the relaxation time adjusted according to porosity, permeability, surfactant concentration and temperature gradient, is the equilibrium distribution function combining porosity, permeability, surfactant concentration and temperature gradient, is the porosity, is the permeability, is the surfactant concentration, is the temperature gradient;

[0025] The flow analysis integration submodule analyzes flow characteristics, including flow velocity distribution and pressure changes, based on preliminary flow simulation data, and compares them with actual production data to obtain multiphase flow simulation results.

[0026] As a further solution of the present invention, the energy conservation analysis module includes an energy input calculation submodule, an energy output evaluation submodule, and an energy loss analysis submodule;

[0027] The energy input calculation submodule measures the total amount of energy injected into the system during oil and gas production, including mechanical energy, chemical energy and other forms of energy, based on the multiphase flow simulation results, to obtain the energy input;

[0028] The energy output evaluation submodule evaluates the actual application output of energy in the oil and gas field production process based on the energy input, including kinetic energy conversion and thermal energy utilization, to obtain the energy output effect;

[0029] The energy loss analysis submodule identifies the loss points in the energy conversion process according to the energy output effect, analyzes the causes of energy loss, including heat loss and low mechanical efficiency, and obtains energy analysis results.

[0030] As a further solution of the present invention, the fluid interaction impact analysis module includes an oil-water ratio analysis submodule, a relative permeability calculation submodule, and an impact assessment integration submodule;

[0031] The oil-water ratio analysis submodule analyzes the oil-water ratio of the difference acquisition points based on the energy analysis results, evaluates the impact of the oil-water ratio on the production efficiency of the oil and gas field, and obtains the oil-water ratio analysis data;

[0032] The relative permeability calculation submodule uses experimental data and field data to calibrate the calculation model based on the oil-water ratio analysis data, calculates the relative permeability of the oil-water-gas three-phase flow in the oil and gas field, and obtains the relative permeability calculation result;

[0033] The impact assessment integration submodule compares and analyzes the relative permeability calculation results with the multiphase flow simulation results, evaluates the impact of the interaction between different fluids on the production efficiency, and obtains the fluid interaction impact analysis results.

[0034] As a further solution of the present invention, the fracture extension prediction module includes a fracture trend analysis submodule, a rock mechanics simulation submodule, and a parameter matching adjustment submodule;

[0035] The fracture trend analysis submodule evaluates the development potential of fractures under different geological conditions and fluid effects based on the results of fluid interaction analysis, and obtains fracture development trend evaluation results in combination with the geological structure characteristics of the oil and gas reservoir and the fluid dynamics.

[0036] The rock mechanics simulation submodule applies the principles of rock mechanics based on the fracture development trend assessment results to simulate the generation and expansion process of fractures in oil and gas reservoirs, analyzes the direction, length and width of fracture expansion, and obtains fracture morphology simulation data;

[0037] The rock mechanics principle, according to the formula:

[0038] ,

[0039] Calculate the stress intensity factor, simulate the generation and expansion process of cracks in oil and gas reservoirs, and obtain the fracture morphology simulation data, where: is the improved stress intensity factor, is the geometric correction factor, is the far-field stress, is the crack half length, is a composite function of the fracture surface roughness, confining pressure, rock elastic modulus, and water content inside the rock. is the crack surface roughness, For confining pressure, is the elastic modulus of rock, is the water content inside the rock;

[0040] The parameter matching and adjustment submodule adjusts the simulation parameters to match the actual observed crack morphology based on the crack morphology simulation data, ensures that the simulation results are consistent with the field data, and obtains the crack extension prediction results.

[0041] As a further solution of the present invention, the yield change trend analysis module includes an actual data comparison submodule, a trend modeling submodule, and a future yield prediction submodule;

[0042] The actual data comparison submodule collects actual production data of the oil and gas field in the corresponding time period based on the fracture extension prediction result, compares the difference between the simulation data and the actual production data, and obtains data comparison and analysis results;

[0043] The trend modeling submodule uses the data comparison and analysis results to analyze the trend of production changes over time, including the increase, decrease and fluctuation of oil and gas production, establishes a mathematical model of production changes, and obtains a production change trend model;

[0044] The future production prediction submodule predicts the production changes of oil and gas fields in the short and long term based on the production change trend model, and generates production change trend records in combination with current production conditions and potential change factors.

[0045] As a further solution of the present invention, the optimization strategy generation module includes a production change cause analysis submodule, a production pressure adjustment submodule, and a solution optimization submodule;

[0046] The production change reason analysis submodule analyzes the reasons for production changes in oil and gas field production data based on production change trend records, including geological factors, mining technology and external environmental changes, and obtains production change factor analysis results;

[0047] The production pressure adjustment submodule evaluates the impact of the current production pressure on the oil and gas field production according to the analysis results of the production change factors, formulates a pressure adjustment plan, balances the pressure distribution of the oil and gas reservoir, and obtains a production pressure adjustment plan;

[0048] The scheme optimization submodule utilizes the production pressure adjustment scheme, combines the geological and production conditions of the oil and gas fields, optimizes the water injection scheme to improve the oil and gas recovery rate, adjusts the water injection volume and the location of the water injection point, and generates a production optimization strategy.

[0049] Compared with the prior art, the advantages and positive effects of the present invention are:

[0050] In the present invention, by integrating modules such as multiphase fluid dynamics modeling, energy conservation analysis, fluid interaction analysis, fracture expansion prediction, production change trend analysis and optimization strategy generation, the accuracy and application scope of oil and gas field production data processing are significantly optimized, especially in the detailed capture of oil, water and gas flow behavior and fracture expansion process in oil and gas fields, providing accurate analysis and prediction, so that the mining strategy can be adjusted according to detailed data, making the production strategy more specific and scientific, realizing the refined management of production activities, effectively improving the oil and gas recovery rate and production process efficiency, while reducing operating costs and safety risks. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 is a system flow chart of the present invention;

[0052] Figure 2 It is a schematic diagram of the system framework of the present invention;

[0053] Figure 3 It is a flow chart of the raw data acquisition module of the present invention;

[0054] Figure 4 It is a flow chart of the multiphase fluid dynamics modeling module of the present invention;

[0055] Figure 5 It is a flow chart of the energy conservation analysis module of the present invention;

[0056] Figure 6 It is a flow chart of the fluid interaction analysis module of the present invention;

[0057] Figure 7 This is a flow chart of the crack extension prediction module of the present invention;

[0058] Figure 8 It is a flow chart of the output change trend analysis module of the present invention;

[0059] Fig. 9 A module flow chart is generated for the optimization strategy of the present invention. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0061] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined.

[0062] Embodiment 1

[0063] See also Figure 1 and Figure 2 , an intelligent processing system for oil and gas field production data includes a raw data acquisition module, a multiphase fluid dynamics modeling module, an energy conservation analysis module, a fluid interaction impact analysis module, a fracture extension prediction module, a production change trend analysis module, and an optimization strategy generation module;

[0064] The raw data acquisition module collects production data, including temperature, pressure and flow, based on the sensor network and monitoring system at the oil and gas field site to generate raw production data sets;

[0065] The multiphase fluid dynamics modeling module uses the lattice Boltzmann method to construct a multiphase fluid dynamics model based on the original production data set, simulates the flow behavior of oil, water and gas in the oil and gas reservoir, and obtains the multiphase flow simulation results;

[0066] The energy conservation analysis module analyzes the energy conversion and loss in the oil and gas field production process based on the multiphase flow simulation results and obtains the energy analysis results;

[0067] The fluid interaction analysis module analyzes the impact of the interaction between different fluids on the production efficiency of oil and gas fields, including the oil-water ratio and the relative permeability of the fluids, based on the energy analysis results, and obtains the fluid interaction analysis results;

[0068] The fracture extension prediction module evaluates the development trend of fractures under different conditions based on the results of fluid interaction analysis, simulates the fracture generation and extension process using the principles of rock mechanics, adjusts the simulation parameters to match the actual observations, and generates fracture extension prediction results;

[0069] The production change trend analysis module analyzes the production change trend based on the fracture expansion prediction results and the actual production data of the oil and gas field, predicts the future oil and gas production, and obtains the production change trend record;

[0070] The optimization strategy generation module analyzes the reasons for production changes based on the production change trend records, adjusts the production pressure, optimizes the water injection plan, and obtains the production optimization strategy based on the actual situation of oil and gas field exploitation.

[0071] The original production data set includes temperature values, pressure values, and flow values. The multiphase flow simulation results include the distribution map of all phases in the oil and gas field, flow velocity map, and interaction strength data. The energy analysis results include stage energy consumption, energy conversion efficiency value, and key energy loss area identification. The fluid interaction analysis results include interfacial tension data between different fluids, relative motion impact assessment, and fluid mixing efficiency evaluation. The fracture extension prediction results include predicted fracture development path, fracture opening width estimation, and fracture extension end point position. The production change trend record includes short-term production change prediction, long-term production change trend, and a list of key factors affecting production. The production optimization strategy includes fracture control adjustment measures, water injection pressure optimization parameters, and mining strategy adjustment suggestions.

[0072] In the raw data acquisition module, production data is collected through the sensor network and monitoring system deployed at the oil and gas field site. Specifically, it includes data reading of temperature sensors, pressure sensors and flow meters. These sensors record the operating status of the oil and gas field in real time, including temperature, pressure and flow information at each collection point. The collected data is preprocessed, including noise filtering, data normalization and time series synchronization, to generate a formatted raw production data set, which provides a basis for subsequent analysis, ensures the accuracy and real-time nature of the data, and supports the intelligent management of oil and gas field production.

[0073] In the multiphase fluid dynamics modeling module, the multiphase fluid dynamics model is constructed by the lattice Boltzmann method. The physical parameters in the original production data set, such as fluid density, viscosity and surface tension, are used to simulate the flow behavior of oil, water and gas in the oil and gas reservoir. Through meticulous grid division and iterative calculation, the interaction and flow characteristics between fluids are captured, and multiphase flow simulation results are generated to reveal the dynamic distribution and flow velocity of fluids in the oil and gas reservoir, providing a scientific basis for subsequent production optimization and fracture management.

[0074] In the energy conservation analysis module, the energy conversion and loss in the oil and gas field production process are analyzed based on the multiphase flow simulation results. By calculating the energy input-output ratio in the oil and gas field production system, the key links of energy loss are identified and the efficiency of energy conversion is evaluated. The generated energy analysis results point out the optimization points of energy utilization, such as improving the efficiency of mechanical equipment and reducing energy loss, which plays an important role in reducing production costs and improving energy utilization efficiency.

[0075] In the fluid interaction analysis module, the impact of the interaction between different fluids on the production efficiency of oil and gas fields is evaluated based on the energy analysis results. Focusing on the oil-water ratio and the relative permeability of the fluid, the fluid interaction analysis results are obtained by simulating the fluid dynamics behavior under different fluid combinations, helping to identify the key fluid parameters that affect production efficiency, providing a basis for adjusting production strategies, and optimizing the extraction efficiency of oil and gas fields.

[0076] In the fracture propagation prediction module, the rock mechanics principles and fluid interaction analysis results are used to evaluate and simulate the development trend of fractures under different conditions. By adjusting the simulation parameters to match the actual observed fracture propagation, the module not only predicts the fracture development path, opening width and extension end point, but also provides a precise scientific basis for fracture management and control, and optimizes the fracture management strategy.

[0077] In the production trend analysis module, the production trend is analyzed and future oil and gas production is predicted by combining the fracture expansion prediction results and the actual production data of the oil and gas field. This module analyzes historical data and simulation results, establishes a production trend model, generates production trend records, provides important information for production decisions, and helps managers make more informed predictions and decisions.

[0078] In the optimization strategy generation module, based on the production trend records, the reasons for production changes are analyzed, and combined with the actual situation of the oil and gas field, a production optimization strategy is formulated. By evaluating the impact of key factors such as production pressure and water injection scheme on production, adjusting and optimizing these factors, a specific production optimization strategy is generated, aiming to improve oil and gas recovery, reduce production costs, and achieve economic and safe oil and gas field exploitation.

[0079] See also Figure 2 and Figure 3 ,The raw data acquisition module includes a temperature acquisition submodule, a pressure acquisition submodule, and a flow acquisition submodule;

[0080] The temperature acquisition submodule collects temperature data of the oil and gas field based on the sensor network and monitoring system at the oil and gas field site and generates a temperature data set;

[0081] In the temperature acquisition submodule, based on the sensor network and monitoring system at the oil and gas field site, real-time data acquisition technology is adopted, and specific protocols (such as Modbus protocol, setting the transmission rate to 9600bps, the data bit to 8 bits, and the stop bit to 1 bit) are used to read the temperature sensor data. The data preprocessing algorithm (using a sliding average filter and setting the window size to 5 to smooth short-term fluctuations) is used to perform data normalization and generate a temperature data set.

[0082] The pressure acquisition submodule collects the pressure data of the oil and gas field based on the temperature data set, synchronizes the pressure data with the temperature data, and generates a temperature and pressure synchronization data set;

[0083] In the pressure acquisition submodule, based on the temperature data set, the same real-time data acquisition technology is used to read the data of the pressure sensor, and a time synchronization algorithm (using the network time protocol NTP and setting the synchronization period to 1 minute) is used to ensure the consistency of the time tags of the temperature and pressure data, perform data fusion, and generate a temperature and pressure synchronized data set.

[0084] The flow acquisition submodule collects the flow data of the oil and gas field based on the temperature and pressure synchronization data set, performs comprehensive data analysis, and obtains the original production data set;

[0085] In the flow acquisition submodule, based on the temperature and pressure synchronization data set, the flow meter data acquisition is adopted, and the flow data is read using the Modbus protocol. Combined with the aforementioned synchronized temperature and pressure data, a data comprehensive analysis algorithm is used (using the weighted average method, setting the temperature data weight to 0.3, the pressure data weight to 0.3, and the flow data weight to 0.4) to perform a comprehensive analysis and obtain the original production data set.

[0086] See also Figure 2 and Figure 4 ,The multiphase fluid dynamics modeling module includes the fluid property definition submodule, the ,lattice Boltzmann simulation submodule, and the flow analysis integration submodule;

[0087] The fluid property definition submodule calibrates the physical properties of the three fluids, oil, water, and gas, including density, viscosity, and surface tension, based on the original production data set, and generates a fluid physical property table;

[0088] In the fluid property definition submodule, the physical properties of oil, water and gas are calibrated based on the original production data set using data analysis methods. The density, viscosity and surface tension parameters of each fluid are accurately calculated using the NumPy library in Python for numerical analysis. The average density, viscosity and surface tension values ​​of each fluid are calculated by statistically analyzing the relevant physical quantities in the original data set. This ensures the accuracy and reliability of the basic data for the simulation, provides the necessary input parameters for the lattice Boltzmann simulation, and generates a fluid physical property table.

[0089] The lattice Boltzmann simulation submodule uses the lattice Boltzmann method to simulate multiphase flow based on the fluid physical property table, simulates the dynamic interaction and flow behavior of oil, water and gas in the oil and gas reservoir environment, and obtains preliminary flow simulation data;

[0090] Lattice Boltzmann method, according to the formula:

[0091] ,

[0092] Calculate the updated particle distribution function to obtain preliminary flow simulation data, where: is the updated particle distribution function, which represents the particle distribution state at the new position and time. is the particle distribution function at the current time and position, is the discrete velocity in the i-th direction, indicating the moving speed of the particle in that direction, is the time step, i.e. the time interval between each iteration in the simulation, is the dimensionless relaxation time, which is related to the viscosity of the fluid and affects the speed at which the particle distribution function approaches the equilibrium distribution function. A function that adjusts the relaxation time according to porosity, permeability, surfactant concentration, and temperature gradient to more accurately simulate fluid flow. is the equilibrium distribution function after considering porosity, permeability, surfactant concentration and temperature gradient, is the porosity, which reflects the flowable part of the space in the medium, is the permeability, which indicates the ability of the fluid to flow in the medium. is the surfactant concentration, which can change the surface tension between fluids and affect the multiphase flow behavior. It is a temperature gradient that affects the physical properties of the fluid, such as density and viscosity.

[0093] The execution process is as follows:

[0094] Parameter initialization, set the porosity before the simulation starts , Permeability , surfactant concentration , temperature gradient Other environmental parameters;

[0095] Relaxation time adjustment, according to the function Adjusting relaxation time , to reflect the influence of the above environmental parameters on the fluid flow characteristics;

[0096] Iterative update, at each time step , use the improved formula to calculate the particle distribution function at each grid point ;

[0097] Calculation of macroscopic physical quantities: Calculate the macroscopic physical quantities of the fluid (such as density and velocity) based on the updated particle distribution function as the basis for analyzing the fluid flow behavior;

[0098] Repeat steps 3 and 4 until the predetermined simulation time or steady state is reached.

[0099] By improving the formula, porosity is introduced , Permeability , surfactant concentration , temperature gradient The lattice Boltzmann simulation submodule can comprehensively consider the complexity of the oil and gas reservoir environment, simulate the dynamic interaction and flow behavior of oil, water and gas in porous media, and provide more accurate flow simulation data for oil and gas development.

[0100] The flow analysis integration submodule analyzes the flow characteristics, including velocity distribution and pressure changes, based on the preliminary flow simulation data, and compares them with the actual production data to obtain the multiphase flow simulation results;

[0101] In the flow analysis integration submodule, a comprehensive analysis of flow characteristics is performed based on preliminary flow simulation data. The simulated flow velocity and pressure distribution are interpreted in detail through flow field visualization technology and data analysis algorithms (for example, using the Matplotlib library to draw flow velocity distribution and pressure change diagrams). By comparing and analyzing with actual production data, model parameters such as fluid boundary conditions and flow initialization states are adjusted to better match actual observation results. This not only enhances the model's predictive ability, but also improves the application value of the simulation results, ultimately generating multiphase flow simulation results.

[0102] See also Figure 2 and Figure 5 ,The energy conservation analysis module includes an energy input calculation submodule, an energy output evaluation submodule, and an energy loss analysis submodule;

[0103] The energy input calculation submodule measures the total amount of energy injected into the system during oil and gas production, including mechanical energy, chemical energy and other forms of energy, based on the multiphase flow simulation results, and obtains the energy input;

[0104] In the energy input calculation submodule, based on the multiphase flow simulation results, the energy balance algorithm is adopted, and the Python programming language is used to perform numerical calculations through the NumPy library to calculate the total amount of energy injected into the system, including the calculation of mechanical energy using the numpy.multiply() function multiplied by the square of the velocity and the acceleration of gravity, the chemical energy using the numpy.sum() function to accumulate the energy contribution of each chemical substance, and other forms of energy using the numpy.add() function to add them up item by item. The parameter settings include mass, acceleration, temperature, and specific heat capacity of the substance. The fluid dynamics parameters and thermodynamic parameters are entered into the calculation formula to generate the energy input.

[0105] The energy output evaluation submodule evaluates the actual application output of energy in the oil and gas field production process based on the energy input, including kinetic energy conversion and thermal energy utilization, and obtains the energy output effect;

[0106] In the energy output evaluation submodule, based on the energy input, the first law of thermodynamics is used to analyze using MATLAB, and the actual application output of energy is calculated by writing scripts. The kinetic energy conversion uses K=0.5mv 2 The heat energy utilization is calculated using E=m×c×ΔT. The parameter settings include mass, speed, specific heat capacity, and temperature change. The detailed calculation of energy conversion and utilization in the oil and gas field production process generates energy output effects.

[0107] The energy loss analysis submodule identifies the loss points in the energy conversion process according to the energy output effect, analyzes the causes of energy loss, including heat loss and low mechanical efficiency, and obtains energy analysis results;

[0108] In the energy loss analysis submodule, based on the energy output effect, the loss analysis method is adopted, and data analysis is performed using Excel. The energy loss under specific conditions is summarized by constructing data tables and applying built-in functions such as SUMIF(). The heat loss analysis uses the AVERAGE() function to calculate the average loss rate. The mechanical inefficiency analysis uses 1-(actual output power / theoretical input power) to calculate the efficiency loss ratio. The parameter settings include the loss condition identification and power value, the identification and cause analysis of the loss points in the energy conversion process, and the generation of energy analysis results.

[0109] See also Figure 2 and Figure 6 ,The fluid interaction impact analysis module includes the oil-water ratio analysis submodule, the relative permeability calculation submodule, and the impact assessment integration submodule;

[0110] The oil-water ratio analysis submodule analyzes the oil-water ratio of different acquisition points based on the energy analysis results, evaluates the impact of the oil-water ratio on the production efficiency of the oil and gas field, and obtains the oil-water ratio analysis data;

[0111] In the oil-water ratio analysis submodule, based on the energy analysis results, the data regression analysis method is adopted, the Python programming language is used, the data is processed through the Pandas library, and the linregress function in the SciPy library is used for linear regression analysis. The oil-water ratio of the difference acquisition points is analyzed, and the impact of the oil-water ratio on the production efficiency of the oil and gas fields is evaluated. The parameter settings include acquisition point data, oil-water ratio data, and production efficiency indicators. The energy analysis result data is read, and the pandas.read_csv() function is used to load the data. The linear regression analysis of the oil-water ratio and production efficiency indicators is performed to generate the oil-water ratio analysis data.

[0112] The relative permeability calculation submodule uses experimental data and field data to calibrate the calculation model based on the oil-water ratio analysis data, calculates the relative permeability of the oil-water-gas three-phase flow in the oil and gas field, and obtains the relative permeability calculation results;

[0113] In the relative permeability calculation submodule, based on the oil-water ratio analysis data, the physical model correction method is adopted, and MATLAB is used for calculation. The calculation model is corrected by using experimental data and field data through script writing, and the relative permeability of oil-water-gas three-phase flow in oil and gas fields is calculated. The fmincon function is used for nonlinear optimization to solve the optimal value of relative permeability. The parameter settings include experimental data, field data, initial value estimation, definition of objective function, setting of nonlinear constraints, solving relative permeability through fmincon function, and generating relative permeability calculation results.

[0114] The impact assessment integration submodule compares and analyzes the relative permeability calculation results with the multiphase flow simulation results, evaluates the impact of the interaction between different fluids on production efficiency, and obtains the fluid interaction impact analysis results;

[0115] In the impact assessment integration submodule, the relative permeability calculation results are compared and analyzed with the multiphase flow simulation results. The difference analysis method is adopted and Excel is used for data analysis. The relative permeability calculation results are retrieved by constructing data tables and applying built-in functions such as VLOOKUP(). The IF() function is used for conditional comparison to evaluate the impact of the interaction between different fluids on production efficiency. The parameter settings include the relative permeability calculation results and the multiphase flow simulation results. The data differences between the relative permeability and multiphase flow simulation are compared and analyzed to generate the fluid interaction impact analysis results.

[0116] See also Figure 2 and Figure 7,The fracture extension prediction module includes the fracture trend analysis submodule, the rock mechanics simulation submodule, and the parameter matching and adjustment submodule;

[0117] The fracture trend analysis submodule evaluates the development potential of fractures under different geological conditions and fluid effects based on the results of fluid interaction analysis, and obtains fracture development trend evaluation results by combining the geological structure characteristics of oil and gas reservoirs and fluid dynamics.

[0118] In the fracture trend analysis submodule, based on the results of fluid interaction analysis, the geological statistical analysis method is adopted, Python programming language is used, and the statistical analysis of geological data is performed through the GeostatsPy library to evaluate the fracture development potential under different geological conditions and fluid effects. Combined with the geological structure characteristics and fluid dynamic effects of oil and gas reservoirs, the parameter settings include geological structure data, fluid dynamic data, and fracture development potential evaluation indicators. The fluid interaction analysis results are generated, the geostatspy.geostat.grid() function is used to grid the data, and the geostatspy.geostat.gamv() function is used to calculate the variation function. The statistical analysis of the geological data is performed to generate the fracture development trend evaluation results.

[0119] The rock mechanics simulation submodule applies the principles of rock mechanics based on the fracture development trend assessment results to simulate the generation and expansion process of fractures in oil and gas reservoirs, analyze the direction, length and width of fracture expansion, and obtain fracture morphology simulation data;

[0120] The principles of rock mechanics, according to the formula:

[0121] ,

[0122] Calculate the stress intensity factor, simulate the generation and expansion process of cracks in oil and gas reservoirs, and obtain the fracture morphology simulation data, where: is the improved stress intensity factor, which reflects the stress state at the crack tip after considering the additional parameters. is the geometric correction factor, which takes into account the influence of crack shape and loading mode on stress distribution. is the far-field stress, i.e. the stress level far away from the crack, is the crack half-length, representing the distance from the crack center to its tip, is a composite function of the fracture surface roughness, confining pressure, rock elastic modulus, and rock internal moisture content, which is used to adjust the basic stress intensity factor to reflect the combined influence of these factors. The roughness of the crack surface reflects the roughness of the crack surface and affects the resistance to crack expansion. is the confining pressure, i.e. the formation pressure at the depth of the fracture, which has a significant impact on the closure and expansion of the fracture. is the rock elastic modulus, which reflects the rigidity of the rock material and affects the expansion speed and shape of the cracks in the rock. It is the water content inside the rock. Water will affect the physical and mechanical properties of the rock, and then affect the expansion behavior of the cracks.

[0123] The execution process is as follows:

[0124] Parameter measurement and estimation, first measure or estimate the far-field stress , crack half length , crack surface roughness , confining pressure , rock elastic modulus The water content inside the rock ;

[0125] Calculate the geometry correction factor , determine the geometric correction factor based on the crack shape and loading conditions ;

[0126] Designing composite functions , adjust the stress intensity factor of the foundation to reflect the combined effects of the additional parameters;

[0127] Calculate improved stress intensity factors , all measured and estimated parameter values ​​are substituted into the improved stress intensity factor formula In the calculation, the stress intensity factor considering additional physical influencing factors is obtained.

[0128] By applying this improved formula, the rock mechanics simulation submodule can more accurately simulate the generation and expansion process of fractures in oil and gas reservoirs, analyze the direction, length and width of fracture expansion, and thus obtain more accurate fracture morphology simulation data. This not only improves the accuracy of the simulation, but also provides more reliable technical support for fracture management and oil and gas reservoir development.

[0129] The parameter matching and adjustment submodule adjusts the simulation parameters to match the actual observed crack morphology based on the crack morphology simulation data, ensuring that the simulation results are consistent with the field data and obtaining the crack extension prediction results;

[0130] In the parameter matching and adjustment submodule, based on the fracture morphology simulation data, the simulation parameters are adjusted to match the actually observed fracture morphology to ensure that the simulation results are consistent with the field data. The parameter optimization method is adopted, and the Python programming language is used to optimize the parameters through the optimize.minimize() function of the SciPy library. The simulation parameters including the material elastic modulus and Poisson's ratio are adjusted, and the loss function is defined to measure the difference between the simulation results and the field data. The gradient descent method is used to find the optimal parameter set to ensure that the simulation results are closest to the actual observations and generate crack extension prediction results.

[0131] See also Figure 2 and Figure 8 ,The yield change trend analysis module includes the actual data comparison submodule, the trend modeling submodule, and the future yield prediction submodule;

[0132] The actual data comparison submodule collects the actual production data of the oil and gas fields in the corresponding time period based on the fracture extension prediction results, compares the differences between the simulation data and the actual production data, and obtains the data comparison and analysis results;

[0133] In the actual data comparison submodule, based on the fracture extension prediction results, the actual production data of the oil and gas fields in the corresponding time period are collected. The data comparison and analysis method is adopted, the Python programming language is used, the data is processed through the Pandas library, and the pandas.DataFrame is used for data storage. The pandas.merge() function merges the simulation data with the actual production data, and the pandas.DataFrame.subtract() function calculates the difference between the simulation data and the actual data. The parameter settings include time period, fracture extension prediction data, and actual production data to generate data comparison and analysis results.

[0134] The trend modeling submodule uses data comparison and analysis results to analyze the trend of production changes over time, including the increase, decrease and fluctuation of oil and gas production, establishes a mathematical model of production changes, and obtains a production change trend model;

[0135] In the trend modeling submodule, the data comparison analysis results are used to analyze the trend of production changes over time. The time series analysis method is adopted, and the Python programming language is used to build the model through the Statsmodels library. The autoregressive integrated moving average model is established using statsmodels.tsa.arima_model.ARIMA. The parameter settings include the difference order, autoregressive term, and moving average term to generate a production change trend model.

[0136] The future production forecast submodule predicts the production changes of oil and gas fields in the short and long term based on the production change trend model, and generates production change trend records based on current mining conditions and potential change factors;

[0137] In the future production prediction submodule, based on the production change trend model, the production changes of oil and gas fields in the short and long term are predicted. The predictive analysis method is adopted, the Python programming language is used, the machine learning model is built through the Scikit-learn library, and the random forest regression model is built using sklearn.ensemble.RandomForestRegressor. The parameter settings include the number of trees, maximum depth, and random state. Combined with the current mining conditions and potential change factors, the production change trend record is generated.

[0138] See also Figure 2 and Fig. 9 ,The optimization strategy generation module includes the production change cause analysis submodule, the mining pressure adjustment submodule, and the scheme optimization submodule;

[0139] The production change reason analysis submodule analyzes the reasons for production changes in oil and gas field production data based on production change trend records, including geological factors, mining technology and external environmental changes, and obtains the analysis results of production change factors;

[0140] In the submodule for analyzing the causes of production changes, the causes of production changes in oil and gas field production data are analyzed based on the production change trend records. The multiple linear regression analysis method is adopted, and the Python programming language is used to implement it through the Statsmodels library. The statsmodels.api.OLS function is used to build a multiple linear regression model to quantitatively analyze the changes in geological factors, mining technology and external environment. The parameter settings include geological factor variables, mining technology variables, and external environmental variables. The dependent variable is defined as production changes, and the independent variables are geological factors, mining technology, and external environmental variables. Regression analysis is performed to generate the analysis results of production change factors.

[0141] The production pressure adjustment submodule evaluates the impact of current production pressure on oil and gas field production based on the analysis results of production change factors, formulates a pressure adjustment plan, balances the pressure distribution of oil and gas reservoirs, and obtains a production pressure adjustment plan;

[0142] In the production pressure adjustment submodule, the impact of the current production pressure on the oil and gas field production is evaluated based on the analysis results of the production change factors. The numerical simulation method is used to simulate the production pressure field using Eclipse software, and a pressure adjustment plan is formulated. The oil and gas field geological model, current production pressure data, and production change factor analysis results are input. The pressure simulation function in Eclipse is used to adjust the production pressure parameters, simulate the production response after pressure adjustment, balance the pressure distribution of the oil and gas reservoir, and obtain the production pressure adjustment plan.

[0143] The scheme optimization submodule uses the production pressure adjustment scheme, combined with the geological and production conditions of the oil and gas fields, to optimize the water injection scheme to improve the oil and gas recovery rate, adjust the water injection volume and injection point location, and generate a production optimization strategy;

[0144] In the scheme optimization submodule, the production pressure adjustment scheme is used, combined with the geological and production conditions of the oil and gas fields, and the optimization algorithm is adopted. The Python programming language is used to optimize the water injection scheme through the Pyomo library. The pyomo.environ is used to build an optimization model, adjust the water injection volume and injection point location, and define the optimization goal as maximizing the oil and gas recovery rate. The constraints include geological conditions, technical limitations on water injection volume and injection point location. Linear programming or nonlinear programming algorithms are used to seek the optimal water injection volume and injection point location to generate a production optimization strategy.

[0145] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.

Claims

1. An intelligent processing system for oil and gas field production data, characterized in that: The oil and gas field production data intelligent processing system includes a raw data acquisition module, a multiphase fluid dynamics modeling module, an energy conservation analysis module, a fluid interaction analysis module, a fracture extension prediction module, a production change trend analysis module, and an optimization strategy generation module; The raw data acquisition module collects production data, including temperature, pressure and flow, based on the sensor network and monitoring system at the oil and gas field site to generate a raw production data set; The multiphase fluid dynamics modeling module constructs a multiphase fluid dynamics model based on the original production data set using the lattice Boltzmann method to simulate the flow behavior of oil, water and gas in the oil and gas reservoir to obtain multiphase flow simulation results; The energy conservation analysis module analyzes the energy conversion and loss in the oil and gas field production process based on the multiphase flow simulation results to obtain energy analysis results; The fluid interaction impact analysis module analyzes the impact of the interaction between different fluids on the production efficiency of the oil and gas field, including the oil-water ratio and the relative permeability of the fluid, based on the energy analysis results, and obtains the fluid interaction impact analysis results; The fracture extension prediction module evaluates the development trend of fractures under different conditions based on the results of fluid interaction analysis, simulates the fracture generation and extension process using rock mechanics principles, adjusts simulation parameters to match actual observations, and generates fracture extension prediction results; The production change trend analysis module analyzes the production change trend based on the fracture expansion prediction result and the actual production data of the oil and gas field, predicts the future oil and gas production, and obtains the production change trend record; The optimization strategy generation module analyzes the reasons for production changes based on the production change trend records, adjusts the production pressure, optimizes the water injection plan, and obtains the production optimization strategy in combination with the actual production conditions of the oil and gas field; The multiphase fluid dynamics modeling module includes a fluid property definition submodule, a lattice Boltzmann simulation submodule, and a flow analysis integration submodule; The fluid property definition submodule calibrates the physical properties of the three fluids, oil, water and gas, including density, viscosity and surface tension, based on the original production data set, and generates a fluid physical property table; The lattice Boltzmann simulation submodule uses the lattice Boltzmann method to simulate multiphase flow based on the fluid physical property table, simulates the dynamic interaction and flow behavior of oil, water and gas in the oil and gas reservoir environment, and obtains preliminary flow simulation data; The lattice Boltzmann method, according to the formula: , Calculate the updated particle distribution function to obtain preliminary flow simulation data, where: is the updated particle distribution function, is the particle distribution function at the current time and position, is the discrete velocity in the ith direction, is the time step, is the dimensionless relaxation time, According to the hole is the equilibrium distribution function combining porosity, permeability, surfactant concentration and temperature gradient, is the porosity, is the permeability, is the surfactant concentration, is the temperature gradient; The flow analysis integration submodule analyzes the flow characteristics, including velocity distribution and pressure changes, based on the preliminary flow simulation data, and compares them with the actual production data to obtain multiphase flow simulation results; The crack extension prediction module includes a crack trend analysis submodule, a rock mechanics simulation submodule, and a parameter matching and adjustment submodule; The fracture trend analysis submodule evaluates the development potential of fractures under different geological conditions and fluid effects based on the fluid interaction analysis results, and obtains fracture development trend evaluation results in combination with the geological structure characteristics of the oil and gas reservoir and the fluid dynamics. The rock mechanics simulation submodule applies the principles of rock mechanics based on the fracture development trend assessment results to simulate the generation and expansion process of fractures in oil and gas reservoirs, analyzes the direction, length and width of fracture expansion, and obtains fracture morphology simulation data; The rock mechanics principle, according to the formula: , Calculate the stress intensity factor, simulate the generation and expansion process of cracks in oil and gas reservoirs, and obtain the fracture morphology simulation data, where: is the improved stress intensity factor, is the geometric correction factor, is the far-field stress, is the crack half length, is a composite function of the fracture surface roughness, confining pressure, rock elastic modulus, and water content inside the rock. is the crack surface roughness, For confining pressure, Rock elastic modulus, is the water content inside the rock; The parameter matching and adjustment submodule adjusts the simulation parameters to match the actual observed crack morphology based on the crack morphology simulation data, ensures that the simulation results are consistent with the field data, and obtains the crack extension prediction results.

2. The intelligent processing system for oil and gas field production data according to claim 1 is characterized in that: The original production data set includes temperature values, pressure values, and flow values. The multiphase flow simulation results include distribution maps of all phases in the oil and gas field, flow velocity maps, and interaction strength data. The energy analysis results include stage energy consumption, energy conversion efficiency values, and key energy loss area identifiers. The fluid interaction impact analysis results include interfacial tension data between differential fluids, relative motion impact assessment, and fluid mixing efficiency evaluation. The fracture extension prediction results include predicted fracture development paths, fracture opening width estimates, and fracture extension end point locations. The production change trend records include short-term production change forecasts, long-term production change trends, and a list of key factors affecting production. The production optimization strategies include fracture control adjustment measures, water injection pressure optimization parameters, and mining strategy adjustment recommendations.

3. The intelligent processing system for oil and gas field production data according to claim 1 is characterized in that: The raw data acquisition module includes a temperature acquisition submodule, a pressure acquisition submodule, and a flow acquisition submodule; The temperature acquisition submodule collects temperature data of the oil and gas field based on the sensor network and monitoring system at the oil and gas field site and generates a temperature data set; The pressure acquisition submodule collects the pressure data of the oil and gas field based on the temperature data set, synchronizes the pressure data with the temperature data, and generates a temperature and pressure synchronization data set; The flow acquisition submodule collects flow data of the oil and gas field based on the temperature and pressure synchronization data set, performs comprehensive data analysis, and obtains the original production data set.

4. The intelligent processing system for oil and gas field production data according to claim 1 is characterized in that: The energy conservation analysis module includes an energy input calculation submodule, an energy output evaluation submodule, and an energy loss analysis submodule; The energy input calculation submodule measures the total amount of energy injected into the system during oil and gas production, including mechanical energy, chemical energy and other forms of energy, based on the multiphase flow simulation results, to obtain the energy input; The energy output evaluation submodule evaluates the actual application output of energy in the oil and gas field production process based on the energy input, including kinetic energy conversion and thermal energy utilization, to obtain the energy output effect; The energy loss analysis submodule identifies the loss points in the energy conversion process according to the energy output effect, analyzes the causes of energy loss, including heat loss and low mechanical efficiency, and obtains energy analysis results.

5. The intelligent processing system for oil and gas field production data according to claim 1 is characterized in that: The fluid interaction impact analysis module includes an oil-water ratio analysis submodule, a relative permeability calculation submodule, and an impact assessment integration submodule; The oil-water ratio analysis submodule analyzes the oil-water ratio of the difference acquisition points based on the energy analysis results, evaluates the impact of the oil-water ratio on the production efficiency of the oil and gas field, and obtains the oil-water ratio analysis data; The relative permeability calculation submodule uses experimental data and field data to calibrate the calculation model based on the oil-water ratio analysis data, calculates the relative permeability of the oil-water-gas three-phase flow in the oil and gas field, and obtains the relative permeability calculation result; The impact assessment integration submodule compares and analyzes the relative permeability calculation results with the multiphase flow simulation results, evaluates the impact of the interaction between different fluids on the production efficiency, and obtains the fluid interaction impact analysis results.

6. The intelligent processing system for oil and gas field production data according to claim 1 is characterized in that: The production change trend analysis module includes an actual data comparison submodule, a trend modeling submodule, and a future production prediction submodule; The actual data comparison submodule collects actual production data of the oil and gas field in the corresponding time period based on the fracture extension prediction result, compares the difference between the simulation data and the actual production data, and obtains data comparison and analysis results; The trend modeling submodule uses the data comparison and analysis results to analyze the trend of production changes over time, including the increase, decrease and fluctuation of oil and gas production, establishes a mathematical model of production changes, and obtains a production change trend model; The future production prediction submodule predicts the production changes of oil and gas fields in the short and long term based on the production change trend model, and generates production change trend records in combination with current production conditions and potential change factors.

7. The intelligent processing system for oil and gas field production data according to claim 1 is characterized in that: The optimization strategy generation module includes a production change cause analysis submodule, a production pressure adjustment submodule, and a solution optimization submodule; The production change reason analysis submodule analyzes the reasons for production changes in oil and gas field production data based on production change trend records, including geological factors, mining technology and external environmental changes, and obtains production change factor analysis results; The production pressure adjustment submodule evaluates the impact of the current production pressure on the oil and gas field production according to the analysis results of the production change factors, formulates a pressure adjustment plan, balances the pressure distribution of the oil and gas reservoir, and obtains a production pressure adjustment plan; The scheme optimization submodule utilizes the production pressure adjustment scheme, combines the geological and production conditions of the oil and gas fields, optimizes the water injection scheme to improve the oil and gas recovery rate, adjusts the water injection volume and the location of the water injection point, and generates a production optimization strategy.