A data-driven method for power and electricity balance under multi-dimensional uncertain conditions
Through the data-driven power balance method, combined with fuzzy-C-means clustering and LSTM model, the power balance problem of traditional methods under uncertain forecast data is solved, achieving higher decision-making accuracy and efficiency, adaptability and self-control. Optimization capabilities.
Patent Information
- Application Number
- CN202311373231.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-20
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2043-10-20
AI Technical Summary
Traditional power balance methods driven by physical models are difficult to achieve optimal results in the face of uncertain power generation and load forecast data errors, and the long-term decision-making process is repetitive and lacks adaptability and accuracy.
Using a data-driven method, by establishing the power balance objective function and safety and economic constraints of the power system, combined with the fuzzy-C-means clustering method and the long short-term memory network (LSTM) model, a deep learning model is generated to conduct source-load data analysis. Classify and predict, realize power balance decision-making, and improve decision-making accuracy and efficiency through continuous optimization.
It improves the accuracy and efficiency of power balance decision-making, enhances the adaptability to new problems, reduces decision-making time, and continuously optimizes the model through self-learning and self-evolution characteristics.
Smart Images

Figure CN117574218B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power system dispatching, and in particular relates to a data-driven method for balancing power and quantity under multi-dimensional uncertain conditions. Background Art
[0002] The core link and theoretical basis of power system operation is to solve the problem of power balance. With the rapid development of power systems in recent years, the problems faced are also increasing. On the one hand, new requirements for the refinement level of power grid operation have been put forward and higher standards have been formulated. On the other hand, with the transformation and adjustment of the energy structure, the operation difficulty of the system has also increased accordingly, and the system operation faces more challenges. Distributed power generation such as wind power and photovoltaic power generation has the characteristics of uncertainty and intermittency. The research on how to take into account multidimensional uncertainty factors in the power balance problem after the distributed power generation is connected to the power grid has become a hot topic in this field. Due to the uncertainty of power sources and loads, there will be certain errors in the predicted data. Considering that the traditional physical model-based power balance method has a certain dependence on the predicted data, it will make it difficult to achieve the best effect of power balance. With the rapid development of today's society, the transformation of energy technology has accelerated, and artificial intelligence technology has made great progress. It is of great significance to continuously improve the adaptability and accuracy of power balance decision-making methods. At present, the power system dispatching agency has accumulated a large amount of structured historical data in the long-term dispatching process. The decision of power balance has a certain repeatability in the long run. The future power balance plan can be adjusted according to the decision-making plan accumulated over a long period of time.
[0003] Therefore, it is an urgent problem for technical personnel in this field to propose a data-driven method for balancing power and electricity under multi-dimensional uncertain conditions to solve the difficulties existing in the prior art. Summary of the invention
[0004] Based on the idea of data-driven, the present invention proposes a data-driven method for balancing power and electricity under multi-dimensional uncertain conditions. On the one hand, the method can effectively solve the problem that the traditional method is difficult to achieve the best balancing effect due to the errors in uncertain power generation and load forecasting data. On the other hand, the method can gradually improve the accuracy, efficiency or adaptability of the decision-making model to new problems in the process of long-term continuous accumulation and automatic learning of data.
[0005] In order to achieve the above object, the present invention adopts the following technical solution:
[0006] A data-driven method for balancing power and quantity under multi-dimensional uncertain conditions includes the following steps:
[0007] S1: Establish the power balance objective function of the power system with minimum load limit, minimum power abandonment and minimum economic cost;
[0008] S2: Set the power system security and economic constraints, and build a power balance model driven by the physical model together with the power system power balance objective function;
[0009] S3: Using the historical real source and load data of the regional power grid as the model input of the power balance model driven by the physical model, the actual optimal power balance scheme (U G , P G ), taking the daily source-load forecast data and the daily actual optimal power and electricity balance plan as a mapping sample to generate historical mapping sample data;
[0010] S4: Based on the fuzzy-C means clustering method, the daily historical real source load data is divided into m categories, and the cluster center of each category is determined;
[0011] S5: Build a long short-term memory network LSTM model trained with the algorithm;
[0012] S6: Based on the LSTM model, the source load prediction data of each class is used as input, and the actual optimal decision result corresponding to the source load prediction data in the historical mapping sample data is used as output. The LSTM model is trained to obtain N mapping models that can describe the mapping relationship between the source load prediction data and the actual optimal decision result, that is, N deep learning models of power and electricity balance based on the LSTM model.
[0013] S7: For the new source-load prediction data, first determine the category to which it belongs, and then use the LSTM model corresponding to the category to make a power balance decision;
[0014] S8: Use the new source load data and the corresponding optimal decision model to update the historical mapping sample data, and continuously correct and optimize the LSTM model.
[0015] In the above method, optionally, the objective function expression in S1 is as follows:
[0016]
[0017] Where: N T is the total number of optimization periods; F i G is the running cost function; and are the startup and shutdown costs of thermal power unit i at time t, respectively; is the penalty term for load shedding risk at time t; is the penalty item for the abandoned power of new energy at time t; is the output of the thermal power unit; Δt is the duration of a scheduling cycle; ρ load and ρ ne are the penalty coefficients for load shedding and renewable energy power abandonment respectively; H is the total number of thermal power plants in the grid zone.
[0018] In the above method, optionally, the safety and economic constraints set in S2 specifically include power balance constraints, capacity constraints, transmission capacity constraints between power grid zones, thermal power unit output constraints, and photovoltaic output constraints.
[0019] The above method is optional.
[0020] The power balance constraint is specifically expressed as:
[0021]
[0022] Where: is the output value of the kth thermal power plant in the power grid zone at time t; is the output value of the j-th new energy power station at time t; is the total load power value in the power grid zone; H is the total number of thermal power plants in the power grid zone; M is the number of new energy power stations; is the power value of the interconnection line within the power grid zone;
[0023] The capacity constraint is specifically expressed as:
[0024]
[0025] Where: is the maximum output value of the ith thermal power plant at time t in the power grid zone; is the maximum output value of the j-th photovoltaic power station in the grid zone at time t; is the maximum reserve capacity within the grid zone;
[0026] The transmission capacity constraint between power grid partitions is specifically expressed as:
[0027] P a,min ≤P a t ≤P a,max
[0028] Where: P a,min is the minimum transmission capacity between power grid partitions; P a,max is the minimum transmission capacity between power grid zones;
[0029] The output constraint of the thermal power unit is specifically expressed as:
[0030]
[0031] Where: It is the minimum output of thermal power unit; The maximum output of the thermal power unit;
[0032] The photovoltaic output constraint is specifically expressed as:
[0033]
[0034] Where: It is the minimum output of the photovoltaic power station; It is the maximum output of the photovoltaic power station.
[0035] In the above method, optionally, the specific step S4 includes:
[0036] S401: Select the photovoltaic output data and load data at intervals of 15 minutes every day to form historical source-load data. Given a data set containing n data: X = {x1, x2, ... x i ,...,x n}, X i is the source load data of the ith day; X ij is the jth attribute of the i-th historical real daily source load data; each sample contains 96 attributes;
[0037] S402: The fuzzy-C means clustering algorithm divides the data set into m classes, where m is a positive integer greater than 1, and the cluster centers of the m classes are defined as [v1, v2, …, v k ], initialize the membership matrix U with random numbers between 0 and 1 n×k ,u ij Represents the sample point x i With cluster center v j The membership degree, u ij The value of satisfies the following constraints:
[0038]
[0039] S403: Calculate K cluster centers, where m is the fuzzy index (m>1):
[0040]
[0041] S404: Calculate the value function J(U,V). If it is less than the first preset threshold, or the change in the value function value relative to the last time is less than the second preset threshold, the algorithm stops:
[0042]
[0043] S405: Calculate new Un×k Matrix, return to step S203 and continue iterating:
[0044]
[0045] In the above method, optionally, the Adam algorithm is used for training in S5.
[0046] In the above method, optionally, the specific step S5 includes:
[0047] S501: During the training of the LSTM model, the loss function is defined as:
[0048]
[0049] Among them, y t is the output value of the LSTM model at time t, and q is the length of the time series;
[0050] S502: During the training process, the Adam algorithm is used to correct the weight coefficient and bias parameter of the LSTM model, thereby implementing the training of the model. The specific update formula is:
[0051]
[0052]
[0053] Where W is the weight coefficient matrix between gates in the LSTM model; b is the set of bias parameters in the LSTM model; δ is the learning rate; β1 and β2 are attenuation factors; v t is the weighted biased variance of the gradient; ε is the smoothing parameter.
[0054] In the above method, optionally, the specific step S6 includes:
[0055] S601: Generation of power and quantity balance history mapping samples, which maps a daily source-load forecast data P and the optimal power and quantity balance solution (U G ,P G ) as a mapping sample, where U G is the start-stop plan of the system generator set, P G is the output matrix of the system generator sets;
[0056] S602: According to the clustering results of historical source-load data, similar source-load data and their corresponding optimal decision solutions are classified into the same category, so that the historical mapping sample data is also divided into L categories. Each category of historical source-load data is normalized separately, and the conversion function is as follows:
[0057]
[0058] Where: x jmin is the minimum value of the jth attribute in the historical source load data; x jmax is the maximum value of the jth attribute in the historical source load data;
[0059] S603: Construct a deep learning model for each type of mapping sample data for training, and obtain N deep learning models.
[0060] It can be seen from the above technical solutions that, compared with the prior art, the present invention provides a data-driven method for balancing power and quantity under multi-dimensional uncertain conditions, which has the following beneficial effects:
[0061] (1) Fuzzy-C-means clustering is used to classify source and load data. Each type of source and load data corresponds to a deep learning model, which improves the accuracy of the power balance decision-making plan.
[0062] (2) The actual optimal decision-making solution in the training data set of the deep learning model is obtained through actual source load data. Compared with the traditional decision-making method that relies on predictive data, this method has higher decision-making accuracy.
[0063] (3) For the method in this paper, the training of the mapping model is ongoing. Through the accumulation of historical data, the model can be continuously corrected to improve its decision-making efficiency and accuracy, thereby realizing the self-evolution of the power and electricity balance decision-making model. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0065] Figure 1 A flow chart of a method for balancing electric power under multi-dimensional uncertain conditions based on data-driven disclosed by the present invention;
[0066] Figure 2 This is a flow chart of the power and electricity balancing technology disclosed in the present invention;
[0067] Figure 3 A comparison chart of decision results of different power and quantity balancing methods disclosed in the present invention;
[0068] Figure 4 This is a comparison chart of total costs under different training sample capacities disclosed in the present invention. DETAILED DESCRIPTION
[0069] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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.
[0070] In this application, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, the elements defined by the sentence "comprise one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0071] Reference Figure 1 As shown, a data-driven method for balancing power and electricity under multi-dimensional uncertain conditions includes the following steps:
[0072] S1: Establish the power balance objective function of the power system with minimum load limit, minimum power abandonment and minimum economic cost;
[0073] S2: Set the power system security and economic constraints, and build a power balance model driven by the physical model together with the power system power balance objective function;
[0074] S3: Using the historical real source and load data of the regional power grid as the model input of the power balance model driven by the physical model, the actual optimal power balance scheme (U G , P G ), taking the daily source-load forecast data and the daily actual optimal power and electricity balance plan as a mapping sample to generate historical mapping sample data;
[0075] S4: Based on the fuzzy-C means clustering method, the daily historical real source load data is divided into m categories, and the cluster center of each category is determined;
[0076] S5: Build a long short-term memory network LSTM model trained with the algorithm;
[0077] S6: Based on the LSTM model, the source load prediction data of each class is used as input, and the actual optimal decision result corresponding to the source load prediction data in the historical mapping sample data is used as output. The LSTM model is trained to obtain N mapping models that can describe the mapping relationship between the source load prediction data and the actual optimal decision result, that is, N deep learning models of power and electricity balance based on the LSTM model.
[0078] S7: For the new source-load prediction data, first determine the category to which it belongs, and then use the LSTM model corresponding to the category to make a power balance decision;
[0079] S8: Use the new source load data and the corresponding optimal decision model to update the historical mapping sample data, and continuously correct and optimize the LSTM model.
[0080] Furthermore, the objective function expression in S1 is as follows:
[0081]
[0082] Where: N T is the total number of optimization periods; F i G is the running cost function; and are the startup and shutdown costs of thermal power unit i at time t, respectively; is the penalty term for load shedding risk at time t; is the penalty item for the abandoned power of new energy at time t; is the output of the thermal power unit; Δt is the duration of a scheduling cycle; ρ load and ρ ne are the penalty coefficients for load shedding and renewable energy power abandonment respectively; H is the total number of thermal power plants in the grid zone.
[0083] Furthermore, the safety and economic constraints set in S2 specifically include power balance constraints, capacity constraints, transmission capacity constraints between power grid zones, thermal power unit output constraints, and photovoltaic output constraints.
[0084] Furthermore,
[0085] The power balance constraint is specifically expressed as:
[0086]
[0087] Where: is the output value of the kth thermal power plant in the power grid zone at time t; is the output value of the j-th new energy power station at time t; is the total load power value in the power grid zone; H is the total number of thermal power plants in the power grid zone; M is the number of new energy power stations; is the power value of the interconnection line within the power grid zone;
[0088] The capacity constraint is specifically expressed as:
[0089]
[0090] Where: is the maximum output value of the ith thermal power plant at time t in the power grid zone; is the maximum output value of the j-th photovoltaic power station in the grid zone at time t; is the maximum reserve capacity within the grid zone;
[0091] The transmission capacity constraint between power grid partitions is specifically expressed as:
[0092] P a,min ≤P a t ≤P a,max
[0093] Where: P a,min is the minimum transmission capacity between power grid partitions; P a,max is the minimum transmission capacity between grid zones;
[0094] The output constraint of the thermal power unit is specifically expressed as:
[0095]
[0096] Where: It is the minimum output of thermal power unit; The maximum output of the thermal power unit;
[0097] The photovoltaic output constraint is specifically expressed as:
[0098]
[0099] Where: It is the minimum output of the photovoltaic power station; It is the maximum output of the photovoltaic power station.
[0100] Furthermore, the specific steps of S4 include:
[0101] S401: Select the photovoltaic output data and load data at intervals of 15 minutes every day to form historical source-load data. Given a data set containing n data: X = {x1, x2, ... x i ,...,x n}, X i is the source load data of the ith day; X ijis the jth attribute of the i-th historical real daily source load data; each sample contains 96 attributes;
[0102] S402: The fuzzy-C means clustering algorithm divides the data set into m classes, where m is a positive integer greater than 1, and the cluster centers of the m classes are defined as [v1, v2, …, v k ], initialize the membership matrix U with random numbers between 0 and 1 n×k ,u ij Represents the sample point x i With cluster center v j The membership degree, u ij The value of satisfies the following constraints:
[0103]
[0104] S403: Calculate K cluster centers, where m is the fuzzy index (m>1):
[0105]
[0106] S404: Calculate the value function J(U,V). If it is less than the first preset threshold, or the change in the value function value relative to the last time is less than the second preset threshold, the algorithm stops:
[0107]
[0108] S405: Calculate new U n×k Matrix, return to step S203 and continue iterating:
[0109]
[0110] Furthermore, the Adam algorithm is used for training in S5.
[0111] Furthermore, the specific steps of S5 include:
[0112] S501: During the training of the LSTM model, the loss function is defined as:
[0113]
[0114] Among them, y t is the output value of the LSTM model at time t, and q is the length of the time series;
[0115] S502: During the training process, the Adam algorithm is used to correct the weight coefficient and bias parameter of the LSTM model, thereby implementing the training of the model. The specific update formula is:
[0116]
[0117]
[0118] Where W is the weight coefficient matrix between gates in the LSTM model; b is the set of bias parameters in the LSTM model; δ is the learning rate; β1 and β2 are attenuation factors; v t is the weighted biased variance of the gradient; ε is the smoothing parameter.
[0119] Furthermore, the specific steps of S6 include:
[0120] S601: Generation of power and quantity balance history mapping samples, which maps a daily source-load forecast data P and the optimal power and quantity balance solution (U G ,P G ) as a mapping sample, where U G is the start-stop plan of the system generator set, P G is the output matrix of the system generator sets;
[0121] S602: According to the clustering results of historical source-load data, similar source-load data and their corresponding optimal decision solutions are classified into the same category, so that the historical mapping sample data is also divided into L categories. Each category of historical source-load data is normalized separately, and the conversion function is as follows:
[0122]
[0123] Where: x jmi n is the minimum value of the jth attribute in the historical source load data; x jmax is the maximum value of the jth attribute in the historical source load data;
[0124] S603: Construct a deep learning model for each type of mapping sample data for training, and obtain N deep learning models.
[0125] like Figure 2 As shown, in order to enable ordinary technicians in the field to understand the technical solution of the present invention more clearly and conveniently, a technical solution for power and quantity balancing under multi-dimensional uncertain conditions based on data-driven is introduced in detail.
[0126] In order to verify the applicability and accuracy of the method proposed in the present invention when facing the deterministic unit combination problem, the IEEE-39 node system is used as a test case, and photovoltaic power sources are connected to nodes 8 and 16. The solution of the LSTM model is implemented in the Matlab environment. The relevant simulation calculations are all implemented on an Intel Core i7-12700 processor / 2.30GHz, 16G memory computer. The source and load data of a certain region for half a year from January 1 to June 30, 2022 are selected to construct a training data set, and the proposed LSTM-based optimization scheduling decision model is trained, and the data on July 1, 2022 is used as the verification set to test the LSTM. The scheduling period is 1d, and the time period length is set to 1h.
[0127] Four methods are used to make power balance decisions on the data of July 1. Method 1 uses sample data that has been preprocessed by clustering to train the LSTM-based deep learning model, method 2 uses sample data that has not been preprocessed by clustering to train the LSTM-based deep learning model, method 3 uses predicted data as the input of the physical model, and method 4 uses actual data as the input of the physical model. Figure 3 It can be seen that if the deep learning model is directly trained without clustering the historical data, the calculated unit output result will be quite different from the actual data. After clustering the training sample data, the calculation accuracy of the obtained model is higher. This is because if all historical data are not distinguished and a deep learning model is used for training, then in the face of huge differences in historical sample data, a unique compromise mapping model will be generated during the offline training process, and it is difficult to ensure the accuracy of online decision-making. The traditional physical model-based training method uses the decision-making method of predicted data, which is the most different from the actual data. This is because the predicted source and load data often have large errors, resulting in a large difference between the balance result and the actual situation. During the test, it was found that the decision-making method proposed in this article only takes about 0.2s to obtain the decision result, and the decision-making time is much shorter than the traditional power and electricity balance method.
[0128] The data-driven power balance decision model is trained under different sample capacities. The system total cost decision results are as follows: Figure 4 As shown, the total system cost of the method 1 of the present invention will decrease with the increase of historical training samples. The data-driven power balance decision method in this paper has the characteristics of self-learning and self-evolution in the process of accumulating historical sample data.
[0129] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0130] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A data-driven method for balancing power and quantity under multi-dimensional uncertain conditions, characterized in that: The following steps are involved: S1: Establish the power balance objective function of the power system with minimum load limit, minimum power abandonment and minimum economic cost; S2: Set the safety and economic constraints of the power system, and build a power and electricity balance model driven by the physical model together with the power and electricity balance objective function of the power system; the safety and economic constraints set in S2 specifically include power balance constraints, capacity constraints, transmission capacity constraints between power grid partitions, thermal power unit output constraints, and photovoltaic output constraints; S3: Using the historical real source and load data of the regional power grid as the model input of the power balance model driven by the physical model, the actual optimal power balance scheme (U G , P G ), where U G is the start-stop plan of the system generator set, P G is the output matrix of the system generator set; taking the daily source-load forecast data and the daily actual optimal power balance plan as a mapping sample to generate historical mapping sample data; S4: Based on the fuzzy-C means clustering method, the daily historical real source load data is divided into m categories, and the cluster center of each category is determined; S5: Build a long short-term memory network LSTM model trained with the algorithm; S6: Based on the LSTM model, the source load prediction data of each class is used as input, and the actual optimal decision result corresponding to the source load prediction data in the historical mapping sample data is used as output. The LSTM model is trained to obtain N mapping models that describe the mapping relationship between the source load prediction data and the actual optimal decision result, that is, N deep learning models of power and electricity balance based on the LSTM model. S7: For the new source-load prediction data, first determine the category to which it belongs, and then use the LSTM model corresponding to the category to make a power balance decision; S8: Use the new source load data and the corresponding optimal decision model to update the historical mapping sample data, and continuously correct and optimize the LSTM model.
2. According to the data-driven multi-dimensional uncertain power and quantity balance method of claim 1, it is characterized by: The objective function expression in S1 is as follows: Where: N T is the total number of optimization periods; F i G is the running cost function; and are the startup and shutdown costs of thermal power unit i at time t, respectively; is the penalty term for load shedding risk at time t; is the penalty item for the abandoned power of new energy at time t; is the output of the thermal power unit; Δt is the duration of a scheduling cycle; ρ load and ρ ne are the penalty coefficients for load shedding and renewable energy power abandonment respectively.
3. According to the data-driven multi-dimensional uncertain power and quantity balance method of claim 1, it is characterized in that: The power balance constraint is specifically expressed as: Where: is the output value of the kth thermal power plant in the power grid zone at time t; is the output value of the j-th new energy power station at time t; is the total load power value in the power grid zone; H is the total number of thermal power plants in the power grid zone; M is the number of new energy power stations; is the power value of the interconnection line within the power grid zone; The capacity constraint is specifically expressed as: Where: is the maximum output value of the ith thermal power plant at time t in the power grid zone; is the maximum output value of the j-th photovoltaic power station in the grid zone at time t; is the maximum reserve capacity within the grid zone; The transmission capacity constraint between power grid partitions is specifically expressed as: Where: P a,min is the minimum transmission capacity between power grid partitions; P a,max is the minimum transmission capacity between grid zones; The output constraint of thermal power units is specifically expressed as: Where: It is the minimum output of thermal power unit; The maximum output of the thermal power unit; The photovoltaic output constraint is specifically expressed as: Where: It is the minimum output of the photovoltaic power station; It is the maximum output of the photovoltaic power station.
4. The method for balancing power and quantity under multi-dimensional uncertain conditions based on data-driven according to claim 1, characterized in that: S4 specific steps include: S401: Select the photovoltaic output data and load data at intervals of 15 minutes every day to form historical source-load data. Given a data set containing n data: X = {x1, x2, ... x i ,...,x n }, X i is the source load data of the ith day; each sample contains 96 attributes; S402: The fuzzy-C means clustering algorithm divides the data set into m classes, where m is a positive integer greater than 1, and the cluster centers of the m classes are defined as [v1, v2, …, v k ], initialize the membership matrix U with random numbers between 0 and 1 n×k ,u ij Represents the sample point x i With cluster center v j The membership degree, u ij The value of satisfies the following constraints: S403: Calculate K cluster centers, where m is the fuzzy index (m>1): S404: Calculate the value function J(U,V). If it is less than the first preset threshold, or the change in the value function value relative to the last time is less than the second preset threshold, the algorithm stops: S405: Calculate new U n×k Matrix, return to step S203 and continue iterating:
5. The method for balancing power and quantity under multi-dimensional uncertain conditions based on data-driven according to claim 1, characterized in that: The Adam algorithm is used for training in S5.
6. The method for balancing power and quantity under multi-dimensional uncertain conditions based on data-driven according to claim 1, characterized in that: S5 specific steps include: S501: During the training of the LSTM model, the loss function is defined as: Among them, y t is the output value of the LSTM model at time t, and q is the length of the time series; S502: During the training process, the Adam algorithm is used to correct the weight coefficient and bias parameter of the LSTM model, thereby implementing the training of the model. The specific update formula is: Where W is the weight coefficient matrix between gates in the LSTM model; b is the set of bias parameters in the LSTM model; δ is the learning rate; β1 and β2 are attenuation factors; v t is the weighted biased variance of the gradient; ε is the smoothing parameter.
7. The method for balancing power and quantity under multi-dimensional uncertain conditions based on data-driven according to claim 1, characterized in that: The specific steps of S6 include: S601: Generation of power and quantity balance history mapping samples, which maps a daily source-load forecast data P and the optimal power and quantity balance solution (U G ,P G ) as a mapping sample, where U G is the start-stop plan of the system generator set, P G is the output matrix of the system generator sets; S602: According to the clustering results of the historical source-load data, similar source-load data and their corresponding optimal decision solutions are classified into the same category, so that the historical mapping sample data is also divided into L categories; each category of the mapped historical source-load data is normalized respectively, and the conversion function is as follows: Where: x jmin is the minimum value of the jth attribute in the historical source load data; x jmax is the maximum value of the jth attribute in the historical source load data; S603: Construct a deep learning model for each type of mapping sample data for training, and obtain N deep learning models.
