A method and device for determining system parameters of a natural gas recovery system
By using particle swarm optimization to determine the system parameters of the natural gas recovery system, the problem of selecting and matching passive recovery devices in gas plants has been solved, enabling efficient and economical recovery in gas plants of different sizes and meeting the needs of flexible applications.
Patent Information
- Application Number
- CN202310169296.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-14
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2043-02-14
AI Technical Summary
The existing passive natural gas recovery devices at gas stations lack a unified selection method, making it difficult to quickly and accurately select the appropriate recovery device based on the actual parameters of the specific gas station. This makes it impossible to determine whether the selected recovery device is the optimal choice, resulting in both an inability to control costs and a difficulty in ensuring recovery efficiency.
The particle swarm optimization algorithm is used to determine the system parameters of the natural gas recovery system. By obtaining particle boundary conditions, evaluating the fitness model and setting the particle swarm parameters, iterative calculations are performed to determine the optimal system parameters, enabling flexible application to gas plants of different sizes.
While controlling costs, it ensures high natural gas recovery efficiency, solves the problem of designing reasonable system parameters for different gas stations, and achieves application flexibility and economy.
Smart Images

Figure CN116307131B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of natural gas recovery, and in particular to a method and device for determining system parameters of a natural gas recovery system. Background Art
[0002] In the passive recovery devices of existing gas stations, as the number or volume of cascade recovery tanks increases, the amount of released natural gas recovered will increase accordingly, but the cost of the recovery device will also increase accordingly, and different gas plants have different scales, and the amount of released natural gas that needs to be recovered is also different. There is no unified selection method for the existing related released natural gas recovery technology, and it is difficult to quickly and accurately select the recovery device and its model according to the actual parameters of the specific gas plant. There is a problem that it is impossible to judge whether the selected recovery device is the best choice from the perspective of economic benefit or environmental friendliness. There is an urgent need for a widely applicable passive multi-stage natural gas recovery device design optimization method that can be flexibly applied to different gas plants, while controlling costs. Ensure recovery efficiency, and be easy to promote and use. Summary of the invention
[0003] The present application provides a method and device for determining system parameters of a natural gas recovery system, so as to achieve the optimization goal of controlling the device cost of the natural gas recovery system and ensuring a high recovery efficiency of the natural gas recovery system. The natural gas recovery system can be flexibly applied to different gas plants and stations, that is, for gas stations of different sizes, the optimal solution of the device of the corresponding natural gas recovery system (that is, the target system parameters of the natural gas recovery system) can be solved according to given actual data, thereby achieving flexible application; thereby solving the problem that it is difficult to design reasonable system parameters of the natural gas recovery system while controlling costs and ensuring recovery efficiency in different gas plants and stations.
[0004] In a first aspect, the present application provides a method for determining system parameters of a natural gas recovery system, the method comprising:
[0005] Obtaining particle boundary conditions of a natural gas recovery system, an evaluation fitness model corresponding to the natural gas recovery system, and preset particle swarm parameters; wherein the evaluation fitness model corresponding to the natural gas recovery system is determined according to evaluation system parameters and preset system parameters corresponding to the natural gas recovery system;
[0006] According to the example boundary conditions of the natural gas recovery system and the preset particle swarm parameters, a particle swarm iterative calculation is performed on the evaluation fitness model corresponding to the natural gas recovery system to obtain several candidate system parameter schemes and the fitness value corresponding to each candidate system parameter scheme;
[0007] According to the fitness value corresponding to each candidate system parameter scheme, the target system parameters of the natural gas recovery system are determined from the candidate system parameter schemes.
[0008] In a second aspect, the present application provides a system parameter determination device for a natural gas recovery system, the device comprising:
[0009] An acquisition unit, used to acquire particle boundary conditions of a natural gas recovery system, an evaluation fitness model corresponding to the natural gas recovery system, and preset particle swarm parameters; wherein the evaluation fitness model corresponding to the natural gas recovery system is determined according to evaluation system parameters and preset system parameters corresponding to the natural gas recovery system;
[0010] A calculation unit, configured to perform particle swarm iterative calculation on an evaluation fitness model corresponding to the natural gas recovery system according to the example boundary conditions of the natural gas recovery system and the preset particle swarm parameters, to obtain a plurality of candidate system parameter schemes and a fitness value corresponding to each candidate system parameter scheme;
[0011] A determination unit is used to determine the target system parameters of the natural gas recovery system from the candidate system parameter solutions according to the fitness value corresponding to each candidate system parameter solution.
[0012] In a third aspect, the present application provides a readable medium comprising execution instructions. When a processor of an electronic device executes the execution instructions, the electronic device executes any method as described in the first aspect.
[0013] In a fourth aspect, the present application provides an electronic device, comprising a processor and a memory storing execution instructions, wherein when the processor executes the execution instructions stored in the memory, the processor executes any method described in the first aspect.
[0014] It can be seen from the above technical scheme that the present application can first obtain the particle boundary conditions of the natural gas recovery system, the evaluation fitness model corresponding to the natural gas recovery system, and the preset particle swarm parameters; wherein the evaluation fitness model corresponding to the natural gas recovery system is determined according to the evaluation system parameters and preset system parameters corresponding to the natural gas recovery system; according to the example boundary conditions of the natural gas recovery system and the preset particle swarm parameters, the evaluation fitness model corresponding to the natural gas recovery system is subjected to particle swarm iterative calculation to obtain several candidate system parameter schemes and the fitness value corresponding to each candidate system parameter scheme; according to the fitness value corresponding to each candidate system parameter scheme, the target system parameters of the natural gas recovery system are determined from the several candidate system parameter schemes. It can be seen that the present application can determine the target system parameters of the natural gas recovery system by using the particle swarm algorithm based on the particle boundary conditions of the natural gas recovery system, the evaluation fitness model corresponding to the natural gas recovery system, and the preset particle swarm parameters; in this way, it is possible to calculate a set of optimal recovery device design schemes (i.e., the target system parameters of the natural gas recovery system) based on the specific parameter solution of the gas released after the gas station operation (i.e., the particle boundary conditions of the natural gas recovery system, the evaluation fitness model corresponding to the natural gas recovery system, and the preset particle swarm parameters), so as to achieve the optimization goal of controlling the device cost of the natural gas recovery system and ensuring the high recovery efficiency of the natural gas recovery system. In this way, the natural gas recovery system can be flexibly applied to different gas plants and stations, that is, for gas plants of different sizes, the optimal solution of the device of the corresponding natural gas recovery system (i.e., the target system parameters of the natural gas recovery system) can be solved according to the given actual data, so as to achieve flexible application; and thus solve the problem that it is difficult to design reasonable system parameters of the natural gas recovery system while controlling costs and ensuring recovery efficiency under different gas plants and stations.
[0015] The further effects of the above-mentioned non-conventional preferred manner will be described below in conjunction with specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present application or the existing technical solutions, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0017] Figure 1 A schematic diagram of the structure of a natural gas recovery system for this application;
[0018] Figure 2A flow chart of a method for determining system parameters of a natural gas recovery system according to the present application;
[0019] Figure 3 A schematic diagram of the structure of a system parameter determination device for a natural gas recovery system provided in one embodiment of the present application;
[0020] Figure 4 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0022] Various non-limiting implementations of the present application are described in detail below in conjunction with the accompanying drawings.
[0023] In this embodiment, the method can be applied to Figure 1 The natural gas recovery system shown in the figure. Figure 1 , a natural gas recovery system in an embodiment of the present application is shown, and the system comprises a natural gas release pipeline 110 of a station, a main valve 120 , a plurality of natural gas recovery tanks 130 , an outlet valve 140 , and a release gas outlet 150 .
[0024] One end of the station natural gas release pipeline 110 is connected to the natural gas source through the main valve 120, and the other end of the station natural gas release pipeline 110 is connected to the dissolved gas outlet 150 through the outlet valve 140. In one implementation, the natural gas source can be understood as the natural gas discharge port of the gas plant after the natural gas release operation is completed. It can be understood that one end of the station natural gas release pipeline 110 is connected to the natural gas source through the main valve 120, that is, the main valve 120 can be used to control whether the natural gas discharged from the natural gas source can enter the station natural gas release pipeline 110. If the main valve 120 is in an open state, the natural gas discharged from the natural gas source can be controlled by the main valve 120 to enter the station natural gas release pipeline 110. If the main valve 120 is in a closed state, the natural gas discharged from the natural gas source can be controlled by the main valve 120 to not enter the station natural gas release pipeline 110. The other end of the site natural gas release pipeline 110 is connected to the dissolution gas outlet 150 through an outlet valve 140. It can be understood that the other end of the site natural gas release pipeline 110 is connected to the dissolution gas outlet 150 through the outlet valve 140, and the dissolution gas outlet 150 can be understood as an outlet for discharging unrecovered natural gas in the site natural gas release pipeline 110 to the outside; that is, the outlet valve 140 can be used to control whether the natural gas in the site natural gas release pipeline 110 can be discharged to the outside through the dissolution gas outlet 150. If the outlet valve 140 is in an open state, the outlet valve 140 can be used to control the natural gas in the site natural gas release pipeline 110 to be discharged to the outside through the dissolution gas outlet 150. If the outlet valve 140 is in a closed state, the outlet valve 140 can be used to control the natural gas in the site natural gas release pipeline 110 to not be discharged to the outside through the dissolution gas outlet 150.
[0025] The multiple natural gas recovery tanks 130 are connected in parallel with the station natural gas release pipeline 110, that is, each natural gas recovery tank 130 is connected to the station natural gas release pipeline 110 individually, and each natural gas recovery tank 130 is independently connected to the station natural gas release pipeline 110, which will not affect other natural gas recovery tanks 130. In one implementation, the multiple natural gas recovery tanks 130 can be connected to the station natural gas release pipeline 110 in a comb shape, that is, the multiple natural gas recovery tanks 130 can be arranged in sequence in the form of a queue and connected to the station natural gas release pipeline 110. Figure 1As shown, multiple natural gas recovery tanks 130 are arranged horizontally from the main valve 120 near the dissolution gas outlet 150 to the outlet valve 140. It should be noted that, in one implementation, each natural gas recovery tank 130 can be disconnected from the natural gas release pipe of the station, so that the natural gas recovery tank 130 can be used alone or the natural gas can be re-transported. Since the natural gas recovery tank 130 can store natural gas, the natural gas recovery tank 130 can re-transport the recovered natural gas to the natural gas generation source so that it can be used immediately for gas operation, reducing energy waste.
[0026] The plurality of natural gas recovery tanks 130 are connected to the first pipeline section 180 in the station natural gas release pipeline 110. It should be noted that the first pipeline section 180 is a pipeline section located between the main valve 120 and the outlet valve 140 in the station natural gas release pipeline 110.
[0027] In one implementation, each natural gas recovery tank 130 is connected to the station natural gas release pipeline 110 via a valve 160, and the valve 160 can be used to control the on-off state of the tank opening of the natural gas recovery tank 130. For example, when the valve 160 is in an open state, the tank opening of the natural gas recovery tank 130 is in an open state, and when the pressure of the natural gas in the station natural gas release pipeline 110 is greater than the pressure of the natural gas in the natural gas recovery tank 130, the natural gas in the station natural gas release pipeline 110 can enter the natural gas recovery tank 130, so that the natural gas in the station natural gas release pipeline 110 is recovered by the natural gas recovery tank 130; when the valve 160 is in an open state, the tank opening of the natural gas recovery tank 130 is in a closed state, and the natural gas recovery tank 130 cannot recover the natural gas in the station natural gas release pipeline 110.
[0028] The main valve 120 is disposed in the second pipeline section 190 in the station natural gas release pipeline 110. The second pipeline section 190 is a pipeline section located between one end of the station natural gas release pipeline 110 connected to the natural gas source and the natural gas recovery tank 130 closest to the natural gas source. It is understood that none of the second pipeline sections 190 is connected to the natural gas recovery tank 130. It is understood that the main valve 120 can be used to control the natural gas from the natural gas source to enter the second pipeline section 190, that is, when the main valve 120 is in an open state, the natural gas from the natural gas source can enter the second pipeline section 190, and when the main valve 120 is in a closed state, the natural gas from the natural gas source cannot enter the second pipeline section 190.
[0029] That is to say, the natural gas release pipeline 110 of the station can be connected to the multiple natural gas recovery tanks 130 through the main valve 120, that is, the multi-stage natural gas recovery tanks 130 are connected in parallel after the main valve 120, and each stage of the natural gas recovery tank 130 is provided with a valve 160 for controlling the tank opening switch. The multi-stage natural gas recovery tanks 130 are connected to the main valve 120 in a comb shape, and the main valve 120 is connected to the release gas outlet after the last stage of the multi-stage natural gas recovery tank 130. It can be seen that this embodiment increases the amount of natural gas recovery by cascading the multi-stage natural gas recovery tanks 130, greatly reduces the amount of natural gas discharged after the gas station operation, reduces resource waste, alleviates the greenhouse effect, and improves the quality of gas service. In addition, the natural gas recovery system in this embodiment is a passive device (that is, no external power supply is required), and uses the original pressure potential energy in the release pipeline to realize the recovery and return of the release gas (that is, the natural gas recovery tank 130 is used to realize the recovery and return of natural gas), without the need for an external power supply. The lack of an external power supply greatly reduces the danger in gas-related operations, completely avoids the danger of combustion and explosion due to improper protection of power supply equipment, and reduces explosion-proof costs.
[0030] The outlet valve 140 is disposed in the third pipeline section 1100 in the station natural gas release pipeline 110, wherein the third pipeline section 1100 is a pipeline section located between one end of the station natural gas release pipeline 110 connected to the dissolution gas outlet 150 and the natural gas recovery tank 130 closest to the dissolution gas outlet 150. It is understood that none of the third pipeline sections 1100 is connected to the natural gas recovery tank 130. It is understood that the outlet valve 140 is used to control the natural gas to enter the third pipeline section 1100, that is, when the main valve 120 is in an open state, the natural gas from the natural gas generation source can enter the second pipeline section 190, and when the main valve 120 is in a closed state, the natural gas from the natural gas generation source cannot enter the second pipeline section 190.
[0031] In one implementation, a pressure gauge 170 is further provided in the second pipeline 190, and the pressure gauge 170 is used to detect the pressure of the natural gas in the second pipeline 190. In other words, the pressure gauge 170 in the second pipeline 190 can be used to monitor and detect the pressure of the natural gas in the second pipeline 190 in real time.
[0032] In another implementation, each natural gas recovery tank 130 is further provided with a pressure gauge 170, and the pressure gauge 170 is used to detect the pressure of the natural gas in the natural gas recovery tank 130. That is, the pressure gauge 170 in the natural gas recovery tank 130 can be used to detect the pressure of the natural gas in the natural gas recovery tank 130 in real time.
[0033] It can be seen that the natural gas recovery system provided by the present application utilizes the cooperation of the natural gas release pipeline, the main valve 120, and multiple natural gas recovery tanks 130, that is, by controlling the valve 160 of the natural gas recovery tank 130, the natural gas recovery tank 130 is controlled to recover the natural gas in the natural gas release pipeline through the main valve 120, so that the natural gas recovery tank 130 can recover part of the natural gas, which greatly reduces the amount of natural gas discharged, reduces resource waste, alleviates the greenhouse effect, and improves the quality of gas service. In addition, since the natural gas recovery tank 130 can store natural gas, the natural gas recovery tank 130 can re-transport the recovered natural gas so that it can be used immediately for gas operations, reducing energy waste. In addition, since the natural gas recovery system in the present application does not require an external power supply, but makes full use of the original pressure potential energy in the release pipeline to realize the recovery of the released natural gas by the natural gas recovery tank 130, it avoids the possibility of increased danger in gas-related operations due to the external power supply, such as the danger of explosion due to improper protection of the power supply equipment, and also increases the problem of explosion-proof costs, thereby making the natural gas recovery process safer and more economical.
[0034] It should be noted that the main valve 120, the valve 160 in each natural gas recovery tank 130, and the outlet valve 140 can be manually switched on and off, or automatically controlled by a controller. Next, a control scheme using a controller is introduced.
[0035] In one implementation, the natural gas recovery system further includes a controller, which is respectively connected to the pressure gauge 170 in the second pipeline 190 section, the pressure gauge 170 in each natural gas recovery tank 130, the main valve 120, the valve 160 in each natural gas recovery tank 130, and the outlet valve 140.
[0036] The controller is used to control the switch status of the main valve 120, the valve 160 in each natural gas recovery tank 130, and the outlet valve 140 according to the pressure of the natural gas detected by the pressure gauge 170 in the second pipeline 190 section and the pressure gauge 170 in each natural gas recovery tank 130.
[0037] For example, when it is necessary to start recovering the natural gas in the natural gas release pipeline 110 of the station, the controller controls the main valve 120 to open. If the pressure of the pressure gauge 170 in the second pipeline 190 section is greater than the pressure of the natural gas detected by the pressure gauge 170 in the natural gas recovery tank 130, the controller can control the valve 160 of the natural gas recovery tank 130 to open, so that the natural gas in the second pipeline 190 section enters the natural gas recovery tank 130; if the pressure of the pressure gauge 170 in the second pipeline 190 section is equal to the pressure of the natural gas detected by the pressure gauge 170 in the natural gas recovery tank 130, it means that the natural gas recovery tank 130 is already filled with natural gas. At this time, the controller can control the valve 160 of the natural gas recovery tank 130 to close. If it is detected that each natural gas recovery tank 130 is already filled with natural gas, the controller can close the valves 160 of all natural gas recovery tanks 130 and open the outlet valve 140, so that the natural gas in the natural gas release pipeline 110 of the station is discharged through the dissolved gas outlet 150.
[0038] For example, when it is necessary to start feeding natural gas back to the natural gas release pipeline 110 of the station, the controller controls the main valve 120 to open. If the pressure of the pressure gauge 170 in the natural gas recovery tank 130 is greater than the pressure of the natural gas detected by the pressure gauge 170 in the second pipeline 190 section, the controller can control the valve 160 of the natural gas recovery tank 130 to open so that the natural gas in the natural gas recovery tank 130 enters the second pipeline 190 section. If the pressure of the pressure gauge 170 in the second pipeline 190 section is equal to the pressure of the natural gas detected by the pressure gauge 170 in the natural gas recovery tank 130, it means that the natural gas recovery tank 130 has been fully filled and released. At this time, the controller can control the valve 160 of the natural gas recovery tank 130 to close. If it is detected that each natural gas recovery tank 130 has completely released natural gas, the controller can close the valves 160 of all natural gas recovery tanks 130 and the main valve 120. It should be emphasized that the outlet valve 140 is in a closed state during the entire process so that the natural gas in the natural gas recovery tank 130 can be returned to the station natural gas release pipeline 110.
[0039] In this way, the controller can be used to enable the natural gas recovery tank 130 to automatically recover the natural gas in the natural gas release pipeline 110 of the station, and the controller can be used to enable the natural gas recovery tank 130 to automatically return the natural gas to the natural gas release pipeline 110 of the station.
[0040] It should be noted that the operating principle and operation method of the natural gas recovery system are as follows:
[0041] Assuming that the volume of the natural gas release pipeline 110 of the station is V0 cubic meters, when the gas station is finished once, the recovery process can begin. Before the recovery operation begins, the pressure (i.e., the pressure) in the natural gas release pipeline 110 of the station is P0 MPa. That is, after completing a detection operation, V0 cubic meters and P0 MPa of natural gas in the natural gas release pipeline 110 of the station are to be recovered.
[0042] Assume that the natural gas release pipeline 110 of the station is connected to n-level natural gas recovery tanks 130 (i.e., n natural gas recovery tanks 130 are connected in parallel), and the volume of each level of natural gas recovery tank 130 is V n Before the recovery operation begins, the storage pressure in each natural gas recovery tank 130 is P n , where P n is 1 standard atmospheric pressure, which can be approximated as P n =0.1Mpa.
[0043] When the controller responds to the control command or manually opens the valve 160 of the primary natural gas recovery tank 130 (i.e., the natural gas recovery tank 130 closest to the main valve 120), the station natural gas release pipeline 110 is connected to the primary natural gas recovery tank 130. Since the pressure in the station natural gas release pipeline 110 is greater than the pressure in the primary natural gas recovery tank 130, due to the pressure difference, the natural gas to be recovered in the station natural gas release pipeline 110 will move to the primary natural gas recovery tank 130, and finally the release pipe will have the same pressure as the primary natural gas recovery tank 130, which is (P0V0+P n V n ) / (V0+V n ).
[0044] After the pressure is balanced, part of the natural gas has been recovered from the station natural gas release pipeline 110 to the primary natural gas recovery tank 130. At this time, the primary natural gas recovery tank 130 is closed and the secondary natural gas recovery tank 130 is opened. Due to the pressure difference, the natural gas to be recovered in the station natural gas release pipeline 110 will also move to the secondary natural gas recovery tank 130. After the pressure is balanced, the secondary recovery equipment valve 160 is closed. In other words, when it is detected that the pressure of the natural gas in the station natural gas release pipeline 110 is the same as the pressure of the natural gas in the primary natural gas recovery tank 130, the valve 160 of the secondary natural gas recovery tank 130 can be opened manually or by a controller, so that the secondary natural gas recovery tank 130 continues to recover the natural gas in the station natural gas release pipeline 110.
[0045] According to the above operation process, the valves 160 of the third-level natural gas recovery tank 130, the fourth-level natural gas recovery tank 130, and finally the valve 160 of the n-level natural gas recovery tank 130 are opened and closed manually or by the controller in sequence, so that the natural gas in the station natural gas release pipeline 110 is recovered to the natural gas recovery tanks 130 of each level in sequence. After the natural gas recovery operation of the last-level natural gas recovery tank 130 (i.e., the n-level natural gas recovery tank 130) is completed (i.e., the pressure of the natural gas in the station natural gas release pipeline 110 is detected to be the same as the pressure of the natural gas in the n-level natural gas recovery tank 130), if there is still natural gas in the station natural gas release pipeline 110, the outlet valve 140 is opened manually or by the controller to discharge the remaining natural gas through the release gas outlet. At this point, the recovery process is completed.
[0046] After the natural gas recovery tank 130 recovers the natural gas, the station natural gas release pipeline 110 will perform a second operation. The second operation requires the pressure of the station natural gas release pipeline 110 to be increased from the standard atmospheric pressure to a specified value. At this time, the natural gas recovered from the natural gas recovery tanks 130 at each level can be transported back to the station natural gas release pipeline 110 to realize the reuse of natural gas. The operation method is as follows:
[0047] Before the operation begins, the pressure of the natural gas in the natural gas release pipeline 110 of the station is P0 MPa. Due to the previous round of recovery operations, the natural gas recovery tanks 130 at each level have stored natural gas of different pressure values. The pressure of the natural gas in the nth level recovery tank is P n Due to the previous round of recovery operations, it is known that the pressure P of the natural gas in all natural gas recovery tanks 130 n Yes n >P0.
[0048] Open the valve 160 of the n-th level natural gas recovery tank 130. Due to the pressure difference between the n-th level natural gas recovery tank 130 and the station natural gas release pipeline 110, part of the natural gas will be transferred from the natural gas recovery tank 130 to the station natural gas release pipeline 110. After the pressure of the natural gas in the n-th level natural gas recovery tank 130 is balanced (i.e., equal) with the pressure of the natural gas in the station natural gas release pipeline 110, close the valve 160 of the n-th level natural gas recovery tank 130. According to this operation, open and close the valve 160 of the n-1-th level natural gas recovery tank 130, the n-2-th level natural gas recovery tank 130, and so on until the first level natural gas recovery tank 130. Then, part of the natural gas in each level natural gas recovery tank 130 will be transferred to the station natural gas release pipeline 110. At this time, if the natural gas pressure in the station natural gas release pipeline 110 does not meet the requirements of the next round of operations, additional natural gas can be added to the required pressure value. At this point, the recycling and reuse of the recovered natural gas is completed. The natural gas recovery tank 130 can maintain the current state and be reused for natural gas recovery in the natural gas release pipeline 110 of the station after the next round of operations. That is, when the total natural gas in the natural gas recovery tank 130 needs to be transported back, the main valve 120 and the valve 160 of the n-th level natural gas recovery tank 130 can be opened manually or by the controller, and at this time, the outlet valve 140 is closed. If it is detected that the pressure of the natural gas in the n-th level natural gas recovery tank 130 is equal to the pressure of the natural gas in the station natural gas release pipeline 110, it means that the natural gas in the n-th level natural gas recovery tank 130 has been released; then, the valve 160 of the n-1-th level natural gas recovery tank 130 can be opened manually or by a controller so that the natural gas in the n-1-th level natural gas recovery tank 130 can be returned to the station natural gas release pipeline 110. If it is detected that the pressure of the natural gas in the n-1-th level natural gas recovery tank 130 is equal to the pressure of the natural gas in the station natural gas release pipeline 110, the valve 160 of the n-2-th level natural gas recovery tank 130 can be opened manually or by a controller. According to the above operation flow, the valves 160 of the n-3rd level natural gas recovery tank 130, the n-4th level natural gas recovery tank 130, ..., and finally the valve 160 of the first level natural gas recovery tank 130 are opened manually or by the controller, so that the natural gas in the natural gas recovery tanks 130 of each level is successively recovered to the station natural gas release pipeline 110. Finally, the main valve 120 can be closed manually or by the controller.
[0049] See also Figure 2 , shows a method for determining system parameters of a natural gas recovery system in an embodiment of the present application. The method for determining system parameters of a natural gas recovery system is applied to Figure 1 In the natural gas recovery system shown in the figure, in this embodiment, the method may include the following steps, for example:
[0050] S201: Obtaining particle boundary conditions of a natural gas recovery system, an evaluation fitness model corresponding to the natural gas recovery system, and preset particle swarm parameters.
[0051] In this embodiment, the particle boundary conditions of the natural gas recovery system may include: the pipeline volume and initial pressure of the natural gas release pipeline of the site in the natural gas recovery system, the number of natural gas recovery tanks in the natural gas recovery system, the upper and lower volume limits of the natural gas recovery tanks in the natural gas recovery system, and the number of natural gas recovery operation rounds of the natural gas recovery system.
[0052] In one implementation, the pipeline volume of the natural gas release pipeline of the station in the natural gas recovery system can be V (m 3 ), for example, it can be 2(m 3 ); The initial pressure of the natural gas release pipeline of the station in the natural gas recovery system can be P0 (MPa), that is, there is natural gas with a pressure of P0 MPa in the natural gas release pipeline that needs to be recovered. For example, the initial pressure of the natural gas release pipeline of the station in the natural gas recovery system can be 2 (MPa). Figure 1 As shown, the number of natural gas recovery tanks 130 in the natural gas recovery system may be N (i.e., natural gas recovery tank 1-natural gas recovery tank N). In one implementation, the number of natural gas recovery tanks in the natural gas recovery system may be 7, that is, the number of natural gas recovery tanks 130 in the natural gas recovery system is at most 7. In one implementation, the upper limit of the volume of the natural gas recovery tanks in the natural gas recovery system (i.e., the maximum volume of each natural gas recovery tank) may be V max (m 3 ), for example, it can be 30 (m 3 ), the lower limit of the volume of the natural gas recovery tank in the natural gas recovery system (i.e., the minimum volume of each natural gas recovery tank) can be V max (m 3 ), for example, it can be 1(m 3 ). In one implementation, the number of natural gas recovery operation rounds of the natural gas recovery system may be M (rounds), and the number of natural gas recovery operation rounds of the natural gas recovery system may be understood as the number of times the natural gas recovery tank in the natural gas recovery system recovers the natural gas in the natural gas release pipeline of the station, for example, the number of natural gas recovery operation rounds of the natural gas recovery system may be 3 rounds.
[0053] The preset particle swarm parameters may include: particle swarm algorithm population size, particle swarm algorithm iteration times and encoding method.
[0054] The population size of the particle swarm algorithm is a proper noun in the particle swarm algorithm. It is only related to the particle swarm algorithm and has nothing to do with the actual model. For example, the population size of the particle swarm algorithm can be 100. The number of feasible solutions generated in each iteration of the particle swarm algorithm is the population size. The number of particle swarm iterations: It is a proper noun in the particle swarm algorithm. The particle swarm algorithm selects a better solution from the population through continuous iteration. Generally, the number of iterations should be such that the particle swarm algorithm converges; for example, the number of iterations of the particle swarm algorithm can be 1000.
[0055] The encoding method is to represent a scheme (i.e., a candidate system parameter scheme) as a set of numerical codes for particle swarm algorithm calculation. Each numerical value in the set of numerical codes is assigned a specified meaning, and the set of numerical codes can represent a candidate system parameter scheme. The encoding method adopted is: the encoding length of the numerical code is N+1 bits, wherein the number of natural gas recovery tanks 130 in the natural gas recovery system can be N. The value of the first digit in the numerical code is the number of cascade layers of the natural gas recovery tank in the natural gas recovery system (i.e., the number of natural gas recovery tanks 130 in the natural gas recovery system), which is represented as n0, and n0 is a positive integer less than or equal to N. It should be noted that the values of the second to n0+1 digits in the numerical code are the volumes of the cascaded 1st-level natural gas recovery tanks to the n0th-level natural gas recovery tanks (i.e., natural gas recovery tanks 1-natural gas recovery tanks n0). As shown in Table 1, the volumes of natural gas recovery tanks 1-natural gas recovery tanks n0 are represented as V1-V n , are greater than V min and is less than V max The volume positions of natural gas recovery tank 1 to natural gas recovery tank n0 in this group of numerical codes (i.e., the 2nd to n0+1st positions in this group of numerical codes) are valid natural gas recovery tank volume positions, and the n0+2nd to N+1st positions in this group of numerical codes are invalid natural gas recovery tank volume positions.
[0056] For example, a set of numerical codes is [7, 3.705, 3.715, 3.779, 3.705, 3.720, 3.705, 3.819], which is a candidate system parameter scheme. In the particle swarm algorithm, it can also be called a particle, an individual or a code. The numerical code represents a candidate system parameter scheme, which indicates that 7 natural gas recovery tanks are selected. The volumes of the 7 natural gas recovery tanks are 3.705m 3 , 3.715m 3 ,3.779m 3 , 3.705m 3 , 3.720m 3 , 3.705m 3 ,3.819m 3In this way, a set of numerical values is used to represent a candidate system parameter solution.
[0057] Table 1
[0058]
[0059] The evaluation fitness model corresponding to the natural gas recovery system may be determined according to evaluation system parameters and preset system parameters corresponding to the natural gas recovery system.
[0060] In one implementation, the evaluation system parameters include: the cost price of the natural gas recovery tank in the natural gas recovery system, and the total amount of natural gas wasted in the natural gas recovery system. The cost price of each natural gas recovery tank can be the product of the volume of the natural gas recovery tank and the preset unit price per cubic meter, that is, the volume of each natural gas recovery tank and the given cost of the natural gas recovery tank per cubic meter, and the cost price W of the i-th recovery tank can be calculated. i The total amount of natural gas wasted in the natural gas recovery system can be determined based on the amount of natural gas wasted in each round of natural gas recovery operations, for example, by the following formula: Where M is the number of natural gas recovery operations of the natural gas recovery system, K i is the amount of natural gas wasted in the i-th round of natural gas recovery operation.
[0061] Since the volume of the natural gas release pipeline at the station is constant, the volume of the natural gas release pipeline at the station can measure the amount of natural gas wasted, that is, the amount of gas discharged when the natural gas release pipeline at the station is emptied. Therefore, in one implementation, the relative change value P of the pressure in the natural gas release pipeline at the station after the i-th round of natural gas recovery operation is completed can be used. i OK, for example K i =P i After the i-th round of natural gas recovery operation is completed, the relative change value of the pressure in the natural gas release pipeline of the station is P i It can be determined in the following ways: First, before the start of the i-th round of natural gas recovery operation, the pressure of the station natural gas release pipeline before the start of the i-th round of natural gas recovery operation is obtained by using the reading of the pressure gauge 170 in the second pipeline 190 section. After the i-th round of natural gas recovery operation is completed, it is also known that the natural gas in the station natural gas release pipeline has been emptied. Therefore, the pressure of the station natural gas release pipeline after the station natural gas release pipeline is emptied is 1 standard atmospheric pressure. The pressure of the station natural gas release pipeline before the start of the i-th round of natural gas recovery operation is subtracted from the standard atmospheric pressure, and the difference can be used as the relative change value P of the pressure in the station natural gas release pipeline after the end of the i-th round of natural gas recovery operation. i .
[0062] The preset system parameters include: index weight parameters, the pipeline volume of the natural gas release pipeline of the site in the natural gas recovery system, and the number of cascade layers of the natural gas recovery tank in the natural gas recovery system.
[0063] The indicator weight parameter α can be understood as the impact factor of cost, which is usually set to 0.5. Specifically, α is an indicator weight parameter, which can be manually adjusted to determine the importance of cost and environment. When α=1, it means that the scheme has the best economic benefit, and when α=0, it means that the scheme is the most environmentally friendly. In this embodiment, it is usually assumed that the importance of the two is the same, that is, α=0.5 is usually taken. The impact factor of carbon tax is 1-α. The pipeline volume of the natural gas release pipeline of the station in the natural gas recovery system can be understood as the volume size in the natural gas release pipeline of the station. Since the multiple natural gas recovery tanks 130 in the natural gas recovery system are connected in parallel with the natural gas release pipeline of the station, that is, each natural gas recovery tank is separately connected to the natural gas release pipeline of the station, and each natural gas recovery tank is independently connected to the natural gas release pipeline of the station, therefore, the number of cascade layers of the natural gas recovery tank in the natural gas recovery system is the number of natural gas recovery tanks in the natural gas recovery system.
[0064] In one implementation, the evaluation fitness model corresponding to the natural gas recovery system is:
[0065]
[0066] Among them, P is the evaluation fitness; α is the preset indicator weight parameter; W i is the cost price of the i-th natural gas recovery tank, n is the number of natural gas recovery tanks in the natural gas recovery system; K is the total waste of natural gas in the natural gas recovery system; V is the pipeline volume of the natural gas release pipeline at the site in the natural gas recovery system. In the above evaluation fitness model formula, is the storage tank cost price of all natural gas recovery tanks in the natural gas recovery system, It can be understood as the carbon tax price that needs to be paid for wasting natural gas in the natural gas recovery system. Here, the carbon tax levied per cubic meter of natural gas is 12 yuan.
[0067] S202: According to the example boundary conditions of the natural gas recovery system and the preset particle swarm parameters, a particle swarm iterative calculation is performed on the evaluation fitness model corresponding to the natural gas recovery system to obtain several candidate system parameter schemes and the fitness value corresponding to each candidate system parameter scheme.
[0068] In this embodiment, according to the example boundary conditions of the natural gas recovery system and the preset particle swarm parameters, a particle swarm iterative calculation is performed on the evaluation fitness model corresponding to the natural gas recovery system to obtain several candidate system parameter schemes and the fitness value corresponding to each candidate system parameter scheme.
[0069] Specifically, the particle swarm can be randomly initialized first, and then, based on the example boundary conditions of the natural gas recovery system and the preset particle swarm parameters, the particle swarm algorithm is executed until the number of iterations of the particle swarm algorithm is reached. It can be understood that in the execution of the particle swarm algorithm, the candidate system parameter scheme can be determined first, and then the fitness value corresponding to the candidate system parameter scheme can be determined using the evaluation fitness model corresponding to the natural gas recovery system. Then, according to the fitness value corresponding to the candidate system parameter scheme, the speed and position are iterated to continuously obtain a new optimal position and optimal fitness, that is, to obtain a new candidate system parameter scheme until the number of iterations of the particle swarm algorithm is reached. After the particle swarm algorithm is executed to complete the number of iterations of the particle swarm algorithm, several candidate system parameter schemes and the fitness value corresponding to each candidate system parameter scheme can be obtained.
[0070] That is to say, in the particle swarm algorithm, the initial parameters are first set according to the actual situation, that is, the example boundary conditions of the natural gas recovery system and the preset particle swarm parameters. Particles are initialized in the feasible domain, the particle positions and speeds are initialized, and the maximum number of iterations is set; the particle fitness is determined according to the optimization model established by the evaluation index; the speed and position are iterated according to the particle fitness, and new optimal positions and optimal fitness are continuously obtained; it is determined whether the number of iterations has been reached, and if so, the iteration results (that is, several candidate system parameter schemes and the fitness values corresponding to each candidate system parameter scheme) are output to determine the optimal scheme for the passive multi-stage natural gas recovery device; if not, the cycle continues until the number of iterations is reached.
[0071] It should be noted that the candidate system parameter scheme includes: the number of cascaded layers of the natural gas recovery tank in the natural gas recovery system and the volume of each level of natural gas recovery tank. For example, the candidate system parameter scheme is [7, 3.705, 3.715, 3.779, 3.705, 3.720, 3.705, 3.819], which means that the number of cascaded layers of the natural gas recovery tank in the natural gas recovery system is 7 (that is, the natural gas recovery system chooses to use 7 natural gas recovery tanks), and the volumes of these 7 natural gas recovery tanks are 3.705m 3 , 3.715m 3 ,3.779m 3 , 3.705m 3 , 3.720m 3 , 3.705m 3 ,3.819m3 In this way, a set of numerical values is used to represent a candidate system parameter solution.
[0072] S203: Determine target system parameters of the natural gas recovery system from the candidate system parameter solutions according to the fitness value corresponding to each candidate system parameter solution.
[0073] After obtaining several candidate system parameter solutions and the fitness value corresponding to each candidate system parameter solution, the target system parameters of the natural gas recovery system can be determined from the several candidate system parameter solutions according to the fitness value corresponding to each candidate system parameter solution, that is, the best solution (that is, the optimal target system parameters) of the natural gas recovery system can be determined. As an example, the candidate system parameter solution with the largest fitness value can be used as the target system parameter of the natural gas recovery system.
[0074] It can be seen from the above technical scheme that the present application can first obtain the particle boundary conditions of the natural gas recovery system, the evaluation fitness model corresponding to the natural gas recovery system, and the preset particle swarm parameters; wherein the evaluation fitness model corresponding to the natural gas recovery system is determined according to the evaluation system parameters and preset system parameters corresponding to the natural gas recovery system; according to the example boundary conditions of the natural gas recovery system and the preset particle swarm parameters, the evaluation fitness model corresponding to the natural gas recovery system is subjected to particle swarm iterative calculation to obtain several candidate system parameter schemes and the fitness value corresponding to each candidate system parameter scheme; according to the fitness value corresponding to each candidate system parameter scheme, the target system parameters of the natural gas recovery system are determined from the several candidate system parameter schemes. It can be seen that the present application can determine the target system parameters of the natural gas recovery system by using the particle swarm algorithm based on the particle boundary conditions of the natural gas recovery system, the evaluation fitness model corresponding to the natural gas recovery system, and the preset particle swarm parameters; in this way, it is possible to calculate a set of optimal recovery device design solutions (i.e., the target system parameters of the natural gas recovery system) based on the specific parameter solutions of the gas released after the gas station operation (i.e., the particle boundary conditions of the natural gas recovery system, the evaluation fitness model corresponding to the natural gas recovery system, and the preset particle swarm parameters), so as to achieve the optimization goal of both controlling the device cost of the natural gas recovery system and ensuring the high recovery efficiency of the natural gas recovery system. In this way, the natural gas recovery system can be flexibly applied to different gas plants and stations, that is, for gas stations of different sizes, the optimal solution of the corresponding natural gas recovery system device (i.e., the target system parameters of the natural gas recovery system) can be solved according to the given actual data, so as to achieve flexible application; and thus solve the problem that it is difficult to design reasonable system parameters of the natural gas recovery system while controlling costs and ensuring recovery efficiency under different gas stations. In other words, by optimizing the passive multi-stage natural gas recovery device through the particle swarm algorithm, costs can be controlled while ensuring good recovery efficiency. For gas stations of different sizes, the optimal solution of the corresponding device can be solved according to the actual data given, and the application is flexible. Clear evaluation indicators are given, and efficiency, cost and environmental factors are comprehensively considered to avoid subjective judgment. This method can calculate a set of optimal recovery device design schemes based on the specific parameters of the gas released after the gas station operation, including the number of cascade layers of the recovery device and the volume of each recovery tank, so as to achieve the optimization goal of controlling the device cost and ensuring good recovery efficiency. It solves the problem that it is difficult to design a reasonable passive multi-stage recovery device while controlling the cost and ensuring the recovery efficiency for the released gas parameters of different gas stations.
[0075] like Figure 3As shown in FIG. 1 , a specific embodiment of the system parameter determination device of the natural gas recovery system described in the present application is shown. The device described in this embodiment is a physical device for executing the method described in the above embodiment. Its technical solution is essentially consistent with the above embodiment, and the corresponding description in the above embodiment is also applicable to this embodiment. The system parameter determination device of the natural gas recovery system is applied to Figure 1 In the natural gas recovery system shown, the device in this embodiment includes:
[0076] The acquisition unit 301 is used to acquire the particle boundary conditions of the natural gas recovery system, the evaluation fitness model corresponding to the natural gas recovery system, and the preset particle swarm parameters; wherein the evaluation fitness model corresponding to the natural gas recovery system is determined according to the evaluation system parameters and the preset system parameters corresponding to the natural gas recovery system;
[0077] The calculation unit 302 is used to perform particle swarm iterative calculation on the evaluation fitness model corresponding to the natural gas recovery system according to the example boundary conditions of the natural gas recovery system and the preset particle swarm parameters, so as to obtain several candidate system parameter schemes and the fitness value corresponding to each candidate system parameter scheme;
[0078] The determination unit 303 is used to determine the target system parameters of the natural gas recovery system from the candidate system parameter solutions according to the fitness value corresponding to each candidate system parameter solution.
[0079] Optionally, the candidate system parameter solutions include: the number of cascaded layers of natural gas recovery tanks in the natural gas recovery system and the volume of the natural gas recovery tanks at each stage.
[0080] Optionally, the particle boundary conditions of the natural gas recovery system include: the pipeline volume and initial pressure of the natural gas release pipeline of the site in the natural gas recovery system, the number of natural gas recovery tanks in the natural gas recovery system, the upper and lower volume limits of the natural gas recovery tanks in the natural gas recovery system, and the number of natural gas recovery operation rounds of the natural gas recovery system.
[0081] Optionally, the preset particle swarm parameters include: particle swarm algorithm population size, particle swarm algorithm iteration times and encoding method.
[0082] Optionally, the evaluation system parameters include: the cost price of the natural gas recovery tank in the natural gas recovery system, and the total amount of natural gas wasted in the natural gas recovery system;
[0083] The preset system parameters include: index weight parameters, the pipeline volume of the natural gas release pipeline of the site in the natural gas recovery system, and the number of cascade layers of the natural gas recovery tank in the natural gas recovery system.
[0084] Optionally, the evaluation fitness model corresponding to the natural gas recovery system is:
[0085] Among them, P is the evaluation fitness; α is the preset indicator weight parameter; Wi is the cost price of the i-th natural gas recovery tank, n is the number of natural gas recovery tanks in the natural gas recovery system; K is the total natural gas waste in the natural gas recovery system; V is the pipeline volume of the natural gas release pipeline of the site in the natural gas recovery system.
[0086] Optionally, the determining unit 303 is configured to:
[0087] The candidate system parameter solution with the largest fitness value is used as the target system parameter of the natural gas recovery system.
[0088] Figure 4 It is a structural diagram of an electronic device provided in an embodiment of the present application. At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Among them, the memory may include a memory, such as a high-speed random access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage, etc. Of course, the electronic device may also include hardware required for other services.
[0089] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0090] The memory is used to store execution instructions. Specifically, the execution instructions are computer programs that can be executed. The memory may include internal memory and non-volatile memory, and provides execution instructions and data to the processor.
[0091] In one possible implementation, the processor reads the corresponding execution instructions from the non-volatile memory into the memory and then runs them, and can also obtain the corresponding execution instructions from other devices to form a system parameter determination device for the natural gas recovery system at a logical level. The processor executes the execution instructions stored in the memory to implement the system parameter determination method for the natural gas recovery system provided in any embodiment of the present application through the execution of the execution instructions.
[0092] The above application Figure 2 The method performed by the system parameter determination device of the natural gas recovery system provided in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip having the ability to process signals. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The various methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0093] The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0094] An embodiment of the present application also proposes a readable storage medium, which stores execution instructions. When the stored execution instructions are executed by a processor of an electronic device, the electronic device can execute the method for determining system parameters of a natural gas recovery system provided in any embodiment of the present application, and is specifically used to execute the method for determining system parameters of the above-mentioned natural gas recovery system.
[0095] The electronic device described in the above embodiments may be a computer.
[0096] Those skilled in the art should understand that the embodiments of the present application can be provided as methods or computer program products. Therefore, the present application can adopt a complete hardware embodiment, a complete software embodiment, or a combination of software and hardware.
[0097] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0098] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0099] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for determining system parameters of a natural gas recovery system, It is characterized in that The method is applied to a natural gas recovery system, which includes a natural gas release pipeline at a site, a main valve, multiple natural gas recovery tanks, an outlet valve, and a dissolved gas outlet; one end of the natural gas release pipeline at the site is connected to a natural gas source through the main valve, the other end of the natural gas release pipeline at the site is connected to the dissolved gas outlet through the outlet valve, and the multiple natural gas recovery tanks are connected in parallel with the natural gas release pipeline at the site; the method includes: Obtaining particle boundary conditions of a natural gas recovery system, an evaluation fitness model corresponding to the natural gas recovery system, and preset particle swarm parameters; wherein the evaluation fitness model corresponding to the natural gas recovery system is determined according to evaluation system parameters and preset system parameters corresponding to the natural gas recovery system; According to the example boundary conditions of the natural gas recovery system and the preset particle swarm parameters, a particle swarm iterative calculation is performed on the evaluation fitness model corresponding to the natural gas recovery system to obtain several candidate system parameter schemes and the fitness value corresponding to each candidate system parameter scheme; Determining target system parameters of the natural gas recovery system from the plurality of candidate system parameter solutions according to the fitness value corresponding to each candidate system parameter solution; The evaluation system parameters include: the cost price of the natural gas recovery tank in the natural gas recovery system, the total amount of natural gas wasted in the natural gas recovery system; The preset system parameters include: index weight parameters, pipeline volume of the natural gas release pipeline of the field station in the natural gas recovery system, and the number of cascade layers of the natural gas recovery tank in the natural gas recovery system; The evaluation fitness model corresponding to the natural gas recovery system is: Among them, P is the evaluation fitness; α is the preset indicator weight parameter; W i is the cost price of the i-th natural gas recovery tank, n is the number of natural gas recovery tanks in the natural gas recovery system; K is the total waste of natural gas in the natural gas recovery system; V is the pipeline volume of the natural gas release pipeline at the site in the natural gas recovery system.
2. The method according to claim 1, It is characterized in that The candidate system parameter solutions include: the number of cascaded layers of natural gas recovery tanks in the natural gas recovery system and the volumes of the natural gas recovery tanks at each level.
3. The method according to claim 1, It is characterized in that The particle boundary conditions of the natural gas recovery system include: the pipeline volume and initial pressure of the natural gas release pipeline of the site in the natural gas recovery system, the number of natural gas recovery tanks in the natural gas recovery system, the upper and lower volume limits of the natural gas recovery tanks in the natural gas recovery system, and the number of natural gas recovery operation rounds of the natural gas recovery system.
4. The method according to claim 1, It is characterized in that The preset particle swarm parameters include: particle swarm algorithm population size, particle swarm algorithm iteration times and encoding method.
5. The method according to claim 1, It is characterized in that Determining the target system parameters of the natural gas recovery system from the plurality of candidate system parameter solutions according to the fitness value corresponding to each candidate system parameter solution includes: The candidate system parameter solution with the largest fitness value is used as the target system parameter of the natural gas recovery system.
6. A system parameter determination device for a natural gas recovery system, It is characterized in that The device is applied to a natural gas recovery system, which includes a natural gas release pipeline at a site, a main valve, multiple natural gas recovery tanks, an outlet valve, and a dissolved gas outlet; one end of the natural gas release pipeline at the site is connected to a natural gas source through the main valve, and the other end of the natural gas release pipeline at the site is connected to the dissolved gas outlet through the outlet valve, and the multiple natural gas recovery tanks are connected in parallel with the natural gas release pipeline at the site; the device includes: An acquisition unit, used to acquire particle boundary conditions of a natural gas recovery system, an evaluation fitness model corresponding to the natural gas recovery system, and preset particle swarm parameters; wherein the evaluation fitness model corresponding to the natural gas recovery system is determined according to evaluation system parameters and preset system parameters corresponding to the natural gas recovery system; A calculation unit, configured to perform particle swarm iterative calculation on an evaluation fitness model corresponding to the natural gas recovery system according to the example boundary conditions of the natural gas recovery system and the preset particle swarm parameters, to obtain a plurality of candidate system parameter schemes and a fitness value corresponding to each candidate system parameter scheme; a determination unit, configured to determine the target system parameters of the natural gas recovery system from the plurality of candidate system parameter schemes according to the fitness value corresponding to each candidate system parameter scheme; The evaluation system parameters include: the cost price of the natural gas recovery tank in the natural gas recovery system, the total amount of natural gas wasted in the natural gas recovery system; The preset system parameters include: index weight parameters, pipeline volume of the natural gas release pipeline of the field station in the natural gas recovery system, and the number of cascade layers of the natural gas recovery tank in the natural gas recovery system; The evaluation fitness model corresponding to the natural gas recovery system is: Among them, P is the evaluation fitness; α is the preset indicator weight parameter; W i is the cost price of the i-th natural gas recovery tank, n is the number of natural gas recovery tanks in the natural gas recovery system; K is the total waste of natural gas in the natural gas recovery system; V is the pipeline volume of the natural gas release pipeline at the site in the natural gas recovery system.
7. A readable medium, It is characterized in that It includes execution instructions. When a processor of an electronic device executes the execution instructions, the electronic device executes the method as claimed in any one of claims 1 to 5.
8. An electronic device, It is characterized in that The method comprises a processor and a memory storing execution instructions. When the processor executes the execution instructions stored in the memory, the processor executes the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Parameter optimization method and device, equipment and storage medium
CN113743006A
Wireless sensor structure design optimization method and device, equipment and medium
CN113806993A
Natural gas purification control method based on energy efficiency evaluation and online optimization platform
CN114429258A
Optimized regulating and controlling method and system for integrated electricity and heat system with heat pumps
US20220074620A1
