A unit commitment calculation method combined with deep learning

The deep learning method is used to predict the start-up and stop status of the unit and input it into the optimization model, which solves the complexity and time-consuming problem of unit combination and achieves efficient unit combination calculation and real-time decision-making.

CN113408648BActive Publication Date: 2024-08-23NORTH CHINA ELECTRIC POWER UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110770017.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-07
Publication Date
2024-08-23
Estimated Expiration
2041-07-07

AI Technical Summary

Technical Problem

The unit combination problem is a high-dimensional, non-convex, discrete, nonlinear mixed integer optimization problem. The existing methods are complex and time-consuming, making it difficult to find the theoretical optimal solution.

Method used

The deep learning method is used to preprocess and model the historical data, and the LSTM neural network, Dropout layer and fully connected layer are used to build a unit combination optimization model. The start and stop status of the unit is predicted through the deep learning model and input into the optimization model. The optimization goal is The power generation cost of thermal power units is minimal, combined with system constraints.

Benefits of technology

It greatly simplifies the unit combination calculation process, reduces decision-making time, improves calculation accuracy and solution speed, and achieves high efficiency in real-time decision-making.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113408648B
    Figure CN113408648B
Patent Text Reader

Abstract

The present invention provides a unit combination calculation method combined with deep learning. First, a large amount of historical data is preprocessed; then a deep learning model is constructed to obtain the start and stop status of the unit, and the start and stop status of the unit is input into the optimization program to obtain the unit combination plan for the next day. The proposed deep learning model adopts an LSTM neural network, and a mapping relationship is obtained after the model training is completed by learning a large amount of historical data. In real-time decision-making, the trained deep learning model is called to directly obtain the start and stop status of the unit; and the result is substituted into the unit combination optimization program, which reduces the amount of calculation compared with the traditional unit combination model. Experimental results show that the unit combination calculation method disclosed by the present invention can achieve higher calculation accuracy and improve the solution speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of power system dispatching automation, and specifically relates to a unit combination calculation method combined with deep learning. Background Art

[0002] The unit commitment problem is a high-dimensional, non-convex, discrete, nonlinear mixed integer optimization problem. It is an NP-hard problem and it is difficult to find the optimal solution in theory. However, since it can bring significant economic benefits, people have been actively studying and proposing various methods to solve this problem. There are three main methods for solving the unit commitment problem: (1) heuristic algorithms; (2) mathematical optimization methods, such as dynamic programming, interior point method, branch and bound method, etc.; (3) intelligent optimization algorithms, such as genetic algorithms, particle swarm algorithms, etc. These methods are highly theoretical and have rigorous logical deductions, but the solution process is relatively complicated and time-consuming. The data-driven theoretical method can learn the mapping relationship from a large amount of historical data through a deep learning model, which greatly simplifies the solution process. Summary of the invention

[0003] The present invention provides a unit commitment calculation method combined with deep learning, characterized in that it includes the following steps:

[0004] Step 1: Preprocess a large amount of historical data, specifically select the MinMaxScaler method to normalize the historical data, and use the K-means clustering algorithm to divide the historical data;

[0005] The MinMaxScaler normalization method is characterized as shown in formula (1):

[0006]

[0007] In the formula, is the normalized value; X is the data to be processed, that is, the sample data; X max and X min are the maximum and minimum values ​​of the sample data respectively.

[0008] The K-means clustering algorithm is an iterative algorithm that is implemented through the following four steps:

[0009] (1) Select K initial center points as the initial cluster centers a1, a2, ..., a k ;

[0010] (2) Calculate each sample x i The distance to the K cluster centers is calculated and divided into the class with the smallest distance;

[0011] (3) Calculate the mean of all sample points in K categories as the cluster center for the next iteration;

[0012] (4) Repeat steps (2) and (3) until the cluster center no longer changes or the number of iterations is reached;

[0013] Step 2: Build a deep learning model, input the load prediction data, and obtain the start and stop status of the unit. The input of the deep learning model is the load prediction data, and the output is the start and stop status of the unit;

[0014] Step 3: Substitute the predicted data of the start and stop status of the unit and the load into the unit combination optimization model to obtain the unit output value; wherein the unit combination optimization model constructs an objective function with the minimum power generation cost of the thermal power unit as the goal; and takes the system node power balance constraint, the upper and lower limit constraints of the thermal power unit output, the thermal power unit climbing constraint, the thermal power unit start and stop time constraint and the transmission line flow constraint as the constraint conditions.

[0015] Preferably, the deep learning model includes three parts: LSTM neural network layer, Dropout layer, and fully connected layer, the input of which is the predicted data of the load, and the output is the start and stop status of the unit;

[0016] The LSTM neural network layer is a structural model based on the improved RNN, which introduces storage units and gate mechanisms, so that the current moment can use the information in the sentence at the previous moment; the LSTM neural network consists of four parts: the input gate i t , output gate o t 、Forget gate t and memory unit C t ;

[0017] In the Dropout layer, Dropout means randomly disconnecting a certain proportion of neurons each time the parameters are updated during the deep learning training process, thereby reducing the dependence of neurons on certain local features, thereby improving the generalization ability of the model;

[0018] The fully connected layer uses a softmax activation function as a multi-layer perception of the output layer; the fully connected layer means that all neurons in the current layer and the previous layer of the network are interconnected, and the extracted high-dimensional features are reduced in dimension; this layer; is located at the end of the network, the number of units in the last layer is the same as the number of classifications, and is used in conjunction with the softmax activation function to achieve classification of the output features.

[0019] Preferably, the input gate i t , output gate o t 、Forget gate t and memory unit C t

[0020] The forget gate f t Decide whether to keep memory cell C t The output of the previous information is shown in formula (1-1):

[0021] f t =σ(W fh h t-1 +W fx x t +b f ) (1-1),

[0022] In the formula, h t-1 is the output of the hidden layer at time t-1; x t is the input at the current moment; σ is the sigmoid activation function; W fh h is the forget gate t-1 The weight of W fx x is the forget gate t The weight of f is the bias parameter of the forget gate;

[0023] The input gate i t and memory unit C t The state update is shown in equations (1-2), (1-3), and (1-4):

[0024] i t =σ(W ih h t-1 +W ix x t +b i ) (1-2),

[0025]

[0026]

[0027] Where W ih is the input gate h t-1 The weight of W ix is the input gate x t The weight of i is the bias parameter of the input gate; is the state of the memory unit to be updated; tanh is the The activation function W ch for h t-1 The weight of W cx for x t The weight of c for The bias parameter of C t and Ct-1 is the state of the memory unit at time t and t-1;

[0028] When the LSTM neural network layer updates the memory cell C t After that, the specific expression of its output state is shown in formula (1-5) and (1-6):

[0029] o t =σ(W oh h t-1 +W ox x t +b o ) (1-5),

[0030] h t =o t tanh(C t ) (1-6), where W oh h is the output gate t-1 The weight of ox is the output gate x t The weight of o is the bias parameter of the output gate; h t is the output of the hidden layer at the current moment.

[0031] More preferably, the training process of the deep learning model includes:

[0032] The Adam algorithm is used to train the deep model. The training process includes two stages: forward propagation and back propagation. First, in the forward propagation, the product of the input signal and its corresponding weight are calculated. Then, the activation function is applied to the sum of these products to obtain the error between the output result and the true value. Then, in the back propagation process of the network, the relevant error is returned. By calculating the gradient of the loss function for each parameter, the weight W and the bias b are updated according to the gradient descent method, as shown in equations (2) and (3):

[0033]

[0034]

[0035] In the formula, is the learning rate, L(W,b) is the loss function;

[0036] Select the cross entropy error as the loss function, and the calculation formula is shown in formula (4):

[0037]

[0038] In the formula, y i is the actual label of the sample, is the predicted value.

[0039] More preferably, during the training process of the deep learning model, the Adam algorithm is used to adjust the parameters, and the mean square error is selected as the loss function. The calculation formula is shown in formula (5):

[0040]

[0041] In the formula, y i is the true value of the data sample, is the predicted value of the data sample.

[0042] Preferably, the objective function constructed in step 3 with the goal of minimizing the power generation cost of the thermal power unit is represented as shown in formula (6);

[0043]

[0044] The system node power balance constraint, the upper and lower limit constraints of the thermal power unit output, the thermal power unit ramp constraint, the thermal power unit start and stop time constraint and the transmission line power flow constraint are the constraint conditions, which are respectively represented as shown in equations (7)-(11):

[0045]

[0046] u g,t P g,min ≤P g,t ≤u g,t P g,max (8)

[0047]

[0048]

[0049]

[0050] Among them, P g,t For the output of thermal power units, C(P g,t ) represents the coal consumption cost of the unit, C(P g,t ) is a quadratic function and needs to be piecewise linearized; SU it , SD it is the start-up and shutdown cost of the unit; u g,t Indicates the unit operating status. d,t is the system load during period t; P g,max and P g,min are the upper and lower limits of the output of conventional units respectively; x mn is the reactance value of line mn; X on,g,t , X off,g,t Indicates the time the unit has been started and stopped continuously; T on,g, T off,g Indicates the unit startup and shutdown time limit; UR i and DR i For up and down climbing limit; PL l,t is the transmission power of the transmission line; is the maximum active power transmission capacity of the transmission line; θ mt is the phase angle of node m. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 A flow chart of the method provided by the present invention;

[0052] Figure 2 This is the LSTM network structure diagram;

[0053] Figure 3 This is the prediction accuracy diagram of the start and stop status of thermal power units; DETAILED DESCRIPTION

[0054] The present invention provides a unit combination calculation method combined with deep learning, which pre-processes a large amount of historical data, builds a deep learning model to obtain the start and stop status of the unit, and inputs the start and stop status of the unit into the optimization program to obtain the unit combination plan for the next day. The proposed deep learning model adopts an LSTM neural network, which learns a large amount of historical data and obtains a mapping relationship after the model training is completed. In real-time decision-making, the trained deep learning model is called to directly obtain the start and stop status of the unit; and the result is substituted into the unit combination optimization program to obtain the unit output value. Combined with Figure 1 The method flow chart is introduced, including:

[0055] Step 1: Preprocess a large amount of historical data;

[0056] Step 2: Build a deep learning model, input load prediction data, and obtain the start and stop status of the unit;

[0057] Step 3: Substitute the predicted data of the unit start-stop status and load into the unit combination optimization program to obtain the unit output value.

[0058] Wherein, step 1 specifically includes the following sub-steps:

[0059] Sub-step S11: select the MinMaxScaler method to normalize the historical data, as shown in formula (1):

[0060]

[0061] In the formula, is the normalized value; X is the data to be processed; X max and X minare the maximum and minimum values ​​of the sample data respectively;

[0062] Sub-step S12: using the K-means clustering algorithm to divide the historical data. The K-means clustering algorithm is an iterative algorithm, which is implemented by the following four steps:

[0063] (1) Select K initial center points as the initial cluster centers a1, a2, ..., a k ;

[0064] (2) Calculate each sample x i The distance to the K cluster centers is calculated and divided into the class with the smallest distance;

[0065] (3) Calculate the mean of all sample points in K categories as the cluster center for the next iteration;

[0066] (4) Repeat steps (2) and (3) until the cluster center no longer changes or the number of iterations is reached.

[0067] In step 2, the input of the constructed deep learning model is the load prediction data, and the output is the start and stop status of the unit;

[0068] The deep learning model consists of three parts: LSTM layer, Dropout layer, and fully connected layer, as follows:

[0069] ①LSTM layer. RNN is a network model that can obtain previous information and learn. In practice, RNN will have gradient vanishing or gradient exploding problems as time goes by. To solve these problems, some scholars have proposed special recurrent network structures, such as LSTM networks.

[0070] The LSTM network is a structural model based on the improved RNN. The LSTM network introduces storage units and gate mechanisms, so that the current moment can use the information in the sentence at the previous moment. Figure 2 .

[0071] The basic structure of the LSTM network consists of four parts: the input gate i t , output gate o t 、Forget gate t and memory unit C t The forget gate determines whether to retain the previous information of the memory unit. The output of the forget gate is:

[0072] f t =σ(W fh h t-1 +W fx x t +b f ) (1-1)

[0073] In the formula, h t-1 is the output of the hidden layer at time t-1; x t is the input at the current moment; σ is the sigmoid activation function; W fh h is the forget gate t-1 The weight of fx x is the forget gate t The weight of f is the bias parameter of the forget gate.

[0074] The state updates of the input gate and memory unit are shown in equations (1-2), (1-3), and (1-4):

[0075] i t =σ(W ih h t-1 +W ix x t +b i )(1-2),

[0076]

[0077]

[0078] Where W ih is the input gate h t-1 The weight of ix is the input gate x t The weight of i is the bias parameter of the input gate. is the state of the memory unit to be updated; tanh is the The activation function W ch for h t-1 The weight of cx for x t The weight of c for The bias parameter of C t and C t-1 is the state of the memory unit at time t and t-1. Formula (4) shows that the state of the memory unit is controlled by the historical information controlled by the forget gate and the input gate. After the LSTM network updates the memory unit, the specific expression of its output state is shown in equations (1-5) and (1-6):

[0079] o t =σ(W oh h t-1 +W ox x t +b o) (1-5),

[0080] h t =o t tanh(C t ) (1-6), where W oh h is the output gate t-1 The weight of ox is the output gate x t The weight of o is the bias parameter of the output gate. t is the output of the hidden layer at the current moment. Expression (1-5) shows that the output of the LSTM network is determined by the memory unit controlled by the output gate, and the output gate determines the degree of its influence on the result.

[0081] ②Dropout layer. Overfitting is a very common problem in deep learning. Overfitting means that the model can only fit the training data, but cannot fit the data that is not in the training set well, and the generalization ability is poor. For complex network models, the Dropout method is used to prevent overfitting. Dropout means that during the deep learning training process, a certain proportion of neurons are randomly disconnected each time the parameters are updated, which reduces the dependence of neurons on certain local features, thereby improving the generalization ability of the model.

[0082] ③Fully connected layer. The fully connected layer uses the softmax activation function as the multi-layer perception of the output layer. Many other classifiers such as support vector machines also use softmax. "Fully connected" means that all neurons in the current layer and the previous layer of the network are interconnected, and the extracted high-dimensional features are reduced in dimension. This layer is generally located at the end of the network. The number of units in the last layer is the same as the number of classifications, and it is often used in conjunction with the softmax activation function to achieve classification of the output features.

[0083] (2) Training Algorithm

[0084] This patent uses the Adam algorithm to train the network model. The network training process includes two stages: forward propagation and back propagation. First, in the forward propagation, the product of the input signal and its corresponding weight are calculated, and then the activation function is applied to the sum of these products. The output result is an error with the true value. In the back propagation process of the network, the relevant error is transmitted back, and the gradient of the loss function for each parameter is calculated, and the weight W and bias b are updated according to the gradient descent method:

[0085]

[0086]

[0087] In the formula, is the learning rate, and L(W,b) is the loss function.

[0088] Select cross entropy error as the loss function, and the calculation formula is as follows:

[0089]

[0090] In the formula, y i is the actual label of the sample, is the predicted value;

[0091] The mean square error is selected as the loss function, and the calculation formula is shown in formula (5):

[0092]

[0093] In the formula, y i is the true value of the data sample, is the predicted value of the data sample.

[0094] Step 3: Substitute the predicted data of the start-stop status and load of the unit into the unit combination optimization model to obtain the unit output value; the unit combination optimization model constructs an objective function with the minimum power generation cost of the thermal power unit as the goal, which is represented as shown in formula (6):

[0095]

[0096] The constraints are the power balance constraint of the system nodes, the upper and lower limit constraints of the thermal power unit output, the thermal power unit ramp constraint, the thermal power unit start-up and shutdown time constraint, and the transmission line power flow constraint, which are represented as shown in equations (7)-(11):

[0097]

[0098] u g,t P g,min ≤P g,t ≤u g,t P g,max (8)

[0099]

[0100]

[0101]

[0102] Among them, P g,t For the output of thermal power units, C(P g,t ) represents the coal consumption cost of the unit, C(P g,t ) is a quadratic function and needs to be piecewise linearized; SU it , SD itis the start-up and shutdown cost of the unit; u g,t Indicates the unit operating status. d,t is the system load during period t; P g,max and P g,min are the upper and lower limits of the output of conventional units respectively; x mn is the reactance value of line mn; X on,g,t , X off,g,t Indicates the time the unit has been started and stopped continuously; T on,g , T off,g Indicates the unit startup and shutdown time limit; UR i and DR i For up and down climbing limit; PL l,t is the transmission power of the transmission line; is the maximum active power transmission capacity of the transmission line; θ mt is the phase angle of node m.

[0103] Example:

[0104] In order to verify the rationality of the proposed model, the IEEE 30 system is used as an example. The system has 6 conventional units. This paper uses YALMIP and Gurobi-8.0.1 on MATLAB2016a to generate 100 sets of data sets, which are divided into training sets, validation sets and test sets in a ratio of 6:2:2, and python is used to complete the data preprocessing. The model is built, trained and tested under the keras deep learning framework based on the TensorFlow backend. The hardware simulation environment is Intel(R) Core(TM) i7-6700HQ CPU@2.60GHz, and the running memory size is 4GB. The unit combination optimization model is programmed and solved by calling YALMIP and Gurobi-8.0.1 on MATLAB2016a

[0105] Figure 3 This is the accuracy of the output results of the deep learning model. It can be seen that the deep learning model established in this patent can accurately predict the start and stop status of thermal power units.

[0106] Table 1 shows the performance comparison of the two methods:

[0107] Method 1: Use the deep learning model to obtain the start and stop status of the unit, substitute the predicted values ​​of the start and stop status and load into the unit combination optimization model to obtain the unit output value;

[0108] Method 2: According to the load forecast value, run the unit combination optimization program to obtain the unit start and stop status and unit output value.

[0109] Table 1 Performance comparison of the two methods

[0110]

[0111] As can be seen from the table, method 1 has more steps than method 2, but the decision time is shorter. This is because after the model training is completed, the online decision time of the data-driven method will be very short, usually less than 0.1s. When the start and stop status of the unit is obtained, the integer variables are omitted compared to the traditional unit combination model. At this time, the unit combination optimization model will be easier to solve, so the overall decision time is shorter.

[0112] Compared with the prior art, the beneficial effects of the present invention are: in real-time decision-making, the trained deep learning model can be called to directly obtain the start and stop status of the unit; and the result is substituted into the unit combination optimization program, which reduces the amount of calculation compared with the traditional unit combination model. Experimental results show that the unit combination plan obtained according to the proposed model can achieve higher calculation accuracy and improve the solution speed.

[0113] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0114] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0115] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0116] The above are merely embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are included in the scope of the claims of the present invention to be approved.

Claims

1. A unit commitment calculation method combined with deep learning, characterized in that: include The following steps: Step 1: Preprocess a large amount of historical data, specifically select Take the MinMaxScaler method to implement Normalize the historical data and use K-means clustering algorithm to cluster the historical data Divide; the MinMaxScaler normalization method is characterized as follows As shown in formula (1): In the formula, is the normalized value; X is the data to be processed, that is, the sample data; X max and X min are the maximum and minimum values ​​of the sample data respectively. The K-means clustering algorithm is an iterative algorithm that is implemented through the following four steps: (1) Select K initial center points as the initial cluster centers a1, a2, ..., a k ; (2) Calculate each sample x i The distance to the K cluster centers is calculated and divided into the class with the smallest distance; (3) Calculate the mean of all sample points in K categories as the cluster center for the next iteration; (4) Repeat steps (2) and (3) until the cluster center no longer changes or the number of iterations is reached; Step 2: Build a deep learning model, input the load prediction data, and obtain the start and stop status of the unit. The input of the deep learning model is the load prediction data, and the output is the start and stop status of the unit; The training process of a deep learning model includes: The Adam algorithm is used to train the deep model. The training process includes two stages: forward propagation and back propagation. First, in the forward propagation, the product of the input signal and its corresponding weight are calculated. Then, the activation function is applied to the sum of these products to obtain the error between the output result and the true value. Then, in the back propagation process of the network, the relevant error is returned. By calculating the gradient of the loss function for each parameter, the weight W and the bias b are updated according to the gradient descent method, as shown in equations (2) and (3): In the formula, is the learning rate, L(W,b) is the loss function; Select the cross entropy error as the loss function, and the calculation formula is shown in formula (4): In the formula, y i The actual standard of the sample is the predicted value; In the training process of the deep learning model, the Adam algorithm is used to adjust the parameters, and the mean square error is selected as the loss function. The calculation formula is shown in formula (5): In the formula, y i is the true value of the data sample, is the predicted value of the data sample. Step 3: Substitute the predicted data of the start-stop status and load of the unit into the unit combination optimization model to obtain the unit output value; wherein, the unit combination optimization model constructs the objective function with the minimum power generation cost of the thermal power unit as the goal; and takes the system node power balance constraint, The constraints are the upper and lower limits of thermal power unit output, the climbing constraints of thermal power units, the start and stop time constraints of thermal power units, and the power flow constraints of transmission lines.

2. A unit commitment calculation method combined with deep learning as claimed in claim 1, It is characterized in that The deep learning model includes three parts: LSTM neural network layer, Dropout layer, and fully connected layer. Its input is the predicted data of load, and its output is the start and stop status of the unit. The LSTM neural network layer is a structural model based on the improved RNN, which introduces storage units and gate mechanisms, so that the current moment can use the information in the sentence at the previous moment; the LSTM neural network consists of four parts: the input gate i t , output gate o t 、Forget gate t and memory unit C t ; In the Dropout layer, Dropout refers to the process of deep learning training. Each time the parameters are updated, a certain proportion of neurons are randomly disconnected to reduce the dependence of neurons on certain local features, thereby improving the generalization ability of the model; The fully connected layer uses a softmax activation function as a multi-layer perception of the output layer; the fully connected layer means that all neurons in the current layer and the previous layer of the network are interconnected, and the extracted high-dimensional features are reduced in dimension; this layer; is located at the end of the network, the number of units in the last layer is the same as the number of classifications, and is used in conjunction with the softmax activation function to achieve classification of the output features.

3. A unit commitment calculation method combined with deep learning as claimed in claim 2, characterized in that: The input gate i t , output gate o t 、Forget gate t and memory unit C t The forget gate f t Decide whether to keep memory cell C t The output of the previous information is shown in formula (1-1): f t =σ(W fh h t-1 +W fx x t +b f ) (1-1), In the formula, h t-1 is the output of the hidden layer at time t-1; x t is the input at the current moment; σ is the sigmoid activation function; W fh h is the forget gate t-1 The weight of W fx x is the forget gate t The weight of f is the bias parameter of the forget gate; The input gate i t and memory unit C t The state update is shown in equations (1-2), (1-3), and (1-4): i t =σ(W ih h t-1 +W ix x t +b i ) (1-2), Where W ih is the input gate h t-1 The weight of W ix is the input gate x t The weight of i is the bias parameter of the input gate; is the state of the memory unit to be updated; tanh is the The activation function W ch for h t-1 The weight of W cx for x t The weight of c for The bias parameter of C t and C t-1 is the state of the memory unit at time t and t-1; When the LSTM neural network layer updates the memory cell C t After that, the specific expression of its output state is shown in formula (1-5) and (1-6): o t =σ(W oh h t-1 +W ox x t +b o ) (1-5), h t =o t .tanh(C t ) (1-6), Where W oh h is the output gate t-1 The weight of W ox is the output gate x t The weight of o is the bias parameter of the output gate; h t is the output of the hidden layer at the current moment.

4. The unit commitment calculation method combined with deep learning according to claim 1, characterized in that: The objective function constructed in step 3 with the goal of minimizing the power generation cost of the thermal power unit is represented as shown in formula (6); The system node power balance constraint, the upper and lower limit constraints of the thermal power unit output, the thermal power unit climbing constraint, the thermal power unit start and stop time constraint and the transmission line flow constraint are the constraint conditions, which are respectively represented as follows: (11) as shown: u g,t Q g,min ≤P g,t ≤u g,t Q g,max (8), Among them, P g,t For the output of thermal power units, C(P g,t ) represents the coal consumption cost of the unit, C(P g,t ) is a quadratic function and needs to be piecewise linearized; SU it , SD it is the start-up and shutdown cost of the unit; u g,t Indicates the unit operating status. d,t is the system load during period t; P g,max and P g,min are the upper and lower limits of the output of conventional units respectively; x mn is the reactance value of line mn; X on,g,t , X off,g,t Indicates the time the unit has been started and stopped continuously; T on,g , T off,g Indicates the unit startup and shutdown time limit; UR i and DR i For up and down climbing limit; PL l,t is the transmission power of the transmission line; is the maximum active power transmission capacity of the transmission line; θ mt is the phase angle of node m.