CN118230841A - Natural gas quality dynamic tracking method and system in natural gas pipe network - Google Patents

Natural gas quality dynamic tracking method and system in natural gas pipe network Download PDF

Info

Publication number
CN118230841A
CN118230841A CN202410313262.7A CN202410313262A CN118230841A CN 118230841 A CN118230841 A CN 118230841A CN 202410313262 A CN202410313262 A CN 202410313262A CN 118230841 A CN118230841 A CN 118230841A
Authority
CN
China
Prior art keywords
natural gas
pipe network
gas pipe
network
simulation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410313262.7A
Other languages
Chinese (zh)
Inventor
刘喆
郑宏伟
郭哲
唐玉龙
李振林
薛淋双
苏怀
左丽丽
邱惠
金钟翔
张宇光
魏娜
伍开成
王新喨
马辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
National Petroleum And Natural Gas Pipeline Network Group Co ltd Science And Technology Research Institute Branch
China Oil and Gas Pipeline Network Corp
Original Assignee
National Petroleum And Natural Gas Pipeline Network Group Co ltd Science And Technology Research Institute Branch
China Oil and Gas Pipeline Network Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by National Petroleum And Natural Gas Pipeline Network Group Co ltd Science And Technology Research Institute Branch, China Oil and Gas Pipeline Network Corp filed Critical National Petroleum And Natural Gas Pipeline Network Group Co ltd Science And Technology Research Institute Branch
Priority to CN202410313262.7A priority Critical patent/CN118230841A/en
Publication of CN118230841A publication Critical patent/CN118230841A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a natural gas quality dynamic tracking method and a system in a natural gas pipe network, which relate to the technical field of natural gas quality tracking, and the method comprises the following steps: based on a hydraulic control equation, a thermodynamic control equation and a natural gas component control equation of each element in the natural gas pipe network, and a hydraulic balance equation, a thermodynamic balance equation and a natural gas component balance equation of each node in the natural gas pipe network, and combining the topological structure of the natural gas pipe network, establishing a simulation mathematical model of the natural gas pipe network; and acquiring and taking the actual pressure, temperature, flow and natural gas components of each gas source and user side in the natural gas pipe network as boundary conditions of simulation calculation in real time, and calculating the natural gas components of each position of the natural gas pipe in the natural gas pipe network in real time. The invention can track the natural gas quality components of each position of the natural gas pipeline in the natural gas pipeline network and provide data support for energy metering implementation and comprehensive application.

Description

Natural gas quality dynamic tracking method and system in natural gas pipe network
Technical Field
The invention relates to the technical field of natural gas quality tracking, in particular to a method and a system for dynamic natural gas quality tracking in a natural gas pipe network.
Background
With the interconnection and interconnection of natural gas pipelines and the networking operation, the structure of supplying various gas sources such as pipeline inlet gas, imported Liquefied Natural Gas (LNG), domestic conventional gas, unconventional gas and the like is basically formed, wherein the pipeline inlet gas has middle Asia, middle Burmese and middle Russia imported gas sources; the imported liquefied natural gas comprises Guangdong, fujian, dalian, jiangsu LNG sources and the like; the domestic conventional and unconventional gas includes shale gas, coal bed gas, coal gas, compact sandstone gas and other gas sources. The natural gas of different gas sources has different compositions, so that the heating value of the natural gas in unit volume is different, the natural gas of different gas qualities runs in the same natural gas pipe network and is mixed in non-fixed proportion at different positions, and the gas sources are possibly changed due to the adjustment of working conditions. The long-distance natural gas pipeline runs with large caliber, large flow and high pressure, and the gas analysis data influence the accuracy and reliability of trade handover measurement. The domestic space-time coupling dynamic characteristics of mixing and conveying various natural gas sources in a pipeline with large time lag characteristics are influenced by various factors such as gas source change, split conveying quantity change, operation condition change and the like, and an applicable intelligent dynamic gas quality tracking technology needs to be provided.
Disclosure of Invention
The invention aims to solve the technical problem of overcoming the defects of the prior art, and particularly provides a natural gas quality dynamic tracking method and system in a natural gas pipe network, which comprises the following steps:
1) In a first aspect, the invention provides a method for dynamically tracking natural gas quality in a natural gas pipeline network, which comprises the following specific technical scheme:
Based on a hydraulic control equation, a thermodynamic control equation and a natural gas component control equation of each element in the natural gas pipe network, and a hydraulic balance equation, a thermodynamic balance equation and a natural gas component balance equation of each node in the natural gas pipe network, and combining the topological structure of the natural gas pipe network, establishing a simulation mathematical model of the natural gas pipe network;
The method comprises the steps of acquiring and taking actual pressure, temperature, flow and natural gas components of each gas source and user side in a natural gas pipe network as boundary conditions of simulation calculation in real time, performing simulation calculation by using a simulation mathematical model of the natural gas pipe network, and calculating the natural gas components of each position of the natural gas pipe in the natural gas pipe network in real time.
The method for dynamically tracking the natural gas quality in the natural gas pipe network has the beneficial effects that:
The natural gas composition of each position of the natural gas pipeline in the natural gas pipeline network can be tracked, and data support is provided for energy metering implementation and comprehensive application.
Based on the scheme, the natural gas quality dynamic tracking method in the natural gas pipe network can be improved as follows.
Further, the method further comprises the following steps:
establishing a pipe network dynamic simulation model of a natural gas pipe network;
And mapping the natural gas components of each position of the natural gas pipeline in the natural gas pipeline network calculated in real time in a dynamic simulation model of the pipeline network.
Further, the method further comprises the following steps:
when the simulation mathematical model of the natural gas pipe network is utilized for simulation calculation, the pressure, the temperature and the flow of each position of the natural gas pipe in the natural gas pipe network are calculated in real time and mapped in the dynamic simulation model of the pipe network in real time.
Further, the actual pressure, temperature, flow and natural gas composition of each gas source are obtained in real time from the SCADA system of the natural gas pipe network, and the actual pressure, temperature, flow and natural gas composition of the user side are obtained.
2) In a second aspect, the invention also provides a natural gas quality dynamic tracking system in a natural gas pipe network, which comprises the following specific technical scheme:
the system comprises a simulation modeling module and a simulation calculation module;
The simulation modeling module is used for: based on a hydraulic control equation, a thermodynamic control equation and a natural gas component control equation of each element in the natural gas pipe network, and a hydraulic balance equation, a thermodynamic balance equation and a natural gas component balance equation of each node in the natural gas pipe network, and combining the topological structure of the natural gas pipe network, establishing a simulation mathematical model of the natural gas pipe network;
The simulation calculation module is used for: the method comprises the steps of acquiring and taking actual pressure, temperature, flow and natural gas components of each gas source and user side in a natural gas pipe network as boundary conditions of simulation calculation in real time, performing simulation calculation by using a simulation mathematical model of the natural gas pipe network, and calculating the natural gas components of each position of the natural gas pipe in the natural gas pipe network in real time.
Based on the scheme, the natural gas quality dynamic tracking system in the natural gas pipe network can be improved as follows.
Further, the system also comprises a data mapping module, and the modeling module is also used for: establishing a pipe network dynamic simulation model of a natural gas pipe network;
The data mapping module is used for: and mapping the natural gas components of each position of the natural gas pipeline in the natural gas pipeline network calculated in real time in a dynamic simulation model of the pipeline network.
Further, the simulation calculation module is further configured to: when the simulation mathematical model of the natural gas pipe network is utilized for simulation calculation, the pressure, the temperature and the flow of each position of the natural gas pipe in the natural gas pipe network are calculated in real time;
the data mapping module is further configured to: and mapping the calculated pressure, temperature and flow of each position of the natural gas pipeline in the natural gas pipeline network in real time in a dynamic simulation model of the pipeline network.
Further, the simulation calculation module is specifically configured to: the method comprises the steps of acquiring the actual pressure, temperature, flow and natural gas composition of each gas source from an SCADA system of a natural gas pipe network in real time, and acquiring the actual pressure, temperature, flow and natural gas composition of a user side.
3) In a third aspect, the present invention also provides a computer device, the computer device including a processor, the processor being coupled to a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor, to cause the computer device to implement a method for dynamic tracking of natural gas quality in any one of the above-mentioned natural gas networks.
4) In a fourth aspect, the present invention further provides a computer readable storage medium, where at least one computer program is stored, where the at least one computer program is loaded and executed by a processor, so that the computer implements a method for dynamically tracking natural gas quality in any one of the above natural gas networks.
It should be noted that, the technical solutions of the second aspect to the fourth aspect and the corresponding possible implementation manners of the present invention may refer to the technical effects of the first aspect and the corresponding possible implementation manners of the first aspect, which are not described herein.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings in which:
FIG. 1 is a schematic flow chart of a method for dynamic tracking of natural gas quality in a natural gas network according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a natural gas dynamic tracking system in a natural gas network according to an embodiment of the present invention;
FIG. 3 is a second schematic diagram of a dynamic natural gas quality tracking system in a natural gas network according to an embodiment of the present invention;
Fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
As shown in fig. 1, the method for dynamically tracking the natural gas quality in the natural gas pipe network according to the embodiment of the invention comprises the following steps:
S1, establishing a simulation mathematical model of a natural gas pipe network based on a hydraulic control equation, a thermal control equation and a natural gas component control equation of each element in the natural gas pipe network, and a hydraulic balance equation, a thermal balance equation and a natural gas component balance equation of each node in the natural gas pipe network by combining the topological structure of the natural gas pipe network;
s2, acquiring and taking the actual pressure, the actual temperature, the actual flow and the actual natural gas components of each gas source and each user side in the natural gas pipe network as boundary conditions of simulation calculation, performing the simulation calculation by using a simulation mathematical model of the natural gas pipe network, and calculating the natural gas components of each position of the natural gas pipe in the natural gas pipe network in real time.
The method comprises the steps of acquiring the actual pressure, temperature, flow and natural gas composition of each gas source from an SCADA system of a natural gas pipe network in real time, and acquiring the actual pressure, temperature, flow and natural gas composition of a user side.
The calculation of the gas quality component of the mixed natural gas mainly has two influencing factors, specifically: the invention provides a method for calculating the molar composition of gas of mixed natural gas based on the fact that the gas flow of natural gas between a natural gas pipeline and a node meets the law of mass conservation, wherein the method comprises the following steps of: the method comprises the steps of measuring real-time temperature, pressure, relative density and volume flow of each air source, composition of each air source and the like under reference conditions, blending the air mole composition calculation method into a process of performing simulation calculation by using a simulation mathematical model of a natural gas pipe network, and calculating natural gas compositions of each position of a natural gas pipeline in the natural gas pipe network in real time, wherein the method comprises the following specific implementation modes:
S20, according to the air source density rho and the volume flow Q, the mass flow of each air source when passing through the same node at any moment can be obtained by using a first formula, wherein the first formula is as follows: m j=ρj·Qj, wherein m j represents the mass flow rate of the jth air source, ρ j represents the air source density of the jth air source, and Q j represents the volume flow rate of the jth air source.
S21, converting the mole fraction and the mass fraction of the gas composition through a second formula, wherein the second formula is as follows: w i represents the mass fraction of the i-th component in the natural gas pipeline, x i represents the mole fraction of the i-th component in the natural gas pipeline, M i represents the mole mass of the i-th component in the natural gas pipeline, and n represents the total number of components in the natural gas.
S22, according to a first formula and a second formula, the mass m i,mix and the mass fraction w i,mix of each component after different air sources are uniformly mixed can be obtained, and the mass m i,mix and the mass fraction w i,mix are calculated by using a third formula and a fourth formula, wherein the third formula is as follows: The fourth formula is/> Wherein w ij represents the mass fraction of component i in the gas source j, w i,mix represents the mass fraction of component i after uniform mixing, and k represents the total number of gas sources.
S23, calculating the mole fraction of each component of the natural gas after mixing by a fifth formula, wherein the fifth formula is as follows: x i,mix represents the mole fraction of component i after uniform mixing, and n represents the total number of types of components.
The natural gas quality dynamic tracking method in the natural gas pipe network can track the natural gas quality components of all positions of the natural gas pipe in the natural gas pipe network, and provides data support for energy metering implementation and comprehensive application.
Optionally, in the above technical solution, the method further includes:
S3, establishing a pipe network dynamic simulation model of the natural gas pipe network, wherein the specific implementation process is as follows: describing a natural gas pipeline dynamic process of a large complex natural gas pipeline network, so as to enable a pipeline network dynamic simulation model of the natural gas pipeline network to be consistent with an actual natural gas pipeline structure of the natural gas pipeline network; three major control equations of the tubing natural gas fluid, namely a mass equation, a momentum equation and an energy equation, and a gas state equation are applied. The method comprises the steps of combining actual natural gas pipeline parameters, fluid physical parameters, instrument conditions, compressor parameters and valve parameters to obtain a pipeline network dynamic simulation model of a natural gas pipeline network, carrying out iterative solution on a hydraulic process and a thermodynamic process of gas flow by using a numerical method, calculating the pressure, the temperature, the flow and the natural gas quality components of each position of the natural gas pipeline in the natural gas pipeline network in real time, mapping the pressure, the temperature, the flow and the natural gas quality components in the pipeline network dynamic simulation model of the natural gas pipeline network, carrying out visualization, and truly reproducing the flow rule in the natural gas pipeline and reflecting the running state of the natural gas pipeline network in the actual condition.
And S4, mapping the natural gas components of each position of the natural gas pipeline in the natural gas pipeline network calculated in real time in a dynamic simulation model of the pipeline network.
Optionally, the method further comprises:
S5, judging deviation between the natural gas components collected by the gas quality analysis equipment and the calculated natural gas components at the same position of the natural gas pipeline, outputting the natural gas components at all positions of the natural gas pipeline in the natural gas pipeline network in real time when the error is lower than a set error threshold, and sending out a prompt when the error is not lower than the set error threshold so as to be convenient for correction.
Optionally, in the above technical solution, the method further includes:
And S6, when the simulation mathematical model of the natural gas pipe network is utilized for simulation calculation, calculating the pressure, the temperature and the flow of each position of the natural gas pipe in the natural gas pipe network in real time, and mapping the pressure, the temperature and the flow in the dynamic simulation model of the pipe network in real time.
In another embodiment, the method comprises:
s101, establishing a pipe network dynamic simulation model:
For describing the large complex natural gas pipeline dynamic process, in order to make the pipeline system model coincide with an actual pipeline, three major control equations of the pipeline natural gas fluid, namely a mass equation, a momentum equation and an energy equation, and a gas state equation are applied. And (3) combining the actual pipeline parameters, fluid physical parameters, instrument conditions, compressor parameters and valve parameters, and further carrying out iterative solution on the water power and thermal process of the gas flow by using a numerical method. The flow rule in the pipeline is truly reproduced in a pipe network simulation mode, and the running state of the pipe network in the actual condition is reflected. And establishing a visual fluid model and a pipe network simulation model to obtain a pipe network dynamic simulation model.
S102, establishing a simulation mathematical model:
Defining element and node parameters in a natural gas pipeline network, reasonably supposing and simplifying, defining natural gas components in the pipeline and basic parameters required by calculation, and establishing a mathematical model aiming at various connection relations;
s103, establishing a program calculation module:
On the basis of a mathematical model, the correlation relation of elements and nodes in hydraulics, thermodynamics and topology is comprehensively considered, and a system calculation model of the natural gas pipe network is built, which is equivalent to programming a simulation mathematical model.
S104, data connection of a simulation model:
Continuous time series data such as the gas quality change of each gas source, the fluctuation condition of the user demand and the like are needed for carrying out the dynamic simulation of the pipe network. The dynamic behaviors such as air quality alternation, air demand fluctuation and the like of each air source in the pipe network are not completely random, but are combined by the physical process constraint of the pipe network, market characteristics and the like. According to real-time pipe network operation parameters acquired by the SCADA system, calculating the pressure, the flow speed and the like of each position of the natural gas pipeline in real time according to actual pressure, temperature and flow boundary conditions of two ends of the natural gas pipeline, and driving a simulation model to operate;
S105, tracking and calculating results and verification of natural gas quality components:
The calculation of the composition of the mixed natural gas has two main influencing factors, namely the composition of the gas before mixing and the mixing proportion. For the composition of the gas before mixing, it can be generally measured by a gas analysis device; and for the mixing ratio, it is generally uncertain because the gas flow in the pipe is in a state of real-time variation. Therefore, based on the law that the gas flow between the pipeline and the node meets the conservation of mass, a method for calculating the gas molar composition of the mixed natural gas is provided, wherein the set input variables comprise real-time temperature, pressure, relative density and volume flow of each gas source under the metering reference condition, the composition of each gas source and the like.
According to the density ρ of the gas source of the input variable and the volume flow Q, the mass of each gas source when passing through the same node at a certain moment can be obtained, namely:
mj=ρj·Qj (1)
wherein j represents the gas source type.
The mole fraction and mass fraction representing the gas composition can be scaled by:
Where w i represents the mass fraction of a component, x i represents the mole fraction of a component, M i represents the mole mass of a component, and n represents the number of components in natural gas.
According to the formulas (1) to (2), the mass and mass fractions of the components after different gas sources are uniformly mixed can be obtained:
Wherein w ij represents the mass fraction of component i in the air source j, w i,mix represents the mass fraction of component i after uniform mixing, and k is the amount of the air source.
From equation (4) and the converted mole fractions, the mole fractions of the components of the natural gas after mixing can be calculated:
Performing error analysis and deviation correction on the obtained natural gas quality simulation calculation result and data fed back by an online chromatographic analyzer of a data acquisition system, and outputting a natural gas quality tracking result when the error is lower than a set error threshold and is converged;
S106, outputting a result:
and realizing visualization of a gas quality tracking calculation result through a result output module, and storing the calculation result.
Technical terms in the present invention are explained as follows:
1) And (3) gas quality tracking: the method is used for calculating the gas quality of a pipeline or any place in the pipeline by pipeline network simulation or state reconstruction based on gas quality data measured at all gas supply points on the pipeline. The accuracy of the calculated gas quality data depends on the pipeline layout, the integrity and accuracy of the measured data, and the performance of the mathematical model.
2) And (3) state reconstruction: in a real pipeline or pipe network, on the basis of complete topology, off-line calculations are performed on all the flow measurements checked for inlet and outlet, the associated temperatures and pressures, and possibly additional flow measurements, at each point of the pipeline, using a suitable dynamic mathematical model.
3) And (3) pipe network simulation: in pipe network simulation, the calculation mode of state reconstruction is consistent, but because the input data is only unverified online data or even assumed values, the simulation result is usually inaccurate and unsuitable for charging purposes.
The method can be used for tracking the heating value of the pipeline system on site, provides technical support for energy metering implementation and comprehensive application, is suitable for checking the heating value quality of a station yard with an online chromatographic analyzer, can provide accurate and reliable energy metering data as a standby means if the analyzer fails, and reduces trade loss caused by heating value errors; and the metering station which is not provided with an online chromatographic analyzer can be assigned through the data of the heating value tracking system, so that the accuracy and reliability of trade metering are ensured.
In the above embodiments, although steps S1, S2, etc. are numbered, only specific embodiments of the present invention are given, and those skilled in the art may adjust the execution sequence of S1, S2, etc. according to the actual situation, which is also within the scope of the present invention, and it is understood that some embodiments may include some or all of the above embodiments.
As shown in fig. 2, a natural gas quality dynamic tracking system 200 in a natural gas pipeline network according to an embodiment of the present invention includes a simulation modeling module 201 and a simulation calculation module 202;
The simulation modeling module 201 is configured to: based on a hydraulic control equation, a thermodynamic control equation and a natural gas component control equation of each element in the natural gas pipe network, and a hydraulic balance equation, a thermodynamic balance equation and a natural gas component balance equation of each node in the natural gas pipe network, and combining the topological structure of the natural gas pipe network, establishing a simulation mathematical model of the natural gas pipe network;
The simulation calculation module 202 is configured to: the method comprises the steps of acquiring and taking actual pressure, temperature, flow and natural gas components of each gas source and user side in a natural gas pipe network as boundary conditions of simulation calculation in real time, performing simulation calculation by using a simulation mathematical model of the natural gas pipe network, and calculating the natural gas components of each position of the natural gas pipe in the natural gas pipe network in real time.
Optionally, in the above technical solution, the modeling module 201 further includes a data mapping module, and the modeling module is further configured to: establishing a pipe network dynamic simulation model of a natural gas pipe network;
The data mapping module is used for: and mapping the natural gas components of each position of the natural gas pipeline in the natural gas pipeline network calculated in real time in a dynamic simulation model of the pipeline network.
Optionally, in the above technical solution, the simulation calculation module 202 is further configured to: when the simulation mathematical model of the natural gas pipe network is utilized for simulation calculation, the pressure, the temperature and the flow of each position of the natural gas pipe in the natural gas pipe network are calculated in real time;
the data mapping module is further configured to: and mapping the calculated pressure, temperature and flow of each position of the natural gas pipeline in the natural gas pipeline network in real time in a dynamic simulation model of the pipeline network.
Optionally, in the above technical solution, the simulation calculation module 202 is further specifically configured to: the method comprises the steps of acquiring the actual pressure, temperature, flow and natural gas composition of each gas source from an SCADA system of a natural gas pipe network in real time, and acquiring the actual pressure, temperature, flow and natural gas composition of a user side.
In another embodiment, as shown in fig. 3, a pipe network dynamic simulation model is established based on the basic data of the natural gas pipeline, the specific format of model training data and the frequency requirement according to the heating value tracking model construction and solving technology of the multi-gas source mixed natural gas pipeline system, a natural gas transient state water heating power calculation module and a component tracking calculation module with high precision and strong applicability are selected, and the method is applied to online transient state simulation software, so that the error between a calculation result and an online chromatographic analyzer of a data acquisition system is reduced.
The invention aims at a heating value tracking model construction and solving technology of a multi-air source mixed natural gas pipeline system: and establishing a hydraulic thermodynamic calorific value tracking model of the complex natural gas system, wherein the model has gas quality tracking and calorific value assignment functions of a gas pipeline.
It should be noted that, the beneficial effects of the natural gas quality dynamic tracking system 200 in a natural gas pipe network provided in the above embodiment are the same as those of the above method for dynamic tracking natural gas quality in a natural gas pipe network, and are not described herein again. In addition, when the system provided in the above embodiment implements the functions thereof, only the division of the above functional modules is used as an example, in practical application, the above functional allocation may be implemented by different functional modules according to needs, that is, the system is divided into different functional modules according to practical situations, so as to implement all or part of the functions described above. In addition, the system and method embodiments provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
As shown in fig. 4, in an embodiment of the present invention, a computer apparatus 300 includes a processor 320, where the processor 320 is coupled to a memory 310, and at least one computer program 330 is stored in the memory 310, and the at least one computer program 330 is loaded and executed by the processor 320, so that the computer apparatus 300 implements a method for dynamically tracking a natural gas quality in any of the above natural gas networks, specifically:
The computer device 300 may include one or more processors 320 (Central Processing Units, CPU) and one or more memories 310, where the one or more memories 310 store at least one computer program 330, where the at least one computer program 330 is loaded and executed by the one or more processors 320 to enable the computer device 300 to implement a method for dynamic tracking of natural gas quality in a natural gas pipeline network according to any of the embodiments described above. Of course, the computer device 300 may also have a wired or wireless network interface, a keyboard, an input/output interface, and other components for implementing the functions of the device, which are not described herein.
The embodiment of the invention relates to a computer readable storage medium, at least one computer program is stored in the computer readable storage medium, and the at least one computer program is loaded and executed by a processor, so that a computer realizes the method for dynamically tracking the natural gas quality in any natural gas pipeline network.
Alternatively, the computer readable storage medium may be a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a compact disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from a computer readable storage medium and the processor executes the computer instructions to cause the computer device to perform any of the methods of dynamic tracking of natural gas quality in a natural gas network described above.
It should be noted that the terms "first," "second," and the like in the description and in the claims are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. The order of use of similar objects may be interchanged where appropriate such that embodiments of the application described herein may be implemented in other sequences than those illustrated or otherwise described.
Those skilled in the art will appreciate that the invention may be embodied as a system, method or computer program product, and that the invention may therefore be embodied in the form of: either entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or entirely software, or a combination of hardware and software, referred to herein generally as a "circuit," module "or" system. Furthermore, in some embodiments, the invention may also be embodied in the form of a computer program product in one or more computer-readable media, which contain computer-readable program code.
Any combination of one or more computer readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.

Claims (10)

1. A method for dynamic tracking of natural gas quality in a natural gas pipeline network, comprising the steps of:
Based on a hydraulic control equation, a thermal control equation and a natural gas component control equation of each element in a natural gas pipe network, and a hydraulic balance equation, a thermal balance equation and a natural gas component balance equation of each node in the natural gas pipe network, and combining the topological structure of the natural gas pipe network, establishing a simulation mathematical model of the natural gas pipe network;
And acquiring the actual pressure, the actual temperature, the actual flow and the actual natural gas composition of each gas source and each user side of the natural gas pipe network in real time as boundary conditions of simulation calculation, and performing the simulation calculation by using a simulation mathematical model of the natural gas pipe network to calculate the natural gas composition of each position of the natural gas pipe in the natural gas pipe network in real time.
2. The method for dynamic tracking of natural gas quality in a natural gas network according to claim 1, further comprising:
establishing a pipe network dynamic simulation model of a natural gas pipe network;
and mapping the natural gas components calculated in real time at each position of the natural gas pipeline in the natural gas pipeline network in the pipeline network dynamic simulation model in real time.
3. The method for dynamic tracking of natural gas quality in a natural gas network according to claim 2, further comprising:
When the simulation mathematical model of the natural gas pipe network is utilized for simulation calculation, the pressure, the temperature and the flow of each position of the natural gas pipe in the natural gas pipe network are calculated in real time and mapped in the dynamic simulation model of the pipe network in real time.
4. A method of dynamic natural gas quality tracking in a natural gas network according to any one of claims 1 to 3, wherein the actual pressure, temperature, flow and natural gas quality components of each gas source are obtained in real time from the SCADA system of the natural gas network, and the actual pressure, temperature, flow and natural gas quality components of the customer premises are obtained.
5. The natural gas quality dynamic tracking system in the natural gas pipe network is characterized by comprising a simulation modeling module and a simulation calculation module;
The simulation modeling module is used for: based on a hydraulic control equation, a thermal control equation and a natural gas component control equation of each element in a natural gas pipe network, and a hydraulic balance equation, a thermal balance equation and a natural gas component balance equation of each node in the natural gas pipe network, and combining the topological structure of the natural gas pipe network, establishing a simulation mathematical model of the natural gas pipe network;
The simulation calculation module is used for: and acquiring the actual pressure, the actual temperature, the actual flow and the actual natural gas composition of each gas source and each user side in the natural gas pipe network in real time, taking the actual pressure, the actual temperature, the actual flow and the actual natural gas composition of each gas source and each user side in the natural gas pipe network as boundary conditions for simulation calculation, and performing the simulation calculation by using a simulation mathematical model of the natural gas pipe network to calculate the natural gas composition of each position of a natural gas pipeline in the natural gas pipe network in real time.
6. The system of claim 5, further comprising a data mapping module, wherein the modeling module is further configured to: establishing a pipe network dynamic simulation model of a natural gas pipe network;
The data mapping module is used for: and mapping the natural gas components calculated in real time at each position of the natural gas pipeline in the natural gas pipeline network in the pipeline network dynamic simulation model in real time.
7. The system of claim 6, wherein the simulation calculation module is further configured to: when the simulation mathematical model of the natural gas pipe network is utilized for simulation calculation, the pressure, the temperature and the flow of each position of the natural gas pipe in the natural gas pipe network are calculated in real time;
The data mapping module is further configured to: and mapping the calculated pressure, temperature and flow of each position of the natural gas pipeline in the natural gas pipeline network in real time in the dynamic simulation model of the pipeline network.
8. A natural gas quality dynamic tracking system in a natural gas network according to any of claims 5 to 7, wherein the simulation calculation module is further specifically configured to: and acquiring the actual pressure, temperature, flow and natural gas composition of each gas source from the SCADA system of the natural gas pipe network in real time, and acquiring the actual pressure, temperature, flow and natural gas composition of the user side.
9. A computer device comprising a processor coupled to a memory, the memory having stored therein at least one computer program, the at least one computer program being loaded and executed by the processor to cause the computer device to implement a method of dynamic natural gas mass tracking in a natural gas pipeline network as claimed in any one of claims 1 to 4.
10. A computer readable storage medium, wherein at least one computer program is stored in the computer readable storage medium, and the at least one computer program is loaded and executed by a processor, so that the computer implements a method for dynamic tracking of natural gas quality in a natural gas network according to any one of claims 1 to 4.
CN202410313262.7A 2024-03-19 2024-03-19 Natural gas quality dynamic tracking method and system in natural gas pipe network Pending CN118230841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410313262.7A CN118230841A (en) 2024-03-19 2024-03-19 Natural gas quality dynamic tracking method and system in natural gas pipe network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410313262.7A CN118230841A (en) 2024-03-19 2024-03-19 Natural gas quality dynamic tracking method and system in natural gas pipe network

Publications (1)

Publication Number Publication Date
CN118230841A true CN118230841A (en) 2024-06-21

Family

ID=91500451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410313262.7A Pending CN118230841A (en) 2024-03-19 2024-03-19 Natural gas quality dynamic tracking method and system in natural gas pipe network

Country Status (1)

Country Link
CN (1) CN118230841A (en)

Similar Documents

Publication Publication Date Title
Benonysson et al. Operational optimization in a district heating system
Fan et al. A transient composition tracking method for natural gas pipe networks
CN110851960B (en) Power distribution network operation reliability assessment method considering natural gas network influence
CN104749999B (en) The Turbo-generator Set cold end system optimization operation of assembling wet cooling tower accurately instructs system
US6446487B1 (en) Method for measuring the quantity of heat present in fuel gas
CN112069692B (en) Optimization solving method for natural gas pipe network transmission difference calculation
CN111486930A (en) Natural gas energy metering assignment checking method and system
CN114528674A (en) Natural gas long-distance pipeline network flow calculating and voting method and system
CN109583069A (en) Wind speed modeling method based on temporal correlation
Alekseiuk Improving the efficiency of the three-stage technique of mathematical model identification of complex thermal power equipment
CN113239645A (en) System and method for dynamically tracking and calculating natural gas components in natural gas pipe network in real time
JP5020338B2 (en) Initial value generating apparatus and initial value generating method
CN112883662B (en) Dynamic operation hydraulic state estimation method and system for steam heating network
US9927348B2 (en) Indirectly determining exhaust gas parameters
CN103697958B (en) The real time measure method of coal unit drum outlet saturation steam mass rate
CN118230841A (en) Natural gas quality dynamic tracking method and system in natural gas pipe network
Wang et al. Long-term reliability evaluation of integrated electricity and gas systems considering distributed hydrogen injections
Alexeyuk An improved technique for identification of mathematical models of thermal power equipment
KR101877627B1 (en) Apparatus and method for testing power performance of generator
CN115549093B (en) Method and system for online modeling and oscillation analysis of new energy power system
Urh et al. Gas composition tracking feasibility using transient finite difference θ-scheme model for binary gas mixtures
CN113341694B (en) Equivalent verification system and method for flow control valve control strategy
CN102999028B (en) Gas medium continuous data early warning system digital-to-analogue constructing method
CN115630479A (en) Gas tracking calculation method and device in multi-gas-source pipe network, server and storage medium
US20220011730A1 (en) Method for Simulation of Operating/Component Conditions of Plants, Especially Power Plants

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination