Power dispatching method and system based on virtual power plant
By using multiple link parameter expressions and water cycle algorithms in virtual power plants to accurately calculate and schedule power requirements of power grid endpoints, the problem of inaccurate power scheduling in the existing technology is solved, especially in dealing with the instability of new energy. More efficient and stable power scheduling is achieved.
Patent Information
- Application Number
- CN202411199774.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2044-08-29
AI Technical Summary
The prior art is difficult to accurately determine the power requirements of each link endpoint in the power grid, and it is unable to effectively deal with power changes caused by the instability of new energy, resulting in inaccurate power scheduling.
The power scheduling method based on virtual power plants is used to calculate the power requirements of the power grid endpoint through multiple link parameter expressions, and the water cycle algorithm is used to find the optimal solution, considering the similarity between the voltage and current transmission characteristics and the water flow characteristics. At the same time, power imbalance in the new energy system is dealt with through backup redundant units and virtual power compensation devices.
It realizes accurate determination of power requirements for the endpoints of the power grid link, improves the accuracy of power scheduling, can better cope with power changes caused by the instability of new energy, and enhances the stability and safety of the power grid.
Smart Images

Figure CN119401381A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power dispatching, and more specifically, to a power dispatching method and system based on a virtual power plant. Background Art
[0002] In order to promote the development of comprehensive energy in my country, vigorously developing distributed energy will be the development focus of my country's energy industry. It is urgent to accelerate the transformation of energy structure and improve the utilization rate of distributed energy. The effective form of aggregating distributed resources is virtual power plant, which can provide an effective development path for energy. Virtual power plant connects decentralized independent energy production equipment through the Internet and intelligent technology to form a unified energy network. By integrating a large number of adjustable power loads in the power grid, it joins power dispatching to achieve effective peak shaving and valley filling, provide power auxiliary services, and enhance the security of the power grid. In order to achieve accurate power dispatching and meet supply and demand requirements, determining the power requirements of each link endpoint in the power grid is the key to achieving power dispatching. In the prior art, the determination method of the power demand of the power supply link endpoint considers a single factor, and it is impossible to accurately determine the power demand of each link endpoint. Therefore, it is impossible to accurately control power dispatching according to the power demand of the link endpoint to achieve supply and demand balance. In addition, after the new energy is incorporated into the power grid, it will fluctuate randomly according to the on-site conditions such as wind energy and solar energy, which will also affect the power dispatching of the virtual power plant. However, the virtual power plant dispatching scheme of the prior art does not consider the power changes caused by the instability of new energy. Summary of the invention
[0003] In response to the above problems, the present invention proposes a power dispatching method and system based on a virtual power plant, which can accurately determine the power demand of each link endpoint in the power grid based on multiple link parameters, and consider the similarity between the transmission characteristics of link voltage and current and water flow characteristics to optimize the power demand of each link endpoint based on the water circulation algorithm, and consider the impact of power changes caused by the instability of new energy on power dispatching, so as to obtain a more accurate power dispatching plan, so that the virtual power plant can better contribute to energy development.
[0004] To achieve the above object, the present invention proposes the following technical solutions:
[0005] In a first aspect, the present invention provides a power dispatching method based on a virtual power plant, comprising:
[0006] S1. Calculate the power demand of the distribution network endpoint in the t+1th time period within the cycle based on the multi-link parameter expression:
[0007]
[0008] in, and They represent the average power and virtual power that need to flow into endpoint i in the t+1th time period within the cycle, which represents the overall value of the average power and virtual power flowing to endpoint i from multiple links connected to endpoint i;
[0009] in, and They represent the average power and virtual power flowing through link ij in the tth time period within the cycle, and They represent the average power and virtual power flowing out of endpoint i in the tth time period within the cycle respectively;
[0010] in, represents the current flowing through link ij in the tth time period within the cycle, R ij and X ij Respectively represent the resistance and reactance values of link ij;
[0011] Where a(i) represents the endpoint set with endpoint i as the end point of the link, and b(i) represents the endpoint set with endpoint i as the beginning point of the link.
[0012] in, and They represent the terminal voltages of endpoints i and j of link ij in the tth time period within the cycle, θ ij is the voltage phase angle difference between endpoint i and endpoint j;
[0013] Wherein, ω1, ω2, ω3, ω4 represent weight coefficients respectively, where i = 1, 2…N, j = 1, 2…N, N is the total number of grid endpoints;
[0014] S2. Calculate the distribution network endpoint voltage and endpoint current based on the distribution network endpoint voltage and endpoint current expressions:
[0015]
[0016] S3. Based on the water cycle algorithm, the formulas (1)-(4) are optimized and solved to obtain the average power flowing into the endpoint i in the t+1th time period within the cycle: and virtual power Where i = 1, 2...N, N is the total number of grid endpoints;
[0017] S4, virtual power plant based on the average power flowing into terminal i in step S3 and virtual power The prediction results realize the power supply of each endpoint in the power grid in the t+1th time period within the cycle, i=1, 2...N;
[0018] S5. Calculate the total average power P required by the grid endpoint in the t+1th time period within the cycle t+1 And the total virtual power Q t+1 ,
[0019] They are:
[0020]
[0021]
[0022] S6, according to the new energy power connected to the grid, the grid power and the average power value P in the above step S5 t+1 And the total virtual power Q t+1 The relationship between and determines the constraints that the average power and virtual power of the wind-power system and the photovoltaic system connected to the grid in the new energy system need to meet in the t+1th time period within the cycle:
[0023]
[0024] in, and They represent the average power and virtual power provided by the wind-power system connected to the grid in the t+1th time period within the cycle, and They represent the average power and virtual power provided by the photovoltaic system connected to the grid in the t+1th time period within the cycle, and They represent the average power and virtual power provided by the power grid in the t+1th time period within the cycle respectively;
[0025] S7, determine whether the average power and virtual power provided by the wind-power system and photovoltaic system connected to the grid in the t+1th time period within the cycle meet the above constraints (7) and (8). If so, execute step S8; if not, execute step S9;
[0026] S8, storing the remaining power and electricity in the t+1th time period in the cycle in the energy storage device, where the remaining average power and electricity And the remaining virtual power is
[0027]
[0028] S9: Turn on the redundant standby units in the power grid to provide balanced power And start the virtual power compensation device to provide virtual power compensation So that:
[0029]
[0030] In the t+1th time period of the current cycle, the new energy system will cause power imbalance due to random fluctuations, and the backup redundant units in the power grid need to be turned on to provide balanced power that satisfies formula (11): To balance the average power imbalance caused by the new energy system; at the same time, it is necessary to turn on the virtual power compensation device to provide virtual power compensation that satisfies formula (12) To compensate for the virtual power imbalance caused by the new energy system;
[0031] In a second aspect, the present invention provides a system for power dispatching based on a virtual power plant, comprising:
[0032] The first calculation module calculates the power demand of the distribution network endpoint in the t+1th time period within the cycle based on the multi-link parameter expression:
[0033]
[0034] in, and They represent the average power and virtual power that need to flow into endpoint i in the t+1th time period within the cycle, which represents the overall value of the average power and virtual power flowing to endpoint i from multiple links connected to endpoint i;
[0035] in, and They represent the average power and virtual power flowing through link ij in the tth time period within the cycle, and They represent the average power and virtual power flowing out of endpoint i in the tth time period within the cycle respectively;
[0036] in, represents the current flowing through link ij in the tth time period within the cycle, R ij and X ij Respectively represent the resistance and reactance values of link ij;
[0037] Where a(i) represents the endpoint set with endpoint i as the end point of the link, and b(i) represents the endpoint set with endpoint i as the beginning point of the link.
[0038] in, and They represent the terminal voltages of endpoints i and j of link ij in the tth time period within the cycle, θ ij is the voltage phase angle difference between endpoint i and endpoint j;
[0039] Wherein, ω1, ω2, ω3, ω4 represent weight coefficients respectively, where i = 1, 2…N, j = 1, 2…N, N is the total number of grid endpoints;
[0040] The second calculation module calculates the distribution network endpoint voltage and endpoint current based on the distribution network endpoint voltage and endpoint current expressions:
[0041]
[0042] The optimization solution module optimizes formulas (1)-(4) based on the water cycle algorithm to obtain the average power flowing into endpoint i in the t+1th time period within the cycle. and virtual power Where i = 1, 2, ... N;
[0043] The power supply control module, the virtual power plant, is based on the average power flowing into the endpoint i in step S3 and virtual power The prediction results realize the power supply of each endpoint in the power grid in the t+1th time period within the cycle, where i=1, 2...N;
[0044] The third calculation module calculates the average total power value P of the power grid endpoint in the t+1th time period within the cycle. t+1 And the total virtual power Q t+1 , respectively:
[0045]
[0046] The constraint condition determination module determines the power of the new energy source connected to the grid, the grid power, and the average power value P in the above step S5. t+1 And the total virtual power Q t+1 The relationship between and determines the constraints that the average power and virtual power of the wind-power system and the photovoltaic system in the new energy system that are connected to the grid in the t+1th time period within the cycle need to meet:
[0047]
[0048]
[0049] in, and They represent the average power and virtual power provided by the wind-power system connected to the grid in the t+1th time period within the cycle, and They represent the average power and virtual power provided by the photovoltaic system connected to the grid in the t+1th time period within the cycle, and They represent the average power and virtual power provided by the power grid in the t+1th time period within the cycle respectively;
[0050] A judgment module is used to judge whether the average power and virtual power provided by the wind-electric system and the photovoltaic system connected to the power grid in the t+1th time period within the cycle meet the above constraints (7) and (8). If so, the energy storage control module works; if not, the power balancing control module works;
[0051] The energy storage control module stores the remaining power and electricity in the t+1th time period in the cycle in the energy storage device, where the remaining average power and electricity And the remaining virtual power is
[0052]
[0053] The power balancing control module starts the redundant standby units in the power grid to provide balanced power. And start the virtual power compensation device to provide virtual power compensation So that:
[0054]
[0055] In the t+1th time period of the current cycle, the new energy system will cause power imbalance due to random fluctuations, and the backup redundant units in the power grid need to be turned on to provide balanced power that satisfies formula (11): To balance the average power imbalance caused by the new energy system; at the same time, it is necessary to turn on the virtual power compensation device to provide virtual power compensation that satisfies formula (12) To compensate for the virtual power imbalance caused by the new energy system;
[0056] In a third aspect, the present invention provides an electronic device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is executed by the processor to implement a power dispatching method based on a virtual power plant provided in the first aspect of the present invention;
[0057] In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program executable by a processor is stored, and the computer program is executed by the processor to implement a power dispatching method based on a virtual power plant provided in the first aspect of the present invention;
[0058] Compared with the prior art, the present invention has the following beneficial effects:
[0059] The present invention proposes a power dispatching method and system based on a virtual power plant, which can determine the power demand of each link endpoint in the power grid in the next time period within the cycle based on the multiple link parameters of the current time period within the cycle, so that the power demand of each link endpoint can be determined more accurately, so that the virtual power plant can provide power auxiliary services more accurately when performing power dispatching of each endpoint of the power grid based on the power demand of each link endpoint; and considering the similarity between the voltage and current transmission characteristics and the water flow characteristics, the power demand expression determined based on the multiple parameters of the link is optimized and solved based on the water circulation algorithm; and considering the impact of power changes caused by the instability of new energy on power dispatching, the virtual power compensation is realized by enabling the standby redundancy to provide balanced power and the virtual power compensation device to make up for the power imbalance caused by the random fluctuation of new energy, thereby obtaining a more accurate power dispatching plan, so that the virtual power plant can better contribute to energy development. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 A flowchart of a power dispatching method based on a virtual power plant according to an embodiment of the present invention; and
[0061] Figure 2 It is a structural diagram of a power dispatching system based on a virtual power plant according to an embodiment of the present invention. DETAILED DESCRIPTION
[0062] Now, exemplary embodiments of the present invention are described with reference to the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are provided to disclose the present invention in detail and completely and to fully convey the scope of the present invention to those skilled in the art. The terms used in the exemplary embodiments shown in the accompanying drawings are not intended to limit the present invention. In the accompanying drawings, the same units / elements are marked with the same reference numerals.
[0063] Unless otherwise specified, the terms (including technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it is understood that the terms defined in commonly used dictionaries should be understood to have the same meanings as those in the context of the relevant fields, and should not be understood as idealized or overly formal meanings.
[0064] Embodiment 1:
[0065] The present invention proposes a power dispatching method based on a virtual power plant, such as Figure 1 As shown, including:
[0066] S1. Calculate the power demand of the distribution network endpoint in the t+1th time period within the cycle based on the multi-link parameter expression:
[0067]
[0068] in, and They represent the average power and virtual power that need to flow into endpoint i in the t+1th time period within the cycle, which represents the overall value of the average power and virtual power flowing to endpoint i from multiple links connected to endpoint i;
[0069] in, and They represent the average power and virtual power flowing through link ij in the tth time period within the cycle, represents the current flowing through link ij in the tth time period within the cycle;
[0070] Among them, R ij and X ij Respectively represent the resistance value and reactance value of link ij, the resistance value and reactance value of each link can be stored in the memory of the virtual power plant in the form of a matrix in advance, and read therefrom when performing calculation;
[0071] in, and They represent the average power and virtual power flowing out of endpoint i in the tth time period within the cycle, respectively, which represent the overall value of the average power and virtual power flowing out from endpoint i to multiple links connected to it;
[0072] Wherein a(i) represents the endpoint set with endpoint i as the end endpoint of the link. Specifically, for links a→i, b→i, c→i…, endpoint i is the end endpoint of the link. Therefore, endpoints a, b, c… all belong to set a(i); b(i) represents the endpoint set with endpoint i as the beginning endpoint of the link. For links i→d, i→e, i→f…, endpoint i is the beginning endpoint of the link. Therefore, endpoints d, e, f… all belong to set b(i); the set a(i) and set b(i) corresponding to each link endpoint are pre-stored in the memory of the virtual power plant, and the corresponding set a(i) and set b(i) are read when calculating the power demand for endpoint i;
[0073] in, and They represent the terminal voltages of endpoints i and j of link ij in the tth time period within the cycle; θ ij is the voltage phase angle difference between endpoint i and endpoint j. More specifically, it can be obtained by obtaining the voltage phase angle θ of endpoint i. i The voltage phase angle θ at the end point j j , and is obtained by calculating the difference between the two, that is, θ ij =θ i -θ j ;
[0074] Wherein, ω1, ω2, ω3, and ω4 represent weight coefficients, which characterize the different degrees of contribution made by multiple link parameters in determining the power requirements of link endpoints, where ω1+ω2=1, ω3+ω4=1;
[0075] Where i = 1, 2...N, j = 1, 2...N, N is the total number of grid endpoints;
[0076] Preferably, it can be set that 24 hours a day is a cycle, and specifically each hour can be selected as a time period, so that a cycle can be divided into 24 time periods;
[0077] S2. Calculate the distribution network endpoint voltage and endpoint current based on the distribution network endpoint voltage and endpoint current expressions:
[0078]
[0079] S3. Based on the water cycle algorithm, the formulas (1)-(4) are optimized and solved to obtain the average power that needs to flow into the endpoint i in the t+1th time period within the cycle: and virtual power Where i = 1, 2...N, N is the total number of grid endpoints;
[0080] Among them, the water cycle algorithm is a heuristic search algorithm known in the prior art, which is inspired by the water cycle process in nature. By simulating the natural flow process of water, the optimal path or solution to solve the problem is found by simulating this flow. The present invention is based on the similarity between the transmission characteristics of voltage and current on the link and the water flow characteristics. Based on the water cycle algorithm, the power demand expression and the endpoint voltage and current expression described in the above formulas (1)-(4) are optimized and solved to obtain the optimal solution for the power demand of the link endpoint in the next time period t+1 within the cycle;
[0081] S4, virtual power plant based on the average power flowing into terminal i in step S3 and virtual power The prediction results realize the power supply of each endpoint in the power grid in the t+1th time period within the cycle, i=1, 2...N;
[0082] After the above steps S1-S3, the optimal solution of the power demand of each of the N link endpoints in the power grid in the t+1th time period within the cycle is obtained. Therefore, the virtual power plant allocates power to each link endpoint based on its power demand to achieve reasonable power dispatch;
[0083] S5. Calculate the average total power value P of the power grid endpoint in the t+1th time period within the cycle t+1 And the total virtual power Q t+1 , respectively:
[0084]
[0085] S6, according to the new energy power connected to the grid, the grid power and the average power value P in the above step S5 t+1 And the total virtual power Q t+1 The relationship between and determines the constraints that the average power and virtual power of the wind-power system and the photovoltaic system in the new energy system that are connected to the grid in the t+1th time period within the cycle need to meet:
[0086]
[0087]
[0088] in, and They represent the average power and virtual power provided by the wind-power system connected to the grid in the t+1th time period within the cycle, and They represent the average power and virtual power provided by the photovoltaic system connected to the grid in the t+1th time period within the cycle, and Respectively represent the average power and virtual power provided by the power grid in the t+1th time period within the cycle; According to the above constraints (7) and (8), the new energy power connected to the power grid includes the power provided by the wind-power system and the power provided by the photovoltaic system, wherein the sum of the power provided by the wind-power system connected to the power grid, the power provided by the photovoltaic system and the power provided by the power grid should be greater than or equal to the total power demand value of each link endpoint of the power grid, so as to meet the power supply of each link endpoint;
[0089] S7, determine whether the average power and virtual power provided by the wind-power system and photovoltaic system connected to the grid in the t+1th time period within the cycle meet the above constraints (7) and (8). If so, execute step S8; if not, execute step S9;
[0090] After being connected to the grid, new energy will fluctuate randomly according to the conditions of wind energy, solar energy, etc. on site, which will affect the power dispatch of the virtual power plant. Its instability will cause an imbalance in the power provided by the wind-power system and the photovoltaic system, resulting in a reduction in the power connected to the grid, which cannot meet the power requirements of each link endpoint. In the t+1th time period of the cycle, if the above constraints (7) (8) are met, it means that the new energy system can basically maintain stability in the t+1th time period of the current cycle without causing power imbalance. If the above constraints (7) (8) are not met, it means that the new energy system will cause power imbalance due to random fluctuations in the t+1th time period of the current cycle.
[0091] S8, storing the remaining power and electricity in the t+1th time period in the cycle in the energy storage device, where the remaining average power and electricity And the remaining virtual power is
[0092]
[0093] S9: Turn on the redundant standby units in the power grid to provide balanced power And start the virtual power compensation device to provide virtual power compensation So that:
[0094]
[0095] In the t+1th time period of the current cycle, the new energy system will cause power imbalance due to random fluctuations, and the backup redundant units in the power grid need to be turned on to provide balanced power that satisfies formula (11): To balance the average power imbalance caused by the new energy system; at the same time, it is necessary to turn on the virtual power compensation device to provide virtual power compensation that satisfies formula (12) To compensate for the virtual power imbalance caused by the new energy system;
[0096] Embodiment 2:
[0097] The present invention proposes a power dispatching system 200 based on a virtual power plant, such as Figure 2 As shown, including:
[0098] The first calculation module calculates the power demand of the distribution network endpoint in the t+1th time period within the cycle based on the multi-link parameter expression:
[0099]
[0100] in, and They represent the average power and virtual power that need to flow into endpoint i in the t+1th time period within the cycle, which represents the overall value of the average power and virtual power flowing to endpoint i from multiple links connected to endpoint i;
[0101] in, and They represent the average power and virtual power flowing through link ij in the tth time period within the cycle, represents the current flowing through link ij in the tth time period within the cycle;
[0102] Among them, R ij and X ijRespectively represent the resistance value and reactance value of link ij, the resistance value and reactance value of each link can be stored in the memory of the virtual power plant in the form of a matrix in advance, and read therefrom when performing calculation;
[0103] in, and They represent the average power and virtual power flowing out of endpoint i in the tth time period within the cycle, respectively, which represent the overall value of the average power and virtual power flowing out from endpoint i to multiple links connected to it;
[0104] Wherein a(i) represents the endpoint set with endpoint i as the end endpoint of the link. Specifically, for links a→i, b→i, c→i…, endpoint i is the end endpoint of the link. Therefore, endpoints a, b, c… all belong to set a(i); b(i) represents the endpoint set with endpoint i as the beginning endpoint of the link. For links i→d, i→e, i→f…, endpoint i is the beginning endpoint of the link. Therefore, endpoints d, e, f… all belong to set b(i). The set a(i) and set b(i) corresponding to each link endpoint are pre-stored in the memory of the virtual power plant. When calculating the power demand for endpoint i, the corresponding set a(i) and set b(i) are read.
[0105] in, and They represent the terminal voltages of endpoints i and j of link ij in the tth time period within the cycle; θ ij is the voltage phase angle difference between endpoint i and endpoint j. More specifically, it can be obtained by obtaining the voltage phase angle θ of endpoint i. i The voltage phase angle θ at the end point j j , and is obtained by calculating the difference between the two, that is, θ ij =θ i -θ j ;
[0106] Wherein, ω1, ω2, ω3, and ω4 represent weight coefficients, which characterize the different degrees of contribution made by multiple link parameters in determining the power requirements of link endpoints, where ω1+ω2=1, ω3+ω4=1;
[0107] Where i = 1, 2...N, j = 1, 2...N, N is the total number of grid endpoints;
[0108] Preferably, it can be set that 24 hours a day is a cycle, and specifically each hour can be selected as a time period, so that a cycle can be divided into 24 time periods;
[0109] The second calculation module calculates the distribution network endpoint voltage and endpoint current based on the distribution network endpoint voltage and endpoint current expressions:
[0110]
[0111] The optimization solution module optimizes formulas (1)-(4) based on the water cycle algorithm to obtain the average power flowing into endpoint i in the tth time period within the cycle. and virtual power Where i = 1, 2...N, N is the total number of grid endpoints;
[0112] Among them, the water cycle algorithm is a heuristic search algorithm known in the prior art, which is inspired by the water cycle process in nature. By simulating the natural flow process of water, the optimal path or solution to solve the problem is found by simulating this flow. The present invention is based on the similarity between the transmission characteristics of voltage and current on the link and the water flow characteristics. Based on the water cycle algorithm, the power demand expression and the endpoint voltage and current expression described in the above formulas (1)-(4) are optimized and solved to obtain the optimal solution for the power demand of the link endpoint in the next time period t+1 within the cycle;
[0113] The power supply control module, the virtual power plant, is based on the average power flowing into the endpoint i in step S3 and virtual power The prediction results are used to realize the power supply to each end point in the power grid, i = 1, 2...N;
[0114] After the above steps S1-S3, the optimal solution of the power demand of each of the N link endpoints in the power grid in the t+1th time period within the cycle is obtained. Therefore, the virtual power plant allocates power to each link endpoint based on its power demand to achieve reasonable power dispatch;
[0115] The third calculation module calculates the average total power value P of the power grid endpoint in the t+1th time period within the cycle. t+1 And the total virtual power Q t+1 , respectively:
[0116]
[0117] The constraint condition determination module determines the power of the new energy source connected to the grid, the grid power, and the average power value P in the above step S5. t+1 And the total virtual power Q t+1 The relationship between and determines the constraints that the average power and virtual power of the wind-power system and the photovoltaic system in the new energy system that are connected to the grid in the t+1th time period within the cycle need to meet:
[0118]
[0119] in, and They represent the average power and virtual power provided by the wind-power system connected to the grid in the t+1th time period within the cycle, and They represent the average power and virtual power provided by the photovoltaic system connected to the grid in the t+1th time period within the cycle, and Respectively represent the average power and virtual power provided by the power grid in the t+1th time period within the cycle; According to the above constraints (7) and (8), the new energy power connected to the power grid includes the power provided by the wind-power system and the power provided by the photovoltaic system, wherein the sum of the power provided by the wind-power system connected to the power grid, the power provided by the photovoltaic system and the power provided by the power grid should be greater than or equal to the total power demand value of each link endpoint of the power grid, so as to meet the power supply of each link endpoint;
[0120] A judgment module is used to judge whether the average power and virtual power provided by the wind-electric system and the photovoltaic system connected to the power grid in the t+1th time period within the cycle meet the above constraints (7) and (8). If so, the energy storage control module works; if not, the power balancing control module works;
[0121] After being connected to the grid, new energy will fluctuate randomly according to the conditions of wind energy, solar energy, etc. on site, which will affect the power dispatch of the virtual power plant. Its instability will cause an imbalance in the power provided by the wind-power system and the photovoltaic system, resulting in a reduction in the power connected to the grid, which cannot meet the power requirements of each link endpoint. In the t+1th time period of the cycle, if the above constraints (7) (8) are met, it means that the new energy system can basically maintain stability in the t+1th time period of the current cycle without causing power imbalance. If the above constraints (7) (8) are not met, it means that the new energy system has caused power imbalance due to random fluctuations in the t+1th time period of the current cycle.
[0122] The energy storage control module stores the remaining power and electricity in the t+1th time period in the cycle in the energy storage device, where the remaining average power and electricity And the remaining virtual power is
[0123]
[0124]
[0125] The power balancing control module starts the redundant standby units in the power grid to provide balanced power. And start the virtual power compensation device to provide virtual power compensation So that:
[0126]
[0127]
[0128] In the t+1th time period of the current cycle, the new energy system will cause power imbalance due to random fluctuations, and the backup redundant units in the power grid need to be turned on to provide balanced power that satisfies formula (11): To balance the average power imbalance caused by the new energy system; at the same time, it is necessary to turn on the virtual power compensation device to provide virtual power compensation that satisfies formula (12) To compensate for the virtual power imbalance caused by the new energy system;
[0129] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The schemes in the embodiments of the present invention may be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0130] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0131] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0132] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0133] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0134] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A power dispatching method based on a virtual power plant, characterized in that: The steps include: S1. Calculate the power demand of the distribution network endpoint in the t+1th time period within the cycle based on the multi-link parameter expression: in, and They represent the average power and virtual power that need to flow into endpoint i in the t+1th time period within the cycle, which represents the overall value of the average power and virtual power flowing to endpoint i from multiple links connected to endpoint i; in, and They represent the average power and virtual power flowing through link ij in the tth time period within the cycle, represents the current flowing through link ij in the tth time period within the cycle; Among them, R ij and X ij Respectively represent the resistance and reactance values of link ij; in, and They represent the average power and virtual power flowing out of endpoint i in the tth time period within the cycle respectively; Where a(i) represents the endpoint set with endpoint i as the end point of the link; b(i) represents the endpoint set with endpoint i as the beginning point of the link; in, and They represent the terminal voltages of endpoints i and j of link ij in the tth time period within the cycle; θ ij is the voltage phase angle difference between endpoint i and endpoint j; Among them, ω1, ω2, ω3, and ω4 represent weight coefficients, respectively, where ω1+ω2=1, ω3+ω4=1; Where i = 1, 2...N, j = 1, 2...N, N is the total number of grid endpoints; S2. Calculate the distribution network endpoint voltage and endpoint current based on the distribution network endpoint voltage and endpoint current expressions: S3. Based on the water cycle algorithm, the formulas (1)-(4) are optimized and solved to obtain the average power that needs to flow into the endpoint i in the t+1th time period within the cycle: and virtual power Where i = 1, 2...N, N is the total number of grid endpoints; S4, virtual power plant based on the average power flowing into terminal i in step S3 and virtual power The prediction results are used to realize the power supply of each endpoint in the power grid in the t+1th time period within the cycle, i=1, 2...N.
2. The power dispatching method based on virtual power plant according to claim 1, characterized in that: It also includes the following steps: S5. Calculate the total average power P required by the grid endpoint in the t+1th time period within the cycle t+1 And the total virtual power Q t+1 , respectively: S6, according to the new energy power connected to the grid, the grid power and the average power value P in the above step S5 t+1 And the total virtual power Q t+1 The relationship between and determines the constraints that the average power and virtual power of the wind-power system and the photovoltaic system connected to the grid in the new energy system need to meet in the t+1th time period within the cycle: in, and They represent the average power and virtual power provided by the wind-power system connected to the grid in the t+1th time period within the cycle, and They represent the average power and virtual power provided by the photovoltaic system connected to the grid in the t+1th time period within the cycle, and They represent the average power and virtual power provided by the power grid in the t+1th time period within the cycle respectively; S7, determine whether the average power and virtual power provided by the wind-power system and photovoltaic system connected to the grid in the t+1th time period within the cycle meet the above constraints (7) and (8). If so, execute step S8; if not, execute step S9; S8, storing the remaining power and electricity in the t+1th time period in the cycle in the energy storage device, where the remaining average power and electricity And the remaining virtual power is S9: Turn on the redundant standby units in the power grid to provide balanced power And start the virtual power compensation device to provide virtual power compensation So that:
3. The power dispatching method based on virtual power plant according to claim 1 or 2, characterized in that: The resistance and reactance values of the link are pre-stored in the memory in the form of a matrix.
4. The power dispatching method based on a virtual power plant according to claim 1 or 2, characterized in that: The set a(i) and the set b(i) corresponding to the endpoints are both pre-stored in the memory.
5. The power dispatching method based on a virtual power plant according to claim 1 or 2, characterized in that: By obtaining the voltage phase angle θ of terminal i i The voltage phase angle θ at the end point j j , and the voltage phase angle difference θ between endpoints i and j is obtained by calculating the difference between the two ij .
6. A power dispatching system based on a virtual power plant, running the power dispatching method of a power plant as claimed in any one of claims 1 to 5, characterized in that: The system comprises: The first calculation module calculates the power demand of the distribution network endpoint in the t+1th time period within the cycle based on the multi-link parameter expression: in, and They represent the average power and virtual power that need to flow into endpoint i in the t+1th time period within the cycle, which represents the overall value of the average power and virtual power flowing to endpoint i from multiple links connected to endpoint i; in, and They represent the average power and virtual power flowing through link ij in the tth time period within the cycle, represents the current flowing through link ij in the tth time period within the cycle; Among them, R ij and X ij Respectively represent the resistance and reactance values of link ij; in, and They represent the average power and virtual power flowing out of endpoint i in the tth time period within the cycle respectively; Where a(i) represents the endpoint set with endpoint i as the end point of the link; b(i) represents the endpoint set with endpoint i as the beginning point of the link; in, and They represent the terminal voltages of endpoints i and j of link ij in the tth time period within the cycle; θ ij is the voltage phase angle difference between endpoint i and endpoint j; Among them, ω1, ω2, ω3, and ω4 represent weight coefficients, respectively, where ω1+ω2=1, ω3+ω4=1; Where i = 1, 2...N, j = 1, 2...N, N is the total number of grid endpoints; The second calculation module calculates the distribution network endpoint voltage and endpoint current based on the distribution network endpoint voltage and endpoint current expressions: The optimization solution module optimizes formulas (1)-(4) based on the water cycle algorithm to obtain the average power that needs to flow into endpoint i in the t+1th time period within the cycle. and virtual power Where i = 1, 2...N, N is the total number of grid endpoints; The power supply control module, the virtual power plant, is based on the average power flowing into the endpoint i in step S3 and virtual power The prediction results are used to realize the power supply of each endpoint in the power grid in the t+1th time period within the cycle, i=1, 2...N.
7. The power dispatching system based on virtual power plant according to claim 6 is characterized in that: The system further comprises: The third calculation module calculates the average total power value P of the power grid endpoint in the t+1th time period within the cycle. t+1 And the total virtual power Q t+1 , respectively: The constraint condition determination module determines the power of the new energy source connected to the grid, the grid power, and the average power value P in the above step S5. t+1 And the total virtual power Q t+1 The relationship between and determines the constraints that the average power and virtual power of the wind-power system and the photovoltaic system in the new energy system that are connected to the grid in the t+1th time period within the cycle need to meet: in, and They represent the average power and virtual power provided by the wind-power system connected to the grid in the t+1th time period within the cycle, and They represent the average power and virtual power provided by the photovoltaic system connected to the grid in the t+1th time period within the cycle, and They represent the average power and virtual power provided by the power grid in the t+1th time period within the cycle respectively; A judgment module is used to judge whether the average power and virtual power provided by the wind-electric system and the photovoltaic system connected to the power grid in the t+1th time period within the cycle meet the above constraints (7) and (8). If so, the energy storage control module works; if not, the power balancing control module works; The energy storage control module stores the remaining power and electricity in the t+1th time period in the cycle in the energy storage device, where the remaining average power and electricity And the remaining virtual power is The power balancing control module starts the redundant standby units in the power grid to provide balanced power. And start the virtual power compensation device to provide virtual power compensation So that:
8. An electronic device comprising a memory and at least one processor; wherein: The memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the at least one processor to implement the steps of any one of claims 1-5.
9. A computer-readable storage medium having stored thereon one or more computer-readable computer instructions, characterized in that: The one or more computer instructions are executed by a processor to implement the steps of the method of any one of claims 1-5.
10. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Virtual power plant power adjusting method based on wind energy and luminous energy
CN107017668A
Virtual power plant control method and system for regional power grid voltage optimization
CN115411742A
Construction method of new energy power system capacity scheduling model considering virtual power plant
CN117200345A