Pipe network air source two-way iteration self-adaptive adjusting method, device, equipment and medium

Through the two-way iterative adaptive adjustment method of gas source in the pipeline network, simulation modules and other modules are used to build a regulation system to optimize the supply of gas source, solving the problem of poor peak scheduling effect in the existing technology, and achieving reasonable allocation and effective resources Scheduling.

CN119084825AActive Publication Date: 2024-12-06SHANGHAI THREE ZERO FOUR ZERO TECH CO LTD

Patent Information

Application Number
CN202411601917.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-11
Publication Date
2024-12-06
Estimated Expiration
2044-11-11

AI Technical Summary

Technical Problem

The existing peak scheduling and scheduling technology in natural gas pipelines has a single peak scheduling method, limited effect, and it is difficult to accurately predict peak and valley periods, resulting in insufficient gas supply during peak periods or excessive gas supply during low periods, wasted resources, and it is difficult to under complex operating conditions. Obtain effective scheduling results.

Method used

Adaptive adjustment method for two-way iterative pipeline gas source is adopted, and the adjustment system is constructed through simulation modules, undervoltage acquisition modules, current pipeline capacity judgment and adjustment modules, accumulated pipeline capacity judgment and adjustment modules, traceability modules, and pressure adjustment modules, and cyclic adjustment system. To optimize the supply of gas sources and ensure the reasonable allocation of pipeline resources.

Benefits of technology

It realizes the rational allocation of resources on the basis of meeting the lower limit of user pressure and supply guarantee requirements, alleviates the situation where the gas supply is always increasing or the total supply is too large, improves the effect of peak scheduling and scheduling in real scenarios, and avoids the Waste of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119084825A_ABST
    Figure CN119084825A_ABST
Patent Text Reader

Abstract

The invention discloses a pipe network air source two-way iteration self-adaptive adjusting method, device and equipment and a medium, and belongs to the technical field of smart city operation. According to the technical scheme, a simulation module, an undervoltage condition acquisition module, a current tube capacity judgment and adjustment module, an accumulated tube capacity judgment and adjustment module, a traceability module and a pressure adjustment module are adopted as an adjustment system architecture; after boundary assignment data is processed by a simulation module to obtain calculation value data of all pipeline nodes, the calculation value data is adjusted by a time pipe capacity judging and adjusting module, an accumulated pipe capacity judging and adjusting module and an undervoltage adjusting module, the adjusted result is simulated again, the steps are repeated for a plurality of times, and when one time does not meet the judgment requirement, the calculation value data of all the pipeline nodes is obtained. And if not, the adjustment is directly carried out, and subsequent judgment adjustment is not carried out. According to the method, on the premise that the user pressure lower limit is met, the supply guarantee requirement is met and the like, resource allocation is reasonably carried out, and urban combustion enterprises are helped to carry out resource fine management.
Need to check novelty before this filing date? Find Prior Art

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] As shown in Figure 1, 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: 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 momentary pipe capacity judgment and regulation module, the cumulative pipe capacity judgment and regulation module, and the underpressure 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.

[0009] 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 conditions for subsequent judgment and adjustment; the undervoltage condition acquisition module is used to record the undervoltage condition of the current simulation results, 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.

[0010] 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: ; in, and are the minimum and maximum available pipe storage for normal operation of the pipe network, respectively, to meet , i is the current moment, is the total amount of gas supply at the current moment i, is the total user demand at the current time i, The available storage at the previous moment i-1; Known , , , , is fixed, It is variable, , 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; Set the usage of available storage and storage capacity at any time not to exceed the rated coefficient , can be obtained ; The current pipe capacity judgment and adjustment module determines whether the relationship between the total gas supply and the total user demand is too disparate by real-time monitoring of the available pipe storage and the available pipe capacity at the previous moment. If the current supply cannot meet the user demand, the gas supply will be increased. If the current supply surplus cannot be squeezed into the available pipe capacity, the gas supply will be reduced. At the same time, the rated coefficient The establishment of the system ensures the relative stability of the difference at subsequent times and constrains the changes in gas supply within a smaller adjustment range.

[0011] 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: ; in, and are the minimum and maximum available pipe storage for normal operation of the pipe network, respectively, to meet , is the available storage at time 0, i is the current time, is the total amount of gas supply at the kth moment, 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 , , , , is fixed, 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 excessive user 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 momentary 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 momentary 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.

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

[0013] 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: ; The step in the above formula is the adjustment step length. is a fixed ratio, left is the remaining approved amount of gas source, For the approval 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.

[0014] The present invention also discloses a two-way iterative adaptive regulation device for a pipeline network gas source, comprising: A simulation module, which calculates the boundary assignment data and simulates the status of all pipelines and nodes under the current 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.

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

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

[0017] In summary, the present invention mainly has the following beneficial effects: 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; 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. The present invention proposes a pipe capacity judgment mechanism. Based on the pipe capacity at the moment and the cumulative pipe capacity, the flow constraint relationship between available pipe storage, compressible pipe capacity, user demand, and gas supply is derived and constructed from the perspective of formulas, which effectively solves the conversion problem of energy storage and supply in the peak regulation of energy storage technology, making the entire peak regulation scheduling more in line with the pipe network status in real scenarios; 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.

[0018] 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 momentary 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

[0019] Figure 1 It is the simplified pipe network schematic diagram pointed out in the background technology; Figure 2 It is the overall flow chart of gas source regulation; Figure 3 It is the flow chart of the pipe capacity judgment and adjustment module; Figure 4 It is the flow chart of the pressure judgment and regulation module; Figure 5 It is a structural block diagram of a bidirectional iterative adaptive regulating device for a gas source in a pipeline network; 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

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

[0021] Embodiment 1: refer to Figures 1 to 6This 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 momentary pipe capacity judgment and regulation module, the cumulative pipe capacity judgment and regulation module, and the underpressure 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.

[0022] refer to Figures 1 to 6 The simulation process of the simulation module is as follows: calculate the boundary assignment data and 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.

[0023] 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: ; in, and are the minimum and maximum available pipe storage for normal operation of the pipe network, respectively, satisfying , i is the current moment, is the total amount of gas supply at the current moment i, is the total user demand at the current time i, The available storage at the previous moment i-1; Known , , , , is fixed, It is variable, , 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; Set the usage of available storage and storage capacity at any time not to exceed the rated coefficient , can be obtained ; The current pipe capacity judgment and adjustment module determines whether the relationship between the total gas supply and the total user demand is too large through real-time monitoring of the available pipe storage and the available pipe capacity at the previous moment. If the current supply cannot meet the user demand, the gas supply will be increased. If the current supply surplus cannot be squeezed into the available pipe capacity, the gas supply will be reduced. At the same time, the rated coefficient The establishment of the system ensures the relative stability of the difference at subsequent times and constrains the changes in gas supply within a smaller adjustment range.

[0024] 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: The establishment of the system ensures the relative stability of the difference at subsequent times and constrains the changes in gas supply within a smaller adjustment range.

[0025] 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: ; in, and are the minimum and maximum available pipe storage for normal operation of the pipe network, respectively, to meet , is the available storage at time 0, i is the current time, is the total amount of gas supply at the kth moment, 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 , , , , is fixed, 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 excessive user 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. On the basis of the momentary 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 momentary 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.

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

[0027] 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: ; The step in the above formula is the adjustment step size. is a fixed ratio, left is the remaining approved amount of gas source, For the approval 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.

[0028] 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; The present invention proposes a two-way regulation mechanism for gas sources. The logic of increasing and decreasing the pressure and flow of the gas source is set according to the underpressure situation of the user, which effectively alleviates the situation in which the rated total amount is used up too early or the total amount of gas supply is too much due to the increasing gas supply during supply guarantee and peak regulation; this embodiment proposes a pipe capacity judgment mechanism. Based on the pipe capacity at the moment and the cumulative pipe capacity, the flow constraint relationship between available pipe storage, compressible pipe capacity, user demand, and gas supply is derived and constructed from the perspective of formulas, which effectively solves the problem of energy storage and supply conversion in energy storage technology peak regulation, so that the entire peak regulation scheduling is more in line with the pipeline network status in real scenarios; 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.

[0029] The two-way regulation mechanism of gas source in this embodiment effectively alleviates the situation that 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 momentary 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.

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

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

[0032] Embodiment 2: This embodiment proposes an efficient and reliable two-way iterative adaptive adjustment method, device, equipment and medium for the pipeline gas source. The method dispatches 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, resources are reasonably allocated to help urban gas companies to carry out refined resource management.

[0033] The following technical problems can be solved by using this embodiment: 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. 2. Propose a pipeline capacity judgment mechanism. Based on the pipeline capacity at the moment and the cumulative pipeline capacity, the flow constraint relationship between available pipeline storage, compressible pipeline capacity, user demand, and gas supply is derived and constructed from the perspective of formulas, effectively solving 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; 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.

[0034] 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 is necessary to go through the momentary 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.

[0035] 2.2.1 Simulation module 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.

[0036] 2.2.2 Obtaining undervoltage status The undervoltage condition acquisition module mainly records the undervoltage condition for the current simulation result. In the present invention, users whose pressure is lower than the lower limit of the user pressure are undervoltage users, and users whose pressure is 10% higher than the lower limit of the user pressure are overvoltage users. This part is mainly used in the subsequent pressure judgment and adjustment module.

[0037] 2.2.3 Current capacity judgment module 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. ; in, and are the minimum and maximum available pipe storage for normal operation of the pipe network, respectively, to meet , i is the current moment, is the total amount of gas supply at the current moment i, is the total user demand at the current time i, It is the available storage of i-1 at the previous moment.

[0038] Known , , , , is fixed, It is variable, 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.

[0039] 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. For this reason, it is set that the use of available storage and storage capacity at each moment shall not exceed the rated coefficient. , can be obtained .

[0040] The current pipe capacity judgment module determines whether the relationship between the total gas supply and the total user demand is too disparate through real-time monitoring of the available pipe storage and the available pipe capacity at the previous moment. If the current supply cannot meet the user demand, the gas supply will be increased. If the current supply surplus cannot be squeezed into the available pipe capacity, the gas supply will be reduced. At the same time, the rated coefficient The establishment of ensures the relative stability of the difference at subsequent times, constrains the change of gas supply within a smaller adjustment range, and is conducive to the gradual and reasonable optimization of the gas source end assignment.

[0041] 2.2.4 Cumulative pipe capacity judgment module 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. ; in, and are the minimum and maximum available pipe storage for normal operation of the pipe network, respectively, to meet , is the available storage at time 0. i is the current time, is the total amount of gas supply at the kth moment, 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.

[0042] Known , , , , is fixed, 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 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.

[0043] 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 momentary 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 momentary 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.

[0044] 2.2.5 Pipe Capacity Judgment and Adjustment Module Based on Memory Enhancement

[0045] 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 was 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 momentary pipe capacity judgment as an example, it needs to meet As shown in Table 1, this is the situation of the first four adjustments. If the supply volume decreases by 4, a total of about 9 adjustments are required. It can be seen that the adjustment process is long and inefficient. The memory enhancement module records the same unsatisfied inequality at the current moment, fits the relationship between the supply volume and the number of adjustments after four records, estimates the supply volume results under more adjustment times in advance, skips the intermediate redundant step-by-step adjustment process, and directly completes the 9th 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.

[0046] 2.2.6 Tracing module 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.

[0047] 2.2.7 Pressure judgment and adjustment module based on the remaining batch quantity monitoring 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.

[0048] ; The step in the above formula is the adjustment step length. is a fixed ratio, left is the remaining approved amount of gas source, For the approval 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.

[0049] Embodiment 3: 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.

[0050] Embodiment 4: 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.

[0051] Embodiment 5: 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.

[0052] 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 momentary pipe capacity judgment and adjustment module, the cumulative pipe capacity judgment and adjustment module, and the undervoltage 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: ; in, and are the minimum and maximum available pipe storage for normal operation of the pipe network, respectively, to meet , i is the current moment, is the total amount of gas supply at the current moment i, is the total user demand at the current time i, The available storage at the previous moment i-1; Known , , , , is fixed, It is variable, , 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 can meet the total volume demanded by the user at the current moment; Set the usage of available storage and storage capacity at any time not to exceed the rated coefficient , can be obtained ; The current pipe capacity judgment and adjustment module determines whether the relationship between the total gas supply and the total user demand is too large through real-time monitoring of the available pipe storage and the available pipe capacity at the previous moment. If the current supply cannot meet the user demand, the gas supply will be increased. If the current supply surplus cannot be squeezed into the available pipe capacity, the gas supply will be reduced. At the same time, the rated coefficient The establishment of the system ensures the relative stability of the difference at subsequent times and constrains the changes 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: calculate the boundary assignment data, simulate the status of all pipelines and nodes under the current assignment situation, and use it 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 those below the user pressure lower limit are undervoltage users, and those 10% above the user pressure lower limit 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: ; in, and are the minimum and maximum available pipe storage for normal operation of the pipe network, respectively, to meet , is the available storage at time 0, i is the current time, is the total amount of gas supply at the kth moment, 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 , , , , is fixed, 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 excessive user 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 momentary 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 momentary 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: ; The step in the above formula is the adjustment step size. is a fixed ratio, left is the remaining approved amount of gas source, For the approval 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: include: A simulation module, which calculates the boundary assignment data and simulates the status of all pipelines and nodes under the current 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

  • Self-adaptation selectable constrained gas optimizing dispatching system and method for steel enterprises

    CN101763105A

  • Natural gas pipeline network gas source resource peak shaving method and system

    CN118863310A

  • Predictive method for demand of gas

    JP1999126102A

  • Method, internet of things system and medium for smart gas maintenance management order dispatch warning

    US20230351276A1

  • Methods, internet of things (IOT) systems, and media for dynamically adjusting LNG storage based on big data

    US20230359965A1

Cited By

  • Abnormal flow data positioning method in transient simulation of pipe network, medium and electronic equipment

    CN119760620A