A robust distribution network method based on forecasting load and distributed generation output
The dynamic structure model is constructed through load prediction and clustering algorithms, and the search algorithm is used to adjust the distribution network structure, which solves the problem of dynamic adjustment complexity after the distributed power supply is connected, and improves the distributed power output utilization and operation of the distribution network. efficiency.
Patent Information
- Application Number
- CN202211384357.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-07
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-11-07
AI Technical Summary
In the distribution network, after distributed power sources are connected, dynamic adjustment becomes complicated. How to quickly and accurately adjust the grid network structure to improve the utilization of distributed power output and ensure the reliable and efficient operation of the distribution network is a challenge.
By predicting the load value, the clustering algorithm is used to cluster the load data, a dynamic structure model is constructed, and the search algorithm is used to solve the optimal structure with the highest proportion of distributed power output, and the power grid network structure is dynamically adjusted.
It achieves fast and accurate dynamic adjustment, improves the utilization of distributed power output, reduces the amount of calculation and complexity, adapts to load changes, and ensures reliable and efficient operation of the distribution network.
Smart Images

Figure CN115663807B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electric power technology, and in particular to a robust distribution network method based on predicting load and distributed power output, electronic equipment and computer-readable storage medium. Background Art
[0002] The distribution network is the intermediate link between the high-voltage transmission network of the power system and the users. The distribution network has multiple voltage levels, complex network structure, and various equipment types. Therefore, there are relatively more safety risk factors in the distribution network. In order to ensure the reliable and efficient operation of the distribution network and achieve the goal of a strong distribution network, it is necessary to dynamically adjust the network structure of the distribution network.
[0003] The dynamic adjustment of traditional distribution network is a process of transforming the existing distribution network based on the analysis of various aspects of the existing distribution network to meet the optimal needs of one or more aspects. For example, it may include: dynamic load, load forecasting, system network loss, voltage level, power supply reliability and other aspects.
[0004] In recent years, with the vigorous development of distributed generation (DG), more new factors have been taken into consideration when performing dynamic adjustment of distribution networks, and the content and methods of dynamic adjustment of traditional distribution networks have been challenged.
[0005] Distributed power sources are characterized by small scale, environmental friendliness, and high energy efficiency. Their access to the distribution network can not only adjust the energy structure and reduce environmental pressure, but also solve the problem of power supply difficulties in remote areas due to their independent power generation characteristics, and improve the overall power supply reliability of the distribution network. Therefore, the large-scale application of distributed power sources is of great benefit to both society and the distribution system itself.
[0006] However, the access of distributed power sources will also have an impact on the dynamic adjustment of traditional distribution networks. The access of distributed power sources makes the dynamic adjustment of distribution networks more complicated. First, the dynamic structure model, related objective functions, constraints, etc. will change after the access of distributed power sources to the distribution network. Secondly, with the complexity of the dynamic structure model, the difficulty of solving the dynamic adjustment problem will also increase.
[0007] Although distributed power sources are currently connected to the distribution network, the utilization rate of most distributed power sources is low, and the wind and solar power abandonment rates are high. For the loads at each node of the distribution network, how to quickly and accurately adjust the grid network structure dynamically with the highest proportion of distributed power output as the goal to adapt to the dynamic changes in load, thereby ensuring the reliable and efficient operation of the distribution network and achieving the goal of a strong distribution network, is an urgent problem to be solved. Summary of the invention
[0008] In view of the above problems, the present invention is proposed to provide a robust distribution network method based on predicting load and distributed power output, an electronic device and a computer-readable storage medium that solve the above problems or partially solve the above problems.
[0009] A first aspect of an embodiment of the present invention provides a robust distribution network method based on predicted load and distributed power output, the robust distribution network method comprising:
[0010] Determine the load value of any node in the entire network in the current power grid network structure;
[0011] When the load value of any node in the current power grid network structure exceeds the preset load, a load forecast is performed on the load of the power grid in a future time period based on historical data to obtain load data of all nodes in the entire network in the future time period;
[0012] Use clustering algorithm to cluster the load data of all current nodes and the load data of all nodes in the future time period to obtain the load data of k cluster centers;
[0013] A dynamic structure model of the power grid is constructed according to the load data of the k cluster centers, wherein the dynamic structure model is an optimal dynamic structure model with the highest proportion of distributed power output as the goal;
[0014] The dynamic structure model is solved by using a search algorithm to obtain an optimal solution corresponding to each cluster center, and the current power grid network structure is adjusted according to the optimal solution. The optimal solution represents the dynamic adjustment result of the power grid network structure with the highest proportion of distributed power generation output as the goal.
[0015] Optionally, a clustering algorithm is used to perform load clustering on the load data of all current nodes and the load data of all nodes in the future time period to obtain load data of k cluster centers, including:
[0016] Step S1: Divide the full time period to obtain a preset number of small time periods and set the probability, wherein the full time period refers to the time period from the current moment to the end moment of the future time period;
[0017] Step S2: Based on the preset number of inter-cell time periods, four inter-cell time periods are selected as four initial cluster centers according to preset rules, and the four initial cluster centers are used as the initial cluster center set, wherein the preset rules are to divide the entire time period into four stages, each stage including a plurality of the inter-cell time periods, and one inter-cell time period is randomly selected from each of the four stages as the four inter-cell time periods, and the four stages are divided into time periods from the current moment to the end moment of the future time period in chronological order, including: a front-front middle stage, a front-middle stage, a middle-back middle stage, and a back-middle-end stage;
[0018] Step S3: determining a cluster formed by multiple non-clustering centers according to the initial clustering center;
[0019] Step S4: for each non-clustering center in the cluster except the initial clustering center of the cluster, the sum of the distances from the non-clustering center to all other non-clustering centers in the cluster is calculated, and a non-clustering center with the smallest sum of distances is used as a new initial clustering center to be determined in the cluster, and a set of new initial clustering centers to be determined is formed;
[0020] Step S5: if the to-be-determined new initial cluster center set is the same as the initial cluster center set, determining the initial cluster center set to be the k cluster centers, and determining the load data corresponding to the k cluster centers;
[0021] Step S6: if the pending new initial cluster center set is different from the initial cluster center set, then under the first probability, the pending new initial cluster center set is used to replace the initial cluster center set, and step S3 is continued; or,
[0022] If the to-be-determined new initial cluster center set is different from the initial cluster center set, then under the second probability, the initial cluster center set is directly determined to be the k cluster centers, and the load data corresponding to the k cluster centers are determined.
[0023] Optionally, solving the dynamic structure model using a search algorithm to obtain an optimal solution corresponding to each cluster center includes:
[0024] For each cluster center, there are:
[0025] Based on the dynamic structure model and in combination with the node parameter constraint condition, the Disjetra algorithm is used to obtain N samples, each of the N samples represents a combination of tie switches included in a dynamic structure of the power grid network structure;
[0026] The performance of the N samples is estimated by a rough and fast-computing model, wherein the performance is estimated with the highest output proportion of the distributed power source as the goal;
[0027] Arrange the estimated performances in ascending order and select the top m performances;
[0028] An intersection operation is performed on the first m performances and the preset performance set to obtain an intersection performance or a close performance, wherein the close performance refers to a performance whose difference between any value of the first m performances and the preset performance set is less than a preset value;
[0029] The samples corresponding to the intersection performance or the proximity performance are used as the optimal solutions corresponding to each of the cluster centers.
[0030] Optionally, the function c with the highest output proportion of the distributed power source is:
[0031]
[0032] In this formula: where s represents time, W q (t) represents the load forecast value of any node at time t, W p (t) represents the output forecast value of the distributed power source at time t.
[0033] Optionally, the output prediction value W of the distributed power source at time t is p The expression of (t) is:
[0034] W p (t) = W p1 (t)+W p2 (t)
[0035] In the above formula, W p1 (t) represents the predicted photovoltaic output value at time t, W p2 (t) represents the predicted value of wind turbine output at time t;
[0036] Among them, the distributed power supply is equipped with an energy storage system, and the distributed power supply and its energy storage system and the power grid must comply with active power balance conditions, power purchase and sales constraints and energy storage system operation conditions.
[0037] Optionally, the active power balance condition is expressed as follows:
[0038]
[0039] In the formula: n represents the number of the distributed power sources; W i W (t) represents the output power of the i-th distributed device at time t, where the distributed device is a wind turbine or a photovoltaic device; e,n(t) represents the charge and discharge power of the energy storage system at time t, e and n represent charge and discharge respectively, and the selection of their positive and negative signs is related to the charge and discharge state of the energy storage system; I 1 and I 2 Both represent a constant; W a1 (t) indicates that the output of the distributed power source at time t does not meet the power purchased from the power grid by its own load, W a2 (t) represents the power sold by the distributed power source to the power grid at time t; Δt represents the time period between cells;
[0040] The expression of the power purchase and sale constraint condition is as follows:
[0041] W a1min ≤W a1 (t)≤W a1max (1)
[0042] W a2min ≤W a2 (t)≤W a2max (2)
[0043] Wherein, formula (1) indicates that the output of the distributed power source at time t does not meet the upper and lower limits of the power purchased from the power grid by the self-carrying load; formula (2) indicates the upper and lower limits of the power sold by the distributed power source to the power grid at time t, min indicates the lower limit, and max indicates the upper limit;
[0044] The expression of the energy storage system operating condition is as follows:
[0045] S cmin ≤S c (t)≤S cmax (3)
[0046] E min ≤E(t) (4)
[0047] Wherein, formula (3) represents the charge S of the energy storage system at time t: c (t) must be at the maximum charge S cmax With minimum charge S cmin Formula (4) indicates that the remaining energy storage capacity E(t) of the energy storage system at time t must not be less than its minimum limit E min .
[0048] Optionally, the node parameter constraint conditions include: voltage constraint conditions of each node in the power grid, capacity constraint conditions of each branch in the power grid;
[0049] The voltage constraints of each node in the power grid are:
[0050] U min ≤Un (t)≤U max
[0051] In this formula, U n (t) represents the voltage amplitude of any node at time t, U min and U max are the minimum and maximum voltage amplitudes of any node respectively;
[0052] The capacity constraints of each branch in the power grid are:
[0053] |A j |≤A j max
[0054] In this formula, A j represents the transmission power of any branch j, A j max Represents the maximum transmission power of any branch j.
[0055] Optionally, the value of the second probability is based on:
[0056] A difference between 1 and the first probability is calculated, and the difference is used as the second probability.
[0057] A second aspect of an embodiment of the present invention provides an electronic device, including:
[0058] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for a robust distribution network based on predicted load and distributed power output as described in any one of the first aspects.
[0059] A third aspect of an embodiment of the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements a robust distribution network method based on predicted load and distributed power output as described in any one of the first aspects.
[0060] The robust distribution network method based on load prediction and distributed power output provided by the present invention first determines the load values of all network nodes in the current power grid network structure; if the load value of any node in the current power grid network structure exceeds the preset load, the load of the future time period of the power grid is predicted based on historical data to obtain the load data of all nodes in the future time period; then, a clustering algorithm is used to cluster the load data of all current nodes and the load data of all nodes in the future time period to obtain the load data of k cluster centers. These k cluster centers represent the types of load data of all nodes in the distribution network in each time period in the future time period.
[0061] Then, a dynamic structure model of the power grid is constructed according to the load data of k cluster centers. The dynamic structure model is a model of the optimal dynamic structure with the highest proportion of distributed power output as the goal. Finally, the dynamic structure model is solved by a search algorithm to obtain the optimal solution corresponding to each cluster center. This optimal solution represents the dynamic adjustment result of the power grid network structure with the highest proportion of distributed power output as the goal, and the current power grid network structure is adjusted according to this optimal solution.
[0062] The present invention does not need to perform complex and extremely computationally intensive calculations on real-time load data. It only needs to find the load state of the corresponding cluster center, and then use the dynamic structure model corresponding to the cluster center to solve and obtain the optimal solution. The network structure of the power grid can be quickly and accurately adjusted to adapt to the dynamic changes in the load, thereby ensuring the reliable and efficient operation of the distribution network and achieving the goal of a strong distribution network. Ultimately, not only does it make the output of the distributed power source after the dynamic adjustment of the distribution network in actual operation account for the highest proportion, but the entire process has a small amount of calculation, simple calculation, and less calculation time. It can adapt well to the dynamically changing load and has a high practical value. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0064] Figure 1 This is a flow chart of a robust distribution network method based on predicting load and distributed power output according to an embodiment of the present invention;
[0065] Figure 2 This is a schematic diagram of a power grid network structure in a certain region in an embodiment of the present invention;
[0066] Figure 3The present invention is a block diagram of a robust distribution network device based on predicted load and distributed power output. DETAILED DESCRIPTION
[0067] 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 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.
[0068] A method for strengthening distribution network based on predicting load and distributed power output is proposed in an embodiment of the present invention, referring to Figure 1 , shows a flow chart of a robust distribution network method based on predicted load and distributed power output according to an embodiment of the present invention, the robust distribution network method comprises the following steps:
[0069] Step 101: Determine the load values of all nodes in the current power grid network structure;
[0070] Step 102: When the load value of any node in the current power grid network structure exceeds a preset load value, a load forecast is performed on the load of the power grid in a future time period based on historical data to obtain load data of all nodes in the entire network in the future time period.
[0071] In general, the current grid network structure of the distribution network is an optimal network topology structure that adapts to the current node load value of the entire network. When the load value of one or more nodes exceeds the preset load value, if the grid network structure of the distribution network is not adjusted, it may not necessarily adapt to the demand of the node load value of the entire network at this time, and the output ratio of distributed power sources may not be optimal, so it is necessary to dynamically adjust the grid network structure.
[0072] When the load value of any node exceeds the preset load value, it is first necessary to obtain the load data of all nodes in the future time period, which requires the help of historical data. The historical data comes from a big data system, or historical statistical data, curve charts, etc. Based on these available historical data, the load of the power grid (i.e., distribution network) in the future time period is predicted, and the load data of all the nodes in the entire network in the future time period can be obtained. For example: the load of the power grid in the next 24 hours is predicted, and the load data of all nodes in the entire network in the next 24 hours can be obtained.
[0073] Step 103: Use a clustering algorithm to perform load clustering on the load data of all current nodes and the load data of all nodes in the future time period to obtain the load data of k cluster centers.
[0074] After obtaining the load data of all nodes in the entire network in the future time period, the clustering algorithm can be used to cluster the load data of all nodes in the current network and the load data of all nodes in the future time period to obtain the load data of k cluster centers. For example: the clustering algorithm is used to cluster the load data of all nodes in the current network and the load data of all nodes in the network in the next 24 hours to obtain the load data of 4 cluster centers. These 4 cluster centers represent the types of load data of all nodes in the distribution network in each time period from the current moment to the next 24 hours.
[0075] Step 104: construct a dynamic structure model of the power grid according to the load data of the k cluster centers, where the dynamic structure model is an optimal dynamic structure model with the highest output ratio of distributed generation as the goal.
[0076] After obtaining k cluster centers, a dynamic structure model of the power grid is constructed for the load data of these cluster centers. This model is an optimal dynamic structure model with the highest output ratio of distributed power sources as the goal. Of course, due to the complexity of the overall distributed power system, its grid-connected operation with the power grid also needs to meet certain conditions. For example, if the distributed power source is equipped with an energy storage system, the distributed power source and its energy storage system must meet the active power balance conditions, power purchase and sales constraints, and energy storage system operation conditions between the distributed power source and the power grid. The specific conditions are explained in the corresponding places below and will not be repeated here.
[0077] Step 105: Solve the dynamic structure model using a search algorithm to obtain the optimal solution corresponding to each cluster center, and adjust the current power grid network structure according to the optimal solution. The optimal solution represents the dynamic adjustment result of the power grid network structure with the goal of maximizing the output proportion of distributed generation.
[0078] After the dynamic structure model of the power grid is constructed, it is necessary to use the search algorithm to solve the dynamic structure model and obtain the optimal solution corresponding to each cluster center. Since the cluster center is obtained based on the time period, the optimal solution corresponding to each cluster center is the result of the dynamic adjustment of the power grid network structure with the highest output ratio of distributed power sources in each time period. That is, in a certain time period, the power grid network structure corresponding to the dynamically adjusted optimal solution is operated, and the output ratio of distributed power sources in the entire power grid is the highest.
[0079] Through the above method, it is no longer necessary to perform complex and computationally intensive calculations on real-time load data. It is only necessary to find the load state of the corresponding cluster center, and then use the dynamic structure model corresponding to the cluster center to solve it, and obtain the optimal solution for dynamic adjustment of the distribution network. This not only makes the output of distributed power sources after dynamic adjustment of the power grid in actual operation account for the highest proportion, but also the whole process has a small amount of calculation, simple calculation, and less calculation time. It can adapt well to dynamically changing loads and has high practical value.
[0080] In a possible embodiment, the specific method of step 103 may include:
[0081] Step S1: Divide the entire time period to obtain a preset number of small time periods, and set the probability. The entire time period refers to the time period from the current moment to the end moment of the future time period.
[0082] The so-called full time period refers to the time period from the current time to the end time of the future time period. For example, if the current time is 9:00 on October 1 and the future time period is 24 hours, then the end time is 9:00 on October 2.
[0083] By dividing the entire time period, a preset number of small time periods can be obtained. The preset number can be defined by oneself. For example, if the preset number is 12, there are 12 small time periods, and each small time period is 2 hours.
[0084] The probability is set to make the clustering algorithm more realistically reflect the clustering situation. The specific reason is explained in the corresponding section below.
[0085] Step S2: Based on a preset number of inter-cell time periods, four inter-cell time periods are selected as four initial cluster centers according to preset rules, and the four initial cluster centers are used as the initial cluster center set. The preset rule is to divide the entire time period into four stages, each stage includes multiple inter-cell time periods, and one inter-cell time period is randomly selected from each of the four stages as the four inter-cell time periods selected according to the preset rules. These four stages are divided into time periods from the current moment to the end moment of the future time period in chronological order, including: the front-front middle stage, the front-middle stage, the middle-back middle stage, and the back-middle-end stage.
[0086] After obtaining a preset number of small-inter-cell time periods, four small-inter-cell time periods are selected as four initial cluster centers according to a preset rule, and the four initial cluster centers are used as an initial cluster center set.
[0087] The preset rule in the embodiment of the present invention is to divide the whole time period into 4 stages. The 4 stages are divided into the time period from the current moment to the end moment of the future time period in chronological order, including: the front-front middle stage, the front-middle stage, the middle-back middle stage, and the back-middle-end stage. For example, if the current moment is 9:00 on October 1 and the future time period is 24 hours, then the end moment of the future time period is 9:00 on October 2. The 4 stages can be: the front-front middle stage from 9:00 on October 1 to 15:00 on October 1, the front-middle stage from 15:00 on October 1 to 21:00 on October 1, the middle-back middle stage from 21:00 on October 1 to 3:00 on October 2, and the back-middle-end stage from 3:00 on October 2 to 9:00 on October 2.
[0088] Since the four stages contain multiple small interval time periods, four initial cluster centers can be obtained by randomly selecting one small interval time period from each of the four stages. It should be noted that the preset rule may not be four stages, but may be two stages, or five, six, or multiple stages. The more stages there are, the more cluster centers there are, and the corresponding subsequent solution calculation amount will be larger, but the calculation accuracy will be higher. Naturally, it can be understood that under the same number of stages, if the future time period is longer and the preset number is larger, the corresponding subsequent solution calculation amount will be larger, and the calculation accuracy will naturally be higher. The specific settings can be determined according to the actual situation.
[0089] Step S3: Based on the initial clustering center, determine the clusters formed by multiple non-clustering centers.
[0090] In this step, the initial cluster center is used as the initial center of a cluster, and the similarity between the remaining non-initial centers and the initial center is calculated. Finally, the initial center in a cluster has a high similarity with other non-initial centers in the cluster, and a low similarity with any initial center or non-initial center in other clusters. In this way, the clusters are clustered into k clusters.
[0091] Step S4: for each non-clustering center in the cluster except the initial clustering center of the cluster, calculate the sum of the distances from the non-clustering center to all other centers in the cluster, and use the non-clustering center with the smallest sum of distances as the new initial clustering center to be determined in the cluster, and form a set of new initial clustering centers to be determined;
[0092] Step S5: If the new initial cluster center set to be determined is the same as the initial cluster center set, the initial cluster center set is determined to be k cluster centers, and the load data corresponding to the k cluster centers are determined;
[0093] Step S6: If the new set of initial cluster centers to be determined is different from the initial set of cluster centers, then under the first probability, the initial set of cluster centers is replaced by the new set of initial cluster centers to be determined, and step S4 is continued; or, if the new set of initial cluster centers to be determined is different from the initial set of cluster centers, then under the second probability, the initial set of cluster centers is directly determined to be k cluster centers, and the load data corresponding to the k cluster centers are determined.
[0094] After obtaining the initial center of a cluster, the new initial cluster center to be determined in the cluster is obtained through calculation, and then the k new initial cluster centers form a new initial cluster center set to be determined. This new initial cluster center set to be determined may be exactly the same as the initial cluster center set determined in step S2, or it may be different, so it needs to be treated differently:
[0095] The first case: if the pending new initial cluster center set is the same as the initial cluster center set, the initial cluster center set is determined to be k cluster centers, that is, the pending new initial cluster center set is k cluster centers, and finally the load data corresponding to the k cluster centers are determined.
[0096] The second case: if the pending new initial cluster center set is different from the initial cluster center set, then under the first probability, the initial cluster center set is replaced by the pending new initial cluster center set, and step S3 is continued; or, if the pending new initial cluster center set is different from the initial cluster center set, then under the second probability, the initial cluster center set is directly determined to be k cluster centers, and the load data corresponding to the k cluster centers are determined.
[0097] In the second case, since the pending new initial cluster center set is not completely the same as the initial cluster center set, the pending new initial cluster center set does not necessarily replace the initial cluster center set. When the initial cluster center is not expected to be replaced, the second probability can be set to a larger number when setting the probability; when the clustering algorithm is expected to truly reflect the clustering situation, the first probability can be set to a larger number. The value of the second probability is based on: taking the difference between 1 and the first probability, and taking the difference as the second probability. For example: if the first probability is set to 90%, then the second probability is set to 10%.
[0098] The above setting makes it possible that when the second probability is large, the initial cluster center node is directly used as the final cluster center without iteration, and the cluster center is quickly determined. The reason for this setting is that in some areas or time periods, the load data of each node is highly similar. For example, during the working hours of weekdays, the load data changes of commercial, civil, and entertainment types are more similar. During the non-working hours of weekdays, there may be another type of load data change, and during a certain time period of non-working days, there may be another type of load data change. Therefore, the second probability can be set to a larger number during initialization to prevent the initial center of the cluster from being replaced. This can ensure the accuracy of the cluster center while improving the computational efficiency.
[0099] However, for some regions or time periods, the load data of each node is not highly similar. In order to more realistically reflect the clustering situation, the first probability is set to be larger, and the initial cluster center node is not directly used as the final cluster center. Iteration is required to determine the cluster center. In this case, the operation efficiency will be lower, but the cluster center is more accurate.
[0100] Through the above method, k cluster centers are accurately obtained.
[0101] In a possible embodiment, the specific method of step 105 may include:
[0102] For each cluster center, there are:
[0103] Step T1: Based on the dynamic structure model and in combination with the node parameter constraints, the Disjetella algorithm is used to obtain N samples, each of which represents the combination of the tie switches contained in a dynamic structure of the power grid network structure.
[0104] Based on the dynamic structure model and combined with the node parameter constraints, the different states of closing and opening of all the interconnecting switches in the power grid are used to form all the network topologies of the power grid. Different samples are obtained using the Disjetla algorithm, and finally N samples are obtained.
[0105] In a possible embodiment, the node parameter constraint conditions include: voltage constraint conditions of each node in the power grid, capacity constraint conditions of each branch in the power grid;
[0106] The voltage constraints of each node in the power grid are:
[0107] U min ≤U n (t)≤U max
[0108] In this formula, U n(t) represents the voltage amplitude of any node at time t, U min and U max They are the minimum and maximum voltage amplitudes of any node, respectively. In the following text, any subscript "min" indicates the lower limit or minimum value of the parameter, and any subscript "max" indicates the upper limit or maximum value of the parameter.
[0109] The capacity constraints of each branch in the power grid are:
[0110] |A j |≤A j max
[0111] In this formula, A j represents the transmission power of any branch j, A j max Represents the maximum transmission power of any branch j.
[0112] Step T2: Estimate the performance of N samples through a rough and fast model, and the performance is estimated with the highest proportion of distributed generation output as the goal.
[0113] After obtaining N samples, the performance of the N samples is estimated through a rough and fast-computing model, without the need for a large number of detailed parameter calculations to calculate the performance of the N samples.
[0114] Step T3: Arrange the estimated performances in descending order and select the top m performances;
[0115] Step T4: perform an intersection operation on the first m performances and the preset performance set to obtain an intersection performance or a close performance, where the close performance refers to a performance whose numerical difference with any value in the preset performance set is less than a preset value among the first m performances.
[0116] After obtaining the performance of N samples, the estimated performance is arranged in descending order. Naturally, the samples corresponding to the performance in the front have the highest proportion of distributed power output. The performance in the front m is selected, and the specific m can be set by yourself.
[0117] Then, the performance of the first m items is intersected with the preset performance set to obtain an intersection performance or a close performance. The close performance refers to the performance of the first m items whose difference with any numerical value in the preset performance set is less than the preset value. The preset performance set is a performance set that is calculated in advance and obtained by precise calculation based on the samples corresponding to each network topology structure of the power grid. Since the performance of the first m items is estimated, the intersection of the performance of the first m items and the preset performance set may obtain an intersection performance, but there may be no intersection between the two. If there is no intersection, the performance is obtained with a difference of less than the preset value with any numerical value in the preset performance set, and this performance is defined as close performance.
[0118] Step T5: Take the samples corresponding to the intersection performance or close performance as the optimal solution corresponding to each cluster center.
[0119] Get the sample corresponding to the intersection performance or the close performance, take the sample as the optimal solution corresponding to each cluster center, and dynamically adjust the interconnection switch of the power grid network structure according to the combination of interconnection switches contained in a dynamic structure of the power grid network structure represented by the optimal solution. For example: the power grid has n interconnection switches: interconnection switch 1 to interconnection switch n. In a certain period of time, it is assumed that the power grid network structure first operates in the manner of closing interconnection switch 1, interconnection switch 3, interconnection switch 5, and interconnection switch 8. At this time, the output of distributed power sources accounts for 80%. If the subsequent load changes, dynamic adjustment is required. After obtaining the optimal solution, the power grid network structure is adjusted to operate in the manner of closing interconnection switch 2, interconnection switch 6, interconnection switch 10, and interconnection switch n-1. At this time, the output of distributed power sources accounts for 86.8%. Then, the power grid network structure operates in the manner of closing interconnection switch 2, interconnection switch 6, interconnection switch 10, and interconnection switch n-1, which is the model of the optimal dynamic structure of the period. However, in the actual power grid architecture, due to the complexity of the power grid, the dynamic adjustment of the power grid becomes a non-deterministic problem with a polynomial complexity of discrete control variables. Although the multiple cluster centers can represent the same type of power grid load data, there are many solutions to how to maximize the output of the distributed power sources of the entire power grid for such load data, that is, there are many ways to close and open the interconnecting switches. Therefore, it is necessary to solve the dynamic structure model of the power grid to obtain an optimal dynamic structure, that is, to obtain an optimal solution.
[0120] In a possible embodiment, the highest distributed power output ratio is taken as the target operation, and the function c of the highest distributed power output ratio can be defined as:
[0121]
[0122] In this formula: s represents time, W q (t) represents the load forecast value of any node at time t, W p (t) represents the output forecast value of distributed generation at time t. The smaller the difference between the two, the higher the proportion of distributed generation output.
[0123] In a possible embodiment, the output prediction value W of the distributed power source at time t is p The expression of (t) is:
[0124] W p (t) = W p1 (t)+W p2 (t)
[0125] In the above formula, W p1 (t) represents the predicted photovoltaic output value at time t, W p2 (t) represents the predicted output value of the wind turbine at time t. In general, photovoltaic and wind turbines are greatly affected by light, weather, day and night, and the influencing factors are also different. Therefore, the combination of the two can make the output of distributed power sources relatively stable. If photovoltaic or wind turbines are used alone as distributed power sources, the output of distributed power sources will be limited by many factors.
[0126] In addition, if the distributed power source is not equipped with an energy storage system, its energy utilization rate and peak load regulation function will be greatly affected, so the distributed power source needs to be equipped with an energy storage system. The distributed power source and its energy storage system must meet the active power balance conditions, power purchase and sales constraints, and energy storage system operation conditions between the grid.
[0127] In a possible embodiment, the expressions of active power balance condition, power purchase and sale constraint condition and energy storage system operation condition may be as follows:
[0128] The expression of active power balance condition is as follows:
[0129]
[0130] In this formula: n represents the number of distributed power sources; W i (t) represents the output power of the i-th distributed power source at time t, and the corresponding equipment of the distributed power source is a wind turbine or a photovoltaic power plant; W e,n (t) represents the charging and discharging power of the energy storage system at time t, e and n represent charging and discharging respectively, and the selection of their positive and negative signs is related to the charging and discharging state of the energy storage system; I 1 and I 2 Both represent a constant; W a1 (t) indicates that the output of distributed generation at time t does not meet the power purchased from the grid by its own load, W a2 (t) represents the power sold by the distributed generation to the grid at time t, that is, the output of the distributed generation at time t; Δt represents the time period between cells.
[0131] The expression of the power purchase and sale constraint condition is as follows:
[0132] W a1min ≤W a1 (t)≤W a1max (1)
[0133] W a2min ≤W a2 (t)≤W a2max (2)
[0134] Among them, formula (1) indicates that the output of distributed generation at time t does not meet the upper and lower limits of the power purchased from the power grid by its own load; formula (2) indicates the upper and lower limits of the power sold by distributed generation to the power grid at time t, that is, the upper and lower limits of the output of distributed generation in period t.
[0135] The expression of the energy storage system operating conditions is as follows:
[0136] S cmin ≤S c (t)≤S cmax (3)
[0137] E min ≤E(t) (4)
[0138] Wherein, formula (3) represents the charge S of the energy storage system at time t c (t) must be at the maximum charge S cmax With minimum charge S cmin Formula (4) indicates that the remaining energy storage capacity E(t) of the energy storage system at time t must not be less than its minimum limit E min .
[0139] For the above power dispatching method, it can be combined with Figure 2 The schematic diagram of the power grid network structure in a certain area is generally described. Figure 2 1, 2, and 3 represent three distributed power sources, respectively. A represents a node in the power grid network structure, and B represents another node in the power grid network structure. There are multiple interconnecting switches from the three distributed power sources to node A or node B. Determine the load value of all nodes in the current power grid network structure. When the load value of node A exceeds the preset load value, use the method of steps 101 to 105 to obtain a combination of closing and disconnecting of the interconnecting switch. The output of the distributed power source under the power grid network structure corresponding to this combination accounts for the highest proportion, and it is well adapted to the dynamically changing load. Similarly, when the load value of node B exceeds the preset load value or the average load values of nodes A and B exceed the preset load value, use the method of steps 101 to 105 to obtain a combination of closing and disconnecting of the interconnecting switch. The output of the distributed power source under the power grid network structure corresponding to this combination accounts for the highest proportion, and it is well adapted to the dynamically changing load.
[0140] Based on the above-mentioned method for a strong distribution network based on predicted load and distributed power output, the embodiment of the present invention also proposes a strong distribution network device based on predicted load and distributed power output, referring to Figure 3 , the robust power distribution network device comprises:
[0141] The load determination module 310 is used to determine the load values of all nodes in the current power grid network structure;
[0142] The load prediction module 320 is used to predict the load of the power grid in the future time period based on historical data when the load value of any node in the current power grid network structure exceeds a preset load value, and obtain the load data of all nodes in the whole network in the future time period;
[0143] The clustering module 330 is used to perform load clustering on the load data of all current nodes and the load data of all nodes in the future time period using a clustering algorithm to obtain the load data of k cluster centers;
[0144] A construction module 340 is used to construct a dynamic structure model of the power grid according to the load data of the k cluster centers, wherein the dynamic structure model is an optimal dynamic structure model with the highest output ratio of distributed power sources as the goal;
[0145] The solution module 350 is used to solve the dynamic structure model using a search algorithm to obtain the optimal solution corresponding to each cluster center, and adjust the current power grid network structure according to the optimal solution. The optimal solution represents the dynamic adjustment result of the power grid network structure with the goal of maximizing the proportion of distributed power output.
[0146] The above-mentioned power dispatching device can implement all the method steps in each of the above-mentioned embodiments. The specific method steps are described in the previous text and will not be repeated here.
[0147] Based on the above-mentioned strong power distribution network method, an embodiment of the present invention further provides an electronic device, including:
[0148] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a robust distribution network method based on predicted load and distributed power output as described in any one of steps 101 to 105.
[0149] Based on the above-mentioned robust distribution network method, an embodiment of the present invention further proposes a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the robust distribution network method based on predicted load and distributed power output as described in any one of steps 101 to 105.
[0150] Through the above examples, the robust distribution network method based on predicted load and distributed power output provided by the present invention first determines the load value of all network nodes in the current power grid network structure; if the load value of any node in the current power grid network structure exceeds the preset load, the load of the future time period of the power grid is predicted based on historical data to obtain the load data of all network nodes in the future time period; then the load data of all network nodes in the current time period and the load data of all network nodes in the future time period are clustered by clustering algorithm to obtain the load data of k cluster centers. These k cluster centers represent the types of load data of all nodes in the distribution network in each time period in the future time period.
[0151] Then, a dynamic structure model of the power grid is constructed according to the load data of k cluster centers. The dynamic structure model is a model of the optimal dynamic structure with the highest proportion of distributed power output as the goal. Finally, the dynamic structure model is solved by a search algorithm to obtain the optimal solution corresponding to each cluster center. This optimal solution represents the dynamic adjustment result of the power grid network structure with the highest proportion of distributed power output as the goal, and the current power grid network structure is adjusted according to this optimal solution.
[0152] The present invention does not need to perform complex and extremely computationally intensive calculations on real-time load data. It only needs to find the load state of the corresponding cluster center, and then use the dynamic structure model corresponding to the cluster center to solve and obtain the optimal solution. The network structure of the power grid can be quickly and accurately adjusted to adapt to the dynamic changes in the load, thereby ensuring the reliable and efficient operation of the distribution network and achieving the goal of a strong distribution network. Ultimately, not only does it make the output of the distributed power source after the dynamic adjustment of the distribution network in actual operation account for the highest proportion, but the entire process has a small amount of calculation, simple calculation, and less calculation time. It can adapt well to the dynamically changing load and has a high practical value.
[0153] It should be noted that, in this article, the terms "include", "comprises" or any other variations 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 further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0154] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A robust distribution network method based on predicted load and distributed generation output, It is characterized in that The method for strengthening the power distribution network comprises: Determine the load value of any node in the entire network in the current power grid network structure; When the load value of any node in the current power grid network structure exceeds the preset load, a load forecast is performed on the load of the power grid in a future time period based on historical data to obtain load data of all nodes in the entire network in the future time period; Use clustering algorithm to cluster the load data of all current nodes and the load data of all nodes in the future time period to obtain the load data of k cluster centers; A dynamic structure model of the power grid is constructed according to the load data of the k cluster centers. The dynamic structure model is an optimal dynamic structure model with the highest output ratio of distributed power sources as the goal. The expression function c of the optimal dynamic structure model is: In this formula: where s represents time, W q (t) represents the load forecast value of any node at time t, W p (t) represents the output forecast value of the distributed power source at time t; Solving the dynamic structure model using a search algorithm to obtain an optimal solution corresponding to each cluster center, and adjusting the current power grid network structure according to the optimal solution, wherein the optimal solution represents a dynamic adjustment result of the power grid network structure with the goal of maximizing the output ratio of distributed power sources; The dynamic structure model is solved by using a search algorithm to obtain the optimal solution corresponding to each cluster center, including: For each cluster center, there are: Based on the dynamic structure model and in combination with the node parameter constraint condition, the Disjetra algorithm is used to obtain N samples, each of the N samples represents a combination of tie switches included in a dynamic structure of the power grid network structure; The performance of the N samples is estimated by a rough and fast-computing model, wherein the performance is estimated with the highest output proportion of the distributed power source as the goal; Arrange the estimated performances in ascending order and select the top m performances; An intersection operation is performed on the first m performances and the preset performance set to obtain an intersection performance or a close performance, wherein the close performance refers to a performance whose difference between any value of the first m performances and the preset performance set is less than a preset value; The samples corresponding to the intersection performance or the proximity performance are used as the optimal solutions corresponding to each of the cluster centers.
2. The method for strengthening the power distribution network according to claim 1, It is characterized in that The clustering algorithm is used to cluster the load data of all current nodes and the load data of all nodes in the future time period to obtain the load data of k cluster centers, including: Step S1: Divide the full time period to obtain a preset number of small time periods and set the probability, wherein the full time period refers to the time period from the current moment to the end moment of the future time period; Step S2: Based on the preset number of inter-cell time periods, four inter-cell time periods are selected as four initial cluster centers according to preset rules, and the four initial cluster centers are used as the initial cluster center set, wherein the preset rules are to divide the entire time period into four stages, each stage including a plurality of the inter-cell time periods, and one inter-cell time period is randomly selected from each of the four stages as the four inter-cell time periods, and the four stages are divided into time periods from the current moment to the end moment of the future time period in chronological order, including: a front-front middle stage, a front-middle stage, a middle-back middle stage, and a back-middle-end stage; Step S3: determining a cluster formed by multiple non-clustering centers according to the initial clustering center; Step S4: for each non-clustering center in the cluster except the initial clustering center of the cluster, the sum of the distances from the non-clustering center to all other non-clustering centers in the cluster is calculated, and a non-clustering center with the smallest sum of distances is used as a new initial clustering center to be determined in the cluster, and a set of new initial clustering centers to be determined is formed; Step S5: if the to-be-determined new initial cluster center set is the same as the initial cluster center set, determining the initial cluster center set to be the k cluster centers, and determining the load data corresponding to the k cluster centers; Step S6: if the pending new initial cluster center set is different from the initial cluster center set, then under the first probability, the pending new initial cluster center set is used to replace the initial cluster center set, and step S4 is continued; or, If the to-be-determined new initial cluster center set is different from the initial cluster center set, then under the second probability, the initial cluster center set is directly determined to be the k cluster centers, and the load data corresponding to the k cluster centers are determined.
3. The method for strengthening the power distribution network according to claim 2, It is characterized in that The output prediction value W of the distributed power source at time t p The expression of (t) is: W p (t)=W p1 (t)+W p2 (t) In the above formula, W pl (t) represents the predicted photovoltaic output value at time t, W p2 (t) represents the predicted value of wind turbine output at time t; Among them, the distributed power supply is equipped with an energy storage system, and the distributed power supply and its energy storage system and the power grid must comply with active power balance conditions, power purchase and sales constraints and energy storage system operation conditions.
4. The method for strengthening the power distribution network according to claim 3, It is characterized in that The expression of the active power balance condition is as follows: In the formula: n represents the number of the distributed power sources; W i W (t) represents the output power of the i-th distributed power source at time t, where the distributed power source is a wind turbine or a photovoltaic power plant; e,n (t) represents the charge and discharge power of the energy storage system at time t, e and n represent charge and discharge respectively, and the selection of their positive and negative signs is related to the charge and discharge state of the energy storage system; I 1 and I 2 Both represent a constant; W a1 (t) indicates that the output of the distributed power source at time t does not meet the power purchased from the grid by its own load, W a2 (t) represents the power sold by the distributed power source to the grid at time t; Δt represents the time period between cells; The expression of the power purchase and sale constraint condition is as follows: W a1min ≤W a1 (t)≤W a1max (1) W a2min ≤W a2 (t)≤W a2max (2) Wherein, formula (1) indicates that the output of the distributed power source at time t does not meet the upper and lower limits of the power purchased from the power grid by the self-carrying load; formula (2) indicates the upper and lower limits of the power sold by the distributed power source to the power grid at time t, min indicates the lower limit, and max indicates the upper limit; The expression of the energy storage system operating condition is as follows: S cmin ≤S c (t)≤S cmax (3) E min ≤E(t) (4) Wherein, formula (3) represents the charge S of the energy storage system at time t: c (t) must be at the maximum charge S cmax With minimum charge S cmin Formula (4) indicates that the remaining energy storage capacity E(t) of the energy storage system at time t must not be less than its minimum limit E min .
5. The method for strengthening the power distribution network according to claim 1, It is characterized in that The node parameter constraints include: voltage constraints of each node in the power grid, and capacity constraints of each branch in the power grid; The voltage constraints of each node in the power grid are: U min ≤U n (t)≤U max In this formula, U n (t) represents the voltage amplitude of any node at time t, U min and U max are the minimum and maximum voltage amplitudes of any node respectively; The capacity constraints of each branch in the power grid are: |Aj|≤A j max In this formula, A j represents the transmission power of any branch j, A j max Represents the maximum transmission power of any branch j.
6. The method for strengthening the power distribution network according to claim 2, It is characterized in that The value of the second probability is based on: A difference between the value 1 and the first probability is calculated, and the difference is used as the second probability.
7. An electronic device, It is characterized in that include: at least one processor; And, a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the robust distribution network method based on predicting load and distributed power output as described in any one of claims 1-6.
8. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, a robust distribution network method based on predicted load and distributed power output is implemented as described in any one of claims 1-6.
Citation Information
Patent Citations
Power distribution network random optimization scheduling method and device, and medium
CN110048420A
Regional-self-governed voltage control method for power distribution network with high proportion photovoltaic energy accessed and storage medium
CN113452033A
Trend load prediction method containing distributed photovoltaic and electric vehicle grid connection
CN113537575A
Power distribution network multi-time scale optimization scheduling method based on Q-learning photovoltaic prediction
CN113555870A
System and method for distribution load forecasting in a power grid
US20190067946A1
