A salt cavern gas storage inventory dynamic evaluation method and related device
By layering the wellbore and cavity at depth intervals and combining pressure, temperature, and gas composition to calculate the gas quality of the salt cavern gas storage, the problem of insufficient assessment accuracy in existing technologies has been solved, and a higher accuracy assessment of the gas storage volume has been achieved.
Patent Information
- Application Number
- CN202611433561.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-16
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2046-09-16
AI Technical Summary
Existing methods for assessing the gas storage capacity of salt cavern gas storage facilities suffer from problems such as accumulated measurement errors, difficulty in reflecting the full profile of pressure distribution, uneven temperature distribution, and lack of unified stratified integration calculation of multi-source data, resulting in insufficient assessment accuracy.
The wellbore and cavity are divided into multiple segments at fixed depth intervals. The pressure of each segment is calculated iteratively by combining the pressure boundaries at the wellhead and the bottom of the cavity, taking into account gravity and frictional pressure difference. The gas density and mass are calculated by combining gas composition and temperature. The total gas mass is obtained by summing layer by layer, and then the injectable gas volume and recoverable gas volume are calculated.
It improves the accuracy of assessing gas inventory, injectable gas volume, and recoverable gas volume, providing more accurate data support and a basis for injection and production scheduling and safe operation management.
Smart Images

Figure CN122947653B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of underground gas storage operation monitoring and inventory assessment technology, and in particular to a method and related equipment for dynamic assessment of gas inventory in salt cavern gas storage. Background Technology
[0002] Salt cavern gas storage facilities are important underground gas storage facilities for natural gas peak shaving, strategic reserves, and energy security. They typically utilize underground salt layers to create large-volume cavities through water dissolution, and are connected to surface injection and production equipment via wellbores. During operation, real-time or periodic monitoring of the stored gas volume, injectable gas volume, and recoverable gas volume is fundamental to supporting injection and production scheduling, safe operation, and storage capacity management.
[0003] Existing methods for assessing gas inventory mainly fall into two categories. One category calculates inventory based on the cumulative injected gas volume from flow meters, using the initial inventory as a base to calculate the current inventory. This method is simple to calculate, but its accuracy is highly dependent on the flow meter's measurement precision. Natural gas flow meters are affected by factors such as gas composition, pressure, temperature, flow regime, and installation conditions, resulting in unavoidable measurement errors. Over long-term operation, these errors accumulate, leading to significant discrepancies between the assessed inventory and the actual inventory, thus affecting the safe operation of the gas storage facility. The other category of methods uses pressure, temperature, and volume parameters, employing PVT relationships or equations of state to calculate the gas volume based on cavity volume, pressure, temperature, and gas compressibility factor. This method can directly estimate the amount of gas stored from the perspective of gas state, but existing technologies mostly use average pressure or single-point pressure, which is difficult to reflect the pressure distribution of the entire profile of the wellbore and cavity; temperature processing mostly uses average temperature or temperature at a limited number of measuring points, without fully considering the non-uniform temperature distribution along the depth direction; insufficient consideration is given to the gas volume in the wellbore, the vertical geometric changes of the cavity, and the changes in gas density with depth; under dynamic operating conditions, the gravity pressure difference and frictional pressure drop in the wellbore make it difficult to accurately convert the pressure at the wellhead and in the cavity; changes in gas composition lead to changes in compressibility factor and density, which further affects the calculation accuracy.
[0004] With the development of distributed fiber optic temperature measurement, downhole pressure monitoring, and sonar cavity measurement technologies, salt cavern gas storage facilities now possess the capability to acquire temperature profiles, dual-pressure point data, and three-dimensional cavity morphology data. However, existing assessment methods have not yet fully integrated the aforementioned data for unified hierarchical integral calculations of the wellbore and cavity, leaving room for improvement in the accuracy of gas storage assessment.
[0005] Therefore, there is an urgent need to provide a technical solution to address the above problems. Summary of the Invention
[0006] To address the aforementioned technical problems, this invention provides a method and related equipment for dynamically assessing the gas storage capacity of a salt cavern gas storage facility.
[0007] In a first aspect, the present invention provides a method for dynamically assessing the gas storage capacity of a salt cavern gas storage facility, the technical solution of which is as follows: Obtain wellbore parameters, three-dimensional cavity morphology data, gas composition, design storage capacity, design bottom gas volume, wellhead pressure, cavity bottom pressure, and temperature profile from wellhead to cavity bottom of the salt cavern gas storage facility; The wellbore and cavity of the salt cavern gas storage are divided into multiple segments at fixed depth intervals. The effective volume of the wellbore and cavity in each segment is determined according to the wellbore parameters and the three-dimensional morphology data of the cavity. The effective volumes of the wellbore and cavity in the same segment are added together to obtain the effective volume of each segment. The temperature of each segment is determined according to the temperature profile. Using the wellhead pressure as the upper boundary and the bottom pressure as the lower boundary, the pressure of each segment is iteratively calculated based on the temperature and gas composition of each segment. During the iteration process, the gas density, gravity pressure difference and friction pressure difference are calculated based on the current pressure, and the pressure is recursively calculated layer by layer along the depth until the difference between the recursively calculated bottom pressure and the bottom pressure satisfies the convergence condition. The gas density of each layer is calculated based on the pressure, temperature and gas composition of each layer. The gas mass of each layer is calculated based on the gas density and effective volume of each layer. The total gas mass of the salt cavern gas storage is obtained by summing the gas masses of all layers. The standard density is determined based on the gas composition. The standard gas storage volume is calculated based on the total gas mass and the standard density. The injectable and extractable gas volumes of the salt cavern gas storage are calculated based on the standard gas storage volume, the designed storage capacity, and the designed bottom gas volume.
[0008] The beneficial effects of the method for dynamically assessing the gas storage capacity of a salt cavern gas storage facility according to the present invention are as follows: The method of this invention integrates wellbore parameters, three-dimensional cavity morphology data, gas composition, dual pressure point monitoring data, and temperature profiles of the entire well section. It uniformly divides the wellbore and cavity into multiple layers at fixed depth intervals and determines the effective volume and temperature of each layer. Using wellhead pressure and cavity bottom pressure as upper and lower boundaries, it iteratively calculates the pressure of each layer, incorporating gravity pressure difference and frictional pressure difference in the recursion. After calculating the gas density and mass layer by layer, it sums and converts the calculated standard-condition gas inventory to determine the injectable and recoverable gas volumes. This method solves the problems of accumulated errors from long-term flowmeter operation, the difficulty in reflecting the full profile distribution using average pressure and limited temperature measurement points, insufficient consideration of vertical geometric changes and gas density variations along depth, difficulties in accurately converting pressure under dynamic operating conditions, and large deviations in inventory gas volume assessment due to the lack of unified layered integration calculations for multi-source data. It improves the accuracy of inventory gas volume, injectable gas volume, and recoverable gas volume assessment, providing data support for injection and production scheduling and safe operation management.
[0009] Based on the above scheme, the method for dynamic evaluation of gas storage volume in a salt cavern gas storage facility of the present invention can be further improved as follows.
[0010] In one alternative approach, when iteratively calculating the pressure of each segment, the wellhead pressure is used as the starting pressure, and the obtained bottom cavity pressure is used as the convergence criterion; the convergence condition is that the absolute deviation between the recursively obtained bottom cavity pressure and the obtained bottom cavity pressure is less than a preset threshold.
[0011] The advantages of adopting the above-mentioned optional method are as follows: by using wellhead pressure as the starting value of iteration and bottom cavity pressure as the convergence criterion, and taking the absolute deviation between the recursive bottom cavity pressure and the monitored bottom cavity pressure as less than a preset threshold as the convergence condition, the pressure iteration has a clear termination basis, avoids recursion divergence, and improves the stability of pressure calculation results.
[0012] In one optional approach, the wellbore parameters include well depth, wellbore inner diameter, tubing string structure, and effective flow cross-sectional area of the wellbore at each depth. The well depth is used to determine the wellbore's defined range, and the wellbore inner diameter and tubing string structure are used to determine the effective flow cross-sectional area of the wellbore at each depth. The step of determining the effective volume of the wellbore and cavity in each segment based on the wellbore parameters and the cavity's three-dimensional morphology data includes: The effective volume of the wellbore in each segment is calculated based on the effective flow cross-sectional area of the wellbore at each depth and the fixed depth interval. Based on the three-dimensional morphological data of the cavity, the cavity is horizontally sliced at fixed depth intervals to obtain the layered volume of the cavity in each layer segment, and the layered volume of each layer segment is taken as the effective volume of the cavity in each layer segment.
[0013] The advantages of adopting the above-mentioned optional method are as follows: the wellbore inner diameter, tubing structure and flow cross-sectional area are further incorporated into the wellbore parameters, the wellbore volume is calculated at fixed depth intervals and the cavity is horizontally sliced to obtain the layered volume, and the wellbore and cavity volumes in the same layer are added together as the layer volume, so that the volume division is more in line with the geometric shape and the error caused by the simplified volume estimation is reduced.
[0014] In one alternative approach, the step of iteratively calculating the pressure for each segment includes: Pressure is applied layer by layer along the depth direction according to the following formula: in, For the first Pressure on each layer, For the pressure of the adjacent next layer, For the first Gas density in each layer, It is the acceleration due to gravity. For the first The depth step size of each segment, For the first Frictional pressure difference between each layer; When the deviation between the recursively obtained bottom cavity pressure and the acquired bottom cavity pressure does not meet the convergence condition, the deviation is distributed to each layer according to the depth ratio for pressure correction.
[0015] The advantages of adopting the above-mentioned optional method are: further incorporating gas density, gravitational acceleration, depth step size and frictional pressure difference into the recursive formula, and allocating correction amount according to depth ratio when the pressure deviation at the bottom of the cavity exceeds the convergence condition, so that the pressure distribution calculation is closer to the actual physical process, and improving the convergence speed and calculation accuracy of pressure recursion.
[0016] In an alternative approach, the frictional pressure difference is calculated according to the Darcy-Weisbach formula: in, This is the coefficient of friction direction. For the first The coefficient of friction of each layer, For the first The equivalent hydraulic diameter corresponding to each segment For the first The gas flow rate of each layer; the friction directional coefficient is positive under the gas injection condition and negative under the gas production condition.
[0017] The advantages of adopting the above-mentioned optional method are as follows: further use the Darcy-Weisbach formula to calculate the frictional pressure difference, and set positive and negative directional coefficients according to the gas injection and gas extraction conditions respectively, so that the calculation direction of the frictional pressure difference is consistent with the gas flow direction, and adapts to the pressure recursion requirements under different operating conditions.
[0018] In one alternative approach, the step of calculating the gas density of each segment based on the pressure, temperature, and gas composition of each segment includes: Using the pressure, temperature, and gas composition of each segment as input parameters, the gas compressibility factor of each segment is obtained by solving the PR equation of state. The gas density of each segment is then calculated based on the gas compressibility factor, pressure, temperature, and gas composition of each segment.
[0019] The advantages of adopting the above-mentioned optional method are as follows: by further using the pressure, temperature and gas composition of each layer as input parameters, the gas compressibility factor is solved by the PR equation of state and the gas density is calculated, so that the density calculation can reflect the non-ideal characteristics and composition differences of the gas, and improve the accuracy of the gas density calculation of each layer.
[0020] In one alternative approach, the step of calculating the gas mass of each segment based on the gas density and effective volume of each segment, and summing the gas masses of all segments to obtain the total gas mass of the salt cavern gas storage includes: The gas mass of each segment is obtained by multiplying the gas density of each segment by the effective volume of each segment. The gas masses of all layers are summed according to the following formula: in, The total mass of the gas. For the first Gas density in each layer, For the first The effective volume of each segment, This represents the total number of segments obtained from the division.
[0021] The advantages of adopting the above optional method are as follows: the gas density of each layer is further multiplied by the corresponding volume to obtain the gas mass of the layer, and the total gas mass is obtained by summing the masses of all layers, so that the assessment of the gas inventory is changed from overall estimation to layer-by-layer accumulation, reducing the mass calculation error caused by uneven density and volume distribution.
[0022] Secondly, the present invention provides a device for dynamically assessing the gas storage capacity of a salt cavern gas storage facility, the technical solution of which is as follows: The acquisition module is used to acquire wellbore parameters, three-dimensional morphological data of the cavity, gas composition, design storage capacity, design bottom gas volume, wellhead pressure, cavity bottom pressure, and temperature profile from wellhead to cavity bottom of the salt cavern gas storage facility. The processing module is used to divide the wellbore and cavity of the salt cavern gas storage into multiple segments at fixed depth intervals, determine the effective volume of the wellbore and cavity in each segment according to the wellbore parameters and the three-dimensional morphology data of the cavity, add the effective volumes of the wellbore and cavity in the same segment as the effective volume of each segment, and determine the temperature of each segment according to the temperature profile. The recursive module is used to iteratively calculate the pressure of each segment based on the temperature and gas composition of each segment, with the wellhead pressure as the upper boundary and the bottom pressure of the cavity as the lower boundary. During the iteration process, the gas density, gravity pressure difference and friction pressure difference are calculated based on the current pressure, and the pressure is recursively calculated layer by layer along the depth until the difference between the recursively obtained bottom pressure and the bottom pressure of the cavity satisfies the convergence condition. The calculation module is used to calculate the gas density of each layer based on the pressure, temperature and gas composition of each layer, calculate the gas mass of each layer based on the gas density and effective volume of each layer, and sum the gas masses of all layers to obtain the total gas mass of the salt cavern gas storage. The evaluation module is used to determine the standard condition density based on the gas composition, calculate the standard condition gas storage volume based on the total gas mass and the standard condition density, and calculate the injectable and recoverable gas volume of the salt cavern gas storage based on the standard condition gas storage volume, the design storage capacity, and the design bottom gas volume.
[0023] The beneficial effects of the dynamic assessment device for the gas storage volume of a salt cavern gas storage facility of the present invention are as follows: The device of this invention integrates wellbore parameters, three-dimensional cavity morphology data, gas composition, dual pressure point monitoring data, and temperature profiles of the entire well section. It uniformly divides the wellbore and cavity into multiple layers at fixed depth intervals and determines the effective volume and temperature of each layer. Using the wellhead pressure and cavity bottom pressure as the upper and lower boundaries, it iteratively calculates the pressure of each layer, taking into account gravity pressure difference and friction pressure difference in the recursion. After calculating the gas density and mass layer by layer, it sums and converts them to standard condition gas storage volume, and then calculates the injectable gas volume and recoverable gas volume. This solves the problems of long-term operation error accumulation of flowmeters, the inability of average pressure and limited temperature measurement points to reflect the full profile distribution, insufficient consideration of vertical geometric changes and gas density changes along depth, difficulty in accurate pressure conversion under dynamic operating conditions, and large deviations in the assessment of gas storage volume due to the lack of unified layered integration calculation of multi-source data. It improves the assessment accuracy of gas storage volume, injectable gas volume, and recoverable gas volume, and provides data support for injection and production scheduling and safe operation management.
[0024] Thirdly, the technical solution of an electronic device according to the present invention is as follows: It includes a memory, a processor, and a program stored in the memory and running on the processor, wherein the processor executes the program to implement the steps of the dynamic assessment method for the gas storage capacity of a salt cavern gas storage facility as described in this invention.
[0025] Fourthly, the technical solution of a computer-readable storage medium provided by the present invention is as follows: The computer-readable storage medium stores instructions that, when read, cause the computer-readable storage medium to perform the steps of the dynamic assessment method for gas storage capacity in salt cavern gas storage as described in this invention.
[0026] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description
[0027] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1This is a flowchart illustrating an embodiment of a method for dynamically assessing the gas storage capacity of a salt cavern gas storage facility according to the present invention. Figure 2 A schematic diagram of a unified depth-layered model for the wellbore and salt cavern cavity; Figure 3 This is a schematic diagram of pressure profile iterative calculation based on dual-point constraints of wellhead pressure and pressure near the bottom of the well. Figure 4 This is a schematic diagram of an embodiment of a dynamic assessment device for the gas storage capacity of a salt cavern gas storage facility according to the present invention. Figure 5 This is a schematic diagram of an embodiment of an electronic device according to the present invention. Detailed Implementation
[0028] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0029] Figure 1 This diagram illustrates a flowchart of an embodiment of a method for dynamically assessing the gas storage capacity of a salt cavern gas storage facility provided by the present invention. This method can be executed by electronic devices such as terminal devices or servers. The terminal device can be any fixed or mobile terminal, such as user equipment (UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (PDA), handheld device, computing device, vehicle-mounted device, or wearable device. The server can be a single server or a server cluster consisting of multiple servers. Any electronic device can implement the method for dynamically assessing the gas storage capacity of a salt cavern gas storage facility by having its processor call computer-readable instructions stored in its memory. Figure 1 As shown, it includes the following steps: S1. Obtain wellbore parameters, three-dimensional cavity morphology data, gas composition, design storage capacity, design bottom gas volume, wellhead pressure, cavity bottom pressure, and temperature profile from wellhead to cavity bottom of the salt cavern gas storage facility.
[0030] Among them, a salt cavern gas storage facility refers to a natural gas storage facility that utilizes underground salt layers to form a large-volume cavity through water dissolution and is connected to the surface injection and production system through a wellbore. For example, a certain salt cavern gas storage facility is located in a salt layer at a depth of 2000m underground. The cavity formed by water dissolution has a height of 150m, an average radius of 25m, and a volume of 200,000 m³. The cavity is connected to the surface injection and production device through a wellbore with a diameter of 0.2m and is used for natural gas peak shaving and strategic reserves.
[0031] Wellbore parameters refer to data describing the geometric features and structural attributes of the wellbore, including well depth, wellbore inner diameter, tubing structure, and effective flow cross-sectional area at each depth. For example, the well depth of this salt cavern gas storage is 2100m, the wellbore inner diameter is 0.2m, the tubing structure consists of a continuous casing arrangement from the surface to the bottom of the cavity, and the effective flow cross-sectional area at each depth is 0.0314m². Three-dimensional cavity morphology data refers to three-dimensional point cloud data obtained through sonar cavity measurement technology, describing the spatial position and geometric shape of the inner wall of the salt cavern cavity. This data is used to characterize the cross-sectional area distribution or layered volume distribution of the cavity at different depths. For example, sonar cavity measurement was performed on the cavity of this salt cavern gas storage, obtaining point cloud data consisting of 100,000 three-dimensional coordinate points. After processing, the cross-sectional area data of the cavity at 1m depth intervals within the depth range of 2000m to 2150m was obtained, with the maximum cross-sectional area of the cavity occurring at a depth of 2080m, which is 785m². Gas composition refers to the content data of each chemical component in the natural gas in the gas storage facility; for example, the gas composition of the salt cavern gas storage facility contains 92% methane, 5% ethane, 2% nitrogen and 1% carbon dioxide.
[0032] The design storage capacity refers to the maximum allowable gas storage volume determined by the design of the salt cavern gas storage facility; for example, the design storage capacity of this salt cavern gas storage facility is 200 million standard cubic meters. The design bottom gas volume refers to the minimum gas storage volume that the salt cavern gas storage facility needs to retain to ensure cavity stability and operational safety; for example, the design bottom gas volume of this salt cavern gas storage facility is 40 million standard cubic meters. The wellhead pressure refers to the absolute pressure value measured at the pressure measuring point located at the wellhead; for example, the wellhead pressure of this salt cavern gas storage facility at the current operating moment is 12.5 MPa. The cavity bottom pressure refers to the pressure value measured by a pressure gauge located near the bottom of the cavity or inside the cavity near the bottom; for example, the cavity bottom pressure of this salt cavern gas storage facility at the current operating moment is 16.8 MPa.
[0033] The temperature profile refers to the temperature data continuously distributed along the depth direction from the wellhead to the bottom of the cavity, acquired by the distributed optical fiber temperature measurement system. For example, the distributed optical fiber temperature measurement system collects the temperature data from the wellhead to the bottom of the cavity through the optical cable laid along the well shaft. The temperature at the wellhead is 15℃, the temperature at a depth of 1000m is 45℃, the temperature at a depth of 2000m is 70℃, and the temperature at the bottom of the cavity is 75℃, forming a continuous temperature profile from the wellhead to the bottom of the cavity.
[0034] Specifically, the wellbore parameters of the salt cavern gas storage facility are obtained, including well depth, wellbore inner diameter, tubing structure, and effective flow cross-sectional area at each depth; three-dimensional point cloud data of the cavity formed by sonar measurement is obtained as three-dimensional morphological data of the cavity, which is used to characterize the cross-sectional area distribution or layered volume distribution of the cavity at different depths; the content data of each chemical component in natural gas is obtained as gas composition; the maximum allowable gas storage volume determined by the design of the salt cavern gas storage facility is obtained as the design storage capacity; the minimum gas storage volume that needs to be retained by the salt cavern gas storage facility to ensure cavity stability and operational safety is obtained as the design bottom gas volume; the absolute pressure measured by the wellhead pressure measuring point is obtained as the wellhead pressure; the pressure measured by the pressure gauge located near the bottom of the cavity or near the bottom of the cavity is obtained as the bottom cavity pressure; and the temperature data continuously distributed along the depth direction from the wellhead to the bottom of the cavity collected by the distributed fiber optic temperature measurement system is obtained as the temperature profile.
[0035] S2. Divide the wellbore and cavity of the salt cavern gas storage into multiple segments at fixed depth intervals. Determine the effective volume of the wellbore and cavity in each segment based on the wellbore parameters and the three-dimensional morphology data of the cavity. Add the effective volumes of the wellbore and cavity in the same segment to obtain the effective volume of each segment. Determine the temperature of each segment based on the temperature profile.
[0036] When building a deep hierarchical model, the depth direction is divided into: ,in For the first The depth value of each depth node. This represents the total number of segments obtained from the partitioning. A segment is formed between two adjacent depth nodes, and the depth step size is determined by the following formula: ,in For the first The depth step size of each segment, and The first The upper and lower boundary depths of each segment. For the wellbore portion, the effective volume of the wellbore in each segment is calculated using the following formula: ,in For the first The effective volume of the wellbore in each section For the first The effective flow cross-sectional area corresponding to each layer segment. For the cavity portion, the effective volume of the cavity in each layer segment is the layer volume. , For the first The effective volume of the cavity in each segment is obtained by horizontal slicing of the cavity's three-dimensional morphological data. The effective volume of each segment is... ,in For the first The effective volume of each layer segment.
[0037] Here, a "segment" refers to each depth interval obtained by uniformly dividing the wellbore and cavity according to fixed depth intervals. For example, using 1m as the fixed depth interval, the 2100m depth range from the wellhead to the cavity bottom is divided into 2100 segments, each segment having a height of 1m. The effective volume refers to the space volume available for gas to occupy within a segment. For a wellbore segment, it is the product of the effective flow cross-sectional area of the wellbore and the segment height; for a cavity segment, it is the layered volume of the cavity within that segment. For example, in a segment with a depth of 1000m to 1001m, the effective flow cross-sectional area of the wellbore is 0.0314m². 2 The effective volume of the wellbore is 0.0314 m³. 3 The cavity has no volume within this section, and the effective volume of this section is 0.0314 m³. 3 Within the stratum at depths of 2080m to 2081m, the effective wellbore volume is 0.0314m³. 3 The cavity has a layered volume of 700m³. 3 The effective volume of this section is 700.0314 m³. 3 .
[0038] Specifically, a fixed depth interval is determined based on the spatial resolution of temperature measurement in the distributed fiber optic temperature measurement system or the accuracy of sonar cavity data. The wellbore and cavity of the salt cavern gas storage facility are divided into multiple segments along the depth direction according to this fixed depth interval. Each segment has an upper and lower boundary depth, and adjacent segments share boundary depth nodes. Based on the wellbore parameters, including the wellbore inner diameter, tubing structure, and effective flow cross-sectional area at each depth, the effective volume of the wellbore is calculated according to the depth step of each segment. Based on the three-dimensional morphology data of the cavity, the cavity is horizontally sliced at the same depth interval to obtain the layered volume of the cavity within each segment as the effective volume of the cavity. The effective volume of the wellbore and the effective volume of the cavity in the same segment are added together to obtain the effective volume of each segment. Temperature data within the corresponding depth range of each segment is extracted from the temperature profile, and the average value or interpolation result of this temperature data is taken as the temperature of each segment.
[0039] S3. Using the wellhead pressure as the upper boundary and the bottom pressure as the lower boundary, iteratively calculate the pressure of each layer based on the temperature and gas composition of each layer. During the iteration process, calculate the gas density, gravity pressure difference and friction pressure difference based on the current pressure and recursively calculate the pressure layer by layer along the depth until the difference between the recursively calculated bottom pressure and the bottom pressure satisfies the convergence condition.
[0040] In the iterative calculation of the pressure profile, let the wellhead pressure be... The pressure at the bottom of the cavity is Wellhead pressure As the upper boundary condition, the pressure at the bottom of the cavity This is the lower boundary constraint condition.
[0041] Initially, based on the wellhead pressure and cavity bottom pressure Perform linear interpolation to form an initial pressure profile, the first... The initial pressure at each depth node is determined by the following formula: in, For the first Initial pressure of each depth node, For the first The depth value of each depth node. This represents the depth at the wellhead. This represents the depth at the bottom of the cavity. For wellhead pressure, This is the pressure at the bottom of the cavity.
[0042] In the In the next iteration, based on the current pressure ,temperature Calculation of gas components The gas density of each layer is updated according to the following formula: in, For the first In the nth iteration Gas density in each layer, For the first In the nth iteration Pressure on each layer, For the first Temperature of each layer, This is a vector representing the gas components.
[0043] The pressure is applied layer by layer along the depth direction according to the following formula: in, For the first Pressure on each layer, For the pressure of the adjacent next layer, For the first Gas density in each layer, It is the acceleration due to gravity. For the first The depth step size of each segment, For the first The frictional pressure difference between each layer. The gravitational pressure difference is... .
[0044] When the process is repeated to the bottom of the cavity, the pressure at the bottom of the cavity obtained from the recursion is obtained. The recursively obtained cavity bottom pressure With the obtained cavity bottom pressure The pressure deviation at the bottom of the cavity is calculated using the following formula for comparison: in, For the first The pressure deviation at the bottom of the cavity in the next iteration. For the first The cavity bottom pressure obtained recursively in the next iteration To obtain the pressure at the bottom of the cavity.
[0045] If the absolute value of the pressure deviation at the bottom of the cavity satisfies the convergence condition If so, the pressure profile is considered to converge, and the pressure of each segment is output. Among them, The preset threshold represents the allowable pressure deviation limit at the bottom of the cavity. If the convergence condition is not met, the deviation is distributed to each segment according to the depth ratio for pressure correction. The corrected pressure is calculated using the following formula: in, For the first In the nth iteration Pressure on each layer, For the first In the nth iteration The pressure values are obtained by recursion from each layer. For the first The depth value of each depth node. This represents the depth at the wellhead. This represents the depth at the bottom of the cavity. For the first The pressure deviation at the bottom of the cavity in the next iteration.
[0046] The upper boundary refers to the initial pressure constraint set in the pressure profile iterative calculation, i.e., the pressure value at the wellhead; for example, in the pressure profile iterative calculation of this salt cavern gas storage, the upper boundary pressure value is 12.5 MPa. The lower boundary refers to the termination pressure constraint set in the pressure profile iterative calculation, i.e., the pressure value at the bottom of the cavity; for example, in the pressure profile iterative calculation of this salt cavern gas storage, the lower boundary pressure value is 16.8 MPa.
[0047] The current pressure refers to the estimated pressure value at a certain depth during the iterative calculation process. For example, in the iterative calculation of the 1080th depth (2080m) of the salt cavern gas storage facility, the estimated current pressure is 16.5 MPa. Gas density refers to the mass per unit volume of gas, calculated using the equation of state based on pressure, temperature, and gas composition. For example, at a depth of 2080m in the salt cavern gas storage facility, with a temperature of 75℃, a pressure of 16.8 MPa, and a methane content of 92% in the gas composition, the gas density calculated using the PR equation of state is 125 kg / m³. 3 Gravitational pressure difference refers to the pressure change along the depth direction of a gas column under the influence of gravity, which is equal to the gas density multiplied by the gravitational acceleration multiplied by the depth step. For example, in the 2080m to 2081m depth section of this salt cavern gas storage facility, the gas density is 125 kg / m³. 3 The acceleration due to gravity is 9.8 m / s². 2 The depth step is 1m, and the gravity pressure difference is 1225Pa. Frictional pressure difference refers to the pressure loss caused by pipe wall friction and internal viscosity loss during gas flow, calculated using the Darcy-Weisbach formula. For example, under the gas extraction conditions of this salt cavern gas storage facility, the gas velocity in the 2080m to 2081m depth section is 5m / s, the friction coefficient is 0.02, the equivalent hydraulic diameter is 0.2m, and the gas density is 125kg / m³. 3 The frictional pressure difference calculated using the Darcy-Weisbach formula is 312.5 Pa.
[0048] The convergence condition refers to the criterion used to determine whether the pressure profile iterative calculation meets the accuracy requirements. Specifically, the absolute deviation between the recursively obtained bottom pressure and the acquired bottom pressure is less than a preset threshold. For example, the preset threshold for the salt cavern gas storage is 0.01 MPa. When the absolute deviation between the recursively obtained bottom pressure and the acquired bottom pressure of 16.8 MPa is less than 0.01 MPa, the convergence condition is considered to be met.
[0049] Specifically, the wellhead pressure is used as the upper boundary condition, and the bottom hole pressure as the lower boundary constraint condition. Starting from the wellhead pressure, the pressure is recursively calculated layer by layer downwards along the depth direction. In each segment, the gas density is calculated based on the current pressure, segment temperature, and gas composition. The gravity pressure difference is calculated based on the gas density and segment height. The frictional pressure difference is calculated based on the gas velocity and the Darcy-Weisbach formula. The gravity pressure difference and frictional pressure difference are superimposed on the current pressure to obtain the pressure of the next adjacent segment, and this process is repeated layer by layer until the bottom hole is reached. The recursively obtained bottom hole pressure is compared with the acquired bottom hole pressure. When the absolute deviation between the two is less than a preset threshold, the convergence condition is met, and the iteration stops. When the absolute deviation is not less than the preset threshold, the pressure profile is corrected, and the iteration is repeated until the convergence condition is met.
[0050] S4. Calculate the gas density of each layer based on the pressure, temperature and gas composition of each layer, calculate the gas mass of each layer based on the gas density and effective volume of each layer, and sum the gas masses of all layers to obtain the total gas mass of the salt cavern gas storage.
[0051] Obtaining pressure at each level and temperature Then, the gas density of each layer is calculated using the equation of state based on the gas composition. For the first... For each layer, the gas density is calculated using the following formula: in, For the first Gas density in each layer, For the first Pressure on each layer, For the first Temperature of each layer, This is a vector representing the gas components.
[0052] Based on the gas density of each layer and effective volume The gas mass of each layer is calculated according to the following formula: in, For the first Gas mass in each layer For the first Gas density in each layer, For the first The effective volume of each layer segment.
[0053] The total gas mass of the salt cavern gas storage is obtained by summing the gas masses of all layers. Calculate according to the following formula: in, The total mass of the gas. For the first Gas density in each layer, For the first The effective volume of each layer segment This represents the total number of segments obtained from the division.
[0054] Here, gas mass refers to the mass of gas within a single layer, which is equal to the gas density of that layer multiplied by the effective volume of that layer; for example, the gas density in the 2080m to 2081m depth layer of the salt cavern gas storage is 125kg / m³. 3The effective volume is 700.0314 m³. 3 The gas mass of this segment is 87,503.9 kg. The total gas mass refers to the sum of the gas masses of all segments, representing the total mass of gas in the wellbore and cavity at the current moment; for example, summing the gas masses of all 2,100 segments of this salt cavern gas storage facility yields a total gas mass of 25 million kg.
[0055] Specifically, the PR equation of state is used as the gas equation of state. The pressure, temperature, and gas composition of each segment are input into the PR equation of state to obtain the gas compressibility factor for each segment. Then, the gas density of each segment is calculated based on the gas compressibility factor, pressure, temperature, and gas composition. The gas density of each segment is multiplied by the effective volume of the same segment to obtain the gas mass of each segment. The gas masses of all segments are summed to obtain the total gas mass in the wellbore and cavity of the salt cavern gas storage.
[0056] S5. Determine the standard condition density based on the gas composition, calculate the standard condition gas storage volume based on the total gas mass and the standard condition density, and calculate the injectable and extractable gas volume of the salt cavern gas storage based on the standard condition gas storage volume, the designed storage capacity, and the designed bottom gas volume.
[0057] Determine standard density based on gas composition. Standard gas inventory levels are calculated using the following formula: in, This refers to the standard condition gas inventory. The total mass of the gas. This is the standard density.
[0058] According to the design capacity Standard condition gas inventory and design of the bottom air volume The injectable gas volume and the recoverable gas volume are calculated according to the following formulas: in, For the amount of gas that can be injected, The amount of gas that can be extracted. To design the storage capacity, To design the bottom air volume.
[0059] Standard condition density refers to the mass of a unit volume of natural gas under standard conditions (temperature 0℃, pressure 101.325 kPa), determined based on the gas composition. For example, the gas composition of this salt cavern gas storage facility is 92% methane, 5% ethane, 2% nitrogen, and 1% carbon dioxide, with a standard condition density of 0.72 kg / standard cubic meter. Standard condition gas storage volume refers to the gas volume under standard conditions obtained by converting the total gas mass to standard condition density, expressed in standard cubic meters. For example, the total gas mass of this salt cavern gas storage facility is 25 million kg, the standard condition density is 0.72 kg / standard cubic meter, and the standard condition gas storage volume is 34.72 million standard cubic meters.
[0060] The injectable gas volume refers to the maximum amount of gas that the gas storage facility can inject under the current conditions, which is equal to the designed storage capacity minus the standard-condition inventory gas volume. For example, the designed storage capacity of this salt cavern gas storage facility is 200 million standard cubic meters, the standard-condition inventory gas volume is 34.72 million standard cubic meters, and the injectable gas volume is 165.28 million standard cubic meters. The recoverable gas volume refers to the maximum amount of gas that the gas storage facility can recover under the current conditions, which is equal to the standard-condition inventory gas volume minus the designed buffer gas volume. For example, the designed buffer gas volume of this salt cavern gas storage facility is 40 million standard cubic meters, the standard-condition inventory gas volume is 34.72 million standard cubic meters, and the recoverable gas volume is zero, indicating that the current inventory is lower than the buffer gas volume, and it is necessary to prioritize ensuring the buffer gas volume to maintain the stability of the cavity.
[0061] Specifically, based on the content data of methane, ethane, nitrogen, and carbon dioxide in the gas composition, the density value of natural gas under standard conditions is calculated, and this density value is taken as the standard condition density. Dividing the total gas mass by the standard condition density yields the current volume of natural gas in the wellbore and cavity under standard conditions, and this volume is taken as the standard condition gas storage volume. Subtracting the standard condition gas storage volume from the design storage capacity yields the maximum amount of gas that the gas storage facility can still inject under the current conditions, and this maximum injection volume is taken as the injectable gas volume. Subtracting the design backfill gas volume from the standard condition gas storage volume yields the maximum amount of gas that the gas storage facility can extract under the current conditions, and this maximum extraction volume is taken as the recoverable gas volume.
[0062] The technical solution of this embodiment integrates wellbore parameters, cavity three-dimensional morphology data, gas composition, dual pressure point monitoring data, and temperature profiles of the entire well section. It uniformly divides the wellbore and cavity into multiple layers at fixed depth intervals and determines the effective volume and temperature of each layer. Using the wellhead pressure and cavity bottom pressure as the upper and lower boundaries, iteratively calculates the pressure of each layer, taking into account gravity pressure difference and friction pressure difference in the recursion. After calculating the gas density and mass layer by layer, it sums and converts them to standard condition gas storage volume, and then calculates the injectable gas volume and recoverable gas volume. This solution solves the problems of long-term operation error accumulation of flowmeters, the inability of average pressure and limited temperature measurement points to reflect the full profile distribution, insufficient consideration of vertical geometric changes and gas density changes along depth, difficulty in accurate pressure conversion under dynamic operating conditions, and large deviations in the assessment of gas storage volume due to the lack of unified layered integration calculation of multi-source data. It improves the assessment accuracy of gas storage volume, injectable gas volume, and recoverable gas volume, and provides data support for injection and production scheduling and safe operation management.
[0063] In one alternative approach, when iteratively calculating the pressure of each segment, the wellhead pressure is used as the starting pressure, and the obtained bottom cavity pressure is used as the convergence criterion; the convergence condition is that the absolute deviation between the recursively obtained bottom cavity pressure and the obtained bottom cavity pressure is less than a preset threshold.
[0064] The initial pressure refers to the wellhead pressure value used at the start of the pressure profile iteration calculation, serving as the starting point for layer-by-layer downward calculation. For example, the initial pressure for the salt cavern gas storage pressure profile iteration calculation is the wellhead pressure of 12.5 MPa, and the calculation is performed layer by layer downwards from the wellhead. The convergence criterion refers to the criteria used to determine whether the iteration calculation terminates, i.e., whether the deviation between the calculated and measured bottom pressure values is less than a preset threshold. For example, the convergence criterion for this salt cavern gas storage is that the absolute deviation between the recursively obtained bottom pressure and the acquired bottom pressure of 16.8 MPa is less than 0.01 MPa; iteration stops when this condition is met.
[0065] The recursively calculated bottom pressure refers to the pressure value at the bottom of the cavity calculated by superimposing gravity pressure difference and friction pressure difference layer by layer along the depth direction, starting from the wellhead pressure. For example, in this salt cavern gas storage facility, starting from a wellhead pressure of 12.5 MPa, the pressure is calculated by recursively calculating downwards along 2100 layers, superimposing gravity pressure difference and friction pressure difference at each layer, resulting in a bottom pressure of 16.81 MPa. The obtained bottom pressure refers to the measured pressure value at the bottom of the cavity obtained directly from a pressure gauge located near the bottom of the cavity. For example, the bottom pressure measured by the pressure gauge near the bottom of the cavity in this salt cavern gas storage facility is 16.80 MPa.
[0066] The absolute deviation refers to the absolute value of the difference between the recursively obtained bottom pressure and the acquired bottom pressure. For example, the recursively obtained bottom pressure of the salt cavern gas storage is 16.81 MPa, and the acquired bottom pressure is 16.80 MPa, with an absolute deviation of 0.01 MPa. The preset threshold refers to a pre-set allowable deviation value used to determine whether the iterative calculation meets the accuracy requirements. For example, the preset threshold for the salt cavern gas storage is 0.01 MPa; when the absolute deviation is less than 0.01 MPa, iteration stops and a pressure profile is output.
[0067] In the above-mentioned optional methods, wellhead pressure is further used as the iteration starting value and bottom cavity pressure as the convergence criterion. The absolute deviation between the recursive bottom cavity pressure and the monitored bottom cavity pressure is less than a preset threshold as the convergence condition, so that the pressure iteration has a clear termination basis, avoids recursion divergence, and improves the stability of pressure calculation results.
[0068] In one alternative approach, the wellbore parameters include well depth, wellbore inner diameter, tubing string structure, and effective flow cross-sectional area of the wellbore at each depth. The well depth is used to determine the division range of the wellbore, and the wellbore inner diameter and the tubing string structure are used to determine the effective flow cross-sectional area of the wellbore at each depth.
[0069] Well depth refers to the vertical depth from the wellhead to the bottom of the well or cavity, used to define the wellbore's boundaries. For example, the well depth of this salt cavern gas storage facility is 2100m, meaning the total depth from the wellhead to the bottom of the cavity is 2100m. Wellbore inner diameter refers to the inner diameter of the well casing or open hole section, used to determine the effective flow cross-sectional area of the wellbore. For example, the wellbore inner diameter of this salt cavern gas storage facility is 0.2m, and the effective flow cross-sectional area is 0.0314m². 2 The tubing string structure refers to the type, size, and combination of casing, tubing, and other tubing strings installed at different depths within the wellbore, used to determine the effective flow cross-sectional area of the wellbore at each depth. For example, in this salt cavern gas storage facility, the tubing string structure consists of a 0.244m diameter casing from the surface to a depth of 1000m and a 0.2m diameter tubing from a depth of 1000m to 2100m. The different tubing string structures result in different effective flow cross-sectional areas at each depth. The effective flow cross-sectional area refers to the effective cross-sectional area within the wellbore through which gas can flow, equal to the wellbore's cross-sectional area minus the cross-sectional area occupied by the internal tubing strings. For example, in the salt cavern gas storage facility, within the 1000m to 2100m depth section, the wellbore's inner diameter is 0.2m, and there are no other tubing strings inside; the effective flow cross-sectional area is 0.0314m². 2 .
[0070] The steps of determining the effective volume of the wellbore and cavity in each segment based on the wellbore parameters and the cavity three-dimensional morphology data include: The effective volume of the wellbore in each segment is calculated based on the effective flow cross-sectional area of the wellbore at each depth and the fixed depth interval.
[0071] Specifically, based on the effective flow cross-sectional area of the wellbore at each depth, the depth step of each segment is multiplied by the effective flow cross-sectional area of the wellbore at the corresponding depth to obtain the effective volume of the wellbore in each segment.
[0072] Based on the three-dimensional morphological data of the cavity, the cavity is horizontally sliced at fixed depth intervals to obtain the layered volume of the cavity in each layer segment, and the layered volume of each layer segment is taken as the effective volume of the cavity in each layer segment.
[0073] The layered volume refers to the volume of a single cavity segment obtained after horizontal slicing of the cavity based on its three-dimensional morphological data. For example, the layered volume of the cavity segment at a depth of 2080m to 2081m in the sonar cavity three-dimensional point cloud data of the salt cavern gas storage facility, after horizontal slicing, is 700m³. 3 .
[0074] Specifically, based on the three-dimensional point cloud data generated by the sonar cavity, the cavity's three-dimensional point cloud data is converted into a data structure with depth as the primary coordinate. The cavity is then divided into multiple segments along the depth direction at fixed depth intervals. Between the upper and lower boundaries of each segment, all point cloud data falling within that depth range are extracted. Based on the point cloud data, the spatial contour and boundary position of the cavity within that segment are determined, and the volume of the three-dimensional enclosed space occupied by the cavity within that segment is calculated. The volume of the three-dimensional enclosed space of the cavity within each segment is taken as the effective volume of the cavity in that segment.
[0075] In the above-mentioned optional methods, the wellbore inner diameter, tubing structure and flow cross-sectional area are further incorporated into the wellbore parameters. The wellbore volume is calculated at fixed depth intervals and the cavity is horizontally sliced to obtain the layered volume. The wellbore and cavity volumes within the same layer are added together to obtain the layer volume, making the volume division more consistent with the geometric shape and reducing the error caused by the simplified volume estimation.
[0076] In one alternative approach, the step of iteratively calculating the pressure for each segment includes: Pressure is applied layer by layer along the depth direction according to the following formula: in, For the first Pressure on each layer, For the pressure of the adjacent next layer, For the first Gas density in each layer, It is the acceleration due to gravity. For the first The depth step size of each segment, For the first Frictional pressure difference between each layer.
[0077] When the deviation between the recursively obtained bottom cavity pressure and the acquired bottom cavity pressure does not meet the convergence condition, the deviation is distributed to each layer according to the depth ratio for pressure correction.
[0078] The depth ratio refers to the allocation ratio used in the pressure profile iterative calculation to distribute the bottom pressure deviation to each depth segment for pressure correction. This ratio is equal to the ratio of the segment depth to the total depth from the wellhead to the bottom of the cavity. For example, the total depth from the wellhead to the bottom of the cavity in this salt cavern gas storage is 2100m. The depth ratio of the segment at a depth of 1000m is 1000 divided by 2100, which is approximately 0.476. If the absolute deviation between the recursively obtained bottom pressure and the acquired bottom pressure is 0.01MPa and does not meet the convergence condition, then the pressure correction amount for the segment at a depth of 1000m is 0.01MPa multiplied by 0.476, which is approximately 0.00476MPa.
[0079] Specifically, if the absolute deviation between the recursively calculated bottom-hole pressure and the acquired bottom-hole pressure is not less than a preset threshold, the convergence condition is deemed not met. Based on the proportional relationship between the depth of each segment and the total depth from the wellhead to the bottom of the cavity, the bottom-hole pressure deviation is allocated to each segment. For each segment, the current recursively calculated pressure value is subtracted from the product of the segment's depth ratio and the bottom-hole pressure deviation to obtain the corrected pressure value for that segment. The corrected pressure value is used as the initial value for the next iteration, and the recursive pressure calculation from the wellhead to the bottom of the cavity is re-executed.
[0080] In the above-mentioned optional methods, gas density, gravitational acceleration, depth step size and frictional pressure difference are further included in the recursive formula, and the correction amount is allocated according to the depth ratio when the pressure deviation at the bottom of the cavity exceeds the convergence condition, so that the pressure distribution calculation is closer to the actual physical process, and the convergence speed and calculation accuracy of pressure recursion are improved.
[0081] In an alternative approach, the frictional pressure difference is calculated according to the Darcy-Weisbach formula: in, This is the coefficient of friction direction. For the first The coefficient of friction of each layer, For the first The equivalent hydraulic diameter corresponding to each segment For the first The gas flow rate of each layer; the friction directional coefficient is positive under the gas injection condition and negative under the gas production condition.
[0082] In the above-mentioned optional methods, the Darcy-Weisbach formula is further used to calculate the frictional pressure difference, and positive and negative directional coefficients are set according to the gas injection and gas extraction conditions respectively, so that the calculation direction of the frictional pressure difference is consistent with the gas flow direction, which can adapt to the pressure recursion requirements under different operating conditions.
[0083] In one alternative approach, the step of calculating the gas density of each segment based on the pressure, temperature, and gas composition of each segment includes: Using the pressure, temperature, and gas composition of each segment as input parameters, the gas compressibility factor of each segment is obtained by solving the PR equation of state. The gas density of each segment is then calculated based on the gas compressibility factor, pressure, temperature, and gas composition of each segment.
[0084] The input parameters refer to the pressure, temperature, and gas composition data required to calculate gas density and compressibility factor in the Peng-Robinson equation of state. For example, the input parameters for the 2080m depth section of the salt cavern gas storage facility are a pressure of 16.8 MPa, a temperature of 75°C, and a gas composition of 92% methane, 5% ethane, 2% nitrogen, and 1% carbon dioxide. The Peng-Robinson equation of state is a cubic equation of state used to calculate the thermophysical properties (including gas density and compressibility factor) of natural gas under given pressure, temperature, and composition conditions. For example, substituting the input parameters (16.8 MPa, 75°C, and gas composition of 92% methane, 5% ethane, 2% nitrogen, and 1% carbon dioxide) for the 2080m depth section of the salt cavern gas storage facility into the Peng-Robinson equation of state yields a gas compressibility factor of 0.85 and a gas density of 125 kg / m³. 3 .
[0085] The gas compressibility factor refers to the volume deviation factor of a real gas relative to an ideal gas under given pressure and temperature conditions. It characterizes the compressibility of the real gas and is an intermediate variable in solving the PR equation of state for gas density. For example, the gas compressibility factor of the layer at a depth of 2080m in this salt cavern gas storage is 0.85, indicating that the actual volume of natural gas in this layer deviates by 15% from the ideal gas volume under pressure of 16.8MPa and temperature of 75℃. Based on this compressibility factor combined with pressure, temperature, and gas composition, the calculated gas density is 125 kg / m³. 3 .
[0086] Specifically, the pressure, temperature, and gas composition of each layer are input into the PR equation of state, and the gas compressibility factor of each layer is obtained by iteratively solving the PR equation of state. Based on the gas compressibility factor, pressure, temperature, and gas composition of each layer, the gas density of each layer is calculated using the conversion relationship between density and compressibility factor in the gas equation of state.
[0087] In the above-mentioned optional methods, the pressure, temperature and gas composition of each layer are further used as input parameters. The PR equation of state is used to solve the gas compressibility factor and calculate the gas density, so that the density calculation can reflect the non-ideal characteristics and composition differences of the gas, thereby improving the accuracy of the gas density calculation of each layer.
[0088] In one alternative approach, the step of calculating the gas mass of each segment based on the gas density and effective volume of each segment, and summing the gas masses of all segments to obtain the total gas mass of the salt cavern gas storage includes: The gas mass of each segment is obtained by multiplying the gas density of each segment by the effective volume of each segment.
[0089] The gas masses of all layers are summed according to the following formula: in, The total mass of the gas. For the first Gas density in each layer, For the first The effective volume of each segment, This represents the total number of segments obtained from the division.
[0090] In the above-mentioned optional methods, the gas density of each layer is further multiplied by the corresponding volume to obtain the gas mass of the layer, and the total gas mass is obtained by summing the masses of all layers. This transforms the assessment of the gas inventory from an overall estimation to a layered accumulation, reducing the mass calculation error caused by uneven density and volume distribution.
[0091] To better illustrate the technical solution of this embodiment, the following three examples are used for explanation: Example 1: A method for dynamically assessing the gas storage capacity of a salt cavern gas storage facility is provided, applied to a single-well, single-cavity salt cavern gas storage facility. The salt cavern gas storage facility includes a surface wellhead device, a wellbore, an underground salt cavern cavity, a distributed fiber optic temperature measurement system, a wellhead pressure transmitter, and a pressure gauge near the bottom of the cavity.
[0092] The distributed fiber optic temperature measurement system uses optical fibers deployed along the wellbore and extending to near the bottom of the cavity to acquire the temperature distribution from the wellhead to the cavity bottom. A wellhead pressure transmitter is used to acquire the absolute pressure at the wellhead. A pressure gauge near the cavity bottom is used to acquire the pressure near the cavity bottom. The geometry of the salt cavern cavity is obtained through sonar measurement, forming three-dimensional point cloud data of the cavity.
[0093] At a certain calculation moment, the current wellhead pressure, pressure near the bottom of the cavity, temperature profile obtained by the distributed fiber optic temperature measurement system, gas composition data and wellbore parameters are obtained. At the same time, the three-dimensional point cloud data obtained by the sonar cavity measurement, the design capacity and the design bottom gas volume are called up.
[0094] Subsequently, the well shaft and cavity are uniformly divided according to the preset fixed depth interval. Figure 2 A schematic diagram of a unified depth-stratified model of the wellbore and salt cavern is shown. Figure 2 As shown, the depth direction is divided into ,in For the first The depth value of each depth node. This represents the total number of segments obtained from the partitioning. A segment is formed between two adjacent depth nodes, with the depth step size following the specified order. Confirmed, among which For the first The depth step size of each segment, and The first The upper and lower boundary depths of each layer segment. Figure 2 The left side shows the wellbore structure, illustrating the changes in the wellbore's inner diameter and tubing structure from the wellhead to the cavity bottom. The middle section shows a uniform depth-layered grid, demonstrating the layering method of dividing the wellbore and cavity into multiple segments at equal depth intervals. The right side shows a schematic diagram of the cavity's three-dimensional morphology and layered volumes, illustrating the process of forming layered volumes within each segment after horizontal slicing of the cavity's three-dimensional point cloud data obtained from sonar cavity measurements. For the segment containing the wellbore, the effective volume of the wellbore is calculated based on the wellbore's inner diameter and the segment height. The effective volume of the wellbore is calculated according to... Calculation, where For the first The effective volume of the wellbore in each section For the first The effective flow cross-sectional area corresponds to each layer segment. For the layer segment where the cavity is located, horizontal slicing is performed based on sonar point cloud data to calculate the effective cavity volume of the corresponding depth layer segment, i.e., the layer volume. , For the first The effective volume of the cavity in each segment. If a segment contains both a shaft and a cavity, the effective volumes of the two are added together to obtain the effective volume of that segment. ,in For the first The effective volume of each layer segment.
[0095] Temperature data acquired by the distributed fiber optic temperature measurement system is mapped to a unified depth-layered model. For each layer, the average value or interpolation result of the temperature data from the distributed fiber optic temperature measurement system within that layer is taken as the representative temperature of that layer. Temperature is uniform at the same depth, meaning the gas temperature is the same within the same horizontal segment, but the temperature can differ between different segments.
[0096] Then, iterative calculations of the pressure profile were performed. Figure 3 This diagram illustrates an iterative calculation of pressure profiles based on a dual-point constraint of wellhead pressure and pressure near the wellbore bottom. In the iterative calculation of pressure profiles, the wellhead pressure... As the upper boundary condition, the pressure at the bottom of the cavity This is the lower boundary constraint condition. For example... Figure 3 As shown, at the start of the iteration, based on the wellhead pressure and cavity bottom pressure Linear interpolation is performed to form the initial pressure profile. Initial pressure of each depth node according to Confirmed, among which For the first Initial pressure of each depth node, For the first The depth value of each depth node. This represents the depth at the wellhead. This represents the depth at the bottom of the cavity. Figure 3 The left side shows the measured pressure point at the wellhead. and measured pressure point at the bottom of the cavity The middle section shows the initial pressure profile in the form of a flowchart, based on... , Calculate density from gas components Calculate the gravity pressure difference and friction pressure difference layer by layer, update the pressure profile, and calculate the pressure deviation at the bottom of the cavity. Determine whether the convergence condition is met. The iterative process of correcting the pressure profile proportionally to depth when the convergence condition is not met is shown on the right, along with the trends of the initial pressure profile, iterative pressure profile, and convergent pressure profile. In the... In the next iteration, based on the current pressure ,temperature Calculation of gas components The gas density of each layer is updated according to... In progress, among which For the first In the nth iteration Gas density in each layer, For the first In the nth iteration Pressure on each layer, This is a vector representing the gas composition. The pressure is progressively pushed downwards along the depth direction from the wellhead, according to... In progress, among which For the first Pressure on each layer, For the pressure of the adjacent next layer, For the first Gas density in each layer, It is the acceleration due to gravity. For the first The depth step size of each segment, For the first The frictional pressure difference between each layer. The gravitational pressure difference is... When the process is repeated to the bottom of the cavity, the pressure at the bottom of the cavity obtained from the recursion is obtained. The recursively obtained bottom cavity pressure is compared with the acquired bottom cavity pressure. Comparison, the pressure deviation at the bottom of the cavity is according to Calculation, where For the first The pressure deviation at the bottom of the cavity in the next iteration. For the first The cavity bottom pressure is obtained recursively in the next iteration. If the absolute value of the cavity bottom pressure deviation satisfies the convergence condition... If the pressure profile converges, the pressure of each segment is output, where... The preset threshold represents the allowable pressure deviation limit at the bottom of the cavity. If the convergence condition is not met, the deviation is distributed to each segment according to the depth ratio for pressure correction. The corrected pressure is then adjusted according to... Calculation, where For the first In the nth iteration Pressure on each layer, For the first In the nth iteration The pressure values are obtained by recursively calculating each layer. Then, the next iteration begins, until the convergence condition is met.
[0097] Obtaining pressure at each level and temperature Then, the gas density of each layer was calculated using the Peng-Robinson equation of state based on the gas composition. For the first... Each layer, gas density according to Calculation, where For the first Gas density in each layer, This represents the gas component vector. Since gas density varies with pressure, temperature, and composition, this embodiment does not use a uniform average density; instead, it calculates the density for each layer separately.
[0098] Then the gas mass of each layer is calculated. For the first... Each layer, gas mass according to Calculation, where For the first Gas mass in each layer For the first Gas density in each layer, For the first The effective volume of each segment. Summing over all segments yields the total gas mass within the current salt cavern gas storage wellbore and cavity. The total gas mass... according to Calculation, where This represents the total number of segments obtained from the division.
[0099] Finally, the standard density is determined based on the gas composition. Standard gas inventory is calculated according to... Conversion, among which This refers to the standard condition gas inventory. This represents the total mass of the gas. Read the designed storage capacity of the salt cavern gas storage facility. and design of the bottom air volume The amount of gas that can be injected is according to Calculations show that the recoverable gas volume is based on... Calculation, where For the amount of gas that can be injected, The system ultimately outputs the current standard-condition gas inventory, injectable gas volume, and recoverable gas volume. These calculations can be dynamically performed according to a minute-level data acquisition cycle, thereby enabling dynamic assessment of the gas inventory in the salt cavern gas storage facility.
[0100] Example 2: Further explanation of the iterative calculation process of the pressure profile.
[0101] Assume the distance from the wellhead to the bottom of the cavity is divided into: For each layer, the pressure at the wellhead depth node is the measured wellhead pressure, which satisfies... ,in The pressure at the wellhead depth node.
[0102] Initially, based on the wellhead pressure and cavity bottom pressure Linear interpolation is performed to form the initial pressure profile. Initial pressure of each depth node according to Confirmed, among which For the first The depth value of each depth node. This represents the depth at the wellhead. This represents the depth at the bottom of the cavity.
[0103] In the In the next iteration, based on the current pressure ,temperature Density is calculated based on gas components, and density is updated according to... In progress, among which For the first In the nth iteration Gas density in each layer, This is a vector representing the gas components.
[0104] Starting from the wellhead, the recursive relationship is as follows: ,in For the first In the nth iteration The pressure value is obtained by recursively calculating from each depth node. For the first In the nth iteration Frictional pressure difference between each layer, It is the acceleration due to gravity. For the first The depth step size for each layer. The wellhead meets the following requirements. .
[0105] When the recursion reaches the cavity bottom depth, the recursive cavity bottom pressure is obtained. The recursively obtained bottom cavity pressure is compared with the acquired bottom cavity pressure. Comparison, the pressure deviation at the bottom of the cavity is according to Calculation, where For the first The pressure deviation at the bottom of the cavity in the next iteration.
[0106] If the absolute value of the pressure deviation at the bottom of the cavity satisfies the convergence condition If so, the pressure profile is considered to converge, and the output is... As the pressure at each depth node. This is a preset threshold.
[0107] If the convergence condition is not met, the pressure profile is corrected based on the cavity bottom pressure deviation. The cavity bottom deviation is distributed to each depth node according to the depth ratio, and the corrected pressure is calculated according to... Calculation, where For the first In the nth iteration Pressure on each layer.
[0108] Then proceed to the next iteration until the convergence condition is met or the maximum number of iterations is reached.
[0109] This iterative process ensures that the pressure profile simultaneously satisfies the wellhead pressure boundary and the bottom chamber pressure constraints, and reflects the influence of gas compressibility and temperature nonuniformity on pressure distribution through density updates.
[0110] Example 3: Explain how to use the 3D point cloud data of the cavity in the assessment of gas storage volume.
[0111] Three-dimensional point cloud data of the salt cavern cavity was obtained after sonar cavity measurement. The point cloud data describes the position of the cavity's inner wall in three-dimensional space. First, a coordinate system consistent with the well depth direction was established, and the cavity's three-dimensional point cloud was converted into a data structure with depth as the primary coordinate. Then, the cavity was horizontally sliced at fixed depth intervals consistent with the wellbore stratification.
[0112] For any cavity segment, the cavity contour within that depth range is determined based on the point cloud data between the upper and lower boundaries of the segment, and the corresponding cross-sectional area or segment volume is calculated. If the cross-sectional area method is used, the equivalent cross-sectional area at the upper boundary, lower boundary, or middle depth of the segment is calculated first, and then multiplied by the segment height to obtain the segment volume; if the three-dimensional mesh method is used, the volume of the three-dimensional enclosed space within the segment at that depth is directly calculated.
[0113] This yields the layered volume sequence of the cavity along the depth direction. This layered volume sequence corresponds to the temperature sequence, pressure profile sequence, and gas density sequence of the distributed fiber optic thermometry system at the same depth grid, thus enabling mass integration calculation by layer segment.
[0114] Figure 4 A schematic diagram of an embodiment of a dynamic assessment device 200 for the gas storage capacity of a salt cavern gas storage facility provided by the present invention is shown. Figure 4 As shown, the dynamic assessment device 200 for the gas storage capacity of the salt cavern gas storage facility includes: The acquisition module 201 is used to acquire the wellbore parameters, three-dimensional morphological data of the cavity, gas composition, design storage capacity, design bottom gas volume, wellhead pressure, cavity bottom pressure, and temperature profile from wellhead to cavity bottom of the salt cavern gas storage. Processing module 202 is used to divide the wellbore and cavity of the salt cavern gas storage into multiple segments at fixed depth intervals, determine the effective volume of the wellbore and cavity in each segment according to the wellbore parameters and the three-dimensional morphology data of the cavity, add the effective volumes of the wellbore and cavity in the same segment as the effective volume of each segment, and determine the temperature of each segment according to the temperature profile. The recursive module 203 is used to iteratively calculate the pressure of each layer based on the temperature and gas composition of each layer, with the wellhead pressure as the upper boundary and the bottom pressure of the cavity as the lower boundary. During the iteration process, the gas density, gravity pressure difference and friction pressure difference are calculated based on the current pressure, and the pressure is recursively calculated layer by layer along the depth until the difference between the recursively obtained bottom pressure and the bottom pressure of the cavity satisfies the convergence condition. The calculation module 204 is used to calculate the gas density of each layer based on the pressure, temperature and gas composition of each layer, calculate the gas mass of each layer based on the gas density and effective volume of each layer, and sum the gas masses of all layers to obtain the total gas mass of the salt cavern gas storage. The evaluation module 205 is used to determine the standard density based on the gas composition, calculate the standard storage gas volume based on the total gas mass and the standard density, and calculate the injectable and recoverable gas volume of the salt cavern gas storage based on the standard storage gas volume, the design storage capacity, and the design bottom gas volume.
[0115] In one alternative approach, when iteratively calculating the pressure of each segment, the wellhead pressure is used as the starting pressure, and the obtained bottom cavity pressure is used as the convergence criterion; the convergence condition is that the absolute deviation between the recursively obtained bottom cavity pressure and the obtained bottom cavity pressure is less than a preset threshold.
[0116] In one optional embodiment, the wellbore parameters include well depth, wellbore inner diameter, tubing string structure, and effective flow cross-sectional area of the wellbore at each depth. The well depth is used to determine the wellbore's defined range, and the wellbore inner diameter and tubing string structure are used to determine the effective flow cross-sectional area of the wellbore at each depth. The processing module 202 is specifically used for: The effective volume of the wellbore in each segment is calculated based on the effective flow cross-sectional area of the wellbore at each depth and the fixed depth interval. Based on the three-dimensional morphological data of the cavity, the cavity is horizontally sliced at fixed depth intervals to obtain the layered volume of the cavity in each layer segment, and the layered volume of each layer segment is taken as the effective volume of the cavity in each layer segment.
[0117] In one alternative embodiment, the recursive module 203 is specifically used for: Pressure is applied layer by layer along the depth direction according to the following formula: in, For the first Pressure on each layer, For the pressure of the adjacent next layer, For the first Gas density in each layer, It is the acceleration due to gravity. For the first The depth step size of each segment, For the first Frictional pressure difference between each layer; When the deviation between the recursively obtained bottom cavity pressure and the acquired bottom cavity pressure does not meet the convergence condition, the deviation is distributed to each layer according to the depth ratio for pressure correction.
[0118] In an alternative approach, the frictional pressure difference is calculated according to the Darcy-Weisbach formula: in, This is the coefficient of friction direction. For the first The coefficient of friction of each layer, For the first The equivalent hydraulic diameter corresponding to each segment For the first The gas flow rate of each layer; the friction directional coefficient is positive under the gas injection condition and negative under the gas production condition.
[0119] In an alternative embodiment, the computing module 204 is specifically used for: Using the pressure, temperature, and gas composition of each segment as input parameters, the gas compressibility factor of each segment is obtained by solving the PR equation of state. The gas density of each segment is then calculated based on the gas compressibility factor, pressure, temperature, and gas composition of each segment.
[0120] In an alternative embodiment, the computing module 204 is specifically used for: The gas mass of each segment is obtained by multiplying the gas density of each segment by the effective volume of each segment. The gas masses of all layers are summed according to the following formula: in, The total mass of the gas. For the first Gas density in each layer, For the first The effective volume of each segment, This represents the total number of segments obtained from the division.
[0121] To better illustrate the technical solution of this embodiment, the following example is used for explanation: The dynamic assessment device for the gas storage capacity of a salt cavern gas storage facility includes a processor, a memory, a data interface, and a display output unit. The memory stores wellbore parameters, sonar cavity 3D point cloud data, design storage capacity, design bottom gas volume, and a calculation program for performing dynamic assessments of the gas storage capacity. The data interface receives temperature data from the distributed fiber optic temperature measurement system, wellhead pressure data, bottom cavity pressure data, gas composition data, and, if necessary, flow meter data. When the processor runs the calculation program, it executes the dynamic assessment method for the gas storage capacity.
[0122] The device functionally includes an acquisition module, a processing module, a recursive module, a calculation module, and an evaluation module. The acquisition module acquires wellbore parameters, 3D point cloud data, gas composition, design storage capacity, design bottom gas volume, and wellhead pressure, cavity bottom pressure, and temperature profile from wellhead to cavity bottom. The processing module establishes a uniform depth-layered model at fixed depth intervals, determines the effective volume of the wellbore and cavity in each layer, sums the effective volumes of the wellbore and cavity in the same layer as the effective volume of each layer, and determines the temperature of each layer based on the temperature profile. The recursive module iteratively calculates the pressure of each layer, using wellhead pressure as the upper boundary and cavity bottom pressure as the lower boundary, based on the temperature and gas composition of each layer. During the iteration, it calculates gas density, gravitational pressure difference, and frictional pressure difference based on the current pressure and recursively calculates the pressure layer by layer along the depth until the difference between the recursively obtained cavity bottom pressure and the cavity bottom pressure meets the convergence condition. The calculation module calculates the gas density of each layer based on its pressure, temperature, and gas composition; calculates the gas mass of each layer based on its gas density and effective volume; and sums the gas masses of all layers to obtain the total gas mass. The evaluation module determines the standard-condition density based on the gas composition; converts the total gas mass and standard-condition density to obtain the standard-condition gas storage volume; and calculates the injectable and recoverable gas volumes based on the standard-condition gas storage volume, design storage capacity, and design cushion gas volume.
[0123] The device can be connected to the existing data acquisition and monitoring control system, station control system or production scheduling system of the salt cavern gas storage facility to realize online display and data upload of dynamic assessment results of the gas inventory.
[0124] It should be noted that the beneficial effects of the dynamic assessment device 200 for the gas storage capacity of salt cavern gas storage provided in the above embodiments are the same as those of the dynamic assessment method for the gas storage capacity of salt cavern gas storage provided in the above embodiments, and will not be repeated here. Furthermore, the device provided in the above embodiments is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the device can be divided into different functional modules according to the actual situation to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiments, and will not be repeated here.
[0125] The dynamic assessment device 200 for the gas storage capacity of the salt cavern gas storage facility of the present invention can be a computer program (including program code) running on a computer device. For example, the dynamic assessment device 200 for the gas storage capacity of the salt cavern gas storage facility of the present invention is an application software that can be used to execute the corresponding steps in the dynamic assessment method for the gas storage capacity of the salt cavern gas storage facility of the present invention.
[0126] In some embodiments, the dynamic evaluation device 200 for the gas storage capacity of a salt cavern gas storage facility of the present invention can be implemented in a combination of hardware and software. As an example, the dynamic evaluation device 200 for the gas storage capacity of a salt cavern gas storage facility of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the dynamic evaluation method for the gas storage capacity of a salt cavern gas storage facility of the present invention. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0127] The modules described in the embodiments of this invention can be implemented in software or hardware. The names of the modules are not, in some cases, limiting the scope of the module itself.
[0128] An electronic device according to an embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements any of the above-mentioned methods for dynamically assessing the gas storage capacity of a salt cavern gas storage facility. That is, an electronic device according to an embodiment of the present invention may include, but is not limited to: a processor and a memory; the memory is used to store the computer program; the processor is used to execute the method for dynamically assessing the gas storage capacity of a salt cavern gas storage facility as shown in any embodiment of the present invention by calling the computer program.
[0129] In one alternative embodiment, an electronic device is provided, such as Figure 5 As shown, Figure 5The illustrated electronic device 4000 includes a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, for example, via a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 4004 is not limited to one type, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present invention.
[0130] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this invention. Processor 4001 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
[0131] Bus 4002 may include a path for transmitting information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 4002 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 5 The bus 4002 is represented by only one thick line, but this does not mean that there is only one bus or one type of bus.
[0132] The memory 4003 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.
[0133] The memory 4003 stores application code (computer program) for executing the present invention, and its execution is controlled by the processor 4001. The processor 4001 executes the application code stored in the memory 4003 to implement the content shown in the foregoing method embodiments.
[0134] Among them, electronic devices can also be terminal devices. A terminal device can be any terminal device that can install applications and access web pages through applications, including at least one of smartphones, tablets, laptops, desktop computers, smart speakers, smartwatches, smart TVs, and smart in-vehicle devices.
[0135] It should be noted that, Figure 5 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.
[0136] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the above-mentioned methods for dynamically assessing the gas storage capacity of a salt cavern gas storage facility.
[0137] Alternatively, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, a floppy disk, and an optical data storage device, etc.
[0138] In an exemplary embodiment, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the aforementioned method for dynamically assessing the gas storage capacity of a salt cavern gas storage facility.
[0139] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0140] It should be understood that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using dedicated hardware-based means to perform the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0141] The computer-readable storage medium provided in this invention can be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0142] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the method shown in the above embodiments.
[0143] The above description is merely a preferred embodiment of the present invention and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this invention is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-disclosed concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this invention.
[0144] It should be noted that the terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and represent a limitation on a specific order or sequence. Where appropriate, the order of use for similar objects can be interchanged so that the embodiments of this application described herein can be implemented in an order other than that shown or described.
[0145] Those skilled in the art will recognize that this invention can be implemented as an apparatus, method, or computer program product. Therefore, this invention can be specifically implemented in the following forms: it can be entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to herein as a "circuit," "module," or "apparatus." Furthermore, in some embodiments, this invention can also be implemented as a computer program product contained in one or more computer-readable media, which includes computer-readable program code.
[0146] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A method for dynamically assessing the gas storage capacity of a salt cavern gas storage facility, characterized in that, include: Obtain wellbore parameters, three-dimensional cavity morphology data, gas composition, design storage capacity, design bottom gas volume, wellhead pressure, cavity bottom pressure, and temperature profile from wellhead to cavity bottom of the salt cavern gas storage facility; The wellbore and cavity of the salt cavern gas storage are divided into multiple segments at fixed depth intervals. The effective volume of the wellbore and cavity in each segment is determined according to the wellbore parameters and the three-dimensional morphology data of the cavity. The effective volumes of the wellbore and cavity in the same segment are added together to obtain the effective volume of each segment. The temperature of each segment is determined according to the temperature profile. Using the wellhead pressure as the upper boundary and the bottom pressure as the lower boundary, the pressure of each segment is iteratively calculated based on the temperature and gas composition of each segment. During the iteration process, the gas density, gravity pressure difference and friction pressure difference are calculated based on the current pressure, and the pressure is recursively calculated layer by layer along the depth until the difference between the recursively calculated bottom pressure and the bottom pressure satisfies the convergence condition. The gas density of each layer is calculated based on the pressure, temperature and gas composition of each layer. The gas mass of each layer is calculated based on the gas density and effective volume of each layer. The total gas mass of the salt cavern gas storage is obtained by summing the gas masses of all layers. The standard density is determined based on the gas composition. The standard gas storage volume is calculated based on the total gas mass and the standard density. The injectable and extractable gas volumes of the salt cavern gas storage are calculated based on the standard gas storage volume, the designed storage capacity, and the designed bottom gas volume.
2. The method for dynamically assessing the gas storage capacity of a salt cavern gas storage facility according to claim 1, characterized in that, When iteratively calculating the pressure of each segment, the wellhead pressure is used as the starting pressure, and the obtained bottom cavity pressure is used as the convergence criterion; the convergence condition is that the absolute deviation between the recursively obtained bottom cavity pressure and the obtained bottom cavity pressure is less than a preset threshold.
3. The method for dynamically assessing the gas storage capacity of a salt cavern gas storage facility according to claim 1, characterized in that, The wellbore parameters include well depth, wellbore inner diameter, tubing string structure, and effective flow cross-sectional area of the wellbore at each depth. The well depth is used to determine the wellbore's division range, and the wellbore inner diameter and tubing string structure are used to determine the effective flow cross-sectional area of the wellbore at each depth. The step of determining the effective volume of the wellbore and cavity in each segment based on the wellbore parameters and the cavity's three-dimensional morphology data includes: The effective volume of the wellbore in each segment is calculated based on the effective flow cross-sectional area of the wellbore at each depth and the fixed depth interval. Based on the three-dimensional morphological data of the cavity, the cavity is horizontally sliced at fixed depth intervals to obtain the layered volume of the cavity in each layer segment, and the layered volume of each layer segment is taken as the effective volume of the cavity in each layer segment.
4. The method for dynamically assessing the gas storage capacity of a salt cavern gas storage facility according to claim 2, characterized in that, The steps for iteratively calculating the pressure of each segment include: Pressure is applied layer by layer along the depth direction according to the following formula: in, For the first Pressure on each layer, For the pressure of the adjacent next layer, For the first Gas density in each layer, It is the acceleration due to gravity. For the first The depth step size of each segment, For the first Frictional pressure difference between each layer; When the deviation between the recursively obtained bottom cavity pressure and the acquired bottom cavity pressure does not meet the convergence condition, the deviation is distributed to each layer according to the depth ratio for pressure correction.
5. The method for dynamically assessing the gas storage capacity of a salt cavern gas storage facility according to claim 4, characterized in that, The frictional pressure difference is calculated according to the Darcy-Weisbach formula: in, This is the coefficient of friction direction. For the first The coefficient of friction of each layer, For the first The equivalent hydraulic diameter corresponding to each segment For the first The gas flow rate of each layer; the friction directional coefficient is positive under the gas injection condition and negative under the gas production condition.
6. The method for dynamically assessing the gas storage capacity of a salt cavern gas storage facility according to claim 5, characterized in that, The steps for calculating the gas density of each segment based on the pressure, temperature, and gas composition of each segment include: Using the pressure, temperature, and gas composition of each segment as input parameters, the gas compressibility factor of each segment is obtained by solving the PR equation of state. The gas density of each segment is then calculated based on the gas compressibility factor, pressure, temperature, and gas composition of each segment.
7. The method for dynamically assessing the gas storage capacity of a salt cavern gas storage facility according to claim 6, characterized in that, The steps of calculating the gas mass of each layer based on the gas density and effective volume of each layer, and summing the gas masses of all layers to obtain the total gas mass of the salt cavern gas storage facility, include: The gas mass of each segment is obtained by multiplying the gas density of each segment by the effective volume of each segment. The gas masses of all layers are summed according to the following formula: in, The total mass of the gas. For the first Gas density in each layer, For the first The effective volume of each segment, This represents the total number of segments obtained from the division.
8. A device for dynamically assessing the gas storage capacity of a salt cavern gas storage facility, characterized in that, include: The acquisition module is used to acquire wellbore parameters, three-dimensional morphological data of the cavity, gas composition, design storage capacity, design bottom gas volume, wellhead pressure, cavity bottom pressure, and temperature profile from wellhead to cavity bottom of the salt cavern gas storage facility. The processing module is used to divide the wellbore and cavity of the salt cavern gas storage into multiple segments at fixed depth intervals, determine the effective volume of the wellbore and cavity in each segment according to the wellbore parameters and the three-dimensional morphology data of the cavity, add the effective volumes of the wellbore and cavity in the same segment as the effective volume of each segment, and determine the temperature of each segment according to the temperature profile. The recursive module is used to iteratively calculate the pressure of each segment based on the temperature and gas composition of each segment, with the wellhead pressure as the upper boundary and the bottom pressure of the cavity as the lower boundary. During the iteration process, the gas density, gravity pressure difference and friction pressure difference are calculated based on the current pressure, and the pressure is recursively calculated layer by layer along the depth until the difference between the recursively obtained bottom pressure and the bottom pressure of the cavity satisfies the convergence condition. The calculation module is used to calculate the gas density of each layer based on the pressure, temperature and gas composition of each layer, calculate the gas mass of each layer based on the gas density and effective volume of each layer, and sum the gas masses of all layers to obtain the total gas mass of the salt cavern gas storage. The evaluation module is used to determine the standard condition density based on the gas composition, calculate the standard condition gas storage volume based on the total gas mass and the standard condition density, and calculate the injectable and recoverable gas volume of the salt cavern gas storage based on the standard condition gas storage volume, the design storage capacity, and the design bottom gas volume.
9. An electronic device, characterized in that, The electronic device includes a processor coupled to a memory, the memory storing at least one computer program, which is loaded and executed by the processor to enable the electronic device to implement the dynamic assessment method for the gas storage capacity of a salt cavern gas storage facility as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer program, which, when executed by a processor, implements the dynamic assessment method for the gas storage capacity of a salt cavern gas storage facility as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Method for predicting natural gas inventory of salt-cavern gas storage reservoir
CN110104368A
Vertical pipe two-phase flow pressure calculation method and system suitable for gas storage
CN119962411A
