Bidirectional iterative adaptive regulation method, device, equipment and medium for pipeline network gas source
By adopting the two-way iterative adaptive adjustment method of the pipeline network gas source in the natural gas pipeline network, the adjustment system is constructed to realize the two-way adjustment of the gas source and the judgment of the pipe capacity, which solves the problem of single peak-shaving method and limited effect in the existing technology, and realizes Reasonable allocation and efficient utilization of resources.
Patent Information
- Application Number
- CN202411601917.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-11-11
AI Technical Summary
The existing peak scheduling and scheduling technology of natural gas pipeline networks has problems such as single peak scheduling methods, limited effects, simple ideas and inconsistent with the actual results, resulting in insufficient gas supply during peak periods, excessive gas supply during trough periods, and serious waste of resources.
Adopt the two -way iteration adjustment method of the pipe mesh source, obtain the module through the simulation module, the underwriting of the pressure, the current tube capacity judgment and adjustment module, the cumulative tube capacity judgment and adjustment module, the traceability module, the pressure adjustment module to build the regulatory system to realize the gas Source bidirectional adjustment and tube capacity judgment, dynamically adjust the supply of gas sources, and ensure that the resources are distributed reasonably.
The efficient and reliable gas source regulation has been achieved, and the total amount of the rated amount caused by the continuous increase caused by the increase in gas supply is prematurely used up or the total supply of gas supply is too large, which improves the resource utilization rate and ensures that the normal operation of the pipe network state is running normally. Essence
Smart Images

Figure CN119084825B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart city operation technology, and in particular to a two-way iterative adaptive adjustment method, device, equipment and medium for a gas source in a pipeline network. Background Art
[0002] In recent years, with the rapid development of the economy, the demand for natural gas as a clean energy has been increasing day by day. This rapidly growing high demand has undoubtedly increased the test of the supply and regulation capabilities of the natural gas pipeline network. Although it is currently in a blowout period of natural gas pipeline construction, the relatively backward peak-shaving and dispatching technology has undoubtedly restricted the high-quality development of the pipeline network field. The shortcomings of the existing peak-shaving are the single peak-shaving method, limited peak-shaving effect, simple peak-shaving ideas, and peak-shaving results that are inconsistent with reality. This leads to the fact that during peak demand periods, the pipeline network gas supply is difficult to meet user needs, and during low periods, there will be an oversupply of gas, resulting in a waste of resources.
[0003] The existing peak-shaving scheduling technologies mainly include start-stop peak-shaving, low-power hot standby peak-shaving, energy storage technology peak-shaving, guaranteed supply peak-shaving, and demand-side management peak-shaving. Start-stop peak-shaving refers to setting peak and valley periods based on past experience, starting during peak periods and shutting down during valley periods, mainly starting during daytime and shutting down at night, starting during holidays and shutting down on weekdays, etc. Similar to start-stop peak-shaving, low-power hot standby peak-shaving uses low-power operation instead of stopping operation in start-stop peak-shaving, running normally during peak periods and running in low-power mode during valley periods. Energy storage technology peak-shaving has reduced its dependence on peak and valley periods, and stores the surplus in valley periods to support subsequent non-valley periods. Guaranteed supply peak-shaving is based on user guaranteed supply, and gradually increases supply to ensure that user needs are met. Demand-side management peak-shaving guides users to reduce usage during peak periods and increase usage during valley periods by formulating peak and valley pricing rules.
[0004] The start-stop peak-shaving and low-power hot standby peak-shaving are set according to experience. The peak-shaving means completed by experience are difficult to make accurate judgments on future peaks and valleys, and have a certain lag. At the same time, the habit of using equipment in a big way will also affect the health of the equipment. Although the peak-shaving of energy storage technology has reduced its dependence on peak-valley periods, its energy storage method in the valley period does not conform to the actual scenario in the field of natural gas pipeline networks, that is, the storage capacity is far less than the total daily supply, and it is difficult to ensure the normal operation of the pipeline network. In the peak-shaving of supply guarantee, when the user has underpressure, the pressure or flow at the gas source end is increased to relieve or solve the underpressure of the user. This means that the total gas supply will only increase but not decrease. If there is a limit on the total gas supply, there will be sufficient supply in the first half of the period and insufficient supply in the second half of the period. If there is no limit on the total gas supply, there will be too much gas supply and redundant gas, resulting in waste of resources. Demand-side management peak-shaving is to reduce peaks and fill valleys from the user side, but in the final analysis, it is only a way to guide users to use off-peak, and it is impossible to reasonably and effectively dispatch and adjust the supply side according to the current situation.
[0005] like Figure 1 As shown in the figure, taking this simple pipeline network as an example, it includes two gas sources (gas source A and gas source B), four users (users 1-4) and several intermediate nodes. Peak-shaving scheduling is a pre-simulation of the operating status of the pipeline network at several moments in the future. Therefore, the premise of the simulation - the assignment of boundary values, is usually given by combining experience, historical contemporaneity and prediction. For the user-side demand, this assignment method reflects the changing trend of user gas consumption to a certain extent; and on the gas source side, it is far from enough to assign values in this way. On the basis of such assignment, it is also necessary to consider the user-side supply guarantee, simulation calculation convergence and other requirements, and continuously adjust them. However, the existing peak-shaving scheduling methods simplify the peak-shaving logic and requirements, and it is difficult to achieve effective scheduling effects under real complex working conditions.
[0006] Therefore, there is an urgent need for a more efficient peak-shaving scheduling technology to help urban gas companies simulate existing future gas source scheduling plans, identify their deficiencies, and optimize them through efficient and reliable gas source regulation methods, ultimately achieving the goal of rational allocation and utilization of resources. Summary of the invention
[0007] In view of the problems mentioned in the background technology, the purpose of the present invention is to provide a two-way iterative adaptive adjustment method, device, equipment and medium for a pipeline gas source to solve the problems mentioned in the background technology.
[0008] The above technical objectives of the present invention are achieved through the following technical solutions:
[0009] A two-way iterative adaptive regulation method for pipeline gas sources adopts a simulation module, an underpressure condition acquisition module, a current pipe capacity judgment and regulation module, a cumulative pipe capacity judgment and regulation module, a traceability module, and a pressure regulation module as the regulation system architecture; after the boundary assignment data is obtained through the simulation module, the calculated data of all pipeline nodes are adjusted through the current pipe capacity judgment and regulation module, the cumulative pipe capacity judgment and regulation module, and the pressure regulation module, and the adjusted result is simulated again, and the cycle is repeated several times. If the judgment requirements are not met once, it is directly adjusted without subsequent judgment and adjustment.
[0010] Preferably, the simulation process of the simulation module is: calculate the boundary assignment data to simulate the status of all pipelines and nodes under the current assignment situation for subsequent judgment and adjustment; the undervoltage situation acquisition module is used to record the undervoltage situation of the current simulation result, among which those below the user pressure lower limit are undervoltage users, and those above the user pressure lower limit by 10% are overvoltage users, and the recorded results are used for the subsequent pressure regulation module.
[0011] Preferably, the current pipe capacity judgment and adjustment module is used to judge whether the available pipe storage and available pipe capacity in the pipe network at the current moment meet the normal state of the pipe network, which can be:
[0012]
[0013] Among them, S min and S max are the minimum and maximum available pipe storage for normal operation of the pipe network, respectively, satisfying 0 min ≤S i-1 ≤S max , i is the current moment, Gas i is the total amount of gas supply at the current moment i, User i is the total demand of the user end at the current time i, S i-1 The available storage at the previous moment i-1;
[0014] Known Users i , S max , S i-1 , S min , S max is fixed, Gas i is variable, we can get S min -S i-1 ≤Gas i -User i ≤S max -S i-1 , use this formula to judge whether the current remaining gas volume can be pressed into the remaining storage capacity, and whether the current available total volume meets the total volume demanded by the user at the current moment;
[0015] It is assumed that the use of available storage and storage capacity at each moment shall not exceed the rated coefficient λ (λ = 5%), and we can get λ*(S min -S i-1 )≤Gas i -User i ≤λ*(S max -S i-1 );
[0016] The current pipe capacity judgment and adjustment module determines whether the relationship between the total gas supply and the total user demand at the current moment is too disparate through real-time monitoring of the available pipe storage and storable pipe capacity at the previous moment. If the current supply cannot meet user demand, the gas supply will be increased; if the current supply surplus cannot be squeezed into the storable pipe capacity, the gas supply will be reduced. At the same time, the establishment of the rated coefficient λ ensures the relative stability of the difference at subsequent moments, constraining the change in gas supply within a smaller adjustment range.
[0017] Preferably, the accumulated pipe capacity judgment and adjustment module is used to judge whether the available pipe storage and storable pipe capacity in the pipe network at the accumulation time meet the normal state of the pipe network, which can be listed as follows:
[0018]
[0019] Among them, S min and S max are the minimum and maximum available pipe storage for normal operation of the pipe network, respectively, satisfying 0 min ≤S max , S0 is the available storage at time 0, i is the current time, Gas k is the total amount of gas supply at the kth moment, User k is the total user demand at the kth moment, is the total gas supply from moment 1 to moment i, is the total user demand from moment 1 to moment i;
[0020] Known S min , S max , S0 is fixed, Gas i It is variable, This formula is used to determine whether the surplus gas supply at the cumulative moment has overflowed the available storage capacity or whether the available storage capacity of the user's excessive demand can meet the supply. If it overflows, the gas supply will be reduced at the current moment; if it cannot meet the supply, the gas supply will be increased at the current moment;
[0021] The cumulative pipe capacity judgment and adjustment module monitors the cumulative amount of supply and demand from time 0 to the current time, and adds a cumulative pipe capacity judgment method based on the current pipe capacity judgment, to monitor the cumulative changes of available pipe storage and storable pipe capacity at the calculated time, effectively avoiding the situation where the current pipe capacity judgment meets the requirement of not exceeding the rated proportion coefficient but the cumulative pipe capacity excess judgment fails, and plays a role in overall controlling the optimization direction of the gas source end assignment.
[0022] Preferably, the cumulative pipe capacity judgment and adjustment module selects a strategy by judging whether Formula 1 or Formula 2 is satisfied. When Formula 1 or Formula 2 is satisfied, no operation is performed. When it is judged that the supply surplus is too large to be squeezed into the storable pipe capacity, the gas source end reduces the supply. When it is judged that the supply and the available pipe storage still cannot meet the user's demand, the gas source end increases the supply. The traceability module can obtain the proportion of each user's flow at each gas source.
[0023] Preferably, the process of the pressure regulation module is as follows: obtain the underpressure and overpressure conditions of the user, obtain the gas source corresponding to each user by tracing the source, record the gas source list involved in the underpressure user as A, and the gas source list involved in the overpressure user as B. For the underpressure condition, increase the flow and pressure of the gas source in list A. For the overpressure condition, make a difference between list B and list A to obtain list C, reduce the flow and pressure of the gas source in list C, and use the following formula to set the adjustment step:
[0024] In the above formula, step is the adjustment step, γ is the fixed ratio, left is the remaining approved amount of the gas source, and approval is the approved amount. is the proportion of the remaining amount. To avoid the situation where the remaining amount is too small and the adjustment step is too small, causing invalid adjustment, when the remaining amount is greater than When the step size is changed according to the residual amount, the fixed step size is used. The step size is adjusted dynamically according to the remaining amount.
[0025] The present invention also discloses a two-way iterative adaptive regulation device for a pipeline network gas source, comprising:
[0026] A simulation module, which calculates the boundary assignment data and simulates the status of all pipelines and nodes under the current assignment;
[0027] An undervoltage condition acquisition module, wherein the undervoltage condition acquisition module records the undervoltage condition of the current simulation result;
[0028] A current pipe capacity judgment and adjustment module, which is used to judge whether the available pipe storage and storable pipe capacity in the pipe network at the current moment meet the normal state of the pipe network;
[0029] A cumulative pipe capacity judgment and adjustment module, which is used to judge whether the available pipe storage and storable pipe capacity in the pipe network at the accumulation time meet the normal state of the pipe network;
[0030] And includes traceability module and pressure regulation module.
[0031] The present invention also discloses a bidirectional iterative adaptive regulation device for a pipeline gas source, comprising a computer, wherein the computer is provided with a memory for storing a control program, and the computer is used to execute the computer program to implement the above-mentioned bidirectional iterative adaptive regulation method for a pipeline gas source.
[0032] The present invention also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the above-mentioned steady-state source tracing monitoring and analysis method of the natural gas pipeline network is implemented.
[0033] In summary, the present invention mainly has the following beneficial effects:
[0034] The present invention proposes an efficient and reliable two-way iterative adaptive regulation method, device, equipment and medium for pipeline gas source. The method dispatches resources for the pipeline network through a two-way regulation mechanism, adaptive step length and pipe capacity judgment. Under the premise of meeting the user's pressure lower limit and meeting the supply guarantee requirements, resources are reasonably allocated to help urban gas companies to carry out refined resource management;
[0035] The present invention proposes a two-way gas source regulation mechanism. The pressure and flow rate of the gas source are adjusted upward or downward according to the user's underpressure situation, which effectively alleviates the situation in which the rated total amount is used up too early or the total amount of gas source supply is too much due to the continuous increase in gas supply during peak supply.
[0036] The present invention proposes a pipe capacity judgment mechanism. Based on the current pipe capacity and the accumulated pipe capacity, the available pipe storage, compressible pipe capacity, user demand, and flow constraint relationship of gas source supply are derived and constructed from the perspective of formulas, which effectively solves the conversion problem of energy storage and supply in the peak load regulation of energy storage technology, making the entire peak load regulation more in line with the pipe network status in real scenarios;
[0037] The present invention proposes an adaptive step length adjustment mechanism, including a memory enhancement mechanism and a batch quantity remaining monitoring mechanism, to dynamically adjust the step length of the gas source, effectively alleviating the problem of poor effect caused by the rigid adjustment of a single step length. The refined adjustment method brought about by the adaptive step length adjustment operation effectively increases the possibility of the result being close to the ideal situation.
[0038] The two-way gas source regulation mechanism of the present invention effectively alleviates the situation in which the rated total amount is used up too early or the total amount of gas source supply is too much due to the increasing gas supply in the supply guarantee and peak regulation; the pipe capacity judgment mechanism is divided into current pipe capacity and cumulative pipe capacity, and the flow constraint relationship between available pipe storage, compressible pipe capacity, user demand, and gas source supply is derived and constructed from the perspective of formula, which effectively solves the conversion problem of energy storage and supply in the peak regulation of energy storage technology, and makes the entire peak regulation scheduling more in line with the pipeline network status in the real scenario; the present invention adopts an adaptive step adjustment mechanism, including a memory enhancement mechanism and an approved quantity remaining monitoring mechanism, both of which dynamically adjust the gas source in the pipe capacity judgment and pressure judgment respectively, effectively alleviating the problem of poor effect caused by the rigid adjustment of a single step length, and the refined adjustment method brought by this method effectively increases the possibility of the result being close to the ideal situation. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is the simplified pipe network schematic diagram pointed out in the background technology;
[0040] Figure 2 It is the overall flow chart of gas source regulation;
[0041] Figure 3It is the flow chart of the pipe capacity judgment and adjustment module;
[0042] Figure 4 It is the flow chart of the pressure judgment and regulation module;
[0043] Figure 5 It is a structural block diagram of a bidirectional iterative adaptive regulating device for a gas source in a pipeline network;
[0044] Figure 6 It is a structural block diagram of a bidirectional iterative adaptive regulation device for a gas source in a pipeline network. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0046] Example 1
[0047] refer to Figures 1 to 6 This embodiment provides a two-way iterative adaptive regulation method for pipeline gas sources, which uses a simulation module, an underpressure condition acquisition module, a current pipe capacity judgment and regulation module, a cumulative pipe capacity judgment and regulation module, a traceability module, and a pressure regulation module as the regulation system architecture; after the boundary assignment data is obtained through the simulation module, the calculated data of all pipeline nodes are adjusted through the current pipe capacity judgment and regulation module, the cumulative pipe capacity judgment and regulation module, and the pressure regulation module, and the adjusted result is simulated again, and the cycle is repeated several times. If the judgment requirement is not met once, it is directly adjusted without subsequent judgment and adjustment.
[0048] refer to Figures 1 to 6 The simulation process of the simulation module is as follows: calculate the boundary assignment data to simulate the status of all pipelines and nodes under the current assignment for subsequent judgment and adjustment; the underpressure condition acquisition module is used to record the underpressure condition of the current simulation results, among which those below the user pressure lower limit are underpressure users, and those above the user pressure lower limit by 10% are overpressure users, and the recorded results are used in the subsequent pressure regulation module.
[0049] refer to Figures 1 to 6 , where the current pipe capacity judgment and adjustment module is used to judge whether the available pipe storage and storable pipe capacity in the pipe network at the current moment meet the normal state of the pipe network, which can be listed as follows:
[0050]
[0051] Among them, S min and Smax are the minimum and maximum available pipe storage for normal operation of the pipe network, respectively, satisfying 0 min ≤S i-1 ≤S max , i is the current moment, Gas i is the total amount of gas supply at the current moment i, User i is the total demand of the user end at the current time i, S i-1 The available storage at the previous moment i-1;
[0052] Known Users i , S max , S i-1 , S min , S max is fixed, Gas i is variable, we can get S min -S i-1 ≤Gas i -User i ≤S max -S i-1 , use this formula to judge whether the current remaining gas volume can be pressed into the remaining storage capacity, and whether the current available total volume meets the total volume demanded by the user at the current moment;
[0053] It is assumed that the use of available storage and storage capacity at each moment shall not exceed the rated coefficient λ (λ = 5%), and we can get λ*(S min -S i-1 )≤Gas i -User i ≤λ*(S max -S i-1 );
[0054] The current pipe capacity judgment and adjustment module determines whether the relationship between the total gas supply and the total user demand at the current moment is too disparate through real-time monitoring of the available pipe storage and storable pipe capacity at the previous moment. If the current supply cannot meet user demand, the gas supply will be increased; if the current supply surplus cannot be squeezed into the storable pipe capacity, the gas supply will be reduced. At the same time, the establishment of the rated coefficient λ ensures the relative stability of the difference at subsequent moments, constraining the change in gas supply within a smaller adjustment range.
[0055] refer to Figures 1 to 6 , where the cumulative pipe capacity judgment and adjustment module is used to judge whether the available pipe storage and storable pipe capacity in the pipe network at the cumulative time meet the normal state of the pipe network, which can be listed as follows:
[0056]
[0057] Among them, S min and S max are the minimum and maximum available pipe storage for normal operation of the pipe network, respectively, satisfying 0 min ≤S max , S0 is the available storage at time 0, i is the current time, Gas k is the total amount of gas supply at the kth moment, User k is the total user demand at the kth moment, is the total gas supply from moment 1 to moment i, is the total user demand from moment 1 to moment i;
[0058] Known S min , S max , S0 is fixed, Gas i It is variable, This formula is used to determine whether the surplus gas supply at the cumulative moment has overflowed the available storage capacity or whether the available storage capacity of the user's excessive demand can meet the supply. If it overflows, the gas supply will be reduced at the current moment; if it cannot meet the supply, the gas supply will be increased at the current moment;
[0059] The cumulative pipe capacity judgment and adjustment module monitors the cumulative amount of supply and demand from time 0 to the current time. On the basis of the current pipe capacity judgment, a cumulative pipe capacity judgment method is added to monitor the cumulative changes of available pipe storage and storable pipe capacity at the calculated time. It effectively avoids the situation where the current pipe capacity judgment meets the requirement of not exceeding the rated proportion coefficient but the cumulative pipe capacity excess judgment fails, and plays a role in overall controlling the optimization direction of the gas source end assignment.
[0060] refer to Figures 1 to 6 The cumulative pipe capacity judgment and adjustment module selects a strategy by judging whether Formula 1 or Formula 2 is satisfied. If Formula 1 or Formula 2 is satisfied, no operation is performed. If it is judged that the supply surplus is too large to be squeezed into the available pipe capacity, the gas source end reduces the supply. If it is judged that the supply and available pipe storage still cannot meet the user's needs, the gas source end increases the supply. The traceability module can obtain the proportion of each user's flow at each gas source.
[0061] refer to Figures 1 to 6 , where the process of the pressure regulation module is: obtain the underpressure and overpressure conditions of the user, obtain the gas source corresponding to each user by tracing the source, record the gas source list involved in the underpressure user as A, and the gas source list involved in the overpressure user as B. For the underpressure condition, increase the flow and pressure of the gas source in list A. For the overpressure condition, make a difference between list B and list A to obtain list C, reduce the flow and pressure of the gas source in list C, and use the following formula to set the adjustment step:
[0062] In the above formula, step is the adjustment step, γ is the fixed ratio, left is the remaining approved amount of the gas source, and approval is the approved amount. is the proportion of the remaining amount. To avoid the situation where the remaining amount is too small and the adjustment step is too small, causing invalid adjustment, when the remaining amount is greater than When the step size is changed according to the residual amount, the fixed step size is used. The step size is adjusted dynamically according to the remaining amount.
[0063] refer to Figures 1 to 6 , wherein the present invention proposes an efficient and reliable two-way iterative adaptive adjustment method, device, equipment and medium for pipeline gas source. The method schedules resources for the pipeline network through a two-way adjustment mechanism, adaptive step size and pipe capacity judgment. Under the premise of meeting the user's pressure lower limit and meeting the supply guarantee requirements, reasonable resource allocation is carried out to help urban gas companies to carry out refined resource management;
[0064] The present invention proposes a two-way gas source regulation mechanism. The pressure and flow rate of the gas source are adjusted upward or downward according to the user's underpressure situation, which effectively alleviates the situation in which the rated total amount is used up too early or the total amount of gas source supply is too much due to the continuous increase in gas supply during peak supply.
[0065] This embodiment proposes a pipe capacity judgment mechanism. Based on the current pipe capacity and the accumulated pipe capacity, the available pipe storage, compressible pipe capacity, user demand, and flow constraint relationship of gas source supply are derived and constructed from the perspective of formulas, which effectively solves the conversion problem of energy storage and supply in the peak load regulation of energy storage technology, making the entire peak load regulation more in line with the pipe network status in real scenarios;
[0066] This embodiment proposes an adaptive step length adjustment mechanism, including a memory enhancement mechanism and an approved quantity remaining monitoring mechanism, to dynamically adjust the step length of the gas source, effectively alleviating the problem of poor effect caused by the rigid adjustment of a single step length. The refined adjustment method brought about by the adaptive step length adjustment operation effectively increases the possibility of the result being close to the ideal situation.
[0067] The two-way gas source regulation mechanism of this embodiment effectively alleviates the situation in which the rated total amount is used up too early or the total amount of gas source supply is too much due to the increasing gas supply in the supply guarantee and peak regulation; the pipe capacity judgment mechanism is divided into current pipe capacity and cumulative pipe capacity, and the flow constraint relationship between available pipe storage, compressible pipe capacity, user demand, and gas source supply is derived and constructed from the perspective of formula, which effectively solves the conversion problem of energy storage and supply in the peak regulation of energy storage technology, and makes the entire peak regulation scheduling more in line with the pipeline network status in the real scenario; the present invention adopts an adaptive step adjustment mechanism, including a memory enhancement mechanism and an approved quantity remaining monitoring mechanism, both of which dynamically adjust the gas source in the pipe capacity judgment and pressure judgment respectively, effectively alleviating the problem of poor effect caused by the rigid adjustment of a single step length, and the refined adjustment method brought by this method effectively increases the possibility of the result being close to the ideal situation.
[0068] In addition, the present embodiment also provides a bidirectional iterative adaptive adjustment device for a pipeline gas source, including: a simulation module, which calculates boundary assignment data to simulate the status of all pipelines and nodes under the current assignment; an underpressure situation acquisition module, which records the underpressure situation of the current simulation result; a current pipe capacity judgment and adjustment module, which is used to judge whether the available pipe storage and storable pipe capacity in the pipeline network at the current moment meet the normal state of the pipeline network; a cumulative pipe capacity judgment and adjustment module, which is used to judge whether the available pipe storage and storable pipe capacity in the pipeline network at the cumulative moment meet the normal state of the pipeline network; and includes a tracing module and a pressure regulation module.
[0069] This embodiment also provides a bidirectional iterative adaptive regulation device for a pipeline gas source, including a computer, wherein the computer is provided with a memory for storing a control program, and the computer is used to execute a computer program to implement the above-mentioned bidirectional iterative adaptive regulation method for a pipeline gas source.
[0070] Example 2
[0071] This embodiment proposes an efficient and reliable two-way iterative adaptive adjustment method, device, equipment and medium for the gas source of the pipeline network. The method schedules the resources of the pipeline network through a two-way adjustment mechanism, adaptive step size and pipe capacity judgment. Under the premise of meeting the user's pressure lower limit and meeting the supply guarantee requirements, reasonable resource allocation is carried out to help urban gas companies to carry out refined resource management.
[0072] The following technical problems can be solved by using this embodiment:
[0073] 1. Propose a two-way gas source adjustment mechanism. Set the pressure and flow rate up and down logic of the gas source according to the user's underpressure situation, effectively alleviating the situation where the rated total amount is used up too early or the total amount of gas source supply is too much due to the continuous increase in gas supply during peak supply.
[0074] 2. Propose a pipeline capacity judgment mechanism. Based on the current pipeline capacity and cumulative pipeline capacity, the available pipeline storage, compressible pipeline capacity, user demand, and flow constraint relationship of gas source supply are derived and constructed from the perspective of formulas, which effectively solves the conversion problem of energy storage and supply in the peak load regulation of energy storage technology, making the entire peak load regulation more in line with the pipeline network status in real scenarios;
[0075] 3. An adaptive step length adjustment mechanism is proposed, including a memory enhancement mechanism and an approved quantity remaining monitoring mechanism, to dynamically adjust the step length of the gas source, effectively alleviating the problem of poor results caused by rigid adjustment of a single step length. The refined adjustment method brought by the adaptive step length adjustment operation effectively increases the possibility of the result being close to the ideal situation.
[0076] The scheme of the present invention is as follows: Figure 2 As shown, the main process architecture of the present invention is demonstrated, which mainly includes a simulation module, an undervoltage condition acquisition module, a current pipe capacity judgment and adjustment 1 module, a cumulative pipe capacity judgment and adjustment 2 module, a traceability module, and a pressure adjustment module. After the boundary assignment data obtains the calculated data of all pipeline nodes through the simulation module, it needs to go through the current pipe capacity judgment adjustment, the cumulative pipe capacity judgment adjustment, and the undervoltage adjustment. The result after the adjustment is simulated again, and the cycle is repeated several times. It should be noted that the three judgments have an obvious order relationship. If any one of the judgment requirements is not met, the adjustment will be made directly, and no subsequent judgment and adjustment will be made.
[0077] 2.2.1 Simulation Module
[0078] The simulation module mainly calculates the boundary assignment data and simulates the status of all pipelines and nodes under the current assignment conditions for subsequent judgment and adjustment.
[0079] 2.2.2 Obtaining undervoltage status
[0080] The undervoltage acquisition module mainly records the undervoltage situation for the current simulation results. In the present invention, users with pressure lower than the user pressure lower limit are undervoltage users, and users with pressure higher than the user pressure lower limit by 10% are overvoltage users. This part is mainly used in the subsequent pressure judgment and adjustment module.
[0081] 2.2.3 Current pipe capacity judgment module
[0082] This module is used to determine whether the available pipe storage and storage capacity in the pipe network at the current moment meet the normal state of the pipe network.
[0083]
[0084] Among them, S min and S max are the minimum and maximum available pipe storage for normal operation of the pipe network, respectively, satisfying 0 min ≤S i-1 ≤S max , i is the current moment, Gas i is the total amount of gas supply at the current moment i, User i is the total demand of the user end at the current time i, S i-1 It is the available storage of i-1 at the previous moment.
[0085] Known Users i , S max , S i-1 , S min , S max is fixed, Gas i is variable, we can get Smin -S i-1 ≤Gas i -User i ≤S max -S i-1 This formula is intended to determine whether the current remaining gas volume (total gas supply from the gas source end - total gas demand from the user end) can be squeezed into the remaining storage capacity, and whether the current total available volume (available storage at the previous moment + total gas supply from the gas source end at the current moment) meets the total gas demand from the user end at the current moment.
[0086] Considering that there may be a situation where all available storage and storage capacity are exhausted at a certain moment, this is unreasonable and will seriously affect the smooth scheduling of resources at subsequent moments. Therefore, it is set that the use of available storage and storage capacity at each moment shall not exceed the rated coefficient λ (λ = 5%), and we can get λ*(S min -S i-1 )≤Gas i -User i ≤λ*(S max -S i-1 ).
[0087] The current pipe capacity judgment module determines whether the relationship between the total gas supply and the total user demand at the current moment is too disparate through real-time monitoring of the available pipe storage and storable pipe capacity at the previous moment. If the current supply cannot meet user demand, the gas supply will be increased; if the current supply surplus cannot be squeezed into the storable pipe capacity, the gas supply will be reduced. At the same time, the establishment of the rated coefficient λ ensures the relative stability of the difference at subsequent moments, constrains the change in gas supply within a smaller adjustment range, and is conducive to the gradual and reasonable optimization of the gas source end assignment.
[0088] 2.2.4 Cumulative pipe capacity judgment module
[0089] This module is used to determine whether the available pipe storage and storable pipe capacity in the pipe network at the cumulative time meet the normal state of the pipe network.
[0090]
[0091] Among them, S min and S max are the minimum and maximum available pipe storage for normal operation of the pipe network, respectively, satisfying 0 min ≤S max , S0 is the available storage at time 0. i is the current time, Gas k is the total amount of gas supply at the kth moment, User k is the total user demand at the kth moment, is the total gas supply from moment 1 to moment i, is the total user demand from moment 1 to moment i.
[0092] Known S min , S max , S0 is fixed, Gas i It is variable, This formula is intended to determine whether the surplus gas supply at the cumulative moment has overflowed the available storage capacity or whether the available storage capacity can meet the supply of the excessive user demand. If it overflows, the gas supply will be reduced at the current moment; if it cannot meet the supply, the gas supply will be increased at the current moment.
[0093] The cumulative pipe capacity judgment module monitors the cumulative amount of supply and demand from time 0 to the current time. On the basis of the current pipe capacity judgment, a cumulative pipe capacity judgment method is added to monitor the cumulative changes of available pipe storage and storable pipe capacity at the calculated time. It effectively avoids the situation where the current pipe capacity judgment meets the requirement of not exceeding the rated proportion coefficient but the cumulative pipe capacity excess judgment fails, and plays a role in overall controlling the optimization direction of the gas source end assignment.
[0094] 2.2.5 Pipe capacity judgment and adjustment module based on memory enhancement
[0095] Table 1 Adjustment example
[0096]
[0097] like Figure 3 As shown, a pipe capacity judgment and adjustment module is shown. When the pipe capacity judgment satisfies the continuous inequality (Formula 1 or Formula 2), there is no operation. When it is judged that the supply surplus is too large to be pressed into the available pipe capacity, the gas source end reduces the supply. When it is judged that the supply and the available pipe storage still do not meet the user's needs, the gas source end increases the supply. The increase and decrease of supply in the present invention is controlled by a fixed percentage step size based on the initial pressure or flow value. However, in subsequent experiments, it is found that it is often impossible to adjust the gas source supply to meet the continuous inequality within a limited number of adjustments. Therefore, the present invention proposes a memory enhancement module. Taking the current pipe capacity judgment as an example, it is necessary to meet 108.57 (supply)-71.48 (demand) ≤5% (λ) * 97.35 (available pipe capacity), as shown in Table 1, which is the situation of the first four adjustments. If the supply decreases by 4 according to the trend, a total of about 9 adjustments are required. It can be seen that its adjustment process is long and inefficient. The memory enhancement module records the same unsatisfied inequalities at the current moment, fits the relationship between supply and adjustment times after four records, estimates the supply results for more adjustment times in advance, skips the redundant step-by-step adjustment process, and directly completes the ninth adjustment. The pipe capacity judgment and adjustment module based on memory enhancement can greatly reduce the number of pipe capacity judgments and adjustments, and more efficiently find the most suitable adjustment plan.
[0098] 2.2.6 Tracing module
[0099] The traceability module can obtain the proportion of each user's flow at each gas source, which can be understood as the scope of influence of each gas source on the user.
[0100] 2.2.7 Pressure judgment and adjustment module based on the remaining monitoring of the approved quantity
[0101] Figure 4 The flowchart of the pressure judgment and adjustment module. The underpressure and overpressure conditions of the users have been obtained in 2.2.2, and the gas source corresponding to each user can be obtained through the traceability in 2.2.6. The gas source list involving underpressure users is recorded as A, and the gas source list involving overpressure users is recorded as B. For underpressure conditions, the flow rate and pressure of the gas source in list A are increased. For overpressure conditions, list B is subtracted from list A to obtain list C, and the flow rate and pressure of the gas source in list C are reduced. For the setting of the adjustment step, the present invention adopts a method combining a fixed ratio with the remaining ratio of the approved amount.
[0102]
[0103] In the above formula, step is the adjustment step, γ is the fixed ratio, left is the remaining approved amount of the gas source, and approval is the approved amount. The step length is adjusted continuously with the change of the remaining amount of the batch, whether it is to increase the supply under pressure or to reduce the supply over pressure, the more the remaining amount, the larger the step length, and vice versa. In addition, in order to avoid the situation where the remaining amount is very small and the adjustment step length is too small to cause invalid adjustment, the present invention is When the step size is changed according to the residual amount, the fixed step size is used. The step size is adjusted dynamically according to the remaining amount, which realizes the change of the adjustment degree of limited resources in different periods, which is conducive to flow management from the resource side.
[0104] Example 3
[0105] refer to Figure 5, wherein the present embodiment provides a two-way iterative adaptive regulation device for a pipeline gas source, comprising the following parts: a simulation module, wherein the simulation module calculates the boundary assignment data and simulates the status of all pipelines and nodes under the current assignment condition; an undervoltage condition acquisition module, wherein the undervoltage condition acquisition module records the undervoltage condition of the current simulation result; a current pipe capacity judgment and regulation module, wherein the current pipe capacity judgment and regulation module is used to judge whether the available pipe storage and storable pipe capacity in the pipeline network at the current moment meet the normal state of the pipeline network; a cumulative pipe capacity judgment and regulation module, wherein the cumulative pipe capacity judgment and regulation module is used to judge whether the available pipe storage and storable pipe capacity in the pipeline network at the cumulative moment meet the normal state of the pipeline network; and a tracing module, which can obtain the proportion of each user's flow at each gas source, which can be understood as the scope of action of each gas source on the user; a pressure regulation module, wherein the pressure regulation module is the main component involved in flow regulation; the present device can realize two-way iterative adaptive regulation of the pipeline gas source.
[0106] Example 4
[0107] refer to Figure 6 , wherein this embodiment provides a two-way iterative adaptive regulation device for a pipeline gas source, including a computer, which is an operation center, wherein a memory for storing a control program is provided on the computer, which may be an internal memory or a memory of an external server, and the memory is mainly used to store computer programs and to execute computer programs to implement the above-mentioned two-way iterative adaptive regulation method for a pipeline gas source; in addition, the computer is also equipped with numerous interface devices to facilitate external connections.
[0108] Example 5
[0109] This embodiment provides a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the above-mentioned steady-state source tracing monitoring and analysis method for a natural gas pipeline network.
[0110] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A two-way iterative adaptive adjustment method for a gas source in a pipeline network, characterized in that: The simulation module, undervoltage condition acquisition module, current pipe capacity judgment and adjustment module, cumulative pipe capacity judgment and adjustment module, traceability module, and pressure adjustment module are used as the adjustment system architecture; after the boundary assignment data is obtained through the simulation module, the calculated data of all pipeline nodes are adjusted through the current pipe capacity judgment and adjustment module, the cumulative pipe capacity judgment and adjustment module, and the pressure adjustment module, and the adjusted result is simulated again, and the cycle is repeated several times. If the judgment requirement is not met once, it is adjusted directly without subsequent judgment and adjustment; The current pipe capacity judgment and adjustment module is used to judge whether the available pipe storage and available pipe capacity in the pipe network at the current moment meet the normal state of the pipe network, which can be listed as follows: Among them, S min and S max are the minimum and maximum available pipe storage for normal operation of the pipe network, respectively, satisfying 0 min ≤S i-1 ≤S max , i is the current moment, Gas i is the total amount of gas supply at the current moment i, User i is the total user demand at the current time i, S i-1 The available storage at the previous moment i-1; Known Users i , S max , S i-1 , S min , S max is fixed, Gas i is variable, we can get S min -S i-1 ≤Gas i -User i ≤S max -S i-1 , use this formula to judge whether the current remaining gas volume can be pressed into the remaining storage capacity, and whether the current available total volume meets the total volume demanded by the user at the current moment; It is assumed that the use of available storage and storage capacity at each moment shall not exceed the rated coefficient λ, λ = 5%, and we can get λ*(S min -S i-1 )≤Gas i -User i ≤λ*(S max -S i-1 ); The current pipe capacity judgment and adjustment module determines whether the relationship between the total gas supply and the total user demand at the current moment is too disparate through real-time monitoring of the available pipe storage and storable pipe capacity at the previous moment. If the current supply cannot meet user demand, the gas supply will be increased; if the current supply surplus cannot be squeezed into the storable pipe capacity, the gas supply will be reduced. At the same time, the establishment of the rated coefficient λ ensures the relative stability of the difference at subsequent moments, constraining the change in gas supply within a smaller adjustment range.
2. The method for bidirectional iterative adaptive regulation of pipeline network gas source according to claim 1, characterized in that: The simulation process of the simulation module is: calculating the boundary assignment data, simulating the status of the nodes of all pipelines under the current assignment condition, for subsequent judgment and adjustment.
3. The method for bidirectional iterative adaptive regulation of pipeline network gas source according to claim 1, characterized in that: The undervoltage condition acquisition module is used to record the undervoltage condition of the current simulation result, where users with pressure lower than the lower limit are undervoltage users, and users with pressure higher than the lower limit by 10% are overvoltage users, and the recorded results are used in the subsequent pressure regulation module.
4. The method for bidirectional iterative adaptive regulation of pipeline network gas source according to claim 1, characterized in that: The cumulative pipe capacity judgment and adjustment module is used to judge whether the available pipe storage and storable pipe capacity in the pipe network at the accumulation time meet the normal state of the pipe network, which can be listed as follows: Among them, S min and S max are the minimum and maximum available pipe storage for normal operation of the pipe network, respectively, satisfying 0 min ≤S max , S0 is the available storage at time 0, i is the current time, Gas k is the total amount of gas supply at the kth moment, User k is the total user demand at the kth moment, is the total gas supply from moment 1 to moment i, is the total user demand from moment 1 to moment i; Known S min , S max , S0 is fixed, Gas i It is variable, This formula is used to determine whether the surplus gas supply at the cumulative moment has overflowed the available storage capacity or whether the available storage capacity of the user's excessive demand can meet the supply. If it overflows, the gas supply will be reduced at the current moment; if it cannot meet the supply, the gas supply will be increased at the current moment; The cumulative pipe capacity judgment and adjustment module monitors the cumulative amount of supply and demand from time 0 to the current time, and adds a cumulative pipe capacity judgment method based on the current pipe capacity judgment, to monitor the cumulative changes of available pipe storage and storable pipe capacity at the calculated time, effectively avoiding the situation where the current pipe capacity judgment meets the requirement of not exceeding the rated proportion coefficient but the cumulative pipe capacity excess judgment fails, and plays a role in overall controlling the optimization direction of the gas source end assignment.
5. The method for bidirectional iterative adaptive regulation of pipeline network gas source according to claim 4, characterized in that: The cumulative pipe capacity judgment and adjustment module selects a strategy by judging whether Formula 1 or Formula 2 is satisfied. If Formula 1 or Formula 2 is satisfied, no operation is performed. If it is judged that the supply surplus is too large to be squeezed into the available pipe capacity, the gas source end reduces the supply. If it is judged that the supply and available pipe capacity still cannot meet the user's demand, the gas source end increases the supply. The traceability module can obtain the proportion of each user's flow at each gas source.
6. The method for bidirectional iterative adaptive regulation of pipeline network gas source according to claim 5, characterized in that: The process of the pressure regulation module is as follows: obtain the underpressure and overpressure conditions of the user, obtain the gas source corresponding to each user by tracing the source, record the gas source list involved in the underpressure user as A, and the gas source list involved in the overpressure user as B. For the underpressure condition, increase the flow and pressure of the gas source in list A. For the overpressure condition, make a difference between list B and list A to obtain list C, reduce the flow and pressure of the gas source in list C, and use the following formula to set the adjustment step: In the above formula, step is the adjustment step, γ is the fixed ratio, left is the remaining approved amount of the gas source, and approval is the approved amount. is the proportion of the remaining amount. To avoid the situation where the remaining amount is too small and the adjustment step is too small, causing invalid adjustment, when the remaining amount is greater than When the step size is changed according to the residual amount, the fixed step size is used. The step size is adjusted dynamically according to the remaining amount.
7. A two-way iterative adaptive regulating device for gas source in a pipeline network, characterized in that: The method for bidirectional iterative adaptive regulation of a pipeline network gas source according to any one of claims 1 to 6 comprises: A simulation module, which calculates the boundary value assignment data and simulates the status of nodes of all pipelines under the current value assignment; An undervoltage condition acquisition module, which records the undervoltage condition of the current simulation result; A current pipe capacity judgment and adjustment module, which is used to judge whether the available pipe storage and storable pipe capacity in the pipe network at the current moment meet the normal state of the pipe network; A cumulative pipe capacity judgment and adjustment module, which is used to judge whether the available pipe storage and storable pipe capacity in the pipe network at the accumulation time meet the normal state of the pipe network; And includes traceability module and pressure regulation module.
8. Bidirectional iterative adaptive regulation equipment for gas source in pipeline network, characterized by: It comprises a computer, wherein a memory for storing a control program is provided on the computer, and the computer is used to execute the computer program to implement the bidirectional iterative adaptive regulation method for a pipeline network gas source as claimed in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein, when the computer program is executed by a processor, the pipeline network gas source bidirectional iterative adaptive regulation method as described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Natural gas pipeline network gas source resource peak shaving method and system
CN118863310A