Peak load optimization method and system for coal-fired power plants based on control algorithm

Through load prediction and auxiliary equipment coordination based on control algorithms, the problems of insufficient peak shaving capacity and high operating costs of coal-fired power plants are solved, efficient and environmentally friendly peak shaving optimization is achieved, and equipment life and power supply flexibility are improved.

CN118449142BActive Publication Date: 2024-08-30中煤新集利辛发电有限公司 +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410905206.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-08-30
Estimated Expiration
2044-07-08

AI Technical Summary

Technical Problem

During peak shaving operation, coal-fired power plants suffer from unstable boiler combustion, increased furnace thermal deviation, and large temperature fluctuations of main steam and reheat steam, resulting in reduced peak shaving capabilities and shortened equipment life. In addition, traditional peak shaving methods are difficult to take into account fuel costs, Electricity income and environmental protection constraints lead to increased operating costs and decreased benefits.

Method used

A peak-shaving optimization method based on a control algorithm is used to perform load forecasting through long- and short-term encoders and decoders combined with attention context vectors to generate the optimal start-stop state combination, and determine the optimal control sequence through the auxiliary equipment coordination algorithm to achieve unit and Collaborative optimization of auxiliary equipment.

Benefits of technology

It significantly improves the peak shaving capacity and equipment life of coal-fired power plants, reduces operating costs and environmental emissions, improves power regulation capabilities and flexibility, and achieves intelligent and automated collaborative optimization control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118449142B
    Figure CN118449142B
Patent Text Reader

Abstract

The present invention provides a peak-shaving optimization method and system for a coal-fired power plant based on a control algorithm, which relates to the technical field of power plants, including obtaining historical load data and external influencing factors of the power plant, determining a historical load sequence, inputting the historical load sequence into a power grid load forecasting model, and calculating an enhanced hidden state through a long-short time encoder and a long-short time decoder in combination with an attention context vector, wherein the enhanced hidden state generates load forecast data through an output layer; the load forecast data is input into a unit scheduling algorithm to obtain an optimal start-stop state combination of a generator set, and determine a peak-shaving scheme for the generator set, wherein the unit scheduling algorithm initializes the start-stop state combination, calculates the total cost of the start-stop state combination, combines the must-start combination setting, and satisfies the unit output constraint at the same time, and after cross iteration, selects the start-stop state combination with the lowest total cost until a preset number of iterations is reached.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to power plant technology, and in particular to a peak-shaving optimization method and system for a coal-fired power plant based on a control algorithm. Background Art

[0002] As the proportion of renewable energy power generation continues to increase, the load on the power grid has shown greater volatility and uncertainty. As the main power source of the power system, coal-fired power plants need to take on more peak-shaving tasks to maintain the stable operation of the power grid. However, coal-fired power generation units are often optimized for basic load operation at the beginning of their design, and their peak-shaving capacity is relatively limited. Frequent deep peak-shaving operations will not only increase the wear of the units and reduce equipment life, but also lead to increased energy consumption and emissions. Therefore, how to maximize the peak-shaving potential while ensuring the safe and economical operation of the units has become a major challenge facing coal-fired power plants.

[0003] Taking a 600MW subcritical coal-fired power generating unit as an example, its boiler is a natural circulation boiler, and its steam turbine adopts a subcritical single-reheat condensing steam turbine, which has a certain peak-shaving capacity within the load range of 40%~100%. However, when the load is lower than 40%, the peak-shaving capacity of the unit drops sharply due to problems such as unstable boiler combustion and aggravated furnace thermal deviation. At the same time, frequent deep peak-shaving will also cause large fluctuations in the main steam temperature and reheat steam temperature, aggravate the thermal stress fatigue of the turbine flow part, and reduce the service life of the turbine. Therefore, it is necessary to take optimization control measures to maximize the unit load adjustment range and improve the peak-shaving capacity while ensuring the boiler combustion stability and steam parameter quality.

[0004] In addition, in the actual peak load regulation process, coal-fired power plants also face the trade-off and optimization of multiple objectives such as fuel cost, electricity revenue, and environmental protection constraints. Traditional peak load regulation methods often fail to take all factors into account, resulting in increased operating costs and reduced benefits. Therefore, it is urgent to develop an economical, efficient, and environmentally friendly intelligent peak load regulation optimization system. Summary of the invention

[0005] The embodiment of the present invention provides a method and system for optimizing peak load of a coal-fired power plant based on a control algorithm, which can solve the problems in the prior art.

[0006] According to a first aspect of the embodiments of the present invention,

[0007] A peak load optimization method for a coal-fired power plant based on a control algorithm is provided, comprising:

[0008] Obtain historical load data and external influencing factors of the power plant, determine the historical load sequence, input the historical load sequence into the power grid load forecasting model, calculate the enhanced hidden state through the long-short time encoder and the long-short time decoder, combined with the attention context vector, and generate load forecast data through the output layer;

[0009] The load forecast data is input into the unit scheduling algorithm to obtain the optimal start-stop state combination of the generator set and determine the peak load regulation plan of the generator set, wherein the unit scheduling algorithm initializes the start-stop state combination, calculates the total cost of the start-stop state combination, combines the must-start combination setting, and satisfies the unit output constraint at the same time, and cross-iterates until a preset number of iterations is reached, and selects the start-stop state combination with the lowest total cost;

[0010] Based on the peak-shaving scheme of the generator set, the auxiliary equipment coordination algorithm is used to determine the optimal strategy for the coordination of auxiliary equipment, and combined with the peak-shaving scheme of the generator set, a comprehensive peak-shaving optimization result is obtained, wherein the auxiliary equipment coordination algorithm models the auxiliary equipment, and determines the optimal control sequence through rolling optimization combined with feedback correction.

[0011] In an optional embodiment,

[0012] The historical load sequence is input into the power grid load forecasting model, and the enhanced hidden state is calculated by combining the attention context vector through the long-short time encoder and the long-short time decoder. The enhanced hidden state is passed through the output layer to generate load forecast data, including:

[0013] The historical load sequence is input into the long-short time encoder to obtain the basic hidden state sequence of the encoder;

[0014] For each encoder time step of the long-short time encoder, determine the time step distance between the current time step of the encoder and other time steps of the encoder, calculate the encoder attention score between the current time step of the encoder and other time steps of the encoder based on the current time step base hidden state of the encoder and the base hidden state of other time steps of the encoder, determine the encoder attention weight, determine the current time step context vector of the encoder based on the encoder attention weight and in combination with the base hidden state of other time steps of the encoder, concatenate the current time step context vector of the encoder with the current time step base hidden state of the encoder, and generate the current time step enhanced hidden state of the encoder;

[0015] Determining a decoder basic hidden state sequence of a long short-time decoder based on the encoder basic hidden state sequence;

[0016] For each decoder time step of the long and short-time decoder, based on the decoder basic hidden state and the encoder enhanced hidden state, the decoder attention score between the decoder basic hidden state and the encoder enhanced hidden state is calculated respectively to obtain the decoder attention weight, and the decoder context vector of the corresponding time step is calculated in combination with the encoder enhanced hidden state, and the decoder context vector is concatenated with the decoder basic hidden state to obtain the decoder enhanced hidden state, and the prediction result corresponding to the next time step is generated through the final output layer to obtain the load prediction data.

[0017] In an optional embodiment,

[0018] Also includes:

[0019] The execution steps of the long-short time encoder are as follows:

[0020] ;

[0021] Among them, e ij represents the attention score between time step i and time step j, v T represents the transpose of the encoder weight vector, W q represents the encoder query weight matrix, h i represents the base hidden state of the encoder at time step i, W k represents the encoder key weight matrix, h j represents the base hidden state of the encoder at time step j, W d represents the encoder distance weight matrix, |ij| represents the distance between time step i and time step j, b represents the encoder bias vector, α ij represents the attention weight between time step i and time step j, S represents the total number of time steps, s represents a time step in S, and e is represents the attention score between time step i and time step s, c i represents the context vector at encoder time step i, represents the enhanced hidden state of the encoder at time step i;

[0022] The execution steps of the long and short time decoder are as follows:

[0023] ;

[0024] Among them, e ti represents the attention score between decoder time step t and encoder time step i, v d T represents the transpose of the decoder weight vector, W ds Represents the transformation weight matrix of the decoder hidden state, m trepresents the base hidden state of the decoder at time step t, W dh represents the transformation weight matrix of the encoder enhanced hidden state, b d represents the decoder bias vector, α ti represents the attention weight between decoder time step t and encoder time step i, e ts represents the attention score between the decoder time step t and the encoder time step s, c t represents the context vector at decoder time step t, represents the augmented hidden state of the decoder at time step t.

[0025] In an optional embodiment,

[0026] The unit scheduling algorithm initializes the start-stop state combination, calculates the total cost of the start-stop state combination, combines the must-start combination setting, and satisfies the unit output constraint. After cross iteration, until the preset number of iterations is reached, the start-stop state combination with the lowest total cost is selected, including:

[0027] Based on the total number of units, determine the individual dimensions and start cyclically generating individuals;

[0028] For each dimension of the individual, the start and stop states are randomly determined, a combination of the start and stop states is constructed, the corresponding individual is generated, and the constraint conditions of the individual are verified. If the individual satisfies the constraint conditions, the individual is accepted; otherwise, the individual is abandoned and a new individual is generated;

[0029] All the accepted individuals form the initial population of the unit scheduling algorithm, and the population diversity index is calculated;

[0030] Based on the number of iterations, a dynamic scaling factor is determined; based on three pre-set mutation strategies, three corresponding mutation vectors are generated in combination with the dynamic scaling factor; based on the population diversity index, the selection probability of the three mutation vectors is determined; based on the selection probability, a mutation execution strategy is determined to perform a mutation operation;

[0031] The individuals are sorted using Euclidean distance, excellent individuals are extracted according to a preset number, a dynamic crossover probability is determined based on a population diversity index, and each dimension of the individual is determined to be inherited from a corresponding individual variation result or other excellent individuals according to the dynamic crossover probability, to generate a crossover operation result;

[0032] Compare the original individuals with the individuals after the mutation crossover operation, select individuals with higher fitness, build a new generation of population, and iterate in sequence until the preset number of iterations is reached to obtain the individuals with the lowest total cost.

[0033] In an optional embodiment,

[0034] The mutation operation includes:

[0035] The dynamic scaling factor is formulated as follows:

[0036] ;

[0037] Where x represents the current iteration number, F(x) represents the dynamic scaling factor in the current iteration, and F min Indicates the minimum value of the scaling factor, F max Indicates the maximum value of the scaling factor, λ F represents the factor that controls the rate of change of the scaling factor, and X represents the maximum number of iterations;

[0038] The three mutation strategies include: random strategy, best individual strategy, and from current to best strategy, generating corresponding mutation vectors, and the formula is as follows:

[0039] ;

[0040] Among them, v k represents the mutation vector of individual k, n r1 、n r2 、n r3 represents three different individuals randomly selected, n best represents the optimal individual, n k represents individual k.

[0041] In an optional embodiment,

[0042] The crossover operation includes:

[0043] The dynamic crossover probability is formulated as follows:

[0044] ;

[0045] Among them, CR(x) represents the dynamic crossover probability in the current iteration, CR min Indicates the minimum value of the crossover probability range, CR max Indicates the maximum value range of the crossover probability, λ CR represents the factor that controls the rate of change of crossover probability, D represents the population diversity index of the current population, and D 0 represents the population diversity index of the initial population;

[0046] According to the dynamic crossover probability, it is determined that each dimension of the individual is inherited from the corresponding individual variation result or other excellent individuals, and the crossover operation result is generated. The formula is as follows:

[0047] ;

[0048] Among them, u kl represents the l-dimensional component of the result vector of the crossover operation of individual k, v kl Represents the l-dimensional component of the mutation vector of individual k, l rand Represents a randomly generated dimension index, n db,l Represents the l-dimensional component of the individuals whose indices are ordered by Euclidean distance.

[0049] In an optional embodiment,

[0050] The auxiliary equipment coordination algorithm models the auxiliary equipment and determines the optimal control sequence through rolling optimization combined with feedback correction, including:

[0051] The auxiliary equipment includes a coal mill and a primary air system;

[0052] Based on the energy balance principle, a coal mill differential equation is constructed; at the same time, by establishing dynamic models of the induced draft fan and the forced draft fan, a state space expression of the primary air system is constructed, and based on the coal mill differential equation and the state space expression of the primary air system, the dynamic characteristics of the auxiliary equipment are determined;

[0053] Based on the dynamic characteristics, determining state variables, defining fuzzy rules for the state variables, and obtaining a predicted value of the auxiliary device coordination algorithm by weighted summing outputs of all the fuzzy rules;

[0054] According to the preset time span, at each sampling moment, based on the predicted value, by minimizing the performance indicator function, an instantaneous optimal control sequence is obtained, the first element of the instantaneous optimal control sequence is retained, the remaining elements are discarded, and rolling iterations are performed in sequence to obtain the optimal control sequence;

[0055] At each sampling moment, the actual output and the predicted output are compared to determine an error signal, and based on the error signal, the optimal control sequence is calibrated and optimized to obtain a final optimal control sequence.

[0056] In an optional embodiment,

[0057] The auxiliary equipment coordination algorithm includes:

[0058] The prediction value of the auxiliary equipment coordination algorithm is as follows:

[0059] ;

[0060] Among them, ti represents the time ti, sp represents the time span, B'(ti+sp|ti) represents the prediction of the output at the future ti+sp time based on the time ti, p represents the fuzzy rule index, P represents the total number of fuzzy rules, μp (·) represents the activation degree of the pth fuzzy rule, A(ti) represents the system state at time ti, γ pT represents the transpose of the parameter vector associated with the pth rule, A'(ti+sp|ti) represents the prediction of the system state at the future time ti+sp based on the time ti, and b p represents the bias term of the pth rule;

[0061] The performance indicator function is minimized, and its formula is as follows:

[0062] ;

[0063] Among them, J represents the performance indicator function value, Pre represents the total time range of prediction, G(ti+sp) represents the corresponding value of the preset reference trajectory, Q represents the first weight matrix, Con represents the total time range of control, ΔH(ti+sp) represents the corresponding change of control input, and R represents the second weight matrix.

[0064] According to a second aspect of the embodiments of the present invention,

[0065] A peak load optimization system for a coal-fired power plant based on a control algorithm is provided, comprising:

[0066] The first unit is used to obtain historical load data and external influencing factors of the power plant, determine the historical load sequence, input the historical load sequence into the power grid load forecasting model, calculate the enhanced hidden state through the long-short time encoder and the long-short time decoder, combined with the attention context vector, and the enhanced hidden state is passed through the output layer to generate load forecast data;

[0067] The second unit is used to input the load forecast data into the unit scheduling algorithm, obtain the optimal start-stop state combination of the generator set, and determine the peak load regulation plan of the generator set, wherein the unit scheduling algorithm initializes the start-stop state combination, calculates the total cost of the start-stop state combination, combines the must-start combination setting, and satisfies the unit output constraint at the same time, and cross-iterates until a preset number of iterations is reached, and selects the start-stop state combination with the lowest total cost;

[0068] The third unit is used to determine the optimal strategy for auxiliary equipment coordination based on the peak-shaving plan of the generator set through an auxiliary equipment coordination algorithm, and obtain a comprehensive peak-shaving optimization result in combination with the peak-shaving plan of the generator set, wherein the auxiliary equipment coordination algorithm models the auxiliary equipment and determines the optimal control sequence through rolling optimization combined with feedback correction.

[0069] According to a third aspect of the embodiments of the present invention,

[0070] An electronic device is provided, comprising:

[0071] processor;

[0072] a memory for storing processor-executable instructions;

[0073] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.

[0074] In this embodiment, the long short-term memory network (LSTM) structure can effectively capture the long-term and short-term characteristics of the load sequence, and the correlation between external influencing factors and load can be better explored through the attention mechanism, thereby significantly improving the accuracy of load forecasting. Based on the accurately predicted load data, the unit scheduling algorithm can automatically obtain the optimal unit start-stop combination scheme that meets various constraints through advanced optimization methods such as population genetics, realizing the economical, efficient and environmentally friendly scheduling of the unit. For key auxiliary equipment such as coal mills and fans, a model predictive control strategy integrating mechanism models and data models is adopted. Through rolling optimization and feedback correction, coordinated optimal control between auxiliary equipment can be achieved. Accurate load forecasting and optimized unit scheduling and equipment control avoid energy waste, improve fuel utilization efficiency, and fundamentally reduce the operating cost and environmental emissions of power plants. The use of advanced strategies such as model predictive control enhances the rapid response and adaptability of the power generation system to load fluctuations and operating conditions, and improves the regulation ability and flexibility of the power supply. The integrated application of intelligent technologies such as load forecasting, optimized decision-making and automatic control has realized the intelligent collaborative optimization and control of the power generation system, and significantly improved the automation and intelligence level of the power generation system. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] Figure 1 It is a flow chart of a peak load optimization method for a coal-fired power plant based on a control algorithm according to an embodiment of the present invention;

[0076] Figure 2 It is a structural schematic diagram of a peak-shaving optimization system for a coal-fired power plant based on a control algorithm according to an embodiment of the present invention. DETAILED DESCRIPTION

[0077] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 described embodiments 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.

[0078] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0079] Figure 1 FIG. 1 is a flow chart of a peak load optimization method for a coal-fired power plant based on a control algorithm according to an embodiment of the present invention. Figure 1 As shown, the method includes:

[0080] S101. Obtain historical load data and external influencing factors of the power plant, determine the historical load sequence, input the historical load sequence into the power grid load forecasting model, calculate the enhanced hidden state through the long-short time encoder and the long-short time decoder, combined with the attention context vector, and the enhanced hidden state passes through the output layer to generate load forecast data.

[0081] Grid load forecasting refers to estimating the load demand of the power system in a certain period of time in the future based on historical load data, weather conditions, economic indicators and other factors. Accurate load forecasting is crucial to the economic dispatch, safe operation and planning decision-making of the power grid. According to the different forecast time scales, load forecasting can be divided into long-term, medium-term and short-term forecasts. Among them, short-term load forecasting (STLF) targets load changes in the next few hours to days, and has the most direct impact on the real-time dispatch and operation control of the power grid.

[0082] In an optional embodiment,

[0083] The historical load sequence is input into the power grid load forecasting model, and the enhanced hidden state is calculated by combining the attention context vector through the long-short time encoder and the long-short time decoder. The enhanced hidden state is passed through the output layer to generate load forecast data, including:

[0084] The historical load sequence is input into the long-short time encoder to obtain the basic hidden state sequence of the encoder;

[0085] For each encoder time step of the long-short time encoder, determine the time step distance between the current time step of the encoder and other time steps of the encoder, calculate the encoder attention score between the current time step of the encoder and other time steps of the encoder based on the current time step base hidden state of the encoder and the base hidden state of other time steps of the encoder, determine the encoder attention weight, determine the current time step context vector of the encoder based on the encoder attention weight and in combination with the base hidden state of other time steps of the encoder, concatenate the current time step context vector of the encoder with the current time step base hidden state of the encoder, and generate the current time step enhanced hidden state of the encoder;

[0086] Determining a decoder basic hidden state sequence of a long short-time decoder based on the encoder basic hidden state sequence;

[0087] For each decoder time step of the long and short-time decoder, based on the decoder basic hidden state and the encoder enhanced hidden state, the decoder attention score between the decoder basic hidden state and the encoder enhanced hidden state is calculated respectively to obtain the decoder attention weight, and the decoder context vector of the corresponding time step is calculated in combination with the encoder enhanced hidden state, and the decoder context vector is concatenated with the decoder basic hidden state to obtain the decoder enhanced hidden state, and the prediction result corresponding to the next time step is generated through the final output layer to obtain the load prediction data.

[0088] Exemplarily, firstly, according to the historical composite data, a codec LSTM model based on the time-aware self-attention mechanism is trained. Specifically, the historical load data is divided into a training set, a validation set, and a test set, and the ratio may be 8:1:1. The load data is preprocessed, such as normalization, detrending, etc., to improve the training effect of the model;

[0089] External factors such as weather conditions and holiday information are encoded as feature vectors and input into the model together with load data.

[0090] The encoder LSTM is designed to take the historical load sequence and external factor features as input, learn the high-level representation of the load data, introduce the time-aware self-attention mechanism at each time step of the encoder, calculate the attention weights between different time steps, and generate an enhanced hidden state representation.

[0091] The decoder LSTM is designed to take the encoder output and the decoder hidden state of the current time step as input, and generate future load forecast values ​​through the attention mechanism.

[0092] In an optional embodiment,

[0093] Also includes:

[0094] The execution steps of the long-short time encoder are as follows:

[0095] ;

[0096] Among them, e ij represents the attention score between time step i and time step j, v T represents the transpose of the encoder weight vector, W q represents the encoder query weight matrix, h i represents the base hidden state of the encoder at time step i, W k represents the encoder key weight matrix, h jrepresents the base hidden state of the encoder at time step j, W d represents the encoder distance weight matrix, |ij| represents the distance between time step i and time step j, b represents the encoder bias vector, α ij represents the attention weight between time step i and time step j, S represents the total number of time steps, s represents a time step in S, and e is represents the attention score between time step i and time step s, c i represents the context vector at encoder time step i, represents the enhanced hidden state of the encoder at time step i;

[0097] The execution steps of the long and short time decoder are as follows:

[0098] ;

[0099] Among them, e ti represents the attention score between decoder time step t and encoder time step i, v d T represents the transpose of the decoder weight vector, W ds Represents the transformation weight matrix of the decoder hidden state, m t represents the base hidden state of the decoder at time step t, W dh represents the transformation weight matrix of the encoder enhanced hidden state, b d represents the decoder bias vector, α ti represents the attention weight between decoder time step t and encoder time step i, e ts represents the attention score between the decoder time step t and the encoder time step s, c t represents the context vector at decoder time step t, represents the augmented hidden state of the decoder at time step t.

[0100] Exemplarily, the encoder-decoder LSTM model is trained using the training set data, and the model parameters are optimized to minimize the prediction error. During the training process, the performance indicators on the validation set (such as mean absolute error MAE, root mean square error RMSE, etc.) are monitored to detect overfitting and adjust hyperparameters in a timely manner. An early stopping strategy is adopted. When the performance indicators on the validation set do not improve for several consecutive times, the training is stopped to prevent overfitting.

[0101] Evaluate the trained model on the test set and calculate various performance metrics such as MAE, RMSE, mean absolute percentage error MAPE, etc. Compare the results of the time-aware self-attention mechanism with other baseline models such as traditional encoder-decoder LSTM, time series regression models, etc.

[0102] The encoder first converts the historical load data sequence {x 1 , x 2 , ..., x T} is input into the encoder LSTM to obtain the encoder hidden state sequence {h 1 ,h 2 , ..., h T}, where h t represents the hidden state at the tth time step;

[0103] For each time step, calculate the time-aware self-attention weights between it and other time steps;

[0104] According to the attention weight , calculate the self-attention at each time step, concatenate the self-attention context vector with the original hidden state to obtain the enhanced encoder hidden state representation.

[0105] At each time step of the decoder, according to the current decoder hidden state and the enhanced hidden state sequence of the encoder , calculate the attention weight between the decoder and the encoder;

[0106] According to the attention weight, the attention context vector of the decoder at the tth time step is calculated, the attention context vector ct is concatenated with the current decoder hidden state to obtain the enhanced decoder hidden state representation, the enhanced decoder hidden state is input to the next time step of the decoder LSTM, and the predicted value is generated according to the output layer.

[0107] Optionally, the encoder-decoder LSTM model is trained end-to-end using mean squared error (MSE) or mean absolute error (MAE) as the loss function.

[0108] During the training process, the model parameters are updated through the back-propagation algorithm and gradient descent optimization methods (such as Adam), including the LSTM parameters of the encoder and decoder, the parameters of the attention mechanism, etc. Early stopping and learning rate scheduling strategies can be used to prevent overfitting and accelerate convergence.

[0109] In the prediction phase, given an input historical load sequence, it is fed into the trained encoder-decoder LSTM model.

[0110] In the encoder part, the enhanced hidden state representation is calculated through the time-aware self-attention mechanism. In the decoder part, the prediction value is generated through the attention mechanism based on the encoder output and the current decoder hidden state.

[0111] Generate multi-step forecasts recursively until the forecast time horizon is reached.

[0112] In this embodiment, by using an encoder-decoder architecture, the encoder encodes the historical load sequence into a hidden state sequence, and the decoder uses the encoder's hidden state sequence to generate future load forecast values. By introducing the attention mechanism in both the encoder and the decoder, the long-term dependencies between different time steps of the input sequence can be better captured. This solution can better capture the long-term dependencies of sequence data, overcoming the performance degradation problem of conventional RNN / LSTM in long sequence scenarios. The attention mechanism gives the model the ability to "pay attention", enabling it to adaptively assign different weights to different input features, thereby improving the accuracy of the prediction. The integration of time distance features can better learn the time pattern and periodicity of sequence data. Compared with general time series models, this model is more flexible and versatile, and can be widely used in time series prediction tasks such as load forecasting and traffic forecasting.

[0113] S102. Input the load forecast data into the unit scheduling algorithm to obtain the optimal start and stop state combination of the generator set and determine the peak-shaving plan of the generator set, wherein the unit scheduling algorithm initializes the start and stop state combination and calculates the total cost of the start and stop state combination, combines the must-start combination setting, and satisfies the unit output constraint at the same time, and undergoes cross-iteration until a preset number of iterations is reached, and selects the start and stop state combination with the lowest total cost.

[0114] Among them, the start / stop state combination refers to the start / stop state arrangement of a group of generator sets within a given time range (usually one day or one week). Each unit has two states of start or stop in each time period. The combination of the start and stop states of different units in different time periods constitutes an start and stop state scheme. Each generator set has its own maximum output and minimum output limits. These constraints need to be met when scheduling the units, that is, the output of each unit is within its maximum / minimum range.

[0115] In an optional embodiment,

[0116] The unit scheduling algorithm initializes the start-stop state combination, calculates the total cost of the start-stop state combination, combines the must-start combination setting, and satisfies the unit output constraint. After cross iteration, until the preset number of iterations is reached, the start-stop state combination with the lowest total cost is selected, including:

[0117] Based on the total number of units, determine the individual dimensions and start cyclically generating individuals;

[0118] For each dimension of the individual, the start and stop states are randomly determined, a combination of the start and stop states is constructed, the corresponding individual is generated, and the constraint conditions of the individual are verified. If the individual satisfies the constraint conditions, the individual is accepted; otherwise, the individual is abandoned and a new individual is generated;

[0119] All the accepted individuals form the initial population of the unit scheduling algorithm, and the population diversity index is calculated;

[0120] Based on the number of iterations, a dynamic scaling factor is determined; based on three pre-set mutation strategies, three corresponding mutation vectors are generated in combination with the dynamic scaling factor; based on the population diversity index, the selection probability of the three mutation vectors is determined; based on the selection probability, a mutation execution strategy is determined to perform a mutation operation;

[0121] The individuals are sorted using Euclidean distance, excellent individuals are extracted according to a preset number, a dynamic crossover probability is determined based on a population diversity index, and each dimension of the individual is determined to be inherited from a corresponding individual variation result or other excellent individuals according to the dynamic crossover probability, to generate a crossover operation result;

[0122] Compare the original individuals with the individuals after the mutation crossover operation, select individuals with higher fitness, build a new generation of population, and iterate in sequence until the preset number of iterations is reached to obtain the individuals with the lowest total cost.

[0123] For example, firstly input system parameters such as load demand, network loss, and spare capacity demand; input unit parameters such as consumption characteristic coefficient, output upper and lower limits, ramp rate, and start-stop cost of each unit;

[0124] Determine the dimensions of the individual according to the number of units. Each dimension represents the start and stop status of a unit, represented by a 0-1 variable. For each dimension, a value is randomly selected from the set {0, 1} with medium probability as the start and stop status of the unit. After repeating the preset number of times, a complete start and stop status individual of the unit is formed;

[0125] Check whether the individual meets the system constraints, including load balance constraints, spare capacity constraints, upper and lower limits of unit output, etc. If satisfied, accept the individual; otherwise, repeat this step to regenerate.

[0126] Repeat the above steps until several individuals that meet the constraints are generated to form a complete initial population.

[0127] In an optional embodiment,

[0128] The mutation operation includes:

[0129] The dynamic scaling factor is formulated as follows:

[0130] ;

[0131] Where x represents the current iteration number, F(x) represents the dynamic scaling factor in the current iteration, and F min Indicates the minimum value of the scaling factor, F max Indicates the maximum value of the scaling factor, λ F represents the factor that controls the rate of change of the scaling factor, and X represents the maximum number of iterations;

[0132] The three mutation strategies include: random strategy, best individual strategy, and from current to best strategy, generating corresponding mutation vectors, and the formula is as follows:

[0133] ;

[0134] Among them, v k represents the mutation vector of individual k, n r1 、n r2 、n r3 represents three different individuals randomly selected, n best represents the optimal individual, n k represents individual k.

[0135] Exemplarily, the median of the Euclidean distance between individuals in the population is used as a diversity indicator to determine a dynamic scaling factor F, wherein the F value gradually decreases as the number of iterations increases;

[0136] Generate three mutation vectors according to the three mutation strategies, and determine the selection probability of the three mutation strategies according to the population diversity index;

[0137] According to the selection probability, determine the mutation execution strategy for this iteration, perform mutation operation, use Euclidean distance to sort the individuals in the current population, extract excellent individuals according to the preset number, and determine the crossover probability Cr of this iteration according to the diversity index. According to Cr, for each dimension of the individual, it is inherited from the mutated individual with a certain probability, otherwise it is inherited from other excellent individuals to generate the crossover operation result; compare the fitness (total cost) of the original individual and the individual after the crossover, and select the better one to build a new generation of population;

[0138] Repeat the above steps until the maximum number of iterations is reached, and output the individual with the lowest total cost in the population as the optimal solution.

[0139] In an optional embodiment,

[0140] The crossover operation includes:

[0141] The dynamic crossover probability is formulated as follows:

[0142] ;

[0143] Among them, CR(x) represents the dynamic crossover probability in the current iteration, and CR min represents the minimum value of the value range of the crossover probability, and CR max represents the maximum value of the value range of the crossover probability, and λ CR represents the factor controlling the change rate of the crossover probability, D represents the population diversity index of the current population, and D 0 represents the population diversity index of the initial population;

[0144] According to the dynamic crossover probability, determine that each dimension of the individual inherits from the corresponding individual mutation result or other excellent individuals, and generate the crossover operation result. The formula is as follows:

[0145] ;

[0146] Among them, u kl represents the l-th dimension component of the result vector of individual k after the crossover operation, v kl represents the l-th dimension component of the mutation vector of individual k, l rand represents the randomly generated dimension index, n db,l represents the l-th dimension component of the individual with index b sorted by Euclidean distance.

[0147] Exemplarily, input the current population diversity index D, the initial population diversity index D0, the crossover probability range CR min and CR max , the crossover probability change factor λ CR , and calculate CR(x) using the given formula;

[0148] Traverse each dimension l of individual u k , generate a random number rand. If rand < CR(x), let u kl = v kl (individual k inherits from its mutation vector in dimension l); otherwise, randomly select another excellent individual n db sorted by Euclidean distance, and let u kl = n db,l (individual k inherits from this excellent individual in dimension l);

[0149] Repeat the above steps until the crossover operation of all current individuals is completed, and then use the crossover operation result as the new generation population for subsequent operations.

[0150] In this embodiment, through various evolutionary operations such as population initialization, mutation, and crossover, the algorithm can perform efficient global search in the solution space, avoid falling into local optimality, and thus improve the quality of the solution. At the same time, strategies such as constraint processing and adaptive parameter adjustment enhance the robustness of the algorithm. Through operations such as individual coding and mutation crossover, the solution space is efficiently explored, which is suitable for processing such high-dimensional combinatorial optimization problems. By introducing the idea of ​​adaptive adjustment, parameters such as crossover probability and mutation strategy will be dynamically adjusted according to real-time states such as population diversity, thereby improving the algorithm's adaptability and universal application. By designing a special constraint verification and processing mechanism, a series of complex constraints such as the must-start unit and unit output can be accurately met to ensure the feasibility of the solution result.

[0151] S103. Based on the peak-shaving scheme of the generator set, the auxiliary equipment coordination algorithm is used to determine the optimal strategy for the coordination of the auxiliary equipment, and combined with the peak-shaving scheme of the generator set, a comprehensive peak-shaving optimization result is obtained, wherein the auxiliary equipment coordination algorithm models the auxiliary equipment, and determines the optimal control sequence through rolling optimization combined with feedback correction.

[0152] Among them, the coal mill and the primary air system are the two major auxiliary systems of the coal-fired unit, and their dynamic characteristics directly affect the load regulation performance of the main unit. The coal mill is a key equipment for coal powder preparation and transportation. Its dynamic response is relatively slow and it is difficult to adapt to the requirements of rapid load changes. The primary air system includes induced draft fans and forced draft fans, which are responsible for the supply of combustion air required for boiler combustion and have an important impact on the combustion stability and thermal performance of the boiler.

[0153] In an optional embodiment,

[0154] The auxiliary equipment coordination algorithm models the auxiliary equipment and determines the optimal control sequence through rolling optimization combined with feedback correction, including:

[0155] The auxiliary equipment includes a coal mill and a primary air system;

[0156] Based on the energy balance principle, a coal mill differential equation is constructed; at the same time, by establishing dynamic models of the induced draft fan and the forced draft fan, a state space expression of the primary air system is constructed, and based on the coal mill differential equation and the state space expression of the primary air system, the dynamic characteristics of the auxiliary equipment are determined;

[0157] Based on the dynamic characteristics, determining state variables, defining fuzzy rules for the state variables, and obtaining a predicted value of the auxiliary device coordination algorithm by weighted summing outputs of all the fuzzy rules;

[0158] According to the preset time span, at each sampling moment, based on the predicted value, by minimizing the performance indicator function, an instantaneous optimal control sequence is obtained, the first element of the instantaneous optimal control sequence is retained, the remaining elements are discarded, and rolling iterations are performed in sequence to obtain the optimal control sequence;

[0159] At each sampling moment, the actual output and the predicted output are compared to determine an error signal, and based on the error signal, the optimal control sequence is calibrated and optimized to obtain a final optimal control sequence.

[0160] Exemplarily, auxiliary equipment modeling and coal mill modeling are first performed, and based on the energy balance principle, a coal mill dynamics differential equation is constructed, and the differential equation is discretized to obtain a state space model of the coal mill;

[0161] The primary air system is modeled by establishing the dynamic models of the induced draft fan and the forced draft fan. These sub-models are coupled to obtain the overall state space model of the primary air system to obtain the overall auxiliary equipment dynamic model.

[0162] Determine the state variable vector (such as coal powder concentration at the pulverizer outlet, primary air volume, etc.), define a fuzzy rule base for each state variable, obtain the predicted value of the state variable at the next moment through fuzzy reasoning calculation, iterate according to the sampling time step, and build a prediction model;

[0163] Given a prediction model, constraints, and performance indicator functions (such as minimizing energy consumption, etc.), at each sampling moment, based on the current measurement state, an optimization algorithm (such as sequential quadratic programming, etc.) is used to solve the instantaneous optimal control sequence. Only the first control quantity of the optimal sequence is executed, and the rest are discarded. The time is advanced by one step, and the above optimization is repeated. It is iterated in sequence to obtain the optimal control sequence of the entire time domain.

[0164] At each sampling moment, the difference between the actual measured output and the model predicted output is compared as an error signal. Based on the error signal, the previous optimal control sequence is corrected to obtain the final optimal control sequence after correction and optimization.

[0165] Finally, the final control sequence is executed to achieve optimal coordinated control of auxiliary equipment.

[0166] In this embodiment, by integrating multiple auxiliary equipment such as coal mill and primary air system into modeling, and obtaining the optimal coordinated control sequence through rolling optimization, it is beneficial to achieve good dynamic coordination between different equipment, thereby improving the overall control performance and improving the boiler combustion efficiency. By setting the performance index function to economic goals such as minimizing energy consumption, the optimization algorithm can automatically solve the optimal control sequence that meets the constraints, realize the economic and efficient operation of the auxiliary equipment, and reduce the operating cost. By integrating the mechanism model and data-driven modeling, the nonlinear, coupling and time-varying dynamic characteristics of the auxiliary equipment that change with the working conditions can be better described, which is conducive to more accurate control. Rolling optimization ensures the open-loop optimality based on model prediction, while feedback correction performs closed-loop compensation for the model prediction error. The combination of the two makes the control system have strong robustness. It can better suppress the influence of system disturbances and parameter changes, improve the stability margin of the control loop, and thus improve the operating stability and reliability of the auxiliary equipment. By adopting adaptive fuzzy modeling and optimization strategies, it has a wide range of applications and can adapt to the coordinated control requirements of different complex working conditions of boilers.

[0167] In an optional embodiment,

[0168] The auxiliary equipment coordination algorithm includes:

[0169] The prediction value of the auxiliary equipment coordination algorithm is as follows:

[0170] ;

[0171] Among them, ti represents the time ti, sp represents the time span, B'(ti+sp|ti) represents the prediction of the output at the future ti+sp time based on the time ti, p represents the fuzzy rule index, P represents the total number of fuzzy rules, μ p (·) represents the activation degree of the pth fuzzy rule, A(ti) represents the system state at time ti, γ pT represents the transpose of the parameter vector associated with the pth rule, A'(ti+sp|ti) represents the prediction of the system state at the future time ti+sp based on the time ti, and b p represents the bias term of the pth rule;

[0172] The performance indicator function is minimized, and its formula is as follows:

[0173] ;

[0174] Among them, J represents the performance indicator function value, Pre represents the total time range of prediction, G(ti+sp) represents the corresponding value of the preset reference trajectory, Q represents the first weight matrix, Con represents the total time range of control, ΔH(ti+sp) represents the corresponding change of control input, and R represents the second weight matrix.

[0175] For example, a coal mill differential equation is constructed, dynamic models of induced draft fans and forced draft fans are established, and the overall dynamic model of auxiliary equipment is obtained through integration;

[0176] Select key state variables, such as coal powder concentration, air volume, etc., define a fuzzy rule base for each state variable, and at time ti, based on the current state A(ti), combine the existing fuzzy rules and use the given formula to calculate the predicted output B'(ti+sp|ti) at time ti+sp;

[0177] Set the tracking error weight matrix Q and the control increment weight matrix R, and construct the performance index function J according to the given formula;

[0178] Given the prediction model, constraints and performance indicator function J, at each sampling time ti, based on the current measurement state, the optimization algorithm (such as sequential quadratic programming, etc.) is used to solve the optimal control sequence from ti to ti+Pre, and only the first control increment ΔH(ti) of the optimal sequence from ti to ti+Con is executed, and the time advances by one step, and the above optimization is repeated;

[0179] At each sampling moment, the difference between the actual measured output and the model predicted output is calculated as the error. Based on the accumulated error, the previous optimal control sequence is corrected to obtain the final optimal control sequence after feedback correction. The optimal control sequence is executed to achieve optimal coordinated control of the auxiliary equipment.

[0180] In this embodiment, by integrating the modeling and coordinated optimization of equipment such as coal mills and wind systems, good dynamic matching can be achieved between different equipment, improving the overall control performance and improving the combustion efficiency of the boiler. By taking economic goals such as minimizing energy consumption as the optimization target of the performance indicator function, the optimal control sequence that meets the constraints can be automatically obtained, and the economical and energy-saving operation of the auxiliary equipment can be achieved. Rolling optimization ensures the open-loop optimality based on model prediction, while feedback correction plays a closed-loop compensation role for model uncertainty, enhancing the robustness of the control system. The adaptive modeling and optimization strategy has a wide range of applications and can adapt to the control requirements of complex and changeable boiler conditions. By introducing intelligent technologies such as fuzzy reasoning and optimization solution, the intelligent and automated optimization of the auxiliary equipment control system is realized, reducing the burden of manual intervention.

[0181] Figure 2 FIG. 1 is a schematic diagram of a peak load optimization system for a coal-fired power plant based on a control algorithm according to an embodiment of the present invention. Figure 2 As shown, the system comprises:

[0182] The first unit is used to obtain historical load data and external influencing factors of the power plant, determine the historical load sequence, input the historical load sequence into the power grid load forecasting model, calculate the enhanced hidden state through the long-short time encoder and the long-short time decoder, combined with the attention context vector, and the enhanced hidden state is passed through the output layer to generate load forecast data;

[0183] The second unit is used to input the load forecast data into the unit scheduling algorithm, obtain the optimal start-stop state combination of the generator set, and determine the peak load regulation plan of the generator set, wherein the unit scheduling algorithm initializes the start-stop state combination, calculates the total cost of the start-stop state combination, combines the must-start combination setting, and satisfies the unit output constraint at the same time, and cross-iterates until a preset number of iterations is reached, and selects the start-stop state combination with the lowest total cost;

[0184] The third unit is used to determine the optimal strategy for auxiliary equipment coordination based on the peak-shaving plan of the generator set through an auxiliary equipment coordination algorithm, and obtain a comprehensive peak-shaving optimization result in combination with the peak-shaving plan of the generator set, wherein the auxiliary equipment coordination algorithm models the auxiliary equipment and determines the optimal control sequence through rolling optimization combined with feedback correction.

[0185] According to a third aspect of the embodiments of the present invention,

[0186] An electronic device is provided, comprising:

[0187] processor;

[0188] a memory for storing processor-executable instructions;

[0189] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.

[0190] The present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.

[0191] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. Peak load optimization method of coal-fired power plants based on control algorithm, It is characterized in that include: Obtain historical load data and external influencing factors of the power plant, determine the historical load sequence, input the historical load sequence into the power grid load forecasting model, calculate the enhanced hidden state through the long-short time encoder and the long-short time decoder, combined with the attention context vector, and generate load forecast data through the output layer; The load forecast data is input into the unit scheduling algorithm to obtain the optimal start-stop state combination of the generator set and determine the peak load regulation plan of the generator set, wherein the unit scheduling algorithm initializes the start-stop state combination, calculates the total cost of the start-stop state combination, combines the must-start combination setting, and satisfies the unit output constraint at the same time, and cross-iterates until a preset number of iterations is reached, and selects the start-stop state combination with the lowest total cost; Based on the peak-shaving scheme of the generator set, the auxiliary equipment coordination optimal strategy is determined through the auxiliary equipment coordination algorithm, and the peak-shaving comprehensive optimization result is obtained in combination with the peak-shaving scheme of the generator set, wherein the auxiliary equipment coordination algorithm models the auxiliary equipment, and determines the optimal control sequence through rolling optimization combined with feedback correction; The historical load sequence is input into the power grid load forecasting model, and the enhanced hidden state is calculated by combining the attention context vector through the long-short time encoder and the long-short time decoder. The enhanced hidden state is passed through the output layer to generate load forecast data, including: The historical load sequence is input into the long-short time encoder to obtain the basic hidden state sequence of the encoder; For each encoder time step of the long-short time encoder, determine the time step distance between the current time step of the encoder and other time steps of the encoder, calculate the encoder attention score between the current time step of the encoder and other time steps of the encoder based on the current time step base hidden state of the encoder and the base hidden state of other time steps of the encoder, determine the encoder attention weight, determine the current time step context vector of the encoder based on the encoder attention weight and in combination with the base hidden state of other time steps of the encoder, concatenate the current time step context vector of the encoder with the current time step base hidden state of the encoder, and generate the current time step enhanced hidden state of the encoder; Determining a decoder basic hidden state sequence of a long short-time decoder based on the encoder basic hidden state sequence; For each decoder time step of the long and short time decoder, based on the decoder basic hidden state and the encoder enhanced hidden state, respectively calculate the decoder attention score between the decoder basic hidden state and the encoder enhanced hidden state to obtain the decoder attention weight, combine the encoder enhanced hidden state, calculate the decoder context vector of the corresponding time step, concatenate the decoder context vector with the decoder basic hidden state to obtain the decoder enhanced hidden state, generate the prediction result corresponding to the next time step through the final output layer, and obtain the load prediction data; Also includes: The execution steps of the long-short time encoder are as follows: ; in, e ij Represents the time step i and time step j The attention score between v T represents the transpose of the encoder weight vector, W q represents the encoder query weight matrix, h i represents the encoder time step i The base hidden state of W k represents the encoder key weight matrix, h j represents the encoder time step j The base hidden state of W d represents the encoder distance weight matrix, | i - j | represents the time step i and time step j The distance between b represents the encoder bias vector, α ij Represents the time step i and time step j The attention weights between S represents the total number of time steps, s express S A time step in e is Represents the time step i and time step s The attention score between c i represents the encoder time step i The context vector of represents the encoder time step i The enhanced hidden state of The execution steps of the long and short time decoder are as follows: ; in, e ti represents the decoder time step t and encoder time step i The attention score between v d T represents the transpose of the decoder weight vector, W ds The transformation weight matrix representing the decoder hidden state, m t represents the decoder time step t The base hidden state of W dh represents the transformation weight matrix of the encoder enhanced hidden state, b d represents the decoder bias vector, α ti represents the decoder time step t and encoder time step i The attention weights between e ts represents the decoder time step t and encoder time step s The attention score between c t represents the decoder time step t The context vector of represents the decoder time step t The enhanced hidden state of The auxiliary equipment coordination algorithm models the auxiliary equipment and determines the optimal control sequence through rolling optimization combined with feedback correction, including: The auxiliary equipment includes a coal mill and a primary air system; Based on the energy balance principle, a coal mill differential equation is constructed; at the same time, by establishing dynamic models of the induced draft fan and the forced draft fan, a state space expression of the primary air system is constructed, and based on the coal mill differential equation and the state space expression of the primary air system, the dynamic characteristics of the auxiliary equipment are determined; Based on the dynamic characteristics, determining state variables, defining fuzzy rules for the state variables, and obtaining a predicted value of the auxiliary device coordination algorithm by weighted summing outputs of all the fuzzy rules; According to the preset time span, at each sampling moment, based on the predicted value, by minimizing the performance indicator function, an instantaneous optimal control sequence is obtained, the first element of the instantaneous optimal control sequence is retained, the remaining elements are discarded, and rolling iterations are performed in sequence to obtain the optimal control sequence; At each sampling moment, the actual output and the predicted output are compared to determine an error signal, and based on the error signal, the optimal control sequence is calibrated and optimized to obtain a final optimal control sequence; The auxiliary equipment coordination algorithm includes: The prediction value of the auxiliary equipment coordination algorithm is as follows: ; in, ti Indicates time ti , sp Indicates the time span, B' ( ti+sp | ti) Indicates at time ti Predict the future based on ti+sp The prediction of the output at time p represents the fuzzy rule index, P represents the total number of fuzzy rules, μ p (·) indicates the p The activation degree of the fuzzy rules, A ( ti ) indicates time ti The system status, γ pT Indicates p The transpose of the parameter vector associated with each rule, A '( ti+sp|ti) Indicates at time ti Predict the future based on ti+sp Prediction of the system state at time b p Indicates p The bias term of the rule; The performance indicator function is minimized, and its formula is as follows: ; in, J represents the performance indicator function value, Pre represents the total time range of the forecast, G ( ti+sp ) represents the preset reference trajectory corresponding value, Q represents the first weight matrix, Con Indicates the total time range of control, Δ H ( ti+sp ) represents the change corresponding to the control input, and R represents the second weight matrix.

2. The method according to claim 1, It is characterized in that The unit scheduling algorithm initializes the start-stop state combination, calculates the total cost of the start-stop state combination, combines the must-start combination setting, and satisfies the unit output constraint. After cross iteration, until the preset number of iterations is reached, the start-stop state combination with the lowest total cost is selected, including: Based on the total number of units, determine the individual dimensions and start cyclically generating individuals; For each dimension of the individual, the start and stop states are randomly determined, a combination of the start and stop states is constructed, the corresponding individual is generated, and the constraint conditions of the individual are verified. If the individual satisfies the constraint conditions, the individual is accepted; otherwise, the individual is abandoned and a new individual is generated; All the accepted individuals form the initial population of the unit scheduling algorithm, and the population diversity index is calculated; Based on the number of iterations, a dynamic scaling factor is determined; based on three pre-set mutation strategies, three corresponding mutation vectors are generated in combination with the dynamic scaling factor; based on the population diversity index, the selection probability of the three mutation vectors is determined; based on the selection probability, a mutation execution strategy is determined to perform a mutation operation; The individuals are sorted using Euclidean distance, excellent individuals are extracted according to a preset number, a dynamic crossover probability is determined based on a population diversity index, and each dimension of the individual is determined to be inherited from a corresponding individual variation result or other excellent individuals according to the dynamic crossover probability, to generate a crossover operation result; Compare the original individuals with the individuals after the mutation crossover operation, select individuals with higher fitness, build a new generation of population, and iterate in sequence until the preset number of iterations is reached to obtain the individuals with the lowest total cost.

3. The method according to claim 2, It is characterized in that The mutation operation includes: The dynamic scaling factor is formulated as follows: ; in, x Indicates the current iteration number, F ( x ) represents the dynamic scaling factor in the current iteration, F min Indicates the minimum value of the scaling factor range. F max Indicates the maximum value of the scaling factor range. λ F represents the factor that controls the rate of change of the scaling factor, X Indicates the maximum number of iterations; The three mutation strategies include: random strategy, best individual strategy, and from current to best strategy, generating corresponding mutation vectors, and the formula is as follows: ; in, v k Represents an individual k The mutation vector of n r1 , n r2 , n r3 represents three different individuals selected randomly, n best represents the optimal individual, n k Represents an individual k .

4. The method according to claim 2, It is characterized in that The crossover operation includes: The dynamic crossover probability is formulated as follows: ; in, CR ( x ) represents the dynamic crossover probability in the current iteration, CR min Indicates the minimum value of the crossover probability range, CR max Indicates the maximum value of the crossover probability range, λ CR represents the factor that controls the rate of change of the crossover probability, D represents the population diversity index of the current population, D 0 represents the population diversity index of the initial population; According to the dynamic crossover probability, it is determined that each dimension of the individual is inherited from the corresponding individual variation result or other excellent individuals, and the crossover operation result is generated. The formula is as follows: ; in, u kl Represents an individual k The result vector after the crossover operation l Dimensional components, v kl Represents an individual k The variation vector of l Dimensional components, l rand represents a randomly generated dimension index, n db,l The index sorted by Euclidean distance is b individual l Dimensional components.

5. A coal-fired power plant peak-shaving optimization system based on a control algorithm, used to implement the coal-fired power plant peak-shaving optimization method based on a control algorithm as described in any one of claims 1 to 4, It is characterized in that include: The first unit is used to obtain historical load data and external influencing factors of the power plant, determine the historical load sequence, input the historical load sequence into the power grid load forecasting model, calculate the enhanced hidden state through the long-short time encoder and the long-short time decoder, combined with the attention context vector, and the enhanced hidden state is passed through the output layer to generate load forecast data; The second unit is used to input the load forecast data into the unit scheduling algorithm, obtain the optimal start-stop state combination of the generator set, and determine the peak load regulation plan of the generator set, wherein the unit scheduling algorithm initializes the start-stop state combination, calculates the total cost of the start-stop state combination, combines the must-start combination setting, and satisfies the unit output constraint at the same time, and cross-iterates until a preset number of iterations is reached, and selects the start-stop state combination with the lowest total cost; The third unit is used to determine the optimal strategy for auxiliary equipment coordination based on the peak-shaving plan of the generator set through an auxiliary equipment coordination algorithm, and obtain a comprehensive peak-shaving optimization result in combination with the peak-shaving plan of the generator set, wherein the auxiliary equipment coordination algorithm models the auxiliary equipment and determines the optimal control sequence through rolling optimization combined with feedback correction.

6. An electronic device, It is characterized in that include: processor; a memory for storing processor-executable instructions; The processor is configured to call the instructions stored in the memory to execute the method described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Generation schedule optimization method taking into consideration thermal power unit-driven coal mill start and stop

    CN104156785A

  • Intelligent power plant coal-fired generator set short-term load prediction method based on RF-DTW

    CN113837459A