A data integration method based on object data model

Through the data integration method based on the object data model, the AND gate circuit logic method and the multi-layer perceptron model are used to classify and risk assess the modification additives and raw materials, solving the problem of secondary addition of impurities in the modification process, and realizing the petroleum Safe and reliable product modification.

CN118430702BActive Publication Date: 2024-09-20SHANDONG YUNKE HANWEI SOFTWARE CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202410882438.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-09-20
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

In the petroleum processing process, improper use of additives during modification treatment will lead to the secondary addition of impurities, causing equipment corrosion and environmental pollution, and damaging the company's interests.

Method used

Using a data integration method based on the object data model, by collecting data on modifying additives and raw materials, using AND gate circuit logic and multi-layer perceptron models for classification and risk assessment, appropriate modifying additives are matched for modification processing, and High-risk raw materials are remedially processed by the blending method.

Benefits of technology

It effectively reduces the risks of petroleum products, avoids the mixing of impurities and equipment corrosion, and improves the safety and reliability of the modification process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118430702B
    Figure CN118430702B
Patent Text Reader

Abstract

The present invention discloses a data integration method based on an object data model, relates to the technical field of data analysis, and is used to solve the problem that during the pretreatment of oil processing, impurities are removed by hydrogenation and then the oil is reformed to improve the quality of the oil. Improper use of additives during the reforming treatment may cause secondary addition of impurities, leading to impurity mixing and equipment corrosion. The method comprises the following steps: analyzing and classifying reforming additive data by using an AND gate circuit logic method; classifying raw materials by calculating the covariance based on raw material data as a raw material classification threshold; and reforming the reforming additives after classifying and matching the raw materials; and collecting matched processing feedback data and processing equipment data, and constructing a risk assessment model by integrating the processing feedback data and the processing equipment data, and making remedial adjustments to oil products with higher risks, thereby reducing the risks of oil products.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data analysis, and more specifically, to a data integration method based on an object data model. Background Art

[0002] Data governance technology is a series of methods and tools used to manage and control enterprise data assets. Its main goal is to ensure the availability, integrity, security and compliance of data. Data quality risk control, as an aspect of data governance technology, is applied in the oil industry to make oil processing safer and more reliable.

[0003] The prior art has the following deficiencies:

[0004] During the pre-processing of oil, hydrogen is added to remove impurities and then the oil is modified to improve its quality. Improper use of additives during the modification process can cause the secondary addition of impurities, leading to problems such as impurity mixing and equipment corrosion, causing company profit losses and environmental problems.

[0005] In view of the above problems, the present invention proposes a solution. Summary of the invention

[0006] In order to overcome the above-mentioned defects of the prior art, an embodiment of the present invention provides a data integration method based on an object data model to solve the problems raised in the above-mentioned background technology.

[0007] To achieve the above object, the present invention provides the following technical solutions:

[0008] A data integration method based on an object data model comprises the following steps:

[0009] Step S1, collecting modification additive data and raw material data;

[0010] Step S2, using AND gate circuit logic method to analyze and classify the data of the modified additives, calculating the covariance according to the raw material data as the raw material classification threshold to classify the raw materials, and performing modification processing after classifying and matching the modified additives with the raw materials;

[0011] Step S3, collecting processing feedback data and processing equipment data after the modification process, and constructing a risk assessment model through a multi-layer perceptron based on the processing feedback data and processing equipment data; analyzing the risk level of the raw materials after the modification process according to the risk assessment model;

[0012] Step S4, remediating the raw materials with high risk by using a blending and mixing method.

[0013] In a preferred embodiment, in step S1, the raw material data is the acid-base difference and corrosivity of the raw material before modification after hydrogenation and impurity removal; the modification additive data is the heavy metal content of the modification additive.

[0014] In a preferred embodiment, in step S2, the modified additives are classified by detecting the heavy metal iron content and vanadium content of the modified additives, and the specific steps are as follows:

[0015] Collect sufficient amounts of different types of modifying additives, measure the iron content and vanadium content in the modifying additives using an inductively coupled plasma mass spectrometer, screen and remove modifying additives with an iron content or a vanadium content of 0, and mark the removed modifying additives as low heavy metal content modifiers, and merge the iron content data and vanadium content data in the remaining modifying additives into an iron content data set and a vanadium content data set, respectively;

[0016] An iron content threshold and a vanadium content threshold are set according to the iron content data set and the vanadium content data set respectively;

[0017] The modified additives are classified using the AND gate circuit logic method. The classification consists of the following parts:

[0018] Determine input and output: take the iron content and vanadium content of the modification additives as input, and the additive classification as output;

[0019] Set input rules: if the iron content of the modified additive exceeds the iron content threshold, the iron content of the modified additive is set to 1 for input, otherwise it is set to 0 for input; if the vanadium content of the modified additive exceeds the vanadium content threshold, the vanadium content of the modified additive is set to 1 for input, otherwise it is set to 0 for input;

[0020] Set output rules: if the input is all 1, then set the output result to 1, otherwise set the output result to 0;

[0021] The modified additives are classified according to the output results: the modified additives with an output result of 1 are classified as heavy metal content modifiers and marked; the modified additives with an output result of 0 are classified as low heavy metal content modifiers and marked.

[0022] In a preferred embodiment, in step S2, the neutral difference coefficient is calculated as the acid-base difference of the raw material, and the calculation formula is: ,in is the neutral difference coefficient, is the pH value of the raw material, 7 is the neutral pH coefficient,

[0023] The corrosion degree of raw materials is calculated by calculating the corrosion rate of raw materials and using the numerical representation of the corrosion rate of raw materials. The general corrosion rate formula can be used to calculate the corrosion rate of raw materials: ,in is the raw material corrosion rate, is a constant, and its specific value depends on the unit selected for the corrosion material. is the mass of the corroded material before and after being corroded by the raw material, is the surface area of ​​the corroded material, and time is the corrosion time;

[0024] The raw material data of multiple production lines are collected, and the acid-base difference normalized data and the corrosion degree normalized data obtained after normalization processing of the collected raw material data are merged into the acid-base difference data set and the corrosion degree data set respectively; the normalization formula can be ,in is the normalized result, is the i-th data in the acid-base difference data set or the corrosion degree data set, is the minimum value in the acid-base difference data set or the minimum value in the corrosion degree data set. It is the maximum value in the acid-base difference data set or the maximum value in the corrosion degree data set;

[0025] The obtained acid-base difference data set and the corrosion degree data set are randomly sampled to obtain the acid-base difference normalized data in the acid-base difference data set and the corrosion degree normalized data in the corrosion degree data set, and the covariance is calculated from the screened acid-base difference normalized data and the corrosion degree normalized data as the raw material classification threshold, and the covariance is used as the raw material classification threshold;

[0026] The normalized data obtained by processing the collected current raw material acid-base difference data and the current raw material corrosion degree data in the above steps is used as the covariance calculation formula and , and mark the result of the calculation as , classify the current raw material by comparing the calculation result with the raw material classification threshold;

[0027] like , then the covariance of the current raw material acid-base difference and the current raw material corrosion degree exceeds the raw material classification threshold, and the current raw material is marked as a high-impurity raw material; if , then the covariance of the current raw material acid-base difference and the current raw material corrosion degree is lower than the raw material classification threshold, and the current raw material is marked as a low-impurity raw material;

[0028] If the current raw material is marked as a high-impurity raw material, a low heavy metal content modifier is used for modification; if the current raw material is marked as a low-impurity raw material, a high heavy metal content modifier is used for modification.

[0029] In a preferred embodiment, in step S3, the processing feedback data and processing equipment data after the reforming treatment are the ash content of the reformed raw material and the raw material yield, respectively;

[0030] The ash content of the reformed raw material is the various non-hydrocarbon impurities in the reformed raw material.

[0031] The raw material yield is the ratio of the weight of the raw material after modification to the weight of the raw material before modification;

[0032] The raw material ash content and raw material yield of sufficient upgrading production lines are collected and merged into ash content data set and raw material yield data set respectively. The multi-layer perceptron model is constructed through the ash content data set and raw material yield data set to analyze the current raw material risk level. The specific steps are as follows:

[0033] The ash content data set and the raw material yield data set are used as two input features to construct a multi-layer perceptron model. There are two neural network layers in the multi-layer perceptron model, namely the input layer, the hidden layer and the output layer. The input layer has two neurons corresponding to the two input features, and the output layer has one neuron for outputting the classification results.

[0034] Initialization parameters: Initialize the weights from the input layer to the hidden layer and the bias parameters from the hidden layer to the output layer in the multilayer perceptron;

[0035] Forward propagation: For a given input feature, the multi-layer perceptron calculates the output from the input layer to the hidden layer through weights and bias parameters, passes these outputs to the output layer, and converts them into probability values ​​between 0 and 1 through the activation function, indicating the current risk level of the raw material. The activation function of the hidden layer can be , where a is the output of the output layer transmitted to the hidden layer, is the first ash content data in the ash content data set. is the first data in the raw material yield data set. and is the weight from the input layer to the hidden layer, c is the bias parameter; the activation function of the output layer is the Sigmoid function, and its formula is , where y is the output probability result, e is the natural base, and x is the output from the hidden layer to the output layer;

[0036] Loss calculation: The loss function is calculated based on the output probability results of the multi-layer perceptron model and the preset actual labels. The formula can be the mean square error formula: ;in is the mean square error, n is the number of data in the two data sets, is the output probability result of the i-th raw material ash content data in the ash content data set and the i-th raw material yield in the raw material yield data set through the multi-layer perceptron, is the actual label of the i-th preset;

[0037] Back propagation: Starting from the output layer, calculate the gradient of the parameters of each layer to the loss function, propagate the gradient forward layer by layer, and calculate the partial derivatives of the weights and bias parameters of each layer to the loss function. The partial derivative formula is , , ,in and They are the partial derivatives of the weights from the input layer to the hidden layer and the bias parameters of the hidden layer and the output layer respectively; the weights and bias parameters are updated by calculating the partial derivatives of the loss function with respect to the weights and bias parameters;

[0038] Update parameters: According to the calculated gradient, set the learning rate L to randomly adjust the weights from the input layer to the hidden layer and the bias parameters of the hidden layer and the output layer; update the parameters in the multilayer perceptron, and the update rule formula is: , and ;

[0039] Repeated iteration: Repeat forward propagation and back propagation until the model converges, that is, the multi-layer perceptron model training is completed;

[0040] Collect the current raw material ash content and the current raw material yield, use the current raw material ash content and the current raw material yield as input through the multi-layer perceptron model, calculate the output probability result, and analyze the current raw material risk level by comparing the output probability result with the preset probability threshold;

[0041] When the output probability result exceeds the probability threshold, the current raw material is marked as a high-risk raw material; otherwise, the current raw material is marked as a low-risk raw material.

[0042] In a preferred embodiment, in step S4, if the current raw material is marked as a high-risk raw material, remedial treatment is performed on the current raw material; including a blending method, and the specific process is as follows:

[0043] The raw materials with more impurities, i.e., high-risk raw materials, are mixed with the raw materials with less impurities, i.e., low-risk raw materials, according to the blending ratio. The ash content of the current raw materials is collected and recorded as HF. The raw materials with the lowest ash content in other production lines are collected as blending raw materials and their ash content is marked as ; Determine the reconciliation threshold and mark the reconciliation threshold as , the blending ratio is calculated by the following formula: , where t is the harmonic ratio;

[0044] The ash content of the current raw materials can be reduced to the blending threshold through the blending ratio, completing the remedial treatment of high-risk raw materials.

[0045] The technical effects and advantages of the data integration method based on the object data model of the present invention are as follows:

[0046] The present invention collects modification additive data and raw material data, classifies the modification additives according to the modification additive data, and classifies the modification additives into high heavy metal content modifiers and low heavy metal content modifiers. The raw material data is used to evaluate the quality of the raw materials, and the raw materials are classified into high impurity raw materials and low impurity raw materials according to the quality evaluation results. The classified modification additives and raw materials are matched. The matched processing feedback data and processing equipment data are collected, and a risk assessment model is constructed by integrating the processing feedback data and the processing equipment data, so as to make remedial adjustments to the petroleum products with higher risks, thereby reducing the risks of the petroleum products. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A logical flow chart of a data integration method based on an object data model of the present invention;

[0048] Figure 2 The present invention is a flow chart of a data integration method based on an object data model. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] The present invention collects modification additive data and raw material data, classifies the modification additives according to the modification additive data, and classifies the modification additives into high heavy metal content modifiers and low heavy metal content modifiers. The raw material data is used to evaluate the quality of the raw materials, and the raw materials are classified into high impurity raw materials and low impurity raw materials according to the quality evaluation results. The classified modification additives and raw materials are matched. The matched processing feedback data and processing equipment data are collected, and a risk assessment model is constructed by integrating the processing feedback data and the processing equipment data, so as to make remedial adjustments to the petroleum products with higher risks, thereby reducing the risks of the petroleum products. Example

[0051] The present invention discloses a data integration method based on an object data model, such as Figure 1 , Figure 2 As shown, the following steps are included:

[0052] Step S1, collecting modification additive data and raw material data.

[0053] Step S2, using AND gate circuit logic method to analyze and classify the data of the modified additives, calculating the covariance according to the raw material data as the raw material classification threshold to classify the raw materials, and performing modification processing after classifying and matching the modified additives with the raw materials.

[0054] Step S3, collecting the processing feedback data and processing equipment data after the reforming treatment, and constructing a risk assessment model through a multi-layer perceptron based on the processing feedback data and processing equipment data. The risk level of the reformed raw materials is analyzed according to the risk assessment model.

[0055] Step S4, remediating the raw materials with high risk by using a blending and mixing method.

[0056] The specific implementation is as follows:

[0057] In step S1, the raw material data is the raw material acid-base difference and raw material corrosion degree before modification after hydrogenation and impurity removal. The raw material acid-base difference can be obtained by infrared spectrometer detection, and the raw material corrosion degree can be obtained by electrochemical corrosion tester. The modification additive data is the heavy metal content of the modification additive, which can be obtained by inductively coupled plasma mass spectrometer detection.

[0058] The acid-base difference of raw materials refers to the degree of hydrogen ion concentration in the raw material solution, which is usually expressed by pH value. The higher the acid or alkalinity value in the raw material solution is, the more acidic or alkaline impurities it contains, and the worse the quality of the raw material solution is.

[0059] Raw material corrosion refers to a comprehensive indicator of the degree of corrosion of raw materials on metal equipment and pipelines. It is used to evaluate the impact of raw material solutions on production equipment. The higher the corrosion degree of the raw material solution, the more corrosive substances it contains, and the worse the quality of the raw material solution.

[0060] Heavy metal content of modifying additives. There are many types of modifying additives added to petroleum raw material solutions. The modifying additives can be classified according to their heavy metal content to meet the needs of the raw material solution.

[0061] It should be noted that the infrared spectrometer is an instrument commonly used in chemical analysis. It can analyze by detecting the absorption peak of the raw material solution to obtain the vibration frequency of the substance, and perform qualitative and quantitative analysis on the substance to obtain the pH value of the raw material solution. The pH value of the raw material solution can be used to calculate the acid-base difference of the raw material. The electrochemical corrosion detector is an instrument used to detect and analyze the corrosion condition of metal materials or solutions. It reflects the degree of corrosion of the solution by analyzing the AC impedance response of the raw material solution to the metal sample. The inductively coupled plasma mass spectrometer is a highly sensitive, multi-element simultaneous determination analytical instrument. It can separate ions by the mass-to-charge ratio of the ions to measure the signal intensity of various heavy metal ions, and automatically calculate, organize and present the quantitative results of heavy metals in the software to obtain the heavy metal content of the modified additives.

[0062] In step S2, the content of iron and vanadium in the heavy metals of the modified additive is the largest, which has a great influence on the secondary addition of heavy metals during modification. The modified additive can be classified by detecting the heavy metal iron content and vanadium content of the modified additive. The specific steps are as follows:

[0063] Collect enough different types of modified additives, use inductively coupled plasma mass spectrometry to measure the iron content and vanadium content in the modified additives, screen and remove the modified additives with iron content or vanadium content of 0, and mark the removed modified additives as low heavy metal content modifiers, and merge the iron content data and vanadium content data in the remaining modified additives into iron content data set and vanadium content data set respectively. Set the iron content threshold and vanadium content threshold according to the iron content data set and vanadium content data set respectively. Take the iron content data set as an example. The specific steps are as follows:

[0064] Calculate the standard deviation of the iron content data set using the standard deviation formula: ,in is the standard deviation of the iron content data set, n is the number of iron content data sets, and i is the data sequence number in the iron content data set, such as i=1, i=2, i=3, etc. is the i-th iron content data in the iron content data set, is the average value of the iron content data set. + As the iron content threshold, It is the threshold adjustment coefficient, which can be adjusted according to the actual situation, such as N=1.2.

[0065] Similarly, the vanadium content threshold can be obtained, and the modified additives can be classified using the AND gate circuit logic method. The classification consists of the following parts:

[0066] Determine input and output: take the iron content and vanadium content of the upgrading additives as input and the additive classification as output.

[0067] Set input rules: if the iron content of the modified additive exceeds the iron content threshold, the iron content of the modified additive is set to 1 for input, otherwise it is set to 0 for input; similarly, if the vanadium content of the modified additive exceeds the vanadium content threshold, the vanadium content of the modified additive is set to 1 for input, otherwise it is set to 0 for input.

[0068] Set the output rule: if the input is all 1, then the output result is set to 1, otherwise the output result is set to 0.

[0069] The modified additives are classified according to the output results: the modified additives with an output result of 1 are classified as heavy metal content modifiers and marked; the modified additives with an output result of 0 are classified as low heavy metal content modifiers and marked.

[0070] The pH value of raw materials can be directly measured by infrared spectrometer. However, if the acidity or alkalinity is too high, more impurities will appear. Therefore, the neutral difference coefficient can be calculated as the acid-base difference of the raw materials. The calculation formula is: ,in is the neutral difference coefficient, is the pH value of the raw material, 7 is the neutral pH coefficient, and the neutral difference coefficient The larger it is, the higher the acidity or alkalinity of the raw material, and the more impurities there are in the raw material.

[0071] The corrosion degree of raw materials can be calculated by calculating the corrosion rate of raw materials and using the numerical representation of the corrosion rate of raw materials. The general corrosion rate formula can be used to calculate the corrosion rate of raw materials: ,in is the raw material corrosion rate, is a constant, and its specific value depends on the unit selected for the corrosion material. is the mass of the corroded material before and after being corroded by the raw material, is the surface area of ​​the corroded material, and time is the corrosion time. The parameters in the above formula are obtained by conventional means and will not be analyzed here.

[0072] The raw material data of multiple production lines are collected, and the acid-base difference normalized data and the corrosion degree normalized data obtained after normalization processing are merged into the acid-base difference data set and the corrosion degree data set respectively. The normalization formula can be ,in is the normalized result, is the i-th data in the acid-base difference data set or the corrosion degree data set, is the minimum value in the acid-base difference data set or the minimum value in the corrosion degree data set. It is the maximum value in the acid-base difference data set or the maximum value in the corrosion degree data set. For example: is the second data in the acid-base difference data set, then is the minimum value in the acid-base difference data set, is the maximum value in the acid-base difference data set, This is the normalized result of the second data in the acid-base difference data set.

[0073] The obtained acid-base difference data set and corrosion degree data set are randomly sampled, and the acid-base difference data set is used as an example. A random acid-base difference data record is selected from the acid-base difference data set and replaced. The acid-base difference normalized data in the acid-base difference data set obtained by repeating the operation m times are marked as , , Etc., and similarly, the same operation is performed on the corrosion degree data set m times, and the corrosion degree normalized data in the corrosion degree data set are marked as , , Etc. Covariance can measure the linear correlation between two random variables. The covariance can be calculated from the screened acid-base difference normalized data and corrosion degree normalized data as the raw material classification threshold. The specific steps are as follows:

[0074] The covariance calculation formula is: ,in, is the covariance of the screened acid-base difference normalized data and corrosion degree normalized data, and are the random data in the screened acid-base difference normalized data and corrosion degree normalized data, for The expectation is the average value of the normalized data of acid-base difference screened out. for The expectation is the average value of the normalized corrosion degree data screened out, and m is the number of the two types of data screened out. Since both data sets were operated m times, the number of the two types of data screened out is the same.

[0075] Covariance Can be expressed When the covariance is greater than 0, it means that the change trends of the two variables are consistent. When the covariance is less than 0, it means that the change trends of the two variables are opposite. and From the properties of the raw materials, it can be seen that the higher the acid-base difference and the corrosiveness of the raw materials, the more impurities there are in the raw materials, that is, and are two positively correlated random variables, so .

[0076] Can As the raw material classification threshold, the normalized data obtained by processing the collected current raw material acid-base difference data and the current raw material corrosion degree data in the above steps is used as the covariance calculation formula and , and mark the result of the calculation as , classify the current raw material by comparing the calculation result with the raw material classification threshold.

[0077] like , then the covariance of the current raw material acid-base difference and the current raw material corrosion degree exceeds the raw material classification threshold, that is, the current raw material has many impurities, and the current raw material is marked as a high-impurity raw material; if , then the covariance of the current raw material acid-base difference and the current raw material corrosion degree is lower than the raw material classification threshold, that is, the current raw material has few impurities, and the current raw material is marked as a low-impurity raw material.

[0078] If the current raw material is marked as a high-impurity raw material, a low heavy metal content modifier is used for modification; if the current raw material is marked as a low-impurity raw material, a high heavy metal content modifier is used for modification. Modification treatment requires the use of a variety of additives such as catalysts, co-solvents, and inhibitors. By selecting and using additives, it is possible to prevent modification risks while ensuring high-quality improvements in petroleum products. The specific modification treatment is a conventional method and will not be described in detail here.

[0079] It should be noted that the selection of modified additive samples and the selection of raw material data for the production line used to set the iron content threshold, vanadium content threshold and raw material classification threshold are not unique and can be selected according to actual conditions. The method of setting various thresholds is only used as an example in this example. The various parameters in the step formulas are normalized values. If not clearly stated, they are regarded as de-unitized values ​​for calculation.

[0080] In step S3, the processing feedback data and processing equipment data after the modification are the ash content of the modified raw material and the raw material yield, respectively. The ash content of the modified raw material can be obtained by detection by an automatic ash analyzer, and the raw material yield can be calculated by the weight of the raw material before modification and the weight of the raw material after modification, and the weight of the raw material before modification and the weight of the raw material after modification can be obtained by accessing the raw material database.

[0081] The ash content of the modified raw material refers to various non-hydrocarbon impurities in the modified raw material. The higher the ash content of the raw material, the more impurities the raw material contains.

[0082] The raw material yield is the ratio of the weight of the raw material after modification to the weight of the raw material before modification. The calculation formula is: ,in The product yield is the rate of product change. When there are more impurities in the raw materials, the degree of damage to the reforming equipment is higher, the weight of the raw materials after passing through the reforming equipment is lower, and the product yield is lower.

[0083] The raw material ash content and raw material yield of sufficient upgrading production lines are collected and merged into ash content data set and raw material yield data set respectively. The multi-layer perceptron model is constructed through the ash content data set and raw material yield data set to analyze the current raw material risk level. The specific steps are as follows:

[0084] The ash content dataset and the raw material yield dataset are used as two input features to build a multi-layer perceptron model. There are two neural network layers in the multi-layer perceptron model, namely the input layer, the hidden layer and the output layer. The input layer has two neurons corresponding to the two input features, the hidden layer has several neurons, and the specific number is set according to the training rules. The output layer has one neuron for outputting the classification results.

[0085] Initialization parameters: First, initialize the weights from the input layer to the hidden layer and the bias parameters from the hidden layer to the output layer in the multilayer perceptron. It should be explained that the weights from the input layer to the hidden layer are initialized with random values. For example, if there are two neurons in the hidden layer, the weights from the input layer to the hidden layer can be randomly initialized to [0.4, 0.6], and the bias parameters can be randomly initialized to 0.5.

[0086] Forward propagation: For a given input feature, the multi-layer perceptron calculates the output from the input layer to the hidden layer through weights and bias parameters, passes these outputs to the output layer, and converts them into probability values ​​between 0 and 1 through the activation function, indicating the current risk level of the raw material. The activation function of the hidden layer can be , where a is the output of the output layer transmitted to the hidden layer, is the first ash content data in the ash content data set. is the first data in the raw material yield data set. and is the weight from the input layer to the hidden layer, c is the bias parameter; the activation function of the output layer can be the Sigmoid function, and its formula is , where y is the output probability result, e is the natural base, and x is the output from the hidden layer to the output layer.

[0087] Loss calculation: The loss function is calculated based on the output probability results of the multi-layer perceptron model and the preset actual labels. The formula can be the mean square error formula: .in is the mean square error, n is the number of data in the two data sets, is the output probability result of the i-th raw material ash content data in the ash content data set and the i-th raw material yield in the raw material yield data set through the multi-layer perceptron, is the actual label of the i-th preset.

[0088] Back propagation: Starting from the output layer, calculate the gradient of the parameters of each layer to the loss function, propagate the gradient forward layer by layer, and calculate the partial derivatives of the weights and bias parameters of each layer to the loss function. The partial derivative formula is , , ,in and They are the partial derivatives of the weights from the input layer to the hidden layer and the bias parameters of the hidden layer and the output layer. The weights and bias parameters are updated by calculating the partial derivatives of the loss function with respect to the weights and bias parameters.

[0089] Update parameters: According to the calculated gradient, set the appropriate learning rate L to randomly adjust the weights from the input layer to the hidden layer and the bias parameters of the hidden layer and the output layer. Make the output results converge and update the parameters in the multilayer perceptron. The update rule formula can be: , and . For example, in a certain iteration, the calculation is , set the learning rate L to 0.05, then the updated weight is the original weight minus In this way, through continuous iteration, the weights and bias parameters will be adjusted in the direction of minimizing the loss function.

[0090] Repeat iteration: Repeat forward propagation and back propagation until the model converges, that is, the multilayer perceptron model training is completed.

[0091] The current raw material ash content and the current raw material yield are collected, and the current raw material ash content and the current raw material yield are used as input through the multi-layer perceptron model to calculate the output probability result. By comparing the output probability result with the preset probability threshold, the current raw material risk level is analyzed.

[0092] When the output probability result exceeds the probability threshold, the current raw material is marked as a high-risk raw material; otherwise, the current raw material is marked as a low-risk raw material.

[0093] It should be noted that the automatic ash analyzer is an instrument used to quickly and accurately determine the ash content in various solids or liquids. It automatically collects part of the raw materials through the sampling system for heating and measurement, detects the mass of ash remaining after combustion, analyzes and calculates the ash content and records the data. The raw material database stores the raw material information and raw material processing information of the oil company. The weight of the raw material before and after modification can be obtained by accessing the raw material database. The multi-layer perceptron is a neural network model that can evaluate the current data after inputting sufficient data for training. The selection of sufficient data can be selected by listening to the opinions of experts in this field. The formulas in the steps are only examples, and the choice of formulas is not unique.

[0094] In step S4, if the current raw material is marked as a high-risk raw material, remediation treatment is performed on the current raw material. There are many remediation treatment methods. Considering the different economic conditions of various oil companies, this example uses a relatively low-cost blending method for remediation treatment:

[0095] The blending and mixing method is to set a blending ratio for mixing raw materials with more impurities, i.e., high-risk raw materials, with raw materials with less impurities, i.e., low-risk raw materials. Through blending, the purpose of reducing impurity content and improving raw material performance can be achieved. The blending ratio is the ratio of the current raw material blending amount divided by the blending amount of the blending raw material. It can be set according to the raw material ash content. The current raw material ash content is collected and recorded as HF. The raw material with the lowest ash content in other production lines is collected as the blending raw material and its ash content is marked as . Determine the reconciliation threshold and mark the reconciliation threshold as , that is, the impurity level of the current raw materials after mixing and blending is controlled below the blending threshold. The blending ratio can be calculated by the following formula: , where t is the harmonic ratio.

[0096] The ash content of the current raw material is reduced to the blending threshold through the blending ratio, thereby completing the remedial treatment of the current raw material, that is, the raw material with a high risk level.

[0097] It should be noted that the blending threshold is set by professionals according to the raw material requirements and will not be analyzed here.

[0098] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.

[0099] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product.

[0100] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application of the technical solution and the invention constraints. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0101] In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0102] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0103] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A data integration method based on an object data model, characterized in that: The steps include: Step S1, collecting modification additive data and raw material data; Step S2, using AND gate circuit logic method to analyze and classify the data of the modified additives, calculating the covariance according to the raw material data as the raw material classification threshold to classify the raw materials, and performing modification processing after classifying and matching the modified additives with the raw materials; Step S3, collecting processing feedback data and processing equipment data after the modification process, and constructing a risk assessment model through a multi-layer perceptron based on the processing feedback data and processing equipment data; analyzing the risk level of the raw materials after the modification process according to the risk assessment model; Step S4, remediating the raw materials with high risk by using a blending and mixing method; In step S1, the raw material data is the acid-base difference and corrosiveness of the raw material before modification after hydrogenation and impurity removal; the modification additive data is the heavy metal content of the modification additive; In step S2, the modified additives are classified by detecting the heavy metal iron content and vanadium content of the modified additives. The specific steps are as follows: Collect sufficient amounts of different types of modifying additives, measure the iron content and vanadium content in the modifying additives using an inductively coupled plasma mass spectrometer, screen and remove modifying additives with an iron content or a vanadium content of 0, and mark the removed modifying additives as low heavy metal content modifiers, and merge the iron content data and vanadium content data in the remaining modifying additives into an iron content data set and a vanadium content data set, respectively; An iron content threshold and a vanadium content threshold are set according to the iron content data set and the vanadium content data set respectively; The modified additives are classified using the AND gate circuit logic method. The classification consists of the following parts: Determine input and output: take the iron content and vanadium content of the modification additives as input, and the additive classification as output; Set input rules: if the iron content of the modified additive exceeds the iron content threshold, the iron content of the modified additive is set to 1 for input, otherwise it is set to 0 for input; if the vanadium content of the modified additive exceeds the vanadium content threshold, the vanadium content of the modified additive is set to 1 for input, otherwise it is set to 0 for input; Set output rules: if the input is all 1, then set the output result to 1, otherwise set the output result to 0; Classify the modified additives according to the output results: classify the modified additives with an output result of 1 as heavy metal content modifiers and mark them; classify the modified additives with an output result of 0 as low heavy metal content modifiers and mark them; In step S3, the processing feedback data and processing equipment data after the reforming treatment are the ash content of the reformed raw material and the raw material yield, respectively; The ash content of the reformed raw material is the various non-hydrocarbon impurities in the reformed raw material. The raw material yield is the ratio of the weight of the raw material after modification to the weight of the raw material before modification; The raw material ash content and raw material yield of sufficient upgrading production lines are collected and merged into ash content data set and raw material yield data set respectively. The multi-layer perceptron model is constructed through the ash content data set and raw material yield data set to analyze the current raw material risk level. The specific steps are as follows: The ash content data set and the raw material yield data set are used as two input features to construct a multi-layer perceptron model. There are two neural network layers in the multi-layer perceptron model, namely the input layer, the hidden layer and the output layer. The input layer has two neurons corresponding to the two input features, and the output layer has one neuron for outputting the classification results. Initialization parameters: Initialize the weights from the input layer to the hidden layer and the bias parameters from the hidden layer to the output layer in the multilayer perceptron; Forward propagation: For a given input feature, the multi-layer perceptron calculates the output from the input layer to the hidden layer through weights and bias parameters, passes these outputs to the output layer, and converts them into probability values ​​between 0 and 1 through the activation function, indicating the current risk level of the raw material. The activation function of the hidden layer is , where a is the output of the output layer transmitted to the hidden layer, is the first ash content data in the ash content data set. is the first data in the raw material yield data set. and is the weight from the input layer to the hidden layer, c is the bias parameter; the activation function of the output layer is the Sigmoid function, and its formula is , where y is the output probability result, e is the natural base, and x is the output from the hidden layer to the output layer; Loss calculation: The loss function is calculated based on the output probability results of the multi-layer perceptron model and the preset actual labels. The formula is the mean square error formula: ;in is the mean square error, n is the number of data in the two data sets, is the output probability result of the i-th raw material ash content data in the ash content data set and the i-th raw material yield in the raw material yield data set through the multi-layer perceptron, is the actual label of the i-th preset; Back propagation: Starting from the output layer, calculate the gradient of the parameters of each layer to the loss function, propagate the gradient forward layer by layer, and calculate the partial derivatives of the weights and bias parameters of each layer to the loss function. The partial derivative formula is , , ,in and They are the partial derivatives of the weights from the input layer to the hidden layer and the bias parameters of the hidden layer and the output layer respectively; the weights and bias parameters are updated by calculating the partial derivatives of the loss function with respect to the weights and bias parameters; Update parameters: According to the calculated gradient, set the learning rate L to randomly adjust the weights from the input layer to the hidden layer and the bias parameters of the hidden layer and the output layer; Update the parameters in the multilayer perceptron, and the update rule formula is: , and ; Repeated iteration: Repeat forward propagation and back propagation until the model converges, that is, the multi-layer perceptron model training is completed; Collect the current raw material ash content and the current raw material yield, use the current raw material ash content and the current raw material yield as input through the multi-layer perceptron model, calculate the output probability result, and analyze the current raw material risk level by comparing the output probability result with the preset probability threshold; When the output probability result exceeds the probability threshold, the current raw material is marked as a high-risk raw material; Otherwise, the current raw material is marked as a low-risk raw material.

2. The data integration method based on object data model according to claim 1 is characterized by: In step S2, the neutral difference coefficient is calculated as the acid-base difference of the raw material, and the calculation formula is: ,in is the neutral difference coefficient, is the pH value of the raw material, 7 is the neutral pH coefficient, The corrosion degree of raw materials is calculated by calculating the corrosion rate of raw materials and using the numerical representation of the corrosion rate of raw materials. The general corrosion rate formula can be used to calculate the corrosion rate of raw materials: ,in is the raw material corrosion rate, is a constant, and its specific value depends on the unit selected for the corrosion material. is the mass of the corroded material before and after being corroded by the raw material, is the surface area of ​​the corroded material, and time is the corrosion time; The raw material data of multiple production lines are collected, and the acid-base difference normalized data and the corrosion degree normalized data obtained after normalization processing of the collected raw material data are respectively merged into the acid-base difference data set and the corrosion degree data set; Its normalized formula is: ,in is the normalized result, is the i-th data in the acid-base difference data set or the corrosion degree data set, is the minimum value in the acid-base difference data set or the minimum value in the corrosion degree data set. It is the maximum value in the acid-base difference data set or the maximum value in the corrosion degree data set; The obtained acid-base difference data set and the corrosion degree data set are randomly sampled to obtain the acid-base difference normalized data in the acid-base difference data set and the corrosion degree normalized data in the corrosion degree data set, and the covariance is calculated from the screened acid-base difference normalized data and the corrosion degree normalized data as the raw material classification threshold, and the covariance is used as the raw material classification threshold; The normalized data obtained by processing the collected current raw material acid-base difference data and the current raw material corrosion degree data in the above steps is used as the covariance calculation formula and , and mark the result of the calculation as , classify the current raw material by comparing the calculation result with the raw material classification threshold; like , then the covariance of the current raw material acid-base difference and the current raw material corrosion degree exceeds the raw material classification threshold, and the current raw material is marked as a high-impurity raw material; if , then the covariance of the current raw material acid-base difference and the current raw material corrosion degree is lower than the raw material classification threshold, and the current raw material is marked as a low-impurity raw material; If the current raw material is marked as a high-impurity raw material, a low heavy metal content modifier is used for modification; if the current raw material is marked as a low-impurity raw material, a high heavy metal content modifier is used for modification.

3. The data integration method based on object data model according to claim 1 is characterized in that: In step S4, if the current raw material is marked as a high-risk raw material, remedial treatment is performed on the current raw material, including a blending method, and the specific process is as follows: The raw materials with more impurities, i.e., high-risk raw materials, are mixed with the raw materials with less impurities, i.e., low-risk raw materials, according to the blending ratio. The ash content of the current raw materials is collected and recorded as HF. The raw materials with the lowest ash content in other production lines are collected as blending raw materials and their ash content is marked as ; Determine the reconciliation threshold and mark the reconciliation threshold as , the blending ratio is calculated by the following formula: , where t is the harmonic ratio; The ash content of the current raw materials can be reduced to the blending threshold through the blending ratio, completing the remedial treatment of high-risk raw materials.

Citation Information

Patent Citations

  • Oil refining production process schedule optimization modeling method on basis of integrated control optimization

    CN102768702A

  • Asphaltene solvation and dispersion process

    CN112521636A

  • Method and system for evaluating dangerous characteristics of petroleum pollutants

    CN116385237A

  • Underground in-situ modification system and method for hot steam assisted multi-component mixed-phase fluid

    CN117127952A

  • Method of partial oxidation

    CN86104452A