Power plant carbon emission prediction method, system and device based on neural network model and medium
Through the radial basis neural network model and K-means clustering algorithm, the problem of insufficient accuracy and applicability of carbon emission prediction in power plants in the existing technology is solved, and real-time and accurate prediction and assessment of carbon emissions in power plants are achieved, providing a basis for power generation. It provides a more reliable basis for the green economic operation of the factory.
Patent Information
- Application Number
- CN202410788216.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-10-08
AI Technical Summary
Existing power plant carbon emission prediction models based on neural network models lack the ability to predict real-time carbon emissions, and the variables are not considered comprehensive enough, resulting in limited prediction accuracy and model applicability.
Using the radial basis neural network model combined with the K-means clustering algorithm, preprocessing and training are performed by obtaining the historical operating data of the power plant, setting correction parameters to achieve carbon emission prediction, and using the radial basis function to map the input data to a high-dimensional space , approximating complex nonlinear relationships, and solving the center point initialization problem through K-means clustering algorithm to accelerate model iterative convergence.
It achieves real-time and accurate prediction of carbon emissions from power plants, reflects the dynamic changes of carbon emissions with operating parameters, improves prediction accuracy, and can be applied to different types of generating units to provide a more accurate and reliable basis for operation management.
Smart Images

Figure CN118747553A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of carbon emissions from power systems, and in particular to a method, system, electronic device and computer-readable storage medium for predicting carbon emissions from power plants based on a neural network model. Background Art
[0002] In recent years, with the rapid development of China's economy and the accelerated advancement of urbanization, the demand for electricity has shown a trend of sustained growth. Among them, thermal power generation, as the main source of power generation, occupies an important position in China's power supply. However, while thermal power generation provides energy for society, it is also accompanied by a large amount of carbon emissions, which has an impact on the environment that cannot be ignored. With the proposal of the carbon neutrality goal and the gradual implementation of a series of carbon reduction policies, the carbon emission requirements for the power industry have become increasingly stringent. Therefore, accurate prediction of carbon emissions in the thermal power industry can not only help the industry formulate reasonable carbon emission indicators, but also guide enterprise technology upgrades and realize the green economic operation of power plants.
[0003] At present, traditional power plant carbon emission prediction models based on neural network models are mostly based on monthly or even annual carbon emission data of each power plant, lacking real-time carbon emission prediction during actual operation of the power plant, and not fully considering variables, with limited prediction accuracy and model applicability. In other words, the existing technology cannot accurately predict and evaluate the carbon emissions of power plants. Summary of the invention
[0004] The purpose of the present invention is to provide a method, system, electronic device and computer-readable storage medium for predicting carbon emissions from power plants based on a neural network model, aiming to accurately predict carbon emissions data from power plants.
[0005] To achieve the above objectives, in a first aspect, the present invention provides a method for predicting carbon emissions from power plants based on a neural network model, the method comprising:
[0006] Obtaining historical operating data of a power plant within a set time and recording specified characteristic parameters of the power plant;
[0007] Preprocessing the historical operation data and dividing it into a training set and a validation set according to a set ratio;
[0008] The radial basis neural network model is trained using the data in the training set, and the initialization center point of the radial basis neural network model is determined based on the K-means clustering algorithm. If the radial basis neural network model reaches the set convergence condition based on the data in the training set and the validation set, the training is completed;
[0009] Setting corresponding correction parameters based on the recorded specified characteristic parameters, and using the correction parameters to correct the trained radial basis neural network model to obtain a final carbon emission prediction model;
[0010] The operating data and the designated characteristic parameters of the target power plant to be predicted are obtained, and the carbon emission prediction data of the target power plant is calculated based on the carbon emission prediction model.
[0011] Preferably, the historical operating data includes the power generation load, heating load, fuel quantity and / or carbon emission data of the power plant operating within a set time; the specified characteristic parameters include the unit capacity, boiler type and / or coal type of the power plant.
[0012] Preferably, before the step of preprocessing the historical operation data and dividing it into a training set and a validation set according to a set ratio, the method further includes:
[0013] Calculate the carbon emission factor corresponding to the carbon emission data in the historical operation data, and filter out the carbon emission data whose carbon emission factor is greater than a preset maximum threshold or less than a preset minimum threshold as abnormal data; wherein the carbon emission factor is a physical quantity characterizing the carbon emission intensity under unit power generation load, and the calculation formula is as follows:
[0014] Carbon emission factor = real-time carbon emissions / real-time power generation load.
[0015] Preferably, the preprocessing of the historical operation data and dividing it into a training set and a validation set according to a set ratio includes:
[0016] The z-score standardization is used to standardize the mean and standard deviation of the historical operation data. The calculation formula is as follows:
[0017]
[0018] Among them, X norm is the standardized data, X is the original data, μ is the mean of the data, and σ is the standard deviation of the data;
[0019] The standardized data is divided into a training set and a validation set according to a set ratio, wherein the training set is used for training the radial basis neural network model, and the validation set is used to determine whether the radial basis neural network model is overfitting.
[0020] Preferably, the method of determining the initialization center point of the radial basis neural network model based on the K-means clustering algorithm specifically includes:
[0021] Step A: Randomly select k data points in the sample as the initial cluster centers C1, C2, ..., C k;
[0022] Step B: For each data point X i , calculate its distance from the center of each cluster and assign it to the cluster closest to it. The distance is calculated using the Euclidean distance:
[0023]
[0024] Among them, x i,k Represents data point x i The value in the kth dimension, c j,k Represents the cluster center point c j The value in the kth dimension;
[0025] Step C: For each cluster C j , calculate the mean of all its data points and use the mean as the new cluster center point c j :
[0026]
[0027] Among them, |C j | represents cluster C j The number of data points in
[0028] Repeat steps B and C until the cluster center no longer changes.
[0029] Preferably, if it is determined based on the data in the training set and the validation set that the radial basis neural network model reaches the set convergence condition, the training is completed, which specifically includes:
[0030] Input the preprocessed training set and / or validation set data;
[0031] Determine the structure of the radial basis neural network, including the number of neurons in the input layer, hidden layer, and output layer, and select the Gaussian function as the radial basis function:
[0032]
[0033] Among them, x is the input data, c i is the center point of the i-th hidden layer neuron, σ i is the width parameter of the radial basis function;
[0034] Initialize the width parameter σ i , input the determined cluster center point c j The data is used as the initialization parameters of the center point;
[0035] Calculate the output y(x) of the output layer:
[0036]
[0037] Among them, h i (x) is the radial basis function of the i-th hidden layer neuron, w i is the output weight of the i-th hidden layer neuron, b is the bias term, and k is the number of hidden layer neurons;
[0038] The mean square error As the loss function, where n is the number of samples, y i is the true value of the i-th sample, is the predicted value of the model for the i-th sample; the parameters of the radial basis neural network model are updated according to the gradient information of the loss function, and the updating process of each parameter is:
[0039]
[0040] Among them, θ t+1 is the parameter after iterative update, θ t is the parameter of time step t, α is the learning rate, is the loss function with respect to the parameter θ t The above steps are repeated until the number of iterations reaches the set maximum value or the loss function drops to the set threshold, and the training is completed.
[0041] Preferably, the setting of corresponding correction parameters based on the recorded designated characteristic parameters, and using the correction parameters to correct the trained radial basis neural network model to obtain the final carbon emission prediction model specifically includes:
[0042]
[0043] Where f(x) is the final carbon emission prediction model, x is the input parameter of the model: power generation load, heating load and / or fuel quantity data, k u is the unit capacity correction factor, k b is the boiler type correction factor, k c is the coal type correction coefficient, k is the number of neurons in the hidden layer of the radial basis neural network model, and w i is the output weight of the i-th hidden layer neuron, dist(x, c i ) 2 is the input parameter x and the center point c of the i-th hidden layer neuron i The square of the Euclidean distance, σ i is the width of the radial basis function of the i-th hidden layer neuron, and b is the model bias.
[0044] In a second aspect, the present invention provides a power plant carbon emission prediction system based on a neural network model, the system comprising:
[0045] An acquisition module, used to acquire historical operation data of a power plant within a set time and record specified characteristic parameters of the power plant;
[0046] A processing module, used for preprocessing the historical operation data and dividing it into a training set and a validation set according to a set ratio;
[0047] A training module, used to train a radial basis neural network model using the data in the training set, and determine an initialization center point of the radial basis neural network model based on a K-means clustering algorithm, and if it is determined based on the data in the training set and the validation set that the radial basis neural network model reaches a set convergence condition, the training is completed;
[0048] A correction module, used to set corresponding correction parameters based on the recorded specified characteristic parameters, and use the correction parameters to correct the trained radial basis neural network model to obtain a final carbon emission prediction model;
[0049] The prediction module is used to obtain the operating data and specified characteristic parameters of the target power plant to be predicted, and calculate the carbon emission prediction data of the target power plant based on the carbon emission prediction model.
[0050] In a third aspect, the present invention provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the computer program is executed by the processor, the steps of the power plant carbon emission prediction method based on the neural network model as described above are implemented.
[0051] In a fourth aspect, the present invention provides a computer-readable storage medium, which stores a power plant carbon emission prediction system based on a neural network model, and the power plant carbon emission prediction system based on a neural network model can be executed by at least one processor so that the at least one processor performs the steps of the power plant carbon emission prediction method based on the neural network model as described above.
[0052] The beneficial effects of adopting the above embodiment are:
[0053] Based on the historical carbon emission data of power plants collected within a set time, the input data is mapped to a high-dimensional space through a radial basis neural network, and the radial basis function is used to approximate complex nonlinear relationships to improve the prediction accuracy of the model. The K-means clustering algorithm is used to solve the problem of initializing the center point of the radial basis neural network to accelerate the iterative convergence of the model. The trained radial basis neural network model can accurately predict carbon emissions in real time based on multiple variables, reflecting the real-time dynamic changes of carbon emissions with operating parameters during actual operation; and, based on the specified characteristic parameters corresponding to different power plants, the correction coefficient is set to correct the model, which can accurately predict and evaluate the carbon emissions of different types of generators, providing a more accurate and reliable basis for the operation and management of power plants. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 A method flow chart of an embodiment of a method for predicting carbon emissions from power plants based on a neural network model provided in this application;
[0055] Figure 2 A method flow chart of another embodiment of the method for predicting carbon emissions from power plants based on a neural network model provided in this application;
[0056] Figure 3 A principle block diagram of an embodiment of a power plant carbon emission prediction system based on a neural network model provided in this application;
[0057] Figure 4 A functional block diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0059] It should be noted that the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0060] The present application provides a method, system, electronic device and storage medium for predicting carbon emissions from power plants based on a neural network model, which are described in detail below.
[0061] Reference Figure 1 A method flow chart of an embodiment of a method for predicting carbon emissions from power plants based on a neural network model provided in this application, the method comprising the following steps:
[0062] S1. Obtain the historical operation data of the power plant within the set time, and record the specified characteristic parameters of the power plant. The historical operation data may be the operation data of one or more power plants as samples within the set time, which may be the operation data at one or more set continuous or discontinuous time periods, or one or more set specific time points. The operation data may include one or more variable data associated with carbon emissions, for example, including but not limited to a combination of one or more of the power generation load, heating load, fuel quantity, or carbon emission data of the power plant running within the set time. In addition, since the carbon emissions of the power generation units under different unit capacities, boiler types, and coal types will also be different, when collecting the historical operation data of the power plant, the specified characteristic parameters of the power plant as a sample are also recorded, so as to facilitate reference correction when predicting carbon emissions for different power plants later. The specified characteristic parameters may be parameters that characterize the power plant and carbon emissions, for example, including but not limited to a combination of one or more of the unit capacity, boiler type, or coal type of the power plant.
[0063] S2. Preprocess the historical operation data and divide it into a training set and a validation set according to a set ratio;
[0064] S3, using the data in the training set to train the radial basis neural network model, and determining the initialization center point of the radial basis neural network model based on the K-means clustering algorithm, if it is determined based on the data in the training set and the validation set that the radial basis neural network model reaches the set convergence condition, the training is completed;
[0065] S4. Setting corresponding correction parameters based on the recorded designated characteristic parameters, and using the correction parameters to correct the trained radial basis neural network model to obtain a final carbon emission prediction model;
[0066] S5. Obtain the operating data and designated characteristic parameters of the target power plant to be predicted, and calculate the carbon emission prediction data of the target power plant based on the carbon emission prediction model.
[0067] This embodiment is based on the historical carbon emission data of the power plant collected within the set time. The input data is mapped to a high-dimensional space through a radial basis neural network, and the radial basis function is used to approximate complex nonlinear relationships to improve the prediction accuracy of the model. The K-means clustering algorithm is used to solve the problem of initializing the center point of the radial basis neural network to accelerate the iterative convergence of the model. The trained radial basis neural network model can accurately predict carbon emissions in real time based on multiple variables, reflecting the real-time dynamic changes of carbon emissions with operating parameters during actual operation; and, based on the specified characteristic parameters corresponding to different power plants, the correction coefficient is set to correct the model, which can accurately predict and evaluate the carbon emissions of different types of generator sets. Based on a large amount of real-time operation data of the unit, the carbon emissions of the generator set under different unit capacities, boiler types, and coal types can be accurately predicted and evaluated, providing a more reliable basis for the operation and management of the power plant.
[0068] Further, in some optional embodiments, such as Figure 2 As shown, a method for predicting carbon emissions from coal-fired power plants based on a neural network model based on a K-means clustering algorithm and a radial basis neural network is proposed, including:
[0069] Step 1: Obtain the historical operating data of the power plant. Extract the power generation load, heating load, fuel quantity and carbon emission data of the power plant in continuous operation over a period of time as the data for subsequent radial basis neural network model training; record the unit capacity, boiler type and coal type of the power plant that provides training data as the basis for the subsequent selection of correction coefficients.
[0070] Step 2: Screening out abnormal data. Abnormal data points in carbon emission data will affect the training process and prediction accuracy of the model, so it is necessary to screen out abnormal data. The carbon emission factor is a physical quantity that characterizes the carbon emission intensity under unit power generation load. By setting the maximum and minimum values of the carbon emission factor in the sample points, unreasonable carbon emission data points appearing in the data can be effectively screened out. For example, the carbon emission factor corresponding to the carbon emission data in the historical operation data can be calculated, and the carbon emission data whose carbon emission factor is greater than the preset maximum threshold or less than the preset minimum threshold can be screened out as abnormal data; wherein, the carbon emission factor is a physical quantity that characterizes the carbon emission intensity under unit power generation load, and the calculation formula is as follows:
[0071] Carbon emission factor = real-time carbon emissions / real-time power generation load.
[0072] Step 3: Preprocess the data and divide it into training set and validation set. Since the model variables involve multiple physical parameters and the variables have different magnitudes, this will cause the model to update some feature weights too frequently or too slowly during the training process, affecting the performance of the model. Therefore, Z-score standardization is used to ensure that the data has similar scale and distribution, which is conducive to the neural network model to better learn and fit the data:
[0073]
[0074] Among them, X nore is the standardized data, X is the original data, μ is the mean of the data, and σ is the standard deviation of the data.
[0075] The data is divided into a training set and a validation set in a certain ratio. The training set is used to train the radial basis neural network model, and the validation set is used to ensure that the model does not overfit and has good predictions for samples outside the training data.
[0076] Step 4: Divide the initial position of the center point based on the K-means clustering algorithm. The selection of the initialization parameters of the center point of the radial basis neural network model is crucial to the performance and generalization ability of the model, especially when the current sample data is large and unevenly distributed. Therefore, the K-means clustering algorithm is introduced to select the initialization center point. The K-means clustering algorithm is an unsupervised clustering algorithm that clusters the data set and selects the center point of each cluster as the center point of the radial basis neural network. This method can better reflect the clustering structure of the data. The specific steps include:
[0077] 1. Initialization: Randomly select k data points in the sample as the initial cluster center points C1, C2, ..., C k .
[0078] 2. Data points are assigned to clusters: For each data point X i , calculate its distance from the center of each cluster and assign it to the cluster with the closest distance. Distance is usually calculated using Euclidean distance:
[0079]
[0080] Among them, x i,k Represents data point x i The value in the kth dimension, c j,k Represents the cluster center point c j The value in the kth dimension.
[0081] 3. Update cluster center points: For each cluster C j , calculate the mean of all its data points and use the mean as the new cluster center point c j:
[0082]
[0083] Among them, |C j | represents cluster C j The number of data points in .
[0084] 4. Repeat iteration: Repeat steps 2 and 3 until the cluster center no longer changes. At this point, the sum of the squares of the distances between all data points and the center of their clusters reaches a minimum:
[0085]
[0086] Among them, ||x i -c j || 2 Represents data point x i To cluster center c j The square of the distance, C j represents all data points in the i-th cluster.
[0087] Step 5: Based on the radial basis neural network, build a multivariate carbon emission prediction model. The radial basis neural network is an artificial neural network based on the radial basis function. Its basic principle is to use the radial basis function to approximate complex nonlinear relationships, map the input data into a high-dimensional space, and output it through linear combination. The specific steps include:
[0088] 1. Input the data processed in step 3.
[0089] 2. Determine the network structure: Determine the structure of the neural network, including the number of neurons in the input layer, hidden layer, and output layer. For example, in an optional implementation, it includes one input layer, one hidden layer, and one output layer. The number of units in the input layer is the number of input variables 3 (power generation load, heating load, fuel quantity), the number of units in the output layer is the output target quantity 1 (carbon emissions), and the number of units in the hidden layer is the number of clusters k in step 4. Select the Gaussian function as the radial basis function:
[0090]
[0091] Where x is the input data, c i is the center point of the i-th hidden layer neuron, σ i is the width parameter of the radial basis function.
[0092] 3. Initialize width parameter σ i , input the cluster center point data in step 4 as the initialization parameters of the center point.
[0093] 4. Calculate the output layer output: The output of the output layer can be expressed as:
[0094]
[0095] Among them, h i (x) is the radial basis function of the i-th hidden layer neuron, w i is the output weight of the i-th hidden layer neuron, b is the bias term, and k is the number of hidden layer neurons.
[0096] 5. Parameter training: The mean square error As the loss function, where n is the number of samples, y i is the true value of the i-th sample, is the predicted value of the model for the i-th sample. The Adam algorithm is used as an optimizer to update the parameters of the model according to the gradient information of the loss function, so that the value of the loss function is gradually reduced. When the set convergence condition is reached, the training process ends, and the parameters of the model are the final training results. For example, in an optional implementation, the Adam algorithm is used as an optimizer to update the parameters of the model according to the gradient information of the loss function, and the update process of each parameter can be expressed as:
[0097]
[0098] Among them, θ t+1 is the parameter after iterative update, θ t is the parameter of time step t, α is the learning rate, is the loss function with respect to the parameter θ t The above steps are repeated until the number of iterations reaches the set maximum value or the loss function drops to the set threshold. The training process ends and the model parameters are the final training results.
[0099] Step six: Set the correction coefficient to obtain the final prediction model. Considering the limitations of the model application due to factors such as different unit capacities, boiler types and coal types. In order to solve this problem, a series of correction parameters are introduced. By correcting different unit capacities, boiler types and coal types, the model can more accurately predict the carbon emissions of the unit under different conditions. That is, the model trained with a specific unit capacity, boiler type and coal type can also be effectively applied to the prediction of carbon emissions of units under other unit capacities, boiler types and coal types. Compare the conditions of the unit from which the training data comes with the conditions of the target predicted unit to select the correction parameters for unit capacity, boiler type and coal type. The final model after a series of corrections is:
[0100]
[0101] Among them, f(x) is the final carbon emission prediction model, x is the input parameter of the model: power generation load, heating load and fuel quantity data, k u is the unit capacity correction factor, k b is the boiler type correction factor, k c is the correction coefficient of coal type, k is the number of neurons in the hidden layer of the radial basis neural network, and w i is the output weight of the i-th hidden layer neuron, dist(x, c i ) 2 is the input parameter x and the center point c of the i-th hidden layer neuron i The square of the Euclidean distance, σ i is the width of the radial basis function of the i-th hidden layer neuron, and b is the model bias.
[0102] Step 7: Forecast based on the final carbon emission prediction model. Input the prediction target input parameters: power generation load, heating load and fuel quantity into the prediction model obtained in step 6, and perform the unit capacity correction factor k according to the relationship between the unit capacity, boiler type, coal type of the prediction target power plant and the unit capacity, boiler type, coal type of the power plant with training data provided in step 1. u , boiler type correction factor k b , Coal type correction factor k c Selection. Finally, the prediction of carbon emission data is achieved. Among them, the correction coefficient can be determined according to the ratio of carbon emission intensity of units with different unit capacities, boiler types, and coal types. The reference values in Table 1 (reference values of correction coefficients for unit capacity and boiler type) and Table 2 (reference values of correction coefficients for coal types) can also be used: (with 600MW units, ultra-supercritical units, and bituminous coal as the conditions of the units with training data sources, the units under other conditions are corrected):
[0103] Table 1
[0104]
[0105] Table 2
[0106] Type of coal <![CDATA[Coal type correction factor k c > bituminous coal 1 anthracite 1.04981 lignite 1.07280
[0107] This embodiment proposes a method for predicting carbon emissions from power plants based on a neural network model. The carbon factor is used to screen the data, which reduces data noise and improves the prediction accuracy of the model; based on the carbon emission data of the continuous operation of the power plant, it can make real-time predictions of carbon emissions based on multiple variables, reflecting the real-time dynamic changes of carbon emissions with operating parameters during actual operation; the input data is mapped to a high-dimensional space through a radial basis neural network, and the radial basis function is used to approximate complex nonlinear relationships to improve the prediction accuracy of the model. The K-means clustering algorithm is used to solve the problem of initialization of the center point of the radial basis neural network, and accelerate the iterative convergence of the model. The correction coefficients of the unit capacity, boiler type, and coal type are set to achieve accurate prediction of carbon emissions for different types of power generation units, expanding the scope of application of the model.
[0108] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0109] This embodiment also provides a power plant carbon emission prediction system based on a neural network model, which corresponds one-to-one to the power plant carbon emission prediction method based on a neural network model in the above embodiment. Figure 3 As shown, the power plant carbon emission prediction system based on the neural network model includes:
[0110] The acquisition module 100 is used to acquire the historical operation data of the power plant within a set time and record the specified characteristic parameters of the power plant;
[0111] The processing module 110 is used to pre-process the historical operation data and divide it into a training set and a validation set according to a set ratio;
[0112] A training module 120 is used to train a radial basis neural network model using the data in the training set, and determine an initialization center point of the radial basis neural network model based on a K-means clustering algorithm. If it is determined based on the data in the training set and the validation set that the radial basis neural network model reaches a set convergence condition, the training is completed;
[0113] A correction module 130, configured to set corresponding correction parameters based on the recorded specified characteristic parameters, and use the correction parameters to correct the trained radial basis neural network model to obtain a final carbon emission prediction model;
[0114] The prediction module 140 is used to obtain the operating data and designated characteristic parameters of the target power plant to be predicted, and calculate the carbon emission prediction data of the target power plant based on the carbon emission prediction model.
[0115] For the specific definitions of each module of the power plant carbon emission prediction system based on the neural network model, please refer to the above-mentioned definitions of the power plant carbon emission prediction method based on the neural network model, which will not be repeated here. Each module in the above-mentioned power plant carbon emission prediction system based on the neural network model can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0116] Reference Figure 4 , is a schematic diagram of the operating environment of a preferred embodiment of the power plant carbon emission prediction system 10 based on the neural network model of the present invention.
[0117] In this embodiment, the power plant carbon emission prediction system 10 based on the neural network model is installed and operated in an electronic device 1. The electronic device 1 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions. The electronic device 1 can be a computer, or a single network server, a server group consisting of multiple network servers, or a cloud based on cloud computing consisting of a large number of hosts or network servers, wherein cloud computing is a type of distributed computing, a super virtual computer composed of a group of loosely coupled computer sets. (The electronic device 1 can be a terminal device with storage and computing functions, such as a server, a smart phone, a tablet computer, a portable computer, a desktop computer, etc. In one embodiment, when the electronic device 1 is a server, the server can be one or more of a rack server, a blade server, a tower server, or a cabinet server.)
[0118] In this embodiment, the electronic device 1 may include, but is not limited to, a memory 11, a processor 12, and a network interface 13 that can be interconnected through a system bus, and the memory 11 stores a power plant carbon emission prediction system 10 based on a neural network model that can be run on the processor 12. It should be noted that Figure 1 The electronic device 1 is shown only with components 11 - 13 , but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0119] Among them, the memory 11 includes a memory and at least one type of readable storage medium. The memory provides a cache for the operation of the electronic device 1; the readable storage medium may be a non-volatile storage medium such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the readable storage medium may be an internal storage unit of the electronic device 1, such as a hard disk of the electronic device 1; in other embodiments, the non-volatile storage medium may also be an external storage device of the electronic device 1, such as a plug-in hard disk equipped on the electronic device 1, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. In this embodiment, the readable storage medium of the memory 11 is generally used to store an operating system and various application software installed on the electronic device 1, such as storing a power plant carbon emission prediction system 10 based on a neural network model in an embodiment of the present invention. In addition, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.
[0120] In some embodiments, the processor 12 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 12 is generally used to control the overall operation of the electronic device 1, such as performing control and processing related to data interaction or communication with other devices. In this embodiment, the processor 12 is used to run the program code or process data stored in the memory 11, such as a power plant carbon emission prediction system 10 based on a neural network model.
[0121] The network interface 13 may include a wireless network interface or a wired network interface. The network interface 13 is generally used to establish a communication connection between the electronic device 1 and other electronic devices.
[0122] The power plant carbon emission prediction system 10 based on the neural network model includes at least one computer-readable instruction stored in the memory 11, and the at least one computer-readable instruction can be executed by the processor 12 to implement various embodiments of the present application.
[0123] In addition, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a power plant carbon emission prediction system based on a neural network model, and the power plant carbon emission prediction system based on a neural network model can be executed by at least one processor, so that the at least one processor performs the following steps:
[0124] Obtaining historical operating data of a power plant within a set time and recording specified characteristic parameters of the power plant;
[0125] Preprocessing the historical operation data and dividing it into a training set and a validation set according to a set ratio;
[0126] The radial basis neural network model is trained using the data in the training set, and the initialization center point of the radial basis neural network model is determined based on the K-means clustering algorithm. If the radial basis neural network model reaches the set convergence condition based on the data in the training set and the validation set, the training is completed;
[0127] Setting corresponding correction parameters based on the recorded specified characteristic parameters, and using the correction parameters to correct the trained radial basis neural network model to obtain a final carbon emission prediction model;
[0128] The operating data and the designated characteristic parameters of the target power plant to be predicted are obtained, and the carbon emission prediction data of the target power plant is calculated based on the carbon emission prediction model.
[0129] The specific implementation of the computer-readable storage medium of the present invention is substantially the same as the above-mentioned electronic device 1 and each embodiment of the method, and will not be described in detail here.
[0130] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0131] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0132] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the present invention is not limited thereto. The serial numbers of the embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order than that shown here.
[0133] Those skilled in the art may implement the present invention in a variety of variations without departing from the scope and essence of the present invention, such as using a feature of one embodiment to obtain another embodiment. Any modification, equivalent substitution and improvement made within the technical concept of the present invention shall be within the scope of the present invention.
Claims
1. A method for predicting carbon emissions from power plants based on a neural network model. It is characterized in that The method for predicting carbon emissions from power plants based on a neural network model includes: Obtaining historical operating data of a power plant within a set time and recording specified characteristic parameters of the power plant; Preprocessing the historical operation data and dividing it into a training set and a validation set according to a set ratio; The radial basis neural network model is trained using the data in the training set, and the initialization center point of the radial basis neural network model is determined based on the K-means clustering algorithm. If the radial basis neural network model reaches the set convergence condition based on the data in the training set and the validation set, the training is completed; Setting corresponding correction parameters based on the recorded specified characteristic parameters, and using the correction parameters to correct the trained radial basis neural network model to obtain a final carbon emission prediction model; The operating data and the designated characteristic parameters of the target power plant to be predicted are obtained, and the carbon emission prediction data of the target power plant is calculated based on the carbon emission prediction model.
2. The method for predicting carbon emissions from power plants based on a neural network model as claimed in claim 1, It is characterized in that The historical operation data includes the power generation load, heating load, fuel quantity and / or carbon emission data of the power plant during the set time; the specified characteristic parameters include the unit capacity, boiler type and / or coal type of the power plant.
3. The method for predicting carbon emissions from power plants based on a neural network model according to claim 1 or 2, It is characterized in that Before the step of preprocessing the historical operation data and dividing it into a training set and a validation set according to a set ratio, the following steps are also included: Calculate the carbon emission factor corresponding to the carbon emission data in the historical operation data, and filter out the carbon emission data whose carbon emission factor is greater than a preset maximum threshold or less than a preset minimum threshold as abnormal data; wherein the carbon emission factor is a physical quantity characterizing the carbon emission intensity under unit power generation load, and the calculation formula is as follows: Carbon emission factor = real-time carbon emissions / real-time power generation load.
4. The method for predicting carbon emissions from power plants based on a neural network model according to claim 1 or 2, It is characterized in that The preprocessing of the historical operation data and dividing it into a training set and a validation set according to a set ratio includes: The z-score standardization is used to standardize the mean and standard deviation of the historical operation data. The calculation formula is as follows: Among them, X norm is the standardized data, X is the original data, μ is the mean of the data, and σ is the standard deviation of the data; The standardized data is divided into a training set and a validation set according to a set ratio, wherein the training set is used for training the radial basis neural network model, and the validation set is used to determine whether the radial basis neural network model is overfitting.
5. The method for predicting carbon emissions from power plants based on a neural network model according to claim 1 or 2, It is characterized in that The method of determining the initialization center point of the radial basis neural network model based on the K-means clustering algorithm specifically includes: Step A: Randomly select k data points in the sample as the initial cluster center point C 1 , C 2 , …, C k ; Step B: For each data point X i , calculate its distance from the center of each cluster and assign it to the cluster closest to it. The distance is calculated using the Euclidean distance: Among them, x i,k Represents data point x i The value in the kth dimension, c j,k Represents the cluster center point c j The value in the kth dimension; Step C: For each cluster C j , calculate the mean of all its data points and use the mean as the new cluster center point c j : Among them, |C j | represents cluster C j The number of data points in Repeat steps B and C until the cluster center no longer changes.
6. The method for predicting carbon emissions from power plants based on a neural network model as claimed in claim 5, It is characterized in that If it is determined based on the data in the training set and the validation set that the radial basis neural network model reaches the set convergence condition, the training is completed, which specifically includes: Input the preprocessed training set and / or validation set data; Determine the structure of the radial basis neural network, including the number of neurons in the input layer, hidden layer, and output layer, and select the Gaussian function as the radial basis function: Among them, x is the input data, c i is the center point of the i-th hidden layer neuron, σ i is the width parameter of the radial basis function; Initialize the width parameter σ i , input the determined cluster center point c j The data is used as the initialization parameters of the center point; Calculate the output y(x) of the output layer: Among them, h i (x) is the radial basis function of the i-th hidden layer neuron, w i is the output weight of the i-th hidden layer neuron, b is the bias term, and k is the number of hidden layer neurons; The mean square error As the loss function, where n is the number of samples, y i is the true value of the i-th sample, is the predicted value of the model for the i-th sample; the parameters of the radial basis neural network model are updated according to the gradient information of the loss function, and the updating process of each parameter is: Among them, θ t+1 is the parameter after iterative update, θ t is the parameter of time step t, α is the learning rate, is the loss function with respect to the parameter θ t The above steps are repeated until the number of iterations reaches the set maximum value or the loss function drops to the set threshold, and the training is completed.
7. The method for predicting carbon emissions from power plants based on a neural network model according to claim 1 or 2, It is characterized in that The setting of corresponding correction parameters based on the recorded designated characteristic parameters, and using the correction parameters to correct the trained radial basis neural network model to obtain the final carbon emission prediction model, specifically includes: Where f(x) is the final carbon emission prediction model, x is the input parameter of the model: power generation load, heating load and / or fuel quantity data, k u is the unit capacity correction factor, k b is the boiler type correction factor, k c is the coal type correction coefficient, k is the number of neurons in the hidden layer of the radial basis neural network model, and w i is the output weight of the i-th hidden layer neuron, dist(x, c i ) 2 is the input parameter x and the center point c of the i-th hidden layer neuron i The square of the Euclidean distance, σ i is the width of the radial basis function of the i-th hidden layer neuron, and b is the model bias.
8. A power plant carbon emission prediction system based on a neural network model, It is characterized in that The system comprises: An acquisition module, used to acquire historical operation data of a power plant within a set time and record specified characteristic parameters of the power plant; A processing module, used for preprocessing the historical operation data and dividing it into a training set and a validation set according to a set ratio; A training module, used to train a radial basis neural network model using the data in the training set, and determine an initialization center point of the radial basis neural network model based on a K-means clustering algorithm, and if it is determined based on the data in the training set and the validation set that the radial basis neural network model reaches a set convergence condition, the training is completed; A correction module, used to set corresponding correction parameters based on the recorded specified characteristic parameters, and use the correction parameters to correct the trained radial basis neural network model to obtain a final carbon emission prediction model; The prediction module is used to obtain the operating data and specified characteristic parameters of the target power plant to be predicted, and calculate the carbon emission prediction data of the target power plant based on the carbon emission prediction model.
9. An electronic device, It is characterized in that The electronic device includes a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and when the computer program is executed by the processor, the steps of the power plant carbon emission prediction method based on the neural network model as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method for predicting carbon emissions of a power plant based on a neural network model as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Photovoltaic generating capacity prediction method based on RBF neural network
CN108960491A
A power load combination forecasting method based on neural network model
CN109376772A
Lithology identification method and system based on improved radial basis function neural network
CN113408699A
Light-storage electric vehicle charging station scheduling method considering full-life-cycle carbon emission
CN114583729A
Carbon emission prediction method and device, electronic equipment and storage medium
CN114662780A
