Power distribution method and device, electronic equipment and storage medium
By determining and clustering distribution nodes and flexible nodes in the power system, and distributing the power of flexible nodes in response to power generation control instructions, the power scheduling difficulty of power system brought about by distributed energy generation is solved, and the power scheduling flexibility of the power system is improved.
Patent Information
- Application Number
- CN202411934912.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-11
AI Technical Summary
The randomness, intermittentness and volatility of distributed energy power generation increase the difficulty of power scheduling in the power system, resulting in the serious lack of flexibility in the power system during local time periods.
By determining the distributed nodes and flexible nodes in the target power grid, clustering to form a resource cluster, determining the adjustable power range of the flexible nodes and the power generation power of the distributed nodes, and distributing the power of the flexible nodes in response to the power generation control instructions.
It realizes flexible nodes to better participate in the power distribution of the target power grid, and improves the power scheduling flexibility of the power system during local periods.
Smart Images

Figure CN119813382A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of power transmission, and in particular to a power distribution method, device, electronic device, and storage medium. Background Art
[0002] In recent years, the development of distributed energy resources, such as wind and photovoltaic power generation, has received strong support to achieve sustainable development. However, the randomness, intermittency, and volatility of distributed energy generation complicate power system scheduling, resulting in a significant lack of flexibility in power scheduling during localized periods.
[0003] Flexibility resources can adjust the power generation capacity of the power system, but their small capacity, large scale, wide variety and relatively scattered distribution make it difficult for them to participate in the power distribution of the power system, which needs to be urgently addressed. Summary of the Invention
[0004] Embodiments of the present invention provide a power allocation method, device, electronic device, and storage medium to allocate power of flexible resources.
[0005] According to one aspect of the present invention, there is provided a power allocation method, comprising:
[0006] For a target power grid to be power-allocated, determine multiple distributed nodes based on distributed resource generation and multiple flexible nodes based on flexible resource generation in the target power grid, where distributed resources are resources whose generation power cannot be regulated and whose locations are dispersed, and flexible resources are resources whose generation power or energy storage power can be regulated;
[0007] Cluster multiple distributed nodes and multiple flexible nodes to obtain multiple resource clusters;
[0008] For each of the multiple resource clusters, determining a total adjustable power range of flexible nodes in the resource cluster that can adjust cluster power generation of the resource cluster and a distributed power generation power of distributed nodes;
[0009] In response to a power generation control instruction for a resource cluster, power is allocated to the flexible nodes in the resource cluster based on the distributed power generation and the total adjustable power range.
[0010] According to another aspect of the present invention, there is provided a power distribution device, comprising:
[0011] a flexible node determination module, configured to determine, for a target power grid to be power-allocated, a plurality of distributed nodes for power generation based on distributed resources and a plurality of flexible nodes for power generation based on flexible resources in the target power grid, wherein distributed resources are resources whose power generation cannot be regulated and whose locations are dispersed, and flexible resources are resources whose power generation or energy storage power can be regulated;
[0012] A resource cluster obtaining module is used to cluster multiple distributed nodes and multiple flexible nodes to obtain multiple resource clusters;
[0013] a distributed power generation determination module, configured to determine, for each of the plurality of resource clusters, a total adjustable power range within which flexible nodes in the resource cluster can adjust the cluster power generation of the resource cluster and the distributed power generation of the distributed nodes;
[0014] The power allocation module is configured to allocate power to the flexible nodes in the resource cluster based on the distributed power generation and the total adjustable power range in response to the power generation control instruction for the resource cluster.
[0015] According to another aspect of the present invention, there is provided an electronic device, comprising:
[0016] at least one processor; and a memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores a computer program that can be executed by at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform any power allocation method provided by any embodiment of the present invention.
[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, on which computer instructions are stored. The computer instructions are used to enable a processor to implement any power distribution method provided by any embodiment of the present invention when executed.
[0019] The technical solution of the embodiment of the present invention is to determine, for a target power grid to be power-allocated, a plurality of distributed nodes based on distributed resource power generation and a plurality of flexible nodes based on flexible resource power generation in the target power grid, wherein the distributed resources are resources whose power generation power cannot be regulated and whose locations are dispersed, and the flexible resources are resources whose power generation power or energy storage power can be regulated, so as to facilitate the subsequent integration of the distributed resources and the flexible resources; cluster the plurality of distributed nodes and the plurality of flexible nodes to obtain a plurality of resource clusters to integrate the distributed nodes and the flexible nodes; for each resource cluster in the plurality of resource clusters, determine the total adjustable power range within which the flexible nodes in the resource cluster can adjust the cluster power generation of the resource cluster and the distributed power generation of the distributed nodes, so as to facilitate the subsequent adjustment of the cluster power generation by power allocation to the flexible nodes; and in response to a power generation control instruction for the resource cluster, perform power allocation to the flexible nodes in the resource cluster based on the distributed power generation power and the total adjustable power range. In the above technical solution, after clustering the distributed nodes and the flexible nodes to obtain the resource cluster, power allocation to the flexible nodes is performed based on the power generation control instruction and the distributed power generation, so as to enable the flexible nodes to better participate in the power allocation of the target power grid.
[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 is a flow chart of a power allocation method provided according to an embodiment of the present invention;
[0023] Figure 2 is a flow chart of another power allocation method provided according to an embodiment of the present invention;
[0024] Figure 3 is a power allocation flow chart according to a specific example of another power allocation method provided in an embodiment of the present invention;
[0025] Figure 4 is a structural block diagram of a power distribution device provided according to an embodiment of the present invention;
[0026] Figure 5It is a structural diagram of an electronic device for implementing the power distribution method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described 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 making creative efforts should fall within the scope of protection of the present invention.
[0028] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. The situations of "target", "original", etc. are similar and will not be repeated here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or that are inherent to these processes, methods, products or devices.
[0029] Figure 1 This is a flow chart of a power distribution method provided by an embodiment of the present invention. This embodiment is applicable to distributing power in a target power grid. This method can be performed by a power distribution device provided by an embodiment of the present invention. This device can be implemented using software and / or hardware and can be integrated into an electronic device, such as various user terminals or servers.
[0030] See also Figure 1 The method of the embodiment of the present invention specifically includes the following steps:
[0031] S110. For the target power grid to be power-allocated, determine a plurality of distributed nodes for power generation based on distributed resources and a plurality of flexible nodes for power generation based on flexible resources in the target power grid, wherein the distributed resources are resources whose power generation power cannot be regulated and whose locations are dispersed, and the flexible resources are resources whose power generation power or energy storage power can be regulated.
[0032] Distributed resources can be understood as those whose power generation is significantly affected by the environment, cannot be manually controlled, and are relatively dispersed, such as wind and solar energy. Distributed nodes can be understood as nodes in the target power grid that utilize distributed resources for power generation.
[0033] Flexible resources can be understood as power generation resources that can flexibly generate or store energy based on the actual power demand of the target grid, such as electric vehicles, energy storage facilities, controllable loads, and heat pumps. Flexible nodes can be understood as nodes in the target grid that use flexible resources for power generation or storage.
[0034] Determine a plurality of distribution nodes based on distributed resource power generation and a plurality of flexible nodes based on flexible resource power generation in a target power grid.
[0035] S120: Cluster the multiple distribution nodes and the multiple flexible nodes to obtain multiple resource clusters.
[0036] Due to the limitations of the natural environment, distributed nodes are relatively scattered in the target power grid. Furthermore, since flexible nodes have the characteristics of small capacity, large scale, and a wide variety, in order to integrate distributed nodes and flexible nodes, they can be clustered into multiple resource clusters.
[0037] S130 : For each resource cluster among the multiple resource clusters, determine a total adjustable power range within which flexible nodes in the resource cluster can adjust cluster power generation of the resource cluster and a distributed power generation power of distributed nodes.
[0038] The total adjustable power range can be understood as the range within which all flexible nodes in a resource cluster can adjust the resource cluster's output power. Because flexible nodes can flexibly generate and store energy, they can adjust the power generation of their respective resource clusters. When the resource cluster's power generation is low, the flexible nodes generate power, increasing the cluster's power generation. When the resource cluster's power generation is high, the flexible nodes store energy, reducing the cluster's power generation.
[0039] Distributed power generation can be understood as the power generation of distributed nodes in a resource cluster. Distributed power generation is subject to significant constraints from the natural environment and is subject to high volatility.
[0040] S140 : In response to the power generation control instruction for the resource cluster, allocate power to the flexible nodes in the resource cluster based on the distributed power generation power and the total adjustable power range.
[0041] The power generation control instruction can be understood as an instruction issued by the power system to the resource cluster for controlling the power generation power of the resource cluster. The power generation power of the resource cluster needs to meet the power requirement of the power generation control instruction.
[0042] The power generation control instructions can be used to obtain the required output power of the resource cluster. By comparing the required output power with the distributed power generation, the power generation power that is lacking or exceeded at the distributed nodes can be obtained. Then, within the total adjustable power range, power can be adjusted by allocating power to the flexible nodes, so that the output power of the resource cluster can meet the requirements of the power generation control instructions to the greatest extent possible.
[0043] The technical solution of the embodiment of the present invention is to determine, for a target power grid to be power-allocated, a plurality of distributed nodes based on distributed resource power generation and a plurality of flexible nodes based on flexible resource power generation in the target power grid, wherein the distributed resources are resources whose power generation power cannot be regulated and whose locations are dispersed, and the flexible resources are resources whose power generation power or energy storage power can be regulated, so as to facilitate the subsequent integration of the distributed resources and the flexible resources; cluster the plurality of distributed nodes and the plurality of flexible nodes to obtain a plurality of resource clusters to integrate the distributed nodes and the flexible nodes; for each resource cluster in the plurality of resource clusters, determine the total adjustable power range within which the flexible nodes in the resource cluster can adjust the cluster power generation of the resource cluster and the distributed power generation of the distributed nodes, so as to facilitate the subsequent adjustment of the cluster power generation by power allocation to the flexible nodes; and in response to a power generation control instruction for the resource cluster, perform power allocation to the flexible nodes in the resource cluster based on the distributed power generation power and the total adjustable power range. In the above technical solution, after clustering the distributed nodes and the flexible nodes to obtain the resource cluster, power allocation to the flexible nodes is performed based on the power generation control instruction and the distributed power generation, so as to enable the flexible nodes to better participate in the power allocation of the target power grid.
[0044] An optional technical solution clusters multiple distribution nodes and multiple flexible nodes to obtain multiple resource clusters, including: obtaining the distribution characteristics of each distribution node in the multiple distribution nodes, and obtaining the flexible characteristics of each flexible node in the multiple flexible nodes, and obtaining a feature set based on all the obtained distribution characteristics and flexible characteristics; granulating each feature in the feature set to obtain particles and particle vectors corresponding to the feature; and clustering the multiple distribution nodes and multiple flexible nodes based on all the obtained particles and particle vectors to obtain multiple resource clusters.
[0045] Among them, the distribution characteristics can be understood as the characteristics that characterize the power characteristics of the distribution nodes in the target power grid; the flexible characteristics can be understood as the characteristics that characterize the power characteristics of the distribution nodes in the target power grid. Optionally, the power characteristics can reflect the degree of correlation between the load voltage fluctuation in the target power grid and the electrical distance between each node (including the distribution nodes and the flexible nodes), as well as the source-load coordination characteristics between nodes (including the distribution nodes and the flexible nodes). The feature set can be obtained by integrating all the distribution characteristics and flexible characteristics, which can be expressed by the following formula:
[0046]
[0047] ΔU=(L-KH -1 N) -1 ΔQ
[0048]
[0049] Among them, the feature set is the node voltage-reactive sensitivity matrix, ΔU is the voltage amplitude of the target grid, ΔP is the active power of the target grid, ΔQ is the reactive power of the target grid, and Δθ is the phase angle change of the target grid; H is the partial derivative of the active power of the target grid with respect to the phase angle change, N is the partial derivative of the reactive power of the target grid with respect to the phase angle change, K is the partial derivative of the active power with respect to the voltage amplitude, and L is the partial derivative of the reactive power with respect to the voltage amplitude; P i sup represents the supply value of active power of node i, P i dem represents the active power demand value of node i, represents the reactive power supply value of node i, represents the reactive power demand value of node i, and j is the node connected to node i among the distributed nodes and flexible nodes.
[0050] After obtaining the feature set, to better cluster distributed nodes and flexible nodes based on their features, each feature in the feature set can be granulated to obtain corresponding particles and particle vectors. Finally, based on all the obtained particles and particle vectors, a clustering algorithm, such as the K-medoids clustering algorithm, is used to cluster multiple distributed nodes and multiple flexible nodes to obtain multiple resource clusters.
[0051] The above technical solution can optimally cluster distributed nodes and flexible nodes through feature sets.
[0052] Another optional technical solution is to determine the total adjustable power range of the flexible nodes in the resource cluster that can adjust the cluster power generation power of the resource cluster, including: for each flexible node in the resource cluster, determining the constraint inequality used to constrain the operating power and operating status of the flexible node, and determining the adjustable capacity range of the flexible node based on the constraint inequality; based on the obtained total adjustable capacity range, determining the total adjustable power range of the flexible nodes in the resource cluster.
[0053] For each flexible node, a constraint inequality for the flexible node can be constructed based on the operating power of the flexible node, such as the maximum energy storage power, minimum energy storage power, maximum power generation power, and minimum power generation power, as well as the operating status of the flexible node, such as the maximum energy storage and start / stop conditions. The constraint inequality can then be processed to determine the adjustable capacity range of the flexible node. Optionally, the constraint inequality can be processed based on a Chino polyhedron model to determine the adjustable capacity range of the flexible node to improve the accuracy of the adjustable capacity range. Finally, all the obtained adjustable capacity ranges can be integrated. Optionally, all the adjustable capacity ranges can be aggregated into a total adjustable power range using the Minkowski and constraint space superposition methods.
[0054] The above technical solution can obtain a total adjustable power range that conforms to actual conditions based on the operating power and operating status of the flexible node.
[0055] Figure 2 This is a flow chart of another power allocation method provided in an embodiment of the present invention. This embodiment is optimized based on the above-mentioned technical solutions. In this embodiment, power allocation to flexible nodes in a resource cluster is optionally performed based on the distributed power generation and the total adjustable power range, including: determining the deviation between the required power generation and the distributed power generation in the power generation control instruction; and allocating power to the flexible nodes based on the numerical relationship between the deviation and the total adjustable power range. The explanations of terms that are identical or corresponding to those in the above-mentioned embodiments are not repeated here.
[0056] See also Figure 2 The method of this embodiment may specifically include the following steps:
[0057] S210. For the target power grid to be power-allocated, determine a plurality of distributed nodes for power generation based on distributed resources and a plurality of flexible nodes for power generation based on flexible resources in the target power grid, wherein the distributed resources are resources whose power generation power cannot be regulated and whose locations are dispersed, and the flexible resources are resources whose power generation power or energy storage power can be regulated.
[0058] S220: Cluster the multiple distribution nodes and the multiple flexible nodes to obtain multiple resource clusters.
[0059] S230 : For each resource cluster among the multiple resource clusters, determine a total adjustable power range of the flexible nodes in the resource cluster that can adjust the cluster power generation of the resource cluster and the distributed power generation of the distributed nodes.
[0060] S240 : In response to a power generation control instruction for a resource cluster, determine a deviation value between the required power generation power and the distributed power generation power in the power generation control instruction.
[0061] The required power generation can be understood as the power generation required by the resource cluster. The deviation value is then obtained by subtracting the distributed power generation from the required power generation.
[0062] S250 : Allocate power to the flexible nodes based on the numerical relationship between the deviation value and the total adjustable power range.
[0063] Among them, the power generation power that the flexible node needs to output or the energy storage power that needs to be performed can be determined based on the numerical relationship between the deviation value and the total adjustable power range, thereby allocating power to the flexible node.
[0064] The technical solution of the embodiment of the present invention can accurately determine the power generation power that the flexible node needs to output or the energy storage power that needs to be performed by calculating the deviation value, thereby achieving accurate distribution of the power of the flexible node.
[0065] An optional technical solution, wherein the total adjustable power range includes the maximum power generation power and the maximum energy storage power; based on the numerical relationship between the deviation value and the total adjustable power range, power is allocated to the flexible nodes according to the maximum power generation power, including: when the numerical relationship indicates that the deviation value is positive and greater than the maximum power generation power, power is allocated to the flexible nodes according to the maximum power generation power; when the numerical relationship indicates that the deviation value is positive and less than the maximum power generation power, a power allocation weight factor is determined for each flexible node in the resource cluster, and power is allocated to the power generation power of the flexible nodes in the resource cluster based on the power allocation weight factor;
[0066] When the numerical relationship represents a negative deviation value and the absolute value of the negative value is greater than the maximum energy storage power, the power of the flexible nodes in the resource cluster is allocated according to the maximum energy storage power; when the numerical relationship represents a negative deviation value and the absolute value of the negative value is less than the maximum energy storage power, the energy storage power of the flexible nodes in the resource cluster is allocated based on the power allocation weight factor.
[0067] If the deviation is positive and greater than the maximum power generation, it indicates that the demanded power generation is greater than the distributed power generation and exceeds the total adjustable power range. In this case, to minimize the difference between the cluster power generation and the demanded power generation, it is necessary to allocate power to the flexible nodes according to their maximum power generation.
[0068] If the deviation value is positive and less than the maximum power generation, it indicates that the required power generation is greater than the distributed power generation, but still within the total adjustable power range. To better allocate power to flexible nodes and reduce power generation costs, a power allocation weight factor can be determined for each flexible node in the resource cluster. Based on the power allocation weight factor, the power generation power of the flexible nodes in the resource cluster is allocated to meet the required power generation at the lowest power generation cost.
[0069] If the deviation is negative and its absolute value is greater than the maximum energy storage power, it indicates that the demanded power generation is less than the distributed power generation and exceeds the total adjustable power range. To minimize the difference between the cluster power generation and the demanded power generation, it is necessary to allocate power to the flexible nodes according to the maximum energy storage power to maximize the storage of distributed power and reduce the difference between the cluster power generation and the demanded power generation.
[0070] When the deviation value is negative and the absolute value of the negative value is less than the maximum energy storage power, it indicates that the required power generation power is less than the distributed power generation power, but is still within the total adjustable power range. At this time, the energy storage power of the flexible nodes in the resource cluster can be allocated based on the power allocation weight factor to meet the required power generation power with the lowest energy storage cost.
[0071] The above technical solution can accurately allocate the power of flexible nodes according to actual needs.
[0072] On this basis, optionally, the power allocation weight factor of each flexible node in the resource cluster is determined, including: for each flexible node in the resource cluster, calculating the battery state of charge of the flexible node and obtaining the life decay rate parameter of the flexible node, so as to determine the power allocation weight factor of the flexible node based on all the obtained battery state of charge and life decay rate parameters.
[0073] For each flexible node, the battery state of charge of the flexible node can be calculated and the life decay rate parameter of the flexible node can be obtained. Based on all the obtained battery state of charge and life decay rate parameters, the power allocation weight factor of the flexible node can be determined. The specific formula is as follows:
[0074]
[0075] in, represents the power allocation weight factor of the flexible node; Current energy storage for flexible nodes; Rated energy storage for flexible nodes; and They represent the charge status of different flexible nodes in the resource cluster at time t respectively; is the life decay rate parameter; is the state of charge of the flexible node.
[0076] The above technical solution can realize accurate calculation of power allocation weight factors.
[0077] In order to better understand the above technical solutions, the following is an illustrative description with reference to specific examples. Figure 3 The specific steps are as follows:
[0078] Step 1: Divide the target power grid into resource clusters based on the granular K-medoids clustering algorithm
[0079] 1. Obtain the distribution features of each distribution node and the flexible features of each flexible node. All distribution features and flexible features can be integrated to obtain a feature set.
[0080] 2. Granulate each feature in the feature set to obtain corresponding particles and particle vectors. Based on all the obtained particles and particle vectors, cluster multiple distributed nodes and multiple flexible nodes using the K-medoids clustering algorithm to obtain multiple resource clusters.
[0081] Step 2: Determine the total adjustable power range of flexible nodes in the resource cluster based on the Chino polyhedron model
[0082] 1. For each flexible node, a constraint inequality for the flexible node can be constructed based on the maximum energy storage power, minimum energy storage power, maximum power generation power, and minimum power generation power of the flexible node, as well as the operating status of the flexible node, including maximum energy storage capacity and start / stop conditions.
[0083] 2. Based on the Chino polyhedron model, the constraint inequality is processed to determine the adjustable capacity range of the flexible node. All adjustable capacity ranges are aggregated into a total adjustable power range through the Minkowski and constraint space superposition methods.
[0084] Step 3: Power allocation strategy for distributed nodes
[0085] 1. When the deviation value is positive and greater than the maximum power generation, it indicates that the demanded power generation is greater than the distributed power generation and exceeds the total adjustable power range. The power of the flexible node is allocated according to the maximum power generation.
[0086] 2. If the deviation value is positive and less than the maximum power generation, it indicates that the demanded power generation is greater than the distributed power generation, but is still within the total adjustable power range. Based on the power allocation weight factor, the power generation of the flexible nodes in the resource cluster is allocated.
[0087] 3. When the deviation value is negative and the absolute value of the negative value is greater than the maximum energy storage power, it indicates that the required power generation power is less than the distributed power generation power and exceeds the total adjustable power range. The power of the flexible node is allocated according to the maximum energy storage power.
[0088] 4. If the deviation is negative and its absolute value is less than the maximum energy storage power, it indicates that the required power generation is less than the distributed power generation, but is still within the total adjustable power range. Based on the power allocation weight factor, the energy storage power of the flexible nodes in the resource cluster is allocated.
[0089] In the above specific example, after clustering the distributed nodes and flexible nodes to obtain the resource cluster, power is allocated to the flexible nodes based on the power generation control instructions and the distributed power generation power, so that the flexible nodes can better participate in the power distribution of the target power grid.
[0090] Figure 4 This is a structural block diagram of a power distribution device provided in an embodiment of the present invention, which is used to execute the power distribution method provided in any of the above embodiments. This device and the power distribution method of the above embodiments belong to the same inventive concept. For details not fully described in the embodiment of the power distribution device, please refer to the embodiment of the above power distribution method. Figure 4 The device may specifically include: a flexible node determination module 310, a resource cluster acquisition module 320, a distributed power generation determination module 330 and a power allocation module 340.
[0091] A flexible node determination module 310 is configured to determine, for a target power grid to be power-allocated, a plurality of distributed nodes for generating power based on distributed resources and a plurality of flexible nodes for generating power based on flexible resources in the target power grid, wherein distributed resources are resources whose generated power cannot be regulated and whose locations are dispersed, and flexible resources are resources whose generated power or stored power can be regulated;
[0092] A resource cluster obtaining module 320 is configured to cluster multiple distributed nodes and multiple flexible nodes to obtain multiple resource clusters;
[0093] a distributed power generation determination module 330 for determining, for each of the plurality of resource clusters, a total adjustable power range within which flexible nodes in the resource cluster can adjust the cluster power generation of the resource cluster and a distributed power generation power of distributed nodes;
[0094] The power allocation module 340 is configured to allocate power to the flexible nodes in the resource cluster based on the distributed power generation and the total adjustable power range in response to the power generation control instruction for the resource cluster.
[0095] An optional power distribution module 340 includes:
[0096] a deviation value determination submodule, used to determine the deviation value between the required power generation power and the distributed power generation power in the power generation control instruction;
[0097] The power allocation submodule is used to allocate power to the flexible nodes based on the numerical relationship between the deviation value and the total adjustable power range.
[0098] On this basis, the optional, adjustable total power range includes the maximum power generation power and the maximum energy storage power, and the power distribution submodule includes:
[0099] The first power allocation unit is configured to allocate power to the flexible node according to the maximum power generation power when the deviation value represented by the numerical relationship is positive and greater than the maximum power generation power;
[0100] a second power allocation unit, configured to determine a power allocation weight factor for each flexible node in the resource cluster when the numerical relationship representation deviation value is a positive value and less than the maximum generated power, and to allocate the generated power of the flexible nodes in the resource cluster based on the power allocation weight factor;
[0101] A third power allocation unit is configured to allocate power to the flexible nodes in the resource cluster according to the maximum energy storage power when the numerical relationship representation deviation value is a negative value and the absolute value of the negative value is greater than the maximum energy storage power;
[0102] The fourth power allocation unit is used to allocate the energy storage power of the flexible nodes in the resource cluster based on the power allocation weight factor when the numerical relationship representation deviation value is negative and the absolute value of the negative value is less than the maximum energy storage power.
[0103] On this basis, optionally, the second power distribution unit includes:
[0104] The power allocation weight factor determination subunit is used to calculate the battery state of charge of each flexible node in the resource cluster and obtain the life decay rate parameter of the flexible node, so as to determine the power allocation weight factor of the flexible node based on all the battery state of charge and life decay rate parameters obtained.
[0105] Alternatively, the resource cluster obtaining module 320 includes:
[0106] a feature set obtaining submodule for obtaining, for each of the plurality of distributed nodes, a distribution feature of the distribution node, and for each of the plurality of flexible nodes, a flexible feature of the flexible node, and obtaining a feature set based on all the obtained distribution features and flexible features;
[0107] The particle vector obtaining submodule is used to granulate each feature in the feature set and obtain the particles and particle vectors corresponding to the feature;
[0108] The resource cluster obtaining submodule is used to cluster multiple distribution nodes and multiple flexible nodes based on all the obtained particles and particle vectors to obtain multiple resource clusters.
[0109] Alternatively, the distributed power generation determining module 330 includes:
[0110] An adjustable capacity range determination submodule is used to determine, for each flexible node in the resource cluster, a constraint inequality for constraining the operating power and operating state of the flexible node, and determine the adjustable capacity range of the flexible node based on the constraint inequality;
[0111] The submodule for determining the total adjustable power range is used to determine the total adjustable power range of the flexible nodes in the resource cluster based on the obtained total adjustable capacity range.
[0112] On this basis, the optional, adjustable capacity range determination submodule includes:
[0113] The adjustable capacity range determining unit is used to process the constraint inequality based on the Qino polyhedron model and determine the adjustable capacity range of the flexible node.
[0114] The power distribution device provided by the embodiment of the present invention determines, through a flexible node determination module, a plurality of distributed nodes based on distributed resource power generation and a plurality of flexible nodes based on flexible resource power generation in the target power grid to be power distributed, wherein the distributed resources are resources whose power generation power cannot be regulated and whose locations are dispersed, and the flexible resources are resources whose power generation power or energy storage power can be regulated, so as to facilitate the subsequent integration of distributed resources and flexible resources; through a resource cluster acquisition module, a plurality of distributed nodes and a plurality of flexible nodes are clustered to obtain a plurality of resource clusters to integrate the distributed nodes and the flexible nodes; through a distributed power generation determination module, for each resource cluster in the plurality of resource clusters, the total adjustable power range in which the flexible nodes in the resource cluster can adjust the cluster power generation power of the resource cluster and the distributed power generation power of the distributed nodes are determined, so as to facilitate the subsequent adjustment of the cluster power generation power by power allocation to the flexible nodes; through a power allocation module, in response to a power generation control instruction for the resource cluster, power is allocated to the flexible nodes in the resource cluster based on the distributed power generation power and the total adjustable power range. The above device, after clustering the distributed nodes and flexible nodes to obtain resource clusters, allocates power to the flexible nodes based on power generation control instructions and distributed power generation power, so that the flexible nodes can better participate in the power distribution of the target power grid.
[0115] The power distribution device provided in the embodiment of the present invention can execute the power distribution method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0116] It is worth noting that in the embodiment of the above-mentioned power distribution device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0117] Figure 5 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0118] like Figure 5As shown, the electronic device 10 includes at least one processor 11, and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0119] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0120] The processor 11 may be any general-purpose and / or specialized processing component with processing and computing capabilities. Examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors for running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the power allocation method.
[0121] In some embodiments, the power allocation method may be implemented as a computer program that is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the power allocation method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the power allocation method in any other appropriate manner (e.g., by means of firmware).
[0122] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0123] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0124] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0125] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0126] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0127] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.
[0128] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0129] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A power distribution method, characterized in that: include: For a target power grid to be power-allocated, a plurality of distribution nodes based on distributed resource power generation and a plurality of flexible nodes based on flexible resource power generation in the target power grid are determined, wherein the distributed resources are resources whose power generation power cannot be regulated and whose locations are dispersed, and the flexible resources are resources whose power generation power or energy storage power can be regulated; Clustering the plurality of distribution nodes and the plurality of flexible nodes to obtain a plurality of resource clusters; For each of the plurality of resource clusters, determining a total adjustable power range of the flexible nodes in the resource cluster that can adjust the cluster power generation of the resource cluster and a distributed power generation of the distributed nodes; In response to a power generation control instruction for the resource cluster, power is allocated to the flexible nodes in the resource cluster based on the distributed power generation and the total adjustable power range.
2. The method according to claim 1, characterized in that The allocating power to the flexible nodes in the resource cluster based on the distributed power generation and the total adjustable power range includes: Determining a deviation value between the required power generation in the power generation control instruction and the distributed power generation; Power is allocated to the flexible node based on a numerical relationship between the deviation value and the total adjustable power range.
3. The method according to claim 2, characterized in that The total adjustable power range includes a maximum power generation power and a maximum energy storage power; and the power allocation to the flexible node based on the numerical relationship between the deviation value and the total adjustable power range includes: When the numerical relationship indicates that the deviation value is a positive value and is greater than the maximum power generation power, power is allocated to the flexible node according to the maximum power generation power; In a case where the numerical relationship represents that the deviation value is a positive value and is less than the maximum power generation power, determining a power allocation weight factor of each of the flexible nodes in the resource cluster, and performing power allocation on the power generation power of the flexible nodes in the resource cluster based on the power allocation weight factor; When the numerical relationship indicates that the deviation value is a negative value and the absolute value of the negative value is greater than the maximum energy storage power, power is allocated to the flexible nodes in the resource cluster according to the maximum energy storage power; When the numerical relationship indicates that the deviation value is negative and the absolute value of the negative value is less than the maximum energy storage power, the energy storage power of the flexible nodes in the resource cluster is allocated based on the power allocation weight factor.
4. The method according to claim 3, characterized in that The determining of the power allocation weight factor of each of the flexible nodes in the resource cluster includes: For each of the flexible nodes in the resource cluster, the battery state of charge of the flexible node is calculated and the life decay rate parameter of the flexible node is obtained, so as to determine the power allocation weight factor of the flexible node based on all the battery state of charge and the life decay rate parameters obtained.
5. The method according to claim 1, characterized in that The clustering of the plurality of distribution nodes and the plurality of flexible nodes to obtain a plurality of resource clusters includes: For each of the plurality of distribution nodes, a distribution feature of the distribution node is obtained, and for each of the plurality of flexible nodes, a flexible feature of the flexible node is obtained, and a feature set is obtained based on all the obtained distribution features and flexible features; For each feature in the feature set, granulate the feature to obtain particles and particle vectors corresponding to the feature; Based on all the obtained particles and particle vectors, a plurality of the distributed nodes and a plurality of the flexible nodes are clustered to obtain a plurality of resource clusters.
6. The method according to claim 1, characterized in that The determining of the total adjustable power range of the flexible node in the resource cluster that can adjust the cluster power generation of the resource cluster includes: For each of the flexible nodes in the resource cluster, determining a constraint inequality for constraining an operating power and an operating state of the flexible node, and determining an adjustable capacity range of the flexible node based on the constraint inequality; Based on all the obtained adjustable capacity ranges, a total adjustable power range of the flexible nodes in the resource cluster is determined.
7. The method according to claim 6, characterized in that The determining the adjustable capacity range of the flexible node based on the constraint inequality includes: Based on the Chino polyhedron model, the constraint inequality is processed to determine the adjustable capacity range of the flexible node.
8. A power distribution device, characterized in that: include: A flexible node determination module, for determining, for a target power grid to be subjected to power allocation, a plurality of distributed nodes for power generation based on distributed resources and a plurality of flexible nodes for power generation based on flexible resources in the target power grid, wherein the distributed resources are resources whose power generation power cannot be regulated and whose locations are dispersed, and the flexible resources are resources whose power generation power or energy storage power can be regulated; A resource cluster obtaining module, used for clustering the plurality of the distributed nodes and the plurality of the flexible nodes to obtain a plurality of resource clusters; A distributed power generation determination module, configured to determine, for each of the plurality of resource clusters, a total adjustable power range within which the flexible nodes in the resource cluster can adjust the cluster power generation of the resource cluster and the distributed power generation of the distributed nodes; A power allocation module is used to respond to a power generation control instruction for the resource cluster and allocate power to the flexible nodes in the resource cluster based on the distributed power generation and the total adjustable power range.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the power allocation method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the power allocation method as described in any one of claims 1 to 7 when executed.