Hybrid machine learning model-based critical heat flux prediction method and application thereof

By combining experimental data and empirical relationships, a hybrid machine learning model is used to predict the critical heat flow density, which solves the problems of large calculations and inaccurate results in the existing technology, achieves higher prediction accuracy and scope of application, and ensures the safety of nuclear reactors. design.

CN118690640APending Publication Date: 2024-09-24HARBIN ENG UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410726499.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The existing technology requires a large amount of calculations, inaccurate results, and a small scope of application when predicting critical heat flux density, making it difficult to meet the design and safety analysis needs of nuclear reactors.

Method used

A method based on a hybrid machine learning model is used, combining experimental data, empirical relationships and machine learning to establish a critical heat flow density database, and through compensation of the machine learning model and empirical relationships, the prediction accuracy and scope of application are improved.

Benefits of technology

It improves the prediction accuracy and application range of critical heat flow density, ensures that the nuclear reactor design has sufficient thermal margin, enhances safety, avoids the risk of core damage, and has broad engineering application prospects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690640A
    Figure CN118690640A
Patent Text Reader

Abstract

The invention discloses a critical heat flux prediction method based on a hybrid machine learning model and application thereof, and belongs to the field of thermal hydraulic safety analysis of nuclear reactors, and the method comprises the following steps: S1, establishing a critical heat flux database; s2, establishing a critical heat flux density database predicted by an empirical relational expression, and calculating an error between a predicted value and experimental data under the same condition; s3, performing standardized preprocessing on the data in the critical heat flux density database; s4, constructing a critical heat flux density machine learning model; s5, training a critical heat flux density machine learning model; s6, obtaining a hybrid machine learning model; and S7, predicting a critical heat flux density value by using the hybrid machine learning model. According to the critical heat flux prediction method based on the hybrid machine learning model and the application of the critical heat flux prediction method, the limitation of a single method can be made up through a hybrid method combining experimental data, an empirical relational expression and machine learning, and the prediction precision is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of thermal-hydraulic safety analysis of nuclear reactors, and in particular to a critical heat flux density prediction method based on a hybrid machine learning model and an application thereof. Background Art

[0002] Critical heat flux (CHF) refers to the maximum heat flux density that can stably transfer heat between the fluid and the heating surface under given pressure and fluid flow conditions. When the heat flux density exceeds the critical heat flux density, dehydration, bubble formation and liquid film rupture will occur between the fluid and the surface, resulting in a sharp drop in heat transfer performance and even equipment burnout.

[0003] For high-temperature and high-pressure systems such as chemical plants, understanding the critical heat flux can help evaluate the stability of the system under high heat load conditions; in the design process of thermal equipment such as heat exchangers, boilers, and steam turbines, understanding the critical heat flux can help optimize the equipment structure and operating parameters. At the same time, the critical heat flux is of great significance for understanding basic thermodynamics and heat transfer phenomena such as phase change processes and vapor-liquid two-phase flow.

[0004] In the field of nuclear engineering, critical heat flux is an important parameter for evaluating the thermal stability and safety of a nuclear reactor core. If the surface temperature of the fuel rods in the core approaches or exceeds the critical heat flux, it may lead to local overheating, fuel rod instability, core meltdown and other accidents, and even affect the safe operation of the entire nuclear power plant or nuclear power unit. Therefore, accurate prediction of critical heat flux is crucial to the design and operation of the system.

[0005] The existing methods for predicting critical heat flux density mainly include numerical simulation, theoretical models and experimental methods.

[0006] Among them, numerical simulation uses computational fluid dynamics (CFD) methods to perform detailed numerical simulations on fluid flow and phase change processes, and obtains numerical prediction results of critical heat flux density through simulation. This method has a heavy computational burden and has extremely strict requirements on model assumptions and parameter selection, mesh division, boundary condition setting, model verification and computing resources. If the model assumptions are inaccurate or the parameters are improperly selected, errors in the prediction results may occur. The thickness and structure of the mesh will also affect the accuracy of the simulation results, especially when dealing with complex phenomena such as phase change, which places extremely high requirements on mesh division. If the boundary conditions are not set properly, the simulation results may deviate from the actual situation. If the model lacks verification or the verification is inaccurate, the accuracy of the prediction results of the numerical simulation cannot be guaranteed. Complex numerical simulations require a lot of computing resources and time to carry out. If the computing resources do not meet the requirements, the application of this method in engineering practice will be limited.

[0007] The theoretical model is based on the theories of heat transfer and thermodynamics. A mathematical model is established to predict the critical heat flux density. This method needs to consider complex heat transfer processes and fluid dynamics phenomena, has a large amount of calculation work, and is difficult to be directly applied to engineering practice.

[0008] The experimental method is based on the value of the critical heat flux measured under different experimental conditions, and is predicted by fitting empirical relationships through a large amount of experimental data. However, it has many shortcomings such as strict experimental conditions, high cost, long cycle, and limited scope of application, making it difficult to be directly applied to engineering practice. Summary of the invention

[0009] In order to solve the problems of large amount of calculation, inaccurate prediction results and small scope of application of traditional methods for predicting critical heat flux, the present invention provides a critical heat flux prediction method based on a hybrid machine learning model and its application. By combining experimental data, empirical relationship and machine learning, the hybrid method can make up for the limitations of a single method to a certain extent and improve the prediction accuracy.

[0010] To achieve the above object, the present invention provides a critical heat flux prediction method based on a hybrid machine learning model, comprising the following steps:

[0011] S1. Establish a critical heat flux database, which includes a critical heat flux table, empirical relationship and experimental data;

[0012] S2. Establish a critical heat flux database predicted by an empirical relationship, wherein the empirical relationship includes three parameters: pressure, mass flow rate, and gas content, and calculate the error between the predicted value predicted by the empirical relationship and the experimental data under the same conditions;

[0013] S3, performing standardization preprocessing on the data in the critical heat flux database described in step S1, and dividing the preprocessed database into a training set and a test set;

[0014] S4. Construct a critical heat flux density machine learning model, determine the internal parameters of the model, and set the input variables to be the pressure, mass flow rate and gas content in the training set, and the output variable to be the critical heat flux density corresponding to different parameters;

[0015] S5, using the error calculated in step S2 as compensation for the critical heat flux density machine learning model established in step S4, training the critical heat flux density machine learning model until convergence, and outputting the trained critical heat flux density machine learning model;

[0016] S6, input the pressure, mass flow rate and gas content in the test set into the critical heat flux density machine learning model trained in step S5, obtain the prediction error, and determine whether the prediction error meets the set accuracy requirement. If so, compensate the prediction error to the prediction value of the empirical relationship described in step S2 to obtain a hybrid machine learning model;

[0017] S7. Use the hybrid machine learning model constructed in step S6 to predict the critical heat flux density value.

[0018] Preferably, the calculation formula of the error φ between the predicted value predicted by the empirical relationship under the same conditions in step S2 and the experimental data is as follows:

[0019] φ=CHF exp -CHF M

[0020] In the formula, CHF exp is the critical heat flux value obtained from the experiment; CHF M is the critical heat flux value predicted using the empirical relationship.

[0021] Preferably, the standardization preprocessing method in step S3 includes one of a Z-score standardization processing method, a centering method, and a regularization method;

[0022] The Z-score standardization method converts the original data into a standardized Z-Score value Z by calculating the standard deviation and mean of the data:

[0023]

[0024] In the formula, x represents the original data, represents the mean value of the original data, and sd(x) represents the standard deviation of the original data.

[0025] Preferably, in step S3, the preprocessed database is divided into a training set and a test set in a ratio of 8:2 using a division method selected from the group consisting of random division, time series division and hierarchical division.

[0026] Preferably, the critical heat flux density machine learning model described in step S4 includes an artificial neural network, a support vector machine or a random forest algorithm.

[0027] Preferably, in step S5, the prediction accuracy and generalization ability index of the critical heat flux density machine learning model are evaluated using the evaluation index until the prediction accuracy and the generalization ability index respectively reach the set range, and then it is determined that the critical heat flux density machine learning model converges;

[0028] Evaluation indicators include root mean square error RMSE, determination coefficient R2 :

[0029]

[0030]

[0031] Where n is the number of test points; y i is the true value of the i-th sample; is the predicted value of the critical heat flux density machine learning model of the i-th sample; is the mean of the true values.

[0032] Preferably, in step S6, the prediction error of the critical heat flux machine learning model is determined to be Φ SVM Is it less than or equal to the loss function LF? If so, then Φ SVM The predicted value CHF obtained by the empirical relationship M Mix and output; otherwise, return to step S5;

[0033] Among them, CHF mix The calculation formula is as follows:

[0034] CHF mix =CHF M +Φ SVM

[0035] In the formula, CHF mix The prediction error of the critical heat flux machine learning model is Φ SVM The mixed output value is the predicted value obtained by the empirical relationship.

[0036] Application of critical heat flux prediction method based on hybrid machine learning model in thermal analysis of nuclear reactor.

[0037] The present invention has the following beneficial effects:

[0038] 1. The hybrid method combining experimental data, empirical relationships and machine learning can make up for the limitations of a single method to a certain extent. By making full use of the advantages of various methods, it can expand the scope of application and improve the prediction efficiency while ensuring the prediction accuracy. It can also explore the complex relationships hidden behind the data, so as to better describe the variation law and complex characteristics of the critical heat flux density, provide support for the design and safety analysis of nuclear reactors, and ensure that the design of nuclear reactors has appropriate thermal margins, thereby ensuring the safety of nuclear reactors;

[0039] 2. Using critical heat flux tables, empirical relationships and experimental data as training data can cover critical heat flux under different conditions, making the data sample large, diversified and of high quality to improve the training accuracy of the machine learning model;

[0040] 3. It can quickly and accurately predict the critical heat flux density under different conditions based on the main factors affecting the change of critical heat flux density, avoid the risk of core destruction in nuclear reactors, make the design of nuclear reactors safer, and has broad application prospects in practical engineering.

[0041] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a flow chart of the critical heat flux density prediction method based on the hybrid machine learning model of the present invention. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical scheme and advantages disclosed in the embodiments of the present invention clearer, the embodiments of the present invention are further described in detail in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the embodiments of the present invention and are not intended to limit the embodiments of the present invention. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. Examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions.

[0044] It should be noted that the terms "include", "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or devices.

[0045] Like reference numerals and letters denote similar items in the following drawings, and thus, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0046] The development of a critical heat flux prediction method based on a hybrid machine learning model can achieve rapid prediction of critical heat flux under different conditions. It can fully combine the advantages of various methods, make up for the limitations of a single method to a certain extent, and improve the accuracy of the prediction results.

[0047] Based on the above analysis, the present invention is designed as follows: Figure 1 As shown, a critical heat flux prediction method based on a hybrid machine learning model includes the following steps:

[0048] S1. Establish a critical heat flux database, which includes critical heat flux tables, empirical relationships and experimental data. The sources of the empirical relationships and experimental data should be highly reliable. If other variables affecting the critical heat flux are consistent, the above collected data can be compiled into a complete and comprehensive database.

[0049] S2. Establish a critical heat flux database predicted by an empirical relationship, wherein the empirical relationship includes three parameters: pressure, mass flow rate, and gas content, and calculate the error between the predicted value predicted by the empirical relationship and the experimental data under the same conditions;

[0050] The calculation formula for the error φ between the predicted value predicted by the empirical relationship under the same conditions in step S2 and the experimental data is as follows:

[0051] φ=CHF exp -CHF M

[0052] In the formula, CHF exp is the critical heat flux value obtained from the experiment; CHF M is the critical heat flux value predicted using the empirical relationship.

[0053] S3, standardize and preprocess the data in the critical heat flux density database described in step S1, and divide the preprocessed database into a training set and a test set; the purpose of data preprocessing is to make the values ​​of each dimensional feature within the same range, so as to remove the interference of features of different scales, thereby speeding up the training speed and avoiding the model from being interfered by features with larger or smaller distribution ranges.

[0054] The standardization preprocessing method in step S3 includes one of a Z-score standardization processing method, a centering method, and a regularization method;

[0055] The Z-score standardization method converts the original data into a standardized Z-Score value Z by calculating the standard deviation and mean of the data:

[0056]

[0057] In the formula, x represents the original data, represents the mean value of the original data, and sd(x) represents the standard deviation of the original data.

[0058] In step S3, the preprocessed database is divided into a training set and a test set by random partitioning, time series partitioning or hierarchical partitioning in a ratio of 8:2. The partitioning method used in this embodiment is random partitioning, which randomly divides the samples in the data set into a training set and a test set to ensure that the sample distribution of the training set and the test set is random and uniform, so that the model has better generalization ability.

[0059] S4. Construct a critical heat flux density machine learning model, determine the internal parameters of the model, and set the input variables to be the pressure, mass flow rate and gas content in the training set, and the output variable to be the critical heat flux density corresponding to different parameters;

[0060] The critical heat flux density machine learning model described in step S4 includes an artificial neural network, a support vector machine or a random forest algorithm.

[0061] This embodiment uses a support vector machine to construct a critical heat flux prediction agent model, sets the model internal parameters, and sets the regularization parameter C to 0.7 to ensure the training accuracy and training speed of the model. Since support vector machines are often used for classification and regression analysis, and this example belongs to a regression problem, support vector machines can be used to fit the data by finding the optimal hyperplane to minimize the prediction error.

[0062] S5, using the error calculated in step S2 as compensation for the critical heat flux density machine learning model established in step S4, training the critical heat flux density machine learning model until convergence, and outputting the trained critical heat flux density machine learning model;

[0063] In step S5, the prediction accuracy and generalization ability index of the critical heat flux density machine learning model are evaluated by using the evaluation index, until the prediction accuracy and generalization ability index are within the set range respectively, then it is determined that the critical heat flux density machine learning model converges;

[0064] Evaluation indicators include root mean square error RMSE, determination coefficient R 2 :

[0065]

[0066]

[0067] Where n is the number of test points; y i is the true value of the i-th sample; is the predicted value of the critical heat flux density machine learning model of the i-th sample; is the mean of the true values.

[0068] S6. Input the pressure, mass flow rate and gas content in the test set into the critical heat flux density machine learning model trained in step S5 to obtain the prediction error, and determine whether the prediction error meets the set accuracy requirement. If so, compensate the prediction error to the prediction value of the empirical relationship described in step S2 to obtain a hybrid machine learning model. The obtained hybrid machine learning model is suitable for processing complex nonlinear systems and the relationship between multiple variables, can better describe the complex characteristics of critical heat flux density, and the method is more applicable and has very important practical application significance.

[0069] In step S6, the prediction error of the critical heat flux machine learning model is determined to be Φ SVM Is it less than or equal to the loss function LF? If so, then Φ SVM The predicted value CHF obtained by the empirical relationship M Mix and output; otherwise, return to step S5;

[0070] Among them, CHF mix The calculation formula is as follows:

[0071] CHF mix =CHF M +Φ SVM

[0072] In the formula, CHF mix The prediction error of the critical heat flux machine learning model is Φ SVM The mixed output value is the predicted value obtained by the empirical relationship.

[0073] S7. Use the hybrid machine learning model constructed in step S6 to predict the critical heat flux density value.

[0074] Application of critical heat flux prediction method based on hybrid machine learning model in thermal analysis of nuclear reactor.

[0075] Therefore, the present invention adopts the above-mentioned critical heat flux density prediction method based on hybrid machine learning model and its application. By combining experimental data, empirical relationship and machine learning hybrid method, it can make up for the limitations of a single method to a certain extent and improve the prediction accuracy.

[0076] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.

Claims

1. A critical heat flux prediction method based on a hybrid machine learning model, characterized in that: The following steps are involved: S1. Establish a critical heat flux database, which includes a critical heat flux table, empirical relationship and experimental data; S2. Establish a critical heat flux database predicted by an empirical relationship, wherein the empirical relationship includes three parameters: pressure, mass flow rate, and gas content, and calculate the error between the predicted value predicted by the empirical relationship and the experimental data under the same conditions; S3, performing standardization preprocessing on the data in the critical heat flux database described in step S1, and dividing the preprocessed database into a training set and a test set; S4. Construct a critical heat flux density machine learning model, determine the internal parameters of the model, and set the input variables to be the pressure, mass flow rate and gas content in the training set, and the output variable to be the critical heat flux density corresponding to different parameters; S5, using the error calculated in step S2 as compensation for the critical heat flux density machine learning model established in step S4, training the critical heat flux density machine learning model until convergence, and outputting the trained critical heat flux density machine learning model; S6, input the pressure, mass flow rate and gas content in the test set into the critical heat flux density machine learning model trained in step S5, obtain the prediction error, and determine whether the prediction error meets the set accuracy requirement. If so, compensate the prediction error to the prediction value of the empirical relationship described in step S2 to obtain a hybrid machine learning model; S7. Use the hybrid machine learning model constructed in step S6 to predict the critical heat flux density value.

2. The critical heat flux prediction method based on hybrid machine learning model according to claim 1 is characterized in that: The calculation formula for the error φ between the predicted value predicted by the empirical relationship under the same conditions in step S2 and the experimental data is as follows: φ=CHF exp -CHF M In the formula, CHF exp is the critical heat flux value obtained from the experiment; CHF M is the critical heat flux value predicted using the empirical relationship.

3. The critical heat flux prediction method based on hybrid machine learning model according to claim 2 is characterized in that: The standardization preprocessing method in step S3 includes one of a Z-score standardization processing method, a centering method, and a regularization method; The Z-score standardization method converts the original data into a standardized Z-Score value Z by calculating the standard deviation and mean of the data: In the formula, x represents the original data, represents the mean value of the original data, and sd(x) represents the standard deviation of the original data.

4. The critical heat flux prediction method based on the hybrid machine learning model according to claim 3 is characterized in that: In step S3, the preprocessed database is divided into a training set and a test set in a ratio of 8:2 using a partitioning method selected from random partitioning, time series partitioning or hierarchical partitioning.

5. The critical heat flux prediction method based on hybrid machine learning model according to claim 4 is characterized in that: The critical heat flux density machine learning model described in step S4 includes one of an artificial neural network, a support vector machine or a random forest algorithm.

6. The critical heat flux prediction method based on hybrid machine learning model according to claim 5 is characterized in that: In step S5, the prediction accuracy and generalization ability index of the critical heat flux density machine learning model are evaluated by using the evaluation index, until the prediction accuracy and generalization ability index are within the set range respectively, then it is determined that the critical heat flux density machine learning model converges; Evaluation indicators include root mean square error RMSE, determination coefficient R 2 : Where n is the number of test points; y i is the true value of the i-th sample; is the predicted value of the critical heat flux density machine learning model of the i-th sample; y is the mean of the true value.

7. The critical heat flux prediction method based on hybrid machine learning model according to claim 6 is characterized in that: In step S6, the prediction error of the critical heat flux machine learning model is determined to be Φ SVM Is it less than or equal to the loss function LF? If so, then Φ SVM The predicted value CHF obtained by the empirical relationship M Mix and output; otherwise, return to step S5; Among them, CHF mix The calculation formula is as follows: CHF mix =CHF M +Φ SVM In the formula, CHF mix The prediction error of the critical heat flux machine learning model is Φ SVM The mixed output value is the predicted value obtained by the empirical relationship.

8. Application of the critical heat flux prediction method based on the hybrid machine learning model as described in any one of claims 1 to 7 in thermal analysis of nuclear reactors.

Citation Information

Cited By

  • MACHINE LEARNING-BASED METHOD FOR PREDICTING CRITICAL HEAT FLOW DENSITY

    BE1033478B1

  • Nuclear reactor containment vessel thermal hydraulic state prediction method based on machine learning and system program coupling

    CN121880825A