Control method, device, processor and storage medium for energy pipeline
By optimizing the energy supply and pressure loss at the supply point at the user end of the natural gas pipeline, a reasonable energy group is formed, which solves the problem of unreasonable distribution in the existing technology and improves the transmission and distribution efficiency of the natural gas pipeline.
Patent Information
- Application Number
- CN202211166396.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-23
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-09-23
AI Technical Summary
When the existing technology reduces the energy supply to natural gas pipeline users, the distribution is unreasonable, resulting in insufficient supply to some users and affecting the overall transmission and distribution efficiency.
By randomly selecting the energy supply at each user's supply point, determining the target energy reduction, and calculating the actual supply based on the supply and reduction, forming an alternative energy group, optimizing the energy efficiency value of the energy pipeline, and achieving Reasonable allocation of supply.
Ensure that the actual supply of users is within the preset range, improve the transmission and distribution efficiency of energy pipelines, and ensure that the energy supply of each user is more rational.
Smart Images

Figure CN115562102B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of energy control, and specifically to a control method, device, processor and storage medium for energy pipelines. Background Art
[0002] Taking the energy pipeline as an example, natural gas pipelines can include residential users, commercial users and industrial users. Since my country's natural gas sources are not abundant at this stage, in the event of peak gas consumption and gas shortage, residential users need to be given priority, while commercial and industrial users can be given a certain degree of reduction in natural gas supply. In general, the number of residential users, commercial users and industrial users included in each user end is not the same, so the amount of energy reduction for each user end is also different.
[0003] At present, when reducing the natural gas supply to each user, the distribution of energy reduction for each user is not reasonable, resulting in excessive energy reduction at some users, insufficient energy supply to some users, and failure to meet the energy needs of some users. At the same time, unreasonable distribution of energy reduction will also affect the energy supply to each user's supply point, greatly reducing the transmission and distribution efficiency of the entire energy pipeline. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a control method, device, processor and storage medium for an energy pipeline.
[0005] In order to achieve the above-mentioned object, the first aspect of the present application provides a control method for an energy pipeline, wherein the energy pipeline is used to transport energy to multiple user terminals, wherein the energy pipeline includes multiple pipe sections, each pipe section corresponds to a user terminal, and each user terminal corresponds to multiple supply points, and the control method includes:
[0006] For each supply point, a random energy supply amount is selected from the energy supply range corresponding to the supply point;
[0007] When energy reduction is required for each user end, determine the target energy reduction amount for each user end;
[0008] For the user end corresponding to each pipe section, the actual supply amount of the user end is determined according to the energy supply amount of each supply point corresponding to the user end and the target energy reduction amount;
[0009] For each user terminal, when the actual supply amount of the user terminal is within the preset supply range, the energy supply amount of each supply point corresponding to the actual supply amount of the user terminal and the target energy reduction amount of the user terminal are determined as the candidate energy group;
[0010] Determine the energy efficiency value of the energy pipeline based on the alternative energy groups of all user terminals;
[0011] Determine the alternative energy group of each user end corresponding to the maximum energy benefit value as the target energy group of each user end;
[0012] For each user end, the energy supply amount of each supply point of the user end is reduced and controlled so that the actual energy reduction amount of the user end is the target energy reduction amount corresponding to the target energy group.
[0013] In an embodiment of the present application, determining the target energy reduction amount for each user terminal includes: randomly selecting an energy reduction amount from the energy reduction range of each user terminal in turn; determining the total reduction amount of the energy reduction amounts selected by all user terminals; until the ratio between the total reduction amount and the preset total reduction amount is a preset value, then determining the energy reduction amount corresponding to the total reduction amount as the target energy reduction amount.
[0014] In the embodiment of the present application, the supply point includes at least one of a gas source supply point, a gas storage supply point, and a pipeline storage supply point of the pipeline section where the user end is located. The actual supply amount of each user end is determined by formula (1):
[0015] Q′ iSUP =Q′ iSS +Q′ iGS +Q′ isto -Q′ iRED (1)
[0016] Among them, Q′ iSUP refers to the actual supply corresponding to the i-th user end, Q′ iSS It refers to the energy supply of the gas source supply point corresponding to the i-th user end, Q′ iGS It refers to the energy supply of the storage supply point corresponding to the i-th user end, Q′ isto It refers to the energy supply of the gas storage supply point corresponding to the i-th user end, Q′ iRED It refers to the target energy reduction amount for the i-th user end.
[0017] In an embodiment of the present application, determining the energy efficiency value of the energy pipeline based on the alternative energy groups of all user terminals includes: for each user terminal, obtaining the first energy cost coefficient of the user terminal and the second energy cost coefficient of each supply point; for each user terminal, determining the first energy efficiency value of the user terminal based on the first energy cost coefficient and the actual supply amount corresponding to the alternative energy group; for each user terminal, determining the second energy efficiency value of each supply point based on the second energy cost coefficient and the energy supply amount of each supply point in the alternative energy group; determining the third energy efficiency value for each compressor station based on the power of the compressor station corresponding to each user terminal and the third energy cost coefficient corresponding to the power; and determining the energy efficiency value of the energy pipeline based on all the first energy efficiency values, the second energy efficiency values, and the third energy efficiency values.
[0018] In the embodiment of the present application, the supply point includes at least one of a gas source supply point, a gas storage supply point, and a pipeline storage supply point of the pipeline section where the user end is located. The energy efficiency value is determined by formula (2):
[0019]
[0020] Among them, F refers to the energy efficiency value, N is the number of user terminals of the energy pipeline, s is the number of gas source supply points of the energy pipeline, m is the number of gas storage supply points of the energy pipeline, l is the number of compressor stations of the energy pipeline, h is the number of storage supply points of the energy pipeline, and λ i It refers to the first energy cost coefficient of the i-th user end, Q iSUP It refers to the actual supply corresponding to the alternative energy group at the i-th user end, C q It refers to the second energy cost coefficient of the qth gas source supply point, Q iSS It refers to the energy supply of the gas source supply point in the alternative energy group at the i-th user end, C j It refers to the second energy cost coefficient of the j-th gas storage supply point, Q isto It refers to the energy supply of the gas storage supply point in the alternative energy group of the i-th user end, N k It refers to the power of the kth compressor station corresponding to the user end, C k It refers to the third energy cost coefficient corresponding to the power of the kth compressor station corresponding to the user end, C p It refers to the second energy cost coefficient of the p-th storage supply point, Q iGS It refers to the energy supply of the storage supply point in the alternative energy group of the i-th user.
[0021] In an embodiment of the present application, the control method also includes: obtaining the energy demand for each user terminal; for each user terminal, determining the satisfaction level for the user terminal based on the energy demand of the user terminal and the actual supply of the user terminal; when the satisfaction level is within a preset satisfaction range, determining that the actual supply of the user terminal corresponding to the satisfaction level is within a preset supply range.
[0022] In an embodiment of the present application, the control method also includes: obtaining the maximum supply coefficient of each supply point corresponding to each user end; determining the gas storage capacity of each supply point corresponding to each user end; determining the maximum supply capacity of each supply point based on the maximum supply coefficient and the gas storage capacity; determining the energy supply range corresponding to each supply point based on the maximum supply capacity of each supply point.
[0023] A second aspect of the present application provides a processor configured to execute the above-mentioned control method for an energy pipeline.
[0024] A third aspect of the present application provides a control device for an energy pipeline, comprising the above-mentioned processor.
[0025] A fourth aspect of the present application provides a machine-readable storage medium having instructions stored thereon, which, when executed by a processor, configure the processor to execute the above-mentioned control method for an energy pipeline.
[0026] Through the above technical scheme, the energy supply of each supply point at the user end can be reduced and controlled, so that the actual energy reduction at the user end is the target energy reduction corresponding to the target energy group, ensuring that the actual supply at the user end is within the preset supply range, making the actual energy supply at each user end more reasonable, and greatly improving the transmission and distribution efficiency of the energy pipeline.
[0027] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:
[0029] Figure 1 A schematic diagram of a flow chart of a control method for an energy pipeline according to an embodiment of the present application is schematically shown;
[0030] Figure 2 The internal structure diagram of a computer device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0032] Figure 1 The flowchart of the control method for energy pipeline according to the embodiment of the present application is schematically shown. Figure 1 As shown, in one embodiment of the present application, a control method for an energy pipeline is provided, comprising the following steps:
[0033] Step 101 : for each supply point, randomly select an energy supply amount from the energy supply range corresponding to the supply point.
[0034] Step 102: When energy reduction is required for each user terminal, a target energy reduction amount for each user terminal is determined.
[0035] Step 103, for the user end corresponding to each pipe section, the actual supply amount of the user end is determined according to the energy supply amount of each supply point corresponding to the user end and the target energy reduction amount.
[0036] Step 104, for each user end, when the actual supply amount of the user end is within the preset supply range, the energy supply amount of each supply point corresponding to the actual supply amount of the user end and the target energy reduction amount of the user end are determined as an alternative energy group.
[0037] Step 105, determining the energy efficiency value of the energy pipeline according to the candidate energy groups of all user terminals.
[0038] Step 106 : determining the candidate energy group of each user terminal corresponding to the maximum energy benefit value as the target energy group of each user terminal.
[0039] Step 107 , for each user end, the energy supply amount of each supply point of the user end is reduced and controlled so that the actual energy reduction amount of the user end is the target energy reduction amount corresponding to the target energy group.
[0040] The energy pipeline can be used to transport energy to multiple user terminals. Among them, the energy pipeline can be a natural gas pipeline. The energy pipeline can include multiple pipe sections, each pipe section can correspond to a user terminal, and each user terminal can correspond to multiple supply points. Each user terminal can include commercial, industrial and civil users. The supply point can include at least one of a gas source supply point, a gas storage supply point and a pipe storage supply point of the pipe section where the user terminal is located. When controlling the energy pipeline, for each supply point, the processor can randomly select an energy supply amount from the energy supply range corresponding to the supply point. In the case where energy reduction is required for each user terminal, the processor can determine the target energy reduction amount for each user terminal. For the user terminal corresponding to each pipe section, the processor can determine the actual supply amount of the user terminal based on the energy supply amount of each supply point corresponding to the user terminal and the target energy reduction amount. In the case of determining the actual supply amount of each user terminal, the processor can first determine whether the actual supply amount of each user terminal is within the preset supply range.
[0041] When the actual supply amount at the user end is within the preset supply range, the processor can determine the energy supply amount of each supply point corresponding to the actual supply amount at the user end and the target energy reduction amount of the user end as an alternative energy group. Furthermore, the processor can determine the energy efficiency value of the energy pipeline based on the alternative energy groups of all user ends. Among them, the energy efficiency value can measure the transmission and distribution efficiency of the energy pipeline. In the case of determining multiple energy efficiency values of the energy pipeline, the processor can select the maximum energy efficiency value, and can determine the alternative energy group of each user end corresponding to the maximum energy efficiency value as the target energy group of each user end. For each user end, the processor can reduce the energy supply amount of each supply point of the user end so that the actual energy reduction amount of the user end reaches the target energy reduction amount corresponding to the target energy group.
[0042] Through the above technical scheme, the energy supply of each supply point at the user end can be reduced and controlled, so that the actual energy reduction at the user end is the target energy reduction corresponding to the target energy group, ensuring that the actual supply at the user end is within the preset supply range, making the actual energy supply at each user end more reasonable, and greatly improving the transmission and distribution efficiency of the energy pipeline.
[0043] In one embodiment, the control method also includes: obtaining the maximum supply coefficient of each supply point corresponding to each user end; determining the gas storage capacity of each supply point corresponding to each user end; determining the maximum supply capacity of each supply point based on the maximum supply coefficient and the gas storage capacity; and determining the energy supply range corresponding to each supply point based on the maximum supply capacity of each supply point.
[0044] The supply point may include at least one of a gas source supply point, a gas storage supply point, and a pipe storage supply point of the pipe section where the user end is located. The processor may obtain the maximum supply coefficient of each supply point corresponding to each user end, and may determine the gas storage capacity of each supply point corresponding to each user end. When the maximum supply coefficient and gas storage capacity of each supply point are determined, the processor may determine the maximum supply capacity of each supply point according to the maximum supply coefficient and the gas storage capacity. Further, the processor may determine the energy supply range corresponding to each supply point according to the maximum supply capacity of each supply point.
[0045] For example, for the gas storage supply point at the i-th user end, the gas stored at the gas storage supply point is divided into cushion gas volume and effective gas volume. Among them, the cushion gas volume is needed to maintain a certain pressure and volume of the gas storage, and the cushion gas volume cannot be drawn from the cushion layer to the user end. The effective gas volume can be extracted from the gas storage to supply the user end. Therefore, when it is necessary to draw energy from the gas storage to the user end, the energy supply that can be supplied to the user end should not exceed the effective gas volume, which is the maximum supply volume of the gas storage supply point. For example, the energy supply range of the gas storage supply point at the i-th user end can be Q isto ≤C sto ×V i-storage Among them, Q isto It refers to the amount of energy drawn from the gas storage reservoir at the i-th point, that is, the energy supply of the gas storage reservoir supply point at the i-th user end; C sto It refers to the maximum withdrawal coefficient of the gas storage, that is, the maximum supply coefficient of the gas storage supply point; V i-storage It refers to the gas storage capacity of the gas storage, that is, the gas storage capacity of the gas storage supply point at the i-th user end.
[0046] For example, for the storage supply point at the i-th user end, when it is necessary to draw energy from the storage supply point to the user end, the energy supply that can be supplied to the user end should not exceed the maximum supply of the storage supply point. For example, the energy supply range of the storage supply point at the i-th user end can be Q iGS ≤λ×V gc Among them, Q iGS refers to the gas volume of the pipe storage at the i-th point, that is, the energy supply of the pipe storage supply point at the i-th user end; λ refers to the maximum withdrawal coefficient of the pipe storage supply point, that is, the maximum supply coefficient of the pipe storage supply point; V gc It refers to the gas storage capacity of the pipe storage supply point, that is, the gas storage capacity of the pipe storage supply point at the i-th user end. Among them, the maximum withdrawal coefficient λ can be 0.03.
[0047] In one embodiment, determining the target energy reduction amount for each user terminal includes: randomly selecting an energy reduction amount from the energy reduction range of each user terminal in turn; determining the total reduction amount of the energy reduction amounts selected by all user terminals; until the ratio between the total reduction amount and the preset total reduction amount is a preset value, then determining the energy reduction amount corresponding to the total reduction amount as the target energy reduction amount.
[0048] Each user terminal may include commercial, industrial and civil users. When there are emergencies or gas shortages in the natural gas supply, the natural gas demand of civil users should be fully guaranteed, and industrial and commercial users may have different degrees and proportions of compression. Therefore, the energy compression amount of each user terminal may be different. Specifically, when energy compression is required for each user terminal, the processor may select an energy compression amount from the energy compression range of each user terminal in turn, and may determine the total compression amount of the energy compression amount selected by all user terminals each time. Among them, the energy compression range may refer to the area interval between the minimum energy compression amount of each user terminal and the maximum energy compression amount of each user terminal. Then, the processor may determine the ratio between the total compression amount and the preset total compression amount, and may compare the ratio with the preset value. Among them, the preset value may be 1. When the ratio is a preset value, the processor may determine the energy compression amount of each user terminal corresponding to the total compression amount as the target energy compression amount of each user terminal, so as to meet the preset total compression amount while ensuring that the energy compression amount of each user terminal is within a reasonable range.
[0049] In one embodiment, the supply point includes at least one of a gas source supply point, a gas storage supply point, and a pipeline storage supply point of the pipeline section where the user end is located. The actual supply amount of each user end is determined by formula (1):
[0050] Q′ iSUP =Q′ iSS +Q′ iGS +Q′ isto -Q′ iRED (1)
[0051] Among them, Q′ iSUP refers to the actual supply corresponding to the i-th user end, Q′ iSS It refers to the energy supply of the gas source supply point corresponding to the i-th user end, Q′ iGS It refers to the energy supply of the storage supply point corresponding to the i-th user end, Q′ isto It refers to the energy supply of the gas storage supply point corresponding to the i-th user end, Q′ iRED It refers to the target energy reduction amount for the i-th user end.
[0052] The supply point may include at least one of a gas source supply point, a gas storage supply point, and a pipe storage supply point of the pipe section where the user terminal is located. The actual supply amount of each user terminal may be the energy supply amount of the gas source supply point corresponding to each user terminal, the energy supply amount of the pipe storage supply point corresponding to each user terminal, and the energy supply amount of the gas storage supply point corresponding to each user terminal minus the target energy reduction amount of each user terminal.
[0053] In one embodiment, the control method also includes: obtaining the energy demand for each user terminal; for each user terminal, determining the satisfaction level for the user terminal based on the energy demand of the user terminal and the actual supply of the user terminal; when the satisfaction level is within a preset satisfaction range, determining that the actual supply of the user terminal corresponding to the satisfaction level is within a preset supply range.
[0054] The processor may obtain the energy demand for each user terminal. For each user terminal, the processor may determine the satisfaction of the user terminal according to the energy demand of each user terminal and the actual supply of each user terminal. When the satisfaction is within a preset satisfaction range, the processor may determine that the actual supply of the user terminal corresponding to the satisfaction is within the preset supply range. The preset satisfaction range may refer to a value interval between a minimum satisfaction and a maximum satisfaction. For example, In the case of iSUP Within the preset supply range. iSUP It refers to the actual supply corresponding to the i-th user terminal, Q iDEM refers to the energy demand of the i-th user end, S imin refers to the minimum satisfaction of the i-th user, S max It refers to the maximum satisfaction of the i-th user end, i can be a natural number, S max Can be 1.
[0055] In one embodiment, determining the energy efficiency value of the energy pipeline based on the alternative energy groups of all user terminals includes: for each user terminal, obtaining the first energy cost coefficient of the user terminal and the second energy cost coefficient of each supply point; for each user terminal, determining the first energy efficiency value of the user terminal based on the first energy cost coefficient and the actual supply amount corresponding to the alternative energy group; for each user terminal, determining the second energy efficiency value of each supply point based on the second energy cost coefficient and the energy supply amount of each supply point in the alternative energy group; determining the third energy efficiency value for each compressor station based on the power of the compressor station corresponding to each user terminal and the third energy cost coefficient corresponding to the power; and determining the energy efficiency value of the energy pipeline based on all the first energy efficiency values, the second energy efficiency values, and the third energy efficiency values.
[0056] For each user terminal, the processor can obtain the first energy cost coefficient of the user terminal and the second energy cost coefficient of each supply point. For each user terminal, the processor can determine the first energy benefit value of the user terminal according to the first energy cost coefficient and the actual supply amount corresponding to the alternative energy group. The actual supply amount corresponding to the alternative energy group can refer to the actual supply amount within the preset supply range, which can be expressed as Q iSUP Represented. For each user end, the processor can determine the second energy efficiency value of each supply point according to the second energy cost coefficient and the energy supply of each supply point in the alternative energy group. Each user end can correspond to at least one compressor station. The compressor station can provide power for energy supply and energy compression. The processor can determine the third energy efficiency value for each compressor station according to the power of the compressor station corresponding to each user end and the third energy cost coefficient corresponding to the power. The processor can determine the energy efficiency value of the energy pipeline according to all the first energy efficiency values, the second energy efficiency values and the third energy efficiency values. The energy efficiency value can measure the transmission and distribution efficiency of the energy pipeline.
[0057] In one embodiment, the supply point includes at least one of a gas source supply point, a gas storage supply point, and a pipeline storage supply point of a pipeline section where a user end is located, and the energy efficiency value is determined by formula (2):
[0058]
[0059] Among them, F refers to the energy efficiency value, N is the number of user terminals of the energy pipeline, s is the number of gas source supply points of the energy pipeline, m is the number of gas storage supply points of the energy pipeline, l is the number of compressor stations of the energy pipeline, h is the number of storage supply points of the energy pipeline, and λ i It refers to the first energy cost coefficient of the i-th user end, Q iSUP It refers to the actual supply corresponding to the alternative energy group at the i-th user end, C q It refers to the second energy cost coefficient of the qth gas source supply point, Q iSS It refers to the energy supply of the gas source supply point in the alternative energy group at the i-th user end, C j It refers to the second energy cost coefficient of the j-th gas storage supply point, Q isto It refers to the energy supply of the gas storage supply point in the alternative energy group of the i-th user end, N k It refers to the power of the kth compressor station corresponding to the user end, C k It refers to the third energy cost coefficient corresponding to the power of the kth compressor station corresponding to the user end, C p It refers to the second energy cost coefficient of the p-th storage supply point, Q iGS It refers to the energy supply of the storage supply point in the alternative energy group of the i-th user.
[0060] In one embodiment, the energy supply of a gas source supply point, the energy supply of a pipe storage supply point, and the energy supply of a gas storage supply point are randomly selected from the energy supply point range corresponding to the gas source supply point, the pipe storage supply point, and the gas storage supply point, and the maximum pressure reduction and the minimum pressure reduction of the user end are determined respectively. The energy supply of the gas source supply point, the energy supply of the pipe storage supply point, the energy supply of the gas storage supply point, the maximum pressure reduction, and the minimum pressure reduction can be input into the particle swarm algorithm to output the final energy pressure reduction of each user end and the energy supply of each supply point through the particle swarm algorithm. Among them, the particle characteristics constructed by the particle swarm algorithm are: the lower limit of the variable is the minimum pressure reduction; the upper limit of the variable is the maximum pressure reduction, the upper limit of the speed is (maximum pressure reduction-minimum pressure reduction) / (number of iterations / 10), and the lower limit of the speed is (maximum pressure reduction-minimum pressure reduction) / (number of iterations / 10).
[0061] Through the above technical scheme, the energy supply of each supply point at the user end can be reduced and controlled, so that the actual energy reduction at the user end is the target energy reduction corresponding to the target energy group, ensuring that the actual supply at the user end is within the preset supply range, making the actual energy supply at each user end more reasonable, and greatly improving the transmission and distribution efficiency of the energy pipeline.
[0062] Figure 1 FIG. 1 is a flow chart of a control method for an energy pipeline in one embodiment. It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0063] In one embodiment, a processor is provided, and the processor is used to run a program, wherein the program executes the above-mentioned control method for the energy pipeline when it is run.
[0064] In one embodiment, a control device for an energy pipeline is provided, comprising the above-mentioned processor.
[0065] In one embodiment, a storage medium is provided, on which a program is stored, and when the program is executed by a processor, the above-mentioned control method for the energy pipeline is implemented.
[0066] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 2 As shown. The computer device includes a processor A01, a network interface A02, a memory (not shown in the figure) and a database (not shown in the figure) connected via a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A04. The non-volatile storage medium A04 stores an operating system B01, a computer program B02 and a database (not shown in the figure). The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A04. The database of the computer device is used to store data such as target energy groups. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program B02 is executed by the processor A01, a control method for an energy pipeline is implemented.
[0067] Those skilled in the art will understand that Figure 2 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0068] An embodiment of the present application provides a device, the device includes a processor, a memory, and a program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the program: for each supply point, randomly select an energy supply amount from the energy supply range corresponding to the supply point; when energy reduction is required for each user end, determine the target energy reduction amount for each user end; for the user end corresponding to each pipe section, determine the actual supply amount of the user end according to the energy supply amount of each supply point corresponding to the user end and the target energy reduction amount; for each user end, when the actual supply amount of the user end is within a preset supply range, determine the energy supply amount of each supply point corresponding to the actual supply amount of the user end and the target energy reduction amount of the user end as an alternative energy group; determine the energy efficiency value of the energy pipeline according to the alternative energy groups of all user ends; determine the alternative energy group of each user end corresponding to the maximum energy efficiency value as the target energy group of each user end; for each user end, perform energy reduction control on the energy supply amount of each supply point of the user end so that the actual energy reduction amount of the user end is the target energy reduction amount corresponding to the target energy group.
[0069] In one embodiment, determining the target energy reduction amount for each user terminal includes: randomly selecting an energy reduction amount from the energy reduction range of each user terminal in turn; determining the total reduction amount of the energy reduction amounts selected by all user terminals; until the ratio between the total reduction amount and the preset total reduction amount is a preset value, then determining the energy reduction amount corresponding to the total reduction amount as the target energy reduction amount.
[0070] In one embodiment, the supply point includes at least one of a gas source supply point, a gas storage supply point, and a pipeline storage supply point of the pipeline section where the user end is located. The actual supply amount of each user end is determined by formula (1):
[0071] Q′ iSUP =Q′ iSS +Q′ iGS +Q′ isto -Q′ iRED (1)
[0072] Among them, Q′ iSUP refers to the actual supply corresponding to the i-th user end, Q′ iSS It refers to the energy supply of the gas source supply point corresponding to the i-th user end, Q′ iGS It refers to the energy supply of the storage supply point corresponding to the i-th user end, Q′ isto It refers to the energy supply of the gas storage supply point corresponding to the i-th user end, Q′ iRED It refers to the target energy reduction amount for the i-th user end.
[0073] In one embodiment, determining the energy efficiency value of the energy pipeline based on the alternative energy groups of all user terminals includes: for each user terminal, obtaining the first energy cost coefficient of the user terminal and the second energy cost coefficient of each supply point; for each user terminal, determining the first energy efficiency value of the user terminal based on the first energy cost coefficient and the actual supply amount corresponding to the alternative energy group; for each user terminal, determining the second energy efficiency value of each supply point based on the second energy cost coefficient and the energy supply amount of each supply point in the alternative energy group; determining the third energy efficiency value for each compressor station based on the power of the compressor station corresponding to each user terminal and the third energy cost coefficient corresponding to the power; and determining the energy efficiency value of the energy pipeline based on all the first energy efficiency values, the second energy efficiency values, and the third energy efficiency values.
[0074] In one embodiment, the supply point includes at least one of a gas source supply point, a gas storage supply point, and a pipeline storage supply point of a pipeline section where a user end is located, and the energy efficiency value is determined by formula (2):
[0075]
[0076] Among them, F refers to the energy efficiency value, N is the number of user terminals of the energy pipeline, s is the number of gas source supply points of the energy pipeline, m is the number of gas storage supply points of the energy pipeline, l is the number of compressor stations of the energy pipeline, h is the number of storage supply points of the energy pipeline, and λ i It refers to the first energy cost coefficient of the i-th user end, Q iSUP It refers to the actual supply corresponding to the alternative energy group at the i-th user end, C q It refers to the second energy cost coefficient of the qth gas source supply point, Q iSS It refers to the energy supply of the gas source supply point in the alternative energy group at the i-th user end, C j It refers to the second energy cost coefficient of the j-th gas storage supply point, Q isto It refers to the energy supply of the gas storage supply point in the alternative energy group of the i-th user end, N k It refers to the power of the kth compressor station corresponding to the user end, C k It refers to the third energy cost coefficient corresponding to the power of the kth compressor station corresponding to the user end, C p It refers to the second energy cost coefficient of the p-th storage supply point, Q iGS It refers to the energy supply of the storage supply point in the alternative energy group of the i-th user.
[0077] In one embodiment, the control method also includes: obtaining the energy demand for each user terminal; for each user terminal, determining the satisfaction level for the user terminal based on the energy demand of the user terminal and the actual supply of the user terminal; when the satisfaction level is within a preset satisfaction range, determining that the actual supply of the user terminal corresponding to the satisfaction level is within a preset supply range.
[0078] In one embodiment, the control method also includes: obtaining the maximum supply coefficient of each supply point corresponding to each user end; determining the gas storage capacity of each supply point corresponding to each user end; determining the maximum supply capacity of each supply point based on the maximum supply coefficient and the gas storage capacity; and determining the energy supply range corresponding to each supply point based on the maximum supply capacity of each supply point.
[0079] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: for each supply point, randomly select an energy supply amount from the energy supply range corresponding to the supply point; in the case where energy reduction is required for each user end, determine the target energy reduction amount for each user end; for the user end corresponding to each pipe section, determine the actual supply amount of the user end according to the energy supply amount of each supply point corresponding to the user end and the target energy reduction amount; for each user end, when the actual supply amount of the user end is within a preset supply range, determine the energy supply amount of each supply point corresponding to the actual supply amount of the user end and the target energy reduction amount of the user end as an alternative energy group; determine the energy efficiency value of the energy pipeline according to the alternative energy groups of all user ends; determine the alternative energy group of each user end corresponding to the maximum energy efficiency value as the target energy group of each user end; for each user end, perform reduction control on the energy supply amount of each supply point of the user end so that the actual energy reduction amount of the user end is the target energy reduction amount corresponding to the target energy group.
[0080] In one embodiment, determining the target energy reduction amount for each user terminal includes: randomly selecting an energy reduction amount from the energy reduction range of each user terminal in turn; determining the total reduction amount of the energy reduction amounts selected by all user terminals; until the ratio between the total reduction amount and the preset total reduction amount is a preset value, then determining the energy reduction amount corresponding to the total reduction amount as the target energy reduction amount.
[0081] In one embodiment, the supply point includes at least one of a gas source supply point, a gas storage supply point, and a pipeline storage supply point of the pipeline section where the user end is located. The actual supply amount of each user end is determined by formula (1):
[0082] Q′ iSUP =Q′ iSS +Q′ iGS +Q′ isto -Q′ iRED (1)
[0083] Among them, Q′ iSUP refers to the actual supply corresponding to the i-th user end, Q′ iSS It refers to the energy supply of the gas source supply point corresponding to the i-th user end, Q′ iGS It refers to the energy supply of the storage supply point corresponding to the i-th user end, Q′ isto It refers to the energy supply of the gas storage supply point corresponding to the i-th user end, Q′ iRED It refers to the target energy reduction amount for the i-th user end.
[0084] In one embodiment, determining the energy efficiency value of the energy pipeline based on the alternative energy groups of all user terminals includes: for each user terminal, obtaining the first energy cost coefficient of the user terminal and the second energy cost coefficient of each supply point; for each user terminal, determining the first energy efficiency value of the user terminal based on the first energy cost coefficient and the actual supply amount corresponding to the alternative energy group; for each user terminal, determining the second energy efficiency value of each supply point based on the second energy cost coefficient and the energy supply amount of each supply point in the alternative energy group; determining the third energy efficiency value for each compressor station based on the power of the compressor station corresponding to each user terminal and the third energy cost coefficient corresponding to the power; and determining the energy efficiency value of the energy pipeline based on all the first energy efficiency values, the second energy efficiency values, and the third energy efficiency values.
[0085] In one embodiment, the supply point includes at least one of a gas source supply point, a gas storage supply point, and a pipeline storage supply point of a pipeline section where a user end is located, and the energy efficiency value is determined by formula (2):
[0086]
[0087] Among them, F refers to the energy efficiency value, N is the number of user terminals of the energy pipeline, s is the number of gas source supply points of the energy pipeline, m is the number of gas storage supply points of the energy pipeline, l is the number of compressor stations of the energy pipeline, h is the number of pipe storage supply points of the energy pipeline, and λ i It refers to the first energy cost coefficient of the i-th user end, Q iSUP It refers to the actual supply corresponding to the alternative energy group at the i-th user end, C q It refers to the second energy cost coefficient of the qth gas source supply point, Q iSS It refers to the energy supply of the gas source supply point in the alternative energy group at the i-th user end, C j It refers to the second energy cost coefficient of the j-th gas storage supply point, Q isto It refers to the energy supply of the gas storage supply point in the alternative energy group of the i-th user end, N k It refers to the power of the kth compressor station corresponding to the user end, C k It refers to the third energy cost coefficient corresponding to the power of the kth compressor station corresponding to the user end, C p It refers to the second energy cost coefficient of the p-th storage supply point, Q iGS It refers to the energy supply of the storage supply point in the alternative energy group of the i-th user.
[0088] In one embodiment, the control method also includes: obtaining the energy demand for each user terminal; for each user terminal, determining the satisfaction level for the user terminal based on the energy demand of the user terminal and the actual supply of the user terminal; when the satisfaction level is within a preset satisfaction range, determining that the actual supply of the user terminal corresponding to the satisfaction level is within a preset supply range.
[0089] In one embodiment, the control method also includes: obtaining the maximum supply coefficient of each supply point corresponding to each user end; determining the gas storage capacity of each supply point corresponding to each user end; determining the maximum supply capacity of each supply point based on the maximum supply coefficient and the gas storage capacity; and determining the energy supply range corresponding to each supply point based on the maximum supply capacity of each supply point.
[0090] 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.
[0091] 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.
[0092] 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.
[0093] 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 A step that specifies a function in one or more boxes.
[0094] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0095] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0096] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0097] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0098] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A control method for an energy pipeline, characterized in that: The energy pipeline is used to transport energy to multiple user terminals, wherein the energy pipeline includes multiple pipe sections, each pipe section corresponds to a user terminal, and each user terminal corresponds to multiple supply points. The control method includes: For each supply point, randomly select an energy supply amount from the energy supply range corresponding to the supply point; When energy reduction is required for each user end, determine the target energy reduction amount for each user end; For the user end corresponding to each pipe section, the actual supply amount of the user end is determined according to the energy supply amount of each supply point corresponding to the user end and the target energy reduction amount; For each user terminal, when the actual supply amount of the user terminal is within the preset supply range, the energy supply amount of each supply point corresponding to the actual supply amount of the user terminal and the target energy reduction amount of the user terminal are determined as an alternative energy group; Determine the energy efficiency value of the energy pipeline according to the alternative energy groups of all user terminals, wherein the energy efficiency value is determined based on the actual supply amount corresponding to the alternative energy group of each user terminal, the energy supply amount of each supply point in the alternative energy group of each user terminal, and the power of the compressor station corresponding to each user terminal, and is used to measure the transmission and distribution efficiency of the energy pipeline; Determine the alternative energy group of each user end corresponding to the maximum energy benefit value as the target energy group of each user end; For each user end, the energy supply amount of each supply point of the user end is reduced and controlled so that the actual energy reduction amount of the user end is the target energy reduction amount corresponding to the target energy group.
2. The control method according to claim 1, characterized in that: Determining the target energy reduction amount for each user terminal includes: Randomly select an energy reduction amount from the energy reduction range of each user end in turn; Determine the total reduction of energy reduction amounts selected by all user terminals; Until the ratio between the total pressure reduction and the preset total pressure reduction amount reaches a preset value, the energy pressure reduction amount corresponding to the total pressure reduction is determined as the target energy pressure reduction amount.
3. The control method according to claim 2, characterized in that: The supply point includes at least one of a gas source supply point, a gas storage supply point, and a pipeline storage supply point of the pipeline section where the user end is located. The actual supply amount of each user end is determined by formula (1): Q i ′ sUP =Q i ′ SS +Q i ′ GS +Q i ′ sto -Q i ′ RED (1) Among them, Q i ′ SUP It refers to the actual supply corresponding to the i-th user terminal, Q i ′ SS It refers to the energy supply of the gas source supply point corresponding to the i-th user end, Q i ′ GS It refers to the energy supply of the storage supply point corresponding to the i-th user end, Q i ′ sto It refers to the energy supply of the gas storage supply point corresponding to the i-th user end, Q i ′ RED It refers to the target energy reduction amount for the i-th user end.
4. The control method according to claim 1, characterized in that: The step of determining the energy efficiency value of the energy pipeline according to the alternative energy groups of all user terminals includes: For each user terminal, obtaining a first energy cost coefficient of the user terminal and a second energy cost coefficient of each supply point; For each user terminal, determining a first energy benefit value of the user terminal according to the first energy cost coefficient and an actual supply amount corresponding to the alternative energy group; For each user terminal, determining a second energy benefit value of each supply point according to the second energy cost coefficient and the energy supply amount of each supply point in the alternative energy group; Determine a third energy benefit value for each compressor station according to the power of the compressor station corresponding to each user end and a third energy cost coefficient corresponding to the power; The energy efficiency value of the energy pipeline is determined according to all of the first energy efficiency value, the second energy efficiency value and the third energy efficiency value.
5. The control method according to claim 4, characterized in that: The supply point includes at least one of a gas source supply point, a gas storage supply point, and a pipeline storage supply point of the pipeline section where the user end is located. The energy efficiency value is determined by formula (2): Wherein, F refers to the energy efficiency value, N is the number of user terminals of the energy pipeline, s is the number of gas source supply points of the energy pipeline, m is the number of gas storage supply points of the energy pipeline, l is the number of compressor stations of the energy pipeline, h is the number of pipe storage supply points of the energy pipeline, and λ i It refers to the first energy cost coefficient of the i-th user end, Q iSUP It refers to the actual supply corresponding to the alternative energy group at the i-th user end, C q It refers to the second energy cost coefficient of the qth gas source supply point, Q iSS It refers to the energy supply of the gas source supply point in the alternative energy group at the i-th user end, C j It refers to the second energy cost coefficient of the j-th gas storage supply point, Q isto It refers to the energy supply of the gas storage supply point in the alternative energy group at the i-th user end, N k It refers to the power of the kth compressor station corresponding to the user end, C k It refers to the third energy cost coefficient corresponding to the power of the kth compressor station corresponding to the user end, C p It refers to the second energy cost coefficient of the p-th storage supply point, Q iGS It refers to the energy supply of the storage supply point in the alternative energy group of the i-th user.
6. The control method according to claim 1, characterized in that: The control method further comprises: Obtain the energy demand for each user end; For each user terminal, determining the satisfaction level for the user terminal according to the energy demand of the user terminal and the actual energy supply of the user terminal; In the case that the satisfaction level is within a preset satisfaction level range, it is determined that the actual supply amount of the user terminal corresponding to the satisfaction level is within the preset supply range.
7. The control method according to claim 1, characterized in that: The control method further comprises: Obtain the maximum supply coefficient of each supply point corresponding to each user terminal; Determine the gas storage capacity of each supply point corresponding to each user end; Determine the maximum supply quantity of each supply point according to the maximum supply coefficient and the gas storage quantity; The energy supply range corresponding to each supply point is determined according to the maximum supply amount of each supply point.
8. A processor, characterized in that: The method is configured to execute the control method for an energy pipeline according to any one of claims 1 to 7.
9. A control device for an energy pipeline, characterized in that: The apparatus comprises a processor according to claim 8.
10. A machine-readable storage medium having instructions stored thereon, characterized in that: When the instruction is executed by a processor, the processor is configured to execute the control method for an energy pipeline according to any one of claims 1 to 7.
Citation Information
Patent Citations
Power system load side regulation and control device and method, and load regulation and control system
CN110391662A
Method and device for identifying supply range of gas source in fuel gas transmission and distribution pipe network
CN114266170A
