Safety monitoring method and system based on hydrogen storage and transportation
By preprocessing the hydrogen storage container information data and training the multi-layer perceptron model, the problem of insufficient early warning capabilities in the existing hydrogen storage and transportation safety monitoring is solved, timely and accurate monitoring of hydrogen storage and transportation safety is achieved, and the monitoring efficiency is improved. Comprehensiveness and accuracy.
Patent Information
- Application Number
- CN202410442713.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-12
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-04-12
AI Technical Summary
The existing hydrogen storage and transportation safety monitoring lacks early warning capabilities and cannot capture potential safety hazards and abnormal situations in a timely manner, resulting in untimely monitoring responses.
By preprocessing the hydrogen storage container information data, a multi-layer perceptron model is constructed and improved, and trained based on the annotated sample set to obtain a hydrogen safety monitoring model to achieve prediction and monitoring of hydrogen storage and transportation safety.
It improves the timeliness and accuracy of early warning capabilities and safety monitoring responses in hydrogen storage and transportation situations, comprehensively perceives the status and characteristics of the hydrogen storage and transportation system, and ensures comprehensiveness and accuracy of monitoring.
Smart Images

Figure CN118088923B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hydrogen safety monitoring, and in particular to a safety monitoring method and system based on hydrogen storage and transportation. Background Art
[0002] With the rapid development of the hydrogen energy industry, many challenges are faced in the fields of hydrogen energy production, storage and transportation. Among them, high-pressure gaseous hydrogen storage is the most mature and commonly used hydrogen storage technology, with the characteristics of low cost, low energy consumption, easy dehydrogenation and wide working conditions. It mainly uses four types of gas cylinders made of different materials, Type I, Type II, Type III and Type IV, as hydrogen storage containers, which store gaseous hydrogen through high-pressure compression. However, hydrogen molecules are very small and are easy to leak during storage and use. The ignition point of hydrogen is only 585°C. When the content in the air is between 4% and 75%, it will explode when exposed to open flames. Therefore, hydrogen leakage must be monitored during use.
[0003] The current safety monitoring of hydrogen storage and use is mainly based on descriptive analysis of data, which lacks the ability to predict possible future events and cannot provide early warning of safety risks. At the same time, the current monitoring methods may have delays and cannot capture potential safety hazards and abnormal situations in a timely manner, resulting in untimely monitoring responses. Summary of the invention
[0004] The purpose of the present invention is to address the problems of low warning safety risk capability and untimely monitoring response caused by the lack of effective hydrogen storage and transportation safety monitoring means in the prior art, and propose a safety monitoring method and system based on hydrogen storage and transportation, by preprocessing the information data of the hydrogen storage container to obtain a calculation data set; obtaining a sample set, annotating the sample set and constructing and improving a multi-layer perceptron, training the optimal multi-layer perceptron based on the annotated sample set to obtain a hydrogen safety monitoring model, and then inputting the calculation data set into the hydrogen safety monitoring model for calculation, and the obtained hydrogen safety monitoring prediction results are used to monitor the safety of hydrogen storage and transportation, thereby improving the warning capability and safety capability under hydrogen storage and transportation conditions, and being able to fully perceive the state and characteristics of the hydrogen storage and transportation system, so that the monitoring response is timely and accurate, thereby improving the comprehensiveness and accuracy of monitoring.
[0005] In order to solve the above technical problems, the present invention provides a safety monitoring method based on hydrogen storage and transportation, comprising the following steps:
[0006] S1. Collecting parameter information of the hydrogen storage container based on the sensor to obtain information data of the hydrogen storage container;
[0007] S2, preprocessing the information data of the hydrogen storage container to obtain a calculation data set;
[0008] S3, constructing a sample set based on a public data repository, annotating the pressure change characteristics and temperature gradient characteristics of the sample set, and obtaining an annotated sample set;
[0009] S4, constructing a first multi-layer perceptron structure and training the optimal multi-layer perceptron structure based on the labeled sample set to obtain a hydrogen safety monitoring model;
[0010] S5. Taking the calculation data set as input, based on the hydrogen safety monitoring model, obtain the hydrogen safety monitoring prediction result and monitor the safety of hydrogen storage and transportation based on the hydrogen safety monitoring prediction result.
[0011] Preferably, the S1 comprises the following steps:
[0012] S11, acquiring first information data and second information data of the hydrogen storage container based on the first sensor and the second sensor;
[0013] S12: Integrate the first information data and the second information data to obtain hydrogen storage container information data.
[0014] Preferably, S2 comprises:
[0015] S21, analyzing the information data of the hydrogen storage container to obtain data attributes;
[0016] S22, performing correlation calculation on the hydrogen storage container information data based on data attributes to obtain hydrogen storage container correlation data;
[0017] S23, based on the hydrogen storage container relevance data, classifying the hydrogen storage container information data through the Tanh activation function to obtain classified data;
[0018] S24. Perform proofreading and normalization operations on the classified data to generate a calculation data set.
[0019] Preferably, the S24 comprises the following steps:
[0020] S241, checking and stratifying the classified data to obtain stratified classified data;
[0021] S242, processing the hierarchical classification data and transmitting it to the target data warehouse;
[0022] S243, performing standard deviation normalization processing on the target data warehouse to obtain normalized data and thus obtain a calculation data set.
[0023] Preferably, S3 comprises the following steps:
[0024] S31, building a sample set by obtaining public data repositories;
[0025] S32, analyzing the time series of the sample set according to data attributes to obtain pressure change periodicity characteristics and pressure change trends to obtain pressure change characteristics;
[0026] S33, performing statistics on the temperature gradients at different positions in the hydrogen storage container information data according to the data attributes to obtain temperature gradient characteristics;
[0027] S34. Annotate the pressure change characteristics and the temperature gradient characteristics in the sample set to obtain an annotated sample set.
[0028] Preferably, S4 comprises the following steps:
[0029] S41, constructing a set of first multilayer perceptron structures, training and evaluating the first multilayer perceptron structures by labeling the sample set, and obtaining the fitness value of each individual and a second multilayer perceptron structure;
[0030] S42, based on the fitness value, the second multilayer perceptron structure is selected as the parent generation to perform a crossover operation to obtain a first child individual, wherein the crossover operation is a multi-point crossover;
[0031] S43, performing a mutation operation on the first offspring individual to generate a second offspring individual;
[0032] S44, integrating the second offspring individuals with the second multilayer perceptron structure to obtain a multilayer perceptron population;
[0033] S45, performing crossover operation and mutation operation on the multilayer perceptron population in sequence until the maximum number of iterations is reached, and outputting the final population;
[0034] S46. Select the individual with the highest fitness in the final population as the optimal multi-layer perceptron structure;
[0035] S47. Train the optimal multi-layer perceptron structure based on the labeled sample set to obtain a hydrogen safety monitoring model.
[0036] Preferably, the mutation operation includes changing the neuron connection weights, modifying the activation function and adjusting the number of neurons.
[0037] Preferably, S5 comprises the following steps:
[0038] S51, taking the calculation data set as input, and obtaining a hydrogen safety monitoring prediction result based on a hydrogen safety monitoring model;
[0039] S52, analyzing the hydrogen safety monitoring prediction results to obtain safety hazard prediction results and abnormal situation prediction results;
[0040] S53. Monitor the safety of hydrogen storage and transportation based on the safety hazard prediction results and abnormal situation prediction results.
[0041] The present invention also provides a safety monitoring system based on hydrogen storage and transportation:
[0042] The safety monitoring system based on hydrogen storage and transportation includes a data acquisition module, a sample set processing module, a preprocessing module, a model building module and a result generation module;
[0043] The data acquisition module collects parameter information of the hydrogen storage container through a sensor to obtain hydrogen storage container information data; the preprocessing module is used to preprocess the hydrogen storage container information data to obtain a calculation data set; the sample set processing module obtains a sample set through a public data repository, annotates the pressure change characteristics and temperature gradient characteristics of the sample set, and obtains a labeled sample set; the model construction module is used to construct a first multi-layer perceptron structure and train the optimal multi-layer perceptron structure based on the labeled sample set to obtain a hydrogen safety monitoring model; the result generation module is used to input the calculation data set into the hydrogen safety monitoring model for calculation, obtain a hydrogen safety monitoring prediction result, and monitor the safety of hydrogen storage and transportation based on the hydrogen safety monitoring prediction result.
[0044] Beneficial effects of the present invention:
[0045] 1. This scheme preprocesses the information data of the hydrogen storage container to obtain a calculation data set; obtains a sample set, labels the sample set and constructs and improves a multi-layer perceptron, trains the optimal multi-layer perceptron based on the labeled sample set, obtains a hydrogen safety monitoring model, and then inputs the calculation data set into the hydrogen safety monitoring model for calculation. The obtained hydrogen safety monitoring prediction results monitor the safety of hydrogen storage and transportation, thereby improving the early warning capability and safety capability under hydrogen storage and transportation conditions, and can fully perceive the status and characteristics of the hydrogen storage and transportation system, so that the monitoring response is timely and accurate, thereby improving the comprehensiveness and accuracy of monitoring.
[0046] 2. This solution collects parameter information of hydrogen storage containers through sensors. The sensors can monitor key parameters of hydrogen storage containers in real time, such as hydrogen concentration, pressure, temperature, etc., to ensure the safety and stability of the hydrogen storage process, adapt to changes and uncertainties in different environments, and improve the flexibility and adaptability of the system. Through real-time data collection, sensors can promptly detect potential safety hazards, such as hydrogen leakage, abnormal pressure, etc., and then take corresponding early warning and response measures to prevent accidents.
[0047] 3. This solution can correct or delete erroneous, abnormal or duplicate data by preprocessing the hydrogen storage container information data, thereby ensuring the accuracy and consistency of the data. This helps the accuracy and reliability of subsequent analysis. The preprocessing process may include feature extraction and selection, which helps to extract important information for hydrogen storage container performance and safety assessment from the raw data. These features can be used as input for subsequent analysis to improve the pertinence and effectiveness of the analysis.
[0048] 4. This solution builds a sample set by acquiring public data repositories, which can enrich the types and quantity of samples and provide more comprehensive support for subsequent data analysis and model training. At the same time, the data in public data repositories are usually strictly screened and reviewed, and have high quality and reliability. Such data as sample sets can improve the accuracy and credibility of data analysis and reduce the deviation of analysis results caused by data quality issues.
[0049] 5. This scheme uses pressure change characteristics and temperature gradient characteristics to mark the sample set, which enables the multi-layer perceptron structure to more accurately identify and understand these key information. These characteristics are crucial for the performance analysis and safety assessment of hydrogen storage containers. By using these characteristics as input to the model, the model can better learn the inherent laws and patterns of the data, thereby improving the accuracy of prediction and classification.
[0050] 6. This scheme can simultaneously learn multi-dimensional features, including pressure, temperature, humidity and other monitoring indicators, by constructing a multi-layer perceptron structure and obtaining a hydrogen safety monitoring model. It can fully perceive the status and characteristics of the hydrogen storage and transportation system, and improve the comprehensiveness and accuracy of monitoring. At the same time, the multi-layer perceptron structure has a strong feature extraction capability, which helps to improve the performance of the model, enabling it to more accurately identify potential safety hazards.
[0051] 7. This solution monitors the safety of hydrogen storage and transportation through the hydrogen safety monitoring model, which can provide a comprehensive safety monitoring and early warning system. These data can be used to analyze and evaluate the trend and frequency of hydrogen leakage, providing a reference for improving safety measures. At the same time, regular model testing and calibration work can ensure the normal operation and accuracy of the equipment, timely detect and eliminate potential faults, and improve the reliability and stability of the safety monitoring system. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Other features, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings. The drawings are only for the purpose of illustrating preferred embodiments and are not to be considered as limiting the present invention. Also, the same reference symbols are used throughout the drawings to represent the same parts.
[0053] Figure 1The figure is a flow chart of the safety monitoring method based on hydrogen storage and transportation of the present invention.
[0054] Figure 2 It is a schematic diagram of the safety monitoring system based on hydrogen storage and transportation of the present invention. DETAILED DESCRIPTION
[0055] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific implementation method described herein is only an optimal embodiment of the present invention, which is only used to explain the present invention and does not limit the scope of protection of the present invention. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0056] Example 1: Figure 1 As shown, the safety monitoring method based on hydrogen storage and transportation includes the following steps:
[0057] S1. Collect parameter information of the hydrogen storage container based on the sensor to obtain information data of the hydrogen storage container.
[0058] Specifically, S1 includes the following steps:
[0059] S11, acquiring first information data and second information data of the hydrogen storage container based on the first sensor and the second sensor;
[0060] S12: Integrate the first information data and the second information data to obtain hydrogen storage container information data.
[0061] In this embodiment, the sensor collects parameter information of the hydrogen storage container, and the sensor can monitor the key parameters of the hydrogen storage container in real time, such as hydrogen concentration, pressure, temperature, etc., so as to ensure the safety and stability of the hydrogen storage process, adapt to changes and uncertainties in different environments, and improve the flexibility and adaptability of the system. Through real-time data collection, the sensor can promptly detect potential safety hazards, such as hydrogen leakage, abnormal pressure, etc., and then take corresponding early warning and response measures to prevent accidents.
[0062] It can be understood that the first sensor and the second sensor can be pressure sensors, temperature sensors, posture sensors, etc., and the first information data and the second information data can be pressure data, temperature data, posture data, etc. The pressure data, temperature data, posture data, etc. are integrated to obtain the hydrogen storage container information data.
[0063] S2. Preprocess the hydrogen storage container information data to obtain a calculation data set.
[0064] Specifically, S2 includes the following steps:
[0065] S21, analyzing the information data of the hydrogen storage container to obtain data attributes;
[0066] S22, performing correlation calculation on the hydrogen storage container information data based on the data attributes to obtain hydrogen storage container correlation data;
[0067] S23, based on the hydrogen storage container relevance data, classifying the hydrogen storage container information data by using a Tanh activation function to obtain classified data;
[0068] S24, performing proofreading and normalization operations on the classified data to generate a calculation data set.
[0069] Specifically, S24 includes the following steps:
[0070] S241, checking and stratifying the classified data to obtain stratified classified data;
[0071] S242, processing the hierarchical classification data and transmitting it to the target data warehouse;
[0072] S243, performing standard deviation normalization processing on the target data warehouse to obtain normalized data and thus obtain a calculation data set.
[0073] In this embodiment, by preprocessing the hydrogen storage container information data, erroneous, abnormal or duplicate data can be corrected or deleted, thereby ensuring the accuracy and consistency of the data. This helps the accuracy and reliability of subsequent analysis. The preprocessing process may include feature extraction and selection, which helps to extract important information for the performance and safety assessment of the hydrogen storage container from the original data. These features can be used as input for subsequent analysis to improve the pertinence and effectiveness of the analysis.
[0074] S3. Building a sample set based on a public data repository, annotating the pressure change characteristics and temperature gradient characteristics of the sample set, and obtaining an annotated sample set.
[0075] Specifically, S3 includes the following steps:
[0076] S31, building a sample set by obtaining public data repositories;
[0077] S32, analyzing the time series of the sample set according to the data attributes to obtain pressure change periodicity characteristics and pressure change trends to obtain pressure change characteristics;
[0078] S33, performing statistics on the temperature gradients at different positions in the hydrogen storage container information data according to the data attributes to obtain temperature gradient characteristics;
[0079] S34: Annotate the pressure change characteristics and the temperature gradient characteristics in a sample set to obtain an annotated sample set.
[0080] In this embodiment, by obtaining a public data repository to build a sample set, the types and quantity of samples can be enriched, providing more comprehensive support for subsequent data analysis and model training. At the same time, the data in the public data repository is usually strictly screened and reviewed, and has high quality and reliability. Such data as a sample set can improve the accuracy and credibility of data analysis and reduce the deviation of analysis results caused by data quality problems.
[0081] The sample set is also annotated with pressure change features and temperature gradient features, which enables the multi-layer perceptron structure to more accurately identify and understand these key information. These features are essential for the performance analysis and safety assessment of hydrogen storage containers. By using these features as input to the model, the model can better learn the inherent laws and patterns of the data, thereby improving the accuracy of prediction and classification.
[0082] S4. Construct a first multi-layer perceptron structure and train the optimal multi-layer perceptron structure based on the labeled sample set to obtain a hydrogen safety monitoring model.
[0083] Specifically, S4 includes the following steps:
[0084] S41, constructing a set of first multilayer perceptron structures, training and evaluating the first multilayer perceptron structures through the labeled sample set, and obtaining the fitness value of each individual and a second multilayer perceptron structure;
[0085] S42, based on the fitness value, a second multilayer perceptron structure is selected as a parent to perform a crossover operation to obtain a first offspring individual, wherein the crossover operation is a multi-point crossover;
[0086] S43, performing a mutation operation on the first offspring individual to generate a second offspring individual;
[0087] S44, integrating the second offspring individuals with the second multilayer perceptron structure to obtain a multilayer perceptron population;
[0088] S45, performing crossover operation and mutation operation on the multilayer perceptron population in sequence until a maximum number of iterations is reached, and outputting a final population;
[0089] S46, selecting the individual with the highest fitness in the final population as the optimal multi-layer perceptron structure;
[0090] S47. Training an optimal multi-layer perceptron structure based on the labeled sample set to obtain a hydrogen safety monitoring model.
[0091] Specifically, mutation operations include changing neuron connection weights, modifying activation functions, and adjusting the number of neurons.
[0092] In this embodiment, by constructing a multi-layer perceptron structure and obtaining a hydrogen safety monitoring model, multi-dimensional features can be learned simultaneously, including multiple monitoring indicators such as pressure, temperature, and humidity, and the state and characteristics of the hydrogen storage and transportation system can be fully perceived, thereby improving the comprehensiveness and accuracy of monitoring. At the same time, the multi-layer perceptron structure has a powerful feature extraction capability, which helps to improve the performance of the model, enabling it to more accurately identify potential safety hazards. Through optimization methods such as genetic algorithms and gradient descent algorithms, the convergence speed and accuracy of the model can be improved.
[0093] It is understandable that genetic algorithm is an optimization algorithm based on population search, which can find the optimal solution in the entire solution space, rather than just in a local area. This makes genetic algorithm particularly suitable for dealing with complex and nonlinear problems. Genetic algorithm can be executed in parallel, which makes it possible to search for excellent solutions faster in a multi-processor or distributed environment. In addition, genetic algorithm is easy to mix with other technologies and has scalability.
[0094] S5. Taking the calculation data set as input, based on the hydrogen safety monitoring model, obtain the hydrogen safety monitoring prediction result and monitor the safety of hydrogen storage and transportation based on the hydrogen safety monitoring prediction result.
[0095] Specifically, S5 includes the following steps:
[0096] S51, taking the calculation data set as input, and obtaining a hydrogen safety monitoring prediction result based on a hydrogen safety monitoring model;
[0097] S52, analyzing the hydrogen safety monitoring prediction results to obtain safety hazard prediction results and abnormal situation prediction results;
[0098] S53. Monitoring the safety of hydrogen storage and transportation based on the safety hazard prediction results and abnormal situation prediction results.
[0099] In this embodiment, the hydrogen safety monitoring model monitors the safety of hydrogen storage and transportation, and can provide a comprehensive safety monitoring and early warning system. These data can be used to analyze and evaluate the trend and frequency of hydrogen leakage, providing a reference for improving safety measures. At the same time, regular model testing and calibration work can ensure the normal operation and accuracy of the equipment, timely discover and eliminate potential faults, and improve the reliability and stability of the safety monitoring system.
[0100] The present invention also provides a safety monitoring system based on hydrogen storage and transportation: the safety monitoring system based on hydrogen storage and transportation includes a data acquisition module, a sample set processing module, a preprocessing module, a model building module and a result generation module; the data acquisition module collects parameter information of a hydrogen storage container through a sensor to obtain hydrogen storage container information data; the preprocessing module is used to preprocess the hydrogen storage container information data to obtain a calculation data set; the sample set processing module obtains a sample set through a public data repository, annotates the pressure change characteristics and temperature gradient characteristics of the sample set, and obtains a labeled sample set; the model building module is used to construct a first multi-layer perceptron structure and train the optimal multi-layer perceptron structure based on the labeled sample set to obtain a hydrogen safety monitoring model; the result generation module is used to input the calculation data set into the hydrogen safety monitoring model for calculation, obtain a hydrogen safety monitoring prediction result, and monitor the safety of hydrogen storage and transportation based on the hydrogen safety monitoring prediction result.
[0101] This embodiment preprocesses the information data of the hydrogen storage container to obtain a calculation data set; obtains a sample set, labels the sample set and constructs and improves a multi-layer perceptron, trains the optimal multi-layer perceptron based on the labeled sample set, obtains a hydrogen safety monitoring model, and then inputs the calculation data set into the hydrogen safety monitoring model for calculation. The obtained hydrogen safety monitoring prediction results are used to monitor the safety of hydrogen storage and transportation, thereby improving the early warning capability and safety capability under hydrogen storage and transportation conditions, and can fully perceive the status and characteristics of the hydrogen storage and transportation system, so that the monitoring response is timely and accurate, thereby improving the comprehensiveness and accuracy of monitoring.
[0102] Furthermore, Example 2 is an extension of Example 1, and is specifically as follows: Figure 1 As shown, this embodiment provides a method for monitoring the safety of hydrogen storage and use, including:
[0103] As energy transformation advances, hydrogen, as a clean and efficient form of energy, has received increasing attention. In terms of monitoring hydrogen storage containers, this embodiment proposes a sensor-based and machine learning method to improve the safety of hydrogen storage and use.
[0104] Collect parameter information of the hydrogen storage container based on the sensor to obtain data of the hydrogen storage container;
[0105] Preprocess the data of the hydrogen storage container to obtain the data set to be calculated;
[0106] Acquire a sample set, and annotate the pressure change characteristics and temperature gradient characteristics of the sample set to obtain an annotated sample set;
[0107] Constructing and improving a multilayer perceptron, and training the improved multilayer perceptron based on the labeled sample set to obtain a hydrogen monitoring model;
[0108] The data set to be calculated is input into the hydrogen monitoring model for calculation to obtain the hydrogen storage and utilization prediction result, and the hydrogen storage and utilization safety is monitored based on the hydrogen storage and utilization prediction result.
[0109] First, this embodiment uses sensors to collect key parameters of the hydrogen storage container in real time, including pressure, temperature, etc. These parameters are important bases for evaluating the status of the hydrogen storage container. Through the data collected by the sensors, this embodiment can understand the operating status of the hydrogen storage container in real time.
[0110] The collected data needs to be preprocessed to eliminate interference factors such as noise and outliers and improve data quality. The preprocessed data will be used as the data set to be calculated, providing a basis for subsequent analysis and modeling.
[0111] In order to construct a hydrogen monitoring model, this embodiment needs to obtain a sample set and annotate the pressure change characteristics and temperature gradient characteristics of the sample set. The annotation process needs to accurately classify and annotate each feature in the sample set based on professional knowledge to form an annotated sample set.
[0112] In terms of model construction, this embodiment selects a multilayer perceptron (MLP) as the basic model. MLP is a commonly used neural network model with good nonlinear mapping capabilities and is suitable for processing complex pattern recognition problems. Multilayer perceptrons have excellent adaptability and generalization capabilities, and can process unseen data and make accurate predictions. This means that the hydrogen safety monitoring model can be applied to different environments and conditions, not just limited to the scope covered by the training data. This generalization ability makes the model more reliable and effective in practical applications.
[0113] Based on the labeled sample set, the present embodiment trains the improved MLP to obtain a hydrogen monitoring model. During the training process, the present embodiment uses optimization methods such as a gradient descent algorithm to improve the convergence speed and accuracy of the model.
[0114] By training the multi-layer perceptron, the connection weights can be automatically adjusted to optimize the prediction performance. This means that the model can continuously learn and improve to better adapt to changes in the hydrogen environment. This optimization capability helps to improve the accuracy and reliability of the model, enabling it to better ensure hydrogen safety. In order to improve the performance of the model, this embodiment improves the MLP, including adjusting the network structure, optimizing parameters, etc.
[0115] Finally, this embodiment inputs the calculated data set into the hydrogen monitoring model for calculation to obtain the hydrogen storage and utilization prediction results. These prediction results can provide this embodiment with important information about the safety of hydrogen storage containers, help this embodiment to timely discover potential safety hazards, and take corresponding measures to prevent them.
[0116] To further optimize the solution, the parameter information of the hydrogen storage container is collected based on the sensor. The process of obtaining the data of the hydrogen storage container includes:
[0117] Deploy pressure sensors and temperature sensors to the delivery port and outside of the hydrogen storage container to obtain pressure data and temperature data; obtain the position data of the hydrogen storage container through the attitude sensor; integrate the pressure data, temperature data and position data to obtain the data of the hydrogen storage container.
[0118] To further optimize the scheme, the data of the hydrogen storage container is preprocessed, and the process of obtaining the data set to be calculated includes:
[0119] The data of the hydrogen storage container is analyzed to obtain data attributes; the correlation of the data of the hydrogen storage container is calculated based on the data attributes to obtain the correlation data of the hydrogen storage container; the data of the hydrogen storage container is classified based on the correlation data of the hydrogen storage container and the Tanh activation function to obtain classified data; the classified data is proofread and normalized to obtain the data set to be calculated.
[0120] To further optimize the solution, calibrate and normalize the classified data, the process of obtaining the data set to be calculated includes:
[0121] Check the consistency of classified data and stratify the data; perform data conversion and data cleaning on the stratified data, load the processed data and transfer it to the target data warehouse; perform standard deviation normalization on the data stored in the target data warehouse to obtain normalized data.
[0122] Further optimize the scheme, obtain the sample set, and annotate the pressure change characteristics and temperature gradient characteristics of the sample set. The process of obtaining the annotated sample set includes:
[0123] The time series of the sample set is analyzed based on data attributes to obtain the periodic characteristics of pressure changes and the pressure change trend, and then integrated to obtain the pressure change characteristics. The temperature gradients at different positions in the sample set are statistically analyzed based on data attributes to obtain the temperature gradient characteristics. The pressure change characteristics and temperature gradient characteristics are fed back to the sample set for annotation to obtain the annotated sample set.
[0124] The process of further optimizing the scheme, constructing and improving the multilayer perceptron, and training the improved multilayer perceptron based on the labeled sample set to obtain the hydrogen monitoring model includes:
[0125] Construct a set of initial multilayer perceptron structures, train a set of initial multilayer perceptron structures through labeled sample sets, and evaluate the performance to obtain the fitness value of each individual and the trained multilayer perceptron structure; select part of the trained multilayer perceptron structures as parents based on the fitness value of each individual to perform crossover operation to obtain newly generated offspring individuals, wherein the crossover operation is a multi-point crossover; perform mutation operation on the newly generated offspring individuals to generate processed offspring individuals; integrate the processed offspring individuals with the trained multilayer perceptron structure to obtain a new multilayer perceptron population; perform crossover operation and mutation operation on the new multilayer perceptron population in turn until the maximum number of iterations is reached and the final population is obtained; select the individual with the highest fitness in the final population as the optimal multilayer perceptron structure.
[0126] The specific steps are:
[0127] S1. Randomly generate a set of initial multilayer perceptron structures, including the initial values of parameters such as the number of neurons, number of layers, and activation function.
[0128] S2. Use the training data set to train each individual (i.e. each multilayer perceptron structure) and evaluate its performance on the validation set or cross-validation set. This performance indicator is usually classification accuracy, regression error, etc.
[0129] S3. According to the fitness value of each individual, a part of individuals are selected as the parents of the next generation according to a certain selection strategy (such as roulette selection, tournament selection, etc.).
[0130] S4. Randomly select a pair of individuals from the selected parent generation and perform a crossover operation to generate new offspring individuals. The crossover operation can be a single-point crossover, a multi-point crossover, etc.
[0131] S5. Perform a mutation operation with a certain probability on the newly generated offspring individuals to increase the diversity of the population. The mutation operation can be to change the neuron connection weight, modify the activation function, adjust the number of neurons, etc.
[0132] S6. Replace the newly generated offspring individuals with a part of the individuals in the original population to form a new population.
[0133] S7. Repeat steps 2-6 until the stopping condition is reached (such as reaching the maximum number of iterations, the fitness reaching a certain threshold, etc.).
[0134] S8. After stopping the iteration, select the individual with the highest fitness from the final population as the optimal multilayer perceptron structure.
[0135] S9. Use the training data set to retrain the optimal individual to further improve its performance.
[0136] The optimal multi-layer perceptron structure is trained based on the labeled sample set to obtain the hydrogen monitoring model.
[0137] To further optimize the scheme, the process of performing mutation operations on the newly generated offspring individuals includes but is not limited to changing the neuron connection weights, modifying the activation function, and adjusting the number of neurons.
[0138] To further optimize the scheme, the data set to be calculated is input into the hydrogen monitoring model for calculation. The process of obtaining the hydrogen storage and utilization prediction results includes:
[0139] The data set to be calculated is input into the hydrogen monitoring model for calculation to generate hydrogen safety monitoring prediction results; the hydrogen safety monitoring prediction results are interpreted to obtain safety hazard prediction results and abnormal situation prediction results; based on the safety hazard prediction results and abnormal situation prediction results, the safety of hydrogen storage and operation is monitored.
[0140] Further, Example 3 is a detailed explanation (principle, etc.) of the effect, purpose or certain feature of Example 1, such as Figure 2 As shown, in this embodiment, a hydrogen storage and operation safety monitoring system is provided, including:
[0141] A data acquisition module, used to collect parameter information of the hydrogen storage container based on the sensor to obtain data of the hydrogen storage container;
[0142] A preprocessing module, used to preprocess the data of the hydrogen storage container to obtain a data set to be calculated;
[0143] A sample set processing module is used to obtain a sample set, annotate the pressure change characteristics and temperature gradient characteristics of the sample set, and obtain an annotated sample set;
[0144] A model building module is used to build and improve a multi-layer perceptron, train the improved multi-layer perceptron based on a labeled sample set, and obtain a hydrogen monitoring model;
[0145] The result generation module is used to input the data set to be calculated into the hydrogen monitoring model for calculation, obtain the hydrogen storage and utilization prediction results, and monitor the safety of hydrogen storage and utilization based on the hydrogen storage and utilization prediction results.
[0146] The above specific embodiments are preferred embodiments of the present invention, and are not intended to limit the specific implementation scope of the present invention. The scope of the present invention includes but is not limited to the present specific embodiments. All equivalent changes made in accordance with the shape, structure, and method of the present invention are within the protection scope of the present invention.
Claims
1. A safety monitoring method based on hydrogen storage and transportation, characterized in that: The steps include: S1. Collecting parameter information of the hydrogen storage container based on the sensor to obtain information data of the hydrogen storage container; S2, preprocessing the information data of the hydrogen storage container to obtain a calculation data set; S21, analyzing the information data of the hydrogen storage container to obtain data attributes; S22, performing correlation calculation on the hydrogen storage container information data based on data attributes to obtain hydrogen storage container correlation data; S23, based on the hydrogen storage container relevance data, classifying the hydrogen storage container information data through the Tanh activation function to obtain classified data; S24, performing proofreading and normalization operations on the classified data to generate a calculation data set; S241, checking and stratifying the classified data to obtain stratified classified data; S242, processing the hierarchical classification data and transmitting it to the target data warehouse; S243, performing standard deviation normalization processing on the target data warehouse to obtain normalized data and thus obtain a calculation data set; S3, constructing a sample set based on a public data repository, annotating the pressure change characteristics and temperature gradient characteristics of the sample set, and obtaining an annotated sample set; S31, building a sample set by obtaining public data repositories; S32, analyzing the time series of the sample set according to the data attributes, obtaining the periodic characteristics of pressure changes and the pressure change trend, thereby obtaining the pressure change characteristics; S33, performing statistics on the temperature gradients at different positions in the hydrogen storage container information data according to the data attributes to obtain temperature gradient characteristics; S34, marking the pressure change characteristics and the temperature gradient characteristics in the sample set to obtain a marked sample set; S4, constructing a first multi-layer perceptron structure and training the optimal multi-layer perceptron structure based on the labeled sample set to obtain a hydrogen safety monitoring model; S41, constructing a set of first multilayer perceptron structures, training and evaluating the first multilayer perceptron structures by labeling the sample set, and obtaining the fitness value of each individual and a second multilayer perceptron structure; S42, based on the fitness value, the second multilayer perceptron structure is selected as the parent generation to perform a crossover operation to obtain a first child individual, wherein the crossover operation is a multi-point crossover; S43, performing a mutation operation on the first offspring individual to generate a second offspring individual; S44, integrating the second offspring individuals with the second multilayer perceptron structure to obtain a multilayer perceptron population; S45, performing crossover operation and mutation operation on the multilayer perceptron population in sequence until the maximum number of iterations is reached, and outputting the final population; S46. Select the individual with the highest fitness in the final population as the optimal multi-layer perceptron structure; S47. Training the optimal multi-layer perceptron structure based on the labeled sample set to obtain a hydrogen safety monitoring model; S5. Taking the calculation data set as input, based on the hydrogen safety monitoring model, obtain the hydrogen safety monitoring prediction result and monitor the safety of hydrogen storage and transportation based on the hydrogen safety monitoring prediction result.
2. The safety monitoring method based on hydrogen storage and transportation according to claim 1 is characterized in that: The S1 comprises the following steps: S11, acquiring first information data and second information data of the hydrogen storage container based on the first sensor and the second sensor; S12: Integrate the first information data and the second information data to obtain hydrogen storage container information data.
3. The safety monitoring method based on hydrogen storage and transportation according to claim 1 is characterized in that: The mutation operation includes changing the neuron connection weights, modifying the activation function and adjusting the number of neurons.
4. The safety monitoring method based on hydrogen storage and transportation according to claim 1 is characterized in that: The S5 comprises the following steps: S51, taking the calculation data set as input, and obtaining a hydrogen safety monitoring prediction result based on a hydrogen safety monitoring model; S52, analyzing the hydrogen safety monitoring prediction results to obtain safety hazard prediction results and abnormal situation prediction results; S53. Monitor the safety of hydrogen storage and transportation based on the safety hazard prediction results and abnormal situation prediction results.
5. A safety monitoring system based on hydrogen storage and transportation, applicable to a safety monitoring method based on hydrogen storage and transportation as claimed in any one of claims 1 to 4, characterized in that: The safety monitoring system based on hydrogen storage and transportation includes a data acquisition module, a sample set processing module, a preprocessing module, a model building module and a result generation module; The data acquisition module collects parameter information of the hydrogen storage container through sensors to obtain information data of the hydrogen storage container; A preprocessing module, used to preprocess the hydrogen storage container information data to obtain a calculation data set; The sample set processing module obtains a sample set through a public data repository, annotates the pressure change characteristics and temperature gradient characteristics of the sample set, and obtains an annotated sample set; A model building module, used to build a first multi-layer perceptron structure and train the optimal multi-layer perceptron structure based on the labeled sample set to obtain a hydrogen safety monitoring model; The result generation module is used to input the calculation data set into the hydrogen safety monitoring model for calculation, obtain the hydrogen safety monitoring prediction result, and monitor the safety of hydrogen storage and transportation based on the hydrogen safety monitoring prediction result.
