[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115289403B - A method for automatically monitoring closed paths within a pipe network section - Google Patents

A method for automatically monitoring closed paths within a pipe network section Download PDF

Info

Publication number
CN115289403B
CN115289403B CN202210758752.9A CN202210758752A CN115289403B CN 115289403 B CN115289403 B CN 115289403B CN 202210758752 A CN202210758752 A CN 202210758752A CN 115289403 B CN115289403 B CN 115289403B
Authority
CN
China
Prior art keywords
search
pipe network
network section
equipment
node
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
CN202210758752.9A
Other languages
Chinese (zh)
Other versions
CN115289403A (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.)
Zhongkong Technology Co ltd
Original Assignee
Zhongkong Technology Co ltd
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 Zhongkong Technology Co ltd filed Critical Zhongkong Technology Co ltd
Priority to CN202210758752.9A priority Critical patent/CN115289403B/en
Publication of CN115289403A publication Critical patent/CN115289403A/en
Application granted granted Critical
Publication of CN115289403B publication Critical patent/CN115289403B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17DPIPE-LINE SYSTEMS; PIPE-LINES
    • F17D5/00Protection or supervision of installations
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17DPIPE-LINE SYSTEMS; PIPE-LINES
    • F17D1/00Pipe-line systems
    • F17D1/08Pipe-line systems for liquids or viscous products
    • F17D1/14Conveying liquids or viscous products by pumping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • 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/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Water Supply & Treatment (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Software Systems (AREA)
  • Pipeline Systems (AREA)

Abstract

本发明公开了一种管网区间内封闭路径的自动监测方法,包括:S1、解析获取管网区间内所有设备的基础属性,并将解析得到的设备的基础属性依次存储为单个图节点;S2、基于解析得到的所有设备的基础属性,构建双向连接搜索图,并读取设备的位号值;S3、采用广度优先搜索方法搜索处于封闭路径的设备,从任一根未检查的管道作为起点进行搜索,直到以当前检查节点为起点无法继续扩散搜索为止。本发明通过程序自动巡检的方式对管网区间内设备的封闭状态进行监测,代替了监控操作员人工检查管网区间设备封闭状态,既能保证及时采取泄压处理的措施以避免管道超压,减少安全事故的发生,又节省了人力消耗,降低了生产过程中的人工参与程度。

The present invention discloses an automatic monitoring method for a closed path in a pipe network section, including: S1, parsing and obtaining the basic attributes of all equipment in the pipe network section, and storing the basic attributes of the equipment obtained by the analysis as a single graph node in sequence; S2, constructing a two-way connection search graph based on the basic attributes of all equipment obtained by the analysis, and reading the bit number value of the equipment; S3, using a breadth-first search method to search for equipment in a closed path, starting from any uninspected pipeline as the starting point, until the search cannot be continued to diffuse starting from the current inspection node. The present invention monitors the closed state of equipment in the pipe network section by means of automatic program inspection, replacing the manual inspection of the closed state of equipment in the pipe network section by the monitoring operator, which can ensure that pressure relief measures are taken in time to avoid pipeline overpressure and reduce the occurrence of safety accidents, and save manpower consumption and reduce the degree of manual participation in the production process.

Description

Automatic monitoring method for closed paths in pipe network interval
Technical Field
The invention relates to the technical field of safety control, in particular to an automatic monitoring method for a closed path in a pipe network interval.
Background
Along with the continuous development and change of technology, the industrial industry has stronger and stronger requirements for automation, but the safety is particularly important while the automatic production efficiency is improved. In refinery production, the pressure of the medium in the pipeline exceeds the allowable operating pressure, which can lead to catastrophic failure. The standard B of the design fire protection of petrochemical enterprises (GB 50160-2008) also indicates that the pressure relief safety measures should be adopted for liquid hydrocarbon, A B and B A liquid pipelines with the two ends closed and possibly causing the pressure rise of the medium due to the external influence.
At present, in the oil storage and transportation operation of petrochemical enterprises, operators actively check whether a pipeline is in a closed state or not. When the equipment is closed, operators need to pay attention to the running condition of oil moving operation, and also need to check the opening and closing condition of boundary valves of an oil transportation pipe network and the opening and closing condition of pipelines extending to upstream equipment and downstream equipment. This requires operators to have a rich operating experience in complex pipe network environments, and also requires significant labor and time costs.
Petrochemical enterprises generally have hundreds or thousands of oil pipelines and oil conveying equipment, if some pipelines enter a closed state due to equipment abnormality, operators cannot detect the pipelines at the first time, and timely pressure relief treatment cannot be achieved. If the pipeline in the closed path can be automatically searched, the pressure relief treatment is timely carried out on the oil transportation pipe network, and the production safety is greatly improved.
Disclosure of Invention
The invention provides an automatic monitoring method for a closed path in a pipe network section in order to overcome the defects of the technology.
The invention aims to monitor equipment in a factory, and when the equipment is closed to cause one or more pipelines (pipe networks) to enter a closed state, related personnel are prompted to timely take pressure relief treatment, so that the overpressure of the pipelines is avoided, safety accidents are reduced, and meanwhile, the management level of production is improved.
Term interpretation:
1) The pressure-releasing device refers to a device which can release the pressure in the pipeline after the pipeline is communicated with the device. Such as a storage tank, a receiving device, a pressure relief valve, etc.
2) Dividing a complex problem into two or more same or similar sub-problems, dividing the sub-problem into smaller sub-problems until the final sub-problem can be simply and directly solved, and combining the solutions of the original problem, namely the solutions of the sub-problems.
3) The oil pipeline network is a net structure formed by pipelines and connected equipment, and is provided with a corresponding pump and a storage tank according to the requirements of the technological process, so that a complete system is designed and installed for completing the tasks of oil receiving, unloading and transferring.
4) Breadth-first search algorithm, its alias called BFS, belongs to a blind search method, and aims to systematically develop and examine all nodes in the graph to find the result.
5) And DCS Distributed Control System, distributed control system.
6) OMS Oil Movement System, oil product moving system.
The technical scheme adopted for overcoming the technical problems is as follows:
an automatic monitoring method for a closed path in a pipe network interval comprises the following steps:
s1, analyzing and obtaining basic attributes of all devices in a pipe network interval, and sequentially storing the basic attributes of the devices obtained through analysis into single graph nodes;
S2, constructing a bidirectional connection search graph based on the basic attributes of all the devices obtained through analysis, and reading the bit number values of the devices;
And S3, searching equipment in a closed path by adopting a breadth-first searching method, and searching from any one of the non-checked pipelines as a starting point until the current checking node is used as the starting point and the diffuse searching cannot be continued.
Further, in the step S1, the equipment at least comprises a tank, a pump, a valve, a pipeline, a flowmeter, a conveying device, a blind plate and a sealing head, and the basic attribute shared by each equipment comprises equipment codes, equipment types and connection relations among the equipment.
Further, step S0 is further included before step S1, wherein the whole pipe network section comprises n sub-pipe network sections, each sub-pipe network section corresponds to a flow chart, and n is more than or equal to 1.
Further, for the n Zhang Liucheng graphs, n threads are employed to execute step S1 and step S2 in parallel.
Further, in step S2, in the process of reading the device bit number, the bit number of other devices except the PID control valve and the centrifugal pump should be read.
Further, in step S2, the bit number value of the required device is read at one time, and the read bit number value is stored.
Further, in step S3, after the closed path is retrieved, a visual alert and/or an audible and visual alarm is provided by the DCS system.
Further, the step S3 specifically includes the following steps:
S3.1, taking out the queue head node as a current check node;
S3.2, searching reachable nodes of the current check node;
S3.3, judging the detected reachable node, and judging whether the reachable node is a pressure-releasing device or not, if yes, setting all devices in the current search interval to be not in a closed path, and then executing the next step, otherwise, directly executing the next step;
And S3.4, judging whether the reachable node is isolated from other search intervals, wherein the situation that the reachable node is isolated from other search intervals comprises the condition that a valve is in a closed state, a volumetric pump is in a closed state or a blind plate is arranged on the valve, if yes, directly returning to the step S3.1 to continue searching until the diffusion searching cannot be continued by taking the current check node as a starting point, otherwise, adding the reachable node into a queue, and then returning to the step S3.1 to continue searching until the diffusion searching cannot be continued by taking the current check node as the starting point.
Further, the search results are stored by adopting a data structure of a jump table, and the nodes to be accessed are stored by using a data structure of a queue.
Further, in step S3.4, returning to step S3.1 to continue searching is specifically divided into two cases:
1) If the nodes in the queue with the current search interval are not searched, continuing to search the current interval;
2) If the nodes in the queue are empty, searching for another searching interval.
The beneficial effects of the invention are as follows:
1. The invention uses the DCS system as a platform, monitors the closed state of equipment in the pipe network interval in the industrial production process in a program automatic inspection mode, replaces a monitoring operator to manually check the closed state of the equipment in the pipe network interval, can ensure that a pressure relief treatment measure is timely adopted to avoid the overpressure of a pipeline, reduces the occurrence of safety accidents, saves labor consumption, reduces the manual participation degree in the production process, and can also avoid uncertain factors caused by manual control.
2. The plant area is often provided with a plurality of independent sub-pipe network intervals, each sub-pipe network interval corresponds to one flow chart, the program is executed simultaneously by adopting a multithreading method, and the searching is performed by using the dividing and treating thought, so that the searching efficiency is greatly improved.
3. The program background automatically monitors the equipment in the factory, and prompts a monitoring operator in a visual reminding mode in time after the equipment in the closed path is detected.
Drawings
Fig. 1 is a flowchart of a method for automatically monitoring a closed path in a pipe network section according to an embodiment of the present invention.
FIG. 2 is a schematic diagram of parallel processing of 3 flowcharts using 3 threads according to an embodiment of the present invention.
Fig. 3 is a flow chart of searching for a device in a closed path according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of device distribution and connection of a certain search interval according to an embodiment of the present invention.
Detailed Description
The invention will now be described in further detail with reference to the drawings and the specific examples, which are given by way of illustration only and are not intended to limit the scope of the invention, in order to facilitate a better understanding of the invention to those skilled in the art.
The invention discloses an automatic monitoring method of a closed path in a pipe network interval, as shown in fig. 1, comprising the following steps:
and S0, setting a whole pipe network interval to comprise n sub-pipe network intervals, wherein each sub-pipe network interval corresponds to a flow chart, and n is more than or equal to 1.
In a factory of a petrochemical enterprise, the whole pipe network interval is generally provided with a plurality of sub-pipe network intervals, and accordingly, each sub-pipe network interval corresponds to one flow chart, and the number of the sub-pipe network intervals is n, namely, n flow charts are provided, wherein n is more than or equal to 1. In this embodiment, the search closed path is searched by taking the search interval as a unit, but each sub-pipe network interval generally includes more than one search interval, and there may be multiple search intervals, and each search interval is independent, i.e. is not communicated with each other.
S1, analyzing and obtaining basic attributes of all devices in a pipe network interval, and sequentially storing the basic attributes of the devices obtained through analysis into a single graph node.
Specifically, the devices described in the petrochemical enterprise of the present embodiment at least include a tank, a pump, a valve, a pipe, a flowmeter, a conveying device, a blind plate, and a head, wherein the devices that have an influence on the closed path search are the pump and the valve. The pump at least comprises a centrifugal pump, a cam pump, a screw pump and a barrel bag pump, wherein the cam pump and the screw pump are commonly referred to as a volumetric pump, the centrifugal pump and the barrel bag pump are commonly referred to as a centrifugal pump, the valve at least comprises a hand valve, an interlocking valve, a switch type control valve, a switch stop type control valve, an electric control valve and a PID control valve, wherein the PID control valve is automatically switched by the pressure in a pipeline, other valves are manually switched and controlled, and the conveying device at least comprises a wharf and a loading platform.
In this embodiment, the information of the devices and the connection relationship between the devices are stored as xml documents generated by bpmn flowchart by default, so that the basic attributes of all the devices in the pipe network interval are obtained by parsing, that is, the text content in the xml documents is parsed. The device of the entity at least comprises a tank, a pump, a valve, a pipeline, a flowmeter, a conveying device, a blind plate and a sealing head, and the xml document comprises an inter-page connector and an intersection point besides the device of the entity, wherein the inter-page connector is used for connecting a plurality of flowcharts, and the two devices are abstracted by an OMS system and are also stored in the xml document, so that the devices are required to be resolved when resolving.
Since there are multiple devices, the attributes of the various devices are not completely the same, in this embodiment, only the basic attributes of all the devices, that is, the device codes, the device types and the connection relationships, need to be resolved. And sequentially storing the basic attributes of the equipment obtained by analysis as single graph nodes so as to facilitate the subsequent construction of a bidirectional connection search graph, wherein the equipment attributes of the graph nodes are stored by adopting a Map storage structure in order to improve the expandability and the universality of a program, and the reachable equipment graph nodes are stored by adopting a List storage structure.
And S2, constructing a bidirectional connection search graph based on the basic attributes of all the devices obtained through analysis, and reading the bit number value of the device.
The main innovation point of the invention is to complete the search of the bidirectional connection search graph (also called as the connection graph), but the search of the closed path is different from the search of the oil product moving path, and the key point of the search of the closed path is the accessibility judgment from the equipment in the path to the pressure-releasing equipment, so that the step is mainly to construct the bidirectional connection search graph based on the basic attribute of the equipment and the connection relation between the equipment obtained by analysis in the step S1, thereby being convenient for the accessibility judgment in the subsequent step S3.
The reading of the bit number is specifically that the current state of the equipment is read through a lower computer, then the DCS platform obtains the current state of the equipment read by the lower computer, and the general current state of the equipment can be represented by numerical values 1 and 2, for example, the current state can be represented by 1 for representing an on state and 2 for representing an off state, wherein the lower computer is a hardware equipment connected with equipment in a factory. In addition, because of excessive devices in the factory, in order to improve the program execution efficiency, the embodiment adopts one-time reading of the bit number value of the required device, stores the read bit number value, particularly stores in a memory of a server where an OMS system is located, and loads the required bit number from the memory for judgment when searching the device of a closed path later.
In this embodiment, the reading of the bit number is mainly to obtain the on-off state of the valve, the on-off state of the volumetric pump, and the blind plate state of the valve.
In order to improve efficiency, the method of multithreading is adopted in the embodiment, specifically, for n Zhang Liucheng diagrams in a factory, n threads are adopted to execute step S1 and step S2 in parallel, namely, each thread is responsible for a device analysis stage and a bidirectional connection search diagram constructing stage in a flow chart, then thread coordination is carried out through locking and other modes to obtain a total search diagram, a plurality of threads execute construction tasks of the search diagram simultaneously, a dividing and controlling idea is used for searching, and a high-efficiency automatic monitoring method of a closed state of a pipe network interval is constructed. As shown in fig. 2, a schematic diagram of parallel processing of 3 flowcharts using 3 threads is shown.
And S3, searching equipment in a closed path by adopting a breadth-first searching method, and searching from any one of the non-checked pipelines as a starting point until the current checking node is used as the starting point and the diffuse searching cannot be continued.
The key point of the invention is that the search of the connected graph is completed, and for the search of the connected graph, two search algorithms are usually adopted, one is depth-first search and the other is breadth-first search. The main purpose of searching for a closed path is to avoid that the oil pipelines are in a closed state, and all the oil pipelines must be checked, so in this embodiment, accessibility searching is performed by using any one of the unchecked oil pipelines as a starting point device until the current checking node is used as a starting point, and the diffuse searching cannot be continued. The closed state of each search interval is consistent, namely, each time the search is diffused outwards from the starting point until the search cannot be diffused, the search interval is communicated, and whether a pressure-releasing device exists or not is consistent. When the program is executed, the closed state of each search interval is recorded, when the next search interval accesses the search interval with the existing result, the current closed state of the search interval is combined with the closed state of the search interval with the existing result, and the equipment in the search interval with the existing result is not accessed any more, so that each equipment can be ensured to know the closed state of all the equipment only once in a check mode, and the search efficiency is greatly improved.
In addition, the initial default devices are all in a closed path, so that on one hand, pressure relief points possibly exist on the pipeline, an undetected pipeline does not determine whether the pressure relief points exist, and on the other hand, a manual pressure relief valve exists in the system, and the on-off state of the manual pressure relief valve also influences the judgment of whether the pipeline is closed. Therefore, in order to improve scalability and versatility, it is necessary to check the closed state of each pipe, and the initial default device is in the closed path starting from the pipe.
The step S3 specifically includes the following steps, as shown in fig. 3:
And S3.1, taking out the queue head node as a current check node.
And S3.2, searching the reachable node of the current check node.
And S3.3, judging the detected reachable node, and judging whether the reachable node is a pressure-releasing device, if so, setting all devices in the current search interval to be not in a closed path, and then executing the next step, otherwise, directly executing the next step.
And S3.4, judging whether the reachable node is isolated from other search intervals, wherein the situation that the reachable node is isolated from other search intervals comprises the condition that a valve is in a closed state, a volumetric pump is in a closed state or a blind plate is arranged on the valve, if yes, directly returning to the step S3.1 to continue searching until the diffusion searching cannot be continued by taking the current check node as a starting point, otherwise, adding the reachable node into a queue, and then returning to the step S3.1 to continue searching until the diffusion searching cannot be continued by taking the current check node as the starting point.
In this step S3.4, returning to step S3.1 to continue searching is specifically divided into two cases:
1) If the nodes in the queue with the current search interval are not searched, continuing to search the current interval;
2) If the nodes in the queue are empty, searching for another searching interval.
Because the number of devices in the oil refinery area is large, the preferred embodiment is that the search result is stored by adopting a data structure of a jump table, compared with a normal List, the method has higher execution efficiency when processing more data, and the nodes to be accessed are stored by using the data structure of the queue.
In step S3, after the closed path is retrieved, that is, after the device in the closed path is retrieved, a visual alert and/or an audible and visual alert is provided through the DCS system, where the visual alert is to pop up an alert on the operation station, and an operator can view the closed path in the flowchart, and the closed path is generally displayed in red, so that the operator can take measures in time.
In the following, we will describe in detail the principle of the present invention for searching for a closed path in a simple case, as shown in fig. 4, the valves V3 and V5 are set to be opened, the pump P1 is set to be opened, and the other valves (i.e., V1, V2, V4) are set to be closed. A certain pipeline is randomly taken as a starting point. Assuming that the pipeline PI1 is taken as a starting point, the accessible node of the pipeline PI1 is the blind plate B1 and the valve V2 in the closed state, which are not communicated with other devices, and the pipeline PI1 is the closed pipeline. And then a non-accessed pipeline PI2 is randomly fetched, the accessible node of the pipeline PI2 is a valve V1 in a closed state (the valve V2 is accessed and no logic judgment is performed), the valve is not communicated with other equipment, and the pipeline PI2 is a closed pipeline. And then randomly taking an unviewed pipeline PI3, wherein reachable nodes of the pipeline PI3 are a pipeline PI6 and a pipeline PI7, putting the pipeline PI6 and the pipeline PI7 into a queue, taking out a valve V3 with the reachable nodes of the head node PI6 and the pipeline PI6 in the queue in an open state, putting the valve V3 into the queue, taking out the head node PI7 in the queue, taking out the valve V4 with the reachable nodes of the PI7 in a closed state, failing to continue the extended search, not putting into the queue, taking out the reachable nodes of the head nodes V3 and V3 in the queue as PI5, putting the PI5 into the queue, taking out the head node PI5, taking out reachable devices of the head node PI5 as a tank T1, and decompressing the tank, so that all the pipelines PI3, PI5, PI6 and PI7 in the current search interval are in an unsealed state. And then randomly taking a pump P1 with the accessible node of the inaccessible pipeline PI8 and PI8 in an open state, putting P1 into a queue, taking out the accessible node of the current queue head node P1 and P1 as PI9, putting PI9 into the queue, taking out the valve V5 with the accessible node of the current queue head node PI9 and PI9 in an open state, putting V5 into the queue, taking out the accessible node of the current queue head node V5 and V5 as PI10, putting PI10 into the queue, taking out the accessible device of the current queue head node PI10 and PI10 as a tank T2, and releasing pressure by the tank, so that the pipelines PI8, PI9 and PI10 in the current search interval are in an unsealed state.
In the prior art, the monitoring operator is only used for checking the closed state of equipment in an industrial factory by manpower, and the automatic monitoring of the invention not only saves the manpower consumption cost and reduces the manual participation degree in the production process, but also can avoid uncertain factors caused by manual control. The automatic inspection mode can also prompt a monitoring operator to perform pressure relief action on the closed pipe network in time, so that safety accidents are reduced, and the management level of production is improved.
The foregoing has described only the basic principles and preferred embodiments of the present invention, and many variations and modifications will be apparent to those skilled in the art in light of the above description, which variations and modifications are intended to be included within the scope of the present invention.

Claims (8)

1.一种管网区间内封闭路径的自动监测方法,其特征在于,包括步骤:1. A method for automatically monitoring a closed path within a pipe network section, characterized in that it comprises the following steps: 步骤S0:设整个管网区间包括n个子管网区间,每个子管网区间对应一张流程图,其中,n≥1;Step S0: Assume that the entire pipe network section includes n sub-pipe network sections, and each sub-pipe network section corresponds to a flow chart, where n≥1; 步骤S1、解析获取管网区间内所有设备的基础属性,并将解析得到的设备的基础属性依次存储为单个图节点;Step S1, parse and obtain the basic attributes of all devices in the pipe network section, and store the basic attributes of the devices obtained by parsing as a single graph node in sequence; 步骤S2、基于解析得到的所有设备的基础属性,构建双向连接搜索图,并读取设备的位号值;Step S2: Based on the basic attributes of all devices obtained through analysis, a two-way connection search graph is constructed, and the bit number value of the device is read; 步骤S3、采用广度优先搜索方法搜索处于封闭路径的设备,从任一根未检查的管道作为起点进行搜索,直到以当前检查节点为起点无法继续扩散搜索为止;Step S3, using a breadth-first search method to search for devices in a closed path, starting from any unchecked pipe, until the search cannot be continued with the current check node as the starting point; 针对n张流程图,采用n个线程并行执行步骤S1和步骤S2。For n flowcharts, n threads are used to execute step S1 and step S2 in parallel. 2.根据权利要求1所述的管网区间内封闭路径的自动监测方法,其特征在于,步骤S1中,设备至少包括罐、泵、阀门、管道、流量计、输送装置、盲板、封头;每个设备共有的基础属性包括设备编码、设备类型、设备之间的连接关系。2. The automatic monitoring method for closed paths within a pipe network section according to claim 1 is characterized in that, in step S1, the equipment includes at least a tank, a pump, a valve, a pipeline, a flow meter, a conveying device, a blind plate, and a head; the basic attributes shared by each device include device code, device type, and connection relationship between devices. 3.根据权利要求1所述的管网区间内封闭路径的自动监测方法,其特征在于,步骤S2中,读取设备位号值的过程中,除了PID调节阀和离心泵的位号值之外,其他设备的位号值均需读取。3. The automatic monitoring method for closed paths within a pipe network section according to claim 1 is characterized in that, in step S2, in the process of reading the device position value, in addition to the position value of the PID control valve and the centrifugal pump, the position value of other equipment must be read. 4.根据权利要求1或3所述的管网区间内封闭路径的自动监测方法,其特征在于,步骤S2中,一次性读取所需设备的位号值,并将读取的位号值存储。4. The automatic monitoring method for closed paths within a pipe network section according to claim 1 or 3 is characterized in that, in step S2, the bit number value of the required equipment is read once and the read bit number value is stored. 5.根据权利要求1所述的管网区间内封闭路径的自动监测方法,其特征在于,步骤S3中,当检索到封闭路径后,通过DCS系统提供可视化提醒和/或声光报警。5. The automatic monitoring method for closed paths within a pipe network section according to claim 1 is characterized in that, in step S3, after the closed path is retrieved, a visual reminder and/or an audible and visual alarm is provided through the DCS system. 6.根据权利要求1所述的管网区间内封闭路径的自动监测方法,其特征在于,步骤S3中具体包括如下:6. The method for automatically monitoring a closed path in a pipe network section according to claim 1, characterized in that step S3 specifically comprises the following: 步骤S3.1、取出队列头节点作为当前检查节点;Step S3.1, take out the queue head node as the current check node; 步骤S3.2、查找当前检查节点的可达节点;Step S3.2, find the reachable nodes of the current check node; 步骤S3.3、对检查到的可达节点进行判断,判断可达节点是否为可泄压设备:若是,则置当前搜索区间内所有设备未处于封闭路径,然后执行下一步;否则,直接执行下一步;Step S3.3, judging whether the reachable node is a pressure relief device: if so, setting all devices in the current search interval not to be in a closed path, and then executing the next step; otherwise, directly executing the next step; 步骤S3.4、判断可达节点与其它搜索区间是否隔离,其中,可达节点与其它搜索区间处于隔离的情况包括阀门处于关闭状态、容积泵处于关闭状态或阀门打上盲板:若是,则直接返回步骤S3.1继续搜索,直到以当前检查节点为起点无法继续扩散搜索为止;否则,则将可达节点加入到队列中,然后再返回步骤S3.1继续搜索,直到以当前检查节点为起点无法继续扩散搜索为止。Step S3.4, determine whether the reachable node is isolated from other search intervals, where the situation where the reachable node is isolated from other search intervals includes that the valve is in a closed state, the volume pump is in a closed state, or the valve is blinded: if so, directly return to step S3.1 to continue searching until the search can no longer be diffused starting from the current check node; otherwise, add the reachable node to the queue, and then return to step S3.1 to continue searching until the search can no longer be diffused starting from the current check node. 7.根据权利要求6所述的管网区间内封闭路径的自动监测方法,其特征在于,搜索结果采用跳表的数据结构存储;待访问的节点使用队列的数据结构进行存储。7. The automatic monitoring method for closed paths within a pipe network section according to claim 6 is characterized in that the search results are stored using a skip list data structure; and the nodes to be accessed are stored using a queue data structure. 8.根据权利要求6所述的管网区间内封闭路径的自动监测方法,其特征在于,步骤S3.4中,返回步骤S3.1继续搜索具体分为两种情况:8. The method for automatically monitoring a closed path in a pipe network section according to claim 6 is characterized in that in step S3.4, returning to step S3.1 to continue searching is specifically divided into two situations: 1)若队列中还有当前搜索区间的节点未搜索完毕,则继续搜索当前区间;1) If there are still nodes in the current search interval in the queue that have not been searched, continue searching the current interval; 2)若队列中的节点为空,则换一个搜索区间搜索。2) If the node in the queue is empty, change the search interval to search.
CN202210758752.9A 2022-06-30 2022-06-30 A method for automatically monitoring closed paths within a pipe network section Active CN115289403B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210758752.9A CN115289403B (en) 2022-06-30 2022-06-30 A method for automatically monitoring closed paths within a pipe network section

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210758752.9A CN115289403B (en) 2022-06-30 2022-06-30 A method for automatically monitoring closed paths within a pipe network section

Publications (2)

Publication Number Publication Date
CN115289403A CN115289403A (en) 2022-11-04
CN115289403B true CN115289403B (en) 2025-01-07

Family

ID=83822606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210758752.9A Active CN115289403B (en) 2022-06-30 2022-06-30 A method for automatically monitoring closed paths within a pipe network section

Country Status (1)

Country Link
CN (1) CN115289403B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113483270A (en) * 2021-07-09 2021-10-08 中国人民解放军63796部队 Low-temperature liquid pipe network closed cavity online detection method
CN114565120A (en) * 2021-12-14 2022-05-31 浙江中控技术股份有限公司 Path calculation method for oil product movement control system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102072404A (en) * 2009-11-23 2011-05-25 中国科学院生态环境研究中心 Optimizing layout method for leakage monitoring points of urban water supply pipe network
CN103929782B (en) * 2014-04-28 2017-06-06 西北工业大学 A kind of resources balance multi-path route method suitable for industrial wireless sensor network
CN110704434B (en) * 2019-09-24 2022-09-13 北京百度网讯科技有限公司 Method and device for inquiring shortest path of map, electronic equipment and storage medium
CN112283595B (en) * 2020-11-13 2022-07-05 中煤航测遥感集团有限公司 Pipeline oil spilling path analysis method and device, computer equipment and storage medium
CN215893679U (en) * 2021-04-06 2022-02-22 天津城建大学 A multi-angle automatic inspection detector
CN113255090B (en) * 2021-06-23 2022-09-13 西南石油大学 Method for determining oil product search path in crude oil pipe network based on graph theory
CN113418146B (en) * 2021-08-03 2024-08-13 上海航天动力科技工程有限公司 Leakage auxiliary positioning control method for water supply network
CN113944887B (en) * 2021-10-25 2024-03-19 中国电建集团中南勘测设计研究院有限公司 Pipe network monitoring and tracing method, system, equipment and medium based on directed graph traversal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113483270A (en) * 2021-07-09 2021-10-08 中国人民解放军63796部队 Low-temperature liquid pipe network closed cavity online detection method
CN114565120A (en) * 2021-12-14 2022-05-31 浙江中控技术股份有限公司 Path calculation method for oil product movement control system

Also Published As

Publication number Publication date
CN115289403A (en) 2022-11-04

Similar Documents

Publication Publication Date Title
US7062358B2 (en) System apparatus and method for diagnosing a flow system
Single et al. Ontology-based computer aid for the automation of HAZOP studies
Inghilleri et al. An effective double sampling scheme for the c control chart
CN107291063A (en) Diagnostic device and diagnostic method for the operation of monitoring technology facility
US20230075005A1 (en) Intelligent asset anomaly prediction via feature generation
CN115289403B (en) A method for automatically monitoring closed paths within a pipe network section
Navarro et al. Inactivity times of coherent systems with dependent components under periodical inspections
US20240185738A1 (en) Gas safety management methods and internet of things systems for gas safety training
BR112021009735A2 (en) SYSTEM AND METHOD FOR AUTONOMOUS OPERATION OF PIPELINE SYSTEMS AND MIDSTREAM INSTALLATIONS
Kavasidis et al. Analytics and blockchain for data integrity in the pharmaceuticals industry
Selvik et al. An extended methodology for risk based inspection planning
Squillante Jr et al. A framework for synthesis of safety-related control design to avoid critical faults and pathogenic accidents in the process industries
Murino et al. Maintenance policies and buffer sizing: an optimization model
KR102458214B1 (en) Pipe damage diagnosing apparatus and method
Røyksund et al. When is a risk assessment deficient according to an uncertainty‐based risk perspective?
Dowell III Is it really an independent protection layer?
Ohman Discrete sensor validation with multilevel flow models
Yang et al. Fds-ml: A new modeling formalism for probabilistic risk and safety analyses
Fuchs et al. Some Risk Assessment Methods and Examples of their Application
Vásquez-Capacho et al. An additional layer of protection through superalarms with diagnosis capability
Finkelstein et al. Balancing load and performance for different failure models
Song et al. Major Hazards Modeling of Pressurized Special Equipment in Chemical Industry Parks Based on FCBPSS Method
Silva Módulo de Manutenção Preditiva para o Sistrade ERP
Chowdhury et al. A Cloud–Based Smart Engineering and Predictive Computation System for Pipeline Design and Operation Cost Reduction
Voroshilov et al. Intellectual Analysis of Data on Defective Vehicle Units Using Association Rules

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
CB02 Change of applicant information
CB02 Change of applicant information

Country or region after: China

Address after: No. 309 Liuhe Road, Binjiang District, Hangzhou City, Zhejiang Province (High tech Zone)

Applicant after: Zhongkong Technology Co.,Ltd.

Address before: No. six, No. 309, Binjiang District Road, Hangzhou, Zhejiang

Applicant before: ZHEJIANG SUPCON TECHNOLOGY Co.,Ltd.

Country or region before: China

GR01 Patent grant
GR01 Patent grant