CN117408006B - Rush repair scheme generation method, device, equipment and medium based on urban fuel pipe network - Google Patents

Rush repair scheme generation method, device, equipment and medium based on urban fuel pipe network Download PDF

Info

Publication number
CN117408006B
CN117408006B CN202311715289.0A CN202311715289A CN117408006B CN 117408006 B CN117408006 B CN 117408006B CN 202311715289 A CN202311715289 A CN 202311715289A CN 117408006 B CN117408006 B CN 117408006B
Authority
CN
China
Prior art keywords
pipeline
damaged area
pressure value
preset
emergency
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
CN202311715289.0A
Other languages
Chinese (zh)
Other versions
CN117408006A (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.)
Shanghai Three Zero Four Zero Technology Co ltd
Original Assignee
Shanghai Three Zero Four Zero 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 Shanghai Three Zero Four Zero Technology Co ltd filed Critical Shanghai Three Zero Four Zero Technology Co ltd
Priority to CN202311715289.0A priority Critical patent/CN117408006B/en
Publication of CN117408006A publication Critical patent/CN117408006A/en
Application granted granted Critical
Publication of CN117408006B publication Critical patent/CN117408006B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/14Force analysis or force optimisation, e.g. static or dynamic forces

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Mathematical Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • Pure & Applied Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a rush-repair scheme generation method, device, equipment and medium based on an urban fuel pipe network, relates to the field of urban fuel pipe network data information, and comprises the following steps: constructing an undirected topology graph corresponding to the urban fuel pipe network based on the point table data and the line table data, and determining a damaged area of the pipeline and a target valve corresponding to the damaged area of the pipeline based on the undirected topology graph so as to generate a first emergency scheme according to the damaged area of the pipeline and the target valve; determining the pipe storage time corresponding to the damaged area of the pipeline based on transient simulation so as to generate a second emergency scheme according to the damaged area of the pipeline and the pipe storage time; determining a lowest operating pressure value of a damaged area of the pipeline through steady-state simulation, and generating a third emergency scheme according to the lowest operating pressure value; and generating a target emergency repair scheme based on the first emergency scheme, the second emergency scheme and the third emergency scheme. Therefore, a corresponding rush-repair scheme can be directly generated based on the damaged area of the urban fuel pipe network, and the rush-repair efficiency is effectively improved.

Description

Rush repair scheme generation method, device, equipment and medium based on urban fuel pipe network
Technical Field
The invention relates to the technical field of urban fuel pipe network data information, in particular to a method, a device, equipment and a medium for generating an emergency repair scheme based on an urban fuel pipe network.
Background
The urban gas pipe network, the pipeline and the auxiliary facilities have strong concealment and high safety, and meanwhile, the pipe network terminal is connected with tens of thousands of nodes such as gas sources, users, voltage regulating stations, valve wells, plugs, ball valves and the like, so that the urban gas pipe network is huge and complex. However, urban fuel pipe networks may cause explosion leakage of pipes due to ageing and corrosion of the pipes, design and construction defects, improper maintenance, human factors and the like, thereby causing great damage. However, in the prior art, for the rush repair of the urban fuel pipe network, manual mode is mostly adopted, professional staff guides to stop fuel gas supply, and then professional maintenance staff performs emergency maintenance of the fuel gas pipeline under safety control, temporary measures such as temporary plugging, repairing leakage and the like are adopted to ensure the stability of the pipeline, but the mode may cause insufficient precision degree of the rush repair and even occurrence of the condition of rush repair lag.
Disclosure of Invention
In view of the above, the invention aims to provide a method, a device, equipment and a medium for generating a rush-repair scheme based on an urban fuel pipe network, which can directly generate a corresponding rush-repair scheme based on a damaged area of the urban fuel pipe network, thereby effectively improving the rush-repair efficiency. The specific scheme is as follows:
In a first aspect, the application discloses a method for generating an emergency repair scheme based on an urban fuel pipe network, which is applied to an urban fuel pipe network system and comprises the following steps:
constructing an undirected topology graph corresponding to an urban fuel gas pipe network based on point table data and line table data, and determining a pipeline damaged area and a target valve corresponding to the pipeline damaged area based on the undirected topology graph so as to generate a first emergency scheme according to the pipeline damaged area and the target valve;
determining pipe storage time corresponding to the damaged area of the pipeline based on transient simulation so as to generate a second emergency scheme according to the damaged area of the pipeline and the pipe storage time;
determining a lowest operating pressure value of the damaged area of the pipeline through steady-state simulation, and generating a third emergency scheme according to the lowest operating pressure value;
and generating a target emergency repair scheme based on the first emergency scheme, the second emergency scheme and the third emergency scheme.
Optionally, the constructing an undirected topology map corresponding to the urban fuel pipe network based on the point table data and the line table data, and determining a damaged area of the pipeline and a target valve corresponding to the damaged area of the pipeline based on the undirected topology map, so as to generate a first emergency scheme according to the damaged area of the pipeline and the target valve, includes:
Reading point table data and line table data to construct an undirected topology graph based on the point table data and the line table data;
dividing the undirected topological graph through a topological dividing algorithm, and traversing the obtained divided undirected topological graph to determine a damaged area of the pipeline and a target valve corresponding to the damaged area of the pipeline;
a first emergency plan for closing the target valve is generated based on the damaged area of the conduit and the target valve.
Optionally, traversing the obtained segmented undirected topology graph to determine a damaged area of the pipeline and a target valve corresponding to the damaged area of the pipeline, including:
traversing the segmented undirected topological graph to determine whether a borderless pipeline area exists in the undirected topological graph, if so, eliminating the borderless pipeline area in the undirected topological graph to obtain a pipeline damaged area, and determining a target valve corresponding to the pipeline damaged area.
Optionally, the determining, based on transient simulation, a pipe lifetime corresponding to the damaged area of the pipe, so as to generate a second emergency scheme according to the damaged area of the pipe and the pipe lifetime, includes:
Determining the damaged moment of the urban fuel pipe network, and reading pressure data and flow data of a preset time threshold before the damaged moment from a database corresponding to the urban fuel pipe network;
determining a target topological graph corresponding to the damaged area of the pipeline from the undirected topological graph, and pushing the target topological graph to a preset transient solver;
performing iterative computation based on the target topological graph, the pressure data and the flow data through the preset transient solver to obtain the pipe storage time corresponding to the damaged area of the pipeline; the pipe storage time is the time required for representing the natural gas exhaustion in the urban fuel pipe network;
and determining an air supplementing time node based on the pipe storage time, and generating a second emergency scheme for representing starting to execute air supplementing based on the air supplementing time node.
Optionally, the performing, by the preset transient solver, iterative computation based on the target topological graph, the pressure data and the flow data to obtain a pipe storage time corresponding to the damaged area of the pipe includes:
assigning the pressure data and the flow data to boundary points of the target topological graph to obtain an assigned topological graph;
Pushing preset gas quantity assignment data to a preset transient solver, and performing iterative calculation through the preset transient solver based on the preset gas quantity assignment data and the assignment topological graph to obtain pipe storage time corresponding to the damaged area of the pipeline.
Optionally, the determining, by steady-state simulation, a minimum operating pressure value of the damaged area of the pipeline, and generating a third emergency scheme according to the minimum operating pressure value includes:
pushing a preset initial pressure value and the assignment topological graph to a preset steady state solver, and performing iterative computation based on the preset initial pressure value and the assignment topological graph through the preset steady state solver to obtain a pressure value to be determined;
judging whether the pressure value to be determined is larger than a preset pressure judgment value or not;
if not, the preset initial pressure value is increased based on a preset pressure increasing threshold value, and the step of pushing the preset initial pressure value and the assignment topological graph to a preset steady state solver is skipped, so that iterative calculation is performed by the preset steady state solver based on the preset initial pressure value and the assignment topological graph, and a pressure value to be determined is obtained;
If yes, the pressure value to be determined is determined to be the lowest operating pressure value, and a third emergency scheme for representing maintaining the lowest operating pressure value is generated based on the lowest operating pressure value.
Optionally, the method for generating the emergency repair scheme based on the urban fuel pipe network further includes:
pushing the target first-aid repair scheme to the front end of the urban fuel pipe network system so as to visually display the target first-aid repair scheme.
In a second aspect, the application discloses a rush-repair scheme generating apparatus based on urban fuel pipe network, is applied to urban fuel pipe network system, includes:
the system comprises a first emergency scheme generation module, a first emergency scheme generation module and a second emergency scheme generation module, wherein the first emergency scheme generation module is used for constructing an undirected topological graph corresponding to an urban fuel pipe network based on point table data and line table data, determining a pipeline damaged area and a target valve corresponding to the pipeline damaged area based on the undirected topological graph, and generating a first emergency scheme according to the pipeline damaged area and the target valve;
the second emergency scheme generation module is used for determining the pipe storage time corresponding to the damaged area of the pipeline based on transient simulation so as to generate a second emergency scheme according to the damaged area of the pipeline and the pipe storage time;
the third emergency scheme generation module is used for determining the lowest operating pressure value of the damaged area of the pipeline through steady-state simulation and generating a third emergency scheme according to the lowest operating pressure value;
And the emergency scheme integration module is used for generating a target emergency repair scheme based on the first emergency scheme, the second emergency scheme and the third emergency scheme.
In a third aspect, the present application discloses an electronic device comprising:
a memory for storing a computer program;
and the processor is used for executing the computer program to realize the urban fuel pipe network-based rush-repair scheme generation method.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program which, when executed by a processor, implements a method for generating a repair plan based on a city fire pipe network as described above.
According to the method, firstly, an undirected topological graph corresponding to an urban fuel pipe network is constructed based on point table data and line table data, a pipeline damaged area and a target valve corresponding to the pipeline damaged area are determined based on the undirected topological graph, a first emergency scheme is generated according to the pipeline damaged area and the target valve, then a pipe storage time corresponding to the pipeline damaged area is determined based on transient simulation, a second emergency scheme is generated according to the pipeline damaged area and the pipe storage time, a lowest operating pressure value of the pipeline damaged area is determined through steady-state simulation, a third emergency scheme is generated according to the lowest operating pressure value, and finally a target emergency repair scheme is generated based on the first emergency scheme, the second emergency scheme and the third emergency scheme. Therefore, according to the method, an undirected topology map of the urban fuel pipe network is required to be constructed based on the point table data and the line table data, so that a damaged area of the urban fuel pipe network and a valve corresponding to the damaged area are determined based on the undirected topology map, and a first emergency scheme for closing the valve is generated based on the damaged area of the pipeline and the valve corresponding to the damaged area; further, a tube lifetime of the damaged area may be determined to initiate a second emergency regimen of air replenishment based on the tube lifetime characterization; further, a minimum operating pressure value for the damaged area of the pipe may be determined and a third emergency plan may be generated based on the minimum operating pressure value to characterize maintenance of the minimum operating pressure value. And the generated three emergency schemes can be integrated to generate a target emergency repair scheme, so that the corresponding emergency repair scheme can be generated only by knowing the mark or the position of the explosion pipe or the leakage pipe, and the emergency repair efficiency after the explosion or the leakage of the gas pipe is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for generating an emergency repair scheme based on an urban fuel pipe network;
FIG. 2 is a flowchart of a specific method for generating an urban fuel pipe network-based emergency repair scheme disclosed in the present application;
FIG. 3 is an undirected topology of the urban fuel pipe network disclosed in the present application;
FIG. 4 is a schematic diagram of a topology segmentation disclosed herein;
FIG. 5 is a schematic illustration of a damaged area after a valve is closed, as disclosed herein;
FIG. 6 is a flowchart of another specific urban fuel pipe network-based emergency repair scheme generation method disclosed in the present application;
FIG. 7 is a flowchart of another specific method for generating an urban fuel pipe network-based emergency repair scheme disclosed in the present application;
FIG. 8 is a schematic structural diagram of a device for generating an emergency repair scheme based on an urban fuel pipe network;
Fig. 9 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the prior art, for the rush repair of urban fuel pipe network, mostly, manual mode is adopted, gas supply is stopped through professional guidance, then professional maintenance personnel carry out the emergency maintenance of gas pipeline under safety control, temporary measures such as temporary plugging, repairing leakage and the like can be adopted to ensure pipeline stability, but this mode may lead to insufficient accuracy degree of rush repair or occurrence of the condition of rush repair lag.
In order to overcome the technical problems, the application discloses a method, a device, equipment and a medium for generating a rush-repair scheme based on an urban fuel pipe network, which can directly generate a corresponding rush-repair scheme based on a damaged area of the urban fuel pipe network, and effectively improve the rush-repair efficiency.
Referring to fig. 1, the embodiment of the invention discloses a method for generating a rush-repair scheme based on an urban fuel pipe network, which is applied to an urban fuel pipe network system and comprises the following steps:
and S11, constructing an undirected topology map corresponding to the urban fuel pipe network based on the point table data and the line table data, and determining a damaged area of the pipeline and a target valve corresponding to the damaged area of the pipeline based on the undirected topology map so as to generate a first emergency scheme according to the damaged area of the pipeline and the target valve.
In this embodiment, the source of the network topology data is various, including but not limited to: an analyzer (chromatograph, etc.), a flowmeter (turbine, ultrasonic wave, millimeter wave), a bromine adding meter, a sensor, equipment (pressure maintaining, pressure remote transmission, gas internet of things), etc., and is generally composed of a point table and a line table, wherein the point table represents various types of nodes in the topology, including attributes of nodes ID (Identity document), position names, types, coordinates, materials, etc., and the line table represents a pipeline connecting the nodes, including attributes of pipeline ID, pipe length, pipe diameter, wall thickness, coordinates, inflow end points, outflow end points, etc. All attributes of the point table and the line table should have integrity while their ID identification and spatial coordinate location are unique. Therefore, an undirected topology map corresponding to the urban fuel pipe network can be constructed according to preset point table data and line table data, further, after the undirected topology map is constructed, the undirected topology map can be segmented, the segmented undirected topology map is traversed, further, a damaged area of a pipeline and a valve corresponding to the damaged area of the pipeline are determined, and further, a first emergency scheme for closing the target valve is generated according to the damaged area of the pipeline and the corresponding valve.
And step S12, determining the pipe storage time corresponding to the damaged area of the pipeline based on transient simulation so as to generate a second emergency scheme according to the damaged area of the pipeline and the pipe storage time.
In this embodiment, the time when the pipeline is damaged may be determined, and the pressure data and the flow data of the preset time threshold before the damaged time are read from the database corresponding to the urban fuel pipe network, and it should be noted that the preset time threshold may be set by itself according to the user requirement, which is not limited in this embodiment. Further, a topological graph corresponding to the damaged area of the pipeline can be determined from the undirected topological graph, the topological graph corresponding to the damaged area of the pipeline is pushed to a preset transient solver, so that iterative computation is performed on the basis of pressure data and flow data of the topological graph corresponding to the damaged area of the pipeline by the transient solver, the time required by natural gas exhaustion in the urban fuel pipe network, namely the pipe storage time, is obtained, and further, a gas supplementing time node is determined according to the pipe storage time, so that a second emergency scheme for representing starting to execute gas supplementing is generated according to the gas supplementing time node.
And step S13, determining the lowest operating pressure value of the damaged area of the pipeline through steady-state simulation, and generating a third emergency scheme according to the lowest operating pressure value.
In this embodiment, in order to ensure that the fuel gas in the urban fuel pipe network is not exhausted, a corresponding air supplementing strategy is required to be formulated, specifically, the undirected topology graph may be assigned, a preset initial pressure value and the obtained assigned topology graph are pushed to a preset steady state solver, so as to obtain a pressure value to be determined through iterative computation of the preset steady state solver, and whether the pressure value to be determined is greater than a preset pressure judgment value, that is, a user actually uses a value, and the pressure value to be determined is required to be regulated according to a corresponding judgment result, if not, the pressure value to be determined is required to be increased according to a preset pressure lifting threshold until the pressure value to be determined is greater than a preset pressure judgment value, if the pressure value to be determined is greater than the preset pressure judgment value, the pressure value to be determined is directly determined as a lowest operating pressure value, and a third emergency scheme for characterizing and maintaining the lowest operating pressure value is generated based on the lowest operating pressure value. It should be noted that, the preset steady state solver in the present application is a solver for performing steady state simulation by a newton iteration method.
And step S14, generating a target emergency repair scheme based on the first emergency scheme, the second emergency scheme and the third emergency scheme.
In this embodiment, the first emergency scheme, the second emergency scheme and the third emergency scheme need to be integrated to generate the target emergency repair scheme, and it needs to be explained that the method for generating the emergency repair scheme based on the urban fuel pipe network further includes: pushing the target first-aid repair scheme to the front end of the urban fuel pipe network system so as to visually display the target first-aid repair scheme. That is, after the scheme is generated, the scheme can be directly pushed to the front end for visual display, so that relevant technicians can directly carry out rush repair according to the scheme. Therefore, the processing speed of the urban fuel network can be effectively improved, and the air supply of the user is ensured to be unaffected to the greatest extent.
It can be seen that, in this embodiment, firstly, an undirected topology map corresponding to an urban fuel pipe network is constructed based on point table data and line table data, a damaged area of a pipeline and a target valve corresponding to the damaged area of the pipeline are determined based on the undirected topology map, so as to generate a first emergency scheme according to the damaged area of the pipeline and the target valve, then, a pipe life corresponding to the damaged area of the pipeline is determined based on transient simulation, so as to generate a second emergency scheme according to the damaged area of the pipeline and the pipe life, and a lowest operation pressure value of the damaged area of the pipeline is determined through steady simulation, and a third emergency scheme is generated according to the lowest operation pressure value, and finally, a target emergency repair scheme is generated based on the first emergency scheme, the second emergency scheme and the third emergency scheme. Therefore, according to the method, an undirected topology map of the urban fuel pipe network is required to be constructed based on the point table data and the line table data, so that a damaged area of the urban fuel pipe network and a valve corresponding to the damaged area are determined based on the undirected topology map, and a first emergency scheme for closing the valve is generated based on the damaged area of the pipeline and the valve corresponding to the damaged area; further, a tube lifetime of the damaged area may be determined to initiate a second emergency regimen of air replenishment based on the tube lifetime characterization; further, a minimum operating pressure value for the damaged area of the pipe may be determined and a third emergency plan may be generated based on the minimum operating pressure value to characterize maintenance of the minimum operating pressure value. And the generated three emergency schemes can be integrated to generate a target emergency repair scheme, so that the corresponding emergency repair scheme can be generated only by knowing the mark or the position of the explosion pipe or the leakage pipe, and the emergency repair efficiency after the explosion or the leakage of the gas pipe is effectively improved.
Based on the foregoing embodiments, in the present application, it is necessary to generate a first emergency solution for closing a target valve based on a damaged area of a pipeline and the target valve, for which this embodiment describes in detail how to generate the first emergency repair solution, as shown in fig. 2, the embodiment of the present invention discloses a method for generating a first emergency repair solution based on an urban fuel pipe network, including:
and S21, reading point table data and line table data to construct an undirected topology graph based on the point table data and the line table data.
And S22, segmenting the undirected topological graph through a topological segmentation algorithm, and traversing the obtained segmented undirected topological graph to determine a damaged area of the pipeline and a target valve corresponding to the damaged area of the pipeline.
In this embodiment, the constructed undirected topology graph needs to be segmented by a topology segmentation algorithm, so as to determine a damaged area of a pipeline and a target valve corresponding to the damaged area of the pipeline, and the specific process is as follows: traversing the segmented undirected topological graph to determine whether a borderless pipeline area exists in the undirected topological graph, if so, eliminating the borderless pipeline area in the undirected topological graph to obtain a pipeline damaged area, and determining a target valve corresponding to the pipeline damaged area. That is, as shown in fig. 3, the undirected topology constructed according to the data of the point table and the data of the line table needs to be used as a dividing point, the topology is divided by using a topology dividing algorithm to obtain a plurality of isolated subgraphs, wherein the subgraphs are shown in fig. 4, the valves on the boundary in each isolated subgraph are the valves for blocking the affected area, the valves of the affected area are used as the judging basis of the boundary, when the valves of the affected area are closed, if the valves of the affected area are connected with the valves of the affected area, but the nodes not affected by the damaged pipeline are used as the undirected pipeline area, and the undirected pipeline area is deleted from the undirected topology, so that all the affected areas in the undirected topology, namely, the damaged pipeline area, are obtained. For example, as shown in the lower half of fig. 3, where the damaged pipeline is the pipeline connected between the node 5 and the node 3, the corresponding target valves are the valve 6, the valve 2 and the valve 7, and after the valves are closed, the damaged pipeline area shown in fig. 5 can be obtained, where the node user 8, the air source 1 and the user 9 may be connected with other pipelines or nodes, and are not affected by the damage of the connecting pipeline between the node 5 and the node 3. In order to obtain all affected areas in the undirected topological graph, traversing the undirected topological graph after segmentation, determining a corresponding pipeline damaged area by taking whether a boundary exists as a standard, if the traversed sub-graph exists, determining the area corresponding to the sub-graph as the pipeline damaged area, determining the valve corresponding to the sub-graph until all the sub-graphs are traversed, and determining all the affected areas and target valves corresponding to the affected areas.
Step S23, generating a first emergency plan for closing the target valve based on the damaged area of the pipe and the target valve.
In this embodiment, after determining all the damaged areas of the pipeline and the target valves corresponding to the damaged areas of the pipeline, all the valves may be closed based on the above areas and the valves to reduce the first emergency plan of the affected area, so that the urban fuel pipe network system closes all the valves involved in the plan by the system itself or notifying related personnel after receiving the first emergency plan to reduce the affected area.
And step S24, determining the pipe storage time corresponding to the damaged area of the pipeline based on transient simulation so as to generate a second emergency scheme according to the damaged area of the pipeline and the pipe storage time.
And S25, determining the lowest operating pressure value of the damaged area of the pipeline through steady-state simulation, and generating a third emergency scheme according to the lowest operating pressure value.
And step S26, generating a target emergency repair scheme based on the first emergency scheme, the second emergency scheme and the third emergency scheme.
It should be noted that, for the more detailed description of step S21, step S24 and step S25, reference may be made to the foregoing embodiments, and no further description is given here.
It can be seen that the undirected topology graph is segmented by a topology segmentation algorithm, and the obtained segmented undirected topology graph is traversed to determine a damaged area of the pipeline and a target valve corresponding to the damaged area of the pipeline, and then a first emergency scheme for closing the target valve is generated based on the damaged area of the pipeline and the target valve. In this way, a scheme for closing the respective valve may be generated at a first time after the respective damaged area is determined by the undirected topology map, so as to close the respective valve at the first time based on the generated scheme, thereby avoiding the diffusion of the affected area.
Based on the foregoing embodiment, it can be known that the pipe storage time corresponding to the damaged area of the pipeline can be determined based on transient simulation to generate the second emergency scheme for characterizing the start of executing the air supplement, so that the embodiment of the invention describes how to generate the two emergency repair schemes in detail, as shown in fig. 6, and the embodiment of the invention discloses a method for generating the emergency repair scheme based on the urban fuel pipe network, which comprises the following steps:
and S31, constructing an undirected topology map corresponding to the urban fuel pipe network based on the point table data and the line table data, and determining a damaged area of the pipeline and a target valve corresponding to the damaged area of the pipeline based on the undirected topology map so as to generate a first emergency scheme according to the damaged area of the pipeline and the target valve.
And S32, determining the damaged moment of the urban fuel pipe network, and reading pressure data and flow data of a preset time threshold before the damaged moment from a database corresponding to the urban fuel pipe network.
In this embodiment, the pressure data and the flow data of the pipeline are required for performing the transient simulation of the fuel gas, so in order to obtain the pressure data and the flow data of the pipeline, the pressure and the flow data of all nodes and the pipeline at the previous time of the pipeline explosion or leakage in the database corresponding to the urban fuel gas pipeline network need to be read, that is, the pressure and the flow data of all nodes and the pipeline at the preset time threshold before the pipeline explosion or leakage in the database corresponding to the urban fuel gas pipeline network need to be described, and the preset time threshold needs to be set according to the requirement, which is not limited in this embodiment.
And step S33, determining a target topological graph corresponding to the damaged area of the pipeline from the undirected topological graph, and pushing the target topological graph to a preset transient solver.
In this embodiment, based on the foregoing embodiment, it may be known that the undirected topology map needs to be segmented to obtain a plurality of sub-graphs, and traversing the sub-graphs to determine the damaged area of the pipeline, where in this embodiment, the sub-graph corresponding to the damaged area of the pipeline may be used as the target topology map, and the target topology map may be pushed to a preset transient solver, so that the transient solver uses the target topology map.
And step S34, performing iterative computation through the preset transient solver based on the target topological graph, the pressure data and the flow data to obtain the pipe storage time corresponding to the damaged area of the pipeline.
In this embodiment, iterative computation is required to be performed by using a preset transient solver based on a target topological graph, pressure data and flow data, so as to obtain a pipe storage time corresponding to a damaged area of a pipeline, and the specific process is as follows: assigning the pressure data and the flow data to boundary points of the target topological graph to obtain an assigned topological graph; pushing preset gas quantity assignment data to a preset transient solver, and performing iterative calculation through the preset transient solver based on the preset gas quantity assignment data and the assignment topological graph to obtain pipe storage time corresponding to the damaged area of the pipeline. That is, the topology map may be assigned by the pressure data and the flow data determined in the foregoing embodiments, the pressure data and the flow data may be assigned to the boundary points of the topology map to obtain an assigned topology map, and then the preset gas amount assignment data may be pushed to a preset transient solver, so that the transient solver performs iterative operation, and further determines the time required for characterizing the exhaustion of the natural gas in the urban fuel pipe network, that is, the pipe storage time corresponding to the damaged area of the pipe. It should be noted that, the preset transient solver in the present application is a solver for performing transient simulation based on the newton iteration method and a time step set by a user based on the user's own needs.
And step S35, determining an air supplementing time node based on the pipe storage time so as to generate a second emergency scheme representing the start of executing air supplementing based on the air supplementing time node.
In this embodiment, in order to avoid the exhaustion of the fuel gas in the urban fuel pipe network, the air needs to be supplemented before the exhaustion of the fuel gas, and since the time required for the exhaustion of the fuel gas, that is, the pipe storage time, has already been determined, a time node, that is, the air supplementing time node, may be set according to the pipe storage time, so as to generate a second emergency scheme for starting the air supplementing before the pipe storage time reaches the air supplementing time node. The air supply strategy used in the present application is an LNG air supply strategy.
And step S36, determining the lowest operating pressure value of the damaged area of the pipeline through steady-state simulation, and generating a third emergency scheme according to the lowest operating pressure value.
And step S37, generating a target emergency repair scheme based on the first emergency scheme, the second emergency scheme and the third emergency scheme.
It should be noted that, for the more detailed description of step S31, step S36 and step S37, reference may be made to the foregoing embodiments, and no further description is given here.
Therefore, in this embodiment, the damaged moment of the urban fuel pipe network can be determined, the pressure data and the flow data of the preset time threshold before the damaged moment are read in the database, then the target topological graph corresponding to the damaged area of the pipeline is determined from the undirected topological graph, the target topological graph is pushed to the preset transient solver, iterative computation is performed by the preset transient solver based on the target topological graph, the pressure data and the flow data, so as to obtain the pipe storage time corresponding to the damaged area of the pipeline, finally the air supplementing time node is determined based on the pipe storage time, and a second emergency scheme for representing to start executing air supplementing is generated based on the air supplementing time node. Therefore, the air supplementing can be ensured before the fuel gas is exhausted, and the use experience of a user is effectively improved.
Based on the foregoing embodiment, it can be known that the lowest operating pressure value of the damaged area of the pipeline can be determined based on steady-state simulation, and then the air supplementing is performed based on the lowest operating pressure value, and then the third emergency repair scheme is generated based on the lowest operating pressure value.
And S41, constructing an undirected topology map corresponding to the urban fuel pipe network based on the point table data and the line table data, and determining a damaged area of the pipeline and a target valve corresponding to the damaged area of the pipeline based on the undirected topology map so as to generate a first emergency scheme according to the damaged area of the pipeline and the target valve.
And step S42, determining the pipe storage time corresponding to the damaged area of the pipeline based on transient simulation so as to generate a second emergency scheme according to the damaged area of the pipeline and the pipe storage time.
And step S43, pushing the preset initial pressure value and the assignment topological graph to a preset steady state solver, and performing iterative computation based on the preset initial pressure value and the assignment topological graph through the preset steady state solver to obtain the pressure value to be determined.
In this embodiment, it should be noted that, the gas steady state solution simulation is an engineering simulation method, which is used to simulate the behavior of the gas system under the steady operation condition, unlike the transient simulation, the steady state simulation focuses on the behavior of the system after the system reaches the steady state, which is the long-time operation of the system. Therefore, the steady state solver may be used to determine the minimum operating pressure of the LNG make-up, and in order to determine the minimum operating pressure, the preset initial pressure value and the assignment topology determined in the foregoing embodiment may be pushed to the preset steady state solver, so that the steady state solver performs an iterative operation to generate the pressure value to be determined. The preset initial pressure value is an initial pressure value set by a user in the urban fuel pipe network system, and can be directly obtained from the urban fuel pipe network system after the user finishes setting. It should be further noted that, the iterative operation in the present application refers to a loop operation, and the process of obtaining the pressure value to be determined through specific iteration may refer to step S45.
And S44, judging whether the pressure value to be determined is larger than a preset pressure judgment value.
In this embodiment, since the pressure value generated by the steady state solver also needs to be determined by conditional judgment to determine whether the pressure value can be put into use, it is required to determine whether the pressure value to be determined is greater than a preset pressure judgment value.
And step S45, if not, the preset initial pressure value is increased based on a preset pressure increasing threshold value, and the step is skipped to push the preset initial pressure value and the assignment topological graph to a preset steady state solver so as to perform iterative calculation based on the preset initial pressure value and the assignment topological graph through the preset steady state solver, thereby obtaining the pressure value to be determined.
In this embodiment, if the pressure value to be determined is not greater than the preset pressure judgment value, the step of supplementing air by using the current pressure value to be determined may result in insufficient air supply, so that a new pressure value to be determined needs to be regenerated, specifically, the preset initial pressure value may be increased according to a preset pressure increase threshold, for example, the initial pressure value is increased by 2%, and then the preset initial pressure value and the assignment topology graph are pushed to a preset steady state solver, so that iterative calculation is performed by the preset steady state solver based on the preset initial pressure value and the assignment topology graph, so as to obtain the pressure value to be determined, so that iteration is performed by using the new initial pressure value, and the pressure value to be determined is regenerated until the generated pressure value to be determined is greater than the preset pressure judgment value.
And step S46, if yes, determining the pressure value to be determined as a lowest operating pressure value, and generating a third emergency scheme for representing maintaining the lowest operating pressure value based on the lowest operating pressure value.
In this embodiment, if the generated pressure value to be determined is greater than the preset pressure judgment value, the pressure value to be determined may be directly determined as the lowest operating pressure value, and a third emergency plan for characterizing maintenance of the lowest operating pressure value may be generated based on the lowest operating pressure value.
And step S47, generating a target emergency repair scheme based on the first emergency scheme, the second emergency scheme and the third emergency scheme.
It should be noted that, for the more detailed description of step S41, step S42 and step S47, reference may be made to the foregoing embodiments, and no further description is given here.
Therefore, in this embodiment, the preset initial pressure value and the assignment topology map may be pushed to the preset steady state solver, so that iterative computation is performed by the preset steady state solver based on the preset initial pressure value and the assignment topology map to obtain a pressure value to be determined, then whether the pressure value to be determined is judged, if the pressure value to be determined meets the condition, air supplementing may be performed based on the pressure value to be determined, and if the pressure value to be determined cannot meet the condition, the preset initial pressure value needs to be adjusted to perform a new iteration, and the pressure value to be determined is regenerated until the generated pressure value to be determined meets the condition. Therefore, the air supplementing can be ensured according to the minimum pressure actually required by the user, and the waste of resources is avoided.
Referring to fig. 8, the embodiment of the invention discloses a rush-repair scheme generating device based on an urban fuel pipe network, which is applied to an urban fuel pipe network system and comprises the following components:
a first emergency scheme generating module 11, configured to construct an undirected topology map corresponding to an urban fuel pipe network based on point table data and line table data, and determine a damaged area of a pipeline and a target valve corresponding to the damaged area of the pipeline based on the undirected topology map, so as to generate a first emergency scheme according to the damaged area of the pipeline and the target valve;
a second emergency plan generating module 12, configured to determine a pipe lifetime corresponding to the damaged area of the pipe based on transient simulation, so as to generate a second emergency plan according to the damaged area of the pipe and the pipe lifetime;
a third emergency plan generating module 13, configured to determine a lowest operating pressure value of the damaged area of the pipeline through steady-state simulation, and generate a third emergency plan according to the lowest operating pressure value;
the emergency plan integration module 14 is configured to generate a target emergency repair plan based on the first emergency plan, the second emergency plan, and the third emergency plan.
It can be seen that, in this embodiment, firstly, an undirected topology map corresponding to an urban fuel pipe network is constructed based on point table data and line table data, a damaged area of a pipeline and a target valve corresponding to the damaged area of the pipeline are determined based on the undirected topology map, so as to generate a first emergency scheme according to the damaged area of the pipeline and the target valve, then, a pipe life corresponding to the damaged area of the pipeline is determined based on transient simulation, so as to generate a second emergency scheme according to the damaged area of the pipeline and the pipe life, and a lowest operation pressure value of the damaged area of the pipeline is determined through steady simulation, and a third emergency scheme is generated according to the lowest operation pressure value, and finally, a target emergency repair scheme is generated based on the first emergency scheme, the second emergency scheme and the third emergency scheme. Therefore, according to the method, an undirected topology map of the urban fuel pipe network is required to be constructed based on the point table data and the line table data, so that a damaged area of the urban fuel pipe network and a valve corresponding to the damaged area are determined based on the undirected topology map, and a first emergency scheme for closing the valve is generated based on the damaged area of the pipeline and the valve corresponding to the damaged area; further, a tube lifetime of the damaged area may be determined to initiate a second emergency regimen of air replenishment based on the tube lifetime characterization; further, a minimum operating pressure value for the damaged area of the pipe may be determined and a third emergency plan may be generated based on the minimum operating pressure value to characterize maintenance of the minimum operating pressure value. And the generated three emergency schemes can be integrated to generate a target emergency repair scheme, so that the corresponding emergency repair scheme can be generated only by knowing the mark or the position of the explosion pipe or the leakage pipe, and the emergency repair efficiency after the explosion or the leakage of the gas pipe is effectively improved.
In some embodiments, the first emergency plan generating module 11 may specifically include:
the topological graph construction sub-module is used for reading point table data and line table data to construct an undirected topological graph based on the point table data and the line table data;
the information determination submodule is used for dividing the undirected topological graph through a topological division algorithm and traversing the obtained divided undirected topological graph to determine a damaged area of the pipeline and a target valve corresponding to the damaged area of the pipeline;
a first emergency plan generation sub-module for generating a first emergency plan for closing the target valve based on the damaged area of the pipe and the target valve.
In some embodiments, the information determining submodule may specifically include:
the information determining unit is used for traversing the segmented undirected topological graph to determine whether a borderless pipeline area exists in the undirected topological graph, if so, eliminating the borderless pipeline area in the undirected topological graph to obtain a pipeline damaged area, and determining a target valve corresponding to the pipeline damaged area.
In some embodiments, the second emergency plan generating module 12 may specifically include:
The data reading sub-module is used for determining the damaged moment of the urban fuel pipe network and reading pressure data and flow data of a preset time threshold before the damaged moment from a database corresponding to the urban fuel pipe network;
the data pushing sub-module is used for determining a target topological graph corresponding to the damaged area of the pipeline from the undirected topological graph and pushing the target topological graph to a preset transient solver;
the pipe storage time determining submodule is used for carrying out iterative computation on the basis of the target topological graph, the pressure data and the flow data through the preset transient solver so as to obtain pipe storage time corresponding to the damaged area of the pipeline; the pipe storage time is the time required for representing the natural gas exhaustion in the urban fuel pipe network;
and the second emergency scheme generation sub-module is used for determining an air supplementing time node based on the pipe storage time so as to generate a second emergency scheme which represents to start executing air supplementing based on the air supplementing time node.
In some embodiments, the pipe life determination submodule may include:
the assignment unit is used for assigning the pressure data and the flow data to boundary points of the target topological graph to obtain an assigned topological graph;
And the pipe storage time determining unit is used for pushing the preset gas quantity assignment data to a preset transient solver so as to obtain the pipe storage time corresponding to the damaged area of the pipeline through iterative computation of the preset transient solver based on the preset gas quantity assignment data and the assignment topological graph.
In some embodiments, the third emergency plan generating module 13 may specifically include:
the pressure value calculation unit is used for pushing a preset initial pressure value and the assignment topological graph to a preset steady state solver so as to perform iterative calculation through the preset steady state solver based on the preset initial pressure value and the assignment topological graph to obtain a pressure value to be determined;
the data judging unit is used for judging whether the pressure value to be determined is larger than a preset pressure judging value or not;
the data modification unit is used for increasing the preset initial pressure value based on a preset pressure lifting threshold value if not, and jumping to the step of pushing the preset initial pressure value and the assignment topological graph to a preset steady state solver so as to perform iterative calculation based on the preset initial pressure value and the assignment topological graph through the preset steady state solver to obtain a pressure value to be determined;
And the third emergency scheme generating unit is used for determining the pressure value to be determined as a lowest running pressure value if yes, and generating a third emergency scheme for representing maintaining the lowest running pressure value based on the lowest running pressure value.
In some embodiments, the first-aid repair scheme generating device based on the urban fuel pipe network may further include:
the scheme display unit is used for pushing the target first-aid repair scheme to the front end of the urban fuel pipe network system so as to visually display the target first-aid repair scheme.
Further, the embodiment of the present application further discloses an electronic device, and fig. 9 is a block diagram of the electronic device 20 according to an exemplary embodiment, where the content of the figure is not to be considered as any limitation on the scope of use of the present application.
Fig. 9 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. The memory 22 is configured to store a computer program, where the computer program is loaded and executed by the processor 21 to implement relevant steps in the method for generating an emergency repair scheme based on a urban fuel network disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in the present embodiment may be specifically an electronic computer.
In this embodiment, the power supply 23 is configured to provide an operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and the communication protocol in which the communication interface is in compliance is any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein; the input/output interface 25 is used for acquiring external input data or outputting external output data, and the specific interface type thereof may be selected according to the specific application requirement, which is not limited herein.
The memory 22 may be a carrier for storing resources, such as a read-only memory, a random access memory, a magnetic disk, or an optical disk, and the resources stored thereon may include an operating system 221, a computer program 222, and the like, and the storage may be temporary storage or permanent storage.
The operating system 221 is used for managing and controlling various hardware devices on the electronic device 20 and computer programs 222, which may be Windows Server, netware, unix, linux, etc. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the urban fuel network-based emergency repair scheme generation method performed by the electronic device 20 as disclosed in any of the previous embodiments.
Further, the application also discloses a computer readable storage medium for storing a computer program; the method for generating the urban fuel pipe network-based rush repair scheme is characterized in that the method for generating the urban fuel pipe network-based rush repair scheme is realized when the computer program is executed by a processor. For specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and no further description is given here.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing has outlined the detailed description of the preferred embodiment of the present application, and the detailed description of the principles and embodiments of the present application has been provided herein by way of example only to facilitate the understanding of the method and core concepts of the present application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (7)

1. The utility model provides a rush-repair scheme generation method based on urban fuel pipe network, which is characterized in that the method is applied to an urban fuel pipe network system and comprises the following steps:
constructing an undirected topology graph corresponding to an urban fuel gas pipe network based on point table data and line table data, and determining a pipeline damaged area and a target valve corresponding to the pipeline damaged area based on the undirected topology graph so as to generate a first emergency scheme according to the pipeline damaged area and the target valve;
determining pipe storage time corresponding to the damaged area of the pipeline based on transient simulation so as to generate a second emergency scheme according to the damaged area of the pipeline and the pipe storage time;
determining a lowest operating pressure value of the damaged area of the pipeline through steady-state simulation, and generating a third emergency scheme according to the lowest operating pressure value;
Generating a target emergency repair scheme based on the first emergency scheme, the second emergency scheme and the third emergency scheme;
the determining the pipe storage time corresponding to the damaged area of the pipeline based on transient simulation so as to generate a second emergency scheme according to the damaged area of the pipeline and the pipe storage time comprises the following steps:
determining the damaged moment of the urban fuel pipe network, and reading pressure data and flow data of a preset time threshold before the damaged moment from a database corresponding to the urban fuel pipe network;
determining a target topological graph corresponding to the damaged area of the pipeline from the undirected topological graph, and pushing the target topological graph to a preset transient solver;
performing iterative computation based on the target topological graph, the pressure data and the flow data through the preset transient solver to obtain the pipe storage time corresponding to the damaged area of the pipeline; the pipe storage time is the time required for representing the natural gas exhaustion in the urban fuel pipe network;
determining an air supplementing time node based on the pipe storage time to generate a second emergency scheme representing that air supplementing starts to be executed based on the air supplementing time node;
the performing, by the preset transient solver, iterative computation based on the target topological graph, the pressure data and the flow data to obtain a pipe storage time corresponding to the damaged area of the pipeline, including:
Assigning the pressure data and the flow data to boundary points of the target topological graph to obtain an assigned topological graph;
pushing preset gas quantity assignment data to a preset transient solver, and performing iterative calculation through the preset transient solver based on the preset gas quantity assignment data and the assignment topological graph to obtain pipe storage time corresponding to the damaged area of the pipeline;
wherein the determining, by steady-state simulation, a minimum operating pressure value for the damaged area of the pipe and generating a third emergency plan based on the minimum operating pressure value comprises:
pushing a preset initial pressure value and the assignment topological graph to a preset steady state solver, and performing iterative computation based on the preset initial pressure value and the assignment topological graph through the preset steady state solver to obtain a pressure value to be determined;
judging whether the pressure value to be determined is larger than a preset pressure judgment value or not;
if not, the preset initial pressure value is increased based on a preset pressure increasing threshold value, and the step of pushing the preset initial pressure value and the assignment topological graph to a preset steady state solver is skipped, so that iterative calculation is performed by the preset steady state solver based on the preset initial pressure value and the assignment topological graph, and a pressure value to be determined is obtained;
If yes, the pressure value to be determined is determined to be the lowest operating pressure value, and a third emergency scheme for representing maintaining the lowest operating pressure value is generated based on the lowest operating pressure value.
2. The method for generating a repair plan based on an urban fuel pipe network according to claim 1, wherein constructing an undirected topology map corresponding to an urban fuel pipe network based on point table data and line table data, and determining a damaged area of a pipe and a target valve corresponding to the damaged area of the pipe based on the undirected topology map, so as to generate a first emergency plan according to the damaged area of the pipe and the target valve, comprises:
reading point table data and line table data to construct an undirected topology graph based on the point table data and the line table data;
dividing the undirected topological graph through a topological dividing algorithm, and traversing the obtained divided undirected topological graph to determine a damaged area of the pipeline and a target valve corresponding to the damaged area of the pipeline;
a first emergency plan for closing the target valve is generated based on the damaged area of the conduit and the target valve.
3. The method for generating a repair plan based on an urban fuel pipe network according to claim 2, wherein traversing the obtained segmented undirected topology graph to determine a damaged area of a pipe and a target valve corresponding to the damaged area of the pipe comprises:
Traversing the segmented undirected topological graph to determine whether a borderless pipeline area exists in the undirected topological graph, if so, eliminating the borderless pipeline area in the undirected topological graph to obtain a pipeline damaged area, and determining a target valve corresponding to the pipeline damaged area.
4. The urban fuel pipe network-based rush-repair scheme generation method according to any one of claims 1 to 3, further comprising:
pushing the target first-aid repair scheme to the front end of the urban fuel pipe network system so as to visually display the target first-aid repair scheme.
5. The utility model provides a rush-repair scheme generation device based on urban fuel pipe network, its characterized in that is applied to urban fuel pipe network system, includes:
the system comprises a first emergency scheme generation module, a first emergency scheme generation module and a second emergency scheme generation module, wherein the first emergency scheme generation module is used for constructing an undirected topological graph corresponding to an urban fuel pipe network based on point table data and line table data, determining a pipeline damaged area and a target valve corresponding to the pipeline damaged area based on the undirected topological graph, and generating a first emergency scheme according to the pipeline damaged area and the target valve;
the second emergency scheme generation module is used for determining the pipe storage time corresponding to the damaged area of the pipeline based on transient simulation so as to generate a second emergency scheme according to the damaged area of the pipeline and the pipe storage time;
The third emergency scheme generation module is used for determining the lowest operating pressure value of the damaged area of the pipeline through steady-state simulation and generating a third emergency scheme according to the lowest operating pressure value;
the emergency scheme integration module is used for generating a target emergency repair scheme based on the first emergency scheme, the second emergency scheme and the third emergency scheme;
the second emergency scheme generating module comprises:
the data reading sub-module is used for determining the damaged moment of the urban fuel pipe network and reading pressure data and flow data of a preset time threshold before the damaged moment from a database corresponding to the urban fuel pipe network;
the data pushing sub-module is used for determining a target topological graph corresponding to the damaged area of the pipeline from the undirected topological graph and pushing the target topological graph to a preset transient solver;
the pipe storage time determining submodule is used for carrying out iterative computation on the basis of the target topological graph, the pressure data and the flow data through the preset transient solver so as to obtain pipe storage time corresponding to the damaged area of the pipeline; the pipe storage time is the time required for representing the natural gas exhaustion in the urban fuel pipe network;
A second emergency scheme generation sub-module for determining an air-supplementing time node based on the pipe storage time to generate a second emergency scheme representing that air supplementing starts to be executed based on the air-supplementing time node;
wherein the pipe time-to-live determination submodule includes:
the assignment unit is used for assigning the pressure data and the flow data to boundary points of the target topological graph to obtain an assigned topological graph;
the pipe storage time determining unit is used for pushing the preset gas quantity assignment data to a preset transient solver so as to obtain pipe storage time corresponding to the damaged area of the pipeline through iterative computation of the preset transient solver based on the preset gas quantity assignment data and the assignment topological graph;
the third emergency scheme generating module comprises:
the pressure value calculation unit is used for pushing a preset initial pressure value and the assignment topological graph to a preset steady state solver so as to perform iterative calculation through the preset steady state solver based on the preset initial pressure value and the assignment topological graph to obtain a pressure value to be determined;
the data judging unit is used for judging whether the pressure value to be determined is larger than a preset pressure judging value or not;
The data modification unit is used for increasing the preset initial pressure value based on a preset pressure lifting threshold value if not, and jumping to the step of pushing the preset initial pressure value and the assignment topological graph to a preset steady state solver so as to perform iterative calculation based on the preset initial pressure value and the assignment topological graph through the preset steady state solver to obtain a pressure value to be determined;
and the third emergency scheme generating unit is used for determining the pressure value to be determined as a lowest running pressure value if yes, and generating a third emergency scheme for representing maintaining the lowest running pressure value based on the lowest running pressure value.
6. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the urban fuel network-based rush repair scheme generation method according to any one of claims 1 to 4.
7. A computer-readable storage medium for storing a computer program which, when executed by a processor, implements the urban fuel network-based emergency repair plan generation method according to any one of claims 1 to 4.
CN202311715289.0A 2023-12-14 2023-12-14 Rush repair scheme generation method, device, equipment and medium based on urban fuel pipe network Active CN117408006B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311715289.0A CN117408006B (en) 2023-12-14 2023-12-14 Rush repair scheme generation method, device, equipment and medium based on urban fuel pipe network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311715289.0A CN117408006B (en) 2023-12-14 2023-12-14 Rush repair scheme generation method, device, equipment and medium based on urban fuel pipe network

Publications (2)

Publication Number Publication Date
CN117408006A CN117408006A (en) 2024-01-16
CN117408006B true CN117408006B (en) 2024-03-05

Family

ID=89492874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311715289.0A Active CN117408006B (en) 2023-12-14 2023-12-14 Rush repair scheme generation method, device, equipment and medium based on urban fuel pipe network

Country Status (1)

Country Link
CN (1) CN117408006B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104180042A (en) * 2014-09-03 2014-12-03 中国地质大学(武汉) Valve shutdown scheme generation method based on pipe network data pretreatment
CN110500512A (en) * 2019-08-19 2019-11-26 北京讯腾智慧科技股份有限公司 Combustion gas method for analyzing cartridge igniter and device
CN111985652A (en) * 2019-05-23 2020-11-24 中国石油天然气股份有限公司 Method and device for determining emergency duration and storage medium
CN112303503A (en) * 2020-11-04 2021-02-02 广州东部发展燃气有限公司 Gas pipe network emergency rescue method and system based on GIS system
CN113159598A (en) * 2021-04-29 2021-07-23 国网河北省电力有限公司电力科学研究院 Method and device for rush repair and scheduling of transformer area faults and terminal equipment
CN115062534A (en) * 2022-05-27 2022-09-16 中国石油大学(北京) Method and device for calculating gas supply reliability of natural gas pipeline system
CN115685787A (en) * 2023-01-04 2023-02-03 北京云庐科技有限公司 Modeling simulation method, modeling simulation system and medium for urban gas pipe network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103939749B (en) * 2014-04-28 2016-08-24 东北大学 Flow circuits based on big data leakage intelligent adaptive monitoring system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104180042A (en) * 2014-09-03 2014-12-03 中国地质大学(武汉) Valve shutdown scheme generation method based on pipe network data pretreatment
CN111985652A (en) * 2019-05-23 2020-11-24 中国石油天然气股份有限公司 Method and device for determining emergency duration and storage medium
CN110500512A (en) * 2019-08-19 2019-11-26 北京讯腾智慧科技股份有限公司 Combustion gas method for analyzing cartridge igniter and device
CN112303503A (en) * 2020-11-04 2021-02-02 广州东部发展燃气有限公司 Gas pipe network emergency rescue method and system based on GIS system
CN113159598A (en) * 2021-04-29 2021-07-23 国网河北省电力有限公司电力科学研究院 Method and device for rush repair and scheduling of transformer area faults and terminal equipment
CN115062534A (en) * 2022-05-27 2022-09-16 中国石油大学(北京) Method and device for calculating gas supply reliability of natural gas pipeline system
CN115685787A (en) * 2023-01-04 2023-02-03 北京云庐科技有限公司 Modeling simulation method, modeling simulation system and medium for urban gas pipe network

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
基于GIS燃气管网爆管分析功能的设计与实现;何婵;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20150315;第C038-2252页 *
川西复杂天然气管网仿真模拟与优化;罗林杰;《中外能源》;20220615;第27卷(第06期);第58-64页 *
燃气中压管网泄漏抢修方法;马秋礼;;煤气与热力;20110715;31(07);37-39 *
田野等.输气管道最优化研究.《北京石油化工学院学报》.2012,第20卷(第01期),22-25. *

Also Published As

Publication number Publication date
CN117408006A (en) 2024-01-16

Similar Documents

Publication Publication Date Title
CN102147830B (en) Method and system for optimally designing water supply pipe network
CN104598671A (en) Digital power grid construction method based on on-line data
CN103927419A (en) Data processing method and system for CAD urban pipeline as-built drawing based on ArcGIS platform
US11550976B2 (en) Node flow optimization distribution method for improving accuracy of transient hydraulic simulation of water supply in-series pipeline
Kazmierczak et al. Algorithm to create a CCS low-cost pipeline network
CN115693650B (en) Determination method, device, equipment and medium for regional power carbon emission factor
CN108182146A (en) The detection method and system of a kind of memory overflow
CN117235950B (en) Natural gas pipe network steady-state simulation method, medium and equipment based on Newton iteration method
CN109583069A (en) Wind speed modeling method based on temporal correlation
CN117271500B (en) Data restoration method and related device for gas pipe network node
CN117408006B (en) Rush repair scheme generation method, device, equipment and medium based on urban fuel pipe network
CN117371354A (en) Natural gas pipe network transient steady-state simulation method, device, equipment and medium
Yuan et al. Construction schedule early warning from the perspective of probability and visualization
CN111553041B (en) Gas pipe network parameter calibration method, system, terminal and storage medium
CN115034027B (en) GIS data point-line mapping method and system
CN110334385B (en) Test method, device and equipment for central controller of comprehensive energy system
CN117113862A (en) Pipe network leakage identification model construction method and pipe network leakage identification method
CN108733725B (en) Method and system for establishing network semantic model of target system
CN116186990A (en) Combined heat and power simulation method and device
CN113033128B (en) Method for selecting initial value of Newton iteration in circuit simulation
CN110390170B (en) Gas pipe network communication inspection method and pipe network online editing system
CN114091134A (en) Hydraulic model result symbolized dynamic display method and system based on GIS
CN117688775B (en) Method, device, equipment and storage medium for generating leakage data of gas pipe network
CN110909964A (en) Active power distribution network planning state model building method
CN117541434B (en) Real-time monitoring and analyzing method, device, equipment and medium for natural gas pipe network

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