Coal-fired power plant unit operation energy consumption allocation method and system

By constructing energy consumption prediction models and optimization algorithms, combined with energy balance equations, the problem of inaccurate energy consumption allocation in traditional methods is solved, scientific and reasonable allocation of energy consumption of coal-fired power plant units is achieved, and energy utilization efficiency is improved.

CN118410926BActive Publication Date: 2024-09-17HANGZHOU HOLLYSYS AUTOMATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410888014.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-09-17
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

The traditional coal-fired power plant unit energy consumption allocation method cannot accurately reflect factors such as unit operating conditions, efficiency, and coal quality, resulting in large differences between the energy consumption allocation results and the actual situation, making it difficult to achieve scientific and reasonable energy consumption assessment.

Method used

By obtaining the influencing factors of energy consumption, constructing interactive features and exponential features, establishing an energy consumption prediction model, combining optimization algorithms and energy balance equations, calculating equipment energy loss, determining the proportion of equipment energy consumption, and optimizing the energy consumption allocation plan through differential evolution algorithms .

Benefits of technology

It achieves more accurate energy consumption prediction and optimization, reduces system energy consumption, improves energy utilization efficiency, and takes into account practical constraints such as equipment performance degradation, making the solution more reliable and practical.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118410926B
    Figure CN118410926B
Patent Text Reader

Abstract

The present invention provides a method and system for distributing the operating energy consumption of a coal-fired power plant unit, which relates to the technical field of energy consumption distribution, including obtaining energy consumption influencing factors and constructing interactive features based on the energy consumption influencing factors, calculating exponential features and synthesizing them, and then determining the posterior distribution through the likelihood function and the prior distribution to obtain an energy consumption prediction model, and finally obtaining the predicted energy consumption, and then further constructing the optimization target and setting the corresponding constraints and decision variables, and determining the initial iteration point through sequential quadratic programming, and then combining the line search strategy to update the iteration point and determine the operating energy consumption optimization plan. Based on the operating energy consumption optimization plan, an energy balance equation is constructed, combined with the equipment performance degradation factor, the energy loss corresponding to different equipment in the computer group and an energy consumption distribution model are constructed to determine the equipment energy consumption ratio and generate an initial distribution plan, and the initial distribution plan is optimized through a differential evolution algorithm to obtain an energy consumption distribution plan.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of energy consumption allocation, and in particular to a method and system for allocating energy consumption of units in a coal-fired power plant. Background Art

[0002] Coal-fired power plants are one of the main ways of generating electricity in the world. In the production process of coal-fired power plants, the energy consumption level of the units directly affects the economic benefits of the power plants. Therefore, how to accurately evaluate and allocate the operating energy consumption of the units is of great significance to improving the energy utilization efficiency and economic benefits of power plants.

[0003] The traditional method for allocating energy consumption of units is to allocate according to the proportion of unit capacity. It assumes that the energy consumption of each unit is proportional to its capacity, but ignores the influence of factors such as the unit's operating conditions and efficiency. The allocation results are often quite different from the actual situation. The method of allocating according to the proportion of unit power generation takes into account the actual output of the unit, but does not reflect the differences in factors such as unit efficiency and coal quality, which may cause high-efficiency units to bear too much energy consumption and low-efficiency units to bear too little energy consumption. The method of allocating according to the coal consumption of power supply of the unit comprehensively considers the unit output and coal consumption level, which can reflect the actual energy efficiency of the unit to a certain extent, but for units with the same coal consumption, the energy consumption allocation results are the same, ignoring other operating characteristics of the unit. Energy consumption allocation based on thermodynamic theory. This method uses the principles of energy balance and thermodynamic balance from the perspective of thermodynamic cycle to establish a unit energy consumption allocation model. However, this method usually requires a large amount of measured data and a complex calculation process, and is less practical.

[0004] In general, the traditional unit energy consumption allocation method generally has certain limitations, and it is difficult to accurately and reasonably evaluate the actual energy consumption contribution of each unit. A new scientific and practical unit energy consumption allocation method is urgently needed. Summary of the invention

[0005] The embodiment of the present invention provides a method and system for allocating operating energy consumption of units in a coal-fired power plant, which can at least solve some problems in the prior art.

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

[0007] A method for allocating operating energy consumption of units in a coal-fired power plant is provided, comprising:

[0008] Obtain energy consumption influencing factors, construct interactive features based on the energy consumption influencing factors, calculate and synthesize exponential features corresponding to the interactive features to obtain a synthetic feature vector, determine the posterior distribution through a likelihood function and a prior distribution based on the synthetic feature vector, obtain an energy consumption prediction model, and predict the current sample based on the energy consumption prediction model to obtain predicted energy consumption;

[0009] Based on the predicted energy consumption, an optimization target is constructed and corresponding constraints and decision variables are set. An initial iteration point is determined through sequential quadratic programming. Gradient information of the initial iteration point is calculated through reverse mode automatic differentiation. A quadratic programming subproblem is constructed and solved based on the gradient information. The iteration point is updated in combination with a line search strategy and an operation energy consumption optimization scheme is determined.

[0010] An energy balance equation is constructed based on the operation energy consumption optimization plan. According to the energy balance equation, combined with the equipment performance degradation factor and the energy loss corresponding to different equipment in the computer group, an energy consumption allocation model is constructed based on the energy loss, the equipment energy consumption ratio is determined and an initial allocation plan is generated. The initial allocation plan is optimized by a differential evolution algorithm to obtain an energy consumption allocation plan.

[0011] In an optional embodiment,

[0012] Obtain energy consumption influencing factors, construct interactive features based on the energy consumption influencing factors, calculate and synthesize exponential features corresponding to the interactive features to obtain a synthetic feature vector, determine the posterior distribution through the likelihood function and the prior distribution based on the synthetic feature vector, obtain an energy consumption prediction model, predict the current sample based on the energy consumption prediction model, and obtain the predicted energy consumption, including:

[0013] Obtain energy consumption influencing factors related to unit energy consumption, including load, coal quality and ambient temperature, and construct interactive features by combining the energy consumption influencing factors in pairs;

[0014] For each interactive feature, a normalization operation is performed and a feature index is calculated, a nonlinear transformation is performed based on the feature index to obtain an exponential feature, and the exponential feature is synthesized with the interactive feature to obtain a synthesized feature vector;

[0015] An energy consumption prediction model is constructed based on the synthetic feature vector, wherein the parameters of the energy consumption prediction model obey Gaussian distribution, a regression coefficient is determined based on the Gaussian distribution and a prior distribution corresponding to the regression coefficient is determined, and the posterior distribution of the regression coefficient is determined by likelihood function and Bayesian inference in combination with the prior distribution, and the posterior distribution is converted into a factor decomposition form by variational inference, and the maximum evidence lower bound is determined by the factor decomposition form to obtain the optimal variational parameter, and the energy consumption prediction model is constructed based on the optimal variational parameter;

[0016] The current sample is predicted based on the energy consumption prediction model to obtain the predicted energy consumption.

[0017] In an optional embodiment,

[0018] The current sample is predicted based on the energy consumption prediction model as shown in the following formula:

[0019] ;

[0020] Among them, E[y new |x new , X, Y] means that given a new input x new , under the condition of feature X and target Y, the new output y new , K represents the number of mixed components of the model parameter distribution, k represents the kth mixed component, π k represents the weight of the kth mixture component, p k () indicates the new output y under given conditions new The corresponding probability density function, θ k represents the model parameters, and q() represents the approximate posterior distribution of the model parameters.

[0021] In an optional embodiment,

[0022] Based on the predicted energy consumption, an optimization target is constructed and corresponding constraints and decision variables are set. An initial iteration point is determined by sequential quadratic programming. Gradient information is calculated for the initial iteration point by reverse mode automatic differentiation. A quadratic programming subproblem is constructed and solved based on the gradient information. The iteration point is updated in combination with a line search strategy and an operation energy consumption optimization scheme is determined, including:

[0023] Based on the predicted energy consumption, taking minimizing the actual energy consumption of the system as the optimization goal, setting the constraint conditions corresponding to the optimization goal, setting the corresponding constraint conditions based on the operating parameters of the unit equipment and the power generation demand, and obtaining the input variables, intermediate variables and output variables corresponding to the optimization goal;

[0024] Based on the sequential quadratic programming, the optimization objective is converted into a standard optimization function, based on the standard optimization function, multiple initial points are generated and one is randomly selected as an initial iteration point corresponding to the sequential quadratic programming, for the initial iteration point, the derivatives of the output variable with respect to the intermediate variable are calculated in sequence according to the inverse topological order of the computation graph through reverse mode automatic differentiation, and the derivatives of the output variable with respect to the input variable are cumulatively calculated according to the chain rule;

[0025] Based on the second-order Taylor expansion of the standard optimization function and the constraint conditions, an approximate Hessian matrix is ​​selected and the initial planning parameters corresponding to the approximate Hessian matrix are selected, the number of steps for storing historical information is set, in each iteration, the approximate Hessian matrix is ​​updated according to the current gradient information corresponding to the standard optimization function and the constraint conditions, the quadratic programming subproblem is constructed and solved using a solver to obtain a search direction, based on the search direction, the step size is initialized by an inexact line search, the step size is iteratively reduced in combination with a step size attenuation factor and a preset line search descent condition, the initial iteration point is updated, and the update is repeated until a preset maximum number of iterations is reached to obtain an optimal iteration point;

[0026] Based on the standard optimization function, it is determined whether the optimal iteration point violates the constraint condition, and if not, an operation energy consumption optimization solution corresponding to the optimal iteration point is output.

[0027] In an optional embodiment,

[0028] The line search descent condition is shown in the following formula:

[0029] ;

[0030] Among them, f() represents the standard optimization function, x i represents the current iteration point in the i-th iteration, α i represents the step size determined along the search direction di in the i-th iteration, d i represents the search direction in the i-th iteration, c represents a positive constant between 0 and 1, ▽f() represents the gradient of the standard optimization function at the current iteration point, and T represents the transpose operation.

[0031] In an optional embodiment,

[0032] An energy balance equation is constructed based on the operation energy consumption optimization scheme. According to the energy balance equation, combined with the equipment performance degradation factor and the energy loss corresponding to different equipment in the computer group, an energy consumption allocation model is constructed based on the energy loss, the equipment energy consumption ratio is determined and an initial allocation scheme is generated. The initial allocation scheme is optimized by a differential evolution algorithm, and the energy consumption allocation scheme obtained includes:

[0033] Performing energy balance analysis on the unit based on the pre-acquired operation energy consumption optimization plan, determining the energy balance equation based on the energy flow at the inlet and outlet of each device and the heat exchange between the system and the environment, and calculating the energy loss value corresponding to each device based on the energy balance equation and in combination with the device performance degradation factor;

[0034] Building an energy consumption allocation model based on the energy loss value and determining the energy consumption proportion of each device in the current unit, drawing an energy consumption allocation diagram based on the energy consumption proportion, and obtaining the initial allocation plan;

[0035] Based on the initial allocation scheme, a plurality of individuals with multiple dimensions are randomly generated to obtain an initial population, wherein each individual in the initial population corresponds to an initial allocation scheme;

[0036] For each individual in the initial population, the fitness value is calculated and the initial population is evenly divided into a plurality of sub-populations, in each sub-population, a random tree structure is constructed, and based on the tree structure, the root nodes are randomly connected in each sub-population to obtain a tree topology structure;

[0037] For each subpopulation, traverse each individual and randomly select three different individuals in the neighborhood of the current individual to perform mutation operations to obtain mutant individuals, cross the current individual with the mutant individuals to obtain experimental individuals, calculate the fitness of the experimental individual and the current individual, if the fitness of the experimental individual is greater and the experimental individual meets the constraints, then use the experimental individual to replace the current individual, and repeat the operation until all individuals in all subpopulations are updated;

[0038] After every five updates, the tree topology corresponding to the current subpopulation is abandoned and regenerated, and the update is repeated until the preset maximum number of updates is reached. The fitness of individuals in each subpopulation after the last update is calculated, and the individual with the maximum fitness is selected as the output of the optimal energy consumption allocation plan.

[0039] In an optional embodiment,

[0040] Based on the energy loss value, an energy consumption allocation model is constructed and the energy consumption proportion of each device in the current unit is determined as shown in the following formula:

[0041] ;

[0042] Among them, η m represents the energy consumption proportion of the mth device, β m represents the performance degradation factor of the mth device, L m It represents the basic energy loss of the mth device, and M represents the total number of devices in the unit.

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

[0044] Provided is a coal-fired power plant unit operation energy consumption distribution system, comprising:

[0045] The first unit is used to obtain energy consumption influencing factors, construct interactive features based on the energy consumption influencing factors, calculate and synthesize exponential features corresponding to the interactive features to obtain a synthetic feature vector, determine a posterior distribution through a likelihood function and a prior distribution based on the synthetic feature vector, obtain an energy consumption prediction model, and predict the current sample based on the energy consumption prediction model to obtain predicted energy consumption;

[0046] The second unit is used to construct an optimization target and set corresponding constraints and decision variables based on the predicted energy consumption, determine the initial iteration point through sequential quadratic programming, calculate the gradient information of the initial iteration point through reverse mode automatic differentiation, construct and solve the quadratic programming subproblem based on the gradient information, update the iteration point in combination with the line search strategy and determine the operation energy consumption optimization plan;

[0047] The third unit is used to construct an energy balance equation based on the operating energy consumption optimization plan, and according to the energy balance equation, combined with the equipment performance degradation factor, the energy loss corresponding to different equipment in the computer group, an energy consumption allocation model is constructed based on the energy loss, the equipment energy consumption ratio is determined and an initial allocation plan is generated, and the initial allocation plan is optimized by a differential evolution algorithm to obtain an energy consumption allocation plan.

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

[0049] An electronic device is provided, comprising:

[0050] processor;

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

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

[0053] According to a fourth aspect of the embodiments of the present invention,

[0054] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.

[0055] By organically combining machine learning and optimization algorithms, excellent energy consumption prediction and optimization capabilities can be demonstrated. By constructing high-order interactive features and nonlinear exponential features of energy consumption influencing factors, the complex relationship between influencing factors can be fully explored, thereby improving the accuracy of the prediction model established based on the Bayesian method. Combining accurate prediction models with optimization algorithms, operating energy consumption and energy consumption distribution can be optimized based on predicted values, reducing system energy consumption as a whole and achieving efficient use of energy.

[0056] At the same time, this embodiment also reflects strong practicality and scalability in design. Actual constraints such as equipment performance degradation are taken into account during the optimization process, making the obtained optimization solution more reliable and practical. The entire method process is complete, including multiple links such as feature construction, predictive modeling, operation optimization and allocation optimization, which can provide an end-to-end intelligent energy consumption management solution. At the same time, the machine learning model and optimization algorithm in this method can be adjusted and replaced according to actual needs. It has good versatility and flexibility and can be applied to energy consumption optimization problems in different fields. This innovative method has broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 It is a flow chart of the method for distributing energy consumption of coal-fired power plant units according to an embodiment of the present invention;

[0058] Figure 2 This is a structural schematic diagram of an energy consumption distribution system for coal-fired power plant units according to an embodiment of the present invention; DETAILED DESCRIPTION

[0059] 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.

[0060] 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.

[0061] Figure 1 FIG. 1 is a flow chart of a method for distributing energy consumption of coal-fired power plant units according to an embodiment of the present invention. Figure 1 As shown, the method includes:

[0062] S101. Obtain energy consumption influencing factors, construct interactive features based on the energy consumption influencing factors, calculate and synthesize exponential features corresponding to the interactive features to obtain a synthetic feature vector, determine the posterior distribution through the likelihood function and the prior distribution based on the synthetic feature vector, obtain an energy consumption prediction model, and predict the current sample based on the energy consumption prediction model to obtain predicted energy consumption;

[0063] The energy consumption influencing factors refer to various relevant factors that affect the energy consumption of a system or equipment, including equipment operating parameters, environmental conditions, raw material properties, process conditions, time factors, equipment geometric dimensions and other possible factors.

[0064] The interactive features refer to combining the original influencing factors to construct new composite features. The higher the order of the interactive features, the more complex the interaction pattern of the influencing factors that can be learned, but it may also introduce too much noise. It is necessary to balance accuracy and complexity. Reasonable use of interactive features is one of the effective means to improve the performance of machine learning models.

[0065] In this embodiment, energy consumption influencing factors are obtained, interaction features are constructed based on the energy consumption influencing factors, exponential features corresponding to the interaction features are calculated and synthesized to obtain a synthetic feature vector, and based on the synthetic feature vector, a posterior distribution is determined by a likelihood function and a prior distribution to obtain an energy consumption prediction model, and a current sample is predicted based on the energy consumption prediction model to obtain the predicted energy consumption, including:

[0066] Obtain energy consumption influencing factors related to unit energy consumption, including load, coal quality and ambient temperature, and construct interactive features by combining the energy consumption influencing factors in pairs;

[0067] For each interactive feature, a normalization operation is performed and a feature index is calculated, a nonlinear transformation is performed based on the feature index to obtain an exponential feature, and the exponential feature is synthesized with the interactive feature to obtain a synthesized feature vector;

[0068] An energy consumption prediction model is constructed based on the synthetic feature vector, wherein the parameters of the energy consumption prediction model obey Gaussian distribution, a regression coefficient is determined based on the Gaussian distribution and a prior distribution corresponding to the regression coefficient is determined, and the posterior distribution of the regression coefficient is determined by likelihood function and Bayesian inference in combination with the prior distribution, and the posterior distribution is converted into a factor decomposition form by variational inference, and the maximum evidence lower bound is determined by the factor decomposition form to obtain the optimal variational parameter, and the energy consumption prediction model is constructed based on the optimal variational parameter;

[0069] The Gaussian distribution, also known as the normal distribution, is one of the most common and important continuous probability distributions in probability theory and statistics. The probability density function of the one-dimensional Gaussian distribution is: f(x) = (1 / sqrt(2πσ^2)) * exp(-(x-μ)^2 / (2σ^2)); where x is a random variable, μ is the mean (used to control the position of the distribution on the number axis), σ is the standard deviation (used to control the width of the distribution), π (pi) is approximately equal to 3.14159, which is a constant, and e is approximately equal to 2.71828, which is the base of the natural logarithm, also a constant. 1 / sqrt(2πσ^2) is the leading coefficient term of the probability density function, which ensures that the integral of the probability density function on the entire real axis is 1. exp(-(x-μ)^2 / (2σ^2)) is the core part of the Gaussian distribution, which calculates the probability density value at x.

[0070] The Gaussian distribution is a hinge-bell-shaped distribution curve, which is symmetrical on the left and right. No matter what values ​​μ and σ take, the curve is always unbounded and asymptotic to the x-axis. The mean μ is the center and peak of the distribution. About 68.3% of the data falls in the interval μ±σ, about 95.5% of the data falls in the interval μ±2σ, and about 99.7% of the data falls in the interval μ±3σ. The multidimensional Gaussian distribution can be constructed by a linear combination of multiple one-dimensional normal distributions and is widely used in machine learning, signal processing and other fields.

[0071] The likelihood function is an important concept in probability theory and statistics. Given a probability model, its probability density function or probability mass function depends on one or more unknown parameters. When some data are observed, the likelihood function is used to measure how likely these parameters are. The likelihood function describes the likelihood of different parameter values ​​under the current observed data. The larger the parameter value, the greater the likelihood of the observed data. By maximizing the likelihood function, the maximum likelihood estimate of the parameter can be obtained.

[0072] The Bayesian inference is an important reasoning method in probability theory and statistics. It infers the parameters of the probability model according to the Bayesian formula. A method of correcting the original probability after observing new evidence. The mathematical expression of the Bayesian formula is: P(A|B) = (P(B|A) * P(A)) / P(B); where P(A|B) is read as "the conditional probability of A occurring after B is known to have occurred", which is called the posterior probability of A, P(B|A) is "the conditional probability of B occurring after A is known to have occurred", which is called the likelihood probability, P(A) is the prior probability of A, and P(B) is the total probability of B. The Bayesian formula explains how to combine the prior probability (our original grasp of A) with the new evidence (observed B) to derive the posterior probability of A. It combines the prior probability P(A) with the impact of the new evidence P(B|A) and normalizes it, that is, divides it by P(B), ensuring that the sum of the probabilities of all results is 1.

[0073] The main influencing factors related to the unit energy consumption are obtained, including load, coal quality (such as calorific value, ash content, etc.) and ambient temperature. For the above influencing factors, interactive features are constructed in pairs, such as load coal calorific value, load ambient temperature, etc. The index of each normalized interactive feature is calculated, and the interaction term of "load×ambient temperature" is constructed to reflect the regulating effect of ambient temperature on load energy consumption, the interaction term of "load×coal quality" is constructed to reflect the influence of coal quality on load energy consumption, and the interaction term of "ambient temperature×coal quality" is constructed to reflect the joint effect of ambient temperature and coal quality.

[0074] The nonlinear transformation of the index includes the following operations: square, cube and other high-order transformations of the load, introducing nonlinear features such as "load square" and "load cube"; exponential transformation of the ambient temperature, introducing nonlinear features such as "exp(temperature)"; logarithmic transformation of coal quality indicators, introducing nonlinear features such as "log(calorific value)" and "log(volatile matter)". The corresponding exponential features are obtained through transformation, and then the interactive features are synthesized with the corresponding exponential features to construct a synthetic feature vector.

[0075] The exponential feature refers to the exponential transformation of the original feature to generate a new feature vector. For the influencing factor of ambient temperature, an exponential feature such as "exp(temperature)" can be introduced to normalize the original ambient temperature feature and map it to the interval [0, 1], which is recorded as , calculate the exponential characteristic of the ambient temperature , combining the original ambient temperature feature and the exponential feature into a new feature vector ,By introducing exponential features, the nonlinear relationship between ambient temperature and ,energy consumption can be characterized, such as the exponential growth trend of energy ,consumption as temperature increases.

[0076] Based on the synthetic feature vector, the energy consumption prediction model is constructed. First, the model parameters (regression coefficients) are assumed to obey the Gaussian distribution, and their prior distribution is determined. Then, the posterior distribution of the regression coefficients is determined through the likelihood function and Bayesian inference. The posterior distribution is subjected to variational inference and converted into a factor decomposition form to obtain the optimal variational parameters. Then, based on the optimal variational parameters, the final energy consumption prediction model is constructed.

[0077] Based on the energy consumption prediction model, a formula is used to predict the current sample to obtain a predicted energy consumption value.

[0078] This method performs feature engineering, Bayesian model construction and prediction, which is conducive to understanding and reproducing the algorithm. The construction of interactive features and exponential features can capture the high-order relationship between influencing factors, and variational inference can effectively fit parameter distribution, thereby improving prediction accuracy.

[0079] S102. Based on the predicted energy consumption, an optimization target is constructed and corresponding constraints and decision variables are set. An initial iteration point is determined through sequential quadratic programming. Gradient information of the initial iteration point is calculated through reverse mode automatic differentiation. A quadratic programming subproblem is constructed and solved based on the gradient information. The iteration point is updated in combination with a line search strategy and an operation energy consumption optimization scheme is determined.

[0080] The combined line search strategy updates the iteration point and determines the operation energy consumption optimization scheme including:

[0081] Based on the predicted energy consumption, taking minimizing the actual energy consumption of the system as the optimization goal, setting the constraint conditions corresponding to the optimization goal, setting the corresponding constraint conditions based on the operating parameters of the unit equipment and the power generation demand, and obtaining the input variables, intermediate variables and output variables corresponding to the optimization goal;

[0082] Based on the sequential quadratic programming, the optimization objective is converted into a standard optimization function, based on the standard optimization function, multiple initial points are generated and one is randomly selected as an initial iteration point corresponding to the sequential quadratic programming, for the initial iteration point, the derivatives of the output variable with respect to the intermediate variable are calculated in sequence according to the inverse topological order of the computation graph through reverse mode automatic differentiation, and the derivatives of the output variable with respect to the input variable are cumulatively calculated according to the chain rule;

[0083] Based on the second-order Taylor expansion of the standard optimization function and the constraint conditions, an approximate Hessian matrix is ​​selected and the initial planning parameters corresponding to the approximate Hessian matrix are selected, the number of steps for storing historical information is set, in each iteration, the approximate Hessian matrix is ​​updated according to the current gradient information corresponding to the standard optimization function and the constraint conditions, the quadratic programming subproblem is constructed and solved using a solver to obtain a search direction, based on the search direction, the step size is initialized by an inexact line search, the step size is iteratively reduced in combination with a step size attenuation factor and a preset line search descent condition, the initial iteration point is updated, and the update is repeated until a preset maximum number of iterations is reached to obtain an optimal iteration point;

[0084] Based on the standard optimization function, it is determined whether the optimal iteration point violates the constraint condition, and if not, an operation energy consumption optimization solution corresponding to the optimal iteration point is output.

[0085] When constructing the optimization objectives and constraints, the optimization objective is to minimize the actual energy consumption of the system and set the constraints corresponding to the optimization objectives. The corresponding constraints are set based on the operating parameters of the unit equipment and the power generation demand, and the input variables, intermediate variables and output variables corresponding to the optimization objectives are obtained. Based on sequential quadratic programming, the optimization objective is converted into a standard optimization function, multiple initial points are generated, and one is randomly selected as the initial iteration point.

[0086] For the initial iteration point, the gradient is calculated by reverse mode automatic differentiation. The derivatives of the output with respect to the intermediate variables are calculated in turn according to the inverse topological order of the computational graph, and the derivatives of the output with respect to the input variables are cumulatively calculated according to the chain rule. Based on the second-order Taylor expansion and constraints of the standard optimization function, the approximate Hessian matrix is ​​selected and the initial planning parameters are selected, and the number of steps for storing historical information is set.

[0087] The reverse mode automatic differentiation is a technique for efficiently calculating derivatives. It is often used in fields such as machine learning and optimization that require a large amount of gradient information. It uses the structured information of the computational graph to systematically calculate the derivatives of composite functions through the chain rule. No matter how high the function input dimension is, the computational overhead is independent of the input dimension, but only related to the number of nodes and edges in the computational graph. Therefore, for high-dimensional inputs, the reverse mode is much more efficient and can accurately and efficiently obtain high-order derivatives.

[0088] The reverse topological order is a node traversal order for a directed acyclic graph (DAG). In a directed acyclic graph, if there is a path from node A to node B, we call A the predecessor node of B, and B the successor node of A. The reverse topological order can be generated in the following way: count and find all nodes with an in-degree of 0, record the set of nodes with an in-degree of 0 as S, add all nodes in S to the reverse topological sequence one by one, reduce the in-degree of the successor node of each node A in S by 1, and then add all nodes with new in-degrees of 0 to S, repeat the above steps until all nodes are traversed, and the sequence obtained in this way is a reverse topological order of the directed acyclic graph. Due to the characteristics of the directed acyclic graph, there is at least one such linear ordering.

[0089] The approximate Hessian matrix is ​​a technique for approximating the second-order derivative matrix (i.e., the Hessian matrix) of the target function, which is commonly used in optimization algorithms. In optimization problems, the Hessian matrix gives the curvature information of the target function at the current point, which can better determine the direction of descent, thereby accelerating convergence. However, directly calculating the Hessian matrix is ​​usually very time-consuming, especially for large-scale optimization problems, while the approximate Hessian matrix has low computational overhead and low storage requirements, but may lose some precision. It is necessary to weigh accuracy and efficiency during algorithm design and select a suitable approximation method. In the fields of high-dimensional problems and machine learning, the approximate Hessian matrix technology has been widely used.

[0090] In each iteration, the approximate Hessian matrix is ​​updated according to the current gradient and the quadratic programming subproblem is constructed. Then, the solver is used to solve the problem and obtain the search direction. Based on the search direction, the step size is initialized by inexact line search, the step size attenuation factor and line search descent condition are set, the step size is iteratively reduced, the initial iteration point is updated, and the update is repeated until the maximum number of iterations is reached to obtain the optimal iteration point. Based on the standard optimization function, it is determined whether the optimal iteration point violates the constraints. If not, the corresponding operation energy consumption optimization plan is output.

[0091] In this embodiment, the predicted energy consumption is taken as the optimization goal, and the process of solving the operation energy consumption optimization plan is solved through techniques such as sequential quadratic programming, automatic differentiation, quadratic programming sub-problem solving and line search strategy. Specific implementation details are given for each sub-step, which helps to understand and reproduce the entire optimization process.

[0092] S103. Construct an energy balance equation based on the operation energy consumption optimization plan. According to the energy balance equation, combined with the equipment performance degradation factor, the energy loss corresponding to different equipment in the computer group, construct an energy consumption allocation model based on the energy loss, determine the equipment energy consumption ratio and generate an initial allocation plan. Optimize the initial allocation plan through a differential evolution algorithm to obtain an energy consumption allocation plan.

[0093] The energy consumption allocation scheme includes:

[0094] Performing energy balance analysis on the unit based on the pre-acquired operation energy consumption optimization plan, determining the energy balance equation based on the energy flow at the inlet and outlet of each device and the heat exchange between the system and the environment, and calculating the energy loss value corresponding to each device based on the energy balance equation and in combination with the device performance degradation factor;

[0095] Building an energy consumption allocation model based on the energy loss value and determining the energy consumption proportion of each device in the current unit, drawing an energy consumption allocation diagram based on the energy consumption proportion, and obtaining the initial allocation plan;

[0096] Based on the initial allocation scheme, a plurality of individuals with multiple dimensions are randomly generated to obtain an initial population, wherein each individual in the initial population corresponds to an initial allocation scheme;

[0097] For each individual in the initial population, the fitness value is calculated and the initial population is evenly divided into a plurality of sub-populations, in each sub-population, a random tree structure is constructed, and based on the tree structure, the root nodes are randomly connected in each sub-population to obtain a tree topology structure;

[0098] For each subpopulation, traverse each individual and randomly select three different individuals in the neighborhood of the current individual to perform mutation operations to obtain mutant individuals, cross the current individual with the mutant individuals to obtain experimental individuals, calculate the fitness of the experimental individual and the current individual, if the fitness of the experimental individual is greater and the experimental individual meets the constraints, then use the experimental individual to replace the current individual, and repeat the operation until all individuals in all subpopulations are updated;

[0099] After every five updates, the tree topology corresponding to the current subpopulation is abandoned and regenerated, and the update is repeated until the preset maximum number of updates is reached. The fitness of individuals in each subpopulation after the last update is calculated, and the individual with the maximum fitness is selected as the output of the optimal energy consumption allocation plan.

[0100] The tree topology is a way to organize the neighborhood relationships between individuals (solutions) into a tree structure. In the differential evolution algorithm, in order to enable individuals in the population to better explore the solution space, it is necessary to design a reasonable neighborhood structure to determine which other individuals each individual can perform mutation operations with.

[0101] In this embodiment, the energy balance equation of the unit system is established by first performing an energy balance analysis on the unit system according to a predetermined operation energy consumption optimization scheme. Assume that the energy flows at the inlet and outlet of each device in the unit system are E in,i and E out,i , the heat exchange between the system and the environment is Q, and the effective output power of each device is W i , then the energy balance equation of the unit system can be expressed as:

[0102] ;

[0103] Where n represents the number of devices and the subscript i represents the i-th device in the system.

[0104] According to the energy balance equation, calculate the energy loss of each device. The energy loss of each device L i It can be expressed as:

[0105] ;

[0106] For boilers, their energy losses mainly include flue gas heat loss, incomplete combustion heat loss, heat dissipation loss, etc.; for steam turbines, their energy losses mainly include exhaust loss, steam leakage loss, radiation loss, etc.; for condensers, their energy losses mainly include the heat carried away by cooling water.

[0107] Introducing equipment performance degradation factor, as the unit operation time increases, equipment performance will gradually degrade, resulting in increased energy loss. In order to quantify the impact of equipment performance degradation on energy consumption, the equipment performance degradation factor is introduced. The equipment performance degradation factor can be determined by comparing the performance parameters of the equipment at different operating periods (such as boiler efficiency, turbine efficiency, etc.). After the performance degradation factor is introduced, the energy loss of the equipment can be expressed as:

[0108] ;

[0109] According to the energy balance equation and equipment energy loss, the unit energy consumption distribution model can be established:

[0110] ;

[0111] Among them, E coal is the total coal energy consumed by the unit. The energy loss of each device L i Divided by the total energy of coal combustion Ecoal , we can get the energy consumption ratio of each device η i :

[0112] ;

[0113] According to the proportion of equipment energy consumption η i , draw the energy consumption distribution diagram of the unit, and intuitively display the energy consumption proportion of each device. Analyze the equipment with high energy consumption, focus on energy-saving diagnosis and optimization, and generate an energy consumption distribution plan.

[0114] In this embodiment, the energy consumption allocation scheme is optimized using a differential evolution algorithm with optimized tree topology. The traditional differential evolution algorithm adopts a global population structure, and individuals are fully connected, which is susceptible to premature convergence. The introduction of a tree topology can balance the exploration and utilization capabilities of the algorithm and improve the diversity and convergence speed of the population.

[0115] Based on the initial allocation plan, multiple individuals with multiple dimensions are randomly generated. These individuals constitute the initial population and each individual corresponds to an energy consumption allocation plan. The fitness value of each individual in the initial population needs to be calculated and the initial population is evenly divided into K subpopulations {S1, S2, ..., SK}. The size of each subpopulation is NP / K. In each subpopulation, an individual is randomly selected as the root node and the remaining individuals are leaf nodes. The root nodes are randomly connected between adjacent subpopulations to form a tree topology structure of the entire population.

[0116] For each subpopulation SK, traverse the fitness value of each individual and randomly select three different individuals to perform mutation operations to generate mutant individuals. Then perform crossover operations on individuals and mutant individuals to generate experimental individuals, and evaluate the objective function value and constraints of the experimental individuals. If the objective function value is better than the individual fitness value and meets the constraints, the individual fitness value is replaced by the objective function value. Repeat the above process until all individuals in all subpopulations have been updated once. After every 5 updates, abandon the current tree topology and regenerate it. Repeat the above update process until the set maximum number of updates is reached.

[0117] In order to promote information exchange between different sub-populations, the tree topology of the entire population is regenerated every certain evolutionary generations. This can break the original sub-population isolation, introduce new individual interactions, and improve population diversity. After the evolution is completed, the optimal energy consumption allocation plan in the population is output.

[0118] Based on the method of thermal system analysis, the energy balance equation of the unit is established. Taking into account the factors of equipment performance degradation, the energy consumption proportion of each component of the unit can be quantified, the weak links of energy consumption can be identified, and guidance can be provided for energy-saving transformation. This method fully considers the thermodynamic characteristics of the unit system and the laws of equipment performance degradation, and has a strong theoretical basis and engineering applicability.

[0119] Figure 2 FIG. 1 is a schematic diagram of a structure of an energy consumption distribution system for a coal-fired power plant unit according to an embodiment of the present invention. Figure 2 As shown, the system comprises:

[0120] The first unit is used to obtain energy consumption influencing factors, construct interactive features based on the energy consumption influencing factors, calculate and synthesize exponential features corresponding to the interactive features to obtain a synthetic feature vector, determine a posterior distribution through a likelihood function and a prior distribution based on the synthetic feature vector, obtain an energy consumption prediction model, and predict the current sample based on the energy consumption prediction model to obtain predicted energy consumption;

[0121] The second unit is used to construct an optimization target and set corresponding constraints and decision variables based on the predicted energy consumption, determine the initial iteration point through sequential quadratic programming, calculate the gradient information of the initial iteration point through reverse mode automatic differentiation, construct and solve the quadratic programming subproblem based on the gradient information, update the iteration point in combination with the line search strategy and determine the operation energy consumption optimization plan;

[0122] The third unit is used to construct an energy balance equation based on the operating energy consumption optimization plan, and according to the energy balance equation, combined with the equipment performance degradation factor, the energy loss corresponding to different equipment in the computer group, an energy consumption allocation model is constructed based on the energy loss, the equipment energy consumption ratio is determined and an initial allocation plan is generated, and the initial allocation plan is optimized by a differential evolution algorithm to obtain an energy consumption allocation plan.

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

[0124] An electronic device is provided, comprising:

[0125] processor;

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

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

[0128] According to a fourth aspect of the embodiments of the present invention,

[0129] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.

[0130] 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.

[0131] 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. A method for allocating operating energy consumption of coal-fired power plant units, characterized in that: include: Obtain energy consumption influencing factors, construct interactive features based on the energy consumption influencing factors, calculate and synthesize exponential features corresponding to the interactive features to obtain a synthetic feature vector, determine the posterior distribution through a likelihood function and a prior distribution based on the synthetic feature vector, obtain an energy consumption prediction model, and predict the current sample based on the energy consumption prediction model to obtain predicted energy consumption; Based on the predicted energy consumption, an optimization target is constructed and corresponding constraints and decision variables are set. An initial iteration point is determined through sequential quadratic programming. Gradient information of the initial iteration point is calculated through reverse mode automatic differentiation. A quadratic programming subproblem is constructed and solved based on the gradient information. The iteration point is updated in combination with a line search strategy and an operation energy consumption optimization scheme is determined. An energy balance equation is constructed based on the operation energy consumption optimization scheme. According to the energy balance equation, combined with the equipment performance degradation factor and the energy loss corresponding to different equipment in the computer group, an energy consumption allocation model is constructed based on the energy loss, the equipment energy consumption ratio is determined and an initial allocation scheme is generated. The initial allocation scheme is optimized by a differential evolution algorithm to obtain an energy consumption allocation scheme. Obtain energy consumption influencing factors, construct interactive features based on the energy consumption influencing factors, calculate and synthesize exponential features corresponding to the interactive features to obtain a synthetic feature vector, determine the posterior distribution through the likelihood function and the prior distribution based on the synthetic feature vector, obtain an energy consumption prediction model, predict the current sample based on the energy consumption prediction model, and obtain the predicted energy consumption, including: Obtain energy consumption influencing factors related to unit energy consumption, including load, coal quality and ambient temperature, and construct interactive features by combining the energy consumption influencing factors in pairs; For each interactive feature, a normalization operation is performed and a feature index is calculated, a nonlinear transformation is performed based on the feature index to obtain an exponential feature, and the exponential feature is synthesized with the interactive feature to obtain a synthesized feature vector; An energy consumption prediction model is constructed based on the synthetic feature vector, wherein the parameters of the energy consumption prediction model obey Gaussian distribution, a regression coefficient is determined based on the Gaussian distribution and a prior distribution corresponding to the regression coefficient is determined, and the posterior distribution of the regression coefficient is determined by likelihood function and Bayesian inference in combination with the prior distribution, and the posterior distribution is converted into a factor decomposition form by variational inference, and the maximum evidence lower bound is determined by the factor decomposition form to obtain the optimal variational parameter, and the energy consumption prediction model is constructed based on the optimal variational parameter; Predicting the current sample based on the energy consumption prediction model to obtain the predicted energy consumption; Based on the predicted energy consumption, an optimization target is constructed and corresponding constraints and decision variables are set. An initial iteration point is determined by sequential quadratic programming. Gradient information is calculated for the initial iteration point by reverse mode automatic differentiation. A quadratic programming subproblem is constructed and solved based on the gradient information. The iteration point is updated in combination with a line search strategy and an operation energy consumption optimization scheme is determined, including: Based on the predicted energy consumption, taking minimizing the actual energy consumption of the system as the optimization goal, setting the constraint conditions corresponding to the optimization goal, setting the corresponding constraint conditions based on the operating parameters of the unit equipment and the power generation demand, and obtaining the input variables, intermediate variables and output variables corresponding to the optimization goal; Based on the sequential quadratic programming, the optimization objective is converted into a standard optimization function, based on the standard optimization function, multiple initial points are generated and one is randomly selected as an initial iteration point corresponding to the sequential quadratic programming, for the initial iteration point, the derivatives of the output variable with respect to the intermediate variable are calculated in sequence according to the inverse topological order of the computation graph through reverse mode automatic differentiation, and the derivatives of the output variable with respect to the input variable are cumulatively calculated according to the chain rule; Based on the second-order Taylor expansion of the standard optimization function and the constraint conditions, an approximate Hessian matrix is ​​selected and the initial planning parameters corresponding to the approximate Hessian matrix are selected, the number of steps for storing historical information is set, in each iteration, the approximate Hessian matrix is ​​updated according to the current gradient information corresponding to the standard optimization function and the constraint conditions, the quadratic programming subproblem is constructed and solved using a solver to obtain a search direction, based on the search direction, the step size is initialized by an inexact line search, the step size is iteratively reduced in combination with a step size attenuation factor and a preset line search descent condition, the initial iteration point is updated, and the update is repeated until a preset maximum number of iterations is reached to obtain an optimal iteration point; Determine whether the optimal iteration point violates the constraint condition based on the standard optimization function, and if not, output the operation energy consumption optimization solution corresponding to the optimal iteration point; An energy balance equation is constructed based on the operation energy consumption optimization scheme. According to the energy balance equation, combined with the equipment performance degradation factor and the energy loss corresponding to different equipment in the computer group, an energy consumption allocation model is constructed based on the energy loss, the equipment energy consumption ratio is determined and an initial allocation scheme is generated. The initial allocation scheme is optimized by a differential evolution algorithm, and the energy consumption allocation scheme obtained includes: Performing energy balance analysis on the unit based on the pre-acquired operation energy consumption optimization plan, determining the energy balance equation based on the energy flow at the inlet and outlet of each device and the heat exchange between the system and the environment, and calculating the energy loss value corresponding to each device based on the energy balance equation and in combination with the device performance degradation factor; Building an energy consumption allocation model based on the energy loss value and determining the energy consumption proportion of each device in the current unit, drawing an energy consumption allocation diagram based on the energy consumption proportion, and obtaining the initial allocation plan; Based on the initial allocation scheme, a plurality of individuals with multiple dimensions are randomly generated to obtain an initial population, wherein each individual in the initial population corresponds to an initial allocation scheme; For each individual in the initial population, the fitness value is calculated and the initial population is evenly divided into a plurality of sub-populations, in each sub-population, a random tree structure is constructed, and based on the tree structure, the root nodes are randomly connected in each sub-population to obtain a tree topology structure; For each subpopulation, traverse each individual and randomly select three different individuals in the neighborhood of the current individual to perform mutation operations to obtain mutant individuals, cross the current individual with the mutant individuals to obtain experimental individuals, calculate the fitness of the experimental individual and the current individual, if the fitness of the experimental individual is greater and the experimental individual meets the constraints, then use the experimental individual to replace the current individual, and repeat the operation until all individuals in all subpopulations are updated; After every five updates, the tree topology corresponding to the current subpopulation is abandoned and regenerated, and the update is repeated until the preset maximum number of updates is reached. The fitness of individuals in each subpopulation after the last update is calculated, and the individual with the maximum fitness is selected as the output of the optimal energy consumption allocation plan.

2. The method according to claim 1, characterized in that The current sample is predicted based on the energy consumption prediction model as shown in the following formula: ; in, E [ y new | x new , X , Y ] indicates that given a new input x new ,feature X and goals Y Under the condition of y new The expected value of K represents the number of mixture components of the distribution of model parameters, k Indicates k Mixed components, π k Indicates k The weights of the mixture components, p k () Indicates the new output under given conditions y new The corresponding probability density function is, θ k represents the model parameters, q() represents the approximate posterior distribution of the model parameters.

3. The method according to claim 1, characterized in that The line search descent condition is shown in the following formula: ; in, f() represents the standard optimization function, x i Indicates i The current iteration point in the iteration, α i Indicates i In the iteration, along the search direction d i Determine the step size, d i Indicates i The search direction in the iteration, c represents a positive constant between 0 and 1. ▽f () represents the gradient of the standard optimization function at the current iteration point, T Represents a transpose operation.

4. The method according to claim 1, characterized in that: Based on the energy loss value, an energy consumption allocation model is constructed and the energy consumption proportion of each device in the current unit is determined as shown in the following formula: ; in, η m Indicates m Energy consumption of each device β m Indicates m The performance degradation factor of each device, L m Indicates m The basic energy loss of each device, M Indicates the total number of devices in the group.

5. A coal-fired power plant unit operation energy consumption allocation system, used to implement the method described in any one of claims 1 to 4, characterized in that: include: The first unit is used to obtain energy consumption influencing factors, construct interactive features based on the energy consumption influencing factors, calculate and synthesize exponential features corresponding to the interactive features to obtain a synthetic feature vector, determine a posterior distribution through a likelihood function and a prior distribution based on the synthetic feature vector, obtain an energy consumption prediction model, and predict the current sample based on the energy consumption prediction model to obtain predicted energy consumption; The second unit is used to construct an optimization target and set corresponding constraints and decision variables based on the predicted energy consumption, determine the initial iteration point through sequential quadratic programming, calculate the gradient information of the initial iteration point through reverse mode automatic differentiation, construct and solve the quadratic programming subproblem based on the gradient information, update the iteration point in combination with the line search strategy and determine the operation energy consumption optimization plan; The third unit is used to construct an energy balance equation based on the operating energy consumption optimization plan, and according to the energy balance equation, combined with the equipment performance degradation factor, the energy loss corresponding to different equipment in the computer group, an energy consumption allocation model is constructed based on the energy loss, the equipment energy consumption ratio is determined and an initial allocation plan is generated, and the initial allocation plan is optimized by a differential evolution algorithm to obtain an energy consumption allocation plan.

6. An electronic device, 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.

7. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 4 is implemented.