CO2 geological sequestration multi-reservoir cap heterogeneous model generation method, system and medium
Patent Information
- Application Number
- CN202410936923.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-11-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
[0003]针对现有技术的以上缺陷或改进需求,本发明提出了一种CO2地质封存多储盖层非均质模型生成方法、系统及介质,以解决现有数值模拟非均质模型创建时的困难,同时提高模型创建效率,便于开展CO2封存研究
[0032] Taking the ABAQUS software as an example, the present invention provides a method that can batch generate heterogeneous site-scale CO for multiple reservoirs and caprocks in view of the process of reading INP files by ABAQUS. 2 By storing the numerical model, the resulting INP file can be directly read and calculated. It does not require the user to open the ABAQUS CAE visualization window for batch calculations, which significantly improves the solution efficiency and provides a solution for heterogeneous site-scale CO. 2 Provide technical support for simulation research.
Smart Images

Figure CN118917061A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of CO2 geological storage, and more specifically, relates to a method, system and medium for generating a CO2 geological storage multi-reservoir cap layer heterogeneous model. Background Art
[0002] Carbon capture and storage (CCS) is considered an important part of the strategy to reduce atmospheric CO2 emissions and a necessary means to achieve a carbon neutrality strategy. It plays a key role in coping with the severe situation of global warming. At present, countries around the world have successively carried out large-scale storage projects and achieved remarkable results. The principle is to collect CO2 originally emitted into the atmosphere, convert it into a supercritical state and inject it into a suitable storage site in order to isolate CO2 for a long time. In order to ensure the safety of storage, it is necessary to estimate the maximum storage capacity of CO2 and the safe injection rate of the storage site. Due to the limitations of the indoor test scale, the numerical simulation of CO2 storage at the site scale is the best choice for assessing the safety of the site. The numerical simulation of CO2 storage at the site scale is often simplified by homogenizing a single rock layer. However, under the action of geological sedimentation, the reservoir rock layer often presents complex heterogeneity. The stratigraphic heterogeneity of a site will greatly affect the CO2 storage potential of the area. Therefore, it is more in line with practical needs to establish a heterogeneous model based on field data to predict the CO2 site storage potential. Random fields based on geostatistics are a common method for establishing heterogeneous numerical models. First, the model is established and the grid is divided. Then the grid is assigned the random field parameters obtained by the random process, and finally the calculation is performed. However, the existing numerical simulation software lacks the function of generating random field parameters. Users are required to generate random parameters and assign them to the grid. This method is inefficient. At the same time, heterogeneous field simulation requires Monte Carlo calculations to reduce uncertainty, which requires a large number of models to participate in the calculation. The modeling process must be repeated many times, which greatly increases the time cost of the simulation. Summary of the invention
[0003] In view of the above defects or improvement needs of the prior art, the present invention proposes a method, system and medium for generating a heterogeneous model of multiple reservoirs and cap layers for CO2 geological storage, so as to solve the difficulties in creating the existing numerical simulation heterogeneous model, and at the same time improve the efficiency of model creation to facilitate CO2 storage research.
[0004] To achieve the above object, according to one aspect of the present invention, a method for generating a heterogeneous model of multiple reservoirs and cap layers for CO2 geological storage is provided, comprising:
[0005] The numerical model dimension information, rock mechanical parameters and rock permeability parameters are obtained based on the field data;
[0006] Based on the model size information, INP files are written in Python to generate numerical models of multiple reservoirs and cap layers and divide the grids. At the same time, rock mechanics and permeability parameter distributions are generated in Python, and a mechanical parameter and permeability parameter are assigned to each model grid.
[0007] Set the displacement boundary conditions, seepage boundary conditions, overburden load and pore pressure of the model;
[0008] Setting CO2 injection conditions, including: selecting CO2 injection type, setting injection rate and injection coordinates, and writing CO2 injection conditions into the INP file;
[0009] Set the injection duration for each stage, write the numerical calculation analysis steps into the INP file, repeat the above steps until the required number of INP files is generated, and run Python to batch calculate the INP files.
[0010] In some optional embodiments, the model size information includes the number of reservoirs in the rock formation, the number of caprocks, the thickness of each rock formation, the total length of the model, and the thickness of the model; rock mechanics parameters include rock elastic modulus, Poisson's ratio, internal friction angle, and cohesion; and rock permeability parameters include permeability and porosity.
[0011] In some optional implementation schemes, python is used to write a code to generate the log-normal distribution of rock mechanics and permeability parameters.
[0012] In some optional implementation schemes, based on the model size information, the INP file is written in Python to generate a numerical model of multiple reservoirs and cap layers and divide the grids, and at the same time, the rock mechanics and permeability parameter distribution is generated in Python, and a mechanical parameter and a permeability parameter are assigned to each model grid, including:
[0013] Use Python to write the reservoir thickness and length information, caprock thickness and length information into the INP file, select the grid size according to the model size, number the corner points of each grid, merge the grids of the same rock formation into the same partition, and divide the reservoir and caprock;
[0014] Use Python to write the code for the log-normal distribution heterogeneous parameter field, and generate the corresponding heterogeneous parameter field based on the mean and variance information of the elastic modulus, Poisson's ratio, permeability and porosity of each rock layer;
[0015] The heterogeneous parameters of each rock layer are written into the INP file and assigned to each corresponding grid.
[0016] In some optional implementation schemes, when the parameter variance is less than a preset value, a certain parameter is set to a fixed value.
[0017] In some optional embodiments, the setting of displacement boundary conditions, seepage boundary conditions, overburden load and pore pressure of the model includes:
[0018] Model displacement boundary condition setting: fix the boundary displacement of the model in the left and right X directions and the bottom Y direction, and write the command into the INP file for setting;
[0019] Setting of model seepage boundary conditions: Setting seepage boundaries at the top and outlet of the model, and writing into the INP file after specifying the values;
[0020] Overburden load and pore pressure settings: Calculate the overburden load pressure and pore pressure of the model according to the burial depth of the top of the model, and write the calculated overburden load pressure and pore pressure into the INP file.
[0021] In some optional embodiments, P r =Hρ r g to obtain the overburden load pressure P r , by P p =Hρ p g to obtain the pore pressure P p , where ρ r is the density of the overlying rock, H is the depth of the top of the model, ρ p is the density of the aquifer liquid and g is the acceleration due to gravity.
[0022] In some optional embodiments, the CO2 injection type includes point injection or line injection.
[0023] According to another aspect of the present invention, a system for generating a heterogeneous model of multiple reservoirs and cap layers for CO2 geological storage is provided, comprising:
[0024] A data acquisition module, used to obtain numerical model size information, rock mechanics parameters and rock permeability parameters according to field data;
[0025] The model generation module is used to write INP files in Python based on the model size information, generate numerical models of multiple reservoirs and cap layers, and divide the grids. At the same time, it generates rock mechanics and permeability parameter distributions in Python, and assigns a mechanical parameter and permeability parameter to each model grid;
[0026] Boundary setting module, used to set the displacement boundary conditions, seepage boundary conditions, overburden load and pore pressure of the model;
[0027] The injection condition setting module is used to set the CO2 injection conditions, including: selecting the CO2 injection type, setting the injection rate and injection coordinates, and writing the CO2 injection conditions into the INP file;
[0028] The injection duration setting module is used to set the injection duration of each stage, write the numerical calculation analysis steps into the INP file, and repeat the operations of each module until the required number of INP files is generated;
[0029] Run module, used to run Python batch calculation INP files.
[0030] According to another aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the above methods are implemented.
[0031] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects compared with the prior art:
[0032] Taking ABAQUS software as an example, the present invention provides a method for batch generating multi-reservoir-caprock heterogeneous site-scale CO2 storage numerical models for the process of ABAQUS reading INP files. The obtained INP files can be directly read and calculated without the user having to open the ABAQUS CAE visualization window for batch calculation, which significantly improves the solution efficiency and provides technical support for the research on heterogeneous site-scale CO2 simulation. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to make the implementation purpose, technical scheme and advantages of the present invention clearer, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Generally, the components of the embodiment of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0034] In the attached picture:
[0035] Figure 1 is a flow chart of a modeling method provided by an embodiment of the present invention;
[0036] Figure 2 It is a numerical model diagram of reservoir-cap interlayer provided by an embodiment of the present invention;
[0037] Figure 3 is a non-homogeneous parameter field diagram provided by an embodiment of the present invention;
[0038] Figure 4 It is a calculated pore pressure cloud map provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solutions 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. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0040] A method for generating a heterogeneous model of multiple reservoirs and cap layers for CO2 geological storage provided by the present invention comprises the following steps:
[0041] Step 1: Obtain numerical model size information, rock mechanics parameters, and rock permeability parameters based on field data;
[0042] Step 2: Based on the model size information, use Python to write INP files, generate numerical models of multiple reservoirs and cap layers, and divide the grids. At the same time, generate rock mechanics and permeability parameter distributions based on log-normal distribution in Python, and assign a mechanical parameter and permeability parameter to each model grid;
[0043] Step 3: Set the model displacement boundary conditions, seepage boundary conditions, overburden load and pore pressure;
[0044] Step 4. Set CO2 injection conditions: select the CO2 injection type (point injection, line injection), set the injection rate and injection coordinates, and write the CO2 injection conditions into the INP file;
[0045] Step 5: Set the injection duration for each stage and write the numerical calculation analysis steps into the INP file;
[0046] Step 6. Repeat steps 2 to 5 to generate the required number of INP files.
[0047] Step 7. Run Python to batch calculate INP files.
[0048] Furthermore, in step 1, the model size information includes the number of reservoirs, the number of caprocks, the thickness of each rock layer, the total length of the model, and the thickness of the model; the rock mechanics parameters include rock elastic modulus, Poisson's ratio, internal friction angle, and cohesion; and the rock permeability parameters include permeability and porosity.
[0049] Furthermore, in step 2, the code for generating log-normal distribution of rock mechanics and permeability parameters is written using python.
[0050] Furthermore, step 2 can be implemented in the following way:
[0051] Step 2.1, use Python to write the reservoir thickness and length information, caprock thickness and length information into the INP file;
[0052] Step 2.2, select a suitable grid size according to the model size, number the corner points of each grid, merge the grids of the same rock formation into the same partition, and divide the reservoir and cap rock;
[0053] Step 2.3, use Python to write the code for the lognormal distribution inhomogeneous parameter field;
[0054] Step 2.4, generating a corresponding heterogeneous parameter field based on the information of elastic modulus, Poisson's ratio, permeability, porosity, mean, variance, etc. of each rock layer;
[0055] When the parameter variance is less than the preset value, a certain parameter is set to a fixed value. That is, when the parameter variance is very small, a certain parameter can also be set to a fixed value.
[0056] Step 2.5, write the heterogeneous parameters of each rock layer into the INP file and assign them to each corresponding grid.
[0057] Furthermore, in step 3, the model boundary conditions are set, including:
[0058] Model displacement boundary condition setting: fix the boundary displacement of the model in the left and right X directions and the bottom Y direction, and write the command into the INP file for setting;
[0059] Model seepage boundary condition setting: set the seepage boundary at the top of the model and the outlet of the model (right side by default), and write the value into the INP file after specifying it;
[0060] Overburden load and pore pressure settings: Calculate the overburden load pressure and pore pressure of the model according to the burial depth of the top of the model. The calculation formula is:
[0061] P r =Hρ r g (1)
[0062] P p =Hρ p g (2)
[0063] In the formula, ρ r is the density of the overlying rock, P r is the overburden pressure, H is the top depth of the model, ρ p is the density of the aquifer liquid, and g is the acceleration due to gravity. r is the overburden pressure, P p is the pore pressure.
[0064] If no value is specified, the default value is ρ r The value is 2.26g / cm 3 (average overburden density is generally taken as the value), the default value is ρp Value 1.00g / cm 3 The default g value is 9.80m / s 2 . Write the calculated overburden pressure and pore pressure into the INP file.
[0065] Furthermore, in step 4, CO2 injection conditions are set: select the CO2 injection type (point injection, line injection), set the injection rate, injection coordinates, and write the CO2 injection conditions into the INP file.
[0066] Furthermore, in step 5, the injection duration of each stage is set, and the numerical calculation analysis steps are written into the INP file.
[0067] Further, in step 6, steps 1 to 5 are repeated to generate INP files that meet the required quantity.
[0068] Furthermore, in step 7, python is run to batch calculate the INP files.
[0069] This example takes a certain actual storage site as the research object. The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings.
[0070] like Figure 1 As shown in the flowchart, the rapid batch generation of multi-reservoir and caprock heterogeneous models includes the following steps:
[0071] S1, determine the thickness and number of reservoir and cap layers in the site based on the field data. Here, the number of cap layers and reservoir layers is 5, with a total of 10 layers, which is a cap layer and reservoir interlayer model with a total thickness of 859.5m. Figure 2 As shown in the figure, the field parameters show that the reservoir elastic modulus is 31MPa-38MPa, Poisson's ratio is 0.2-0.24, permeability is 100mD-800mD, and porosity is 0.18-0.26. The caprock elastic modulus is 14MPa-17MPa, Poisson's ratio is 0.25-0.31, permeability is 0.01mD-1mD, and porosity is 0.05-0.26.
[0072] S2, based on the model size information obtained in step S1, use python to write INP files, generate numerical models of multiple reservoirs and cap layers, and divide the grids. Use python to write log-normal distribution codes for generating rock mechanics and permeability parameters, and assign a mechanics and permeability parameter to each model grid, such as Figure 3 shown.
[0073] S3, set the model boundary conditions, fix the X-direction displacement on both sides of the model and the Y-direction displacement at the bottom, set the seepage boundary at the bottom and right, set the overburden load and pore pressure, and write the boundary conditions into the INP file using Python, such as Figure 4shown.
[0074] S4, set the CO2 injection rate of the model, set the injection point in the middle of each reservoir, the injection rate is 0.00002m / s, and the annual injection volume is about 200,000 tons. Write the injection conditions into the INP file using Python.
[0075] S5, set the injection duration for each stage and write the analysis step into the INP file. It should be noted that the INP file should set the initial step size, step size increment and total time step for each analysis step.
[0076] S6, repeat steps S2 to S5, use Python to generate 50 sets of log-normal distributions of rock mechanics and permeability parameters, assign each set of parameters to a model, and generate 50 INP files.
[0077] S7, write Python to batch calculate 50 INP files. There is no need to open the ABABQUS CAE interface here, just calculate directly.
[0078] The present application also provides a CO2 geological storage multi-reservoir cap layer heterogeneous model generation system, including:
[0079] A data acquisition module, used to obtain numerical model size information, rock mechanics parameters and rock permeability parameters according to field data;
[0080] The model generation module is used to write INP files in Python based on the model size information, generate numerical models of multiple reservoirs and cap layers, and divide the grids. At the same time, it generates rock mechanics and permeability parameter distributions in Python, and assigns a mechanical parameter and permeability parameter to each model grid;
[0081] Boundary setting module, used to set the displacement boundary conditions, seepage boundary conditions, overburden load and pore pressure of the model;
[0082] The injection condition setting module is used to set the CO2 injection conditions, including: selecting the CO2 injection type, setting the injection rate and injection coordinates, and writing the CO2 injection conditions into the INP file;
[0083] The injection duration setting module is used to set the injection duration of each stage, write the numerical calculation analysis steps into the INP file, and repeat the operations of each module until the required number of INP files is generated;
[0084] Run module, used to run Python batch calculation INP files.
[0085] The specific implementation of each module can refer to the description of the above method embodiment, and will not be repeated in this embodiment.
[0086] The present application also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored. When the program is executed by a processor, the method for generating a multi-reservoir and cap layer heterogeneous model for CO2 geological storage in the method embodiment is implemented.
[0087] It should be pointed out that, according to the needs of implementation, the various steps / components described in this application can be split into more steps / components, and two or more steps / components or partial operations of steps / components can be combined into new steps / components to achieve the purpose of the present invention.
[0088] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for generating a heterogeneous model of multiple reservoirs and caprocks for CO2 geological storage, characterized in that: include: The numerical model dimension information, rock mechanical parameters and rock permeability parameters are obtained based on the field data; Based on the model size information, INP files are written in Python to generate numerical models of multiple reservoirs and cap layers and divide the grids. At the same time, rock mechanics and permeability parameter distributions are generated in Python, and a mechanical parameter and permeability parameter are assigned to each model grid. Set the displacement boundary conditions, seepage boundary conditions, overburden load and pore pressure of the model; Setting CO2 injection conditions, including: selecting CO2 injection type, setting injection rate and injection coordinates, and writing CO2 injection conditions into the INP file; Set the injection duration for each stage, write the numerical calculation analysis steps into the INP file, repeat the above steps until the required number of INP files is generated, and run Python to batch calculate the INP files.
2. The method according to claim 1, characterized in that The model size information includes the number of reservoirs, the number of caprocks, the thickness of each rock layer, the total length of the model, and the thickness of the model; the rock mechanics parameters include rock elastic modulus, Poisson's ratio, internal friction angle, and cohesion; and the rock permeability parameters include permeability and porosity.
3. The method according to claim 1 or 2, characterized in that: Use Python to write code to generate log-normal distribution of rock mechanics and permeability parameters.
4. The method according to claim 3, characterized in that Based on the model size information, the INP file is written in Python to generate the numerical model of multiple reservoirs and cap layers and divide the grids. At the same time, the rock mechanics and permeability parameter distribution is generated in Python, and a mechanical parameter and a permeability parameter are assigned to each model grid, including: Use Python to write the reservoir thickness and length information, caprock thickness and length information into the INP file, select the grid size according to the model size, number the corner points of each grid, merge the grids of the same rock formation into the same partition, and divide the reservoir and caprock; Use Python to write the code for the log-normal distribution heterogeneous parameter field, and generate the corresponding heterogeneous parameter field based on the mean and variance information of the elastic modulus, Poisson's ratio, permeability and porosity of each rock layer; The heterogeneous parameters of each rock layer are written into the INP file and assigned to each corresponding grid.
5. The method according to claim 4, characterized in that When the parameter variance is less than the preset value, a certain parameter is set to a fixed value.
6. The method according to claim 3, characterized in that The setting of the displacement boundary conditions, seepage boundary conditions, overburden load and pore pressure of the model includes: Model displacement boundary condition setting: fix the boundary displacement of the model in the left and right X directions and the bottom Y direction, and write the command into the INP file for setting; Setting of model seepage boundary conditions: Setting seepage boundaries at the top and outlet of the model, and writing into the INP file after specifying the values; Overburden load and pore pressure settings: Calculate the overburden load pressure and pore pressure of the model according to the burial depth of the top of the model, and write the calculated overburden load pressure and pore pressure into the INP file.
7. The method according to claim 6, characterized in that By P r =Hρ r g to obtain the overburden load pressure P r , by P p =Hρ p g to obtain the pore pressure P p , where ρ r is the density of the overlying rock, H is the depth of the top of the model, ρ p is the density of the aquifer liquid and g is the acceleration due to gravity.
8. The method according to claim 1, characterized in that CO2 injection types include point injection or line injection.
9. A system for generating heterogeneous models of multiple reservoirs and caprocks for CO2 geological storage, characterized in that: include: A data acquisition module, used to obtain numerical model size information, rock mechanics parameters and rock permeability parameters according to field data; The model generation module is used to write INP files in Python based on the model size information, generate numerical models of multiple reservoirs and cap layers, and divide the grids. At the same time, it generates rock mechanics and permeability parameter distributions in Python, and assigns a mechanical parameter and permeability parameter to each model grid; Boundary setting module, used to set the displacement boundary conditions, seepage boundary conditions, overburden load and pore pressure of the model; The injection condition setting module is used to set the CO2 injection conditions, including: selecting the CO2 injection type, setting the injection rate and injection coordinates, and writing the CO2 injection conditions into the INP file; The injection duration setting module is used to set the injection duration of each stage, write the numerical calculation analysis steps into the INP file, and repeat the operations of each module until the required number of INP files is generated; Run module, used to run Python batch calculation INP files.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Deep saline water layer carbon sequestration reserve assessment method based on three-dimensional geologic model
CN116664787A
Method for evaluating leakproofness of geological carbon dioxide sequestration cover layer
CN116911209A
Permeability coefficient random field generation method, system, equipment and medium
CN117421956A
Method for realizing random heterogeneity of material attributes in Abaqus
CN118171509A
Heterogeneous reservoir complex fracture network numerical simulation method based on Abaqus
CN118228523A
