Equal-interval deployment method and device for compressor stations, electronic equipment and storage medium

By automatically calculating and determining the equal-range deployment location of the compressed gas station, the problem of low manual deployment efficiency is solved, efficient compressed gas station deployment and load balancing is achieved, system operation efficiency is improved and energy waste is reduced.

CN119623094AInactive Publication Date: 2025-03-14SHANSHU TECH (BEIJING) CO LTD +5
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411777918.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-03-14
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing methods of manually deploying compressor stations cannot ensure deployment efficiency, making it difficult to efficiently complete the deployment of compressor stations.

Method used

A method for deploying compressed gas stations is provided. By obtaining the number of compressed gas stations to be deployed, the deployment distance and the location of the first compressed gas station, the location of each compressed gas station to be deployed, ensuring that the spacing between any two adjacent compressed gas stations is the same.

Benefits of technology

The automatic deployment of compressed gas stations for deploying pipelines is realized. Compared with manual stations, the efficiency of stations is greatly improved. By balancing load distribution, the system's operating efficiency is improved and energy waste is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119623094A_ABST
    Figure CN119623094A_ABST
Patent Text Reader

Abstract

The invention discloses an equal-interval deployment method and device for gas compression stations, electronic equipment and a storage medium, and relates to the technical field of natural gas transportation. The method comprises the following steps: firstly, acquiring a to-be-deployed number and a deployment interval of to-be-deployed compressor stations, and first position information of the first to-be-deployed compressor station in a to-be-deployed pipeline; and according to the first position information and the initial deployment spacing, determining second position information of a next to-be-deployed compressor station of the first to-be-deployed compressor station in the to-be-deployed pipeline, taking the second position information of the next to-be-deployed compressor station as new first position information, and returning to execute the operation of deploying the next to-be-deployed compressor station according to the first position information and the initial deployment spacing. And a step of determining second position information of a next to-be-deployed compressor station of the first to-be-deployed compressor station in the to-be-deployed pipeline, and finally, generating a target deployment result according to the position information of each to-be-deployed compressor station, and outputting the target deployment result. In this way, automatic deployment of the compressor stations of the whole pipeline to be deployed is achieved.
Need to check novelty before this filing date? Find Prior Art

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 equally spaced deployment of gas compressor stations. 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 equally spaced deployment of compressor stations, so as to solve the problem that the existing method of manually deploying compressor stations cannot guarantee the deployment efficiency.

[0005] On the one hand, an embodiment of the present application provides a method for equally spaced deployment of compressor stations, including:

[0006] Obtaining the number of compressor stations to be deployed, the deployment spacing, and the first position information of the first compressor station to be deployed in the pipeline to be deployed;

[0007] Determine, according to the first position information and the initial deployment spacing, the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed, wherein the distance between the first position information and the second position information is equal to the deployment spacing;

[0008] The second position information of the next compressor station to be deployed is used as the new first position information, and the step of determining the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed according to the first position information and the initial deployment spacing is returned until the number of compressor stations to be deployed with the determined position information reaches the number to be deployed, and the position information of each compressor station to be deployed is obtained;

[0009] According to the location information of each compressor station to be deployed, a target deployment result is generated and output.

[0010] On the one hand, an embodiment of the present application provides an equidistant deployment device for a compressor station, comprising:

[0011] An acquisition module, used to acquire the number of compressor stations to be deployed, the deployment spacing, and the first position information of the first compressor station to be deployed in the pipeline to be deployed;

[0012] A determination module, configured to determine, based on the first position information and the initial deployment spacing, the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed, wherein the distance between the first position information and the second position information is equal to the deployment spacing;

[0013] an execution module, configured to use the second position information of the next compressor station to be deployed as the new first position information, return to execute the step of determining the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed according to the first position information and the initial deployment spacing, until the number of compressor stations to be deployed whose position information has been determined is the number to be deployed, and obtain the position information of each compressor station to be deployed;

[0014] The output module is used to generate a target deployment result according to the location information of each compressor station to be deployed, and output the target deployment result.

[0015] In a possible embodiment, the determination module is specifically configured to:

[0016] Determine, according to the first position information and the initial deployment spacing, candidate position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed;

[0017] Detecting the built compressor stations in the pipeline to be deployed according to the candidate location information;

[0018] If an already built compressor station is detected, the already built compressor station is determined as the next compressor station to be deployed of the first compressor station to be deployed, and the third position information of the already built compressor station is obtained;

[0019] The third position information is determined as the second position information of the next compressor station to be deployed, and the initial deployment spacing is updated according to the third position information.

[0020] In a possible embodiment, the initial deployment interval is updated according to the third location information, and the determination module is further specifically used to:

[0021] Obtaining the interval distance between the third position information and the first position information of the first compressor station to be deployed and the number of compressor stations to be deployed whose position information has been determined;

[0022] The updated initial deployment spacing is determined based on the spacing distance and the number of compressor stations to be deployed with determined location information.

[0023] In a possible embodiment, the output module is specifically used for:

[0024] Obtaining compressor station deployment parameters of each compressor station to be deployed and pipeline parameters of the pipeline to be deployed;

[0025] Calculate the deployment cost based on location information, compressor station deployment parameters, and pipeline parameters;

[0026] If the deployment cost meets the preset conditions, the target deployment result is generated based on the location information, compressor station deployment parameters and pipeline parameters.

[0027] In a possible embodiment, the output module is further used for:

[0028] If the deployment cost does not meet the preset cost condition, the pipeline parameters and / or the compressor station deployment parameters are updated to obtain updated pipeline parameters and / or updated compressor station deployment parameters;

[0029] Based on the updated pipeline parameters and / or the updated compressor station deployment parameters, return to execute the step of calculating the deployment cost according to the location information, the compressor station deployment parameters and the pipeline parameters until the calculated deployment cost meets the preset cost condition.

[0030] In a possible embodiment, the output module is further used for:

[0031] Determine the energy consumption cost and construction cost of the compressor station to be deployed according to the compressor station deployment parameters;

[0032] Determine the pipeline cost of the pipeline to be deployed based on pipeline parameters and location information;

[0033] Determine the deployment cost based on energy consumption cost, construction cost and pipeline cost.

[0034] In a possible embodiment, the output module is further used for:

[0035] Generate target deployment results according to the location information of each compressor station to be deployed;

[0036] According to the target deployment result, determine the flow relationship between the pipeline to be deployed and other pipelines in the preset 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 condition, the pipeline parameters and / or the compressor station deployment parameters are updated to update the flow relationship until the updated flow relationship meets the preset flow relationship condition.

[0039] 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 methods for equally spaced deployment of compressor stations.

[0040] 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 methods for equally spaced deployment of compressor stations.

[0041] 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 methods for equally spaced deployment of compressor stations.

[0042] The beneficial effects of this application are as follows:

[0043] Embodiments of the present application provide a method, device, electronic device, and storage medium for equally spaced deployment of compressor stations. The method for equally spaced deployment of compressor stations includes: first, obtaining the number of compressor stations to be deployed, the deployment spacing, and the first position information of the first compressor station to be deployed in the pipeline to be deployed; then, according to the first position information and the initial deployment spacing, determining the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed, wherein the distance between the first position information and the second position information is equal to the deployment spacing; then, taking the second position information of the next compressor station to be deployed as the new first position information, returning to execute the step of determining the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed according to the first position information and the initial deployment spacing, until the number of compressor stations to be deployed with position information determined is the number to be deployed, and obtaining the position information of each compressor station to be deployed, so that each compressor station to be deployed can be automatically deployed on the pipeline to be deployed according to the deployment spacing, and ensuring that the spacing between any two adjacent compressor stations deployed is the same; finally, generating a target deployment result according to the position information of each compressor station to be deployed, and outputting the target deployment result. This enables automatic deployment of compressor stations for pipelines to be deployed, greatly improving deployment efficiency compared to manual deployment. In addition, by deploying compressor stations at equal intervals, it ensures that the load of each compressor station is relatively balanced, avoiding the situation where some stations are overloaded while other stations are lightly loaded. Balanced load distribution helps improve the operating efficiency of the entire system and reduce energy waste.

[0044] 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

[0045] 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.

[0046] Figure 1 This is a schematic diagram of an application scenario in an embodiment of the present application;

[0047] Figure 2 This is a flowchart of an implementation method of an equidistant deployment method of compressor stations in an embodiment of the present application;

[0048] Figure 3 This is a schematic diagram of the distribution of a gas compressor station on a pipeline to be deployed in an embodiment of the present application;

[0049] Figure 4 This is a schematic diagram of the distribution of another type of gas compressor station on the pipeline to be deployed in the embodiment of the present application;

[0050] Figure 5 A schematic diagram of re-location of a compressor station in an embodiment of the present application; Figure 6 A schematic diagram of re-location of a compressor station in an embodiment of the present application;

[0051] Figure 7 A specific implementation flow chart of a method for equally spaced deployment of compressor stations in an embodiment of the present application;

[0052] Figure 8 A schematic structural diagram of an equally spaced deployment device for a compressor station in an embodiment of the application;

[0053] Fig. 9 A schematic diagram of the hardware structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0054] 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.

[0055] 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 terms 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.

[0056] The following is a brief introduction to the design concept of the embodiment of the present application:

[0057] 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 load balancing problem of each compressor station during operation, such as the situation where some stations are overloaded while other stations are lightly loaded. As a result, the efficient operation of the compressor station cannot be guaranteed, and the service life is more likely to be reduced due to overload operation, resulting in the deployment result failing to achieve the expected cost reduction effect.

[0058] In view of this, the embodiments of the present application provide a method, device, electronic device and storage medium for equally spaced deployment of gas compressor stations. The method for equally spaced deployment of gas compressor stations includes:

[0059] First, the number of compressor stations to be deployed, the deployment spacing, and the first position information of the first compressor station to be deployed in the pipeline to be deployed are obtained. Then, according to the first position information and the initial deployment spacing, the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed is determined, and the distance between the first position information and the second position information is equal to the deployment spacing; then the second position information of the next compressor station to be deployed is used as the new first position information, and the step of determining the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed according to the first position information and the initial deployment spacing is returned to execute, until the number of compressor stations to be deployed with the determined position information is the number to be deployed, and the position information of each compressor station to be deployed is obtained, so that the position deployment of each compressor station to be deployed can be automatically performed on the pipeline to be deployed according to the deployment spacing, and the spacing between any two adjacent compressor stations that have been deployed is guaranteed to be the same; finally, according to the position information of each compressor station to be deployed, a target deployment result is generated, and the target deployment result is output. This enables automatic deployment of compressor stations for pipelines to be deployed, greatly improving deployment efficiency compared to manual deployment. In addition, by deploying compressor stations at equal intervals, it ensures that the load of each compressor station is relatively balanced, avoiding the situation where some stations are overloaded while other stations are lightly loaded. Balanced load distribution helps improve the operating efficiency of the entire system and reduce energy waste.

[0060] 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.

[0061] 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.

[0062] 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.

[0063] 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.

[0064] There is no restriction on the number of the terminal devices 101 and / or servers 102 .

[0065] It should be noted that the method for equally spaced deployment of compressor stations 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 compressors to be deployed, the deployment spacing, and the first position information of the first compressor station to be deployed in the pipeline to be deployed, the 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 equally spaced deployment method for compressor stations in the embodiment of the present application to deploy the compressor stations 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.

[0066] The following describes the equally spaced deployment method of compressor stations provided by the exemplary embodiment of the present application in combination with the above-mentioned application scenarios and with reference to the accompanying drawings. It should be noted that the above-mentioned application scenarios are only shown to facilitate understanding of the spirit and principles of the present application, and the implementation methods of the present application are not subject to any limitations in this regard.

[0067] refer to Figure 2 , is an implementation flow chart of a method for equally spaced deployment of compressor stations 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:

[0068] S201. Obtain the number of compressor stations to be deployed, the deployment spacing, and the first position information of the first compressor station to be deployed in the pipeline to be deployed.

[0069] 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.

[0070] Among them, the number to be deployed is the number of compressor stations to be deployed that need to be set. Optionally, the number to be deployed can be a numerical value or a range of quantities. For example, the number to be deployed can include a maximum deployment number and a minimum deployment number, which is not limited here.

[0071] The deployment spacing may be the spacing between any two adjacent compressor stations to be deployed on the pipeline to be deployed.

[0072] Among them, the first position information can indicate the position of the first compressor station to be deployed on the pipeline to be deployed, which can be specifically represented by geographical location information, or by the length distance to the starting end of the pipeline to be deployed, wherein the length distance is the pipeline length of the pipeline to be deployed from the compressor station to be deployed to the starting end of the pipeline to be deployed. The distance in this embodiment can refer to this length distance. When the pipeline to be deployed is a straight line, the distance can be a straight-line distance.

[0073] In some implementations, the number of compressor stations to be deployed, the deployment interval, and the first position information of the first compressor station to be deployed in the pipeline to be deployed can be input by the target object to the server.

[0074] Optionally, if there is an established compressor station in the pipeline to be deployed, the target object may select an established compressor station from the pipeline to be deployed as the first compressor station to be deployed, and use the location information of the established compressor station as the first location information.

[0075] S202: Determine, based on the first position information and the initial deployment spacing, the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed, wherein the distance between the first position information and the second position information is equal to the deployment spacing.

[0076] Exemplarily, for example, the first position information is the distance from the starting end of the pipeline to be deployed, which is equivalent to a length distance of 0 meters, and the initial deployment spacing is L meters. Then the position information obtained from 0 meters on the pipeline to be deployed after passing L meters along the pipeline to be deployed is used as the second position information.

[0077] In some embodiments, in step S202, according to the first position information and the initial deployment interval, a specific implementation of determining the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed may include:

[0078] S2021. Determine, based on the first position information and the initial deployment spacing, the candidate position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed.

[0079] For example, Figure 3 As shown, for example, the first location information is the distance from the starting end of the pipeline to be deployed, the initial deployment distance is L2, and the first compressor station to be deployed can be Figure 3 The site 1 in the figure indicates that the next compressor station to be deployed (i.e. Figure 3 The position of site 2) in the pipeline to be deployed is a position that is a length distance L2 from site 1, and then the position information of the length distance L2 from site 1 can be determined as candidate position information.

[0080] S2022. Detect existing compressor stations in the pipeline to be deployed according to the candidate location information.

[0081] Using the above example, a circular area may be formed with the candidate location information as the center and the detection radius d, and the circular area may be used as the designated range to detect the built compressor stations within the range.

[0082] S2023. If an already built compressor station is detected, the already built compressor station is determined as the next compressor station to be deployed of the first compressor station to be deployed, and the third position information of the already built compressor station is obtained.

[0083] In some implementations, if it is detected that there is an already built compressor station within a specified range from the candidate location information, the already built compressor station is determined as the next compressor station to be deployed of the first compressor station to be deployed.

[0084] Continue to use Figure 3 For example, if an already built compressor station (site Y) is detected within the specified range, site Y can be determined as the next compressor station to be deployed of the first compressor station to be deployed, and the third position information of the already built compressor station can be obtained, that is, the position information of the position in the pipeline to be deployed that is a length distance L1 from site 1.

[0085] S2024. Determine the third position information as the second position information of the next compressor station to be deployed, and update the initial deployment spacing according to the third position information.

[0086] Continuing with the example, the location information of the above-mentioned station Y can be determined as the second location information of the next compressor station to be deployed, that is, Figure 3 Site Y in the example replaces site 2, and then updates the initial deployment spacing from length distance L2 to length distance L1. When the next site to be deployed after site 2 (such as site 3) is deployed, the length distance between site 3 and site 2 can be set to interval L1.

[0087] Taking into account that there may be an existing compressor station on the pipeline to be deployed, in this embodiment, the existing compressor station is detected in the pipeline to be deployed according to the candidate position information. If an existing compressor station is detected, the existing compressor station is determined as the next compressor station to be deployed of the first compressor station to be deployed, and the third position information of the existing compressor station is obtained, so that the existing compressor station can also be taken into account in the compressor station deployment plan, and the compressor station deployment plan is updated in real time according to the existing compressor station, which not only avoids the influence of the existing compressor station on the deployment plan, but also saves the deployment cost.

[0088] In some implementations, in step S2024, a specific implementation of updating the initial deployment interval according to the third location information may include:

[0089] The interval distance between the third position information and the first position information of the first compressor station to be deployed and the number of compressor stations to be deployed whose position information has been determined are obtained.

[0090] The updated initial deployment spacing is determined based on the spacing distance and the number of compressor stations to be deployed with determined location information.

[0091] As an implementation method, the interval distance between the first location information of the first compressor station to be deployed can be divided by the difference between the number of compressor stations to be deployed with determined location information minus 1, so as to obtain the updated initial deployment spacing. Figure 4 As shown, taking the interval distance between the third position information and the first position information of the first compressor station to be deployed as L3, and the number of compressor stations to be deployed with determined position information as 4 as an example, the updated initial deployment spacing is L3 / (4-1), and the updated initial deployment spacing is L4.

[0092] S203, taking the second position information of the next compressor station to be deployed as the new first position information, returning to execute the step of determining the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed according to the first position information and the initial deployment spacing, until the number of compressor stations to be deployed whose position information has been determined reaches the number to be deployed, and the position information of each compressor station to be deployed is obtained.

[0093] S204. Generate a target deployment result according to the location information of each compressor station to be deployed, and output the target deployment result.

[0094] In some implementations, in step S204, according to the location information of each compressor station to be deployed, a specific implementation method of generating a target deployment result may include:

[0095] S2041. Obtain compressor station deployment parameters of each compressor station to be deployed and pipeline parameters of the pipeline to be deployed.

[0096] The 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.).

[0097] 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 pipe diameter, wall thickness, and maximum bearing pressure.

[0098] S2042. Calculate the deployment cost according to the location information, compressor station deployment parameters, and pipeline parameters.

[0099] In some embodiments, the length of the pipeline to be deployed can be determined according to the location information of each compressor station to be deployed. Alternatively, the length of the pipeline to be deployed can also be determined according to the interval distance and the number of compressor stations to be deployed, and then the deployment cost is calculated according to the pipeline length, compressor station deployment parameters and pipeline parameters.

[0100] It can be understood that the equally spaced deployment method of compressor stations in the present embodiment can roughly include two aspects of deployment. One aspect is the deployment of compressor stations, which is mainly achieved by setting compressor station deployment parameters. The other aspect is the deployment of pipelines, which is mainly achieved by setting pipeline parameters of the pipelines, wherein the pipeline length can also be regarded as a pipeline parameter after being determined.

[0101] In some implementations, specific implementations of step S2042 may include:

[0102] According to the compressor station deployment parameters, determine the energy consumption cost and construction cost of the compressor station to be deployed.

[0103] The pipeline cost of the pipeline to be deployed is determined based on the pipeline parameters and location information.

[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] S2043. If the deployment cost meets the preset conditions, a target deployment result is generated based on the location information, compressor station deployment parameters, and pipeline parameters.

[0109] In some embodiments, the method for equally spaced deployment of compressor stations may further include:

[0110] S2044: If the deployment cost does not meet the preset cost condition, the pipeline parameters and / or the compressor station deployment parameters are updated to obtain updated pipeline parameters and / or updated compressor station deployment parameters.

[0111] S2045. Based on the updated pipeline parameters and / or the updated compressor station deployment parameters, return to the step of calculating the deployment cost according to the location information, the compressor station deployment parameters and the pipeline parameters until the calculated deployment cost meets the preset cost condition.

[0112] 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.

[0113] In some implementations, in step S204, the specific implementation of generating the target deployment result according to the location information of each compressor station to be deployed may also include:

[0114] Generate target deployment results according to the location information of each compressor station to be deployed;

[0115] According to the target deployment result, determine the flow relationship between the pipeline to be deployed and other pipelines in the preset pipeline network;

[0116] 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 5In 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.

[0117] If the traffic relationship meets the preset traffic relationship conditions, the target deployment result is output.

[0118] If the flow relationship does not meet the preset flow relationship condition, the pipeline parameters and / or the compressor station deployment parameters are updated to update the flow relationship until the updated flow relationship meets the preset flow relationship condition.

[0119] Using the above example, please refer to Figure 5 , assuming Figure 5 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.

[0120] 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.

[0121] 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.

[0122] It can be seen that in this embodiment, by obtaining the number of compressor stations to be deployed, the deployment spacing, and the first position information of the first compressor station to be deployed in the pipeline to be deployed, then, according to the first position information and the initial deployment spacing, the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed is determined, and the distance between the first position information and the second position information is equal to the deployment spacing; then the second position information of the next compressor station to be deployed is used as the new first position information, and the step of determining the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed according to the first position information and the initial deployment spacing is returned to execute, until the number of compressor stations to be deployed with the determined position information is the number to be deployed, and the position information of each compressor station to be deployed is obtained, so that the position deployment of each compressor station to be deployed can be automatically performed on the pipeline to be deployed according to the deployment spacing, and the spacing between any two adjacent compressor stations that have been deployed is ensured to be the same; finally, according to the position information of each compressor station to be deployed, a target deployment result is generated, and the target deployment result is output. This enables automatic deployment of compressor stations for pipelines to be deployed, greatly improving deployment efficiency compared to manual deployment. In addition, by deploying compressor stations at equal intervals, it ensures that the load of each compressor station is relatively balanced, avoiding the situation where some stations are overloaded while other stations are lightly loaded. Balanced load distribution helps improve the operating efficiency of the entire system and reduce energy waste.

[0123] In this embodiment, the method for equally spaced deployment of compressor stations in steps S201 to S204 can be applied to an actual compressor station deployment scenario for illustration:

[0124] Specifically, the design pressure and diameter of the pipeline to be deployed can be traversed within the optional range, and the range of the number of sites to be deployed in the deployment plan can be determined. Then, the following steps are performed according to the results of each traversal and the range of the number of sites, so as to output the optimal number of sites and the optimal deployment plan:

[0125] Step 1: Read the minimum number of stations N input by the user, determine the design pressure and pipe diameter, and substitute the value into the network for equally spaced stations. When arranging stations at equal intervals, if the first station is not a compressor station, it is necessary to consider the first station as a compressor station, and then run the basic flow direction model to determine whether there is a solution. If there is a solution, compare the solutions with the same number of stations and select the best solution. If there is no solution under the number of stations, increase the number of stations and recalculate until a solution is found. After a solution is found, continue to add a station solution to search and select the best solution.

[0126] Step 2: If there are X compressor stations, they are arranged at equal intervals according to N+X. Then, the nearest station to the built station (i.e., the built compressor station mentioned above) is arranged at equal intervals. The remaining stations are arranged at equal intervals according to the split situation, such as Figure 6 As shown, after the built station is detected, the built station can be used to replace the compressor station to be deployed, and then the distance between two adjacent stations is adjusted according to the location of the built station, and the compressor stations to be deployed are re-sited with equal spacing based on the adjusted distance.

[0127] Step 3: After determining the station location, input the new station and pipe section information into the basic flow direction, optimize the compressor power, and output the index results.

[0128] For example, Figure 7 As shown, the above steps can be performed through the following process in practical application:

[0129] First, the target object can select an evenly spaced station layout mode from a variety of station layout modes, and then the server can start searching for deployment solutions from the lower limit I of the number of stations.

[0130] Then, the server can split the pipeline to be deployed into multiple segments according to the number a of existing stations. For example, the segment can be split into I+a segments with equal spacing to lay out I+a new stations (including the starting station).

[0131] Then, the server can find the latest new battlefield of each existing station according to the location of the existing station, and delete and replace it.

[0132] Then, the number of new stations is counted between the existing stations, and the position of the new battlefield is fine-tuned in an evenly spaced manner according to the number of new stations, thereby obtaining a deployment plan for the new stations (also called a new station plan).

[0133] Next, the new station plan can be input into the basic flow direction model to optimize the compressor station deployment parameters of the compressor station to be deployed, and specifically, the compressor parameters (such as compressor power) in the compressor station deployment parameters can be optimized. Specifically, the basic flow direction model can be used to determine whether the new station plan has a solution. If there is a solution, it indicates that there is a new station plan that can ensure that the pipeline to be deployed will not affect the flow direction of other pipelines after being added to the pipeline network.

[0134] If the new station plan is determined to have a solution according to the above method, the economic indicators corresponding to the new station plan can be calculated, that is, the deployment cost corresponding to the new station plan can be calculated, so that the optimal solution of the new station plan can be selected according to the deployment cost. Optionally, the server can also save some solutions that meet the preset cost conditions and save the deployment parameters corresponding to the solutions.

[0135] As an example, when selecting the optimal solution, the following objective function can be used to solve it:

[0136]

[0137] The objective function is used to find a deployment solution with the minimum deployment cost from multiple deployment solutions.

[0138] 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.

[0139] 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:

[0140] Table 1

[0141] 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

[0142] Specifically, according to Table 1, the site layout criterion constraints may include the following criteria:

[0143] Equal spacing station layout principle:

[0144] θ i+1 -θ i =L FIX

[0145] Among them, w i is the power of the ith compressor station, and ∈ is the allowable floating range of power.

[0146] Pipeline capacity limitations:

[0147]

[0148] in, is the absolute value of the flow rate of the nth pipe section (i, j), The upper limit of pipeline transmission volume.

[0149] Station pressure limit:

[0150]

[0151] 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.

[0152] Compressor station power limit:

[0153]

[0154] in, is the upper limit of the power of compressor station i.

[0155] Compressor station pressure ratio limit:

[0156]

[0157] Among them, ω down ,ω up It is the lower and upper limit of the compressor pressure ratio.

[0158] Then, all design pressures and inner diameters under the number of stations can be traversed through the above steps, and all design pressures and inner diameters can be checked in real time to see whether they have been completely traversed.

[0159] If the traversal is complete, you can continue to check whether the number of stations has reached the upper limit (i.e. the number to be deployed mentioned above). If it has reached it, the current new station plan will be output. If it has not reached it, add 1 to the current number of stations and return to execute the above step of dividing the pipeline to be deployed into multiple pipe sections according to the number a of existing stations, until it is detected that the number of stations has reached the upper limit.

[0160] It can be seen that the method for equally spaced deployment of compressor stations in this embodiment realizes automatic deployment of compressor stations for pipelines to be deployed, which greatly improves the efficiency of station deployment compared to manual station deployment.

[0161] Based on the same inventive concept, the embodiment of the present application also provides an equidistant deployment device for a compressor station. Figure 8 As shown, it is a structural schematic diagram of an equally spaced deployment device 800 of a compressor station, which may include:

[0162] An acquisition module 801 is used to acquire the number of compressor stations to be deployed, the deployment spacing, and the first position information of the first compressor station to be deployed in the pipeline to be deployed;

[0163] A determination module 802 is used to determine, based on the first position information and the initial deployment spacing, the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed, wherein the distance between the first position information and the second position information is equal to the deployment spacing;

[0164] Execution module 803 is used to use the second position information of the next compressor station to be deployed as the new first position information, and return to execute the step of determining the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed according to the first position information and the initial deployment spacing, until the number of compressor stations to be deployed whose position information has been determined is the number to be deployed, and the position information of each compressor station to be deployed is obtained;

[0165] The output module 804 is used to generate a target deployment result according to the location information of each compressor station to be deployed, and output the target deployment result.

[0166] In a possible embodiment, the determination module 802 is specifically configured to:

[0167] Determine, according to the first position information and the initial deployment spacing, candidate position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed;

[0168] Detecting the built compressor stations in the pipeline to be deployed according to the candidate location information;

[0169] If an already built compressor station is detected, the already built compressor station is determined as the next compressor station to be deployed of the first compressor station to be deployed, and the third position information of the already built compressor station is obtained;

[0170] The third position information is determined as the second position information of the next compressor station to be deployed, and the initial deployment spacing is updated according to the third position information.

[0171] In a possible embodiment, the initial deployment interval is updated according to the third location information, and the determination module 802 is further configured to:

[0172] Obtaining the interval distance between the third position information and the first position information of the first compressor station to be deployed and the number of compressor stations to be deployed whose position information has been determined;

[0173] The updated initial deployment spacing is determined based on the spacing distance and the number of compressor stations to be deployed with determined location information.

[0174] In a possible embodiment, the output module 804 is specifically used for:

[0175] Obtaining compressor station deployment parameters of each compressor station to be deployed and pipeline parameters of the pipeline to be deployed;

[0176] Calculate the deployment cost based on location information, compressor station deployment parameters, and pipeline parameters;

[0177] If the deployment cost meets the preset conditions, the target deployment result is generated based on the location information, compressor station deployment parameters and pipeline parameters.

[0178] In a possible embodiment, the output module 804 is further configured to:

[0179] If the deployment cost does not meet the preset cost condition, the pipeline parameters and / or the compressor station deployment parameters are updated to obtain updated pipeline parameters and / or updated compressor station deployment parameters;

[0180] Based on the updated pipeline parameters and / or the updated compressor station deployment parameters, return to execute the step of calculating the deployment cost according to the location information, the compressor station deployment parameters and the pipeline parameters until the calculated deployment cost meets the preset cost condition.

[0181] In a possible embodiment, the output module 804 is further configured to:

[0182] Determine the energy consumption cost and construction cost of the compressor station to be deployed according to the compressor station deployment parameters;

[0183] Determine the pipeline cost of the pipeline to be deployed based on pipeline parameters and location information;

[0184] Determine the deployment cost based on energy consumption cost, construction cost and pipeline cost.

[0185] In a possible embodiment, the output module 804 is further configured to:

[0186] Generate target deployment results according to the location information of each compressor station to be deployed;

[0187] According to the target deployment result, determine the flow relationship between the pipeline to be deployed and other pipelines in the preset pipeline network;

[0188] If the traffic relationship meets the preset traffic relationship conditions, the target deployment result is output;

[0189] If the flow relationship does not meet the preset flow relationship condition, the pipeline parameters and / or the compressor station deployment parameters are updated to update the flow relationship until the updated flow relationship meets the preset flow relationship condition.

[0190] The equally spaced deployment device of compressor stations provided in the embodiment of the present application can determine the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed according to the first position information and the initial deployment spacing after the server obtains the number of compressor stations to be deployed, the deployment spacing, and the first position information of the first compressor station to be deployed in the pipeline to be deployed, and the distance between the first position information and the second position information is equal to the deployment spacing; then the second position information of the next compressor station to be deployed is used as the new first position information, and the step of determining the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed according to the first position information and the initial deployment spacing is returned to execute, until the number of compressor stations to be deployed with position information determined is the number to be deployed, and the position information of each compressor station to be deployed is obtained, so that the position deployment of each compressor station to be deployed can be automatically performed on the pipeline to be deployed according to the deployment spacing, and the spacing between any two adjacent compressor stations to be deployed is ensured to be the same; finally, the target deployment result is generated according to the position information of each compressor station to be deployed, and the target deployment result is output. This enables automatic deployment of compressor stations for pipelines to be deployed, greatly improving deployment efficiency compared to manual deployment. In addition, by deploying compressor stations at equal intervals, it ensures that the load of each compressor station is relatively balanced, avoiding the situation where some stations are overloaded while other stations are lightly loaded. Balanced load distribution helps improve the operating efficiency of the entire system and reduce energy waste.

[0191] In some possible implementations, the equally spaced deployment device for compressor stations 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 equally spaced deployment method for compressor stations 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 .

[0192] 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 spacing deployment method device of the aforementioned compressor station, referring to Fig. 9 , the electronic device comprises:

[0193] At least one processor 901, and a memory 902 connected to the at least one processor 901. The specific connection medium between the processor 901 and the memory 902 is not limited in the embodiment of the present application. Fig. 9 In the example, the processor 901 and the memory 902 are connected via a bus 900. Fig. 9 The bus 900 is represented by a bold line, and the connection between other components is only for schematic illustration and is not intended to be limiting. The bus 900 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 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 901 can also be called a controller, and there is no limitation on the name.

[0194] In the embodiment of the present application, the memory 902 stores instructions that can be executed by at least one processor 901. The at least one processor 901 can execute the method for equally spaced deployment of compressor stations discussed above by executing the instructions stored in the memory 902. The processor 901 can implement Figure 8 The functions of each module in the device shown.

[0195] Among them, processor 901 is the control center of the device, and can use various interfaces and lines to connect various parts of the entire control device. By running or executing instructions stored in memory 902 and calling data stored in memory 902, various functions of the device and processing data, the device can be monitored as a whole.

[0196] In one possible design, the processor 901 may include one or more processing units, and the processor 901 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 901. In some embodiments, the processor 901 and the memory 902 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on separate chips.

[0197] The processor 901 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 method for equally spaced deployment of compressor stations 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.

[0198] The memory 902 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 902 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 902 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 902 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.

[0199] By programming the processor 901, the code corresponding to the method for equally spaced deployment of compressor stations 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 method for equally spaced deployment of compressor stations in the illustrated embodiment. How to design and program the processor 901 is a technique known to those skilled in the art and will not be described in detail here.

[0200] 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 method for equally spaced deployment of compressor stations discussed above.

[0201] In some possible embodiments, various aspects of the method for equally spaced deployment of compressor stations 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 equally spaced deployment of compressor stations according to various exemplary embodiments of the present application described above in this specification.

[0202] 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.

[0203] 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.

[0204] 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 including 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.

[0205] 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 in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0206] 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 equally spaced deployment of compressor stations, characterized in that: include: Obtaining the number of compressor stations to be deployed, the deployment spacing, and the first position information of the first compressor station to be deployed in the pipeline to be deployed; Determine, according to the first position information and the initial deployment interval, the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed, wherein the distance between the first position information and the second position information is equal to the deployment interval; The second position information of the next compressor station to be deployed is used as the new first position information, and the step of determining the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed according to the first position information and the initial deployment interval is returned until the number of compressor stations to be deployed with position information determined reaches the number to be deployed, and the position information of each compressor station to be deployed is obtained; According to the location information of each compressor station to be deployed, a target deployment result is generated, and the target deployment result is output.

2. The method according to claim 1, characterized in that: The determining, according to the first position information and the initial deployment interval, second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed includes: Determine, according to the first position information and the initial deployment interval, candidate position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed; Detecting an already built compressor station in the pipeline to be deployed according to the candidate location information; If an already built compressor station is detected, the already built compressor station is determined as the next compressor station to be deployed of the first compressor station to be deployed, and the third position information of the already built compressor station is obtained; The third position information is determined as the second position information of the next compressor station to be deployed, and the initial deployment spacing is updated according to the third position information.

3. The method according to claim 2, characterized in that: The updating the initial deployment interval according to the third location information includes: Obtaining the interval distance between the third position information and the first position information of the first compressor station to be deployed and the number of compressor stations to be deployed with determined position information; An updated initial deployment spacing is determined according to the spacing distance and the number of compressor stations to be deployed for which the location information has been determined.

4. The method according to claim 1, characterized in that: The generating a target deployment result according to the location information of each compressor station to be deployed includes: Obtaining compressor station deployment parameters of each of the compressor stations to be deployed and pipeline parameters of the pipelines to be deployed; Calculating deployment cost according to the location information, the compressor station deployment parameters and the pipeline parameters; If the deployment cost meets the preset conditions, the target deployment result is generated based on the location information, the compressor station deployment parameters and the pipeline parameters.

5. The method according to claim 4, characterized in that: The method further comprises: If the deployment cost does not meet the preset cost condition, the pipeline parameters and / or the compressor station deployment parameters are updated to obtain updated pipeline parameters and / or updated compressor station deployment parameters; Based on the updated pipeline parameters and / or the updated compressor station deployment parameters, return to the step of calculating the deployment cost according to the location information, the compressor station deployment parameters and the pipeline parameters until the calculated deployment cost meets the preset cost condition.

6. The method according to claim 4, characterized in that: The calculating, according to the pipeline parameters and the compressor parameters, the deployment cost corresponding to the candidate compressor station deployment result comprises: Determining the energy consumption cost and construction cost of the compressor station to be deployed according to the compressor station deployment parameters; Determining the pipeline cost of the pipeline to be deployed according to the pipeline parameters and the location information; The deployment cost is determined according to the energy consumption cost, the construction cost, and the pipeline cost.

7. The method according to claim 4, characterized in that: The step of generating a target deployment result according to the location information of each compressor station to be deployed, and outputting the target deployment result includes: Generate a target deployment result according to the location information of each compressor station to be deployed; Determining, according to the target deployment result, a flow relationship between the pipeline to be deployed and other pipelines in a preset pipeline network; If the flow relationship meets the preset flow relationship condition, outputting the target deployment result; If the flow relationship does not satisfy the preset flow relationship condition, the pipeline parameters and / or the compressor station deployment parameters are updated to update the flow relationship until the updated flow relationship satisfies the preset flow relationship condition.

8. An equidistant deployment device for a compressor station, characterized in that: include: An acquisition module, used to acquire the number of compressor stations to be deployed, the deployment spacing, and the first position information of the first compressor station to be deployed in the pipeline to be deployed; A determination module, configured to determine, according to the first position information and the initial deployment spacing, second position information of a compressor station to be deployed next to the first compressor station to be deployed in the pipeline to be deployed, wherein the distance between the first position information and the second position information is equal to the deployment spacing; an execution module, configured to use the second position information of the next compressor station to be deployed as new first position information, and return to execute the step of determining the second position information of the next compressor station to be deployed of the first compressor station to be deployed in the pipeline to be deployed according to the first position information and the initial deployment interval, until the number of compressor stations to be deployed whose position information has been determined is the number to be deployed, and the position information of each compressor station to be deployed is obtained; The output module is used to generate a target deployment result according to the location information of each compressor station to be deployed, and output the target deployment result.

9. 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 7.

10. 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 7.