Emergency processing method, device and equipment for pipeline leakage
By acquiring pipeline leak data and environmental data, and using concentration field prediction models and template libraries to generate emergency plans, the problem of insufficient prediction and rigid response in emergency handling of existing carbon dioxide pipeline leak accidents has been solved, and dynamic and targeted emergency response has been achieved.
Patent Information
- Application Number
- CN202511617691.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-06
- Publication Date
- 2025-12-05
AI Technical Summary
Existing emergency response plans for carbon dioxide pipeline leaks suffer from problems such as insufficient scenario prediction, delayed plan generation, simplistic response strategies, and rigid resource allocation.
By acquiring leakage data and environmental data of pipeline leaks, the characteristics of pipeline leaks are determined. The data are then input into a pre-trained concentration field prediction model to determine the concentration field and development stage. Emergency response plan templates are generated based on a template library, and the emergency response is dynamically adjusted and optimized through real-time monitoring.
It enables accurate scenario prediction and dynamic emergency response to pipeline leakage events, improving the targeting of emergency response and the efficiency of resource utilization.
Smart Images

Figure CN121073162A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of pipeline operation and maintenance technology, and in particular to an emergency handling method, device and equipment for pipeline leakage. Background Technology
[0002] In recent years, the emergence of carbon capture, utilization and storage (CCUS) technology has alleviated global climate problems. CCUS is considered the most effective way to achieve carbon dioxide emission reduction, and carbon dioxide pipeline transportation is a key link in CCUS technology that connects carbon sources and carbon sinks.
[0003] However, carbon dioxide pipeline transportation also carries a series of risks, and pipeline leaks can pose a serious threat to personal safety and the surrounding environment. Therefore, emergency response methods after a pipeline leak are crucial for minimizing disaster losses. However, current emergency response plans for carbon dioxide pipeline leaks suffer from problems such as insufficient scenario prediction, delayed plan generation, simplistic response strategies, and rigid resource allocation. Summary of the Invention
[0004] This disclosure provides an emergency response method, apparatus, and equipment for pipeline leaks, aiming to address the problems of insufficient scenario prediction, delayed plan generation, single response strategy, and rigid resource scheduling in existing emergency response plans for pipeline leak accidents.
[0005] To achieve the above objectives, this application adopts the following technical solution: Firstly, a method for emergency response to pipeline leaks is provided, comprising: acquiring leak data of the pipeline leak and environmental data near the leak point, and determining the characteristics of the pipeline leak based on the leak data and environmental data; inputting the pipeline leak characteristics into a pre-trained concentration field prediction model to determine the concentration field corresponding to the pipeline leak characteristics, and determining the development stage of the pipeline leak corresponding to the pipeline leak characteristics based on the concentration field; the concentration field is used to represent the concentration of the leaking medium corresponding to multiple time and spatial coordinates; determining an emergency response plan template for the pipeline leak based on the pipeline leak characteristics, concentration field, development stage, and a pre-established template library; conducting emergency response to the pipeline leak based on the emergency response plan template, and dynamically adjusting and optimizing the emergency response plan template based on real-time monitoring after emergency response; the emergency response plan template includes specific response procedures, resource allocation, and disposal measures.
[0006] In some embodiments, the template library includes template sets corresponding to different development stages: determining an emergency response plan template for pipeline leakage based on pipeline leakage characteristics, concentration field, development stage, and a pre-established template library includes: determining a template set corresponding to the development stage in the template library; determining an initial template corresponding to the emergency response plan template based on the pipeline leakage characteristics and the template set corresponding to the development stage; and adjusting the parameters of the initial template corresponding to the emergency response plan template based on the concentration field to obtain the emergency response plan template.
[0007] In some embodiments, the initial template corresponding to the emergency response plan template satisfies the following formula:
[0008] in, This is the initial template corresponding to the emergency response plan template; This is the template when the function value is maximized; m is the number of features in the pipeline leakage feature; This represents the weight corresponding to the j-th feature in the pipeline leakage characteristics; This refers to the i-th template in the template set corresponding to the development stage. This is the j-th feature among the pipeline leakage characteristics; This is the similarity function.
[0009] In some embodiments, the initial template corresponding to the emergency response plan template includes: a decision combination containing multiple emergency response plan decisions and multiple parameters; adjusting the parameters of the initial template corresponding to the emergency response plan template according to the concentration field to obtain the emergency response plan template includes: obtaining the diffusion range of the leaked medium and the degree of impact of the leaked medium on the environment from the concentration field, and adjusting multiple parameters of the initial template corresponding to the emergency response plan template according to the diffusion range and the degree of impact to determine the parameter-adjusted initial template; adjusting the decision combination in the parameter-adjusted initial template according to the parameter optimization algorithm to determine the emergency response plan template; the parameter optimization algorithm is:
[0010] Where X represents the decision combination; Let $i$ be the decision cost corresponding to the i-th decision in the decision combination. Let i be the i-th decision in the decision combination; In order to be in The decision combination that corresponds to the minimum.
[0011] In some embodiments, the concentration field prediction model is determined by: obtaining a training sample set; the training sample set includes: training samples and labels of the training samples; the training samples include historical pipeline leakage features; the labels of the training samples include the concentration fields corresponding to the historical pipeline leakage features; and training a fluid dynamics model, a data statistics model, and a machine learning model based on the training sample set to determine the concentration field prediction model.
[0012] In some embodiments, the development stages include: an initial stage, a diffusion stage, and a stable stage; determining the development stage of the pipeline leak corresponding to the pipeline leak characteristics based on the concentration field includes: obtaining the time difference between the current time and the leak start time from the concentration field; determining the development stage as the initial stage when the time difference is less than or equal to a first preset time; determining the development stage as the diffusion stage when the time difference is greater than the first preset time and less than or equal to a second preset time; the first preset time is less than the second preset time; and determining the development stage as the stable stage when the time difference is greater than the second preset time.
[0013] In some embodiments, determining pipeline leakage characteristics based on leakage data and environmental data includes: determining the leak area, leakage rate, leakage direction, leak pressure, leak temperature, and leakage duration based on the leakage data, and determining meteorological parameters based on the environmental data; and determining the leak area, leakage rate, leakage direction, leak pressure, leak temperature, leakage duration, and meteorological parameters as pipeline leakage characteristics.
[0014] In some embodiments, emergency response to a pipeline leak includes: evacuating personnel from multiple areas according to their evacuation priorities; and determining evacuation routes based on the weights of multiple candidate paths covered by the pipeline leak; the evacuation routes satisfy the following formula:
[0015] Where Q represents the evacuation route; p represents the candidate path; The weight corresponding to road segment e in the candidate path; The candidate path is the one with the minimum function value.
[0016] Secondly, an emergency response device for pipeline leaks is provided, which includes a communication unit and a processing unit. The communication unit is used to acquire leakage data of the pipeline and environmental data near the leakage point.
[0017] The processing unit is used to determine the characteristics of pipeline leaks based on leakage data and environmental data.
[0018] The processing unit is also used to input pipeline leakage features into a pre-trained concentration field prediction model to determine the concentration field corresponding to the pipeline leakage features, and to determine the development stage of pipeline leakage corresponding to the pipeline leakage features based on the concentration field; the concentration field is used to represent the concentration of the leakage medium corresponding to multiple time and space coordinates.
[0019] The processing unit is also used to determine emergency response plan templates for pipeline leaks based on the characteristics, concentration field, development stage, and pre-established template library.
[0020] The processing unit is also used to handle pipeline leaks according to the emergency plan template, and to dynamically adjust and optimize the emergency plan template based on real-time monitoring after the emergency handling; the emergency plan template includes specific response procedures, resource allocation and disposal measures.
[0021] Thirdly, an emergency response device for pipeline leaks is provided, including a memory and a processor; the memory is used to store computer execution instructions, and the processor is connected to the memory via a bus; when the emergency response device for pipeline leaks is running, the processor executes the computer execution instructions stored in the memory, so that the emergency response device for pipeline leaks performs the emergency response method for pipeline leaks of the first aspect.
[0022] The emergency response equipment for the pipeline leak can be an electronic device or a component of an electronic device, such as a chip system within the electronic device. The chip system supports the electronic device in performing the functions involved in the first aspect and any of its possible implementations, such as acquiring and determining the data and / or information involved in the aforementioned emergency response method for pipeline leaks. The chip system includes a chip and may also include other discrete devices or circuit structures.
[0023] Fourthly, a computer-readable storage medium is provided, comprising computer-executable instructions that, when executed on a computer, cause the computer to perform the emergency handling method for pipeline leaks described in the first aspect.
[0024] Fifthly, a computer program product is also provided, comprising a computer program or instructions that, when executed on an emergency response device for pipeline leaks, cause the emergency response device for pipeline leaks to perform the emergency response method for pipeline leaks as described in the first aspect above.
[0025] It should be noted that the aforementioned computer instructions may be stored, in whole or in part, on a computer-readable storage medium. This computer-readable storage medium may be packaged together with the processor of the pipeline leak emergency response device, or it may be packaged separately from the processor of the pipeline leak emergency response device; this application does not limit this.
[0026] The descriptions of the second, third, fourth, and fifth aspects of this application can be referenced to the detailed description of the first aspect.
[0027] In the embodiments of this application, the name of the emergency response device for pipeline leaks does not limit the equipment or functional module itself. In actual implementation, these devices or functional modules may appear under other names. For example, the receiving unit may also be called a receiving module, receiver, etc. As long as the function of each device or functional module is similar to that of this application, it falls within the scope of the claims of this application and its equivalents.
[0028] This application provides an emergency response method for pipeline leaks. It can acquire leak data and environmental data near the leak point, and determine the characteristics of the pipeline leak based on these data. Next, the leak characteristics can be input into a pre-trained concentration field prediction model to determine the concentration field corresponding to the leak characteristics, and the development stage of the pipeline leak can be determined based on the concentration field. The concentration field represents the concentration of the leaking medium at multiple time and spatial coordinates. Then, an emergency response plan template for the pipeline leak can be determined based on the leak characteristics, concentration field, development stage, and a pre-established template library. Subsequently, emergency response to the pipeline leak can be carried out according to the emergency response plan template, and the template can be dynamically adjusted and optimized based on real-time monitoring after emergency response. The emergency response plan template includes specific response procedures, resource allocation, and disposal measures.
[0029] As shown above, this solution integrates leakage data at the time of a pipeline leak with environmental data near the leak point to create pipeline leakage features, which are then used to accurately quantify the characteristics of pipeline leak events. This solution also inputs the pipeline leakage features into a pre-trained concentration field prediction model, using a deep learning model to determine the concentration field corresponding to the pipeline leakage features, thereby predicting the subsequent diffusion of the leaked medium. Furthermore, this solution distinguishes the development stages of pipeline leaks and, based on these stages and the pipeline leakage features, jointly determines the initial template corresponding to the emergency response plan template to obtain a more similar template. After obtaining the initial template, this solution further adjusts the parameters of the initial template using the concentration field equation to specifically determine the emergency response plan template and apply it to pipeline leaks. This solves the problems of insufficient scenario prediction, delayed plan generation, single response strategies, and rigid resource scheduling in existing emergency response plans for pipeline leak accidents. Attached Figure Description
[0030] Figure 1 A schematic diagram of the structure of an emergency response system for pipeline leakage provided in an embodiment of this application; Figure 2 A schematic diagram of the hardware structure of an emergency response device for pipeline leakage provided in an embodiment of this application; Figure 3A schematic flowchart illustrating an emergency response method for pipeline leakage provided in an embodiment of this application; Figure 4 A schematic flowchart illustrating another emergency response method for pipeline leakage provided in this application embodiment; Figure 5 This is a schematic diagram of the structure of an emergency treatment device for pipeline leakage provided in an embodiment of this application. Detailed Implementation
[0031] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0032] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0033] To facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish the same or similar items with essentially the same function and effect. Those skilled in the art can understand that the terms "first" and "second" are not intended to limit the quantity or execution order.
[0034] As described in the background section, in recent years, the emergence of CCUS technology has alleviated global climate problems. CCUS is considered the most effective way to achieve carbon dioxide emission reduction, and carbon dioxide pipeline transportation is a key link in CCUS technology that connects carbon sources and carbon sinks.
[0035] However, carbon dioxide pipeline transportation also carries a series of risks. Pipeline leaks can pose serious threats to personal safety and the surrounding environment. Therefore, emergency response methods after a pipeline leak are crucial for minimizing losses. Currently, there are several problems with emergency response and contingency plan support for carbon dioxide pipeline leaks: existing methods struggle to accurately predict the evolution of leak scenarios, resulting in insufficient plan specificity. Traditional contingency plan generation relies primarily on static risk assessments, making it difficult to adapt to dynamically changing leak scenarios. Resource allocation schemes are difficult to dynamically adjust according to scenario evolution, leading to low resource utilization efficiency. Existing emergency response plans are singular and fixed, unable to be tailored to specific scenarios.
[0036] To address the aforementioned issues, this application provides an emergency response method for pipeline leaks. This method acquires leak data and environmental data near the leak point, and determines the characteristics of the pipeline leak based on these data. Next, the leak characteristics are input into a pre-trained concentration field prediction model to determine the corresponding concentration field and the development stage of the leak. The concentration field represents the concentration of the leaking medium at multiple time and spatial coordinates. Then, an emergency response plan template is determined based on the leak characteristics, concentration field, development stage, and a pre-established template library. Subsequently, emergency response measures are implemented based on the template, and the template is dynamically adjusted and optimized based on real-time monitoring after the emergency response. The emergency response plan template includes specific response procedures, resource allocation, and handling measures.
[0037] As shown above, this solution integrates leakage data at the time of a pipeline leak with environmental data near the leak point to create pipeline leakage features, which are then used to accurately quantify the characteristics of pipeline leak events. This solution also inputs the pipeline leakage features into a pre-trained concentration field prediction model, using a deep learning model to determine the concentration field corresponding to the pipeline leakage features, thereby predicting the subsequent diffusion of the leaked medium. Furthermore, this solution distinguishes the development stages of pipeline leaks and, based on these stages and the pipeline leakage features, jointly determines the initial template corresponding to the emergency response plan template to obtain a more similar template. After obtaining the initial template, this solution further adjusts the parameters of the initial template using the concentration field equation to specifically determine the emergency response plan template and apply it to pipeline leaks. This solves the problems of insufficient scenario prediction, delayed plan generation, single response strategies, and rigid resource scheduling in existing emergency response plans for pipeline leak accidents.
[0038] The implementation environment for the above-mentioned emergency response method for pipeline leakage can be the emergency response system for pipeline leakage provided in the embodiments of this application.
[0039] Figure 1 This is a schematic diagram of an emergency response system for pipeline leaks provided in an embodiment of this application. Figure 1 As shown, the emergency response system for pipeline leaks includes: an emergency response device 101 for pipeline leaks and a data storage device 102.
[0040] The emergency response device 101 for pipeline leaks and the data storage device 102 are connected in communication.
[0041] In practical applications, the emergency response device 101 for pipeline leaks can be connected to any number of data storage devices 102. For ease of understanding, Figure 1 The following is an example of an emergency response device 101 for a pipeline leak being connected to a data storage device 102.
[0042] In this embodiment of the application, the data storage device 102 is used to provide the pipeline leak emergency handling device 101 with data (e.g., leak data and environmental data) for pipeline leak emergency handling, so that the pipeline leak emergency handling device 101 can perform pipeline leak emergency handling based on the data sent by the data storage device 102.
[0043] Optionally, the physical devices of the pipeline leak emergency response device 101 and the data storage device 102 can be servers, terminals, or other types of electronic devices, and this application embodiment does not limit them.
[0044] Optionally, the aforementioned terminal may be a device that provides voice and / or data connectivity to a user, a handheld device with wireless connectivity, or other processing device connected to a wireless modem. The wireless terminal may communicate with one or more core networks via a radio access network (RAN). The wireless terminal may be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal, or a portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted mobile device that exchanges voice and / or data with the radio access network, such as a mobile phone, tablet computer, laptop computer, netbook, or personal digital assistant (PDA).
[0045] Optionally, the server mentioned above can be one of the servers in a server cluster (composed of multiple servers), a chip in the server, a system-on-a-chip in the server, or a virtual machine (VM) deployed on a physical machine. This application embodiment does not limit this.
[0046] Optionally, the emergency response device 101 for pipeline leaks and the data storage device 102 can be two independently configured devices, or they can be integrated into the same device. When the emergency response device 101 for pipeline leaks and the data storage device 102 are integrated into the same device, the data storage device 102 can be a storage module (e.g., a database) of the emergency response device 101 for pipeline leaks.
[0047] It is easy to understand that when the emergency response device 101 for pipeline leaks and the data storage device 102 are integrated into the same device, the communication method between the emergency response device 101 and the data storage device 102 is the same as the communication method between the internal modules of the device. In this case, the communication process between the two is the same as when the emergency response device 101 and the data storage device 102 are independent of each other.
[0048] For ease of understanding, this application uses the example of an emergency response device 101 for pipeline leaks and a data storage device 102 operating independently as an illustration.
[0049] The emergency response equipment for pipeline leaks in an emergency response system includes, for example: Figure 2 The components included. The following are examples. Figure 2 Taking the pipeline leak emergency response device shown as an example, the hardware structure of the pipeline leak emergency response device is introduced.
[0050] Figure 2 This is a schematic diagram of the hardware structure of an emergency response device for pipeline leaks provided in an embodiment of this application. Figure 2 As shown, the emergency response device for pipeline leaks includes: a processor 201, a memory 202, a communication interface 203, and a bus 204. The processor 201, the memory 202, and the communication interface 203 can be connected via the bus 204.
[0051] Processor 201 is the control center of the emergency response device for pipeline leaks. It can be a single processor or a collective term for multiple processing elements. For example, processor 201 can be a general-purpose central processing unit (CPU) or other general-purpose processors. The general-purpose processor can be a microprocessor or any conventional processor.
[0052] As one embodiment, processor 201 may include one or more CPUs, for example Figure 2 CPU0 and CPU1 are shown in the diagram.
[0053] The memory 202 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.
[0054] In one possible implementation, the memory 202 can exist independently of the processor 201. The memory 202 can be connected to the processor 201 via a bus 204 and is used to store instructions or program code. When the processor 201 calls and executes the instructions or program code stored in the memory 202, it can implement the emergency handling method for pipeline leakage provided in the following embodiments of this application.
[0055] In this embodiment, the software programs stored in memory 202 differ for the emergency response devices for pipeline leaks, resulting in different functions implemented by the devices. The functions performed by each device will be described in conjunction with the flowcharts below.
[0056] In another possible implementation, the memory 202 can also be integrated with the processor 201.
[0057] The communication interface 203 is used for connecting the emergency response device for pipeline leaks to other devices via a communication network, such as Ethernet, wireless access network, or wireless local area network (WLAN). The communication interface 203 may include a receiving unit for receiving data and a transmitting unit for sending data.
[0058] Bus 204 can be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 2The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0059] It should be pointed out that, Figure 2 The structure shown does not constitute a limitation on emergency response devices for pipeline leaks, except... Figure 2 In addition to the components shown, the emergency response device for pipeline leaks may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0060] The emergency handling method for pipeline leakage provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0061] The emergency handling method for pipeline leaks provided in this application embodiment is applied to... Figure 1 The pipeline leak emergency response device 101 in the pipeline leak emergency response system shown is as follows: Figure 3 As shown in the embodiment of this application, an emergency handling method for pipeline leakage includes: S301. Emergency response equipment for pipeline leaks acquires leak data and environmental data near the leak point, and determines the characteristics of the pipeline leak based on the leak data and environmental data.
[0062] Specifically, in order to integrate multiple types of data into pipeline leakage characteristics, it is necessary to first obtain leakage data of the pipeline leak and environmental data near the leak point.
[0063] For example, leakage data includes: the location of the leak, the leakage pressure, the leak start time, and the leak duration.
[0064] For example, environmental data includes wind speed, wind direction, temperature, humidity, topography, and building distribution.
[0065] Optionally, the pipeline leakage feature can be a feature vector, where each component of the feature vector is a leakage feature.
[0066] Optionally, leakage data and environmental data can be obtained through relevant sensors.
[0067] Optionally, the data may also be preprocessed with outlier detection, missing value imputation, numerical data standardization, categorical data encoding, time series alignment, and / or data fusion in sequence.
[0068] For example, the outlier detection preprocessing satisfies the following formula:
[0069] in, x represents the processed data; x represents the data before processing. This is the average value; The standard deviation is denoted as .
[0070] For example, missing value imputation uses the k-nearest neighbor mean, satisfying the following formula:
[0071] in, For filler values; Let be the i-th nearest neighbor; k is the number of adjacent data.
[0072] For example, the standardization of numerical data satisfies the following formula:
[0073] in, The data is standardized. This is the data before standardization; This is the average value; The standard deviation is denoted as .
[0074] For example, when encoding categorical data, one-hot encoding is used to process the categorical data, and the processed data satisfies the following formula:
[0075] in, x represents the processed data; x represents the data before processing. For the i-th category.
[0076] For example, when aligning time series, timestamp unification is used, satisfying the following formula:
[0077] in, t represents the time after data alignment; t represents the time before alignment. The start time; The sampling interval when acquiring data.
[0078] For example, when aligning time series, linear interpolation is used, satisfying the following formula:
[0079] in, For inserting values; The time corresponding to the value preceding the inserted value; The time corresponding to the value after the inserted value; The value preceding the inserted value. The value following the inserted value.
[0080] For example, data fusion satisfies the following formula:
[0081] in, The merged data; This refers to the data corresponding to the i-th data source; Let be the weight corresponding to the i-th data source.
[0082] Specifically, based on leakage data and environmental data, the characteristics of the pipeline leakage are determined, as detailed in some embodiments below, and will not be repeated here.
[0083] S302. The emergency response equipment for pipeline leaks inputs the pipeline leak characteristics into a pre-trained concentration field prediction model to determine the concentration field corresponding to the pipeline leak characteristics, and determines the development stage of the pipeline leak corresponding to the pipeline leak characteristics based on the concentration field.
[0084] The concentration field is used to represent the concentration of the leaked medium corresponding to multiple time and space coordinates.
[0085] Specifically, in order to obtain the concentration field and the development stage of pipeline leakage, and thus determine the emergency response plan template, it is necessary to first input the extracted pipeline leakage features into the trained concentration field prediction model to output the diffusion trend after the pipeline leakage features, that is, the concentration field corresponding to the pipeline leakage features.
[0086] For example, in some embodiments, the concentration field prediction model is determined by: obtaining a training sample set; the training sample set includes: training samples and labels of the training samples; the training samples include historical pipeline leakage features; the labels of the training samples include the concentration fields corresponding to the historical pipeline leakage features; and training a fluid dynamics model, a data statistics model, and a machine learning model based on the training sample set to determine the concentration field prediction model.
[0087] Specifically, a concentration field prediction model is trained based on fluid dynamics equations, historical data statistics, and feature learning. By inputting pipeline leakage characteristics into the concentration field prediction model, the predicted concentration field is output.
[0088] For example, the concentration field satisfies the following formula:
[0089] in, For concentration; Let C be the partial derivative of concentration C with respect to time t. Wind speed; The diffusion coefficient is denoted as . For source terms.
[0090] Optionally, historical data can be cleaned and inspected.
[0091] For example, the cleaned data satisfies the following formula:
[0092] in, The data after cleaning; This is historical data before cleaning; For quality scoring functions; This is the quality score threshold.
[0093] For example, the quality scoring function comprehensively considers four dimensions of data: completeness, accuracy, consistency, and timeliness, with each dimension having equal weight. The scoring range is 0-100, and the quality scoring threshold is set to 80; data points below the threshold will be filtered out.
[0094] For example, historical pipeline leaks are characterized as follows:
[0095] in, Characteristics of historical pipeline leaks, This is the nth leakage feature.
[0096] Optionally, the model parameters can be optimized.
[0097] For example, parameter optimization satisfies the following formula:
[0098] in, These are the optimized parameters; The parameter is the parameter when the function value is minimized; L is the loss function; The actual value; Input for the model; Input parameters; These are predicted values.
[0099] Optionally, the model can be cross-validated.
[0100] For example, k-fold cross-validation satisfies the following formula:
[0101] Wherein, CV represents the verification result; Let ij be the ith true value; Let be the ij-th predicted value.
[0102] S303. Emergency response equipment for pipeline leaks: Based on the characteristics of the pipeline leak, concentration field, development stage, and a pre-established template library, determine the emergency response plan template for pipeline leaks.
[0103] Specifically, in order to carry out emergency response based on the emergency plan template, it is necessary to first determine the emergency plan template for pipeline leaks based on the characteristics of the pipeline leak, concentration field, development stage, and a pre-established template library.
[0104] Specifically, the process of determining the emergency response plan template for pipeline leaks based on the characteristics, concentration field, development stage, and pre-established template library is described in detail in some of the embodiments below, and will not be repeated here.
[0105] For example, the template library is determined by: collecting historically successful emergency response case studies; categorizing and organizing them according to different leakage scenario types (initial phase, diffusion phase, stabilization phase); and developing standard templates based on expert experience and industry standards.
[0106] S304. Emergency response equipment for pipeline leaks shall be used to handle pipeline leaks according to the emergency response plan template, and the emergency response plan template shall be dynamically adjusted and optimized based on the real-time monitoring results after the emergency response.
[0107] The emergency response plan template includes specific response procedures, resource allocation, and handling measures.
[0108] Specifically, in order to carry out emergency response after a pipeline leak, it is necessary to implement emergency measures according to the emergency plan template.
[0109] The specific implementation process of the emergency measures is described in detail in some of the embodiments below, and will not be repeated here.
[0110] In some embodiments, in S303 above, the template library includes template sets corresponding to different development stages: based on the characteristics of pipeline leakage, concentration field, development stage, and the pre-established template library, an emergency response plan template for pipeline leakage is determined, specifically including: S3031. Emergency response equipment for pipeline leaks shall be selected from the template library, and the template set corresponding to the development stage shall be determined.
[0111] Specifically, in order to select the relatively optimal template from the template set corresponding to the development stage, it is necessary to first determine the template set corresponding to the development stage.
[0112] For example, the template library includes templates for the initial stage, templates for the diffusion stage, and templates for the stabilization stage.
[0113] S3032. Emergency response equipment for pipeline leaks: Based on the template set corresponding to the characteristics and development stage of the pipeline leak, determine the initial template corresponding to the emergency plan template.
[0114] Optionally, selection criteria may also include matching environmental conditions, such as meteorological and topographical parameters. Selection criteria may also include matching leakage scale parameters, such as leakage rate and impact range.
[0115] For example, in some embodiments, the initial template corresponding to the emergency response plan template satisfies the following formula:
[0116] in, This is the initial template corresponding to the emergency response plan template; This is the template when the function value is maximized; m is the number of features in the pipeline leakage feature; This represents the weight corresponding to the j-th feature in the pipeline leakage characteristics; This refers to the i-th template in the template set corresponding to the development stage. This is the j-th feature among the pipeline leakage characteristics; This is the similarity function.
[0117] S3033. Emergency response equipment for pipeline leaks adjusts the parameters of the initial template corresponding to the emergency response plan template according to the concentration field to obtain the emergency response plan template.
[0118] Specifically, based on the parameters obtained from the concentration field, the parameters of the initial template corresponding to the emergency response plan template are adjusted to determine the emergency response plan template.
[0119] Specifically, the detailed process for adjusting the parameters of the initial template corresponding to the emergency response plan template is described in detail in some of the embodiments below, and will not be repeated here.
[0120] As demonstrated by the above embodiments, this solution constructs a dynamic scenario evolution prediction model through multi-source data fusion and machine learning algorithms. This model achieves accurate prediction of the evolution trend of leakage scenarios by calculating concentration field distribution and other methods. Furthermore, based on the scenario evolution prediction results, the solution selects and adjusts parameters from a pre-established emergency response plan template library, thereby automatically generating targeted emergency response plans, improving the timeliness and relevance of the plans.
[0121] In some embodiments, the initial template corresponding to the emergency response plan template includes: a decision combination containing multiple emergency response plan decisions and multiple parameters; adjusting the parameters of the initial template corresponding to the emergency response plan template according to the concentration field to obtain the emergency response plan template, specifically including: Emergency response equipment for pipeline leaks obtains the diffusion range of the leaking medium and the degree of its impact on the environment from the concentration field. Based on the diffusion range and the degree of impact, it adjusts multiple parameters of the initial template corresponding to the emergency response plan template to determine the adjusted initial template.
[0122] Optionally, the parameters of the initial template corresponding to the emergency plan template can be parameters used for adjusting the strategy, including: evacuation distance parameters, response time parameters, resource allocation parameters, and intensity parameters of response measures, etc.
[0123] Optionally, the parameters of the initial template corresponding to the emergency response plan template can also be important time points in the emergency response process, including: the time of leakage start, the time when the concentration reaches the dangerous threshold, the time of evacuation completion, the time when the disposal measures take effect, the time of accident control, and the recovery time.
[0124] The emergency response equipment for pipeline leaks uses a parameter optimization algorithm to adjust the decision combination in the initial template after parameter tuning in order to determine the emergency response plan template.
[0125] Specifically, in order to apply the template to the current pipeline leakage incidents, it is necessary to adaptively adjust the decisions in the initial template after determining the parameters.
[0126] For example, adjust the evacuation distance parameter, response time parameter, resource allocation parameter, response measure intensity parameter, leak start time, time when the concentration reaches the danger threshold, evacuation completion time, response measure effective time, accident control time, and recovery time.
[0127] For example, the parameter optimization algorithm is as follows:
[0128] Where X represents the decision combination; Let $i$ be the decision cost corresponding to the i-th decision in the decision combination. Let i be the i-th decision in the decision combination; In order to be in The decision combination that corresponds to the minimum.
[0129] In some embodiments, in S302 above, the development stage includes: an initial stage, a diffusion stage, and a stable stage; determining the development stage of the pipeline leakage corresponding to the pipeline leakage characteristics based on the concentration field specifically includes: Emergency response equipment for pipeline leaks obtains the time difference between the current time and the leak initiation time from the concentration field.
[0130] Specifically, in order to determine the development stage of a pipeline leak corresponding to its characteristics, it is necessary to first determine the time difference between the current time and the leak initiation time.
[0131] When the time difference in the emergency response equipment for pipeline leaks is less than or equal to the first preset time, the development stage is determined to be the initial stage.
[0132] When the time difference between the emergency response equipment for pipeline leaks is greater than the first preset time and less than or equal to the second preset time, the development stage is determined to be the diffusion stage.
[0133] When the time difference in the emergency response equipment for pipeline leaks exceeds the second preset time, the development stage is determined to be the stable stage.
[0134] The first preset time is shorter than the second preset time.
[0135] For example, the stage partitioning algorithm satisfies the following formula:
[0136] in, The developmental stages corresponding to the characteristics of pipeline leakage; and The time points for dividing the phase are (i.e., the first and second preset times of this application).
[0137] Optionally, the time points for phase division can be determined by diffusion range, diffusion concentration, and / or diffusion trend.
[0138] As can be seen from the above embodiments, this solution formulates differentiated response strategies for different development stages, thereby improving the effectiveness of emergency response.
[0139] In some embodiments, in S301 above, determining the characteristics of a pipeline leak based on leakage data and environmental data specifically includes: Emergency response equipment for pipeline leaks determines the leak area, leak rate, leak direction, leak pressure, leak temperature, and leak duration based on leak data, and determines meteorological parameters based on environmental data.
[0140] For example, the area of the leak opening satisfies the following formula:
[0141] in, denoted as , where is the area of the leak opening; and r is the radius of the leak opening.
[0142] For example, the leakage rate satisfies the following formula:
[0143] in, Leakage rate; For flow coefficient; Density of the leaking medium; This refers to the pressure difference.
[0144] For example, the leakage direction satisfies the following formula:
[0145] in, The vector representing the direction of leakage. , and These are the components in three directions.
[0146] For example, the characteristic value of the leak outlet pressure satisfies the following formula:
[0147] in, The characteristic value of the leakage outlet pressure; and Two preset pressure thresholds are used.
[0148] For example, the characteristic value of the leak outlet temperature satisfies the following formula:
[0149] in, This refers to the characteristic value of the leak outlet temperature. and Two preset temperature thresholds are used.
[0150] Optionally, the preset pressure threshold and preset temperature threshold can be determined through experiments, expert experience systems, or the experience of relevant personnel.
[0151] For example, the duration of the leak satisfies the following formula:
[0152] in, Duration of the leak; End time; This is the start time.
[0153] For example, the meteorological parameters satisfy the following formula:
[0154] in, For effective wind speed, This refers to the actual wind speed. Correction for terrain effects.
[0155] Emergency response equipment for pipeline leaks identifies the leak area, leakage rate, leakage direction, leak pressure, leak temperature, leakage duration, and meteorological parameters as characteristics of pipeline leaks.
[0156] For example, the characteristics of a pipeline leak are:
[0157] Where F represents the characteristics of pipeline leakage.
[0158] Optionally, pipeline leakage characteristics may also include other characteristic parameters. This is just an example and there is no limit to the number of characteristics included in pipeline leakage characteristics.
[0159] In some embodiments, the emergency handling of pipeline leaks in S304 above specifically includes: Emergency response equipment for pipeline leaks evacuates personnel from multiple areas based on their evacuation priorities and determines evacuation routes according to the weights of multiple alternative paths covered by the pipeline leak.
[0160] Optionally, rescue routes can be planned, safety assessments of the routes can be conducted, and evacuation time can be estimated; rescue point locations can be selected, and routes can be planned.
[0161] Optionally, disposal measures can be determined, disposal plans can be evaluated and screened, feasibility can be confirmed and the processing flow can be optimized, and the expected disposal effect can be evaluated.
[0162] For example, evacuation routes satisfy the following formula:
[0163] Where Q represents the evacuation route; p represents the candidate path; The weight corresponding to road segment e in the candidate path; The candidate path is the one with the minimum function value.
[0164] Figure 4 This is a schematic flowchart illustrating another emergency response method for pipeline leakage provided in an embodiment of this application. Figure 4 As shown, emergency response methods for pipeline leaks include: S401 is the scene evolution prediction process, including: S4011, Data Acquisition.
[0165] Specifically, emergency response equipment for pipeline leaks collects leak data and environmental data for later use.
[0166] S4012, Data Fusion.
[0167] Specifically, the emergency response equipment for pipeline leaks integrates the collected leak data and environmental data, that is, it integrates the data collected by different devices, and performs standardized processing and unified storage on the collected data.
[0168] S4013, Scenario Analysis.
[0169] Specifically, emergency response equipment for pipeline leaks analyzes standardized leak data and environmental data, extracts features of the current scenario, and identifies these features as characteristics of the pipeline leak.
[0170] S4014, Trend Forecasting.
[0171] Specifically, the emergency response equipment for pipeline leaks inputs the characteristics of the pipeline leak into a trained physical model, statistical model, and machine learning model to predict the diffusion trend of the leaking medium (i.e., the concentration field in this application).
[0172] S4015, Phase Division.
[0173] Specifically, emergency response equipment for pipeline leaks divides the spread trend into multiple development stages and identifies the current stage of the spread.
[0174] S402 is the emergency response plan generation process, which includes: S4021, Template Selection.
[0175] Specifically, the emergency response equipment for pipeline leaks selects the appropriate initial template (i.e., the initial template corresponding to the emergency plan template in this application) from a pre-established template library based on parameters such as the development stage and characteristics of the pipeline leak.
[0176] S4022, Parameter Adjustment.
[0177] Specifically, the emergency response equipment for pipeline leaks adjusts the parameters used in the adjustment strategy within the template based on the spread trend.
[0178] S4023, Content Generation.
[0179] Specifically, the emergency response equipment for pipeline leaks generates specific emergency response plans, which include multiple strategies for emergency response (i.e., the decision combination in this application).
[0180] S4024, Contingency Plan Assessment.
[0181] Specifically, the emergency response plan generated by the application of emergency response equipment for pipeline leaks undergoes a feasibility analysis, followed by an assessment of resource requirements and a check of the rationality of the timeline.
[0182] The feasibility analysis includes: technical feasibility, resource feasibility, environmental feasibility, economic feasibility, safety feasibility, and timeliness.
[0183] The assessment includes: a human resources needs assessment, which calculates the number of rescue personnel required based on the scope of impact and the number of people to be evacuated; a material resources needs assessment, which calculates the quantity of equipment and materials required based on the response measures and duration; and a time resources needs assessment, which calculates the required time based on the response process and key time nodes.
[0184] The process of checking the rationality of time nodes involves analyzing and identifying key nodes, checking the temporal relationships, and finally optimizing and adjusting the time.
[0185] For example, evaluation is performed using an evaluation model:
[0186] Where E is the comprehensive evaluation value; The weights corresponding to each evaluation indicator; The evaluation indicators are: technical feasibility, resource feasibility, environmental feasibility, economic feasibility, safety feasibility, and timeliness.
[0187] S4025, Contingency Plan Adjustment.
[0188] Specifically, the emergency response equipment for pipeline leaks will be adjusted based on the results of the emergency response plan assessment in S4024.
[0189] S403 optimizes the emergency response process, including: S4031, Real-time monitoring.
[0190] Specifically, after the emergency plan is implemented, the emergency response equipment for pipeline leaks tracks changes in concentration, monitors changes in environmental parameters, and records the response results in real time.
[0191] The recording of response effects includes calculating and recording effect indicators (such as concentration reduction effect, changes in the range of influence), and recording response time.
[0192] For example, the detection model satisfies the following formula:
[0193] in, The value is the monitoring value at time t. For smoothing coefficients, These are the observed values.
[0194] S4032, Feedback on Results.
[0195] Specifically, the assessment of emergency response equipment for pipeline leaks includes evaluating the effectiveness of the emergency plan, analyzing response efficiency, and identifying areas for optimization.
[0196] For example, feedback analysis satisfies the following formula:
[0197] in, This is a comprehensive feedback value; As weight; For each feedback indicator.
[0198] The feedback indicators include: concentration reduction effect (the degree to which the treatment measures reduce the carbon dioxide concentration), change in the scope of impact (the change in the scope of impact after treatment), response time (the time from the occurrence of the accident to the effective date of the treatment measures), resource utilization efficiency (the rationality and utilization rate of resource allocation), and treatment effect (a comprehensive evaluation of the overall treatment effect).
[0199] S4033, Dynamic adjustment.
[0200] Specifically, emergency response equipment for pipeline leaks involves adjusting personnel deployment, optimizing resource allocation, and updating rescue routes.
[0201] For example, resource allocation is optimized by selecting the resource allocation decision combination that maximizes the utility value. The scheduling optimization satisfies the following formula:
[0202] in, For resource allocation decisions; This is the utility value.
[0203] The utility values include: efficiency utility (the efficiency of resource allocation, such as response time and handling effect), cost utility (the cost-effectiveness ratio of resource allocation), security utility (the contribution of resource allocation to security), coverage utility (the degree of coverage of the affected area by resource allocation), and coordination utility (the coordination effect between different resources).
[0204] S4034, Effect Evaluation.
[0205] Specifically, the effectiveness of the adjusted emergency response plan is evaluated for the emergency response equipment used in handling pipeline leaks.
[0206] S4035, Contingency Plan Update.
[0207] Specifically, emergency response equipment for pipeline leaks should have updated response thresholds, adjusted timelines, and optimized handling plans.
[0208] For example, the parameter update satisfies the following formula:
[0209] in, For parameters, For learning rate, The objective function is denoted as .
[0210] For example, updated parameters include: hazardous concentration thresholds in concentration field prediction, threshold parameters in response parameters (such as evacuation thresholds and disposal thresholds), and anomaly monitoring thresholds in monitoring models.
[0211] Adjusting timeframes includes: adjusting time parameters in determining key timeframes, adjusting time arrangements in the response process, and adjusting time parameters in the time resource requirements assessment.
[0212] As can be seen from the above embodiments, this solution dynamically adjusts the emergency response plan parameters through real-time monitoring and effect evaluation to ensure the timeliness and effectiveness of the plan.
[0213] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0214] This application embodiment can divide the emergency response device for pipeline leaks into functional modules based on the above method example. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. Optionally, the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0215] Figure 5 A schematic diagram of an emergency response device for pipeline leaks, provided in an embodiment of this application, is shown. Figure 5 As shown, the emergency response device for pipeline leaks includes: a communication unit 501 and a processing unit 502; The communication unit 501 is used to acquire leakage data of the pipeline and environmental data near the leakage point.
[0216] Processing unit 502 is used to determine the characteristics of pipeline leakage based on leakage data and environmental data.
[0217] The processing unit 502 is also used to input the pipeline leakage features into a pre-trained concentration field prediction model to determine the concentration field corresponding to the pipeline leakage features, and to determine the development stage of the pipeline leakage corresponding to the pipeline leakage features based on the concentration field; the concentration field is used to represent the concentration of the leakage medium corresponding to multiple time and space coordinates.
[0218] The processing unit 502 is also used to determine the emergency response plan template for pipeline leaks based on the characteristics of the pipeline leak, the concentration field, the development stage, and a pre-established template library.
[0219] The processing unit 502 is also used to carry out emergency handling of pipeline leaks according to the emergency plan template, and to dynamically adjust and optimize the emergency plan template based on the real-time monitoring after the emergency handling; the emergency plan template includes specific response procedures, resource allocation and disposal measures.
[0220] In some embodiments, the processing unit 502 is specifically used for: Identify the template set corresponding to the development stage in the template library.
[0221] Based on the template set corresponding to the characteristics and development stage of pipeline leakage, determine the initial template corresponding to the emergency response plan template.
[0222] Based on the concentration field, adjust the parameters of the initial template corresponding to the emergency response plan template to obtain the emergency response plan template.
[0223] In some embodiments, the initial template corresponding to the emergency response plan template satisfies the following formula:
[0224] in, This is the initial template corresponding to the emergency response plan template; This is the template when the function value is maximized; m is the number of features in the pipeline leakage feature; This represents the weight corresponding to the j-th feature in the pipeline leakage characteristics; This refers to the i-th template in the template set corresponding to the development stage. This is the j-th feature among the pipeline leakage characteristics; This is the similarity function.
[0225] In some embodiments, the processing unit 502 is specifically used for: The diffusion range of the leaked medium and its impact on the environment are obtained from the concentration field. Based on the diffusion range and the impact, multiple parameters of the initial template corresponding to the emergency response plan template are adjusted to determine the initial template after parameter adjustment.
[0226] Based on the parameter optimization algorithm, the decision combinations in the initial template after parameter tuning are adjusted to determine the emergency response plan template; the parameter optimization algorithm is as follows:
[0227] Where X represents the decision combination; Let $i$ be the decision cost corresponding to the i-th decision in the decision combination. Let i be the i-th decision in the decision combination; In order to be in The decision combination that corresponds to the minimum.
[0228] In some embodiments, the concentration field prediction model is determined by: obtaining a training sample set; the training sample set includes: training samples and labels of the training samples; the training samples include historical pipeline leakage features; the labels of the training samples include the concentration fields corresponding to the historical pipeline leakage features; and training a fluid dynamics model, a data statistics model, and a machine learning model based on the training sample set to determine the concentration field prediction model.
[0229] In some embodiments, the processing unit 502 is specifically used for: Obtain the time difference between the current time and the leakage start time from the concentration field.
[0230] If the time difference is less than or equal to the first preset time, the development stage is determined as the initial stage.
[0231] If the time difference is greater than the first preset time and less than or equal to the second preset time, the development stage is determined to be the diffusion stage; the first preset time is less than the second preset time.
[0232] If the time difference is greater than the second preset time, the development stage is determined to be the stable stage.
[0233] In some embodiments, the processing unit 502 is specifically used for: Based on the leakage data, determine the leakage area, leakage rate, leakage direction, leakage pressure, leakage temperature, and leakage duration, and determine the meteorological parameters based on the environmental data.
[0234] The leakage area, leakage rate, leakage direction, leakage pressure, leakage temperature, leakage duration, and meteorological parameters are defined as characteristics of pipeline leakage.
[0235] In some embodiments, the processing unit 502 is specifically configured to: evacuate personnel from multiple areas according to the evacuation priorities corresponding to the multiple areas involved in the pipeline leak accident, and determine evacuation routes based on the weights of multiple candidate paths covered by the pipeline leak accident; the evacuation routes satisfy the following formula:
[0236] Where Q represents the evacuation route; p represents the candidate path; The weight corresponding to road segment e in the candidate path; The candidate path is the one with the minimum function value.
[0237] This application also provides a computer-readable storage medium, which includes computer-executable instructions that, when executed on a computer, cause the computer to perform the emergency handling method for pipeline leaks provided in the above embodiments.
[0238] This application also provides a computer program that can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program can implement the emergency handling method for pipeline leakage provided in the above embodiments.
[0239] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer-readable storage media and communication media, wherein communication media include any medium that facilitates the transmission of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.
[0240] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0241] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and other division methods may exist in actual implementation. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms. Units described as separate components may or may not be physically separate; components shown as units may be one physical unit or multiple physical units, i.e., they may be located in one place or distributed in multiple different places. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0242] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, in essence, or the part that contributes to general technology, or all or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0243] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for emergency handling of a pipe leak, characterized in that, The method comprises the following steps: acquiring leakage data of a pipeline leak and environmental data near a leakage point, and determining pipeline leakage characteristics according to the leakage data and the environmental data; inputting the pipeline leakage characteristics into a pre-trained concentration field prediction model to determine a concentration field corresponding to the pipeline leakage characteristics, and determining a development stage of the pipeline leak corresponding to the pipeline leakage characteristics according to the concentration field; the concentration field is used to represent the concentration of a leakage medium corresponding to a plurality of time and space coordinates; determining an emergency plan template for the pipeline leak according to the pipeline leakage characteristics, the concentration field, the development stage and a pre-established template library; performing emergency treatment on the pipeline leak according to the emergency plan template, and dynamically adjusting and optimizing the emergency plan template according to real-time monitoring after the emergency treatment; the emergency plan template comprises a specific response process, resource allocation and treatment measures.
2. The method of claim 1, wherein, The template library comprises a template set corresponding to different development stages; the determination of the emergency plan template for the pipeline leak according to the pipeline leakage characteristics, the concentration field, the development stage and the pre-established template library comprises the following steps: determining a template set corresponding to the development stage in the template library; determining an initial template corresponding to the emergency plan template according to the pipeline leakage characteristics and the template set corresponding to the development stage; adjusting parameters of the initial template corresponding to the emergency plan template according to the concentration field to obtain the emergency plan template.
3. The method of claim 2, wherein, The initial template corresponding to the emergency plan template satisfies the following formula: wherein, is an initial template corresponding to the emergency plan template; is a template with the maximum function value; m is the number of features in the pipeline leakage feature; is a weight corresponding to the jth feature in the pipeline leakage feature; is the ith template in the template set corresponding to the development stage; is the jth feature in the pipeline leakage feature; is a similarity function.
4. The method of claim 2, wherein, The initial template corresponding to the emergency plan template comprises a decision combination comprising a plurality of emergency plan decisions and a plurality of parameters; the adjustment of the parameters of the initial template corresponding to the emergency plan template according to the concentration field to obtain the emergency plan template comprises the following steps: obtaining a diffusion range of the leakage medium and an influence degree of the leakage medium on the environment from the concentration field, and adjusting a plurality of parameters of the initial template corresponding to the emergency plan template according to the diffusion range and the influence degree to determine an initial template after parameter adjustment; adjusting the decision combination in the initial template after parameter adjustment according to a parameter optimization algorithm to determine the emergency plan template; the parameter optimization algorithm is: wherein X is the decision combination; is the decision cost corresponding to the ith decision in the decision combination; is the ith decision in the decision combination; is the decision cost corresponding to the decision combination is the decision combination corresponding to the minimum.
5. The method of claim 1, wherein, The concentration field prediction model is determined by the following method: obtaining a training sample set; the training sample set comprises training samples and labels of the training samples; the training samples comprise historical pipeline leakage characteristics; the labels of the training samples comprise concentration fields corresponding to the historical pipeline leakage characteristics; training a fluid mechanics model, a data statistics model and a machine learning model based on the training sample set to determine the concentration field prediction model.
6. The method of claim 1, wherein, The development stage comprises an initial stage, a diffusion stage and a stable stage; the determination of the development stage of the pipeline leak corresponding to the pipeline leakage characteristics according to the concentration field comprises the following steps: obtaining a time difference value between a current time and a leakage start time from the concentration field; in a case where the time difference value is less than or equal to a first preset time, determining that the development stage is the initial stage; In a case where the time difference value is greater than the first preset time and less than or equal to a second preset time, the development stage is determined as a diffusion stage; the first preset time is less than the second preset time. In a case where the time difference value is greater than the second preset time, the development stage is determined as a stable stage.
7. The method of claim 1, wherein, The pipeline leakage feature is determined according to the leakage data and the environmental data, including: The leakage data is used to determine a leakage orifice area, a leakage rate, a leakage direction, a leakage orifice pressure, a leakage orifice temperature, and a leakage duration, and the environmental data is used to determine a meteorological parameter; The leakage orifice area, the leakage rate, the leakage direction, the leakage orifice pressure, the leakage orifice temperature, the leakage duration, and the meteorological parameter are determined as the pipeline leakage feature.
8. The method of claim 1, wherein, The emergency treatment of the pipeline leakage includes: According to evacuation priorities of multiple regions involved in the pipeline leakage accident, personnel in the multiple regions are evacuated, and an evacuation route is determined according to weights of multiple to-be-selected paths covered by the pipeline leakage accident; the evacuation route satisfies the following formula: Wherein, Q is the evacuation route; p is the candidate path; is the weight corresponding to the road section e in the candidate path; is the candidate path with the minimum function value.
9. An emergency handling device for a pipe leak, characterized in that including: a communication unit and a processing unit; The communication unit is configured to acquire leakage data of pipeline leakage and environmental data near a leakage point; The processing unit is configured to determine a pipeline leakage feature according to the leakage data and the environmental data; The processing unit is further configured to input the pipeline leakage feature into a pre-trained concentration field prediction model to determine a concentration field corresponding to the pipeline leakage feature, and determine a development stage of the pipeline leakage according to the concentration field; the concentration field is used to represent concentrations of a leakage medium corresponding to multiple time and space coordinates; The processing unit is further configured to determine an emergency plan template of the pipeline leakage according to the pipeline leakage feature, the concentration field, the development stage, and a pre-established template library; The processing unit is further configured to perform emergency treatment on the pipeline leakage according to the emergency plan template, and dynamically adjust and optimize the emergency plan template according to real-time monitoring after the emergency treatment; the emergency plan template includes a specific response process, resource allocation, and disposal measures.
10. An emergency response apparatus for a pipeline leak, characterized in that, including: a processor and a memory; The memory is configured to store one or more programs including computer execution instructions; when the pipeline leakage emergency treatment device is running, the processor executes the computer execution instructions stored in the memory, so that the pipeline leakage emergency treatment device executes the method in any one of claims 1 to 8.
Citation Information
Patent Citations
Natural gas long-distance pipeline leakage intelligent early warning system
CN119123335A
Petroleum pipeline leakage detection method and system
CN119468091A
CO2 conveying pipeline leakage prediction method and device
CN120650650A
Post-disaster decision scheme generation method based on case reasoning
CN120746476A
Method and apparatus for optimizing profit in predictive systems
US20150039552A1