Equal-load deployment method and device of compressor station, electronic equipment and storage medium
Through an isoload deployment method of a compressor station, the compressor boost ratio and total load of each pipe section in the pipeline are automatically determined, which solves the problem of low manual deployment efficiency and achieves efficient compressor station deployment and system balance.
Patent Information
- Application Number
- CN202411767127.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-03-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing methods of manually deploying compressed gas stations cannot ensure deployment efficiency, making it difficult to complete compressed gas station deployment tasks efficiently.
A method for equal load deployment of a compressor station is provided. By obtaining the estimated transport flow rate and initial compressor station deployment parameters of each pipe section in the pipeline to be deployed, the upper limit of the boost ratio and the target total load of the compressor of the compressor station to be deployed in the pipeline section is determined and the target total load is generated. If the target boost ratio is less than or equal to the upper limit of the boost ratio and the target total load is within the specified load range, the initial deployment parameter is determined as the target deployment parameter to generate the target deployment result.
The automatic deployment of compressor stations for deploying pipelines is realized. Compared with manual stations, the station efficiency is greatly improved, the compressor overload operation is avoided, the system is balanced and reliability is improved, and the risk of failure is reduced.
Smart Images

Figure CN119720439A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of natural gas transportation technology, and in particular to a method, device, electronic equipment and storage medium for equal load deployment of a gas compressor station. Background Art
[0002] With the growing demand for natural gas, new natural gas transmission pipelines often need to be planned in the natural gas pipeline network system. In the planning of new pipelines, it is of utmost importance to consider where to deploy compressor stations.
[0003] In the related art, the compressor station deployment is completed manually, mainly relying on manual experience, hydraulic simulation tools, and multiple experimental simulation adjustments. However, the most general planning method is difficult to efficiently complete the compressor station deployment task, and thus the efficiency of the compressor station deployment cannot be guaranteed. Summary of the invention
[0004] The embodiments of the present application provide a method, device, electronic device and storage medium for equal load deployment of a compressor station, so as to solve the problem that the existing method of manually deploying a compressor station cannot guarantee the deployment efficiency.
[0005] On the one hand, an embodiment of the present application provides a method for equal load deployment of a compressor station, comprising:
[0006] Obtain the estimated delivery flow of each pipeline section in the pipeline to be deployed and the initial compressor station deployment parameters of each pipeline section;
[0007] For each pipeline section, according to the expected delivery flow of the pipeline section, determine the upper limit of the boost ratio of the compressor of the compressor station to be deployed corresponding to the pipeline section, where the compressor station to be deployed includes at least one compressor;
[0008] According to the initial compressor station deployment parameters of the pipeline section, a target pressure-increasing ratio of each compressor in the pipeline section and a target total load of all compressors in the pipeline section are determined;
[0009] If the target boost ratio is less than or equal to the boost ratio upper limit, and the target total load is within the specified load range, the initial compressor station deployment parameters are determined as the target compressor station deployment parameters;
[0010] Based on the target compressor station deployment parameters corresponding to each pipeline section, the target deployment result of the pipeline to be deployed is generated and output.
[0011] On the one hand, an embodiment of the present application provides an equal load deployment device for a compressor station, comprising:
[0012] An acquisition module, used to acquire the estimated delivery flow of each pipeline section in the pipeline to be deployed and the initial compressor station deployment parameters of each pipeline section;
[0013] A first determination module is used to determine, for each pipeline section, an upper limit of a pressure increase ratio of a compressor of a compressor station to be deployed corresponding to the pipeline section according to an expected delivery flow of the pipeline section, wherein the compressor station to be deployed includes at least one compressor;
[0014] A second determination module is used to determine a target boost ratio of each compressor in the pipeline section and a target total load of all compressors in the pipeline section according to the initial compressor station deployment parameters of the pipeline section;
[0015] a third determination module, configured to determine the initial compressor station deployment parameters as the target compressor station deployment parameters if the target boost ratio is less than or equal to the boost ratio upper limit and the target total load is within a specified load range;
[0016] The output module is used to generate a target deployment result of the pipeline to be deployed based on the target compressor station deployment parameters corresponding to each pipeline section, and output the target deployment result.
[0017] In a possible embodiment, the output module is specifically used to:
[0018] Based on the target compressor station deployment parameters corresponding to each pipeline section, candidate deployment results of the pipeline to be deployed are generated;
[0019] Obtain the deployment cost corresponding to the candidate compressor station deployment result;
[0020] If the deployment cost meets the preset cost condition, the candidate compressor station deployment result is determined as the target deployment result, and the target deployment result is output.
[0021] In a possible embodiment, the output module is further configured to:
[0022] Get pipeline parameters of the pipeline to be deployed;
[0023] Generate candidate deployment results of the pipeline to be deployed based on the pipeline parameters and the target compressor station deployment parameters corresponding to each pipeline section;
[0024] Obtain the deployment cost corresponding to the candidate compressor station deployment results, including:
[0025] According to the pipeline parameters and the target compressor station deployment parameters, the deployment cost corresponding to the candidate compressor station deployment results is calculated.
[0026] In a possible embodiment, the device further includes an updating module, and the updating module is used to:
[0027] If the deployment cost does not meet the preset cost condition, the pipeline parameters and / or the target compressor station deployment parameters are updated to obtain updated pipeline parameters and / or updated target compressor station deployment parameters;
[0028] Based on the updated pipeline parameters and / or the updated target compressor station deployment parameters, return to execute the step of calculating the deployment cost corresponding to the candidate compressor station deployment result according to the pipeline parameters and the target compressor station deployment parameters, until the calculated deployment cost meets the preset cost condition.
[0029] In a possible embodiment, the output module is further used for:
[0030] According to the target compressor station deployment parameters corresponding to each pipeline section, the energy consumption cost and construction cost of the compressor station to be deployed corresponding to each pipeline section are determined;
[0031] Determine the pipeline cost of the pipeline to be deployed based on the pipeline parameters;
[0032] Determine the deployment cost based on energy consumption cost, construction cost and pipeline cost.
[0033] In a possible embodiment, the pipeline parameters include at least one of pipeline length, pipeline diameter, and maximum bearing pressure.
[0034] In a possible embodiment, the output module is further used for:
[0035] Based on the target compressor station deployment parameters corresponding to each pipeline section, a target deployment result of the pipeline to be deployed is generated;
[0036] According to the target deployment result, determine the flow relationship between the pipeline to be deployed and other pipelines in the pipeline network;
[0037] If the traffic relationship meets the preset traffic relationship conditions, the target deployment result is output;
[0038] If the flow relationship does not meet the preset flow relationship conditions, return to the step of updating the pipeline parameters and / or compressor parameters to obtain updated pipeline parameters and / or updated compressor parameters to update the flow relationship until the updated flow relationship meets the preset flow relationship conditions.
[0039] In a possible embodiment, the initial compressor station deployment parameters include compressor parameters, and the compressor parameters include at least one of the number of compressors, compressor power, and a deployment position of the compressor on the corresponding pipe section. The device also includes an adjustment module, and the adjustment module is used to:
[0040] If the target boost ratio is greater than the boost ratio upper limit, or the target total load is not within the specified load range, the compressor parameters in the initial compressor station deployment parameters are adjusted to adjust the target boost ratio of each compressor in the pipeline section and the target total load of all compressors.
[0041] In a possible embodiment, the output module is further used for:
[0042] Determine the load ratio of each compressor in the pipeline section according to the initial compressor station deployment parameters of the pipeline section, where the load ratio is the ratio of the target load of the compressor to the load upper limit of the compressor;
[0043] If the load ratio of each compressor in each pipeline section is consistent, the target deployment result of the pipeline to be deployed is generated based on the target compressor station deployment parameters corresponding to each pipeline section.
[0044] On the one hand, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores program code, and when the program code is executed by the processor, the processor executes any of the above-mentioned equal load deployment methods for a gas compressor station.
[0045] On the one hand, the present application provides a computer-readable storage medium, which includes a program code. When the storage medium is run on an electronic device, the program code is used to enable the electronic device to execute any of the above-mentioned equal load deployment methods for compressor stations.
[0046] On the one hand, an embodiment of the present application provides a computer program product, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium; when a processor of an electronic device reads the computer instructions from the computer-readable storage medium, the processor executes the computer instructions, so that the electronic device executes any of the above-mentioned equal load deployment methods for a compressor station.
[0047] The beneficial effects of this application are as follows:
[0048] The embodiment of the present application provides a method, device, electronic device and storage medium for equal load deployment of a compressor station. Among them, the method for equal load deployment of a compressor station includes: first, obtaining the expected delivery flow of each pipe section in the pipeline to be deployed and the initial compressor station deployment parameters of each pipe section; second, for each pipe section, according to the expected delivery flow of the pipe section, determining the upper limit of the boost ratio of the compressor of the compressor station to be deployed corresponding to the pipe section, and the compressor station to be deployed includes at least one compressor; then, according to the initial compressor station deployment parameters of the pipe section, determining the target boost ratio of each compressor in the pipe section and the target total load of all compressors in the pipe section; if the target boost ratio is less than or equal to the upper limit of the boost ratio, and the target total load is within the specified load range, then the initial compressor station deployment parameters are determined as the target compressor station deployment parameters; thereby, it is possible to automatically detect whether the current initial compressor station deployment parameters of each pipe section meet the requirements based on the boost ratio upper limit and the specified load range, and if they meet the requirements, the initial compressor station deployment parameters are determined as the target compressor station deployment parameters. Finally, based on the target compressor station deployment parameters corresponding to each pipeline section, the target deployment results of the pipeline to be deployed are generated and output, thereby realizing the automatic deployment of the compressor station of the pipeline to be deployed. Compared with manual station layout, the station layout efficiency is greatly improved. In addition, in the process of station layout, on the one hand, by considering that the boost ratio of the compressor in a single pipeline section does not exceed the boost ratio upper limit, the compressor overload operation can be reasonably avoided and the service life of the compressor can be improved. On the other hand, by considering that the target total load of all compressors in each pipeline section is within the specified load range, it is equivalent to making the load of the compressor station corresponding to each pipeline section roughly the same, and the operation of the entire system becomes more balanced, reducing the risk of failure due to excessive use of individual compressor stations, and improving the reliability and stability of the entire transportation system.
[0049] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0051] Figure 1 This is a schematic diagram of an application scenario in an embodiment of the present application;
[0052] Figure 2This is a flowchart of an implementation method of equal load deployment of a compressor station in an embodiment of the present application;
[0053] Figure 3 A pipeline network diagram in an embodiment of the present application;
[0054] Figure 4 This is a specific implementation flow chart of an equal load deployment method for a compressor station in an embodiment of the present application;
[0055] Figure 5 This is a structural schematic diagram of an equal load deployment device for a compressor station in an embodiment of the present application;
[0056] Figure 6 The present invention is a schematic diagram of a hardware structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be arbitrarily combined with each other. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.
[0058] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the invention described herein can be implemented in sequences other than those illustrated or described herein.
[0059] The following is a brief introduction to the design concept of the embodiment of the present application:
[0060] In the related art, when deploying compressor stations, the main deployment idea is often to select a deployment plan with the lowest cost as much as possible while ensuring that natural gas can be transported normally. However, this deployment method usually only considers the construction cost of the compressor station when deploying the station, thereby ignoring the operation and maintenance cost of the compressor station equipment during the later use process, resulting in the deployment result failing to achieve the expected cost reduction effect.
[0061] In view of this, the embodiments of the present application provide a method, device, electronic device and storage medium for equal load deployment of a gas compressor station. The method for equal load deployment of a gas compressor station includes:
[0062] First, the estimated delivery flow of each pipeline section in the pipeline to be deployed and the initial compressor station deployment parameters of each pipeline section are obtained; secondly, for each pipeline section, the upper limit of the boost ratio of the compressor of the compressor station to be deployed corresponding to the pipeline section is determined according to the estimated delivery flow of the pipeline section, and the compressor station to be deployed includes at least one compressor; then, according to the initial compressor station deployment parameters of the pipeline section, the target boost ratio of each compressor in the pipeline section and the target total load of all compressors in the pipeline section are determined; if the target boost ratio is less than or equal to the upper limit of the boost ratio, and the target total load is within the specified load range, the initial compressor station deployment parameters are determined as the target compressor station deployment parameters; thereby, it is possible to automatically detect whether the current initial compressor station deployment parameters of each pipeline section meet the requirements based on the upper limit of the boost ratio and the specified load range, and if they meet the requirements, the initial compressor station deployment parameters are determined as the target compressor station deployment parameters. Finally, based on the target compressor station deployment parameters corresponding to each pipeline section, the target deployment results of the pipeline to be deployed are generated and output, thereby realizing the automatic deployment of the compressor stations of the entire pipeline to be deployed. Compared with manual station layout, the station layout efficiency is greatly improved. In addition, in the process of station layout, by considering that the compressor boost ratio does not exceed the boost ratio upper limit, the compressor overload operation can be reasonably avoided and the compressor service life can be improved. By considering that the target total load of all compressors in the pipeline section is within the specified load range, it is equivalent to making the load of the compressor station corresponding to each pipeline section roughly the same, and the operation of the entire system becomes more balanced, reducing the risk of failure due to excessive use of individual compressor stations, and improving the reliability and stability of the entire transportation system. Moreover, if the loads of all compressor stations are similar, their wear levels will be relatively consistent, which makes maintenance and overhaul work easier to plan and execute. Maintenance personnel can formulate unified maintenance strategies based on similar working conditions, simplify maintenance processes, and improve maintenance efficiency and costs.
[0063] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.
[0064] like Figure 1 , which is a schematic diagram of an application scenario provided by an embodiment of the present application. In the schematic diagram of the application scenario, a terminal device 101 and a server 102 are included. The terminal device 101 and the server 102 communicate with each other through a communication network.
[0065] The terminal device 101 is an electronic device used by the target object, and the electronic device may be a personal computer, a mobile phone, a tablet computer, a notebook, an e-book reader, a vehicle-mounted terminal, etc. In addition, a replenishment-related client may be installed on the terminal device 101, and the client may be a software (e.g., an APP, a browser, etc.), or a web page, a small program, etc. The target object may use the above-mentioned compressor station deployment-related client through the terminal device 101 to perform compressor station deployment-related operations. The target object may be a user.
[0066] The server 102 may be an independent physical server or an edge device 102 in the field of cloud computing. It may also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud storage, cloud functions, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (English name: Content Delivery Network, abbreviated as CDN), as well as big data and artificial intelligence platforms.
[0067] There is no restriction on the number of the terminal devices 101 and / or servers 102 .
[0068] It should be noted that the equal load deployment method of the compressor station in the embodiment of the present application can be executed by the terminal device 101 or the server 102 alone, or can be executed jointly by the terminal device 101 and the server 102. For example, when executed jointly by the terminal device 101 and the server 102, the server 102 can receive some initial deployment parameters (such as the number of compressor stations to be deployed, detected environmental parameters, etc.), deployment constraints and other information input by the target object on the terminal device 101; then, the server 102 can use the equal load deployment method of the compressor station in the embodiment of the present application to deploy the compressor station according to the above information received, so as to obtain the target deployment result, and send the target deployment result to the terminal device 102, and the terminal device 102 can receive the target deployment result and present the target deployment result to the target object, so that the target object can deploy the compressor station according to the target deployment result.
[0069] The following describes the equal load deployment method of the compressor station provided by the exemplary embodiment of the present application in combination with the above-mentioned application scenario and with reference to the accompanying drawings. It should be noted that the above-mentioned application scenario is only shown to facilitate the understanding of the spirit and principles of the present application, and the implementation method of the present application is not subject to any limitations in this regard.
[0070] refer to Figure 2 , is an implementation flow chart of a method for equal load deployment of a compressor station provided in an embodiment of the present application. Here, the server is used as the execution subject for introduction. The specific implementation process of the method is as follows:
[0071] S201. Obtain the estimated delivery flow of each pipeline section in the pipeline to be deployed and the initial compressor station deployment parameters of each pipeline section.
[0072] Among them, the pipeline to be deployed may refer to a natural gas transmission pipeline that requires the deployment of a compressor station. The pipeline to be deployed may be composed of multiple pipe sections connected in sequence, wherein at least one compressor station may be deployed in each pipe section to provide the natural gas in the pipe section with the pressure required for transportation.
[0073] Among them, the expected delivery flow rate corresponding to the pipeline section can be the natural gas flow rate planned to be delivered by the pipeline section when delivering natural gas. Optionally, the expected delivery flow rate can be determined based on the input flow rate of the pipeline to be deployed and the natural gas supply and demand relationship of the stations along the pipeline to be deployed. For example, the pipeline to be deployed transports natural gas from city A to city B, and along the way it will pass through other cities between city A and city B that need to be supplied or supplemented with natural gas (such as city C, city D, etc.), and other cities can be connected through the corresponding pipeline sections in the pipeline to be deployed, so that the expected delivery flow rate of the corresponding pipeline section can be determined based on the natural gas supply and demand relationship of different cities, combined with the compressor performance and input flow rate of the compressor station. It can be understood that the flow rate in this embodiment can refer to liquid flow rate. In some embodiments, natural gas can be compressed into liquid for transmission.
[0074] Among them, the initial compressor station deployment parameters may include various parameters related to the compressor station that are initially set by the target object for the compressor station (such as the model of the compressor station, the power of the compressor station, the compressor parameters of the compressor in the compressor station, etc.). Optionally, the initial compressor station deployment parameters may be customized by the target object and input into the server. The initial compressor station deployment parameters may include some parameters related to the compressor station that need to be deployed by the target object and some known parameters that may affect the actual working state of the compressor station, such as pipeline parameters of the pipe section (such as pipeline diameter, length, roughness, etc.), compressor parameters (such as the model, rated power, maximum flow rate, etc. of each compressor), initial conditions (such as the flow rate requirement of natural gas when it is transported in the corresponding pipe section), and environmental conditions (such as temperature, altitude, etc.).
[0075] S202. For each pipeline section, according to the expected delivery flow of the pipeline section, determine the upper limit of the boost ratio of the compressor of the compressor station to be deployed corresponding to the pipeline section, where the compressor station to be deployed includes at least one compressor.
[0076] In some embodiments, the hydraulic parameters corresponding to the compressor can be obtained, and then the upper limit of the pressure increase ratio of the compressor of the compressor station to be deployed corresponding to the pipeline section can be determined according to the hydraulic parameters and the expected delivery flow of the pipeline section. For example, the input pressure and output pressure of the pipeline section can be calculated by the following formula, and then the ratio of the input pressure to the outlet pressure is used as the upper limit of the pressure increase ratio.
[0077]
[0078] Among them, δ i,j,n is the hydraulic parameter of the nth pipe segment (i, j) in the pipeline, i is the starting end of the nth pipe segment, j is the ending end of the nth pipe segment, P i,(i,j),n is the input pressure of the nth pipe section (i, j), P j,(i,j),n is the output pressure of the nth pipe section (i, j), f i,j,n is the expected flow rate of the nth pipe section (i, j).
[0079] Among them, the hydraulic parameter δ i,j,n It can be determined according to the length, diameter and other parameters of the nth pipe segment (i, j). For example, the hydraulic parameter δ i,j,n It can be calculated by the following formula:
[0080]
[0081] in, is the length of the nth pipe segment (i, j), is the inner diameter of the nth pipe segment (i, j), in centimeters; i,j,n is the hydraulic friction coefficient of the nth pipe section (i, j); x is the compression factor of natural gas, which can be obtained by looking up the gas pressure and flow table; Δ * is the relative density of natural gas, which is taken as 0.616 under standard conditions; T cp is the average temperature of the gas in the pipe section, in Kelvin; is the length of the nth pipe segment (i, j), in kilometers; R is the hydraulic calculation constant, which can be 1.1046·10 -11 .
[0082] S203: Determine a target pressure-increasing ratio of each compressor in the pipeline section and a target total load of all compressors in the pipeline section according to the initial compressor station deployment parameters of the pipeline section.
[0083] In some embodiments, the target boost ratio of each compressor in the pipeline section and the target load of the compressor can be predicted by a pre-trained deep learning model according to the initial compressor station deployment parameters. The deep learning model can be trained according to the input compressor station deployment parameter samples, parameter samples related to the boost ratio and load of the compressor, and the boost ratio samples and load samples of the compressor to learn the relationship between the above various parameters. After obtaining the target load of each compressor, the target load of each compressor can be accumulated to obtain the target total load. In other embodiments, a process model of the pipeline section and the compressor station can be constructed in the simulation software, and then the initial compressor station deployment parameters can be input into the process model for simulation to obtain the target boost ratio of each compressor in the pipeline section and the target load of each compressor in the pipeline section, and then the target load of each compressor can be accumulated to obtain the target total load.
[0084] S204: If the target boost ratio is less than or equal to the boost ratio upper limit, and the target total load is within a specified load range, the initial compressor station deployment parameters are determined as the target compressor station deployment parameters.
[0085] In some embodiments, after obtaining the target boost ratio of each compressor in step S203, the target boost ratio of each compressor can be compared with the boost ratio upper limit to determine whether the target boost ratio exceeds the boost ratio upper limit. If not, it indicates that the compressor can operate normally with reasonable power when in use. In addition, after obtaining the target total load of all compressors in the pipeline section, that is, the load of the compressor station in the pipeline section, the target total load can be compared with the specified load range. If the target total load is within the specified load range, it indicates that the compressor station in the pipeline section can operate normally.
[0086] As an implementation method, a reference load and an error amount may be set, and then a specified load range may be determined based on the reference load and the error amount. For example, the specified load range may be expressed as: load-∈≤w i ≤load+∈, where load is the reference load and ∈ is the error amount. The reference load and the error amount can be customized according to actual needs and are not limited here.
[0087] In some embodiments, the initial compressor station deployment parameters include compressor parameters, and the compressor parameters include at least one of the number of compressors, compressor power, and the deployment position of the compressor on the corresponding pipeline section. The method may further include:
[0088] If the target boost ratio is greater than the boost ratio upper limit, or the target total load is not within the specified load range, the compressor parameters in the initial compressor station deployment parameters are adjusted to adjust the target boost ratio of each compressor in the pipeline section and the target total load of all compressors. Then, it is possible to continue to detect whether the adjusted boost ratio is less than or equal to the boost ratio upper limit, and whether the adjusted total load is within the specified load range. If so, the adjustment is stopped, and the adjusted result is output for subsequent steps. If not, the adjustment is continued until the adjusted boost ratio is less than or equal to the boost ratio upper limit, and the adjusted total load is within the specified load range.
[0089] Exemplarily, for example, the initial compressor station deployment parameters may include compressor parameters and other parameters except the compressor parameters (such as the power of the compressor station, the upper upload limit, the lower download limit, the upper pressure limit, the lower pressure limit, etc.). In this embodiment, only the compressor parameters in the initial compressor station deployment parameters can be adjusted. Since the compressor parameters in the pipe section are strongly correlated with the compressor's boost ratio and the total load of all compressors, and other parameters may have a smaller impact on the compressor's boost ratio and the total load of all compressors, in this embodiment, only adjusting the compressor parameters can effectively improve the regulation effect and efficiency.
[0090] It is understandable that when deploying the target compressor station deployment parameters of each pipe section, it is necessary to take into account the terminal pressure of the pipe section connected between the pipe sections. The terminal pressure will change with the change of the compressor station deployment parameters of the pipe section. Therefore, in this embodiment, the target compressor station deployment parameters of multiple pipe sections can be configured one by one according to the connection order.
[0091] S205. Based on the target compressor station deployment parameters corresponding to each pipeline section, a target deployment result of the pipeline to be deployed is generated, and the target deployment result is output.
[0092] In some implementations, the specific implementation of step S205 may include:
[0093] S2051. Generate candidate deployment results of the pipeline to be deployed based on the target compressor station deployment parameters corresponding to each pipeline section;
[0094] In some implementations, specific implementations of S2051 may include:
[0095] The pipeline parameters of the pipeline to be deployed are obtained; and based on the pipeline parameters and the target compressor station deployment parameters corresponding to each pipeline section, candidate deployment results of the pipeline to be deployed are generated.
[0096] In some embodiments, the pipeline parameters may be various parameters related to the pipeline that are preliminarily set by the target object for the pipeline to be deployed. Optionally, the pipeline parameters may include at least one of the pipeline length, the pipe diameter, and the maximum bearing pressure.
[0097] It can be understood that the equal load deployment method of the compressor station in the present embodiment can roughly include two aspects of deployment. One aspect is the deployment of the compressor station, which is mainly achieved by setting the compressor station deployment parameters, wherein the compressor station deployment parameters mainly include the compressor parameters of the compressor in the compressor station; the other aspect is the deployment of the pipeline, which is mainly achieved by setting the pipeline parameters of the pipeline.
[0098] S2052. Obtaining the deployment cost corresponding to the candidate compressor station deployment result;
[0099] In some implementations, in step 2052, the specific implementation of "obtaining the deployment cost corresponding to the candidate compressor station deployment result" may include:
[0100] According to the pipeline parameters and the target compressor station deployment parameters, the deployment cost corresponding to the candidate compressor station deployment results is calculated.
[0101] As an example, the specific implementation of the step of "calculating the deployment cost corresponding to the candidate compressor station deployment result according to the pipeline parameters and the target compressor station deployment parameters" may include:
[0102] According to the target compressor station deployment parameters corresponding to each pipeline section, the energy consumption cost and construction cost of the compressor station to be deployed corresponding to each pipeline section are determined;
[0103] Determine the pipeline cost of the pipeline to be deployed based on the pipeline parameters;
[0104] Determine the deployment cost based on energy consumption cost, construction cost and pipeline cost.
[0105] For example, for each compressor station to be deployed, the energy consumption, compressor station configuration, etc. of the compressor station to be deployed can be extracted from the target compressor station deployment parameters of the compressor station to be deployed, wherein different compressor configurations correspond to different construction costs, and then the pipeline model, pipeline length, and other information are extracted from the pipeline parameters, and then the deployment cost is calculated using the following formula based on the above extracted information:
[0106]
[0107] Where Q is the deployment cost, For energy cost, For pipeline costs, is the construction cost; where α is the cost of single energy consumption, which is a known parameter; T is the considered service life of the compressor station, which can be customized, for example, it can be calculated as 40 years; r is the depreciation rate of the amount; is the construction cost per kilometer of pipeline of model j, and L is the length of the pipeline; is the construction cost of compressor station k; x k Indicates whether compressor station k is built. If so, it is x k =1. t,i is the energy consumption of compressor station i in year t.
[0108] S2053. If the deployment cost meets the preset cost condition, the candidate compressor station deployment result is determined as the target deployment result, and the target deployment result is output.
[0109] In some embodiments, the method may further include:
[0110] S2054: If the deployment cost does not meet the preset cost condition, the pipeline parameters and / or the compressor parameters are updated to obtain updated pipeline parameters and / or updated compressor parameters.
[0111] In some embodiments, when the deployment cost is less than or equal to the cost threshold, it can be determined that the deployment cost meets the preset cost condition, and when the deployment cost is greater than the cost threshold, it can be determined that the deployment cost does not meet the preset cost condition. In other embodiments, multiple different deployment results consisting of multiple pipeline parameters and multiple target compressor station deployment parameters can be obtained, and then the deployment cost corresponding to each deployment result can be calculated, and the deployment costs can be sorted from small to large to obtain multiple sorted deployment costs, and finally the deployment costs ranked before a specified number of the sorted deployment costs are selected as the deployment costs that meet the preset cost condition. Among them, the specified number is a positive integer, which can be 1.
[0112] S2055. Based on the updated pipeline parameters and / or the updated compressor parameters, return to the step of calculating the deployment cost corresponding to the candidate compressor station deployment result according to the pipeline parameters and the compressor parameters, until the calculated deployment cost meets the preset cost condition.
[0113] In some implementations, in some implementations, the specific implementation of step S205 may also include:
[0114] Based on the target compressor station deployment parameters corresponding to each pipeline section, a target deployment result of the pipeline to be deployed is generated; and according to the target deployment result, a flow relationship between the pipeline to be deployed and other pipelines in the pipeline network is determined;
[0115] For example, the target deployment result can be input into a pre-established basic traffic flow model to obtain the traffic relationship output by the basic traffic flow model. For example, the traffic relationship can be obtained by Figure 3 The pipeline network diagram shown in Figure 3 In the figure, the circle represents the compressor station, the line segment represents the pipeline segment, and the line segment arrow represents the flow direction. The pipelines connecting site 1, site 2, site 3, and site 4 are the pipelines deployed to the pipeline network in this implementation, and the dotted lines are other pipelines in the pipeline network. After training, the basic flow direction model can output a new pipeline network diagram based on the input deployment results combined with the deployment results of other pipelines already stored in the model.
[0116] If the traffic relationship meets the preset traffic relationship conditions, the target deployment result is output;
[0117] If the flow relationship does not meet the preset flow relationship conditions, return to the step of updating the pipeline parameters and / or compressor parameters to obtain updated pipeline parameters and / or updated compressor parameters to update the flow relationship until the updated flow relationship meets the preset flow relationship conditions.
[0118] Using the above example, please refer to Figure 3 , assuming Figure 3 The flow direction of the pipe section between station 2 and station 5 should be from station 5 to station 2, but Figure 3 The flow shown in the figure is from station 2 to station 5, so it can be determined that the flow relationship does not meet the preset flow relationship conditions. Figure 3 It is shown that the flow direction of the pipe section between site 2 and site 5 is from site 5 to site 2, so it can be determined that the flow relationship meets the preset flow relationship conditions.
[0119] Taking into account that pipelines newly added to the pipeline network according to the target deployment results may have an impact on pipelines already existing in the pipeline network, in this implementation, the target deployment results are output only when the flow relationship meets the preset flow relationship conditions, thereby ensuring the deployment accuracy of the target deployment results and the safety of the entire natural gas pipeline network.
[0120] In some implementations, specific implementations of step S205 may include:
[0121] According to the initial compressor station deployment parameters of the pipeline section, the load ratio of each compressor in the pipeline section is determined. The load ratio is the ratio of the target load of the compressor to the upper limit of the load of the compressor. If the load ratio of each compressor in each pipeline section is consistent, the target deployment result of the pipeline to be deployed is generated based on the target compressor station deployment parameters corresponding to each pipeline section.
[0122] Taking into account that there may be old compressors in the compressor station, if the load that the old compressor can withstand cannot reach the load that the new compressor can withstand, in this embodiment, by ensuring that the load ratio of each compressor in each pipe section is consistent, for example, each compressor operates at 80% of the load it can withstand, then the old compressor can be prevented from overloading, thereby ensuring that each compressor can work normally and ensuring that the natural gas transportation can be carried out stably.
[0123] In some embodiments, some constraints may be set on pipelines and compressor stations when deploying compressor stations to ensure that the deployed compressor stations can operate stably. For example, the pipeline output may be limited to a specified flow range, the station pressure of the compressor station may be limited to a specified pressure range, the power of the compressor station may be limited to a specified power range, and the boost ratio of the compressor station may be limited to a specified pressure ratio range.
[0124] It can be seen that in this embodiment, the estimated delivery flow of each pipe section in the pipeline to be deployed and the initial compressor station deployment parameters of each pipe section are obtained; secondly, for each pipe section, the upper limit of the boost ratio of the compressor of the compressor station to be deployed corresponding to the pipe section is determined according to the estimated delivery flow of the pipe section, and the compressor station to be deployed includes at least one compressor; then, according to the initial compressor station deployment parameters of the pipe section, the target boost ratio of each compressor in the pipe section and the target total load of all compressors in the pipe section are determined; if the target boost ratio is less than or equal to the upper limit of the boost ratio, and the target total load is within the specified load range, the initial compressor station deployment parameters are determined as the target compressor station deployment parameters; thereby, it is possible to automatically detect whether the current initial compressor station deployment parameters of each pipe section meet the requirements based on the upper limit of the boost ratio and the specified load range, and determine the initial compressor station deployment parameters as the target compressor station deployment parameters if they meet the requirements. Finally, based on the target compressor station deployment parameters corresponding to each pipeline section, the target deployment results of the pipeline to be deployed are generated and output, thereby realizing the automatic deployment of the compressor stations of the entire pipeline to be deployed. Compared with manual station layout, the station layout efficiency is greatly improved. In addition, in the process of station layout, by considering that the compressor boost ratio does not exceed the boost ratio upper limit, the compressor overload operation can be reasonably avoided and the service life of the compressor can be improved. By considering that the target total load of all compressors in the pipeline section is within the specified load range, it is equivalent to making the load of the compressor station corresponding to each pipeline section roughly the same, realizing equal load station layout, and the operation of the entire system becomes more balanced, reducing the risk of failure caused by excessive use of individual compressor stations, and improving the reliability and stability of the entire transportation system. Moreover, if the loads of all compressor stations are similar, their wear levels will be relatively consistent, which makes maintenance and overhaul work easier to plan and execute. Maintenance personnel can formulate unified maintenance strategies based on similar working conditions, simplify maintenance processes, and improve maintenance efficiency and costs.
[0125] In this embodiment, the equal load deployment method of the compressor station in the above steps S201 to S205 can be applied to an actual compressor station deployment scenario for illustration, and specifically can include the following steps:
[0126] Step 1: Calculate the flow rate of each pipe section based on the input flow rate and supply-demand relationship.
[0127] Step 2: Determine the maximum pressure ratio of the compressor in each pipe section (hereinafter also referred to as the maximum pressure ratio) according to the flow rate, and arrange the stations according to the maximum pressure ratio. If the pressure ratio of the compressor exceeds the maximum pressure ratio of the compressor, an error is reported.
[0128] Step 3: Select pipeline parameters such as design pressure and pipe diameter for the pipe section and compressor station parameters of the corresponding compressor station to obtain multiple deployment plans, and compare the multiple deployment plans according to step 4 to select the best plan.
[0129] Step 4: Read the minimum number of sites N input by the user, determine the design pressure and pipe diameter, and substitute the value into the network for equal load site layout. Run the basic flow direction model to determine whether there is a solution. If there is a solution, save the result, and finally compare the solutions with the same number of sites. Select the best solution based on the deployment cost of each solution. If there is no solution under the number of sites, increase the number of sites and recalculate until a solution is found. After a solution is found, continue to add a site solution to search and select the best solution.
[0130] As an example, when selecting the optimal solution, the following objective function can be used to solve it:
[0131]
[0132] The objective function is used to find a deployment solution with the lowest deployment cost from multiple deployment solutions.
[0133] Optionally, when deploying compressor stations based on the above objective function, constraints can also be set at the same time. Specifically, the automatic station layout constraints mainly take into account the limitations on the compressor station and pipeline capacity, as well as the pressure drop balance that needs to be considered in hydraulic calculations.
[0134] In addition to the constraints related to the site layout criteria, other constraints are consistent with the constraints in the basic traffic flow scenario. Some constraints have special upper and lower limits. The specific categories are shown in Table 1:
[0135] Table 1
[0136] Constraint equations Business Implications Remark 1 Pipeline capacity restrictions Can use designed input or manually configured limits 2 Pressure limit at the start and end stations Manually configured limits 3 Compressor station power limitation Obtained by given compressor parameters or manual configuration 4 Compressor station pressure ratio limit Obtained by given compressor parameters or manual configuration 5 Start and end traffic restrictions Manually configured limits
[0137] Specifically, according to Table 1, the site layout criterion constraints may include the following criteria:
[0138] Equal load criterion:
[0139] load-∈≤w i ≤load+∈
[0140] Among them, w i is the power of the i-th compressor station, and ∈ is the allowable floating range of power.
[0141] Pipeline capacity restrictions:
[0142]
[0143] in, is the absolute value of the flow rate of the nth pipe section (i, j), The upper limit of pipeline transmission volume.
[0144] Station pressure limit:
[0145]
[0146] in, is the upper and lower limits of the station pressure, p i,IN is the input pressure of compressor station i, p i,IN is the output pressure of compressor station i.
[0147] Compressor station power limit:
[0148]
[0149] in, is the upper limit of the power of compressor station i.
[0150] Compressor station pressure ratio limit:
[0151]
[0152] Among them, ω down ,ω up It is the lower and upper limit of the compressor pressure ratio.
[0153] For example, Figure 4 As shown, the above four steps can be performed through the following process in practical application.
[0154] First, the target object can select equal load station layout from a variety of station layout modes so that each deployed compressor station operates under approximately the same compliance.
[0155] Then, the flow rate of each pipeline section (ie, the above-mentioned estimated flow rate) can be obtained based on the process relationship and input flow rate of natural gas.
[0156] Then, starting from the first pipe section among the multiple pipe sections, the compressor station is deployed; wherein, when the compressor station is deployed on the pipe section, the pressure ratio of the compressor in the pipe section (i.e., the above-mentioned upper limit of the pressure ratio) can be calculated according to the flow of the pipe section, and then the pipe section is deployed with equal pressure ratio according to the pressure ratio. It can be understood that a variety of deployment schemes can be obtained under the condition of satisfying the equal pressure ratio, and the deployment scheme can include the selection of the pipe diameter of the pipe section, the selection of the design pressure (i.e., the above-mentioned maximum bearing pressure), and the selection of compressor parameters, etc.
[0157] Then, multiple deployment schemes of the first pipe segment are stored, and the terminal pressure of the pipe segment is updated accordingly according to each deployment scheme, so that the pipe segments connected to the subsequent pipe segment can be deployed based on the terminal pressure;
[0158] Then, by repeating the above steps, the deployment of the compressor station for each pipe section in the pipeline to be deployed can be completed, and a combination of multiple station layout schemes can be obtained.
[0159] Then, a preliminary economic evaluation can be conducted on the combination of multiple station layout schemes, sorted by cost, and the basic flow direction calculation can be performed on the scheme with the best cost, and the power of each station can be fixed to optimize the results, and the best top X versions of the combination scheme can be selected as the optimal scheme for output, where X is a positive integer.
[0160] Exemplarily, the server output layout scheme may be as shown in Table 2 and Table 3:
[0161] Table 2
[0162]
[0163]
[0164] Among them, Table 2 can show the deployment parameters for the compressor station.
[0165] Table 3
[0166]
[0167]
[0168]
[0169] Table 3 may show the deployment parameters for the pipe section in the pipeline.
[0170] It can be seen that the equal-load deployment method of the compressor stations in this embodiment realizes the automatic deployment of the compressor stations for the pipelines to be deployed, which greatly improves the station deployment efficiency compared with manual station deployment.
[0171] Based on the same inventive concept, the embodiment of the present application also provides an equal load deployment device for a compressor station. Figure 5 As shown, it is a structural schematic diagram of an equal load deployment device 500 of a compressor station, which may include:
[0172] An acquisition module 501 is used to acquire the estimated delivery flow of each pipeline section in the pipeline to be deployed and the initial compressor station deployment parameters of each pipeline section;
[0173] A first determination module 502 is used to determine, for each pipeline section, an upper limit of a boost ratio of a compressor of a compressor station to be deployed corresponding to the pipeline section according to an expected delivery flow of the pipeline section, wherein the compressor station to be deployed includes at least one compressor;
[0174] A second determination module 503 is used to determine a target boost ratio of each compressor in the pipeline section and a target total load of all compressors in the pipeline section according to the initial compressor station deployment parameters of the pipeline section;
[0175] A third determination module 504 is configured to determine the initial compressor station deployment parameters as the target compressor station deployment parameters if the target boost ratio is less than or equal to the boost ratio upper limit and the target total load is within a specified load range;
[0176] The output module 505 is used to generate a target deployment result of the pipeline to be deployed based on the target compressor station deployment parameters corresponding to each pipeline section, and output the target deployment result.
[0177] In a possible embodiment, the output module 505 is specifically configured to:
[0178] Based on the target compressor station deployment parameters corresponding to each pipeline section, candidate deployment results of the pipeline to be deployed are generated;
[0179] Obtain the deployment cost corresponding to the candidate compressor station deployment result;
[0180] If the deployment cost meets the preset cost condition, the candidate compressor station deployment result is determined as the target deployment result, and the target deployment result is output.
[0181] In a possible embodiment, the output module 505 is further configured to:
[0182] Get pipeline parameters of the pipeline to be deployed;
[0183] Generate candidate deployment results of the pipeline to be deployed based on the pipeline parameters and the target compressor station deployment parameters corresponding to each pipeline section;
[0184] Obtain the deployment cost corresponding to the candidate compressor station deployment results, including:
[0185] According to the pipeline parameters and the target compressor station deployment parameters, the deployment cost corresponding to the candidate compressor station deployment results is calculated.
[0186] In a possible embodiment, the apparatus 500 further includes an updating module, and the updating module is used to:
[0187] If the deployment cost does not meet the preset cost condition, the pipeline parameters and / or the target compressor station deployment parameters are updated to obtain updated pipeline parameters and / or updated target compressor station deployment parameters;
[0188] Based on the updated pipeline parameters and / or the updated target compressor station deployment parameters, return to execute the step of calculating the deployment cost corresponding to the candidate compressor station deployment result according to the pipeline parameters and the target compressor station deployment parameters, until the calculated deployment cost meets the preset cost condition.
[0189] In a possible embodiment, the output module 505 is further configured to:
[0190] According to the target compressor station deployment parameters corresponding to each pipeline section, the energy consumption cost and construction cost of the compressor station to be deployed corresponding to each pipeline section are determined;
[0191] Determine the pipeline cost of the pipeline to be deployed based on the pipeline parameters;
[0192] Determine the deployment cost based on energy consumption cost, construction cost and pipeline cost.
[0193] In a possible embodiment, the pipeline parameters include at least one of pipeline length, pipeline diameter, and maximum bearing pressure.
[0194] In a possible embodiment, the output module 505 is further used for:
[0195] Based on the target compressor station deployment parameters corresponding to each pipeline section, a target deployment result of the pipeline to be deployed is generated;
[0196] According to the target deployment result, determine the flow relationship between the pipeline to be deployed and other pipelines in the pipeline network;
[0197] If the traffic relationship meets the preset traffic relationship conditions, the target deployment result is output;
[0198] If the flow relationship does not meet the preset flow relationship conditions, return to the step of updating the pipeline parameters and / or compressor parameters to obtain updated pipeline parameters and / or updated compressor parameters to update the flow relationship until the updated flow relationship meets the preset flow relationship conditions.
[0199] In a possible embodiment, the initial compressor station deployment parameters include compressor parameters, and the compressor parameters include at least one of the number of compressors, compressor power, and a deployment position of the compressor on the corresponding pipe section. The device 500 also includes an adjustment module, and the adjustment module is used to:
[0200] If the target boost ratio is greater than the boost ratio upper limit, or the target total load is not within the specified load range, the compressor parameters in the initial compressor station deployment parameters are adjusted to adjust the target boost ratio of each compressor in the pipeline section and the target total load of all compressors.
[0201] In a possible embodiment, the output module 505 is further used for:
[0202] Determine the load ratio of each compressor in the pipeline section according to the initial compressor station deployment parameters of the pipeline section, where the load ratio is the ratio of the target load of the compressor to the load upper limit of the compressor;
[0203] If the load ratio of each compressor in each pipeline section is consistent, the target deployment result of the pipeline to be deployed is generated based on the target compressor station deployment parameters corresponding to each pipeline section.
[0204] The equal load deployment device of the compressor station provided in the embodiment of the present application obtains the expected delivery flow of each pipe section in the pipeline to be deployed and the initial compressor station deployment parameters of each pipe section on the server; then, for each pipe section, according to the expected delivery flow of the pipe section, the upper limit of the boost ratio of the compressor of the compressor station to be deployed corresponding to the pipe section is determined, and the compressor station to be deployed includes at least one compressor; then, according to the initial compressor station deployment parameters of the pipe section, the target boost ratio of each compressor in the pipe section and the target total load of all compressors in the pipe section are determined; if the target boost ratio is less than or equal to the upper limit of the boost ratio, and the target total load is within the specified load range, the initial compressor station deployment parameters are determined as the target compressor station deployment parameters; thereby, it is possible to automatically detect whether the current initial compressor station deployment parameters of each pipe section meet the requirements based on the upper limit of the boost ratio and the specified load range, and if they meet the requirements, the initial compressor station deployment parameters are determined as the target compressor station deployment parameters. Finally, based on the target compressor station deployment parameters corresponding to each pipeline section, the target deployment results of the pipeline to be deployed are generated and output, thereby realizing the automatic deployment of the compressor stations of the entire pipeline to be deployed. Compared with manual station layout, the station layout efficiency is greatly improved. In addition, in the process of station layout, by considering that the compressor boost ratio does not exceed the boost ratio upper limit, the compressor overload operation can be reasonably avoided and the compressor service life can be improved. By considering that the target total load of all compressors in the pipeline section is within the specified load range, it is equivalent to making the load of the compressor station corresponding to each pipeline section roughly the same, and the operation of the entire system becomes more balanced, reducing the risk of failure due to excessive use of individual compressor stations, and improving the reliability and stability of the entire transportation system. Moreover, if the loads of all compressor stations are similar, their wear levels will be relatively consistent, which makes maintenance and overhaul work easier to plan and execute. Maintenance personnel can formulate unified maintenance strategies based on similar working conditions, simplify maintenance processes, and improve maintenance efficiency and costs.
[0205] In some possible implementations, the equal load deployment device for a compressor station according to the present application may include at least a processor and a memory. The memory stores program code, and when the program code is executed by the processor, the processor executes the steps of the equal load deployment method for a compressor station according to various exemplary embodiments of the present application described in this specification. For example, the processor may execute the following steps: Figure 2 Follow the steps shown in .
[0206] Based on the same inventive concept, an electronic device is also provided in the embodiment of the present application, and the electronic device can realize the function of the equal load deployment method and device of the aforementioned compressor station, referring to Figure 6 , the electronic device comprises:
[0207] At least one processor 601, and a memory 602 connected to the at least one processor 601. The specific connection medium between the processor 601 and the memory 602 is not limited in the embodiment of the present application. Figure 6 In the example, the processor 601 and the memory 602 are connected via a bus 600. Figure 6 The connection between other components is shown by bold lines, and is not intended to be limiting. The bus 600 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 601 can also be called a controller, and there is no limitation on the name.
[0208] In the embodiment of the present application, the memory 602 stores instructions that can be executed by at least one processor 601. The at least one processor 601 can execute the equal load deployment method of the compressor station discussed above by executing the instructions stored in the memory 602. The processor 601 can implement Figure 5 The functions of each module in the device shown.
[0209] Among them, the processor 601 is the control center of the device, and can use various interfaces and lines to connect the various parts of the entire control device. By running or executing instructions stored in the memory 602 and calling the data stored in the memory 602, the various functions of the device and processing data, the device can be monitored as a whole.
[0210] In one possible design, the processor 601 may include one or more processing units, and the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 601. In some embodiments, the processor 601 and the memory 602 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on separate chips.
[0211] The processor 601 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the equal load deployment method for the compressor station disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0212] The memory 602 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 602 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 602 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 602 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.
[0213] By programming the processor 601, the code corresponding to the equal load deployment method of the compressor station described in the above embodiment can be fixed into the chip, so that the chip can execute the code when running. Figure 2 The steps of the equal load deployment method of the compressor station in the embodiment shown are as follows: How to design and program the processor 601 is a technology well known to those skilled in the art and will not be described in detail here.
[0214] Based on the same inventive concept, an embodiment of the present application further provides a storage medium, which stores computer instructions. When the computer instructions are executed on a computer, the computer executes the equal load deployment method of the compressor station discussed above.
[0215] In some possible embodiments, various aspects of the method for equal load deployment of a compressor station provided in the present application may also be implemented in the form of a program product, which includes a program code. When the program product is run on an apparatus, the program code is used to enable the control device to execute the steps of the method for equal load deployment of a compressor station according to various exemplary embodiments of the present application described above in this specification.
[0216] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0217] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0218] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0219] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0220] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for equal load deployment of a compressor station, characterized in that: include: Obtaining the estimated delivery flow of each pipeline section in the pipeline to be deployed and the initial compressor station deployment parameters of each pipeline section; For each of the pipe sections, according to the expected delivery flow of the pipe section, determining the upper limit of the pressure increase ratio of the compressor of the compressor station to be deployed corresponding to the pipe section, wherein the compressor station to be deployed includes at least one compressor; Determining a target boost ratio of each compressor in the pipeline section and a target total load of all compressors in the pipeline section according to the initial compressor station deployment parameters of the pipeline section; If the target boost ratio is less than or equal to the boost ratio upper limit, and the target total load is within a specified load range, determining the initial compressor station deployment parameters as target compressor station deployment parameters; Based on the target compressor station deployment parameters corresponding to each of the pipeline sections, a target deployment result of the pipeline to be deployed is generated, and the target deployment result is output.
2. The method according to claim 1, characterized in that: The generating a target deployment result of the pipeline to be deployed based on the target compressor station deployment parameters corresponding to each of the pipeline sections, and outputting the target deployment result, comprises: Based on the target compressor station deployment parameters corresponding to each of the pipeline sections, generating candidate deployment results for the pipeline to be deployed; Obtaining the deployment cost corresponding to the candidate compressor station deployment result; If the deployment cost meets the preset cost condition, the candidate compressor station deployment result is determined as the target deployment result, and the target deployment result is output.
3. The method according to claim 2, characterized in that: The generating of the candidate deployment results of the pipeline to be deployed based on the target compressor station deployment parameters corresponding to each of the pipeline sections includes: Obtaining pipeline parameters of the pipeline to be deployed; Generate candidate deployment results of the pipeline to be deployed based on the pipeline parameters and the target compressor station deployment parameters corresponding to each of the pipeline sections; The obtaining of the deployment cost corresponding to the candidate compressor station deployment result includes: The deployment cost corresponding to the candidate compressor station deployment result is calculated according to the pipeline parameters and the target compressor station deployment parameters.
4. The method according to claim 3, characterized in that: The method further comprises: If the deployment cost does not meet the preset cost condition, the pipeline parameters and / or the target compressor station deployment parameters are updated to obtain updated pipeline parameters and / or target compressor station deployment parameters; Based on the updated pipeline parameters and / or the updated target compressor station deployment parameters, return to the step of calculating the deployment cost corresponding to the candidate compressor station deployment result according to the pipeline parameters and the target compressor station deployment parameters until the calculated deployment cost meets the preset cost condition.
5. The method according to claim 3, characterized in that: The calculating, according to the pipeline parameters and the target compressor station deployment parameters, the deployment cost corresponding to the candidate compressor station deployment result includes: Determine the energy consumption cost and construction cost of the compressor station to be deployed corresponding to each of the pipeline sections according to the target compressor station deployment parameters corresponding to each of the pipeline sections; Determining the pipeline cost of the pipeline to be deployed according to the pipeline parameters; The deployment cost is determined according to the energy consumption cost, the construction cost, and the pipeline cost.
6. The method according to claim 3, characterized in that: The pipeline parameters include at least one of pipeline length, pipeline diameter, and maximum bearing pressure.
7. The method according to claim 3, characterized in that: The generating a target deployment result of the pipeline to be deployed based on the target compressor station deployment parameters corresponding to each of the pipeline sections, and outputting the target deployment result, comprises: Based on the target compressor station deployment parameters corresponding to each of the pipeline sections, generating a target deployment result of the pipeline to be deployed; Determining, according to the target deployment result, a flow relationship between the pipeline to be deployed and other pipelines in the pipeline network; If the flow relationship meets the preset flow relationship condition, outputting the target deployment result; If the flow relationship does not meet the preset flow relationship conditions, return to execute the step of updating the pipeline parameters and / or the compressor parameters to obtain updated pipeline parameters and / or updated compressor parameters to update the flow relationship until the updated flow relationship meets the preset flow relationship conditions.
8. The method according to any one of claims 1 to 6, characterized in that: The initial compressor station deployment parameters include compressor parameters, and the compressor parameters include at least one of the number of compressors, compressor power, and the deployment position of the compressor on the corresponding pipe section. The method further includes: If the target pressure boost ratio is greater than the pressure boost ratio upper limit, or the target total load is not within the specified load range, the compressor parameters in the initial compressor station deployment parameters are adjusted to adjust the target pressure boost ratio of each compressor in the pipeline section and the target total load of all compressors.
9. The method according to any one of claims 1 to 6, characterized in that: The generating the target deployment result of the pipeline to be deployed based on the target compressor station deployment parameters corresponding to each of the pipeline sections includes: Determining a load ratio of each compressor in the pipeline section according to the initial compressor station deployment parameters of the pipeline section, wherein the load ratio is a ratio of a target load of the compressor to an upper load limit of the compressor; If the load ratio of each compressor in each of the pipeline sections is consistent, a target deployment result of the pipeline to be deployed is generated based on the target compressor station deployment parameters corresponding to each of the pipeline sections.
10. An equal load deployment device for a compressor station, characterized in that: include: An acquisition module, used to acquire the estimated delivery flow of each pipe section in the pipeline to be deployed and the initial compressor station deployment parameters of each pipe section; A first determination module is used to determine, for each of the pipeline sections, an upper limit of a boost ratio of a compressor of a compressor station to be deployed corresponding to the pipeline section according to an estimated delivery flow of the pipeline section, wherein the compressor station to be deployed includes at least one compressor; A second determination module is used to determine a target boost ratio of each compressor in the pipeline section and a target total load of all compressors in the pipeline section according to the initial compressor station deployment parameters of the pipeline section; a third determination module, configured to determine the initial compressor station deployment parameters as target compressor station deployment parameters if the target boost ratio is less than or equal to the boost ratio upper limit and the target total load is within a specified load range; The output module is used to generate a target deployment result of the pipeline to be deployed based on the target compressor station deployment parameters corresponding to each of the pipeline sections, and output the target deployment result.
11. An electronic device, characterized in that: The device comprises a processor and a memory, wherein the memory stores program codes, and when the program codes are executed by the processor, the processor executes any one of the methods in claims 1 to 9.
12. A computer-readable storage medium, characterized in that: The storage medium comprises a program code, and when the storage medium is run on an electronic device, the program code is used to enable the electronic device to execute any one of the methods described in claims 1 to 9.