CN111379966B - Memory, hydrogen pipe network working condition data generation method, device and equipment - Google Patents

Memory, hydrogen pipe network working condition data generation method, device and equipment Download PDF

Info

Publication number
CN111379966B
CN111379966B CN201811609211.XA CN201811609211A CN111379966B CN 111379966 B CN111379966 B CN 111379966B CN 201811609211 A CN201811609211 A CN 201811609211A CN 111379966 B CN111379966 B CN 111379966B
Authority
CN
China
Prior art keywords
hydrogen
node
pipe section
working condition
pipe
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.)
Active
Application number
CN201811609211.XA
Other languages
Chinese (zh)
Other versions
CN111379966A (en
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.)
Sinopec Dalian Petrochemical Research Institute Co ltd
China Petroleum and Chemical Corp
Original Assignee
China Petroleum and Chemical Corp
Sinopec Dalian Research Institute of Petroleum and Petrochemicals
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 China Petroleum and Chemical Corp, Sinopec Dalian Research Institute of Petroleum and Petrochemicals filed Critical China Petroleum and Chemical Corp
Priority to CN201811609211.XA priority Critical patent/CN111379966B/en
Publication of CN111379966A publication Critical patent/CN111379966A/en
Application granted granted Critical
Publication of CN111379966B publication Critical patent/CN111379966B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17DPIPE-LINE SYSTEMS; PIPE-LINES
    • F17D1/00Pipe-line systems
    • F17D1/02Pipe-line systems for gases or vapours
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17DPIPE-LINE SYSTEMS; PIPE-LINES
    • F17D3/00Arrangements for supervising or controlling working operations
    • F17D3/01Arrangements for supervising or controlling working operations for controlling, signalling, or supervising the conveyance of a product
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17DPIPE-LINE SYSTEMS; PIPE-LINES
    • F17D3/00Arrangements for supervising or controlling working operations
    • F17D3/18Arrangements for supervising or controlling working operations for measuring the quantity of conveyed product
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17DPIPE-LINE SYSTEMS; PIPE-LINES
    • F17D5/00Protection or supervision of installations
    • F17D5/02Preventing, monitoring, or locating loss
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/30Hydrogen technology
    • Y02E60/34Hydrogen distribution
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/45Hydrogen technologies in production processes

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a memory, a method, a device and equipment for generating working condition data of a hydrogen pipe network, wherein the method comprises the steps of presetting an assignment rule of pipe sections in the hydrogen pipe network; selecting a reference point in a hydrogen pipe network; setting a target node, and defining a pipe section between the reference point and the target node as a first pipe section; and assigning a value to the first pipe section; judging whether the target node comprises a second pipe section; if so, assigning a value to the second pipe section, and calculating the value of a third pipe section of the target node; if not, returning to the step of selecting the reference point; when all three adjacent pipe sections of the target node are assigned, judging whether a connection object of a third pipe section is a subordinate node of the target node; if yes, setting the target node as a reference point and returning to the step of setting the target node; if not, returning to the step of selecting the reference point; and determining the material flow direction in the hydrogen pipe network, and calculating the working condition data of the pipe section by using the preset pipe section of the adjacent device as a hydrogen supply unit or a hydrogen consumption unit.

Description

Memory, hydrogen pipe network working condition data generation method, device and equipment
Technical Field
The invention relates to the field of petrochemical industry, in particular to a method, a device and equipment for generating working condition data of a memory and a hydrogen pipe network.
Background
The hydrogen system of the oil refinery generally comprises a hydrogen supply unit, a hydrogen consumption unit, a hydrogen recovery unit, a hydrogen pipe network and the like; the hydrogen pipe network is used as a bridge for connecting the hydrogen supply unit, the hydrogen consumption unit and the hydrogen recovery unit, and is an important basis for realizing hydrogen resource optimization. The hydrogen pipe network has the following main functions: delivering hydrogen gas of various purities to a hydrogen-consuming unit; the system is responsible for conveying the exhaust gas of the hydrogen consumption unit to a hydrogen recovery unit or a gas system; meanwhile, a stable pressure field and a stable speed field are maintained in the conveying process, so that the correct flow direction of the hydrogen-containing fluid is ensured.
In the prior art, equipment such as a hydrogen supply unit and a hydrogen consumption unit can be provided with devices such as an instrument (such as a flowmeter) and a sensor (such as a pressure sensor and a temperature sensor) for the working condition in a hydrogen pipe network in a hydrogen system, and a worker can judge the working condition according to experience after directly acquiring data through the devices.
The inventor finds that at least the following defects exist in the prior art through research:
the above-mentioned mode that uses the data that devices such as relevant instrument obtained to judge the operating mode in the hydrogen pipe network through general experience can't obtain the accurate operating mode data of hydrogen pipe network to can't provide accurate data foundation for the safety monitoring of hydrogen pipe network, also can't provide accurate data foundation for the optimization of hydrogen pipe network.
The information disclosed in this background section is only for enhancement of understanding of the general background of the invention and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person skilled in the art.
Disclosure of Invention
The invention aims to provide a storage, a method, a device and equipment for generating working condition data of a hydrogen pipe network, so that the effect and efficiency of troubleshooting in the hydrogen pipe network can be improved.
In order to achieve the above object, according to a first aspect of the present invention, the present invention provides a method for generating data of hydrogen pipe network conditions, comprising the steps of:
s11, presetting assignment rules of pipe sections in the hydrogen pipe network, wherein the assignment rules comprise: taking the material flow data in the pipe section as an absolute value of an assignment, and determining the positive and negative of the assignment according to the material flow direction; setting the inflow of the target node to be a positive value and the outflow of the target node to be a negative value;
s12, in the devices in the hydrogen supply unit or the hydrogen consumption unit connected with the hydrogen pipe network, selecting one of the devices which has not become a reference point as the reference point;
s13, setting the node adjacent to the reference point as a target node, and defining the pipe section between the reference point and the target node as a first pipe section; assigning values to the first pipe section according to known flow data and material flow direction in the monitoring data of the reference point;
s14, judging whether the target node comprises a second pipe section, wherein the second pipe section is a pipe section of which the connection object is a hydrogen supply unit or a hydrogen consumption unit;
s15, if yes, assigning a value to the second pipe section, calculating a value to a third pipe section of the target node according to the values of the first pipe section and the second pipe section, and jumping to the step S18;
if not, returning to the step S12;
s16, when all three adjacent pipe sections of the target node are assigned, judging whether a connection object of the third pipe section is a lower node of the target node;
s17, if yes, setting the target node as a reference point and returning to the step S13;
if not, returning to the step S12;
s18, determining the material flow direction in the hydrogen pipe network, and calculating the working condition data of the pipe section by taking the monitoring data as input, wherein the adjacent device is a preset pipe section of a hydrogen supply unit or a hydrogen consumption unit;
determining the node type of a preset node for the three adjacent pipe sections according to the material flow direction of the preset pipe section in the hydrogen pipe network relative to a target node; the node types comprise a confluence node and a shunting node; taking the monitoring data as input, and calculating working condition data of the preset node according to a preset rule; the working condition data comprises the flow and the flow speed of a pipe section or a node; the preset rules include:
when the node type of the preset node is a confluence node, respectively calculating working condition data of two pipe sections with material flow directions as inflow nodes; calculating working condition data of the preset node according to a mixing rule of the two flows; then calculating working condition data of a pipe section with the material flow direction as an outflow node;
when the node type of the preset node is a shunting node, firstly calculating working condition data of a pipe section with a material flow direction as an inflow node; then working condition data of a pipe section with a certain material flow direction as an outflow node are calculated; then working condition data of the preset node is calculated according to the two-fluid flow distribution rule; and then working condition data of the pipe section with the other material flow direction as the outflow node is calculated.
Further, in the above technical solution, the monitoring data includes hydrogen supply monitoring data and hydrogen consumption monitoring data;
the hydrogen supply monitoring data further comprises composition and/or raw material processing amount;
the hydrogen consumption monitoring data also comprises one of high-split discharged hydrogen flow, low-split gas flow, dry gas flow, composition, raw material processing amount and supplemented hydrogen composition and any combination thereof;
the operating condition data further comprises one of pressure, pressure drop, liquid phase quantity, gas phase quantity, liquid phase composition and gas phase composition, and any combination thereof.
Further, in the above technical solution, the acquiring manner of the monitoring data includes:
presetting a device monitoring model of a refinery hydrogen system, wherein the device monitoring model comprises a hydrogen supply submodel and a hydrogen consumption submodel; the hydrogen supply submodel is used for acquiring hydrogen supply monitoring data of each device in the hydrogen supply unit according to a first preset parameter; the hydrogen consumption submodel is used for acquiring hydrogen consumption monitoring data of each device in the hydrogen consumption unit according to a second preset parameter; the first preset parameter and the second preset parameter are obtained from any combination of a Distributed Control System (DCS), a Laboratory Information Management System (LIMS), a real-time database and manual input;
and acquiring the data of the first preset parameter and the data of the second preset parameter of the refinery hydrogen system in real time, and generating real-time hydrogen supply monitoring data and hydrogen consumption monitoring data according to the device monitoring model.
Further, in the above technical solution, after generating the real-time hydrogen supply monitoring data and the hydrogen consumption monitoring data, the method further includes:
and calculating a difference value between the total hydrogen supply amount of the hydrogen supply unit and the total hydrogen consumption amount of the hydrogen consumption unit, and respectively generating a correction value of hydrogen consumption monitoring data of each device in the hydrogen consumption unit according to the difference value.
Further, in the above technical solution, the calculating the operating condition data of each of the preset pipe segments and the preset nodes according to the preset rule with the hydrogen supply monitoring data and the hydrogen consumption monitoring data as input includes:
one of a flow velocity calculation model, a flow state judgment model, a pressure drop calculation model, a phase state judgment model and a thermodynamic equation and any combination thereof are adopted.
Further, in the above technical solution, the method further includes:
and generating early warning information of the hydrogen pipe network by taking the working condition data as parameters.
Further, in the above technical solution, the method further includes:
and constructing a path diagram of the working condition data of the hydrogen pipe network according to the working condition data of each pipe section and each node.
According to a second aspect of the present invention, the present invention further provides a hydrogen pipe network working condition data generating device, which includes:
the assignment definition component is used for presetting assignment rules of the pipe sections in the hydrogen pipe network, and the assignment rules comprise: taking the material flow data in the pipe section as an absolute value of an assignment, and determining the positive and negative of the assignment according to the material flow direction; setting the inflow of the target node to be a positive value and the outflow of the target node to be a negative value;
the reference point determining component is used for selecting one of devices which have not become a reference point among devices in the hydrogen supply unit or the hydrogen consumption unit connected with the hydrogen pipe network as the reference point;
the target node determining component is used for setting a node adjacent to the reference point as a target node and defining a pipe section between the reference point and the target node as a first pipe section; assigning values to the first pipe section according to known flow data and material flow direction in the monitoring data of the reference point;
the second pipe section judging component is used for judging whether the target node comprises a second pipe section, and the second pipe section is a pipe section of which the connection object is a hydrogen supply unit or a hydrogen consumption unit;
the assignment calculation component is used for assigning a value to the second pipe section if the target node is the second pipe section, calculating an assignment of a third pipe section of the target node according to the assignments of the first pipe section and the second pipe section, and jumping to the working condition calculation component;
if not, returning to the reference point determination component;
the lower node judging component is used for judging whether a connection object of the third pipe section is a lower node of the target node or not when the three adjacent pipe sections of the target node are assigned;
if yes, setting the target node as a reference point and returning to the target node determination component;
if not, returning to the reference point determination component;
the working condition calculation assembly is used for determining the material flow direction in the hydrogen pipe network, an adjacent device is a preset pipe section of a hydrogen supply unit or a hydrogen consumption unit, and the working condition data of the pipe section are calculated by taking the hydrogen supply monitoring data and the hydrogen consumption monitoring data as input;
determining the node type of a preset node for the three adjacent pipe sections according to the material flow direction of the preset pipe section in the hydrogen pipe network relative to a target node; the node types comprise a confluence node and a shunting node; taking the monitoring data as input, and calculating working condition data of the preset node according to a preset rule; the working condition data comprises the flow and the flow speed of a pipe section or a node; the preset rules include:
when the node type of the preset node is a confluence node, respectively calculating working condition data of two pipe sections with material flow directions as inflow nodes; calculating working condition data of the preset node according to a mixing rule of the two flows; then calculating working condition data of a pipe section with the material flow direction as an outflow node;
when the node type of the preset node is a shunting node, firstly calculating working condition data of a pipe section with a material flow direction as an inflow node; then working condition data of a pipe section with a certain material flow direction as an outflow node are calculated; then working condition data of the preset node is calculated according to the two-fluid flow distribution rule; and then working condition data of the pipe section with the other material flow direction as the outflow node is calculated.
To solve the above technical problem, the present invention also provides a memory including a non-transitory computer-readable storage medium storing computer-executable instructions for performing the method of the above aspects and achieving the same technical effects.
In order to solve the technical problems, the invention further provides a hydrogen pipe network working condition data generating device, which comprises a computer program stored on a memory, wherein the computer program comprises program instructions, and when the program instructions are executed by a computer, the computer executes the method in the aspects and achieves the same technical effect.
Advantageous effects
According to the method, the device and the equipment for generating the working condition data of the hydrogen pipe network, firstly, the pipe sections and the nodes in the hydrogen pipe network are assigned according to the flow data in the monitoring data of the hydrogen supply unit and the hydrogen consumption unit, then, the assignment of the third pipe section in the nodes is deduced, and then, the value of the calculated pipe section is used as the basis for calculating other subsequent pipe sections, so that the value assignment of each pipe section in the hydrogen pipe network is obtained; after the material flow direction in each pipe section is determined according to the assignment of each pipe section, working condition data of each node and each pipe section in the hydrogen pipe network can be calculated according to the monitoring data of the hydrogen supply unit and the hydrogen consumption unit;
according to the working condition data of the hydrogen pipe network generated by the invention, the material flow direction, flow and pressure of each position in the hydrogen pipe network can be obtained, and in addition, the pressure drop, flow speed, liquid phase quantity, gas phase quantity, liquid phase composition and gas phase equivalent data of a pipe section or a node can be calculated; therefore, on one hand, the real-time working conditions of the pipe sections and the nodes in the hydrogen pipe network can be comprehensively and accurately reflected, so that the problems of fluctuation, condensate, pressure build-up and the like in the hydrogen pipe network can be monitored through working condition data, and the effect and the efficiency of troubleshooting in the hydrogen pipe network can be effectively improved; on the other hand, whether the current hydrogen pipe network is reasonable can be judged according to the working condition data of the pipe sections and the nodes in the hydrogen pipe network, so that a clear judgment basis is provided for constructing the more energy-saving and reasonable hydrogen pipe network.
Other features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a schematic step diagram of a method for generating data of a hydrogen pipe network condition according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a hydrogen pipe network working condition data generation device according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a hardware structure of a hydrogen pipe network working condition data generation device according to an embodiment of the present invention.
Detailed Description
The following detailed description of the present invention is provided in conjunction with the accompanying drawings, but it should be understood that the scope of the present invention is not limited to the specific embodiments.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. Throughout the specification and claims, unless explicitly stated otherwise, the word "comprise", or variations such as "comprises" or "comprising", will be understood to imply the inclusion of a stated element or component but not the exclusion of any other element or component.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present invention. It will be understood by those skilled in the art that the present invention may be practiced without some of these specific details. In some instances, methods, means, elements well known to those skilled in the art have not been described in detail so as not to obscure the present invention.
Example 1
Fig. 1 is a flowchart illustrating a method for generating data of hydrogen pipe network conditions according to an embodiment of the present invention, where the method may be executed by an electronic device, such as a network device, a terminal device, or a server device. In other words, the method may be performed by software or hardware installed in a network device, a terminal device, or a server device. The server includes but is not limited to: a single server, a cluster of servers, etc. Referring to fig. 1, the method includes the following steps.
S11, presetting assignment rules of pipe sections in the hydrogen pipe network, wherein the assignment rules comprise: taking the material flow data in the pipe section as an absolute value of an assignment, and determining the positive and negative of the assignment according to the material flow direction; setting the inflow of the target node to be a positive value and the outflow of the target node to be a negative value;
in the prior art, when the working condition in the hydrogen pipe network needs to be known, the judgment can be generally carried out only through manual experience, because the collecting equipment of the working condition data cannot be arranged at each position of the hydrogen pipe network under the normal condition; therefore, the working condition data of the pipe network and the nodes in the hydrogen pipe network cannot be directly obtained.
In the embodiment of the present invention, the inventor constructs a generation scheme of working condition data of pipe segments and nodes in a hydrogen pipe network, specifically:
for each pipe section in the hydrogen pipe network, the connected objects comprise three devices of a hydrogen supply unit, a hydrogen consumption unit or a node; each node in the hydrogen pipe network comprises three adjacent devices, namely, the node can be respectively connected with a hydrogen supply unit, a hydrogen consumption unit or a lower node through three pipe sections;
it should be noted that, in the embodiment of the present invention, whether a certain device belongs to a hydrogen supply unit or a hydrogen consumption unit is determined according to the function of the pipe segment connected with the certain device, that is, as long as hydrogen is supplied through the pipe segment, the device is a hydrogen supply unit for the node connected with the pipe segment; specifically, the hydrogen supply unit in the embodiment of the present invention includes hydrogen production equipment such as a natural gas steam reforming hydrogen production device, a coal hydrogen production device, a reforming byproduct hydrogen production device, an ethylene byproduct hydrogen production device, and an electrolytic water hydrogen production device, and when a certain device consumes hydrogen and has a hydrogen production function (hydrogen recovery), then, for a pipe section connected to a hydrogen supply interface of the device, the pipe section is used for supplying hydrogen to a node, and at this time, the device is defined as belonging to the hydrogen supply unit by the corresponding node; since the device also has a hydrogen consuming interface, for the pipe section connected to the hydrogen consuming interface, it is used to discharge hydrogen for the node, and the device will be defined as belonging to the hydrogen consuming unit by the corresponding node.
In practical applications, the hydrogen supply monitoring data and the hydrogen consumption monitoring data may be obtained from monitoring devices in the hydrogen supply unit or the hydrogen consumption unit, such as various instruments or sensors, or may be generated according to data such as DCS, LIMS, real-time database, or human input; in order to obtain more comprehensive working condition information, in the embodiment of the present invention, the hydrogen supply monitoring data may further include composition and/or raw material processing amount; the hydrogen consumption monitoring data can also comprise one of high-split discharged hydrogen flow, low-split gas flow, dry gas flow, composition, raw material processing amount and supplemented hydrogen composition and any combination thereof; in the hydrogen supply monitoring data or the hydrogen consumption monitoring data, some monitoring data cannot be directly acquired, and therefore, in the embodiment of the invention, the monitoring data can be obtained by presetting a device monitoring model, specifically:
the device monitoring model may include a hydrogen supply submodel, a hydrogen consumption submodel; the hydrogen supply sub-model is used for acquiring hydrogen supply monitoring data of each device in the hydrogen supply unit according to a first preset parameter; the hydrogen consumption submodel is used for acquiring hydrogen consumption monitoring data of each device in the hydrogen consumption unit according to a second preset parameter; the first preset parameter and the second preset parameter can be obtained from any combination of DCS, LIMS, a real-time database and human input;
the first preset parameter and the second preset parameter in the invention refer to direct data directly obtained from various instruments, DCS, LIMS, real-time database or human input, and the corresponding hydrogen supply monitoring data and hydrogen consumption monitoring data can be generated by obtaining the direct data of the first preset parameter and the second preset parameter in real time through the hydrogen supply submodel or the hydrogen consumption submodel.
Further, in order to correct the numerical error of each device in the hydrogen consumption unit, in the embodiment of the present invention, the method may further include a step of correcting the hydrogen consumption unit, specifically, after generating the real-time hydrogen supply monitoring data and the hydrogen consumption monitoring data, the method further includes: calculating a difference value between the total hydrogen supply amount of the hydrogen supply unit and the total hydrogen consumption amount of the hydrogen consumption unit, and respectively generating a correction value of hydrogen consumption monitoring data of each device in the hydrogen consumption unit according to the difference value;
theoretically, the total hydrogen supply amount and the total hydrogen consumption amount in the hydrogen system should be equal, but in some cases, the total hydrogen consumption amount measured by each device of the hydrogen consumption unit has a certain error, which causes an error in subsequent calculation.
In order to realize the generation of the working condition data in the hydrogen pipe network, the hydrogen pipe network is divided into pipe sections and nodes in the embodiment of the invention, wherein each node is connected with three pipe sections; and then, with the node as a reference, assigning a value to the pipe section connected with the node. The specific assignment rule may be: taking the material flow data in the pipe section as an absolute value of the assignment, and determining the positive and negative of the assignment according to the material flow direction; the ingress is set to a positive value as the target node and the egress is set to a negative value. For example, assuming that three pipe sections of a certain target node are respectively used for connecting a hydrogen supply unit, a hydrogen consumption unit and a next-level node, since the hydrogen supply unit inputs the material flow into the target node through the pipe sections, which is a flow value of a, the pipe section can be assigned as + a; since the hydrogen consuming unit outputs the flow out of the target node through the pipe segment, which is a flow value of B, the pipe segment can be assigned a value of-B.
S12, in the devices in the hydrogen supply unit or the hydrogen consumption unit connected with the hydrogen pipe network, selecting one of the devices which has not become a reference point as the reference point;
in the embodiment of the invention, the devices capable of obtaining the monitoring data at the beginning are generally a hydrogen supply unit and a hydrogen consumption unit, so that the calculation of the working condition data can be started by taking a certain device in a hydrogen pipe network as a reference point; specifically, the hydrogen pipe network is composed of a plurality of branch paths composed of a pipe network and nodes, and is respectively connected with devices in a plurality of hydrogen supply units and devices in a plurality of hydrogen consumption units; the method for calculating the working condition data in the embodiment of the invention can start with any device of the hydrogen supply unit or the hydrogen consumption unit as a starting point, namely, one of the devices is determined as a reference point to start calculating the working condition data.
S13, setting the node adjacent to the reference point as a target node, and defining the pipe section between the reference point and the target node as a first pipe section; assigning values to the first pipe section according to known flow data and material flow direction in the monitoring data of the reference point;
in the embodiment of the present invention, typical hydrogen supply monitoring data and hydrogen consumption monitoring data may be flow rates of materials, wherein a hydrogen supply unit transmits the materials to an adjacent node through a pipe section, and a hydrogen consumption unit receives the materials transmitted from the adjacent node; thus for a node, the flow direction of the material includes an inflow node and an outflow node;
it should be noted that the node in the embodiment of the present invention refers to a three-way connection device in a hydrogen pipe network, each node is connected with three pipe segments, one end of each pipe segment is connected with a node, and the other end of each pipe segment can be communicated with a hydrogen supply interface of a certain hydrogen supply unit, or communicated with a hydrogen consumption interface of a certain hydrogen consumption unit, or communicated with another node of the next stage; the material in and out of each node is the same.
After the reference point is determined in the hydrogen supply unit or the hydrogen consumption unit, the flow data in the monitoring data of the hydrogen supply unit or the hydrogen consumption unit can be used as the basis of the assignment; specifically, each node comprises three connected pipe segments; the pipe section connected with the reference point is used as a first pipe section, and assignment can be carried out according to known flow data and material flow direction in monitoring data of the reference point; for example, for a target node, if a first pipe segment is connected to a hydrogen supply unit, then the flow of material is into the target node; if the flow data is A, then the value assigned to that spool piece may be + A; if the first pipe section is connected with a hydrogen consumption unit, the flow direction of the material is flowing out of the target node; the flow data is B, then the assignment for this pipe segment may be-B.
S14, judging whether the target node comprises a second pipe section, wherein the second pipe section is a pipe section of which the connection object is a hydrogen supply unit or a hydrogen consumption unit;
for a target node connected with three pipe sections, the assignment of only one pipe section cannot calculate the assignments of other pipe sections, so that whether the target node has a pipe section with a connection object of a hydrogen supply unit or a hydrogen consumption unit or whether the target node has a pipe section with a connection object of a hydrogen supply unit or a hydrogen consumption unit is judged, namely, whether the target node comprises a second pipe section or not is judged.
S15, if yes, assigning a value to the second pipe section, calculating a value to a third pipe section of the target node according to the values of the first pipe section and the second pipe section, and jumping to the step S18; if not, returning to the step S12;
if the second segment of the target node is available, the second segment can be assigned according to the flow data in the monitoring data of the hydrogen supply unit or the hydrogen consumption unit connected correspondingly.
When two of the three pipe sections connected with the target node are assigned, the sum of the inflow and outflow of the materials of the target node is zero, so that the assignment of the third pipe section can be calculated through the calculation of the assignment; for example,
if the assignment of the first pipe section of the target node is + A (connected to the hydrogen supply unit, the flow value is A), the assignment of the second pipe section is-B (connected to the hydrogen consumption unit, the flow value is B); a third pipe segment value can be obtained by the equation (+ a) + (-B) ═ X, and if X is greater than zero, then the material in that pipe segment is at the exit node and the flow value is the absolute value of X; if X is less than zero, the material in the pipe section flows into the node and the flow value is the absolute value of X; in this way, flow data for the third pipe segment may be obtained. If the value assigned to the third pipe section is positive, the third pipe section is indicated as outputting the material from the target node, and if the target node is connected with a lower node, the target node can be regarded as a hydrogen supply unit for the lower node of the target node; if the value assigned to the third pipe section is negative, this indicates that the third pipe section is a supply of material to the target node, which can be regarded as a hydrogen consumer unit if the target node is connected to a subordinate node of the target node.
If the target node cannot have the second pipe segment already assigned, then the target node and the other two pipe segments not yet assigned cannot be calculated by duplication, and therefore, the subsequent calculation needs to be performed by returning to step S12 to additionally determine a new reference point.
S16, when all three adjacent pipe sections of the target node are assigned, judging whether a connection object of the third pipe section is a lower node of the target node;
in general, the connection destination of the third pipe segment to be estimated in one node is another node (i.e., a node lower than the node to be estimated). For the subordinate node, when it is the material receiving the superior node, the superior node will be considered as a hydrogen supply unit; conversely, when the lower node is to be considered as delivering material to an upper node, the upper node will be considered to be a hydrogen-consuming unit.
S17, if yes, setting the target node as a reference point and returning to the step S13; if not, returning to the step S12;
if the connection object of the third adjacent pipe segment of the target node is the lower node of the target node, it means that the branch path to which the target node belongs is not estimated yet, so the process returns to step S13 to further perform subsequent estimation.
If the connection object of the third adjacent pipe section of the target node is not the next-level section, the connection object of the third pipe section is a device in the real hydrogen supply unit or hydrogen consumption unit (namely, the situation that the node in the non-hydrogen pipe network is regarded as the hydrogen supply unit or the hydrogen consumption unit); when the branch path to which the target node belongs is estimated, the process returns to step S12, and a new reference point is determined from the devices in the actual hydrogen supply unit or the actual hydrogen consumption unit, so that subsequent estimation is performed.
When all the devices in the hydrogen supply unit and the hydrogen consumption unit are used as reference points to calculate, the calculation of the flow direction of each pipe section in the hydrogen pipe network is completed.
S18, determining the material flow direction in the hydrogen pipe network, and calculating the working condition data of the pipe section by taking the monitoring data as input, wherein the adjacent device is a preset pipe section of a hydrogen supply unit or a hydrogen consumption unit;
the embodiment of the invention respectively defines the pipe section and the node which need to be subjected to the working condition data calculation in the hydrogen pipe network as the preset pipe section and the preset node, and generally speaking, the preset pipe section and the preset node can be the pipe section and the node between the hydrogen supply unit and the hydrogen consumption unit.
Determining the node type of a preset node for the three adjacent pipe sections according to the material flow direction of the preset pipe section in the hydrogen pipe network relative to a target node; the node types comprise a confluence node and a shunting node; taking the monitoring data as input, and calculating working condition data of the preset node according to a preset rule; the working condition data comprises the flow and the flow speed of a pipe section or a node; the preset rules include:
when the node type of the preset node is a confluence node, respectively calculating working condition data of two pipe sections with material flow directions as inflow nodes; calculating working condition data of the preset node according to a mixing rule of the two flows; then calculating working condition data of a pipe section with the material flow direction as an outflow node;
when the node type of the preset node is a shunting node, firstly calculating working condition data of a pipe section with a material flow direction as an inflow node; then working condition data of a pipe section with a certain material flow direction as an outflow node are calculated; then working condition data of the preset node is calculated according to the two-fluid flow distribution rule; and then working condition data of the pipe section with the other material flow direction as the outflow node is calculated.
In the embodiment of the invention, different calculation modes can be adopted according to different types of nodes to obtain more accurate results; in practical application, the hydrogen supply monitoring data can comprise hydrogen supply flow, material composition, raw material processing amount and other data; the hydrogen consumption monitoring data can comprise supplementary hydrogen flow, high-component discharged hydrogen flow, low-component gas flow, dry gas flow, composition, raw material processing amount, supplementary hydrogen composition and the like; when the types of monitoring data are increased, more types of working condition data such as flow, pressure drop, flow rate, liquid phase quantity, gas phase quantity, liquid phase composition, gas phase composition and the like can be correspondingly obtained through a preset rule. Specifically, the preset rules may include: when the node type of the preset node is a confluence node, respectively calculating working condition data of two pipe sections with material flow directions as inflow nodes; working condition data of a preset node is calculated according to a mixing rule of the two flows; then calculating working condition data of a pipe section with the material flow direction as an outflow node; when the node type of the preset node is a shunting node, firstly calculating working condition data of a pipe section with a material flow direction as an inflow node; then working condition data of a pipe section with a certain material flow direction as an outflow node are calculated; then working condition data of a preset node is calculated according to the two-fluid flow distribution rule; and then working condition data of the pipe section with the other material flow direction as the outflow node is calculated.
In practical application, the hydrogen supply monitoring data and the hydrogen consumption monitoring data are used as input, working condition data of each preset pipe section and each preset node are calculated according to preset rules, and the adopted algorithm, formula and calculation model can comprise: the flow velocity calculation model, the flow state judgment model, the pressure drop calculation model, the phase state judgment model, the thermodynamic equation and the like, wherein:
the flow rate calculation model may be:
Figure GDA0003050524510000151
Figure GDA0003050524510000152
Figure GDA0003050524510000153
in the formula: v is the flow rate; v is the volume flow; s is the cross-sectional area of the pipeline; p0Is standard atmospheric pressure, 101325 Pa; t is0273.15K;V0is a standard volume flow; t is the temperature; p is pressure; diIs the inner diameter of the pipe.
The flow state determination model is as follows:
Figure GDA0003050524510000154
Figure GDA0003050524510000155
Figure GDA0003050524510000156
in the formula: reIs the Reynolds coefficient; v is the flow rate; ρ is the fluid density; μ is the hydrodynamic viscosity; p is pressure; t is the temperature; r is 8.314J/(mol.K); mmixIs the mixed molar mass;
Figure GDA0003050524510000157
is the volume fraction of component i; miIs the molar mass of component i.
The pressure drop calculation model is as follows:
ΔPp=(ΔPf+ΔPt) X 1.15 formula 7
Figure GDA0003050524510000158
Figure GDA0003050524510000161
In the formula: delta PpIs the pipe section pressure drop; delta PfA straight tube pressure drop; delta PtIs the local resistance pressure drop; lambda is the coefficient of friction; l is the length of the pipeline; k is the resistance coefficient of pipe sections, nodes, pipe fittings or valves and the like.
The phase decision model in the embodiment of the present invention may be thatOn the premise of knowing the temperature T, the pressure P and the composition n, calculating the dew point pressure P of the stream at the same temperature T and the same composition n by utilizing a thermodynamic equation of stateLIf the actual pressure P > the dew point pressure PLIf so, indicating that a liquid phase exists, then calculating the flow rate and the composition of the gas phase and the liquid phase under T, P by using a phase equilibrium principle, otherwise, indicating that no liquid phase exists.
The thermodynamic equation in the embodiment of the present invention may include a mature thermodynamic model such as an SRK equation, a PR equation, or a BWRS equation, which may be selected by a person skilled in the art according to needs and is not limited herein.
Further, in the embodiment of the invention, the method can further comprise the step of generating the early warning information of the hydrogen pipe network by taking the working condition data as parameters, specifically, a mode of setting early warning in time can be adopted, and the early warning information is generated when the set working condition data exceeds the standard, so that the detection effect of the monitoring method of the hydrogen system can be improved, and the misjudgment and the missing judgment caused by manual inspection and judgment can be avoided; in practical application, the early warning information may include an excessive working condition data early warning, an excessive liquid accumulation early warning for a pipeline, and the like.
Further, in the embodiment of the present invention, a step of constructing a path diagram of the operating condition data of the hydrogen pipe network according to the operating condition data of each pipe segment and node may also be included.
After the working condition data of each pipe section and node in the hydrogen pipe network are obtained, a path diagram of the working condition data of the hydrogen pipe network can be constructed; therefore, whether hydrogen supply is excessive or not and whether hydrogen consumption is reasonable or not can be conveniently known, so that effective data support is provided for optimization of the hydrogen pipe network, and a more effective optimization effect can be obtained.
In summary, the memory, the hydrogen pipe network working condition data generation device and the hydrogen pipe network working condition data generation equipment provided by the invention can calculate the working condition data of the pipe sections and the nodes in the hydrogen pipe network through the obtained monitoring data, so that the effect and the efficiency of troubleshooting in the hydrogen pipe network can be improved, and in addition, a clear judgment basis can be provided for constructing a more energy-saving and reasonable hydrogen pipe network.
Specifically, in the invention, monitoring data of each hydrogen supply unit and each hydrogen consumption unit connected with a hydrogen pipe network are firstly obtained, and then the flow direction of materials in a pipe section associated with each node is deduced according to the monitoring data and the type of each node connecting device in the hydrogen pipe network; and then determining the node type of the node according to the material flow direction of each pipe section connected with the node, and further calculating the working condition data of the node and the connected pipe section in a corresponding mode. Therefore, working condition data of each preset pipe section and each preset node are calculated by taking the hydrogen supply monitoring data and the consumed hydrogen monitoring data which are acquired in real time as input.
The calculated working condition data can comprise pressure, pressure drop, flow velocity, liquid phase quantity, gas phase quantity, liquid phase composition and gas phase data of the pipe sections or nodes, so that on one hand, the real-time working conditions of the pipe sections and the nodes in the hydrogen pipe network can be comprehensively and accurately reflected, and thus, the problems of fluctuation, condensate, pressure holding and the like in the hydrogen pipe network can be monitored through the working condition data, and the effect and the efficiency of troubleshooting in the hydrogen pipe network can be effectively improved; on the other hand, whether the current hydrogen pipe network is reasonable can be judged according to the working condition data of the pipe sections and the nodes in the hydrogen pipe network, so that a clear judgment basis is provided for constructing the more energy-saving and reasonable hydrogen pipe network.
Example 2
Fig. 2 shows a schematic structural diagram of a hydrogen pipe network working condition data generation device according to an embodiment of the present invention, where the hydrogen system monitoring device is a device corresponding to the hydrogen pipe network working condition data generation method in embodiment 1, that is, the hydrogen pipe network working condition data generation method in embodiment 1 is implemented by using a virtual device, and each virtual module constituting the hydrogen pipe network working condition data generation device may be executed by an electronic device, such as a network device, a terminal device, or a server.
Specifically, as shown in fig. 2, the hydrogen pipe network operating condition data generating device in the embodiment of the present invention includes:
the assignment definition component 01 is used for presetting assignment rules of pipe sections in a hydrogen pipe network, and the assignment rules comprise: taking the material flow data in the pipe section as an absolute value of an assignment, and determining the positive and negative of the assignment according to the material flow direction; setting the inflow of the target node to be a positive value and the outflow of the target node to be a negative value;
a reference point determining component 02 for selecting one of the devices which has not become a reference point among the devices in the hydrogen supply unit or the hydrogen consumption unit connected with the hydrogen pipe network as the reference point;
a target node determining component 03, configured to set a node adjacent to the reference point as a target node, and define a pipe segment between the reference point and the target node as a first pipe segment; assigning values to the first pipe section according to known flow data and material flow direction in the monitoring data of the reference point;
the second pipe section judging component 04 is used for judging whether the target node comprises a second pipe section, wherein the second pipe section is a pipe section of which the connection object is a hydrogen supply unit or a hydrogen consumption unit;
the assignment calculation component 05 is used for assigning a value to the second pipe section if the target node is the third pipe section, calculating the assignment of the third pipe section of the target node according to the assignments of the first pipe section and the second pipe section, and jumping to the working condition calculation component 07;
if not, return to reference point determination component 02;
a lower node judging component 06, configured to judge whether a connection object of the third pipe segment is a lower node of the target node when all three adjacent pipe segments of the target node have been assigned with values;
if yes, setting the target node as a reference point and returning to the target node determining component 03;
if not, return to reference point determination component 02;
the working condition calculation component 07 is used for determining the material flow direction in the hydrogen pipe network, an adjacent device is a preset pipe section of a hydrogen supply unit or a hydrogen consumption unit, and the hydrogen supply monitoring data and the hydrogen consumption monitoring data are used as input to calculate the working condition data of the pipe section;
determining the node type of a preset node for the three adjacent pipe sections according to the material flow direction of the preset pipe section in the hydrogen pipe network relative to a target node; the node types comprise a confluence node and a shunting node; taking the monitoring data as input, and calculating working condition data of the preset node according to a preset rule; the working condition data comprises the flow and the flow speed of a pipe section or a node; the preset rules include:
when the node type of the preset node is a confluence node, respectively calculating working condition data of two pipe sections with material flow directions as inflow nodes; calculating working condition data of the preset node according to a mixing rule of the two flows; then calculating working condition data of a pipe section with the material flow direction as an outflow node;
when the node type of the preset node is a shunting node, firstly calculating working condition data of a pipe section with a material flow direction as an inflow node; then working condition data of a pipe section with a certain material flow direction as an outflow node are calculated; then working condition data of the preset node is calculated according to the two-fluid flow distribution rule; and then working condition data of the pipe section with the other material flow direction as the outflow node is calculated.
Since the working principle and the beneficial effects of the hydrogen pipe network working condition data generation device in the embodiment of the present invention have been described and illustrated in the hydrogen pipe network working condition data generation method in embodiment 1, they may be referred to each other and are not described herein again.
Example 3
Embodiments of the present invention provide a memory, where the memory may be a non-transitory (non-volatile) computer storage medium, where the computer storage medium stores computer-executable instructions, and the computer-executable instructions may execute each step of the hydrogen pipe network working condition data generation method in any method embodiment described above, and achieve the same technical effect.
Example 4
The embodiment of the invention provides a hydrogen pipe network working condition data generation device, wherein a memory included in the hydrogen pipe network working condition data generation device comprises a corresponding computer program product, and program instructions included in the computer program product can enable the computer to execute the hydrogen pipe network working condition data generation method in each aspect and realize the same technical effect when being executed by the computer.
Fig. 3 is a schematic diagram of a hardware structure of a hydrogen pipe network operating condition data generating device as an electronic device according to an embodiment of the present invention, and as shown in fig. 3, the device includes one or more processors 610 and a memory 620. Take a processor 610 as an example. The apparatus may further include: an input device 630 and an output device 640.
The processor 610, the memory 620, the input device 630, and the output device 640 may be connected by a bus or other means, and are exemplified by a bus in fig. 3.
The memory 620, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules. The processor 610 executes various functional applications and data processing of the electronic device, i.e., the processing method of the above-described method embodiment, by executing the non-transitory software programs, instructions and modules stored in the memory 620.
The memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data and the like. Further, the memory 620 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 620 optionally includes memory located remotely from the processor 610, which may be connected to the processing device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 630 may receive input numeric or character information and generate a signal input. The output device 640 may include a display device such as a display screen.
The one or more modules are stored in the memory 620 and, when executed by the one or more processors 610, perform:
s11, presetting assignment rules of pipe sections in the hydrogen pipe network, wherein the assignment rules comprise: taking the material flow data in the pipe section as an absolute value of an assignment, and determining the positive and negative of the assignment according to the material flow direction; setting the inflow of the target node to be a positive value and the outflow of the target node to be a negative value;
s12, in the devices in the hydrogen supply unit or the hydrogen consumption unit connected with the hydrogen pipe network, selecting one of the devices which has not become a reference point as the reference point;
s13, setting the node adjacent to the reference point as a target node, and defining the pipe section between the reference point and the target node as a first pipe section; assigning values to the first pipe section according to known flow data and material flow direction in the monitoring data of the reference point;
s14, judging whether the target node comprises a second pipe section, wherein the second pipe section is a pipe section of which the connection object is a hydrogen supply unit or a hydrogen consumption unit;
s15, if yes, assigning a value to the second pipe section, calculating a value to a third pipe section of the target node according to the values of the first pipe section and the second pipe section, and jumping to the step S18;
if not, returning to the step S12;
s16, when all three adjacent pipe sections of the target node are assigned, judging whether a connection object of the third pipe section is a lower node of the target node;
s17, if yes, setting the target node as a reference point and returning to the step S13;
if not, returning to the step S12;
s18, determining the material flow direction in the hydrogen pipe network, wherein an adjacent device is a preset pipe section of a hydrogen supply unit or a hydrogen consumption unit, and calculating the working condition data of the pipe section by taking the hydrogen supply monitoring data and the hydrogen consumption monitoring data as input;
determining the node type of a preset node for the three adjacent pipe sections according to the material flow direction of the preset pipe section in the hydrogen pipe network relative to a target node; the node types comprise a confluence node and a shunting node; taking the monitoring data as input, and calculating working condition data of the preset node according to a preset rule; the working condition data comprises the flow and the flow speed of a pipe section or a node; the preset rules include:
when the node type of the preset node is a confluence node, respectively calculating working condition data of two pipe sections with material flow directions as inflow nodes; calculating working condition data of the preset node according to a mixing rule of the two flows; then calculating working condition data of a pipe section with the material flow direction as an outflow node;
when the node type of the preset node is a shunting node, firstly calculating working condition data of a pipe section with a material flow direction as an inflow node; then working condition data of a pipe section with a certain material flow direction as an outflow node are calculated; then working condition data of the preset node is calculated according to the two-fluid flow distribution rule; and then working condition data of the pipe section with the other material flow direction as the outflow node is calculated.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
The electronic device of the embodiments of the present invention exists in various forms including, but not limited to, the following devices.
(1) Mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the above technical solutions substantially or contributing to the related art may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for generating working condition data of a hydrogen pipe network is characterized by comprising the following steps:
s11, presetting assignment rules of pipe sections in the hydrogen pipe network, wherein the assignment rules comprise: taking the material flow data in the pipe section as an absolute value of an assignment, and determining the positive and negative of the assignment according to the material flow direction; setting the inflow target node to be a positive value, and setting the outflow target node to be a negative value;
s12, in the devices in the hydrogen supply unit or the hydrogen consumption unit connected with the hydrogen pipe network, selecting one of the devices which has not become a reference point as the reference point;
s13, setting the node adjacent to the reference point as a target node, and defining the pipe section between the reference point and the target node as a first pipe section; assigning values to the first pipe section according to known flow data and material flow direction in the monitoring data of the reference point;
s14, judging whether the target node comprises a second pipe section, wherein the second pipe section is a pipe section of which the connection object is a hydrogen supply unit or a hydrogen consumption unit;
s15, if yes, assigning a value to the second pipe section, and calculating a value to a third pipe section of the target node according to the values of the first pipe section and the second pipe section;
if not, returning to the step S12;
s16, when all three adjacent pipe sections of the target node are assigned, judging whether a connection object of the third pipe section is a lower node of the target node;
s17, if yes, setting the target node as a reference point and returning to the step S13;
if not, returning to the step S12;
s18, determining the material flow direction in the hydrogen pipe network, and calculating the working condition data of the pipe section by taking the monitoring data as input, wherein the adjacent device is a preset pipe section of a hydrogen supply unit or a hydrogen consumption unit;
determining the node type of a preset node for the three adjacent pipe sections according to the material flow direction of the preset pipe section in the hydrogen pipe network relative to a target node; the node types comprise a confluence node and a shunting node; taking the monitoring data as input, and calculating working condition data of the preset node according to a preset rule; the hydrogen pipe network working condition data comprises the flow and the flow speed of pipe sections or nodes; the preset rules include:
when the node type of the preset node is a confluence node, respectively calculating working condition data of two pipe sections with material flow directions as inflow nodes; calculating working condition data of the preset node according to a mixing rule of the two flows; then calculating working condition data of a pipe section with the material flow direction as an outflow node;
when the node type of the preset node is a shunting node, firstly calculating working condition data of a pipe section with a material flow direction as an inflow node; then working condition data of a pipe section with a certain material flow direction as an outflow node are calculated; then working condition data of the preset node is calculated according to the two-fluid flow distribution rule; and then working condition data of the pipe section with the other material flow direction as the outflow node is calculated.
2. The method for generating the working condition data of the hydrogen pipe network according to claim 1, wherein the monitoring data comprises hydrogen supply monitoring data and hydrogen consumption monitoring data;
the hydrogen supply monitoring data further comprises composition and/or raw material processing amount;
the hydrogen consumption monitoring data also comprises one of high-split discharged hydrogen flow, low-split gas flow, dry gas flow, composition, raw material processing amount and supplemented hydrogen composition and any combination thereof;
the hydrogen pipe network working condition data further comprises one of pressure, pressure drop, liquid phase quantity, gas phase quantity, liquid phase composition and gas phase composition and any combination thereof.
3. The method for generating the working condition data of the hydrogen pipe network according to claim 2, wherein the monitoring data is obtained in a mode comprising:
presetting a device monitoring model of a refinery hydrogen system, wherein the device monitoring model comprises a hydrogen supply submodel and a hydrogen consumption submodel; the hydrogen supply submodel is used for acquiring hydrogen supply monitoring data of each device in the hydrogen supply unit according to a first preset parameter; the hydrogen consumption submodel is used for acquiring hydrogen consumption monitoring data of each device in the hydrogen consumption unit according to a second preset parameter; the first preset parameter and the second preset parameter are obtained from one of a Distributed Control System (DCS), a Laboratory Information Management System (LIMS), a real-time database and human input and any combination thereof;
and acquiring data of the first preset parameter and data of the second preset parameter of the refinery hydrogen system in real time, and generating real-time hydrogen supply monitoring data and hydrogen consumption monitoring data according to the device monitoring model.
4. The method for generating the working condition data of the hydrogen pipe network according to claim 3, wherein after the real-time hydrogen supply monitoring data and the real-time hydrogen consumption monitoring data are generated, the method further comprises the following steps:
and calculating a difference value between the total hydrogen supply amount of the hydrogen supply unit and the total hydrogen consumption amount of the hydrogen consumption unit, and respectively generating a correction value of hydrogen consumption monitoring data of each device in the hydrogen consumption unit according to the difference value.
5. The method for generating the working condition data of the hydrogen pipe network according to claim 1, wherein the step of calculating the working condition data of the preset node according to a preset rule by taking the monitoring data as input comprises the following steps:
adopting one or any combination of a flow velocity calculation model, a flow state judgment model, a pressure drop calculation model, a phase state judgment model and a thermodynamic equation.
6. The method for generating the working condition data of the hydrogen pipe network according to claim 1, further comprising:
and generating early warning information of the hydrogen pipe network by taking the working condition data of the hydrogen pipe network as parameters.
7. The method for generating the working condition data of the hydrogen pipe network according to claim 1, further comprising:
and constructing a path diagram of the working condition data of the hydrogen pipe network according to the working condition data of each pipe section and each node.
8. A hydrogen pipe network operating mode data generation device, its characterized in that includes:
the assignment definition component is used for presetting assignment rules of the pipe sections in the hydrogen pipe network, and the assignment rules comprise: taking the material flow data in the pipe section as an absolute value of an assignment, and determining the positive and negative of the assignment according to the material flow direction; setting the inflow target node to be a positive value, and setting the outflow target node to be a negative value;
the reference point determining component is used for selecting one of devices which have not become a reference point among devices in the hydrogen supply unit or the hydrogen consumption unit connected with the hydrogen pipe network as the reference point;
the target node determining component is used for setting a node adjacent to the reference point as a target node and defining a pipe section between the reference point and the target node as a first pipe section; assigning values to the first pipe section according to known flow data and material flow direction in the monitoring data of the reference point;
the pipe section judging component is used for judging whether the target node comprises a second pipe section, and the second pipe section is a pipe section of which the connection object is a hydrogen supply unit or a hydrogen consumption unit;
the assignment calculation component is used for assigning a value to the second pipe section if the target node is the second pipe section, calculating an assignment of a third pipe section of the target node according to the assignments of the first pipe section and the second pipe section, and jumping to the working condition calculation component;
if not, returning to the reference point determination component;
the lower node judging component is used for judging whether a connection object of the third pipe section is a lower node of the target node or not when the three adjacent pipe sections of the target node are assigned;
if yes, setting the target node as a reference point and returning to the target node determination component; if not, returning to the reference point determination component;
the working condition calculation assembly is used for determining the material flow direction in the hydrogen pipe network, and the adjacent device is a preset pipe section of the hydrogen supply unit or the hydrogen consumption unit, and the working condition data of the pipe section is calculated by taking the hydrogen supply monitoring data and the hydrogen consumption monitoring data as input;
determining the node type of a preset node for the three adjacent pipe sections according to the material flow direction of the preset pipe section in the hydrogen pipe network relative to a target node; the node types comprise a confluence node and a shunting node; taking the monitoring data as input, and calculating working condition data of the preset node according to a preset rule; the hydrogen pipe network working condition data comprises the flow and the flow speed of pipe sections or nodes; the preset rules include:
when the node type of the preset node is a confluence node, respectively calculating working condition data of two pipe sections with material flow directions as inflow nodes; calculating working condition data of the preset node according to a mixing rule of the two flows; then calculating working condition data of a pipe section with the material flow direction as an outflow node;
when the node type of the preset node is a shunting node, firstly calculating working condition data of a pipe section with a material flow direction as an inflow node; then working condition data of a pipe section with a certain material flow direction as an outflow node are calculated; then working condition data of the preset node is calculated according to the two-fluid flow distribution rule; and then working condition data of the pipe section with the other material flow direction as the outflow node is calculated.
9. A memory comprising a set of instructions adapted to be executed by a processor to perform the steps of the method for generating data on the condition of a hydrogen network according to any one of claims 1 to 7.
10. A hydrogen pipe network working condition data generating device, which is characterized by comprising a bus, an input device, an output device, a processor and the memory as claimed in claim 9;
the bus is used for connecting the memory, the input device, the output device and the processor;
the input device and the output device are used for realizing interaction with a user;
the processor is configured to execute a set of instructions in the memory.
CN201811609211.XA 2018-12-27 2018-12-27 Memory, hydrogen pipe network working condition data generation method, device and equipment Active CN111379966B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811609211.XA CN111379966B (en) 2018-12-27 2018-12-27 Memory, hydrogen pipe network working condition data generation method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811609211.XA CN111379966B (en) 2018-12-27 2018-12-27 Memory, hydrogen pipe network working condition data generation method, device and equipment

Publications (2)

Publication Number Publication Date
CN111379966A CN111379966A (en) 2020-07-07
CN111379966B true CN111379966B (en) 2021-07-09

Family

ID=71212683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811609211.XA Active CN111379966B (en) 2018-12-27 2018-12-27 Memory, hydrogen pipe network working condition data generation method, device and equipment

Country Status (1)

Country Link
CN (1) CN111379966B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117108924B (en) * 2023-10-23 2024-02-06 北京中环信科科技股份有限公司 Intelligent hydrogen management system and method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102182938A (en) * 2011-03-10 2011-09-14 上海交通大学 Method for generating real-time dynamic water supply network pressure distribution pattern
CN103605837A (en) * 2013-11-04 2014-02-26 河南理工大学 Multi-heat-source looped pipe network accessibility analysis and determination method, and multi-heat-source looped pipe network accessibility improvement method
CN105389642A (en) * 2015-12-25 2016-03-09 浙江中控软件技术有限公司 Method and device for optimizing steam pipe system
CN106895268A (en) * 2017-03-28 2017-06-27 智润科技有限公司 Set up the method and monitoring system of tree structure leakage loss condition monitoring pipe network
CN107023755A (en) * 2017-05-16 2017-08-08 北京化工大学 Pipeline network leak monitoring and positioning method and system
CN108194838A (en) * 2017-11-29 2018-06-22 重庆川仪自动化股份有限公司 A kind of subregion leakage loss computational methods and device based on tree construction
CN108332059A (en) * 2018-01-16 2018-07-27 浙江大学 Serve the pressure tap optimization placement method of water supply network booster monitoring
CN108647470A (en) * 2018-05-29 2018-10-12 杭州电子科技大学 A kind of localization method at the beginning of based on the leakage loss with depth belief network is clustered
CN108843977A (en) * 2018-06-28 2018-11-20 武汉新烽光电股份有限公司 The real-time leakage loss analysis method of water supply network, equipment, system and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102182938A (en) * 2011-03-10 2011-09-14 上海交通大学 Method for generating real-time dynamic water supply network pressure distribution pattern
CN103605837A (en) * 2013-11-04 2014-02-26 河南理工大学 Multi-heat-source looped pipe network accessibility analysis and determination method, and multi-heat-source looped pipe network accessibility improvement method
CN105389642A (en) * 2015-12-25 2016-03-09 浙江中控软件技术有限公司 Method and device for optimizing steam pipe system
CN106895268A (en) * 2017-03-28 2017-06-27 智润科技有限公司 Set up the method and monitoring system of tree structure leakage loss condition monitoring pipe network
CN107023755A (en) * 2017-05-16 2017-08-08 北京化工大学 Pipeline network leak monitoring and positioning method and system
CN108194838A (en) * 2017-11-29 2018-06-22 重庆川仪自动化股份有限公司 A kind of subregion leakage loss computational methods and device based on tree construction
CN108332059A (en) * 2018-01-16 2018-07-27 浙江大学 Serve the pressure tap optimization placement method of water supply network booster monitoring
CN108647470A (en) * 2018-05-29 2018-10-12 杭州电子科技大学 A kind of localization method at the beginning of based on the leakage loss with depth belief network is clustered
CN108843977A (en) * 2018-06-28 2018-11-20 武汉新烽光电股份有限公司 The real-time leakage loss analysis method of water supply network, equipment, system and storage medium

Also Published As

Publication number Publication date
CN111379966A (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CA2846656C (en) Net oil and gas well test system
JP5686133B2 (en) Usable bandwidth measurement system, transmitter, usable bandwidth measurement method and program
CN111379975B (en) Memory, hydrogen system monitoring method, device and equipment
CN109842563A (en) Content delivery network flow dispatching method, device and computer readable storage medium
WO2012127783A1 (en) Water distribution pressure control system
Schneiter et al. Capacity reliability of water distribution networks and optimum rehabilitation decision making
CN111379966B (en) Memory, hydrogen pipe network working condition data generation method, device and equipment
CN106059829A (en) Hidden markov-based network utilization ratio sensing method
US11898895B2 (en) Methods and systems for natural gas data computation outside gas internet of things based on energy measuring
Shirzad et al. New indices for reliability assessment of water distribution networks
CN111106960B (en) Mapping method and mapping device of virtual network and readable storage medium
CN111379965B (en) Memory, hydrogen system optimization method, device and equipment
CN111379968B (en) Memory, method, device and equipment for acquiring working condition data of hydrogen pipe network
CN114254894A (en) Equipment scheduling method and device of steam system
Liemberger et al. Accuracy limitations of the ILI: is it an appropriate indicator for developing countries
CN111379967B (en) Memory, and method, device and equipment for troubleshooting hydrogen pipe network
EP2770256B1 (en) Fuel-use instrument discrimination device, flow-measurement device, gas meter, and method for discriminating between fuel-use instruments
CN110332685A (en) For controlling the method, apparatus and air conditioner indoor unit of humidification apparatus
CN105224381A (en) A kind of method, Apparatus and system moving virtual machine
CN106677263B (en) A kind of determination method and system that pipe network is really missed
CN104463716B (en) Forming Electrical Dispatching Command Tickets method for prewarning risk and system based on weather conditions
RU2013152565A (en) METHOD FOR ACCOUNTING AND BALANCE OF GAS QUANTITY AND DEVICE FOR ITS IMPLEMENTATION
JP2009260890A (en) Communication band calculation method and apparatus
CN116757122B (en) Method, device, equipment and storage medium for constructing simulation model of packing absorption tower
CN108489544A (en) Runnability assessment method, device, equipment and the storage medium of high flow rate mixed bed

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230925

Address after: 100728 No. 22 North Main Street, Chaoyang District, Beijing, Chaoyangmen

Patentee after: CHINA PETROLEUM & CHEMICAL Corp.

Patentee after: Sinopec (Dalian) Petrochemical Research Institute Co.,Ltd.

Address before: 100728 No. 22 North Main Street, Chaoyang District, Beijing, Chaoyangmen

Patentee before: CHINA PETROLEUM & CHEMICAL Corp.

Patentee before: DALIAN RESEARCH INSTITUTE OF PETROLEUM AND PETROCHEMICALS, SINOPEC Corp.

TR01 Transfer of patent right