This patent disclosure claims the benefit and priority of Chinese Patent Application No. 2022107593765, filed with the China National Intellectual Property Administration on Jun. 30, 2022, the disclosure of which is incorporated by reference herein in its entirety as part of the present disclosure.
The present disclosure relates to the technical field of a virtual power plant (VPP), and specifically, to a two-stage self-organizing optimized aggregation method and system for distributed resources of a VPP.
As distributed energy resources (DERs) such as a wind power resource, a photovoltaic resource, and an electric automobile grow by leaps, there will be massive DERs connected to a distribution network in various forms in the future. Although the DERs make up an increasing proportion in the distribution network, advantages of the DERs are difficult to be fully and effectively utilized. The DERs have high dispersion, uncertainty, and heterogeneity, which makes it difficult for a large number of small-capacity DERs such as a distributed power supply, a controllable load, and an electric automobile to directly participate in regulation of a power grid. For an indirect regulation mode based on an electricity price, due to a small capacity, each individual DER generally has a small impact on a power system, and often achieves a small economic benefit through participation in the regulation of the power grid. Therefore, the individual DER has low enthusiasm for participating in the regulation. For a direct regulation mode in which a DER directly participates in system scheduling, a system operator needs to solve a complex high-dimensional optimization model, which brings a large computational burden, thereby reducing operational efficiency and failing to ensure efficient and orderly operation of the power system. Therefore, resource aggregation is a key to regulate the DERs in the distribution network and improve energy utilization. As an effective means of aggregating the DERs, a VPP utilizes advanced metering, communication, control, and other technologies to achieve energy aggregation, energy supply, energy consumption, and energy storage without changing grid-connected modes and geographical locations of the DERs, effectively connects the DERs and the power system to achieve resource integration, distribution, and reorganization, and directly participates in scheduling and operation of the power system as an aggregation entity. The VPP is an important way for a smart grid to achieve interaction and intelligentization on an energy supply side.
In view of this, the present disclosure provides a two-stage self-organization optimized aggregation method and system for distributed resources of a VPP.
The present disclosure resolves the technical problems with following technical solutions.
A two-stage self-organizing optimized aggregation method for distributed resources of a VPP includes following steps:
As a further improvement, the step S400 includes following steps:
As a further improvement, the step S500 includes following steps:
As a further improvement, the second-stage aggregation across the distribution transformer areas specifically includes following steps:
MinJ=Σt=1T{[(Σk=1K(CostVS,k(t)+CostESS,k(t))]+CostGrid(t)}
where CostVS,k(t) represents an operating cost of a virtual synchronous generator in a kth distribution transformer area; CostESS,k(t) represents an operating cost of a virtual energy storage model in the kth distribution transformer area; CostGrid(t) represents an overall cost of purchasing electricity by the VPP from an external power grid, where a positive value of CostGrid(t) indicates electricity purchasing, and a negative value of CostGrid(t) indicates electricity selling; T represents total duration obtained through time point statistics; and K represents a total quantity of distribution transformer areas participating in the aggregation;
As a further improvement, the distribution transformer area is a 400 V transformer area that includes a building, a community, a factory, and a school.
A system for implementing the above two-stage self-organizing optimized aggregation method for distributed resources of a VPP includes a distribution transformer area, a first-stage aggregation module, a second-stage aggregation module, an edge computing server, and a cloud end, where the edge computing server is deployed in the distribution transformer area, and the first-stage aggregation module includes a generalized load module, a centralized generator module, and a centralized energy storage module;
A computer device includes a memory and a processor, where the memory stores a computer program; and the processor executes the computer program to implement the steps of the above two-stage self-organizing optimized aggregation method for distributed resources of a VPP.
A computer-readable storage medium stores a computer program thereon, where the computer program is executed by a processor to implement the steps of the above two-stage self-organizing optimized aggregation method for distributed resources of a VPP.
The two-stage self-organizing optimized aggregation method and system for distributed resources of a VPP take a natural physical cluster composed of DERs in a distribution transformer area as a first stage, and perform aggregation by using an edge computing server deployed in the distribution transformer area; perform uncertainty modeling for power outputs of wind and solar energy in the entire distribution transformer area and a load curve of the distribution transformer area in the edge computing server based on historical data retrieved from a cloud end and a deep Bayesian network, and construct an hourly prediction model; construct, based on the hourly prediction model, a generalized transformer area load model including wind power, photovoltaic power, and a load; aggregate distributed gas turbines and generators of small hydropower stations in the distribution transformer area into a unified mathematical model for a power output of a virtual synchronous generator; and finally aggregate distributed energy storage devices in the distribution transformer area into a mathematical model for a capacity of a virtual centralized energy storage device. Upon the above process, first-stage aggregation oriented to the distribution transformer area is completed. Finally, all parameters of the generalized transformer area load model, the virtual synchronous generator model, and the virtual energy storage model are uploaded to the cloud end to complete second-stage aggregation across distribution transformer areas. The present disclosure can fully regulate the DERs in a distribution network and improve energy utilization.
The present disclosure is further described by using the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the present disclosure. For a person of ordinary skill in the art, other accompanying drawings can be further obtained based on following accompanying drawings without creative efforts.
To enable those skilled in the art to better understand the technical solutions of the present disclosure, the present disclosure will be further described in detail below with reference to the accompanying drawings.
In an embodiment, as shown in
1) Conduct first-stage aggregation oriented to a distribution transformer area, which specifically includes steps S100 to S500.
S100: Take a natural physical cluster composed of DERs in the distribution transformer area as a first stage, and perform aggregation by using an edge computing server deployed in the distribution transformer area.
It should be noted that the above distribution transformer area is preferably a 400V distribution transformer area that includes a building, a community, a factory, and a school. The natural physical cluster is a cluster composed of DERs including a distributed photovoltaic source, an energy storage resource, an electric automobile, and a distributed wind generator.
S200: Perform uncertainty modeling for power outputs of wind and solar energy in the entire distribution transformer area and a load curve of the distribution transformer area in the edge computing server based on historical data retrieved from a cloud end and a deep Bayesian network, and construct an hourly prediction model.
Specifically, the historical data includes load baseline data and data of power outputs of wind power generation and photovoltaic power generation.
S300: Construct, based on the hourly prediction model, a generalized transformer area load model including wind power, photovoltaic power, and a load.
S400: Aggregate distributed gas turbines and generators of small hydropower stations in the distribution transformer area into a unified mathematical model for a power output of a virtual synchronous generator.
S500: Aggregate distributed energy storage devices in the distribution transformer area into a mathematical model for a capacity of a virtual centralized energy storage device.
2) Conduct second-stage aggregation across distribution transformer areas: Upload all parameters of the generalized transformer area load model, the virtual synchronous generator model, and the virtual energy storage model to the cloud end for the second-stage aggregation.
Specifically, all the parameters of the virtual energy storage model include a capacity, an active power output, a reactive power output, and inertia and damping coefficients of the virtual synchronous generator.
The present partially implements, based on resource aggregation, self-organizing aggregation of DERs widely distributed in a distribution network, and proposes a two-stage aggregation mode for massive DERs based on geographical distribution characteristics, load densities, power consumption levels, and other factors of the DERs. First, a natural physical cluster composed of DERs in a 400 V distribution transformer area is taken as a first stage, and aggregation is performed by using an edge computing server deployed in the 400 V distribution transformer area. Then, considering randomness of the DERs and load volatility, an hourly prediction model is constructed for power outputs of wind and solar energy in the entire distribution transformer area and a load curve of the distribution transformer area in the edge computing server based on historical data retrieved from a cloud end and an uncertainty modeling method based on deep Bayesian network learning. Based on the hourly prediction model, a generalized transformer area load model including wind power, photovoltaic power, and a load is constructed. After that, distributed gas turbines and generators of small hydropower stations in the distribution transformer area are aggregated into a unified virtual synchronous generator model, and distributed energy storage devices in the distribution transformer area are aggregated into a centralized virtual energy storage model. Upon the above process, first-stage aggregation oriented to the distribution transformer area is completed. Finally, all parameters of the generalized transformer area load model, the virtual synchronous generator model, and the virtual energy storage model are uploaded to the cloud end to complete second-stage aggregation across distribution transformer areas. After the second-stage aggregation, the generalized transformer area load model, the virtual synchronous generator model, and the virtual energy storage model are applied to actual practice to optimize and schedule a real power system. The specific processes are as follows. The cloud-end scheduling platform calculates optimum powers distributed to the generalized transformer area load model, the virtual synchronous generator model, and the virtual energy storage model respectively with a goal of minimizing operating cost of the real power system, according to the uploaded parameters. The optimum powers are decomposed, to obtain powers of the wind power, the photovoltaic power, and the load contained in the generalized transformer area load model, powers of the distributed gas turbines and generators of small hydropower stations contained in the virtual synchronous generator model, and powers of the distributed energy storage devices contained in the virtual energy storage model respectively. With calculated powers as reference powers, charging components and discharging components of the wind power, the photovoltaic power and the load, the distributed gas turbines and generators of small hydropower stations, and the distributed energy storage devices of the real power system are controlled, such that the real power system after controlling can utilize energy reasonably and efficiently. Therefore, the present disclosure can fully regulate the DERs in the distribution network and improve energy utilization.
In an embodiment, the step S400 in which the distributed gas turbines and the generators of the small hydropower stations in the distribution transformer area are aggregated into the unified virtual synchronous generator model includes steps S401 to S403.
S401: Accumulate an upward ramp rate Rampi,up of a generator numbered i to obtain an upward rate Rampsum,up of the virtual synchronous generator, and accumulate a downward ramp rate Rampi,down of the generator numbered i to obtain a downward ramp rate Rampsum,down of the virtual synchronous generator, where Rampsum,up=Σi=1NRampi,up, Rampsum,down=Σi=1NRampi,down, and N is a positive integer greater than 0.
S402: Calculate upper and lower limits of a power output of a corresponding virtual synchronous generator at a time point t based on upward and downward ramp rates of each generator, where Pi,max(t)=Pi(t−1)+Δt×Rampi,up, Pi,min(t)=Pi(t−1)−Δt×Rampi,down, Pi,max(t)≤Pi,max, Pi,min(t)≤Pi,min, Pi,max(t) represents an upper limit of a power output of an ith virtual synchronous generator at the time point t, Pi,min(t) represents a lower limit of the power output of the ith virtual synchronous generator at the time point t, Δt represents a time difference between a previous time point and a current time point, Pi(t−1) represents a power output of the virtual synchronous generator at the previous time point, and Pi,max, and Pi,min respectively represent maximum upper and lower limits of a corresponding power output of the ith virtual synchronous generator.
S403: Accumulate upper and lower limits of a power output of each generator at the time point t to obtain a limit value of a total power output of the corresponding virtual synchronous generator at the time point t, namely, Pmax(t)=Σi=1NPi,max(t). Pmin(t)=Σi=1NPi,min(t), where Pmax(t) represents the upper limit of the power output of the virtual synchronous generator at the time point t, and Pmin(t) represents the lower limit of the power output of the virtual synchronous generator at the time point t; and finally obtain the mathematical model for the power output of the virtual synchronous generator.
In an embodiment, the step S500 includes steps S501 to S503.
S501: Accumulate a rated charging power Pessj,char_N of an energy storage device numbered j to obtain a maximum charging power Pesschar,max(t) of the virtual energy storage model, and accumulating a rated discharging power Pessj,disc_N of the energy storage device numbered j to obtain a maximum discharging power Pessdisc,max(t) of the virtual energy storage module, where Pesschar,max(t)=Σj=1MPessj,char_N, Pessdisc,max(t)=Σj=1MPessj,disc_N, and M is a positive integer greater than 0.
S502: Set an upper capacity limit of the energy storage device at the time point t to Ej,max(t)=Ej(t−1)+Δt×Pessj,char_N, where Ej(t−1) represents an upper capacity limit of the energy storage device at the previous time point, Ej,max(t)≤Ej,max, and Ej,max represents a maximum capacity of the energy storage device; and setting a lower capacity limit of the energy storage device at the time point t to Ej,min(t)=Ej(t−1)−Δt×Pessj,disc_N, where Ej,min(t)≥Ej,min, and Ej,min represents a minimum capacity of the energy storage device.
S503: Accumulate upper and lower capacity limits of each energy storage device at the time point t to obtain limit values Emax(t) and Emin(t) of a total capacity of a virtual energy storage device at the time point t, where Emax(t)=Σj=1MEj,max(t), Emin(t)=Σj=1MEj,min(t); and finally obtaining the centralized mathematical model for the capacity of the virtual energy storage model.
In an embodiment, the second-stage aggregation across the distribution transformer areas specifically includes steps S601 to S605.
S601: Construct an optimal scheduling model for supply-demand interaction within a VPP with an optimization goal of minimizing an internal operating cost of the VPP:
MinJ=Σt=1T{[(Σk=1K(CostVS,k(t)+CostESS,k(t))]+CostGrid(t)}
where CostVS,k(t) represents an operating cost of a virtual synchronous generator in a k distribution transformer area; CostESS,k(t) represents an operating cost of a virtual energy storage model in the kth distribution transformer area; CostGrid(t) represents an overall cost of purchasing electricity by the VPP from an external power grid, where a positive value of CostGrid(t) indicates electricity purchasing, and a negative value of CostGrid(t) indicates electricity selling; T represents total duration obtained through time point statistics; and K represents a total quantity of distribution transformer areas participating in the aggregation.
S602: Obtain an optimized operating dataset of the VPP based on the optimal scheduling model for supply-demand interaction within the VPP, and store output powers of each generalized transformer area load model, virtual energy storage model, and virtual synchronous generator in the dataset as preset values.
S603: Subtract an internal total load demand from power outputs of all power generating units within the VPP to obtain a remaining total active power output and a remaining energy storage capacity, calculate inertia and damping coefficients of a virtual synchronous generator with a corresponding active power output capacity based on the remaining total active power output and the remaining energy storage capacity, construct a mathematical model for the virtual synchronous generator based on the inertia and damping coefficients, take a total active power output of optimal scheduling models for supply-demand interaction within the VPP that have different capacity levels as an input of the mathematical model for the virtual synchronous generator, and combine the input and an output of the mathematical model for the virtual synchronous generator to form a training dataset.
Specifically, the power generating units include the gas turbine and the generator of the small hydropower station, and the total load demand is generalized load demand data obtained by adding up the load baseline data and the power outputs of the power outputs of the wind power generation and the photovoltaic power generation.
S604: Construct a deep reinforcement learning model by using a deep Q-learning algorithm, and obtain, through training, a capacity-adaptive VPP aggregation data model that simulates a characteristic of a real large virtual synchronous generator set.
S605: Upload the VPP aggregation data model to a cloud-end scheduling platform as a VPP model for the second-stage aggregation.
In conclusion, the present disclosure well regulates the DERs in a distribution network through two-stage aggregation, and achieves high energy utilization.
In an embodiment, a computer device is provided, including a memory and a processor, where the memory stores a computer program, and the computer program is executed by the processor to implement the steps of the two-stage self-organizing optimized aggregation method for distributed resources of a VPP.
In an embodiment, a computer-readable storage medium is provided, where the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the two-stage self-organizing optimized aggregation method for distributed resources of a VPP.
Those skilled in the art should understand that the embodiments of the present disclosure may be provided as a method, a system, or a computer program product. Therefore, the present disclosure may use a form of hardware only embodiments, software only embodiments, or embodiments with a combination of software and hardware. Moreover, the present disclosure may use a form of a computer program product that is implemented on one or more computer-readable storage media (including but not limited to a disk memory, a CD-ROM, an optical memory, and the like) that include computer-usable program code. The present disclosure is described with reference to the flowcharts and/or block diagrams of the method, the device (system), and the computer program product according to the embodiments of the present disclosure. It should be understood that computer program instructions may be used to implement each process and/or each block in the flowcharts and/or the block diagrams and a combination of a process and/or a block in the flowcharts and/or the block diagrams. These computer program instructions may be provided for a general-purpose computer, a dedicated computer, an embedded processor, or a processor of another programmable data processing device to generate a machine, such that the instructions executed by a computer or a processor of another programmable data processing device generate an apparatus for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams. These computer program instructions may be stored in a computer-readable memory that can instruct a computer or another programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate an artifact that includes an instruction apparatus. The instruction apparatus implements a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams. These computer program instructions may be loaded onto a computer or another programmable data processing device, such that a series of operations and steps are performed on the computer or the another programmable device, thereby generating computer-implemented processing. Therefore, the instructions executed on the computer or the another programmable device provide steps for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.
The above describes in detail the two-stage self-organization optimized aggregation method and system for distributed resources of a VPP in the present disclosure. Specific cases are used herein to illustrate the principle and implementation of the present disclosure, and the description of the above embodiments is only intended to help understand the core idea of the present disclosure. It should be noted that several improvements and modifications may be made by persons of ordinary skill in the art without departing from the principle of the present disclosure, and these improvements and modifications should also fall within the protection scope of the present disclosure.
| Number | Date | Country | Kind |
|---|---|---|---|
| 2022107593765 | Jun 2022 | CN | national |