A method and device for optimizing AGC performance index of thermal power unit
By combining random forests and regression algorithms with genetic algorithms, a thermal power unit performance model is established, which solves the problem of difficulty in analyzing and calculating AGC performance indicators in the existing technology, realizes the prediction and optimization adjustment of AGC performance, and improves the response characteristics and operation stability of the unit. sex.
Patent Information
- Application Number
- CN202210213830.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-07
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-03-07
AI Technical Summary
The existing technology is difficult to establish an analytical calculation model for thermal power unit operating conditions parameters and AGC performance indicators, and cannot effectively improve AGC performance indicators, especially under deeply variable load conditions.
Random forest algorithm, multiple linear regression, nonlinear regression combined with genetic algorithm are used to establish boiler performance and motor performance models. Through data preprocessing and machine learning algorithm training model, AGC performance indicators are predicted and optimized, and coal volume and air volume command values are calculated to Improve unit regulation performance.
It achieves prediction and optimal adjustment of AGC performance indicators of thermal power units, improves unit response characteristics and comprehensive frequency regulation performance, meets power grid assessment indicators, and improves the stability of operating parameters.
Smart Images

Figure CN114583764B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of thermal power generation, and in particular to a method and a device for optimizing AGC performance indicators of a thermal power unit. Background Art
[0002] New energy sources such as wind power and solar energy are widely used in the power system, but my country lacks the conditions for large-scale construction of energy storage equipment. The power grid must rely on the load adjustment capability of thermal power units to absorb the impact of these intermittent and highly fluctuating power sources on the power grid and ensure the safe and stable operation of the power grid. With the participation of automatic generation control (AGC) units in power grid regulation, large coal-fired power generation units have played a role in participating in the deep peak regulation of the power grid, and thermal power units often operate under deep variable loads.
[0003] At present, the AGC performance index of load regulation has been formulated and converted into economic indicators to implement rewards and penalties for power generation units. However, since the AGC performance index is a segmented, nonlinear comprehensive index, there is no monotonic relationship between this index and the commonly used performance indicators. Conventional advanced control algorithms cannot find the direct relationship between its control system and this performance index, and cannot improve the AGC performance index in a targeted manner through regular adjustments. Therefore, it is urgent to develop an optimization method for the AGC performance index of thermal power units, and establish a model based on the unit operating parameters to predict and optimize the performance index of AGC.
[0004] In order to effectively improve the AGC performance indicators, appropriate operating points should be selected to establish a data model, establish an objective function between input data and main steam pressure and temperature, establish an objective function between main steam pressure and temperature and unit load, implement the optimization process under constraints, and calculate AGC performance indicators (regulation rate, regulation accuracy, regulation time, etc.). Summary of the invention
[0005] The purpose of the present invention is to provide a method and device for optimizing the AGC performance index of a thermal power unit, so as to solve the problem in the prior art that it is difficult to establish an analytical calculation model for the operating parameters of the thermal power unit and the AGC performance index, and to predict and optimize the performance index of the AGC through the model.
[0006] In order to solve the above technical problems, the present invention adopts the following technical solution: a method for optimizing the AGC performance index of a thermal power unit, characterized by comprising the following steps:
[0007] S1. Obtain historical data of the thermal power unit to be optimized;
[0008] S1-1, obtain the coal quantity command value CV, air quantity command value WV, main steam pressure SP, main steam temperature ST, and actual load AL of the boiler in the thermal power unit; wherein CV, WV, SP, ST, and AL are all time-series data values, and are all floating-point numbers;
[0009] S1-2, using the data acquisition module to collect and summarize the data acquired in step S1-1 at time intervals T;
[0010] S1-3, the data storage module stores the data in the database with the timestamp as the primary key;
[0011] S2, the data preprocessing module preprocesses the historical data, uses the random forest algorithm to obtain the highly correlated input variables that affect the boiler performance, preprocesses these variables, uses the timestamp as the primary key, establishes the boiler performance characteristic input vector v and stores it in the database;
[0012] S3, input the data-processed boiler performance feature input vector v into the multivariate linear regression and machine learning algorithms, train the boiler performance model, and use the mean percentage error MPE and weighted mean absolute percentage error WMAPE to measure the accuracy of the model;
[0013] S4. Input the data of boiler main steam pressure SP and main steam temperature ST into nonlinear regression and machine learning algorithms to train the motor performance model of the thermal power unit, and use the mean percentage error MPE and weighted mean absolute percentage error WMAPE to measure the accuracy of the model;
[0014] S5. Obtain the current production parameters of the thermal power unit, including the main steam pressure SP, the main steam temperature ST, and the actual load AL of the unit, input them into the boiler performance model and the thermal power unit motor performance model, and use the genetic algorithm to calculate the coal quantity command value CV and the air volume command value WV to obtain the optimal thermal power unit AGC regulation performance comprehensive index Kp; send the calculated coal quantity command value CV and air volume command value WV as command values to the unit to guide the coal addition and air supply of the boiler at the next time node.
[0015] A further technical solution is that the time interval T in step S1 is not less than 1800 seconds.
[0016] A further technical solution is that the specific process of step S2 is as follows:
[0017] S2-1. The historical data obtained is taken in seconds, and if missing values are encountered, the interpolation method is used to fill them;
[0018] S2-2, using the random forest algorithm, by calculating the input variable importance evaluation index value, find that the input variables with the highest correlation with the main steam pressure SP and the main steam temperature ST are the coal volume command value CV and the air volume command value WV;
[0019] S2-3. Use timestamp as primary key to construct boiler performance feature input vector v:
[0020] v=(CV t , CV t-1 , ..., CV t-T , W.V. t , W.V. t-1 , ..., W.V. t-T , S.P. t , S.P. t-1 , ..., SP t-T ,ST t ,ST t-1 , ..., ST t-T )
[0021] Among them, CV t is the coal quantity instruction at time t, CV t-1 is the coal quantity instruction one second before time t, CV t-T It is the coal quantity instruction T seconds before time t. t is the wind volume command at time t, WV t-1 It is the wind volume instruction one second before time t. SP t is the main steam pressure at time t, SP t-1 It is the main steam pressure value 1 second before time t. ST t is the main steam pressure at time t, ST t-1 It is the main steam pressure value 1 second before time t.
[0022] S2-4, perform data preprocessing on input variables;
[0023] S2-5. Store the input vector in the database.
[0024] A further technical solution is that the specific process of step S3 is as follows:
[0025] S3-1, read the boiler performance characteristic input vector v from the database;
[0026] S3-2. Input the feature vector into the multivariate linear regression and machine learning algorithms to train the boiler performance model.
[0027] The regression model is:
[0028] E1=f(CV t , CV t-1 , ..., CVt-T , W.V. t , W.V. t-1 , ..., W.V. t-T , S.P. t , S.P. t-1 , ..., SP t-T ,ST t ,ST t-1 , ..., ST t-T )
[0029] Among them, CV t is the coal quantity instruction at time t, CV t-1 is the coal quantity instruction one second before time t, CV t-T It is the coal quantity instruction T seconds before time t. t is the wind volume command at time t, WV t-1 It is the wind volume instruction one second before time t. SP t is the main steam pressure at time t, SP t-1 It is the main steam pressure value 1 second before time t. ST t is the main steam pressure at time t, ST t-1 is the main steam pressure value 1 second before time t;
[0030] S3-3, the boiler performance model is saved as a model file, the current coal quantity command value CV, the air volume command value WV value is input, the main steam pressure SP and the main steam temperature ST value are calculated by E1, and saved to the database, the calculation result is compared with the actual main steam pressure and temperature value, and the E1 error is calculated. E1 can be used to calculate the main steam pressure and temperature values obtained by the input variable value, and at the same time limit the optimal range of the main steam pressure SP and the main steam temperature ST.
[0031] A further technical solution is that the specific process of step S4 is as follows:
[0032] S4-1, read the main steam pressure value and the main steam temperature value from the database;
[0033] S4-2, using nonlinear regression and machine learning algorithms, train the thermal power unit motor performance model E2:
[0034] E2=f(AL t , A.L. t-1 , ..., AL t-T , S.P. t , S.P. t-1 , ..., SP t-T ,ST t ,ST t-1 , ..., ST t-T )
[0035] Among them, AL t is the actual load at time t, AL t-1 is the actual load of the unit 1 second before time t, AL t-T is the actual load T seconds before time t. SP t is the main steam pressure at time t, SP t-1 It is the main steam pressure value 1 second before time t. ST t is the main steam pressure at time t, ST t-1 is the main steam pressure value 1 second before time t; E2 represents the regression model between the input main steam pressure and temperature values and the actual load of the unit. E2 is used to calculate the actual load of the unit and calculate its AGC regulation performance index through the actual load.
[0036] S4-3. The motor performance model of the thermal power unit is saved as a model file, and the actual load value is saved in the database.
[0037] A further technical solution is that the specific process of step S5 is as follows:
[0038] S5-1. According to the actual operating conditions of the thermal power unit, determine the limiting conditions, including: upper and lower limits of main steam pressure, main steam
[0039] Temperature upper and lower limits, unit load upper and lower limits, and allowable fluctuation upper and lower limits;
[0040] S5-2. Use genetic algorithm to calculate the optimal performance index of thermal power units: When using genetic algorithm, first binary encode the input variables, initialize the population, establish the fitness function and selection function, calculate the population that meets the optimal AGC regulation comprehensive performance index through crossover and mutation, and stop the calculation to obtain the unit load at the next time point.
[0041] S5-3. Calculate the coal quantity command value CV and the air quantity command value WV when the optimal performance index of the thermal power unit is achieved.
[0042] The present invention may also be a thermal power unit AGC performance optimization device, characterized in that it includes a data acquisition module, a data storage module, a data preprocessing module, a unit performance training module, and a unit performance optimization module, wherein:
[0043] The data acquisition module obtains the coal quantity command value CV, air quantity command value WV, main steam pressure SP, main steam temperature ST, and actual load AL of the boiler in the thermal power unit, and summarizes them according to the time interval T; among them, CV, WV, SP, ST, and AL are all time-series data values, all of which are floating point numbers;
[0044] Data storage module, used to store data in the database with timestamp as primary key, and the timestamp should be in seconds;
[0045] The data preprocessing module is used to clean and interpolate data and select highly correlated input variables; interpolate missing data to complete the missing data; and use the random forest algorithm to calculate highly correlated input variables;
[0046] Unit performance training module, used to input feature vectors into the algorithm and establish input variable and main steam model E1, main steam and unit load model E2;
[0047] The unit performance optimization module inputs models E1 and E2 into the genetic algorithm to solve the coal quantity command value CV and the air volume command value WV when the optimal performance index of the thermal power unit is achieved. The calculated coal quantity command value CV and the air volume command value WV are sent to the unit as command values to guide the coal addition and air supply of the boiler at the next time node.
[0048] Compared with the prior art, the beneficial effects of the present invention are: realizing frequency regulation and peak regulation for thermal power units under the AGC coordination mode, and on the premise of meeting the power grid assessment indicators, improving the unit response characteristics and the unit's comprehensive frequency regulation performance index K, and comprehensively improving the unit's AGC performance indicators and operating parameter stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 The figure is a flow chart of the AGC performance optimization method for a thermal power unit in the present invention.
[0050] Figure 2 It is a structural block diagram of the AGC performance optimization device for thermal power units in the present invention.
[0051] Figure 3 The implementation process of genetic algorithm.
[0052] Figure 4 This is a curve diagram of AGC optimization value and observation value of thermal power units. DETAILED DESCRIPTION
[0053] Example 1
[0054] Figure 1 Shown as Figure 1 As shown in the figure, the AGC performance optimization method for thermal power units has the following specific implementation steps:
[0055] S1. Obtain historical data of the thermal power unit to be optimized;
[0056] S1-1, obtain the coal quantity instruction CV, air quantity instruction WV, main steam pressure SP, main steam temperature ST, and actual load AL of the boiler in the thermal power unit; wherein CV, WV, SP, ST, and AL are all time-series data values, and are all floating-point numbers;
[0057] S1-2, using the data acquisition module to collect and summarize the data acquired in step S1-1 at a time interval T; the time interval T is not less than 1800 seconds;
[0058] S1-3, the data storage module stores the data in the database with the timestamp as the primary key;
[0059] S2, the data preprocessing module preprocesses the historical data, uses the random forest algorithm to obtain the highly correlated input variables that affect the boiler performance, preprocesses these variables, uses the timestamp as the primary key, establishes the boiler performance characteristic input vector v and stores it in the database;
[0060] S2-1. The historical data obtained is taken in seconds. If missing values are encountered, interpolation method is used to complete them;
[0061] S2-2, using the random forest algorithm, by calculating the input variable importance evaluation index value, find that the input variables with the highest correlation with the main steam pressure SP and the main steam temperature ST are the coal volume command value CV and the air volume command value WV;
[0062] S2-3. Use timestamp as primary key to construct boiler performance feature input vector v:
[0063] v=(CV t , CV t-1 , ..., CV t-T , W.V. t , W.V. t-1 , ..., W.V. t-T , S.P. t , S.P. t-1 , ..., SP t-T ,ST t ,ST t-1 , ..., ST t-T )
[0064] Among them, CV t is the coal quantity instruction at time t, CV t-1 is the coal quantity instruction one second before time t, CV t-T It is the coal quantity instruction T seconds before time t. t is the wind volume command at time t, WV t-1 It is the wind volume instruction one second before time t. SP t is the main steam pressure at time t, SP t-1 It is the main steam pressure value 1 second before time t. ST t is the main steam pressure at time t, ST t-1 It is the main steam pressure value 1 second before time t.
[0065] S2-4, perform data preprocessing on input variables;
[0066] S2-5. Store the input vector in the database.
[0067] S3, input the data-processed boiler performance feature vector into the multivariate linear regression and machine learning algorithms to train the boiler performance model, and use the mean percentage error MPE and weighted mean absolute percentage error WMAPE to measure the accuracy of the model;
[0068] S3-1, read all feature vectors v from the database;
[0069] S3-2. Input the feature vector into the multivariate linear regression and machine learning algorithms to train the boiler performance model.
[0070] The regression model is:
[0071] E1=f(CV t , CV t-1 , ..., CV t-T , W.V. t , W.V. t-1 , ..., W.V. t-T , S.P. t , S.P. t-1 , ..., SP t-T ,ST t ,ST t-1 , ..., ST t-T )
[0072] Among them, CV t is the coal quantity instruction at time t, CV t-1 is the coal quantity instruction one second before time t, CV t-T It is the coal quantity instruction T seconds before time t. t is the wind volume command at time t, WV t-1 It is the wind volume instruction one second before time t. SP t is the main steam pressure at time t, SP t-1 It is the main steam pressure value 1 second before time t. ST t is the main steam pressure at time t, ST t-1 is the main steam pressure value 1 second before time t;
[0073] S3-3. The boiler performance model is saved as a model file. The current coal quantity command value CV and air volume command value WV are input and calculated by E1 to obtain the main steam pressure SP and main steam temperature ST values. The values are saved in the database. The calculated results are compared with the actual main steam pressure and temperature values to calculate the E1 error. E1 can be used to calculate the main steam pressure and temperature values obtained by inputting the variable values, and at the same time limit the optimal range of the main steam pressure SP and the main steam temperature ST. The main steam pressure SP is between 13 and 16.7 MPa, and the main steam temperature ST is between 533 and 543 degrees Celsius.
[0074] S4. Input the processed data of the boiler main steam pressure and main steam temperature into the nonlinear regression and machine learning algorithms to train the motor performance model of the thermal power unit, and use the mean percentage error MPE and the weighted mean absolute percentage error WMAPE to measure the accuracy of the model;
[0075] S4-1, read the main steam pressure value and the main steam temperature value from the database;
[0076] S4-2, using nonlinear regression and machine learning algorithms, train the thermal power unit motor performance model E2:
[0077] E2=f(AL t , A.L. t-1 , ..., AL t-T , S.P. t , S.P. t-1 , ..., SP t-T ,ST t ,ST t-1 , ..., ST t-T )
[0078] Among them, AL t is the actual load at time t, AL t-1 is the actual load of the unit 1 second before time t, AL t-T is the actual load T seconds before time t, SP t is the main steam pressure at time t, SP t-1 is the main steam pressure value 1 second before time t, ST t is the main steam pressure at time t, ST t-1 is the main steam pressure value 1 second before time t; E2 represents the regression model between the input main steam pressure and temperature values and the actual load of the unit. The actual load of the unit is calculated by E2, and its AGC regulation performance index is calculated by the actual load;
[0079] S4-3. The motor performance model of the thermal power unit is saved as a model file, and the actual load value is saved in the database.
[0080] S5. Obtain the current production parameters of the thermal power unit, including the main steam pressure SP, the main steam temperature ST, and the actual load AL of the unit, input them into the boiler performance model and the thermal power unit motor performance model, and use the genetic algorithm to calculate the input variables coal quantity command value CV and air volume command value WV to obtain the optimal thermal power unit AGC regulation performance comprehensive index Kp; send the calculated coal quantity command value CV and air volume command value WV as command values to the unit to guide the coal addition and air supply of the boiler at the next time node.
[0081] S5-1. According to the actual operating conditions of the thermal power unit, determine the limiting conditions, including: when the 300MW thermal power unit is in a safe production state, the upper limit of the main steam pressure is 16.7MPa, the lower limit of the main steam pressure is 13MPa, the upper limit of the main steam temperature is 543 degrees Celsius, the lower limit of the main steam temperature is 533 degrees Celsius, the upper limit of the unit load is 330MW, the lower limit of the unit load is 128MW, and the fluctuation value of the main steam pressure per second is less than 0.5MPa;
[0082] S5-2. Use genetic algorithm to calculate the optimal performance index of thermal power unit: When using genetic algorithm, firstly binary encode the input variables, initialize the population and establish the fitness function and selection function, calculate the population that meets the optimal AGC regulation comprehensive performance index through crossover and mutation, and stop the calculation to obtain the unit load at the next time point;
[0083] S5-3. Calculate the coal quantity command value CV and the air quantity command value WV when the optimal performance index of the thermal power unit is achieved.
[0084] To verify the accuracy of the AGC performance optimization model, the optimized values were compared with the actual observed values. Figure 4 The data comes from a thermal power unit in Shandong Province, and the data collection period is from July 15 to August 25, 2021. First, collect relevant data from the thermal power unit configuration according to S1, including coal quantity command value, air volume command value, AGC command value, swing angle, load upper limit / lower limit; perform data preprocessing according to S2, and the time interval of all data is 1s. If there are missing values in the unit data, interpolate according to S2-1, and then select important features according to S2-2 and store them in units of timestamps according to the requirements of S2-3; establish feature vectors according to S3 and use multivariate linear regression and machine learning algorithms to establish a model between input commands and main steam pressure and temperature; establish a model between main steam pressure, temperature and actual load according to S4; and use optimization algorithms according to S5 to calculate the optimal performance indicators of thermal power units. Figure 4 As shown, the comparison of the AGC regulation performance comprehensive index (Kp) between August 16 and 25 shows that the performance index after optimization is significantly better than the original performance index, which proves the feasibility and accuracy of the method of the present invention.
[0085] Example 2
[0086] Figure 2 A data-driven prediction and optimization device for boiler energy consumption is shown, comprising a data acquisition module, a data storage module, a data preprocessing module, a unit performance training module, and a unit performance optimization module, wherein:
[0087] The data acquisition module obtains the coal quantity command value CV, air quantity command value WV, main steam pressure SP, main steam temperature ST, and actual load AL of the boiler in the thermal power unit, and summarizes them according to the time interval T; among them, CV, WV, SP, ST, and AL are all time-series data values, all of which are floating point numbers;
[0088] Data storage module, used to store data in the database with timestamp as primary key, and the timestamp should be in seconds;
[0089] The data preprocessing module is used to clean and interpolate data and select highly correlated input variables; interpolate missing data to complete the missing data; and use the random forest algorithm to calculate highly correlated input variables;
[0090] Unit performance training module, used to input feature vectors into the algorithm and establish input variable and main steam model E1, main steam and unit load model E2;
[0091] The unit performance optimization module inputs models E1 and E2 into the genetic algorithm to solve the coal quantity command value CV and the air volume command value WV when the optimal performance index of the thermal power unit is achieved. The calculated coal quantity command value CV and the air volume command value WV are sent to the unit as command values to guide the coal addition and air supply of the boiler at the next time node.
[0092] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0093] The above-described embodiment is only a preferred solution of the present invention, but it is not intended to limit the present invention. A person skilled in the relevant technical field may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, any technical solution obtained by equivalent replacement or equivalent transformation falls within the protection scope of the present invention.
Claims
1. A method for optimizing the AGC performance of a thermal power unit, characterized in that The steps include: S1. Obtain historical data of the thermal power unit to be optimized; S1-1, obtain the coal quantity command value CV, air quantity command value WV, main steam pressure SP, main steam temperature ST, and actual load AL of the boiler in the thermal power unit; wherein CV, WV, SP, ST, and AL are all time-series data values, and are all floating-point numbers; S1-2, using the data acquisition module to collect and summarize the data acquired in step S1-1 at time intervals T; S1-3, the data storage module stores the data in the database with the timestamp as the primary key; S2, the data preprocessing module preprocesses the historical data, uses the random forest algorithm to obtain the highly correlated input variables that affect the boiler performance, preprocesses these variables, uses the timestamp as the primary key, establishes the boiler performance characteristic input vector v and stores it in the database; S3, input the data-processed boiler performance feature input vector v into the multivariate linear regression and machine learning algorithms, train the boiler performance model, and use the mean percentage error MPE and weighted mean absolute percentage error WMAPE to measure the accuracy of the model; S4. Input the data of boiler main steam pressure SP and main steam temperature ST into nonlinear regression and machine learning algorithms to train the motor performance model of the thermal power unit, and use the mean percentage error MPE and weighted mean absolute percentage error WMAPE to measure the accuracy of the model; S5. Obtain the current production parameters of the thermal power unit, including the main steam pressure SP, the main steam temperature ST, and the actual load AL of the unit, input them into the boiler performance model and the thermal power unit motor performance model, and use the genetic algorithm to calculate the input variables coal quantity command value CV and air volume command value WV to obtain the optimal thermal power unit AGC regulation performance comprehensive index Kp; send the calculated coal quantity command value CV and air volume command value WV as command values to the unit to guide the coal addition and air supply volume of the boiler at the next time node; The specific process of step S2 is as follows: S2-1. The historical data obtained is taken in seconds, and if missing values are encountered, the interpolation method is used to fill them; S2-2, using the random forest algorithm, by calculating the importance evaluation index value of the input variable, find the main steam pressure The input variables with the highest correlation between SP and main steam temperature ST are coal quantity command value CV and air quantity command value WV; S2-3. Use timestamp as primary key to construct boiler performance feature input vector v: v=(CV t ,CV t-1 ,…,CV t-T ,WV t ,WV t-1 ,…,WV t-T ,SP t ,SP t-1 ,…,SP t-T ,ST t ,ST t-1 ,…,ST t-T ) Among them, CV t is the coal quantity instruction at time t, CV t-1 is the coal quantity instruction one second before time t, CV t-T is the coal quantity instruction T seconds before time t; WV t is the wind volume command at time t, WV t-1 is the wind volume command one second before time t, SP t is the main steam pressure at time t, SP t-1 is the main steam pressure value 1 second before time t, ST t is the main steam pressure at time t, ST t-1 is the main steam pressure value 1 second before time t; S2-4, perform data preprocessing on input variables; S2-5, storing the input vector in the database; The specific process of step S3 is as follows: S3-1, read all boiler performance characteristic input vectors v from the database; S3-2. Input the feature vector into the multivariate linear regression and machine learning algorithm to train the boiler performance model. The algorithm regression model is: E1=f(CV t ,CV t-1 ,…,CV t-T ,WV t ,WV t-1 ,…,WV t-T ,SP t ,SP t-1 ,…,SP t-T ,ST t ,ST t-1 ,…,ST t-T ) Among them, CV t is the coal quantity instruction at time t, CV t-1 is the coal quantity instruction one second before time t, CV t-T is the coal quantity instruction T seconds before time t, WV t is the wind volume command at time t, WV t-1 is the wind volume command one second before time t, SP t is the main steam pressure at time t, SP t-1 is the main steam pressure value 1 second before time t, ST t is the main steam pressure at time t, ST t-1 is the main steam pressure value 1 second before time t; S3-3. The boiler performance model is saved as a model file. The current coal quantity command value CV and air quantity command value WV are input to calculate the main steam pressure SP and main steam temperature ST through E1, and saved to the database. The calculation result is compared with the actual main steam pressure and temperature values to calculate the E1 error. E1 can be used to calculate the main steam pressure and temperature values obtained by the input variable values, and at the same time, the optimal range of the main steam pressure SP and the main steam temperature ST is limited. The main steam pressure SP is between 13 and 16.7 MPa, and the main steam temperature ST is between 533 and 543 degrees Celsius. The specific process of step S4 is as follows: S4-1, read the main steam pressure value and the main steam temperature value from the database; S4-2, using nonlinear regression and machine learning algorithms, train the thermal power unit motor performance model E2: E2=f(AL t ,AL t-1 ,…,AL t-T ,SP t ,SP t-1 ,…,SP t-T ,ST t ,ST t-1 ,…,ST t-T ) Among them, AL t is the actual load at time t, AL t-1 is the actual load of the unit 1 second before time t, AL t-T is the actual load T seconds before time t, SP t is the main steam pressure at time t, SP t-1 is the main steam pressure value 1 second before time t, ST t is the main steam pressure at time t, ST t-1 is the main steam pressure value 1 second before time t; E2 represents the regression model between the input main steam pressure and temperature values and the actual load of the unit. The actual load of the unit is calculated by E2, and its AGC regulation performance index is calculated by the actual load; S4-3, the motor performance model of the thermal power unit is saved as a model file, and the actual load value is saved in the database; The specific process of step S5 is as follows: S5-1. According to the actual operating conditions of the thermal power unit, determine the limiting conditions, including: when the 300MW thermal power unit is in a safe production state, the upper limit of the main steam pressure is 16.7MPa, the lower limit of the main steam pressure is 13MPa, the upper limit of the main steam temperature is 543 degrees Celsius, the lower limit of the main steam temperature is 533 degrees Celsius, the upper limit of the unit load is 330MW, the lower limit of the unit load is 128MW, and the fluctuation value of the main steam pressure per second is less than 0.5MPa; S5-2. Use genetic algorithm to calculate the optimal performance index of thermal power unit: When using genetic algorithm, firstly binary encode the input variables, initialize the population and establish the fitness function and selection function, calculate the population that meets the optimal AGC regulation comprehensive performance index through crossover and mutation, and stop the calculation to obtain the unit load at the next time point; S5-3. Calculate the coal volume command value CV and the air volume command value WV when the optimal performance index of the thermal power unit is achieved.
2. The method for optimizing the AGC performance of a thermal power plant according to claim 1, characterized in that: The time interval T in step S1 is not less than 1800 seconds.
3. A thermal power unit AGC performance optimization device, characterized by: The method for optimizing the AGC performance of a thermal power unit according to claim 1 or 2 comprises a data acquisition module, a data storage module, a data preprocessing module, a unit performance training module, and a unit performance optimization module, wherein: The data acquisition module obtains the coal quantity command value CV, air quantity command value WV, main steam pressure SP, main steam temperature ST, and actual load AL of the boiler in the thermal power unit, and summarizes them according to the time interval T; among them, CV, WV, SP, ST, and AL are all time-series data values, all of which are floating point numbers; Data storage module, used to store data in the database with timestamp as primary key, and the timestamp should be in seconds; The data preprocessing module is used to clean and interpolate data and select highly correlated input variables; interpolate missing data to complete the missing data; and use the random forest algorithm to calculate highly correlated input variables; the unit performance training module is used to input the feature vector into the algorithm and establish the input variable and main steam model E1, and the main steam and unit load model E2; The unit performance optimization module inputs models E1 and E2 into the genetic algorithm to solve the coal quantity command value CV and the air volume command value WV when the optimal performance index of the thermal power unit is achieved. The calculated coal quantity command value CV and the air volume command value WV are sent to the unit as command values to guide the coal addition and air supply of the boiler at the next time node.
