Gas storage full-period gas production process optimization method and system considering compressor energy consumption

Through the full-cycle gas extraction optimization method and system, combined with mathematical model and particle swarm optimization algorithm, the gas extraction stage is divided and the induction inlet and compressor are used for energy saving and boosting, which solves the high energy consumption of the compressor during the gas extraction process of the gas storage reservoir. The problem has achieved minimized energy consumption and improved gas extraction efficiency.

CN118933672APending Publication Date: 2024-11-12CHINA UNIV OF PETROLEUM (EAST CHINA)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411023164.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The prior art failed to effectively optimize the compressor energy consumption during gas extraction in the gas storage, resulting in high energy consumption and increased gas extraction costs.

Method used

The full-cycle gas extraction optimization method and system are adopted to obtain the number of days of gas extraction cycles and the full-cycle optimization mathematical model of the gas storage reservoir, determine the daily gas extraction volume of each single well, divide the gas extraction stages, and use the induction induced and compressor to save energy. Combined with the particle swarm optimization algorithm to optimize the compressor energy consumption.

Benefits of technology

On the basis of ensuring the gas production volume, it has achieved significantly reducing the energy consumption of the compressor, improving the gas production efficiency, reducing energy consumption and reducing the gas production cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118933672A_ABST
    Figure CN118933672A_ABST
Patent Text Reader

Abstract

The invention discloses a gas storage full-period gas production process optimization method and system considering compressor energy consumption. The method comprises the steps that the number of days of a gas production period is obtained; according to the number of days of the gas production period and the gas storage full-period gas production optimization mathematical model, the daily gas production amount of each single well in the gas production period of the gas storage is obtained, and the gas storage full-period gas production optimization mathematical model takes the minimum total energy consumption of a compressor in the gas production period as the target; taking a daily total gas production amount constraint, an accumulated gas production amount constraint of each single well and a gas production capacity constraint of each single well as constraint conditions; the total energy consumption of the compressor is equal to the sum of energy consumption of the compressor every day when gas production is in a compressor pressurization gas production stage; the gas production stage is determined according to the gas reservoir pressure of each single well; the gas reservoir pressure of each single well is determined according to the accumulated gas production amount of each single well. And when the daily gas production amount of each single well in the whole period of the gas storage is used for gas production, the energy consumption of the compressor is minimum.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of operation and energy-saving optimization of underground natural gas storage, and in particular to a method and system for optimizing the full-cycle gas production process of a gas storage taking into account the energy consumption of a compressor. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] In the early days, gas storage facilities did not conduct pressurization production during gas production. However, as the management level improved and the demand for external gas production increased, many gas storage facilities began to consider pressurizing the gas production at the end to increase gas production. The most common method of pressurizing gas production is to start the compressor to increase pressure. In addition, many gas fields use ejectors to increase the pressure and increase production of low-pressure gas wells in the later stages of development. Therefore, the application of ejectors in gas fields can be referred to and ejectors can be used to pressurize gas production.

[0004] The ejector is different from the compressor. It can increase the pressure of low-pressure gas without increasing power consumption. Its principle is to convert the enthalpy of high-pressure gas into kinetic energy in the receiving chamber, and use the diffusion effect of the high-pressure jet to eject the low-pressure gas into the mixing chamber, and realize momentum exchange, and finally form a mixed gas between the pressures of the two. The ejector has a simple structure and no moving parts in the device. The gas passes through the ejector, and the flow rate and temperature of the mixed gas are relatively uniform, and the transportation process is stable and reliable. Therefore, in the gas storage gas production process, the ejector is introduced, and the high-pressure well is used to eject the low-pressure well, which can not only realize the pressurized production of low-pressure gas wells, but also reduce the throttling loss of high-pressure wells, reduce the energy consumption of external compressors, and reduce production costs.

[0005] As the gas production in the gas storage enters the later stage, the pressure of each single well is lower than the external transmission pressure. At this time, the external transmission compressor needs to be turned on to increase the pressure to maintain normal gas production. During the gas injection process of the gas storage, many researchers have proposed various gas injection optimization methods by studying the operating characteristics of the gas injection process to minimize the energy consumption of the gas injection compressor. However, none of them considers the energy consumption of the compressor during gas production, and cannot minimize the energy consumption of the compressor on the basis of ensuring the gas production volume. Summary of the invention

[0006] In order to solve the above problems, the present invention proposes a method and system for optimizing the full-cycle gas production process of a gas storage reservoir taking into account the energy consumption of the compressor, and determines the gas production process to minimize the energy consumption of the compressor.

[0007] To achieve the above object, the present invention adopts the following technical solution:

[0008] First, a method for optimizing the gas production process of a gas storage facility in the entire cycle considering the energy consumption of the compressor is proposed, including:

[0009] Get the number of days of gas production cycle;

[0010] According to the number of days in the gas production cycle and the mathematical model for optimizing gas production in the whole cycle of the gas storage, the daily gas production of each single well in the gas production cycle of the gas storage is obtained. Among them, the mathematical model for optimizing gas production in the whole cycle of the gas storage takes the minimum total energy consumption of the compressor in the gas production cycle as the goal, and takes the daily total gas production constraint, the cumulative gas production constraint of each single well and the gas production capacity constraint of each single well as the constraint conditions; the total energy consumption of the compressor is equal to the sum of the daily compressor energy consumption when the gas production is in the compressor boosting gas production stage; the gas production stage is determined according to the gas reservoir pressure of each single well; the gas reservoir pressure of each single well is determined according to the cumulative gas production of each single well.

[0011] Furthermore, the gas production stage includes a normal gas production stage, an ejection gas production stage, and a compressor boosting gas production stage;

[0012] When the gas reservoir pressure of each single well is higher than the external transmission pressure, the gas production stage is the normal gas production stage; when the gas reservoir pressure of each single well is lower than the external transmission pressure, the gas production stage is the compressor boosting gas production stage; when the gas reservoir pressure of each single well is a value other than the gas reservoir pressure corresponding to the normal gas production stage and the compressor boosting gas production stage, the gas production stage is the injection gas production stage.

[0013] Furthermore, during the normal gas production stage and the induced gas production stage, the compressor does not consume any energy.

[0014] Furthermore, the daily compressor energy consumption is determined based on the compressor inlet pressure, outlet pressure and gas flow rate on that day.

[0015] Furthermore, the inlet pressure of the compressor is determined according to the gas reservoir pressure of each single well.

[0016] Furthermore, an improved particle swarm optimization algorithm is used to process the days of the gas production cycle and the mathematical model of gas production optimization for the entire gas storage cycle to determine the daily gas production of each single well in the entire gas storage cycle.

[0017] Secondly, a full-cycle gas production process optimization system for gas storage considering compressor energy consumption is proposed, including:

[0018] An acquisition module is used to obtain the number of days in the gas production cycle;

[0019] The processing module is used to obtain the daily gas production of each single well in the gas production cycle of the gas storage reservoir according to the number of days in the gas production cycle and the mathematical model for optimizing gas production in the whole cycle of the gas storage reservoir, wherein the mathematical model for optimizing gas production in the whole cycle of the gas storage reservoir takes the minimum total energy consumption of the compressor in the gas production cycle as the goal, and takes the daily total gas production constraint, the cumulative gas production constraint of each single well and the gas production capacity constraint of each single well as the constraint conditions; the total energy consumption of the compressor is equal to the sum of the daily compressor energy consumption when the gas production is in the compressor boosting gas production stage; the gas production stage is determined according to the gas reservoir pressure of each single well; the gas reservoir pressure of each single well is determined according to the cumulative gas production of each single well.

[0020] In the third aspect, an electronic device is proposed, including a memory and a processor, and computer instructions stored in the memory and running on the processor. When the computer instructions are executed by the processor, the steps described in the method for optimizing the full-cycle gas production process of a gas storage reservoir taking into account the energy consumption of the compressor are completed.

[0021] In a fourth aspect, a computer-readable storage medium is proposed for storing computer instructions, which, when executed by a processor, complete the steps described in the method for optimizing the full-cycle gas production process of a gas storage reservoir taking into account the energy consumption of a compressor.

[0022] In a fifth aspect, a computer program product is proposed, which includes a computer program. When the computer program is executed by a processor, the steps described in the method for optimizing the full-cycle gas production process of a gas storage reservoir taking into account the energy consumption of the compressor are implemented.

[0023] Compared with the prior art, the present invention has the following beneficial effects:

[0024] 1. When determining the daily gas production of each single well in the full cycle of the gas storage, the present invention calculates and obtains it with the goal of minimizing the total energy consumption of the compressor within the gas production cycle. When gas is produced according to the daily gas production of each single well, the energy consumption of the compressor is minimized.

[0025] 2. The present invention aims to minimize the total energy consumption of the compressor during the gas production cycle. When determining the daily gas production of each single well during the gas production cycle of the gas storage reservoir, the gas reservoir pressure of each single well is determined based on the cumulative gas production of each single well; the gas production stage is determined based on the gas reservoir pressure of each single well; it is limited to the normal gas production stage and the injection gas production stage, and the compressor does not generate energy consumption. The compressor only generates energy consumption when the gas production is in the compressor boosting gas production stage, thereby further ensuring that the energy consumption of the compressor is minimized.

[0026] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The drawings in the specification, which constitute a part of the present application, are used to provide further understanding of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.

[0028] Figure 1 A flow chart of a method is disclosed for an embodiment. DETAILED DESCRIPTION

[0029] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0030] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0031] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0032] Example 1

[0033] In this embodiment, a method for optimizing the gas production process of a gas storage reservoir in the whole cycle considering the energy consumption of the compressor is disclosed. Figure 1 As shown, including:

[0034] S1: Get the number of days of the gas production cycle.

[0035] S2: According to the number of days in the gas production cycle and the mathematical model for optimizing gas production in the whole cycle of the gas storage, the daily gas production of each single well in the gas production cycle of the gas storage is obtained. Among them, the mathematical model for optimizing gas production in the whole cycle of the gas storage takes the minimum total energy consumption of the compressor in the gas production cycle as the goal, and takes the daily total gas production constraint, the cumulative gas production constraint of each single well and the gas production capacity constraint of each single well as the constraint conditions; the total energy consumption of the compressor is equal to the sum of the daily compressor energy consumption when the gas production is in the compressor boosting gas production stage; the gas production stage is determined according to the gas reservoir pressure of each single well; the gas reservoir pressure of each single well is determined according to the cumulative gas production of each single well.

[0036] The full-cycle gas production optimization mathematical model of the gas storage constructed in this embodiment aims to minimize the total energy consumption of the compressor during the gas production cycle. The specific objective function is:

[0037]

[0038] In the above formula, F represents the total energy consumption of the compressor during the gas production cycle, kWh, which is equal to the sum of the compressor energy consumption per day when the gas production is in the compressor boosting gas production stage; t represents the gas production time, d; t max Indicates the number of days of gas production cycle, d; W t represents the compressor energy consumption on day t, in kWh.

[0039] Among them, the daily compressor energy consumption is determined based on the compressor's inlet pressure, outlet pressure and gas flow rate on that day.

[0040] Preferably, this embodiment simulates the compressor according to the inlet pressure, outlet pressure and gas flow rate of the compressor to determine the daily energy consumption of the compressor.

[0041] In some embodiments, an external input compressor simulation model is established based on the parameters of the external input compressor, the daily inlet pressure, outlet pressure and gas flow of the compressor are input into the external input compressor simulation model, and the daily compressor energy consumption is output.

[0042] In some embodiments, the energy consumption of the compressor is determined by a thermodynamic calculation method based on the daily inlet pressure, outlet pressure and gas flow of the compressor.

[0043] The parameters of the external transmission compressor include the stroke of the compressor, the number of cylinder stages, the diameter of each cylinder stage, the design speed and the intake temperature of each cylinder stage.

[0044] In order to further reduce energy consumption and ensure that the total energy consumption of the compressor is minimized during the gas production cycle, this embodiment divides the gas production cycle of the gas storage reservoir into gas production stages, and the gas production stage is determined according to the gas reservoir pressure of each single well; the gas reservoir pressure of each single well is determined according to the cumulative gas production of each single well.

[0045] In some embodiments, the gas production stage includes a normal gas production stage, an ejection gas production stage and a compressor boost gas production stage; in the normal gas production stage, the gas reservoir pressure of each well is higher than the external transmission pressure, and normal gas production can be performed without boosting; in the ejection gas production stage, the gas reservoir pressures of each well are greatly different, and high-pressure gas wells can be used to eject low-pressure gas wells for gas production; in the compressor boost gas production stage, the gas reservoir pressures of each well are lower than the external transmission pressure, and in the compressor boost gas production stage, an ejector is used to boost the pressure of the low-pressure gas, and the ejector is first used to boost the pressure, and then the compressor is started to further boost the pressure to the external transmission pressure for gas production.

[0046] Taking 13 single wells with an external transmission pressure of 8MPa as an example, the three gas production stages are explained: the normal gas production stage is from the beginning of the gas production cycle to the time when the gas reservoir pressure of 3 single wells is not less than 11MPa, and the gas reservoir pressure of the remaining 10 single wells drops to the external transmission pressure of 8MPa; the injection gas production stage is from the end of the normal gas production stage to the time when the pressure of each single well is lower than the external transmission pressure of 8MPa; the compressor boosting gas production stage is from the end of the injection gas production stage to the end of the gas production cycle.

[0047] In some embodiments, the process of determining the gas production stage according to the gas reservoir pressure of each single well includes:

[0048] When the gas reservoir pressure of each single well is higher than the external transmission pressure, the gas production stage is the normal gas production stage; when the gas reservoir pressure of each single well is lower than the external transmission pressure, the gas production stage is the compressor boosting gas production stage; when the gas reservoir pressure of each single well is a value other than the gas reservoir pressure corresponding to the normal gas production stage and the compressor boosting gas production stage, the gas production stage is the injection gas production stage.

[0049] In some embodiments, the gas reservoir pressure of each single well is determined based on the cumulative gas production of each single well and the known functional relationship between the cumulative gas production and the gas reservoir pressure. The cumulative gas production of each single well here is the sum of the daily gas production of all gas production days of each single well before calculating the gas reservoir pressure.

[0050] The functional relationship between the cumulative gas production and the reservoir pressure is determined in advance based on the data collected in the early stage.

[0051] The data collected in the early stage include the actual cumulative gas production of a single well and the corresponding gas reservoir pressure; the actual cumulative gas production and the corresponding gas reservoir pressure are analyzed by the least squares method to obtain the functional relationship between the cumulative gas production of a single well and the gas reservoir pressure.

[0052] In some implementations, the cumulative gas production of each single well and the corresponding gas reservoir pressure are collected on-site; the collected cumulative gas production and gas reservoir pressure are preprocessed to remove abnormal values; and the preprocessed data are analyzed using the least squares method to obtain the functional relationship between the cumulative gas production of each single well in the gas storage and the gas reservoir pressure.

[0053] In some embodiments, the compressor energy consumption per day is determined based on the compressor inlet pressure, outlet pressure, and gas flow rate on that day.

[0054] Since the compressor is only used for boosting gas production during the compressor boosting gas production stage, the compressor only generates energy consumption during the compressor boosting gas production stage; the compressor does not generate energy consumption during the normal gas production stage and the induced gas production stage, that is, at this time, the compressor inlet pressure, outlet pressure and gas flow are all 0, and the corresponding compressor energy consumption is 0.

[0055] The inlet pressure of the compressor is determined according to the gas reservoir pressure of the single well, the outlet pressure is determined according to the external transmission pressure, and the gas flow rate is determined according to the gas production volume of the day; and when determining the inlet pressure, outlet pressure and gas flow rate of the compressor during the compressor boosting gas production stage, the influence of the ejector boosting is considered.

[0056] During the specific gas production, the reservoir pressure of each single well continues to decrease, and the reservoir pressure of each single well is different. Therefore, the compressor inlet pressure on that day is determined comprehensively based on the reservoir pressure of the single wells opened on that day, and is generally set as the pressure value of the well with the lowest pressure.

[0057] Since natural gas needs to reach a certain pressure value before leaving the storage, the outlet pressure is the pressure of natural gas leaving the gas storage reservoir, which is generally a fixed value and is limited to 8MPa in this embodiment; the gas flow rate is determined according to the daily gas production volume of the day;

[0058] When an ejector is used for gas production, the pressure of the gas produced from the ejector well will increase, which will cause the inlet pressure of the compressor to increase, and ultimately reduce the energy consumption of the compressor.

[0059] In some embodiments, the ejection relationship between high-pressure wells and low-pressure wells is determined based on the gas reservoir pressure, cumulative gas production and other production data of each single well in the gas storage reservoir, and the design parameters of the ejector are determined based on the gas production rules of the high-pressure wells and low-pressure wells and the demand for gas transmission.

[0060] For example, the ejection relationship of the gas storage reservoir and the ejector wells is as follows: Well 2 ejects Well 4, Well 9 ejects Well 7, and Well 12 ejects Well 13. The design ejection ratio and ejector parameters are determined based on the high-pressure gas inlet pressure and inlet flow rate, and the low-pressure gas inlet pressure and inlet flow rate.

[0061] The mathematical model for optimizing gas production in the whole cycle of a gas storage reservoir is based on the constraints of total daily gas production, cumulative gas production of each well and gas production capacity of each well.

[0062] Among them, the daily gas production constraint is:

[0063]

[0064] In the above formula, Q t represents the total daily gas production on day t, 10 4 m 3 / d;q j,t represents the daily gas production of the jth well on the tth day, 10 4 m 3 / d.

[0065] The cumulative gas production constraint of each single well is:

[0066]

[0067] In the above formula, represents the cumulative gas production of the jth single well during the gas production cycle, 10 4 m 3 / d;Q j,max represents the maximum gas production of the jth single well, 10 4 m 3 / d.

[0068] The gas production capacity constraints of each single well are:

[0069] q j,t , ,q j,max

[0070] In the above formula, q j,t represents the daily gas production of the jth well on the tth day, 10 4 m 3 / d;q j,max represents the maximum daily gas production of the jth single well, 10 4 m 3 / d.

[0071] The decision variable of the mathematical model for optimizing gas production in the whole cycle of gas storage is Q:

[0072]

[0073] In the above formula, Q represents the daily gas production matrix of each single well; q j,t It represents the daily gas production of well j on day t; j represents the well number; t represents the time.

[0074] In some embodiments, an improved particle swarm optimization algorithm is used to process the gas production optimization mathematical model of the gas storage reservoir throughout the gas production cycle and the gas production data of each single well in the gas storage reservoir during the gas production cycle to determine the daily gas production of each single well in the gas storage reservoir throughout the gas production cycle.

[0075] The parameters of the improved particle swarm optimization algorithm are as follows: the population size is set to 200, the number of iterations is set to 5000, the number of days of gas production cycle is set to 150 days, the particle dimension is 1950, the maximum movement speed of each dimension is set to 30, the inertia factor is set to [1.4, 0.7], the individual learning factor is set to [2.5, 0.5], and the group learning factor is set to [0.5, 2.5]. The three factors change with the iteration process: the inertia factor gradually decreases from 1.4 to 0.7 with the iteration process, the individual learning factor gradually decreases from 2.5 to 0.5 with the iteration process, and the group learning factor gradually increases from 0.5 to 2.5 with the iteration process.

[0076] The process of the improved particle swarm optimization algorithm is as follows: initialize particle swarm parameters, initialize particle position, speed, and optimal fitness value, iteratively update particle speed, position, optimal fitness value, and particle swarm parameters, and output the optimal solution after the iteration. The optimal solution is the daily gas production of each single well in the entire cycle of the gas storage.

[0077] Taking the gas storage mentioned above as an example, the daily gas production of each single well in the whole cycle of the gas storage is solved by the improved particle swarm optimization algorithm. Under this scheme, the total gas production reaches 197.55 million cubic meters, and the energy consumption of the compressor is only 69866.89 kwh.

[0078] The present embodiment discloses a method for optimizing the gas production process of a gas storage reservoir throughout its entire cycle that takes into account the energy consumption of the compressor. The method is calculated with the goal of minimizing the total energy consumption of the compressor within the gas production cycle, and the daily gas production of each single well during the entire cycle of the gas storage reservoir is determined. When gas is produced according to the daily gas production of each single well, the energy consumption of the compressor is minimized, the gas production efficiency is improved, the cumulative gas production is increased, and the energy consumption is reduced.

[0079] When determining the daily gas production of each single well in the full cycle of the gas storage, this embodiment introduces an ejector into the gas production process of the gas storage, uses the high-pressure well to eject the low-pressure well, realizes the pressurized production of the low-pressure well, reduces the energy waste of the high-pressure well, and further reduces the energy consumption of the compressor, providing a scientific method for enterprises in the actual production process. The gas production process of the gas storage is divided into three stages, and the improved particle swarm optimization algorithm is used, combined with the difference in compressor energy consumption in the three stages, to obtain the daily gas production of each single well in the full cycle of the gas storage, which saves energy and reduces consumption for enterprises in the actual production process.

[0080] Example 2

[0081] In this embodiment, a gas storage full-cycle gas production process optimization system considering compressor energy consumption is disclosed, including:

[0082] An acquisition module is used to obtain the number of days in the gas production cycle;

[0083] The processing module is used to obtain the daily gas production of each single well in the gas production cycle of the gas storage reservoir according to the number of days in the gas production cycle and the mathematical model for optimizing gas production in the whole cycle of the gas storage reservoir, wherein the mathematical model for optimizing gas production in the whole cycle of the gas storage reservoir takes the minimum total energy consumption of the compressor in the gas production cycle as the goal, and takes the daily total gas production constraint, the cumulative gas production constraint of each single well and the gas production capacity constraint of each single well as the constraint conditions; the total energy consumption of the compressor is equal to the sum of the daily compressor energy consumption when the gas production is in the compressor boosting gas production stage; the gas production stage is determined according to the gas reservoir pressure of each single well; the gas reservoir pressure of each single well is determined according to the cumulative gas production of each single well.

[0084] Example 3

[0085] In this embodiment, an electronic device is disclosed, including a memory and a processor, and computer instructions stored in the memory and running on the processor. When the computer instructions are executed by the processor, the steps described in the method for optimizing the full-cycle gas production process of a gas storage reservoir considering the energy consumption of the compressor disclosed in Example 1 are completed.

[0086] Example 4

[0087] In this embodiment, a computer-readable storage medium is disclosed for storing computer instructions. When the computer instructions are executed by a processor, the steps described in the method for optimizing the full-cycle gas production process of a gas storage reservoir considering the energy consumption of the compressor disclosed in Example 1 are completed.

[0088] Example 5

[0089] In this embodiment, a computer program product is disclosed, which includes a computer program. When the computer program is executed by a processor, the steps described in the method for optimizing the full-cycle gas production process of a gas storage reservoir taking into account the energy consumption of the compressor are implemented.

[0090] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. Optimization method of gas production process in the whole cycle of gas storage considering compressor energy consumption, It is characterized in that include: Get the number of days of gas production cycle; According to the number of days in the gas production cycle and the mathematical model for optimizing gas production in the whole cycle of the gas storage, the daily gas production of each single well in the gas production cycle of the gas storage is obtained. Among them, the mathematical model for optimizing gas production in the whole cycle of the gas storage takes the minimum total energy consumption of the compressor in the gas production cycle as the goal, and takes the daily total gas production constraint, the cumulative gas production constraint of each single well and the gas production capacity constraint of each single well as the constraint conditions; the total energy consumption of the compressor is equal to the sum of the daily compressor energy consumption when the gas production is in the compressor boosting gas production stage; the gas production stage is determined according to the gas reservoir pressure of each single well; the gas reservoir pressure of each single well is determined according to the cumulative gas production of each single well.

2. The method for optimizing the full-cycle gas production process of a gas storage taking into account the energy consumption of the compressor as claimed in claim 1, It is characterized in that The gas production stages include normal gas production stage, induced gas production stage and compressor boosted gas production stage; When the reservoir pressure of each single well is higher than the external transmission pressure, the gas production stage is the normal gas production stage; when the reservoir pressure of each single well is lower than the external transmission pressure, the gas production stage is the compressor boosting gas production stage; when the reservoir pressure of each single well is a value other than the reservoir pressure corresponding to the normal gas production stage and the compressor boosting gas production stage, the gas production stage is the injection gas production stage.

3. The method for optimizing the gas production process of a gas storage reservoir in the whole cycle considering the energy consumption of the compressor as claimed in claim 2, It is characterized in that During the normal gas production stage and the induced gas production stage, the compressor does not consume any energy.

4. The method for optimizing the full-cycle gas production process of a gas storage taking into account the energy consumption of the compressor as claimed in claim 1, It is characterized in that The daily compressor energy consumption is determined based on the compressor inlet pressure, outlet pressure and gas flow rate on that day.

5. The method for optimizing the gas production process of a gas storage reservoir in the whole cycle considering the energy consumption of the compressor as claimed in claim 1, It is characterized in that The inlet pressure of the compressor is determined according to the gas reservoir pressure of each single well.

6. The method for optimizing the gas production process of a gas storage reservoir in the whole cycle considering the energy consumption of the compressor as claimed in claim 5, It is characterized in that The improved particle swarm optimization algorithm is used to process the days of gas production cycle and the mathematical model of gas production optimization in the whole cycle of gas storage, and the daily gas production of each single well in the whole cycle of gas storage is determined.

7. Full-cycle gas production process optimization system for gas storage considering compressor energy consumption, It is characterized in that include: An acquisition module is used to obtain the number of days in the gas production cycle; The processing module is used to obtain the daily gas production of each single well in the gas production cycle of the gas storage reservoir according to the number of days in the gas production cycle and the mathematical model for optimizing gas production in the whole cycle of the gas storage reservoir, wherein the mathematical model for optimizing gas production in the whole cycle of the gas storage reservoir takes the minimum total energy consumption of the compressor in the gas production cycle as the goal, and takes the daily total gas production constraint, the cumulative gas production constraint of each single well and the gas production capacity constraint of each single well as the constraint conditions; the total energy consumption of the compressor is equal to the sum of the daily compressor energy consumption when the gas production is in the compressor boosting gas production stage; the gas production stage is determined according to the gas reservoir pressure of each single well; the gas reservoir pressure of each single well is determined according to the cumulative gas production of each single well.

8. An electronic device, It is characterized in that The method comprises a memory and a processor and computer instructions stored in the memory and executed on the processor. When the computer instructions are executed by the processor, the steps of the method for optimizing the full-cycle gas production process of a gas storage taking into account the energy consumption of the compressor as described in any one of claims 1 to 6 are completed.

9. A computer-readable storage medium, It is characterized in that Used to store computer instructions, which, when executed by a processor, complete the steps of the method for optimizing the full-cycle gas production process of a gas storage reservoir taking into account the energy consumption of the compressor as described in any one of claims 1-6.

10. A computer program product, It is characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, the steps described in the method for optimizing the full-cycle gas production process of a gas storage reservoir taking into account the energy consumption of the compressor as described in any one of claims 1-6 are implemented.