Nuclear power plant digital twin control and prediction coupling method

By combining external control operations and operating data information in nuclear power plants, the Transformer neural network is used to build a time series prediction model, which solves the problem of missing information in traditional methods and achieves high-precision prediction of abnormal operating conditions of nuclear power plants.

CN118734211APending Publication Date: 2024-10-01SHANGHAI JIAOTONG UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410713827.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Traditional machine learning methods ignore external control operations under abnormal operating conditions of nuclear power plants, resulting in a lack of information, unable to accurately reflect the underlying coupling relationship of operating data, and affecting prediction accuracy.

Method used

Using the digital twin control and prediction coupling method, by constructing a Transformer neural network, combined with external control operations and operating data information, mathematical quantification and characteristic adjustment are performed, and a time series prediction model is constructed to ensure that the prediction time is sufficiently advanced and accurate predictions are achieved.

Benefits of technology

The prediction accuracy is significantly improved. Compared with the neural network model that only uses the operating information data set, the prediction accuracy is increased by 11.08 times, ensuring high-precision prediction under abnormal working conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734211A_ABST
    Figure CN118734211A_ABST
Patent Text Reader

Abstract

A digital twin control and prediction coupling method for a nuclear power plant comprises the following steps: constructing an operation data set based on a sensor measurement value in an abnormal working condition conversion process and a control operation data set based on a system protection measure during abnormal operation of the nuclear power plant in an offline stage, and simultaneously inputting the two data sets into a neural network for training; obtaining a time sequence prediction model for the operation data of the nuclear power plant under the abnormal working condition, and performing real-time working condition data judgment through the trained time sequence prediction model in an online stage. According to the method, mathematical quantification is carried out on control operation measures under the abnormal working condition based on actual reactor control requirements, the embodiment of man-machine fusion in a prediction model is emphatically considered, and accurate prediction of operation data can be realized under the condition that prediction time is enough advanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a technology in the field of reactor control, specifically a method for coupling digital twin control and prediction of a nuclear power plant. Background Art

[0002] When a nuclear power plant encounters abnormal operating conditions, the reactor control system and operators will force the operation of relevant external control measures to ensure absolute safety, resulting in unnatural changes in operating data. These external control operations contain a large amount of physical information. Traditional machine learning methods only consider operating data and ignore external control operations, resulting in information loss. Therefore, it is very necessary to build a coupling model that considers both external control operations and operating data information. With the help of a neural network model, the underlying coupling relationship of operating data under abnormal conditions can be constructed and accurately predicted. Summary of the invention

[0003] In view of the deficiency of the existing technology that cannot accurately reflect the underlying coupling relationship of operating data, the present invention proposes a digital twin control and prediction coupling method for nuclear power plants. Based on the actual reactor control requirements, the external control operations under abnormal conditions are mathematically quantified, and the embodiment of human-machine fusion in the prediction model is emphasized. It can ensure the accurate prediction of operating data when the prediction time is sufficiently advanced.

[0004] The present invention is achieved through the following technical solutions:

[0005] The present invention relates to a coupling method for digital twin control and prediction of a nuclear power plant. In the offline stage, an operation data set based on sensor measurement values ​​during the abnormal operating condition transition and a control operation data set based on system protection measures during abnormal operation of the nuclear power plant are constructed. The two data sets are simultaneously input into a Transformer neural network for training to obtain a time series prediction model for the operation data of the nuclear power plant under abnormal operating conditions. In the online stage, real-time operating condition data judgment is performed using the trained time series prediction model.

[0006] The present invention relates to a time series data prediction system for realizing the above method, comprising: a data set construction module, a neural network construction module and a prediction and evaluation module, wherein: the data set construction module simultaneously considers external control operation information and operating data information under abnormal working conditions, adjusts and cleans them, and constructs a neural network data set of two types of information; the neural network construction module constructs a Transformer neural network, and based on the particularity of the data set, makes targeted adjustments to the distribution of the internal attention mechanism so that it can couple the two types of data sets. After dividing the data set into a training set, a validation set and a test set, the model hyperparameters are optimized through a TPE iterative optimization method, the neural network is trained and its prediction effect is verified; the prediction and evaluation module processes the predicted data and the actual data, and takes the mean square value of the error between the time series predicted value and the actual value as the prediction accuracy evaluation index. Technical Effects

[0007] The present invention mathematically quantifies the effects of the actual physical protection measures of the reactor and constructs an external control operation data set, which is used together with the operation information data set as input data for the coupled neural network. Compared with the neural network model with only the operation information data set as input data, the coupled neural network model supplemented with the control operation data set has a significant improvement in prediction accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 It is a flow chart of the present invention;

[0009] Figure 2 This is the Transformer neural network structure diagram;

[0010] Figure 3 Mathematical quantification model diagram for control operation;

[0011] Figure 4 This is a comparison chart of the prediction results. DETAILED DESCRIPTION

[0012] like Figure 1 As shown, this embodiment involves a method for coupling digital twin control and prediction of a nuclear power plant, which considers the abnormal operating condition protective measures information of the nuclear power plant based on external control operation information outside the system and the physical sensor information inside the system, and obtains an external control operation data set and an operation data set after preprocessing. The time series data therein are used to train the constructed Transformer neural network, and the real-time operating condition data is judged by the trained Transformer neural network.

[0013] The preprocessing includes: mathematical quantification of external protective measures information and construction of internal physical sensor information data set, wherein:

[0014] The mathematical quantification of the external protective measures information refers to:

[0015] 1) Investigate the safety operation of system settings in the actual operation of nuclear power plants, including the automatic operation of the control system in abnormal conditions and the operations that operators should perform according to the instructions in the work manual;

[0016] 2) According to the effect of external operation, it is classified into instantaneous excitation operation, step-invariant operation, and step-attenuation operation, and constructed as follows: Figure 3 The mathematical model shown is equivalent to it and constructs a data set based on external control operation information.

[0017] The internal physical sensor information data set construction refers to:

[0018] 1) Collect the measurement data of various sensors inside the system under abnormal conditions of the nuclear power plant in chronological order, including 12 different types of physical quantities in multiple loops;

[0019] 2) The collected sensor data is sorted in time series and completed, including missing value filling, outlier verification and noise removal, and then normalized to obtain the internal actual physical sensor information data set.

[0020] The physical quantities include: core pressure vessel water level, core outlet average temperature, hot pipe section temperature, cold pipe section temperature, pressurizer liquid phase temperature, pressurizer pressure, pressurizer water level, primary circuit coolant average temperature, steam pipeline pressure, steam generator secondary side feed water flow, steam generator secondary side feed water temperature and boron concentration.

[0021] like Figure 2 As shown, the Transformer neural network includes: multiple encoders and decoders, wherein: the encoder performs dimensionality increase processing according to the input time series information to obtain a high-dimensional sequence containing data coupling information, and the decoder performs dimensionality reduction and decoupling processing according to the data coupling information to obtain the prediction result of the time series data.

[0022] The encoder includes: a multi-head self-attention unit, an encoder layer unit, and a layer normalization and residual connection unit, wherein: the multi-head self-attention unit allocates attention weights according to the input sequence information to obtain an attention weight matrix between the data; the encoder layer unit performs dimensionality processing on the data according to the attention weight matrix to obtain a high-dimensional sequence containing data coupling information; the layer normalization and residual connection unit is located between the encoder layers to accelerate the training process and transmit information between layers.

[0023] The decoder includes: a self-attention unit, a decoder layer unit, a layer normalization and residual connection unit, and a Softmax layer unit, wherein: the self-attention unit pays attention to the partial sequence generated by the decoder end according to the input sequence information, and obtains the attention weight matrix of the generated sequence; the decoder layer unit reduces the dimension and decouples the data according to the attention weight matrix information, and obtains the value of the next step of the generated sequence; the layer normalization and residual connection unit are located between the decoder layers, and are used to accelerate the training process and transmit information between layers. The Softmax layer unit generates the predicted value of each position in the output sequence according to the output information of the last layer of the decoder layer.

[0024] The Transformer neural network is trained in the following way:

[0025] a) Determine the optimal hyperparameter combination through the TPE optimization algorithm, specifically: first, based on the Bayesian optimization framework, build a probability model for the model's loss function, then divide the parameter space and build a model through kernel density estimation, build and update the probability model based on the modeling, and finally, based on the expected improvement criterion, iteratively select the optimal sampling point with the maximum expected improvement value as the principle to obtain the data set capacity, number of attention heads, number of hidden layers, learning rate and regularization parameter with the best performance.

[0026] b) The input format is a coupled data set of time series data. In chronological order, the first part of the time series data is used as the input data. The total 2000-step experimental data is divided into a ratio of approximately 5:1:4 as the training set, validation set, and test set of the Transformer neural network, respectively. The loss function is selected as MSELoss(), and the training is performed in the neural network with the goal of minimizing the error of the training set through iterative loops.

[0027] After specific actual experiments, the hardware environment used was Intel Core i7-13700K as the CPU, NVIDIA GeForce GTX 4060 as the GPU, the software environment used was Windows 10 operating system, Python as the programming language, and Pytorch as the machine learning framework. Under the specific environment settings described above, the above method was run, and the training was terminated when the error drop value was less than 1e-6. The prediction model was obtained, and the prediction model was used to predict the test set with a total of 800 steps. The predicted data was compared with the original data for error accuracy analysis, as shown in the figure. Figure 3As shown in the figure, under the premise that the training set accounts for 50%, the mean square error is only 0.208, while the mean square error of the prediction of the neural network model with the same structure with only the operation information data set as input data is 2.305. The above results show that the time series prediction model constructed by this method based on external control operation and human-machine fusion neural network can accurately predict the data trend while ensuring the time series is advanced, providing a new solution for the prediction of the working condition of nuclear power plants under abnormal conditions.

[0028] Compared with the neural network model that only has the operation information data set as input data, the prediction accuracy of the coupled neural network model of the present invention after supplementing the external control operation data set is improved by 11.08 times in the MSE evaluation index, which has the best performance among all current machine learning prediction methods.

[0029] The above-mentioned specific implementation can be partially adjusted in different ways by those skilled in the art without departing from the principle and purpose of the present invention. The protection scope of the present invention shall be based on the claims and shall not be limited by the above-mentioned specific implementation. Each implementation scheme within its scope shall be subject to the constraints of the present invention.

Claims

1. A method for coupling digital twin control and prediction of a nuclear power plant, characterized in that: In the offline stage, an operation data set based on sensor measurement values ​​during the abnormal operating condition transition and a control operation data set based on system protection measures during the abnormal operation of the nuclear power plant are constructed. The two data sets are simultaneously input into the Transformer neural network for training to obtain a time series prediction model for the operation data of the nuclear power plant under abnormal operating conditions. In the online stage, the trained time series prediction model is used to judge the real-time operating condition data. The preprocessing includes: mathematical quantification of external protective measures information and construction of internal physical sensor information data set; The physical quantities include: core pressure vessel water level, core outlet average temperature, hot pipe section temperature, cold pipe section temperature, pressurizer liquid phase temperature, pressurizer pressure, pressurizer water level, primary circuit coolant average temperature, steam pipeline pressure, steam generator secondary side feed water flow, steam generator secondary side feed water temperature and boron concentration.

2. The method for coupling digital twin control and prediction of a nuclear power plant according to claim 1, characterized in that: The mathematical quantification of the external protective measures information refers to: 1) Investigate the safety operation of system settings in the actual operation of nuclear power plants, including the automatic operation of the control system in abnormal conditions and the operations that operators should perform according to the instructions in the work manual; 2) Classify the external operations according to their effects, including instantaneous excitation type operations, step-invariant type operations, and step-attenuation type operations, and construct mathematical models to equate them respectively, and construct an external operation data set based on the control operation information.

3. The method for coupling digital twin control and prediction of a nuclear power plant according to claim 1, characterized in that: The internal physical sensor information data set construction refers to: 1) Collect the measurement data of various sensors inside the system under abnormal conditions of the nuclear power plant in chronological order, including 12 different types of physical quantities in multiple loops; 2) The collected sensor data is sorted in time series and completed, including missing value filling, outlier verification and noise removal, and then normalized to obtain the internal actual physical sensor information data set.

4. The method for coupling digital twin control and prediction of a nuclear power plant according to claim 1, characterized in that: The Transformer neural network includes: multiple encoders and decoders, wherein: the encoder performs dimensionality increase processing according to the input time series information to obtain a high-dimensional sequence containing data coupling information, and the decoder performs dimensionality reduction and decoupling processing according to the data coupling information to obtain the prediction result of the time series data.

5. The method for coupling digital twin control and prediction of a nuclear power plant according to claim 4 is characterized in that: The encoder includes: a multi-head self-attention unit, an encoder layer unit, and a layer normalization and residual connection unit, wherein: the multi-head self-attention unit allocates attention weights according to the input sequence information to obtain an attention weight matrix between the data; the encoder layer unit performs dimensionality processing on the data according to the attention weight matrix to obtain a high-dimensional sequence containing data coupling information; the layer normalization and residual connection unit is located between the encoder layers to accelerate the training process and transmit information between layers.

6. The method for coupling digital twin control and prediction of a nuclear power plant according to claim 4 is characterized in that: The decoder includes: a self-attention unit, a decoder layer unit, a layer normalization and residual connection unit, and a Softmax layer unit, wherein: the self-attention unit pays attention to a part of the sequence generated by the decoder end according to the input sequence information, and obtains the attention weight matrix of the generated sequence; the decoder layer unit reduces the dimension and decouples the data according to the attention weight matrix information, and obtains the value of the next step of the generated sequence; the layer normalization and residual connection unit are located between the decoder layers, and are used to accelerate the training process and transmit information between layers; the Softmax layer unit generates the predicted value of each position in the output sequence according to the output information of the last layer of the decoder layer.

7. The method for coupling digital twin control and prediction of a nuclear power plant according to claims 4-6 is characterized in that: The Transformer neural network is trained in the following way: a) Determine the optimal hyperparameter combination through the TPE optimization algorithm, specifically: first, based on the Bayesian optimization framework, build a probability model for the model's loss function, then divide the parameter space and build a model through kernel density estimation, build and update the probability model based on the modeling, and finally, based on the expected improvement criterion, iteratively select the optimal sampling point with the maximum expected improvement value as the principle, and obtain the data set capacity, number of attention heads, number of hidden layers, learning rate and regularization parameter with the best performance; b) The input format is a coupled data set of time series data. In chronological order, the first part of the time series data is used as the input data. The total 2000-step experimental data is divided into a ratio of approximately 5:1:4 as the training set, validation set, and test set of the Transformer neural network, respectively. The loss function is selected as MSELoss(), and the training is performed in the neural network with the goal of minimizing the error of the training set through iterative loops.

8. A time series data prediction system for implementing the method described in any one of claims 1 to 7, characterized in that: include: The module consists of a data set construction module, a neural network construction module and a prediction and evaluation module, wherein: the data set construction module considers both the control operation information and the operating data information under abnormal conditions, adjusts and cleans them, and constructs a neural network data set for the two types of information; the neural network construction module constructs a Transformer neural network, and makes targeted adjustments to the distribution of the internal attention mechanism based on the particularity of the data set, so that it can couple the two types of data sets. After dividing the data set into training set, validation set and test set, the model hyperparameters are optimized through the TPE iterative optimization method, the neural network is trained and its prediction effect is verified; the prediction and evaluation module processes the predicted data and the actual data, and takes the mean square value of the error between the predicted value and the actual value of the time series as the prediction accuracy evaluation indicator.

Citation Information

Patent Citations

  • Wastewater treatment monitoring method and system based on automatic optimization algorithm and deep learning

    CN114944203A

  • Nuclear power plant time sequence prediction method with uncertainty

    CN117273494A