An online NOx prediction method and system based on adaptive updating strategy
Through the adaptive update strategy and Elastic Net network model, the model mismatch problem caused by feature selection and working condition changes in NOx prediction modeling is solved, and high-precision and fast-response online NOx prediction is achieved, which is suitable for coal-fired power plants. Real time application.
Patent Information
- Application Number
- CN202410016877.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-03
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-01-03
AI Technical Summary
Traditional NOx prediction modeling methods are difficult to adaptively select feature subsets with high correlation, resulting in model mismatch and feature mismatch caused by changes in operating conditions, making it difficult to ensure prediction accuracy and real-time performance.
The online NOx prediction method based on the adaptive update strategy is adopted, and the Elastic Net network model and sliding window mechanism are used to collect data in real time, dynamically optimize model parameters and feature selection, adapt to changes in working conditions, and build a target online NOx prediction model.
It achieves rapid model update and high-precision prediction, reduces computing costs, meets the real-time and prediction accuracy requirements of coal-fired power plants, and improves the model's adaptive capabilities and generalization capabilities.
Smart Images

Figure CN117809763B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of boiler coal-fired NOx concentration prediction, and in particular to an online NOx prediction method and system based on a self-adaptive updating strategy. Background Art
[0002] NOx generated during boiler combustion will be converted into nitrates in the atmosphere, producing acid rain and photochemical smog, which seriously affects air quality and human health. As deep peak regulation of boilers becomes the norm, the combustion of boilers is unstable when they are continuously operated at low loads, resulting in increased NOx emissions. Real-time and accurate prediction of the NOx emission concentration at the furnace outlet not only helps operators understand the future combustion status of the boiler, promptly discover and solve problems that may cause abnormal NOx emissions, but also provides future emission information for the feedforward control system and makes corresponding control actions in advance. However, the complex combustion process of the boiler involves many variables, and the variables are nonlinearly coupled, which brings difficulties to the modeling of NOx at the furnace outlet.
[0003] At present, there are many online NOx prediction methods for coal-fired power plants in the industry, such as NOx modeling methods based on mechanism analysis, which combine the NOx reaction mechanism and heat transfer mechanism inside the furnace and use differential equations to build a mechanism model of NOx reaction. However, the NOx generation mechanism is complex, and it is difficult to describe the structure and parameters of the object using differential equations. Under the condition of rapid load change of coal-fired units, the identification of the mechanism model parameters is easy to fail, and its parameter relationship changes with the coal quality, ash deposition and equipment status, and the parameter optimization time is long; such as the data-driven NOx modeling method, which is based on the theory of artificial intelligence technology and stores a large amount of time series data during the operation of the power plant. On the basis of data-driven, a nonlinear model is established for NOx prediction. This modeling process is relatively simple and has a high model accuracy. The boiler system model is a time-varying model, and changes in operating conditions and environmental changes will lead to model mismatch. At present, many NOx modeling algorithms are based on offline training methods, such as neural network LSTM, GRU and other algorithms and machine learning RF, XGBoost and other algorithms. The model structures of these algorithms are complex, and the model iteration and update time is too long, making it difficult to ensure the effectiveness of the prediction process. In addition, in order to solve the dimensionality disaster problem of the input variables of the boiler prediction model, current research generally adopts a fixed feature selection method, ignoring the importance of features under different working conditions, which affects the accuracy of the prediction model.
[0004] For the existing NOx prediction modeling methods, since the boiler combustion process has the characteristics of nonlinearity, strong coupling and time-varying, when the model has partial deviations or is unavailable, the iterative update time of the complex model is too long, the accuracy of mechanism modeling and data modeling is difficult to guarantee, and the effect of feature selection in the initial stage of data modeling is difficult to maintain, so that it cannot meet the long-term online NOx emission prediction. At the same time, the boiler combustion system is a multivariable, strongly coupled nonlinear complex system, and the combustion process has time-varying and uncertainties. The feature dimensions of the data sets collected from the power plant SIS and DCS systems are generally high, which makes it difficult to provide effective feature information that reflects the changes in NOx concentration by relying on fixed feature selection methods. Summary of the invention
[0005] The present invention provides an online NOx prediction method and system based on an adaptive updating strategy, which solves the technical problems that traditional prediction modeling methods are difficult to adaptively select feature subsets with high correlation, and there will be model mismatch and feature mismatch caused by changes in operating conditions.
[0006] The first aspect of the present invention provides an online NOx prediction method based on an adaptive update strategy, comprising:
[0007] In response to the received NOx prediction request, obtaining DCS operation data corresponding to the NOx prediction request and constructing training set data;
[0008] Based on the adaptive update strategy, the training set data is used to construct a target online NOx prediction model;
[0009] Based on the sliding window, the target operation data of the DCS system is collected in real time and input into the target online NOx prediction model to determine the target NOx prediction value;
[0010] The target operating data is input into a preset operating condition discrimination model to determine an operating condition inspection value and a target operating condition;
[0011] Using the target NOx prediction value to input a preset target operating condition evaluation index value model associated with the target operating condition, and outputting an operating condition evaluation index value;
[0012] Comparing the operating condition evaluation index value with a preset update index value;
[0013] If the operating condition evaluation index value is less than or equal to the preset update index value, the target NOx prediction value is output, and the step of collecting the target operating data of the DCS system in real time based on the sliding window and inputting the target online NOx prediction model to determine the corresponding target NOx prediction value is jumped.
[0014] Optionally, it also includes:
[0015] If the operating condition evaluation index value is greater than the preset update index value, the process jumps to the step of constructing a target online NOx prediction model based on the adaptive update strategy and using the training set data.
[0016] Optionally, the step of constructing a target online NOx prediction model using the training set data based on an adaptive update strategy includes:
[0017] Construct an initial online NOx prediction model based on the Elastic Net network model;
[0018] The loss function of the initial online NOx prediction model is:
[0019]
[0020] (β1,β2…,β p ) represents the 1st, ..., pth regression feature coefficients, λ represents the regularization term coefficient, α represents the weight ratio coefficient between the L1 and L2 regularization terms, and X represents the feature matrix of the training set data, wherein X=(X1,X2…,X p ), (X1,X2…,X p ) represents the 1st, ..., pth training set data, Y represents the characteristic matrix of NOx emission concentration at the furnace outlet, where Y = (Y1, Y2..., Y p ), (Y1,Y2…,Y p ) represents the 1st, ..., pth NOx emission concentration value;
[0021] Based on the grid search method, the training set data is input into the initial online NOx prediction model for training to determine the optimized modeling parameters;
[0022] Based on feature selection, the training set data is input into the initial online NOx prediction model for training to determine the optimized modeling feature coefficients;
[0023] The initial online NOx prediction model is coupled with the optimized modeling parameters and the optimized modeling characteristic coefficients to construct a target online NOx prediction model.
[0024] Optionally, the step of using the training set data to input the initial online NOx prediction model for training and determining the optimized modeling parameters based on the grid search method includes:
[0025] Setting a search step size to search for model parameters associated with each operating condition, wherein the model parameters include the regularization term coefficient and the weight ratio coefficient between the L1 and L2 regularization terms;
[0026] Combining all the model parameters to generate multiple sets of target modeling parameters;
[0027] Based on the exhaustive method, multiple groups of the target modeling parameters are input into the initial online NOx prediction model for calculation to generate multiple target loss functions;
[0028] A minimum value is selected from the multiple target loss functions, and the associated target modeling parameters are used as optimized modeling parameters.
[0029] Optionally, the step of using the training set data to input the initial online NOx prediction model for training based on feature selection to determine the optimized modeling feature coefficients includes:
[0030] Using the training set data to input the initial online NOx prediction model for training, and determining the corresponding regression coefficient matrix;
[0031] The absolute values of all the regression characteristic coefficients in the regression coefficient matrix are truncated by setting a truncation threshold, and the regression characteristic coefficients whose absolute values are less than the truncation threshold are screened out;
[0032] The retained regression characteristic coefficients whose absolute values are greater than or equal to the cutoff threshold are used as optimized modeling characteristic coefficients.
[0033] Optionally, the target operating data includes unit load operating data, and the step of using the target operating data to input a preset operating condition discrimination model to determine an operating condition inspection value and a target operating condition includes:
[0034] The load operation data of the unit is input into a preset working condition discrimination model, and a corresponding working condition inspection value is output;
[0035] Comparing the working condition inspection value with a preset working condition discrimination value;
[0036] If the working condition test value is less than the preset working condition judgment value, it is judged as a steady-state working condition;
[0037] If the operating condition test value is greater than or equal to the preset operating condition judgment value, it is determined to be a dynamic operating condition.
[0038] Optionally, the preset working condition discrimination model is:
[0039]
[0040] In the formula, σ xi represents the working condition inspection value, m represents the sliding window length, x i represents the load operation data of the unit at time i, Indicates the average unit load operation data.
[0041] Optionally, the preset target operating condition evaluation index value model includes a preset steady-state operating condition evaluation index value model and a preset dynamic operating condition evaluation index value model, and the step of using the target NOx prediction value to input the preset target operating condition evaluation index value model associated with the target operating condition to output the operating condition evaluation index value includes:
[0042] When the target operating condition is a steady-state operating condition, the target NOx prediction value is used to input the preset steady-state operating condition evaluation index value model, and the operating condition evaluation index value corresponding to the steady-state operating condition is output;
[0043] When the target operating condition is a dynamic operating condition, the target NOx prediction value is used to input the preset dynamic operating condition evaluation index value model, and the operating condition evaluation index value corresponding to the dynamic operating condition is output.
[0044] Optionally, the preset steady-state operating condition evaluation index value model is:
[0045]
[0046] In the formula, RMSE represents the working condition evaluation index value corresponding to the steady-state working condition, m represents the number of sliding window samples, represents the target NOx predicted value at time i, and y represents the NOx concentration measured value at time i;
[0047] The preset dynamic working condition evaluation index value model is:
[0048]
[0049] Wherein, MAPE represents the working condition evaluation index value corresponding to the dynamic working condition.
[0050] The second aspect of the present invention provides an online NOx prediction system based on an adaptive update strategy, comprising:
[0051] A response module, used to respond to a received NOx prediction request, obtain DCS operation data corresponding to the NOx prediction request and construct training set data;
[0052] A model building module, used to build a target online NOx prediction model using the training set data based on an adaptive update strategy;
[0053] A NOx prediction module is used to collect target operation data of the DCS system in real time based on a sliding window and input the target online NOx prediction model to determine a target NOx prediction value;
[0054] A working condition discrimination module, used to input the target operating data into a preset working condition discrimination model to determine a working condition inspection value and a target working condition;
[0055] An evaluation index module, configured to use a target NOx prediction value to input a preset target operating condition evaluation index value model associated with the target operating condition, and output an operating condition evaluation index value;
[0056] A working condition comparison module, used for comparing the working condition evaluation index value with a preset update index value;
[0057] A processing module is used to output the target NOx prediction value if the operating condition evaluation index value is less than or equal to the preset update index value, and jump to the step of collecting the target operation data of the DCS system in real time based on the sliding window and inputting the target online NOx prediction model to determine the corresponding target NOx prediction value.
[0058] It can be seen from the above technical solutions that the present invention has the following advantages:
[0059] In response to a received NOx prediction request, the DCS operation data corresponding to the NOx prediction request is obtained and training set data is constructed. Based on an adaptive update strategy, a target online NOx prediction model is constructed using the training set data. Based on a sliding window, the target operation data of the DCS system is collected in real time and input into the target online NOx prediction model to determine the target NOx prediction value. The target operation data is input into a preset operating condition discrimination model to determine the operating condition inspection value and the target operating condition. The target NOx prediction value is input into a preset target operating condition evaluation index value model associated with the target operating condition to output the operating condition evaluation index value. The operating condition evaluation index value is compared with the preset update index value. If the operating condition evaluation index value is less than or equal to the preset update index value, the target NOx prediction value is output, and the step of collecting the target operation data of the DCS system in real time based on a sliding window and inputting into the target online NOx prediction model to determine the corresponding target NOx prediction value is jumped. The technical problem that the traditional prediction modeling method is difficult to adaptively select a feature subset with high correlation and there will be model mismatch and feature mismatch caused by operating condition changes is solved. Thus, the advantages of simple structure and short update time compared with the existing model are achieved. It is possible to obtain model results with high prediction accuracy under the condition of a small amount of historical data, reducing the computing cost. It is very beneficial for coal-fired power plants that need to quickly apply models, and can meet the requirements of real-time and prediction accuracy at the same time. The adaptive update strategy solves the problems caused by the time-varying characteristics of the input variables, ensures the effectiveness of the model, and improves the model's adaptability and generalization capabilities. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0061] Figure 1 A flowchart of the steps of an online NOx prediction method based on an adaptive update strategy provided in Embodiment 1 of the present invention;
[0062] Figure 2 A flowchart of the steps of an online NOx prediction method based on an adaptive update strategy provided in the second embodiment of the present invention;
[0063] Figure 3 The online combustion NOx prediction modeling and update flow chart provided in the second embodiment of the present invention;
[0064] Figure 4 A schematic diagram of the structure of a target online NOx prediction model for furnace outlet NOx soft measurement provided in the second embodiment of the present invention;
[0065] Figure 5 This is a structural block diagram of an online NOx prediction system based on an adaptive update strategy provided in Example 3 of the present invention. DETAILED DESCRIPTION
[0066] The embodiment of the present invention provides an online NOx prediction method and system based on an adaptive update strategy, which is used to solve the technical problems that traditional prediction modeling methods are difficult to adaptively select feature subsets with high correlation, and there will be model mismatch and feature mismatch caused by changes in operating conditions.
[0067] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below 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.
[0068] See also Figure 1 , Figure 1 A flowchart of the steps of an online NOx prediction method based on an adaptive update strategy provided in Embodiment 1 of the present invention.
[0069] The present invention provides an online NOx prediction method based on an adaptive update strategy, comprising:
[0070] Step 101 : In response to a received NOx prediction request, obtain DCS operation data corresponding to the NOx prediction request and construct training set data.
[0071] The NOx prediction request refers to request information for prediction of NOx concentration.
[0072] DCS operation data refers to the system operation data related to the combustion process of the coal-fired power plant boiler collected from the DCS system. It includes but is not limited to 105 operation data such as unit load, coal feed, unit total air volume, drum water level, primary air volume, secondary air volume, feed water flow, coal feed, etc., which are used as model input variables, and the furnace outlet NOx concentration is the model output variable. The training set data {X i ,Y i}.
[0073] In an embodiment of the present invention, in response to receiving a request information for predicting NOx concentration, the request information is read, the corresponding DCS system is determined, system operation data related to the combustion process of the coal-fired power plant boiler in the DCS system is collected, and the corresponding training set data is constructed.
[0074] Step 102: Based on the adaptive update strategy, a target online NOx prediction model is constructed using the training set data.
[0075] The adaptive update strategy refers to an update strategy based on the Elastic Net linear regression model that uses the grid search method and L1 and L2 regularization to adaptively optimize the parameters and characteristic coefficients of the linear regression model.
[0076] The Elastic Net linear regression model refers to a linear regression model improved based on the lasso and Ridge regression algorithms.
[0077] LASSO regression algorithm refers to a compression estimation method that obtains a refined model by constructing a penalty function and retains the advantages of subset shrinkage;
[0078] The Ridge regression algorithm refers to adding the L2 norm as a penalty term in the loss function.
[0079] In an embodiment of the present invention, based on the Elastic Net linear regression model, a grid search method and L1 and L2 regularization are used with training set data to update adaptive optimization parameters and characteristic coefficients to construct a target online NOx prediction model.
[0080] Step 103: Based on the sliding window, the target operation data of the DCS system is collected in real time and input into the target online NOx prediction model to determine the target NOx prediction value.
[0081] DCS system refers to a distributed control system, a distributed computer control system used to control multiple boiler systems.
[0082] The target operating data refers to the prediction operating data collected for input into the target online NOx prediction model for NOx concentration prediction.
[0083] The target NOx prediction value refers to the output of the NOx concentration prediction value by inputting the collected target operation data into the target online NOx prediction model for prediction.
[0084] In an embodiment of the present invention, a sliding window is established to collect target operation data of the DCS system in real time, the window length is set, and the target operation data associated with the DCS system collected is input into the target online NOx prediction model through the sliding window for prediction, thereby outputting a predicted value of NOx concentration.
[0085] Step 104: Use the target operating data to input a preset operating condition discrimination model to determine the operating condition test value and the target operating condition.
[0086] The preset operating condition discrimination model refers to an operating condition discrimination model established for discriminating the operating condition of a boiler system associated with NOx concentration prediction.
[0087] The operating condition test value refers to the test value output by the preset operating condition judgment model for judging the operating condition of the boiler system.
[0088] The target operating condition refers to the operating condition of the boiler system for operating condition judgment.
[0089] In the embodiment of the present invention, the target operating data is input into a preset operating condition discrimination model for discrimination, thereby determining the current operating condition inspection value and the target operating condition of the boiler system associated with the target operating data.
[0090] Step 105: Use the target NOx prediction value to input a preset target operating condition evaluation index value model associated with the target operating condition, and output the operating condition evaluation index value.
[0091] The preset target operating condition evaluation index value model refers to an operating condition evaluation index value model established for outputting a standard evaluation index value for determining whether to update the target online NOx prediction model.
[0092] In an embodiment of the present invention, the target NOx prediction value is input into a preset target operating condition evaluation index value model associated with the target operating condition, and the operating condition evaluation index value corresponding to the target NOx prediction value is output.
[0093] Step 106: Compare the operating condition evaluation index value with the preset update index value.
[0094] In an embodiment of the present invention, a test value output by a preset operating condition discrimination model for judging the operating condition of the boiler system is compared with an operating condition evaluation index value output by a preset target operating condition evaluation index value model.
[0095] Step 107: If the operating condition evaluation index value is less than or equal to the preset update index value, the target NOx prediction value is output, and the process jumps to the step of collecting the target operating data of the DCS system in real time based on the sliding window and inputting the target online NOx prediction model to determine the corresponding target NOx prediction value.
[0096] In an embodiment of the present invention, if the operating condition evaluation index value is less than or equal to the preset update index value, the NOx concentration prediction value predicted by the target operating data at the current moment associated with the sliding window is output, and step 103 is jumped to update the target operating data through the sliding window and input the target online NOx prediction model to continue the prediction until all the collected target operating data have completed the prediction.
[0097] In the present invention, in response to a received NOx prediction request, DCS operation data corresponding to the NOx prediction request is obtained and training set data is constructed. Based on an adaptive update strategy, a target online NOx prediction model is constructed using the training set data. Based on a sliding window, the target operation data of the DCS system is collected in real time and input into the target online NOx prediction model to determine a target NOx prediction value. The target operation data is input into a preset operating condition discrimination model to determine an operating condition inspection value and a target operating condition. The target NOx prediction value is input into a preset target operating condition evaluation index value model associated with the target operating condition to output an operating condition evaluation index value. The operating condition evaluation index value is compared with the preset update index value. If the operating condition evaluation index value is less than or equal to the preset update index value, the target NOx prediction value is output, and the step of collecting the target operation data of the DCS system in real time based on a sliding window and inputting into the target online NOx prediction model to determine the corresponding target NOx prediction value is jumped. The technical problem that it is difficult for traditional prediction modeling methods to adaptively select feature subsets with high correlation and there will be model mismatch and feature mismatch caused by operating condition changes is solved. The advantages of simple structure and short update time compared with existing models are achieved. It is possible to obtain model results with high prediction accuracy under the condition of a small amount of historical data, reducing the computing cost. It is very beneficial for coal-fired power plants that need to quickly apply models, and can meet the requirements of real-time and prediction accuracy at the same time. The adaptive update strategy solves the problems caused by the time-varying characteristics of the input variables, ensures the effectiveness of the model, and improves the model's adaptability and generalization capabilities.
[0098] See also Figure 2-Figure 4 , Figure 2 A flowchart of the steps of an online NOx prediction method based on an adaptive update strategy provided in the second embodiment of the present invention.
[0099] Figure 3 This is a flowchart of online combustion NOx prediction modeling and updating provided in Example 2 of the present invention.
[0100] Figure 4 This is a schematic diagram of the structure of a target online NOx prediction model for furnace outlet NOx soft measurement provided in Example 2 of the present invention.
[0101] The present invention provides an online NOx prediction method based on an adaptive update strategy, comprising:
[0102] Step 201 : In response to a received NOx prediction request, obtain DCS operation data corresponding to the NOx prediction request and construct training set data.
[0103] In the embodiment of the present invention, the specific implementation process of step 201 is similar to step 101 and will not be repeated here.
[0104] Step 202: Based on the adaptive update strategy, a target online NOx prediction model is constructed using training set data.
[0105] It should be noted that in step 202, in order to establish a NOx dynamic prediction model based on Elastic Net, the training set data is used and an optimization algorithm is adopted to automatically find the optimal model parameters to obtain the best Elastic Net model structure. At the same time, the key features that affect NOx emissions are selected through the threshold method in combination with the Elastic Net feature evaluation capability, avoiding irrelevant or redundant features from interfering with the model, streamlining the model structure and improving the generalization ability of the model.
[0106] Further, step 202 may include the following sub-steps:
[0107] It is worth mentioning that Elastic Net is a linear regression model based on the improved lasso and Ridge regression algorithms. It effectively balances the sparsity and training speed of the model by combining L1 and L2 regularization, and can process high-dimensional data and perform feature selection. Compared with Lasso and Ridge regression, Elastic Net can better extract sparse features and reduce information loss, and has faster training speed and robustness to outliers.
[0108] In the boiler combustion system, ElasticNet captures the trend of NOx concentration changes by incorporating the features related to NOx concentration into the linear regression model.
[0109] Get boiler operation data from DCS system (X i ,Y i ),i=1,2,…,n, where Xi ∈R p is the p characteristic variables of the sample, Y i The independent variable X is the variable of NOx emission concentration at the furnace outlet. i With dependent variable Y i The multiple linear regression equation is:
[0110] Y i =X i β i +ε
[0111] In the formula, each feature variable X i Each corresponds to a regression characteristic coefficient β i , represents the influence of the characteristic on NOx concentration, and ε represents the random error that obeys the normal distribution.
[0112] In order to improve the sparsity and collinearity problems of solutions in high-dimensional feature space, ElasticNet balances the trade-off between feature selection and model stability by adjusting the weight ratio between L1 and L2 regularization terms, and constructs an initial online NOx prediction model based on the ElasticNet network model.
[0113] S11. Build an initial online NOx prediction model based on the ElasticNet network model;
[0114] The loss function of the initial online NOx prediction model is:
[0115]
[0116] In the formula, represents the loss function, β represents the regression coefficient matrix, where β=(β1,β2…,β p ), (β1,β2…,β p ) represents the 1st, ..., pth regression feature coefficients, λ represents the regularization term coefficient, α represents the weight ratio coefficient between L1 and L2 regularization terms, and X represents the feature matrix of the training set data, where X=(X1,X2…,X p ), (X1,X2…,X p ) represents the 1st, ..., pth training set data, Y represents the characteristic matrix of NOx emission concentration at the furnace outlet, where Y = (Y1, Y2..., Y p ), (Y1,Y2…,Y p ) represents the 1st, ..., pth NOx emission concentration value
[0117] In the embodiment of the present invention, Elastic Net is used as the initial model for soft measurement of NOx at the furnace outlet of the combustion system.
[0118] S12. Based on the grid search method, the training set data is used to input the initial online NOx prediction model for training to determine the optimized modeling parameters.
[0119] The grid search method ensures that the search solution obtained is the global optimal solution in the defined parameter space, avoiding major errors caused by improper parameter selection.
[0120] Further, S12 may include the following sub-steps:
[0121] S121. Setting a search step size to search for model parameters associated with each operating condition, wherein the model parameters include a regularization term coefficient and a weight ratio coefficient between L1 and L2 regularization terms.
[0122] In the embodiment of the present invention, the optimization parameters based on the Elastic Net algorithm are λ and α, and the value range is between 0 and 1. In order to improve the prediction effect of the algorithm under different working conditions, λ=0.01-0.99, the search step is 0.01, α=0.01-0.99, the search step is 0.01, and the model parameters corresponding to each working condition are searched.
[0123] S122, combining all model parameters to generate multiple groups of target modeling parameters.
[0124] In the embodiment of the present invention, all λ and α are parameterized to generate multiple groups of target modeling parameters.
[0125] S123. Based on the exhaustive method, multiple sets of target modeling parameters are input into the initial online NOx prediction model for calculation to generate multiple target loss functions.
[0126] In the embodiment of the present invention, different parameter combinations are calculated one by one by an exhaustive method, and multiple target loss functions are calculated by an initial online NOx prediction model.
[0127] S124. Select a minimum value from multiple target loss functions, and use the associated target modeling parameters as optimized modeling parameters.
[0128] In an embodiment of the present invention, a target loss function with the smallest loss function value is selected from multiple target loss functions, and a target modeling parameter associated with the target loss function with the smallest loss function value is used as an optimized modeling parameter.
[0129] S13. Based on feature selection, the training set data is used to input the initial online NOx prediction model for training to determine the optimized modeling characteristic coefficients.
[0130] Feature selection refers to the Elastic Net algorithm adaptively filtering out features with low relevance to NOx prediction through the L1 regularization term based on data characteristics to ensure optimal model performance.
[0131] Furthermore, S13 may include the following sub-steps:
[0132] S131, using training set data to input the initial online NOx prediction model for training, and determining the corresponding regression coefficient matrix.
[0133] In the embodiment of the present invention, the boiler operation data (X) is obtained from the DCS system. i ,Y i ),i=1,2,…,n, where X i ∈R p is the p characteristic variables of the sample, each characteristic variable X i Each corresponds to a regression characteristic coefficient β i , directly participate in the calculation process of the loss function, train and fit the model, and for each regression feature coefficient β i , fix the regression coefficients of other features, and reduce the prediction error by minimizing the loss function of the initial online NOx prediction model. When the loss function converges or reaches the maximum number of iterations, the algorithm stops and returns the final regression coefficient matrix β. The larger the absolute value of the feature regression coefficient, the higher the importance of the feature in the model.
[0134] S132. The absolute values of all regression characteristic coefficients in the regression coefficient matrix are truncated by setting a truncation threshold, and regression characteristic coefficients whose absolute values are smaller than the truncation threshold are screened out.
[0135] S133. Retain regression characteristic coefficients whose absolute values are greater than or equal to the cutoff threshold as optimized modeling characteristic coefficients.
[0136] In the embodiment of the present invention, the regression coefficient is truncated by setting a truncation threshold T, and important features that have a greater impact on the target variable are screened out to reduce the complexity of the model and improve the prediction performance.
[0137] Specifically, for each regression characteristic coefficient β i :
[0138]
[0139] S14. The initial online NOx prediction model is coupled with the optimized modeling parameters and the optimized modeling characteristic coefficients to construct a target online NOx prediction model.
[0140] In the embodiment of the present invention, the initial online NOx prediction model is coupled with the adjusted optimization modeling parameters and the optimization modeling characteristic coefficients to construct an optimized target online NOx prediction model.
[0141] It is worth mentioning that the present invention uses the Elastic Net algorithm to construct a soft measurement model of NOx at the furnace outlet of the combustion system. The Elastic Net algorithm combines L1 and L2 regularization terms to calculate feature importance and improve the performance and prediction accuracy of the model by adaptively filtering out features with low relevance to NOx prediction.
[0142] Step 203: Based on the sliding window, the target operation data of the DCS system is collected in real time and input into the target online NOx prediction model to determine the target NOx prediction value.
[0143] Sliding window refers to deploying the trained target online NOx prediction model to the online environment, receiving real-time data input, predicting NOx emissions, and automatically updating the model in time according to new observation data by establishing a sliding window. Assuming the window length is m, the data set in the window is {X i ,Y i}, i = 1, 2, ..., m, the sliding length is k, that is, k new samples are accepted each time and saved in the sliding window, and input into the online model for real-time prediction, while k old samples are eliminated to avoid data accumulation.
[0144] In an embodiment of the present invention, a sliding window is established to collect target operation data of the DCS system in real time, the window length is set, and the target operation data associated with the DCS system collected is input into the target online NOx prediction model through the sliding window for prediction, thereby outputting a predicted value of NOx concentration.
[0145] It should be noted that due to the different fluctuations in the model prediction error deviation of the boiler system under steady-state and dynamic conditions, frequent model replacement or unnecessary replacement due to misjudgment of model mismatch will increase the prediction error. Different evaluation indicators should be used during steady-state and dynamic conditions.
[0146] Step 204: Use the target operating data to input a preset operating condition discrimination model to determine the operating condition test value and the target operating condition.
[0147] Furthermore, the target operation data includes unit load operation data, and step 204 may include the following sub-steps:
[0148] S21. Use the unit load operation data to input the preset operating condition judgment model and output the corresponding operating condition inspection value.
[0149] In an embodiment of the present invention, the unit load operation data in the target operation data is obtained and input into a preset operating condition discrimination model to calculate the corresponding operating condition inspection value.
[0150] Furthermore, the preset working condition discrimination model is:
[0151]
[0152] In the formula, σ xi represents the working condition inspection value, m represents the sliding window length, x i represents the unit load operation data at time i, Indicates the average unit load operation data.
[0153] S22. Compare the working condition inspection value with the preset working condition judgment value.
[0154] S23. If the working condition test value is less than the preset working condition judgment value, it is judged as a steady-state working condition.
[0155] S24. If the working condition test value is greater than or equal to the preset working condition judgment value, it is judged as a dynamic working condition.
[0156] In the embodiment of the present invention, for the unit load condition at time i, the boiler operating condition is determined based on:
[0157]
[0158] In the formula, δ a Indicates the preset working condition judgment value.
[0159] Step 205: Use the target NOx prediction value to input a preset target operating condition evaluation index value model associated with the target operating condition, and output the operating condition evaluation index value.
[0160] Furthermore, the preset target operating condition evaluation index value model includes a preset steady-state operating condition evaluation index value model and a preset dynamic operating condition evaluation index value model. Step 205 may include the following sub-steps:
[0161] S31. When the target operating condition is a steady-state operating condition, the target NOx prediction value is used to input a preset steady-state operating condition evaluation index value model, and the operating condition evaluation index value corresponding to the steady-state operating condition is output.
[0162] It is worth mentioning that the prediction model error is relatively stable under steady-state conditions. Since the boiler operation process may encounter significant interference, resulting in drastic changes in the measured value, a short-term increase in the prediction deviation does not completely represent that the prediction model has mismatched. The root mean square error (RMSE) reduces the impact of outliers on the overall error through the square operation, and can better reflect the overall prediction error situation, rather than just focusing on individual error points. Therefore, the root mean square error is used as an evaluation indicator to evaluate the real-time accuracy of the prediction model. The preset steady-state evaluation index value model is as follows:
[0163]
[0164] In the formula, RMSE represents the working condition evaluation index value corresponding to the steady-state working condition, m represents the number of sliding window samples, represents the target NOx predicted value at time i, and y represents the NOx concentration measured value at time i.
[0165] S32. When the target operating condition is a dynamic operating condition, the target NOx prediction value is used to input a preset dynamic operating condition evaluation index value model, and the operating condition evaluation index value corresponding to the dynamic operating condition is output.
[0166] It is worth mentioning that under dynamic conditions, the prediction error of the prediction model may accumulate, resulting in an increasing gap between the predicted value and the actual observed value. Mean Absolute Percentage Error (MAPE) is an indicator that uses percentage to measure the error. It takes into account the relative difference between the predicted value and the actual observed value, and better reflects the volatility of the boiler system. If the MAPE indicator continues to be within a small range, it means that the prediction model is relatively accurate and can adapt to dynamic changes better. If the MAPE indicator gradually increases, it means that the prediction error is accumulating and the prediction model needs to be adjusted. The preset dynamic condition evaluation index value model is as follows:
[0167]
[0168] Wherein, MAPE represents the working condition evaluation index value corresponding to the dynamic working condition.
[0169] Step 206: Compare the operating condition evaluation index value with the preset update index value.
[0170] Step 207: If the operating condition evaluation index value is less than or equal to the preset update index value, the target NOx prediction value is output, and the process jumps to the step of collecting the target operating data of the DCS system in real time based on the sliding window and inputting the target online NOx prediction model to determine the corresponding target NOx prediction value.
[0171] Step 208: If the operating condition evaluation index value is greater than the preset update index value, jump to the step of building a target online NOx prediction model based on the adaptive update strategy using the training set data.
[0172] In the embodiment of the present invention, it is worth mentioning that the model update determination basis, for the sliding window steady-state condition at time i, the model update determination basis is:
[0173]
[0174] In the formula, δ b Indicates the preset update index value under steady-state conditions.
[0175] For the sliding window dynamic condition at time i, the model update decision basis is:
[0176]
[0177] In the formula, δ c Indicates the preset update index value under dynamic conditions.
[0178] The present invention has the following advantages:
[0179] 1. In order to meet the demand for NOx prediction in the furnace of coal-fired power plants, an online update prediction model scheme for coal-fired power plant boilers is proposed: through the Elastic Net prediction algorithm and the sliding window-based model update strategy, the model can be adaptively updated through parameter adjustment and feature selection to accurately predict the value of NOx at the furnace outlet.
[0180] 2. This solution uses the Elastic Net algorithm to build a soft measurement model for NOx at the furnace outlet of the combustion system. The Elastic Net algorithm, combined with L1 and L2 regularization terms, can calculate feature importance and improve the performance and prediction accuracy of the model by adaptively filtering out features with low relevance to NOx prediction.
[0181] 3. The boiler system model is a time-varying model. Changes in operating conditions and environmental changes can lead to model mismatch. The traditional sliding window model update strategy uses a fixed operating condition to determine whether the overall prediction error in the window exceeds the threshold. If it exceeds the threshold, the model is updated. However, the model prediction error deviation fluctuations are different under steady-state and dynamic conditions of the boiler system. Frequent replacement of models or unnecessary replacement due to misjudgment of model mismatch will increase the prediction error. Different evaluation indicators should be used during steady-state and dynamic conditions. In order to solve this problem, an adaptive operating condition update strategy is proposed. This strategy uses different evaluation indicators to judge the adaptability of the model under steady-state and dynamic conditions. By using different evaluation indicators, the adaptability of the model under steady-state and dynamic conditions can be judged more accurately, avoiding frequent replacement of models or unnecessary replacement due to misjudgment of model mismatch, thereby reducing prediction errors.
[0182] In the present invention, in response to a received NOx prediction request, DCS operation data corresponding to the NOx prediction request is obtained and training set data is constructed. Based on an adaptive update strategy, a target online NOx prediction model is constructed using the training set data. Based on a sliding window, the target operation data of the DCS system is collected in real time and input into the target online NOx prediction model to determine a target NOx prediction value. The target operation data is input into a preset operating condition discrimination model to determine an operating condition inspection value and a target operating condition. The target NOx prediction value is input into a preset target operating condition evaluation index value model associated with the target operating condition to output an operating condition evaluation index value. The operating condition evaluation index value is compared with the preset update index value. If the operating condition evaluation index value is less than or equal to the preset update index value, the target NOx prediction value is output, and the step of collecting the target operation data of the DCS system in real time based on a sliding window and inputting into the target online NOx prediction model to determine the corresponding target NOx prediction value is jumped. The technical problem that it is difficult for traditional prediction modeling methods to adaptively select feature subsets with high correlation and there will be model mismatch and feature mismatch caused by operating condition changes is solved. The advantages of simple structure and short update time compared with existing models are achieved. It is possible to obtain model results with high prediction accuracy under the condition of a small amount of historical data, reducing the computing cost. It is very beneficial for coal-fired power plants that need to quickly apply models, and can meet the requirements of real-time and prediction accuracy at the same time. The adaptive update strategy solves the problems caused by the time-varying characteristics of the input variables, ensures the effectiveness of the model, and improves the model's adaptability and generalization capabilities.
[0183] See also Figure 5 , Figure 5 This is a structural block diagram of an online NOx prediction system based on an adaptive update strategy provided in Example 3 of the present invention.
[0184] The present invention provides an online NOx prediction system based on an adaptive update strategy, comprising:
[0185] A response module 301 is used to respond to the received NOx prediction request, obtain DCS operation data corresponding to the NOx prediction request and construct training set data;
[0186] A model building module 302 is used to build a target online NOx prediction model using training set data based on an adaptive update strategy;
[0187] The NOx prediction module 303 is used to collect the target operation data of the DCS system in real time based on the sliding window and input the target online NOx prediction model to determine the target NOx prediction value;
[0188] The working condition determination module 304 is used to input the preset working condition determination model using the target operation data to determine the working condition inspection value and the target working condition;
[0189] An evaluation index module 305 is used to use a target NOx prediction value to input a preset target operating condition evaluation index value model associated with a target operating condition, and output an operating condition evaluation index value;
[0190] The operating condition comparison module 306 is used to compare the operating condition evaluation index value with the preset update index value;
[0191] Processing module 307 is used to output the target NOx prediction value if the operating condition evaluation index value is less than or equal to the preset update index value, and jump to the step of collecting the target operation data of the DCS system in real time based on the sliding window and inputting the target online NOx prediction model to determine the corresponding target NOx prediction value.
[0192] Furthermore, it also includes:
[0193] The second processing module is used to jump to the step of building a target online NOx prediction model based on the adaptive update strategy using the training set data if the operating condition evaluation index value is greater than the preset update index value.
[0194] Furthermore, the model building module 302 includes:
[0195] The initial online NOx prediction model submodule is used to build an initial online NOx prediction model based on the ElasticNet network model;
[0196] The loss function of the initial online NOx prediction model is:
[0197]
[0198] In the formula, represents the loss function, β represents the regression coefficient matrix, where β=(β1,β2…,β p ), (β1,β2…,β p ) represents the 1st, ..., pth regression feature coefficients, λ represents the regularization term coefficient, α represents the weight ratio coefficient between L1 and L2 regularization terms, and X represents the feature matrix of the training set data, where X=(X1,X2…,X p ), (X1,X2…,X p ) represents the 1st, ..., pth training set data, Y represents the characteristic matrix of NOx emission concentration at the furnace outlet, where Y = (Y1, Y2..., Y p ), (Y1,Y2…,Y p ) represents the 1st, ..., pth NOx emission concentration value;
[0199] The optimization modeling parameter submodule is used to train the initial online NOx prediction model using the training set data as input based on the grid search method to determine the optimization modeling parameters;
[0200] The optimization modeling characteristic coefficient submodule is used to train the initial online NOx prediction model based on feature selection by using the training set data as input to determine the optimization modeling characteristic coefficient;
[0201] The target online NOx prediction model submodule is used to couple the initial online NOx prediction model with the optimized modeling parameters and the optimized modeling characteristic coefficients to construct the target online NOx prediction model.
[0202] Furthermore, the optimization modeling parameter submodule includes:
[0203] A model parameter unit, used to set a search step size and search for model parameters associated with each working condition, wherein the model parameters include a regularization term coefficient and a weight ratio coefficient between L1 and L2 regularization terms;
[0204] A parameter combination unit is used to combine all model parameters to generate multiple groups of target modeling parameters;
[0205] A target loss function calculation unit is used to generate multiple target loss functions by using multiple sets of target modeling parameters as input into the initial online NOx prediction model for calculation based on an exhaustive method;
[0206] The selection unit is used to select a minimum value from multiple target loss functions and use the associated target modeling parameters as optimized modeling parameters.
[0207] Furthermore, the optimization modeling characteristic coefficient submodule includes:
[0208] The regression coefficient matrix unit is used to use the training set data to input the initial online NOx prediction model for training and determine the corresponding regression coefficient matrix;
[0209] A truncation unit is used to truncate the absolute values of all regression characteristic coefficients in the regression coefficient matrix by setting a truncation threshold, and to screen out the regression characteristic coefficients whose absolute values are less than the truncation threshold;
[0210] The retention unit is used to retain the regression feature coefficients whose absolute values are greater than or equal to the truncation threshold as the optimized modeling feature coefficients.
[0211] Furthermore, the target operation data includes unit load operation data, and the operating condition determination module 304 includes:
[0212] The working condition inspection value submodule is used to input the preset working condition discrimination model using the unit load operation data and output the corresponding working condition inspection value;
[0213] The working condition comparison submodule is used to compare the working condition inspection value with the preset working condition judgment value;
[0214] A steady-state operating condition discrimination submodule is used to judge the operating condition as a steady-state operating condition if the operating condition inspection value is less than a preset operating condition discrimination value;
[0215] The dynamic working condition determination submodule is used to determine that the working condition is a dynamic working condition if the working condition inspection value is greater than or equal to the preset working condition determination value.
[0216] Furthermore, the preset working condition discrimination model is:
[0217]
[0218] In the formula, σ xi represents the working condition inspection value, m represents the sliding window length, x i represents the unit load operation data at time i, Indicates the average unit load operation data.
[0219] Further, the preset target operating condition evaluation index value model includes a preset steady-state operating condition evaluation index value model and a preset dynamic operating condition evaluation index value model, and the evaluation index module 305 includes:
[0220] The steady-state operating condition index value submodule is used to input a preset steady-state operating condition evaluation index value model using a target NOx prediction value when the target operating condition is a steady-state operating condition, and output an operating condition evaluation index value corresponding to the steady-state operating condition;
[0221] The dynamic operating condition index value submodule is used to use the target NOx prediction value to input the preset dynamic operating condition evaluation index value model when the target operating condition is a dynamic operating condition, and output the operating condition evaluation index value corresponding to the dynamic operating condition.
[0222] Furthermore, the preset steady-state operating condition evaluation index value model is:
[0223]
[0224] In the formula, RMSE represents the working condition evaluation index value corresponding to the steady-state working condition, m represents the number of sliding window samples, represents the target NOx predicted value at time i, and y represents the NOx concentration measured value at time i;
[0225] The preset dynamic working condition evaluation index value model is:
[0226]
[0227] Wherein, MAPE represents the working condition evaluation index value corresponding to the dynamic working condition.
[0228] In the present invention, in response to a received NOx prediction request, DCS operation data corresponding to the NOx prediction request is obtained and training set data is constructed. Based on an adaptive update strategy, a target online NOx prediction model is constructed using the training set data. Based on a sliding window, the target operation data of the DCS system is collected in real time and input into the target online NOx prediction model to determine a target NOx prediction value. The target operation data is input into a preset operating condition discrimination model to determine an operating condition inspection value and a target operating condition. The target NOx prediction value is input into a preset target operating condition evaluation index value model associated with the target operating condition to output an operating condition evaluation index value. The operating condition evaluation index value is compared with the preset update index value. If the operating condition evaluation index value is less than or equal to the preset update index value, the target NOx prediction value is output, and the step of collecting the target operation data of the DCS system in real time based on a sliding window and inputting into the target online NOx prediction model to determine the corresponding target NOx prediction value is jumped. The technical problem that it is difficult for traditional prediction modeling methods to adaptively select feature subsets with high correlation and there will be model mismatch and feature mismatch caused by operating condition changes is solved. The advantages of simple structure and short update time compared with existing models are achieved. It is possible to obtain model results with high prediction accuracy under the condition of a small amount of historical data, reducing the computing cost. It is very beneficial for coal-fired power plants that need to quickly apply models, and can meet the requirements of real-time and prediction accuracy at the same time. The adaptive update strategy solves the problems caused by the time-varying characteristics of the input variables, ensures the effectiveness of the model, and improves the model's adaptability and generalization capabilities.
[0229] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0230] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0231] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0232] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0233] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0234] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An online NOx prediction method based on an adaptive update strategy, characterized in that: include: In response to the received NOx prediction request, obtaining DCS operation data corresponding to the NOx prediction request and constructing training set data; Based on the adaptive update strategy, the training set data is used to construct a target online NOx prediction model; Based on the sliding window, the target operation data of the DCS system is collected in real time and input into the target online NOx prediction model to determine the target NOx prediction value; The target operating data is input into a preset operating condition discrimination model to determine an operating condition inspection value and a target operating condition; Using the target NOx prediction value to input a preset target operating condition evaluation index value model associated with the target operating condition, and outputting an operating condition evaluation index value; Comparing the operating condition evaluation index value with a preset update index value; If the operating condition evaluation index value is less than or equal to the preset update index value, the target NOx prediction value is output, and the step of collecting the target operating data of the DCS system in real time based on the sliding window and inputting the target online NOx prediction model to determine the target NOx prediction value is skipped; If the operating condition evaluation index value is greater than the preset update index value, the process jumps to the step of constructing a target online NOx prediction model based on the adaptive update strategy and using the training set data; The step of constructing a target online NOx prediction model using the training set data based on the adaptive update strategy includes: Construct an initial online NOx prediction model based on the ElasticNet network model; The loss function of the initial online NOx prediction model is: In the formula, represents the loss function, β represents the regression coefficient matrix, where β=(β1,β2…,β p ), (β1,β2…,β p ) represents the 1st, ..., pth regression feature coefficients, λ represents the regularization term coefficient, α represents the weight ratio coefficient between the L1 and L2 regularization terms, and X represents the feature matrix of the training set data, wherein X=(X1,X2…,X p ), (X1,X2…,X p ) represents the 1st, ..., pth training set data, Y represents the characteristic matrix of NOx emission concentration at the furnace outlet, where Y = (Y1, Y2..., Y p ), (Y1,Y2…,Y p ) represents the 1st, ..., pth NOx emission concentration value; Based on the grid search method, the training set data is input into the initial online NOx prediction model for training to determine the optimized modeling parameters; Based on feature selection, the training set data is input into the initial online NOx prediction model for training to determine the optimized modeling feature coefficients; The initial online NOx prediction model is coupled with the optimized modeling parameters and the optimized modeling characteristic coefficients to construct a target online NOx prediction model; The adaptive update strategy refers to an update strategy for adaptively optimizing parameters and characteristic coefficients of the linear regression model using a grid search method and L1 and L2 regularization based on the Elastic Net linear regression model.
2. The online NOx prediction method based on the adaptive update strategy according to claim 1 is characterized in that: The step of using the training set data to input the initial online NOx prediction model for training based on the grid search method to determine the optimized modeling parameters includes: Setting a search step size to search for model parameters associated with each operating condition, wherein the model parameters include the regularization term coefficient and the weight ratio coefficient between the L1 and L2 regularization terms; Combining all the model parameters to generate multiple sets of target modeling parameters; Based on the exhaustive method, multiple groups of the target modeling parameters are input into the initial online NOx prediction model for calculation to generate multiple target loss functions; A minimum value is selected from the multiple target loss functions, and the associated target modeling parameters are used as optimized modeling parameters.
3. The online NOx prediction method based on the adaptive update strategy according to claim 1 is characterized in that: The step of using the training set data to input the initial online NOx prediction model for training based on feature selection to determine the optimized modeling feature coefficients includes: Using the training set data to input the initial online NOx prediction model for training, and determining the corresponding regression coefficient matrix; The absolute values of all the regression characteristic coefficients in the regression coefficient matrix are truncated by setting a truncation threshold, and the regression characteristic coefficients whose absolute values are less than the truncation threshold are screened out; The regression characteristic coefficients whose absolute values are greater than or equal to the cutoff threshold are retained as optimized modeling characteristic coefficients.
4. The online NOx prediction method based on the adaptive update strategy according to claim 1 is characterized in that: The target operating data includes unit load operating data, and the step of using the target operating data to input a preset operating condition discrimination model to determine an operating condition inspection value and a target operating condition includes: The load operation data of the unit is input into a preset working condition discrimination model, and a corresponding working condition inspection value is output; Comparing the working condition inspection value with a preset working condition discrimination value; If the working condition test value is less than the preset working condition judgment value, it is determined to be a steady-state working condition; If the operating condition test value is greater than or equal to the preset operating condition judgment value, it is determined to be a dynamic operating condition.
5. The online NOx prediction method based on the adaptive update strategy according to claim 4 is characterized in that: The preset working condition discrimination model is: In the formula, σ xi represents the working condition inspection value, m represents the sliding window length, x i represents the load operation data of the unit at time i, Indicates the average unit load operation data.
6. The online NOx prediction method based on the adaptive update strategy according to claim 4 is characterized in that: The preset target operating condition evaluation index value model includes a preset steady-state operating condition evaluation index value model and a preset dynamic operating condition evaluation index value model. The step of using the target NOx prediction value to input the preset target operating condition evaluation index value model associated with the target operating condition and outputting the operating condition evaluation index value includes: When the target operating condition is a steady-state operating condition, the target NOx prediction value is used to input the preset steady-state operating condition evaluation index value model, and the operating condition evaluation index value corresponding to the steady-state operating condition is output; When the target operating condition is a dynamic operating condition, the target NOx prediction value is used to input the preset dynamic operating condition evaluation index value model, and the operating condition evaluation index value corresponding to the dynamic operating condition is output.
7. The online NOx prediction method based on the adaptive update strategy according to claim 6 is characterized in that: The preset steady-state operating condition evaluation index value model is: In the formula, RMSE represents the working condition evaluation index value corresponding to the steady-state working condition, m represents the number of sliding window samples, represents the target NOx predicted value at time i, and y represents the NOx concentration measured value at time i; The preset dynamic working condition evaluation index value model is: Wherein, MAPE represents the working condition evaluation index value corresponding to the dynamic working condition.
8. An online NOx prediction system based on an adaptive update strategy, characterized in that: include: A response module, used to respond to a received NOx prediction request, obtain DCS operation data corresponding to the NOx prediction request and construct training set data; A model building module, used to build a target online NOx prediction model using the training set data based on an adaptive update strategy; A NOx prediction module is used to collect target operation data of the DCS system in real time based on a sliding window and input the target online NOx prediction model to determine a target NOx prediction value; A working condition discrimination module, used to input the target operating data into a preset working condition discrimination model to determine a working condition inspection value and a target working condition; An evaluation index module, configured to use a target NOx prediction value to input a preset target operating condition evaluation index value model associated with the target operating condition, and output an operating condition evaluation index value; A working condition comparison module, used for comparing the working condition evaluation index value with a preset update index value; A processing module, configured to output the target NOx prediction value if the operating condition evaluation index value is less than or equal to the preset update index value, and jump to the step of collecting the target operation data of the DCS system in real time based on the sliding window and inputting the target online NOx prediction model to determine the target NOx prediction value; A second processing module, configured to jump to the step of constructing a target online NOx prediction model based on the adaptive update strategy and using the training set data if the operating condition evaluation index value is greater than the preset update index value; The model building module includes: The initial online NOx prediction model submodule is used to build an initial online NOx prediction model based on the ElasticNet network model; The loss function of the initial online NOx prediction model is: In the formula, represents the loss function, β represents the regression coefficient matrix, where β=(β1,β2…,β p ), (β1,β2…,β p ) represents the 1st, ..., pth regression feature coefficients, λ represents the regularization term coefficient, α represents the weight ratio coefficient between the L1 and L2 regularization terms, and X represents the feature matrix of the training set data, wherein X=(X1,X2…,X p ), (X1,X2…,X p ) represents the 1st, ..., pth training set data, Y represents the characteristic matrix of NOx emission concentration at the furnace outlet, where Y = (Y1, Y2..., Y p ), (Y1,Y2…,Y p ) represents the 1st, ..., pth NOx emission concentration value; An optimization modeling parameter submodule is used to use the training set data to input the initial online NOx prediction model for training based on a grid search method to determine the optimization modeling parameters; An optimized modeling characteristic coefficient submodule is used to select the training set data based on the characteristics and input the initial online NOx prediction model for training to determine the optimized modeling characteristic coefficient; A target online NOx prediction model submodule is used to couple the initial online NOx prediction model with the optimized modeling parameters and the optimized modeling characteristic coefficients to construct a target online NOx prediction model; The adaptive update strategy refers to an update strategy for adaptively optimizing parameters and characteristic coefficients of the linear regression model using a grid search method and L1 and L2 regularization based on the ElasticNet linear regression model.
