Disclosure of Invention
Aiming at the problems in the background art, the invention aims to provide a bidirectional iterative self-adaptive regulation method, device, equipment and medium for a pipe network air source, so as to solve the problems in the background art.
The technical aim of the invention is realized by the following technical scheme:
The bidirectional iteration self-adaptive regulation method for the pipe network air source adopts a simulation module, an under-voltage condition acquisition module, a current pipe capacity judging and regulating module, an accumulated pipe capacity judging and regulating module, a tracing module and a pressure regulating module as a regulation system framework, wherein after the boundary assignment data are obtained through the simulation module, the calculated value data of all pipe nodes are regulated through the moment pipe capacity judging and regulating module, the accumulated pipe capacity judging and regulating module and the under-voltage regulating module, the regulated result is simulated again, and the circulation is repeated for a plurality of times, and if the judgment requirement is not met once, the regulation is directly carried out, and the subsequent judgment regulation is not carried out.
The simulation flow of the simulation module is preferably that calculation is carried out on boundary assignment data, the state conditions of all pipelines and nodes under the condition of current assignment are simulated and used for subsequent judgment and adjustment, the under-voltage condition acquisition module is used for recording under-voltage conditions of current simulation results, wherein users lower than the lower limit of user pressure are under-voltage users, users higher than the lower limit of user pressure are over-voltage users, and recording results are used for subsequent pressure adjustment modules.
Preferably, the current pipe capacity judging and adjusting module is configured to judge whether available pipe capacities and storable pipe capacities in the pipe network at the current moment conform to a normal state of the pipe network, and may be:
;
wherein, AndThe minimum available pipe storage and the maximum available pipe storage of the normal operation of the pipe network respectively meet the following conditionsI is the current time,The total amount is supplied to the air source end at the current moment i,The total demand of the user side at the current moment i,The pipe memory is available for the last moment i-1;
Is known to be 、、、、Is fixed and is used for the treatment of the skin,Is varied and can obtainJudging whether the current residual air quantity can be pressed into the residual storable Guan Rong or not and whether the current available total quantity meets the total quantity of the user side requirements at the current moment or not by utilizing the method;
setting the use of available pipe memory and available pipe capacity at each moment not to exceed rated coefficient Can be obtained;
The current pipe capacity judging and adjusting module judges whether the relation between the total air supply amount of the air source and the total user demand amount at the current moment is too different or not through real-time monitoring of the available pipe capacity and the storable pipe capacity at the last moment, if the current supply cannot meet the user demand, the air source supply is increased, if the current supply surplus cannot be pressed into the storable pipe capacity Guan Rong, the air source supply is reduced, and meanwhile, the rated coefficient is calculatedIs set up to ensure a relatively stable difference at a later time, limiting the supply variation of the gas source to a small adjustment interval.
Preferably, the accumulated pipe capacity judging and adjusting module is configured to judge whether available pipe storage and storable pipe capacity in the pipe network at the accumulated time accords with a normal state of the pipe network, and may be:
;
wherein, AndThe minimum available pipe storage and the maximum available pipe storage of the normal operation of the pipe network respectively meet the following conditions,Is available pipe memory at time 0, i is the current time,The total amount is supplied to the air source end at the kth moment,The total amount of the demands of the user side at the kth moment,For the total supply of air source from time 1 to time i,The total user demand amount from the 1 st time to the i th time;
Is known to be 、、、、Is fixed and is used for the treatment of the skin,Is varied and can obtain+The method is used for judging whether surplus air supply quantity of the air source at the accumulation moment overflows the storable pipe capacity or whether the available pipe capacity of the part with overlarge user demand meets the supply or not, if so, reducing the air source supply at the current moment, and if not, increasing the air source supply at the current moment;
The accumulated pipe capacity judging and adjusting module monitors the accumulated amount of the supply amount and the demand amount from 0 moment to the current moment, an accumulated pipe capacity judging method is added on the basis of moment pipe capacity judgment, and the accumulated change of the available pipe capacity and the storable pipe capacity at the calculated moment is monitored, so that the situation that the moment pipe capacity judgment is not more than the rated duty ratio coefficient but the accumulated pipe capacity excess judgment is not passed is effectively avoided, and the effect of integrally assigning and optimizing the direction to the controlled air source end is achieved.
Preferably, the accumulated pipe capacity judging and adjusting module performs policy selection by judging whether the formula 1 or the formula 2 is satisfied, no operation is performed when the formula 1 or the formula 2 is satisfied, the air source end reduces the supply when the supply surplus is excessively large and the storable pipe capacity is not pressed in, the air source end increases the supply when the supply and the available pipe capacity are not satisfied, and the tracing module can obtain the duty ratio of the flow of each user at each air source.
Preferably, the flow of the pressure regulating module is that under-pressure and over-pressure conditions of users are obtained, corresponding air sources of each user are obtained through tracing, an air source list related to the under-pressure user is recorded as A, an air source list related to the over-pressure user is recorded as B, for the under-pressure condition, the flow and the pressure of the air sources in the list A are increased, for the over-pressure condition, a difference is made between the list B and the list A to obtain a list C, the flow and the pressure of the air sources in the list C are reduced, and for setting of a regulating step size, the following formula is adopted:
;
the step is the adjustment step length, For a fixed ratio, left is the air source recovery quantity remaining,For the purpose of the amount of the wholesale,For the residual quantity duty ratio, in order to avoid the condition that the residual quantity duty ratio is small and the adjustment step is too small to cause ineffective adjustment, the residual quantity duty ratio is larger thanWhen the step length adjusting method which is changed along with the residual quantity is adopted, otherwise, use the fixingThe step length is dynamically adjusted according to the residual quantity.
The invention also discloses a pipe network air source bidirectional iteration self-adaptive adjusting device, which comprises:
the simulation module calculates the boundary assignment data and simulates the state conditions of all pipelines and nodes under the current assignment condition;
The under-voltage condition acquisition module is used for recording the under-voltage condition of the current simulation result;
The current pipe capacity judging and adjusting module is used for judging whether available pipe storage and storable pipe capacity in the pipe network at the current moment accord with the normal state of the pipe network or not;
The accumulated pipe capacity judging and adjusting module is used for judging whether available pipe storage and storable pipe capacity in the pipe network at the accumulated moment accord with the normal state of the pipe network or not;
the system comprises a tracing module and a pressure adjusting module.
The invention also discloses a pipe network air source bidirectional iteration self-adaptive adjusting device, which comprises a computer, wherein a memory for storing a control program is arranged on the computer, and the computer is used for executing the computer program so as to realize the pipe network air source bidirectional iteration self-adaptive adjusting method.
The invention also discloses a computer readable storage medium for storing a computer program, wherein the steady-state tracing monitoring analysis method of the natural gas pipe network is realized when the computer program is executed by a processor.
In summary, the invention has the following advantages:
The invention provides a high-efficiency and reliable pipe network air source bidirectional iteration self-adaptive adjusting method, device, equipment and medium. The method performs resource scheduling on the pipe network through a bidirectional adjustment mechanism, self-adaptive step length and pipe capacity judgment. On the premise of meeting the lower limit of the pressure of a user, meeting the requirements of supply protection and the like, reasonably distributing resources and helping urban fuel enterprises to carry out resource fine management;
The invention provides a bi-directional air source regulating mechanism. Setting up and down regulation logics of pressure and flow of the air source according to the under-pressure condition of a user, and effectively relieving the condition that the rated total amount is used up too early or the total amount of air source supply is too much in the guaranteed supply peak regulation because the air supply amount is always increased;
The invention provides a pipe capacity judging mechanism. Deducing and constructing flow constraint relations of available pipe storage, compressible pipe capacity, user demand and air source supply from a formula angle based on moment pipe capacity and accumulated pipe capacity respectively, effectively solving the conversion problem of energy storage and supply in energy storage technology peak regulation, and enabling the whole peak regulation schedule to be more fit with the pipe network state in a real scene;
The invention provides a self-adaptive step length adjusting mechanism, which comprises a memory enhancing mechanism and a recovery quantity residual monitoring mechanism, and is used for dynamically adjusting the step length of an air source, so that the problem of poor effect caused by the hardness adjustment of a single step length is effectively solved, and the possibility that the result approaches to an ideal condition is effectively improved by a fine adjusting mode brought by the self-adaptive step length adjusting operation.
The invention effectively relieves the condition that the rated total amount is used up too early or the total amount of air supply is too much because of the gradual increase of the air supply amount in the peak regulation of the reserved supply, the pipe capacity judging mechanism is divided into a time pipe capacity and an accumulated pipe capacity, the flow constraint relation of available pipe capacity, compressible pipe capacity, user demand and air supply is deduced and constructed from the angle of a formula, the conversion problem of energy storage and supply in the peak regulation of the energy storage technology is effectively solved, the whole peak regulation is more fit with the pipe network state in the real scene, the invention adopts the self-adaptive step regulating mechanism, which comprises a memory enhancing mechanism and a recovery residual monitoring mechanism, and dynamically regulates the air supply in the pipe capacity judging and the pressure judging respectively, the problem of poor effect caused by single step hardening regulation is effectively relieved, and the fine regulating mode brought by the method effectively improves the possibility that the result approaches to the ideal situation.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1:
Referring to fig. 1 to 6, the embodiment provides a bidirectional iterative self-adaptive regulation method for a pipe network air source, which adopts a simulation module, an under-voltage condition acquisition module, a current pipe capacity judging and regulating module, an accumulated pipe capacity judging and regulating module, a tracing module and a pressure regulating module as a regulation system framework, wherein after boundary assignment data are obtained through the simulation module to obtain calculated value data of all pipe nodes, the calculated value data are regulated through a time pipe capacity judging and regulating module, an accumulated pipe capacity judging and regulating module and an under-voltage regulating module, the regulated result is simulated again, and the circulation is repeated for a plurality of times, and if the judgment requirement is not met once, the regulation is directly carried out, and the subsequent judgment regulation is not carried out.
Referring to fig. 1 to 6, the simulation flow of the simulation module is to calculate boundary assignment data, simulate the state conditions of all pipelines and nodes under the condition of current assignment for subsequent judgment and adjustment, and the under-voltage condition acquisition module is used for recording the under-voltage condition of the current simulation result, wherein the user with the lower pressure limit being lower than the user is an under-voltage user, the user with the lower pressure limit being higher than the user is an over-voltage user, and the recording result is used for the subsequent pressure adjustment module.
Referring to fig. 1 to fig. 6, the current pipe capacity judging and adjusting module is configured to judge whether available pipe capacities and storable pipe capacities in the pipe network at the current moment meet a normal state of the pipe network, and may be listed as follows:
;
wherein, AndThe minimum available pipe storage and the maximum available pipe storage of the normal operation of the pipe network respectively meet the requirements,I is the current time,The total amount is supplied to the air source end at the current moment i,The total demand of the user side at the current moment i,The pipe memory is available for the last moment i-1;
Is known to be ,,,,Is fixed and is used for the treatment of the skin,Is varied and can obtainJudging whether the current residual air quantity can be pressed into the residual storable Guan Rong or not and whether the current available total quantity meets the total quantity of the user side requirements at the current moment or not by utilizing the method;
setting the use of available pipe memory and available pipe capacity at each moment not to exceed rated coefficient Can be obtained;
The current pipe capacity judging and adjusting module judges whether the relation between the total air supply amount of the air source and the total user demand amount at the current moment is too different or not through real-time monitoring of the available pipe capacity and the storable pipe capacity at the last moment, if the current supply cannot meet the user demand, the air source supply is increased, if the current supply surplus cannot be pressed into the storable pipe capacity Guan Rong, the air source supply is reduced, and meanwhile, the rated coefficient is calculatedIs set up to ensure a relatively stable difference at a later time, limiting the supply variation of the gas source to a small adjustment interval.
Referring to fig. 1 to fig. 6, the cumulative pipe capacity judging and adjusting module is configured to judge whether available pipe storage and storable pipe capacity in the pipe network at the cumulative time accords with a normal state of the pipe network, and may be listed as follows:
is set up to ensure a relatively stable difference at a later time, limiting the supply variation of the gas source to a small adjustment interval.
Referring to fig. 1 to fig. 6, the cumulative pipe capacity judging and adjusting module is configured to judge whether available pipe storage and storable pipe capacity in the pipe network at the cumulative time accords with a normal state of the pipe network, and may be listed as follows:
;
wherein, AndThe minimum available pipe storage and the maximum available pipe storage of the normal operation of the pipe network respectively meet the following conditions,Is available pipe memory at time 0, i is the current time,The total amount is supplied to the air source end at the kth moment,The total amount of the demands of the user side at the kth moment,For the total supply of air source from time 1 to time i,The total user demand amount from the 1 st time to the i th time;
Is known to be 、、、、Is fixed and is used for the treatment of the skin,Is varied and can obtain+The method is used for judging whether surplus air supply quantity of the air source at the accumulation moment overflows the storable pipe capacity or whether the available pipe capacity of the part with overlarge user demand meets the supply or not, if so, reducing the air source supply at the current moment, and if not, increasing the air source supply at the current moment;
The accumulated pipe capacity judging and adjusting module monitors the accumulated amount of the supply amount and the demand amount from the moment 0 to the current moment, an accumulated pipe capacity judging method is added on the basis of the moment pipe capacity judgment, and the accumulated change of the available pipe capacity and the storable pipe capacity at the calculated moment is monitored, so that the condition that the moment pipe capacity judgment is not more than the rated duty ratio coefficient but the accumulated pipe capacity excess judgment is not passed is effectively avoided, and the effect of integrally assigning and optimizing the direction to the controlled air source end is achieved.
Referring to fig. 1 to 6, the cumulative pipe capacity judging and adjusting module performs policy selection by judging whether the formula 1 or the formula 2 is satisfied, no operation is performed when the formula 1 or the formula 2 is satisfied, the air source end reduces the supply when the supply surplus is judged to be too large and the storable pipe capacity is not pressed in, the air source end increases the supply when the supply and the available pipe capacity are judged to still not satisfy the user requirements, and the tracing module can obtain the ratio of the flow of each user at each air source.
Referring to fig. 1 to 6, the flow of the pressure regulating module is that under-pressure and over-pressure conditions of users are obtained, corresponding air sources of each user are obtained through tracing, an air source list related to the under-pressure user is recorded as a, an air source list related to the over-pressure user is recorded as B, for the under-pressure condition, the flow and the pressure of air sources in the list a are increased, for the over-pressure condition, a difference between the list B and the list a is made to obtain a list C, the flow and the pressure of the air sources in the list C are reduced, and for setting of a regulating step size, the following formula is adopted:
;
the step is the adjustment step length, For a fixed ratio, left is the air source recovery quantity remaining,For the purpose of the amount of the wholesale,For the residual quantity duty ratio, in order to avoid the condition that the residual quantity duty ratio is small and the adjustment step is too small to cause ineffective adjustment, the residual quantity duty ratio is larger thanWhen the step length adjusting method which is changed along with the residual quantity is adopted, otherwise, use the fixingThe step length is dynamically adjusted according to the residual quantity.
Referring to fig. 1 to 6, the invention provides a method, a device, equipment and a medium for efficient and reliable bidirectional iterative self-adaptive regulation of a pipe network air source. The method performs resource scheduling on the pipe network through a bidirectional adjustment mechanism, self-adaptive step length and pipe capacity judgment. On the premise of meeting the lower limit of the pressure of a user, meeting the requirements of supply protection and the like, reasonably distributing resources and helping urban fuel enterprises to carry out resource fine management;
The invention provides a bi-directional air source regulating mechanism. The up-regulation and down-regulation logic of the pressure and flow of the air source is set according to the under-pressure condition of the user, so that the condition that the rated total amount is used up too early or the total amount of air source supply is too much due to the fact that the air supply amount is always increased in the supply-keeping peak regulation is effectively relieved, and a pipe capacity judging mechanism is provided in the embodiment. Deducing and constructing flow constraint relations of available pipe storage, compressible pipe capacity, user demand and air source supply from a formula angle based on moment pipe capacity and accumulated pipe capacity respectively, effectively solving the conversion problem of energy storage and supply in energy storage technology peak regulation, and enabling the whole peak regulation schedule to be more fit with the pipe network state in a real scene;
The embodiment provides a self-adaptive step length adjusting mechanism, which comprises a memory enhancing mechanism and a recovery quantity residual monitoring mechanism, and is used for dynamically adjusting the step length of the air source, so that the problem of poor effect caused by the hardness adjustment of a single step length is effectively relieved, and the possibility that the result approaches to an ideal condition is effectively improved by a fine adjusting mode brought by the self-adaptive step length adjusting operation.
The air source bidirectional regulating mechanism effectively relieves the condition that rated total amount is used up too early or the total amount of air source supply is too much in the peak regulation of the reserved supply because the air supply amount is always increased, the pipe capacity judging mechanism is divided into a time pipe capacity and an accumulated pipe capacity, the flow constraint relation of available pipe capacity, compressible pipe capacity, user demand and air source supply is deduced and constructed from the angle of a formula, the problem of conversion of energy storage and supply in the peak regulation of an energy storage technology is effectively solved, the whole peak regulation is enabled to be more fit with the pipe network state in a real scene, the self-adaptive step regulating mechanism comprises a memory enhancing mechanism and a recovery residual monitoring mechanism, the memory enhancing mechanism and the recovery residual monitoring mechanism respectively dynamically regulate the air source in the pipe capacity judging and the pressure judging, the problem of poor effect caused by single step hardening regulation is effectively relieved, and the fine regulating mode brought by the method effectively improves the possibility that the result approaches to the ideal situation.
In addition, the embodiment also provides a bidirectional iteration self-adaptive adjusting device for the pipe network air source, which comprises a simulation module, an under-voltage condition acquisition module, a current pipe capacity judging and adjusting module, an accumulated pipe capacity judging and adjusting module and a tracing module, wherein the simulation module calculates boundary assignment data, simulates state conditions of all pipes and nodes under the condition of current assignment, the under-voltage condition acquisition module records the under-voltage condition of the current simulation result, the current pipe capacity judging and adjusting module is used for judging whether available pipe storage and available pipe capacity in the pipe network at the current moment accords with the normal state of the pipe network, and the accumulated pipe capacity judging and adjusting module is used for judging whether available pipe storage and available pipe capacity in the pipe network at the accumulated moment accords with the normal state of the pipe network.
The embodiment also provides a pipe network air source bidirectional iteration self-adaptive adjusting device, which comprises a computer, wherein a memory for storing a control program is arranged on the computer, and the computer is used for executing the computer program so as to realize the pipe network air source bidirectional iteration self-adaptive adjusting method.
Embodiment 2. The embodiment provides a high-efficiency and reliable pipe network air source bidirectional iteration self-adaptive adjusting method, device, equipment and medium. The method performs resource scheduling on the pipe network through a bidirectional adjustment mechanism, self-adaptive step length and pipe capacity judgment. On the premise of meeting the lower limit of the pressure of the user, meeting the requirements of supply protection and the like, the resource allocation is reasonably carried out, and the urban fuel enterprises are helped to carry out resource fine management.
The following technical problems can be solved by using the embodiment:
1. A bi-directional regulation mechanism for air source is disclosed. Setting up and down regulation logics of pressure and flow of the air source according to the under-pressure condition of a user, and effectively relieving the condition that the rated total amount is used up too early or the total amount of air source supply is too much in the guaranteed supply peak regulation because the air supply amount is always increased;
2. a pipe capacity judging mechanism is provided. Deducing and constructing flow constraint relations of available pipe storage, compressible pipe capacity, user demand and air source supply from a formula angle based on moment pipe capacity and accumulated pipe capacity respectively, effectively solving the conversion problem of energy storage and supply in energy storage technology peak regulation, and enabling the whole peak regulation schedule to be more fit with the pipe network state in a real scene;
3. The self-adaptive step length adjusting mechanism comprises a memory enhancing mechanism and a recovery residual monitoring mechanism, and is used for dynamically adjusting the step length of the air source, so that the problem of poor effect caused by the hardness adjustment of a single step length is effectively solved, and the possibility that the result approaches to an ideal condition is effectively improved by a fine adjusting mode brought by the self-adaptive step length adjusting operation.
The scheme of the invention is that as shown in fig. 2, the main flow architecture of the invention is shown, and the main flow architecture mainly comprises a simulation module, an under-voltage condition acquisition module, a current pipe capacity judging and adjusting module 1, an accumulated pipe capacity judging and adjusting module 2, a tracing module and a pressure adjusting module. After the boundary assignment data obtain the calculation value data of all pipeline nodes through the simulation module, the calculation value data is subjected to time pipe capacity judgment and adjustment, accumulated pipe capacity judgment and adjustment and undervoltage adjustment, and the result after adjustment is simulated again and is repeated for a plurality of times. It should be noted that, the three judgments have obvious precedence relationship, and if one judgment does not meet the judgment requirement, the adjustment is directly performed, and the subsequent judgment adjustment is not performed.
2.2.1 Simulation module
The simulation module is used for calculating boundary assignment data and simulating the state conditions of all pipelines and nodes under the current assignment condition for subsequent judgment and adjustment.
2.2.2 Acquiring an under-voltage condition
The module for acquiring the under-voltage condition is mainly used for recording the under-voltage condition aiming at the current simulation result. In the invention, the users below the lower limit of the user pressure are under-voltage users, and the users above the lower limit of the user pressure are over-voltage users by 10 percent. This part is mainly used for the subsequent pressure judging and adjusting module.
2.2.3 Pipe capacity judging module at current moment
The module is used for judging whether available pipe storage and storable pipe capacity in the pipe network at the current moment accord with the normal state of the pipe network. The following are listed:
;
wherein, AndThe minimum available pipe storage and the maximum available pipe storage of the normal operation of the pipe network respectively meet the following conditionsI is the current time,The total amount is supplied to the air source end at the current moment i,The total demand of the user side at the current moment i,The pipe is available for the last time i-1.
Is known to be、、、、Is fixed and is used for the treatment of the skin,Is varied and can obtain. The method aims at judging whether the current residual air quantity (total air source end supply quantity-total user end demand quantity) can be pressed into the residual storable Guan Rong and whether the current available total quantity (available pipe memory at the last moment and total air source end supply quantity at the current moment) meets the total user end demand quantity at the current moment.
This is unreasonable considering that there may be a situation where all available pipe memory and storable pipe capacity is used up at a certain time, while also seriously affecting the successful scheduling of resources at a later time. For this purpose, provision is made for the use of the available pipe store and the storable pipe volume per moment of time not to exceed the nominal factorCan be obtained。
The current time pipe capacity judging module judges whether the relation between the total air supply amount of the air source and the total user demand amount at the current time is too far apart or not through real-time monitoring of the available pipe capacity and the available pipe capacity at the last time, if the current supply cannot meet the user demand, the air source supply is increased, if the surplus of the current supply cannot be pressed into the available pipe capacity Guan Rong, the air source supply is reduced, and meanwhile, the rated coefficient is calculatedThe setting of the device ensures the relative stability of the difference at the subsequent moment, and the change of the air source supply quantity is restrained in a smaller adjustment interval, thereby being beneficial to the gradual and reasonable optimization of the assignment of the air source end.
2.2.4 Accumulated pipe capacity judging module
The module is used for judging whether available pipe storage and storable pipe capacity in the pipe network at the accumulated moment accord with the normal state of the pipe network. The following are listed:;
wherein, AndThe minimum available pipe storage and the maximum available pipe storage of the normal operation of the pipe network respectively meet the following conditions,The available pipe is stored for time 0. i is the current time of day and,The total amount is supplied to the air source end at the kth moment,The total amount of the demands of the user side at the kth moment,For the total supply of air source from time 1 to time i,The total amount of user demands from the 1 st time to the i th time.
Is known to be、、、、Is fixed and is used for the treatment of the skin,Is varied and can obtain+. The method aims at judging whether the surplus part of the air supply quantity of the air source at the accumulated moment overflows the storable pipe capacity or whether the available pipe capacity of the part with overlarge user demand meets the supply or not, if so, the air source supply is reduced at the current moment, and if not, the air source supply is increased at the current moment.
The accumulated pipe capacity judging module monitors the accumulated amount of the supply amount and the demand amount from the moment 0 to the current moment, and adds an accumulated pipe capacity judging method based on the moment pipe capacity judgment to monitor the accumulated change of the available pipe capacity and the storable pipe capacity at the calculated moment, thereby effectively avoiding the occurrence of the condition that the moment pipe capacity judgment meets the rated duty ratio coefficient but the accumulated pipe capacity excess judgment is not passed, and playing the role of integrally assigning the control air source end with the optimized direction.
2.2.5 Tube capacity judging and adjusting module based on memory enhancement
As shown in fig. 3, a tube capacity determination adjustment module is illustrated. When the pipe capacity is judged to meet the continuous inequality (formula 1 or formula 2), no operation is performed, when the supply surplus is judged to be too large, the pressure-in pipe capacity can not be pressed in, the air source end reduces the supply, and when the supply and the available pipe capacity are judged to still not meet the user requirement, the air source end increases the supply. The increase or decrease of the supply is controlled by a fixed percentage step based on the initial pressure or flow value, however, in subsequent experiments it was found that the supply of the air source cannot always be regulated to meet the continuous inequality in a limited small number of regulation times, and therefore the invention proposes a memory enhancing module. Taking the moment tube capacity judgment as an example, the requirement of the method is satisfiedAs shown in table 1, in the case of the first four adjustments, if the supply amount is decreased by 4, the adjustment is required for about 9 times in total, and the adjustment process is found to be long and inefficient. The memory enhancing module records the same condition of unsatisfied continuous inequality under the current time, fits the relation of supply quantity changing along with the adjusting times after four times of recording, pre-estimates the supply quantity result under more adjusting times in advance, and skips the gradual adjusting process of intermediate redundancy to directly finish the 9 th adjustment. The tube capacity judging and adjusting module based on memory enhancement can greatly reduce the number of tube capacity judging and adjusting times, and an optimal adjusting scheme can be more efficiently found.
2.2.6 Tracing module
The tracing module can obtain the duty ratio of the flow of each user at each air source, and can be understood as the action range of each air source on the user.
2.2.7 Pressure judging and adjusting module based on recovery quantity residual monitoring
FIG. 4 is a flow chart of a pressure determination adjustment module. Under-pressure and over-pressure conditions of users are obtained in 2.2.2, and the corresponding air source of each user can be obtained through tracing in 2.2.6. And recording an air source list related to the under-pressure user as A, recording an air source list related to the over-pressure user as B, increasing the flow and the pressure of the air sources in the list A under the under-pressure condition, and obtaining a list C by making a difference between the list B and the list A under the over-pressure condition, and reducing the flow and the pressure of the air sources in the list C. For setting the step length, the invention adopts a mode of combining fixed proportion and the rest proportion of the batch quantity.
;
The step is the adjustment step length,For a fixed ratio, left is the air source recovery quantity remaining,For the purpose of the amount of the wholesale,For the residual amount duty ratio, the step length is continuously adjusted along with the residual change of the batch, and the step length is smaller as the residual amount is always kept larger regardless of the under-pressure increasing supply or the over-pressure decreasing supply. In addition, in order to avoid the condition that the residual quantity is too small to cause the too small adjustment step length to cause ineffective adjustment, the invention has the advantages that the residual quantity is larger than the residual quantityWhen the step length adjusting method which is changed along with the residual quantity is adopted, otherwise, use the fixingIs used for adjusting the mode of the device. According to the dynamic adjustment step length of the residual quantity, the adjustment degree of the limited resources in different periods is changed, and the flow management from the resource side is facilitated.
Example 3:
Referring to fig. 5, the embodiment provides a bidirectional iterative adaptive adjusting device for pipe network air sources, which comprises a simulation module, an under-voltage condition acquisition module, a current pipe capacity judging and adjusting module, an accumulated pipe capacity judging and adjusting module and a tracing module, wherein the simulation module calculates boundary assignment data, simulates the state conditions of all pipes and nodes under the condition of current assignment, the under-voltage condition acquisition module records the under-voltage condition of the current simulation result, the current pipe capacity judging and adjusting module is used for judging whether available pipe storages and storable pipe capacities in the pipe network at the current moment accord with the normal state of the pipe network, the accumulated pipe capacity judging and adjusting module is used for judging whether available pipe storages and storable pipe capacities in the pipe network at the accumulated moment accord with the normal state of the pipe network, the tracing module can obtain the ratio of flow of each user at each air source and can be understood as the action range of each air source to the user, the pressure adjusting module is a main component participating in flow adjustment, and the bidirectional iterative adaptive adjusting device for the pipe network air sources can be realized.
Example 4:
Referring to fig. 6, the embodiment provides a bidirectional iterative adaptive regulation device for a pipe network air source, which comprises a computer, wherein the computer is an operation center, a memory for storing a control program is arranged on the computer, the memory can be an internal memory or a memory of an external server, the memory is mainly used for storing the program of the computer and executing the computer program to realize the bidirectional iterative adaptive regulation method for the pipe network air source, and a plurality of interface devices are further arranged on the computer to facilitate external connection.
Example 5:
the embodiment provides a computer readable storage medium for storing a computer program, wherein the steady-state traceability monitoring and analyzing method of the natural gas pipe network is realized when the computer program is executed by a processor.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.