METHOD OF ACCESSING DYNAMIC FLEXIBILITY FOR VIRTUAL POWER PLANT
20220173593 · 2022-06-02
Inventors
- Wenchuan WU (Beijing, CN)
- Siyuan Wang (Beijing, CN)
- Hongbin SUN (Beijing, CN)
- Bin Wang (Beijing, CN)
- Qinglai GUO (Beijing, CN)
Cpc classification
H02J2203/20
ELECTRICITY
H02J3/28
ELECTRICITY
International classification
H02J3/28
ELECTRICITY
G06F17/11
PHYSICS
Abstract
A method of assessing dynamic flexibility for a virtual power plant, which belongs to the technical field of operating and controlling a power system. The method equals a virtual power plant to an equivalent energy storage device and an equivalent generator and decouples a network constraint condition between the two types of devices through a Robust optimization method. Subsequently, by using a two-stage Robust optimization algorithm, parameters of the equivalent energy storage device and the equivalent generator are calculated and finally accurate depiction is realized on adjusting ability of a distributed resource, so as to provide a scientific decision basis for the virtual power plant to participate in grid control, such that it has a great value in an actual application.
Claims
1. A method of assessing dynamic flexibility for a virtual power plant, wherein the method comprises the following steps: A. setting an output power constraint condition for each of a gas turbine, an energy storage device, a photovoltaic power generation device, a wind generator device, a demand-side responsive heating load and an electric vehicle charging station, and building a distributed energy-resource model of a virtual power plant; B. setting a voltage magnitude, a current and an injection power in a virtual power plant network, thereby obtaining a network constraint condition of the virtual power plant, and building a power flow model for the virtual power plant network; C. defining the energy storage device, the demand-side responsive heating load and the electric vehicle charging station as energy-storage-type devices; defining the gas turbine, the photovoltaic power generation device and the wind generator device as generator-type devices; defining a decision variable vector consisting of output power of all distributed generation energy and resources, wherein a decision variable consisting of output active power of all energy-storage-type devices is P.sub.E, a decision variable consisting of output active power of all generator-type devices is P.sub.G, and a decision variable Q consisting of inactive power of all distributed energy-resource devices is defined; and extracting an operation constraint condition of energy-storage-type and generator-type distributed resources based on a Robust optimization method; D. solving a constraint parameter respectively for an equivalent energy-storage-type device and an equivalent generator-type device based on a two-stage robust optimization algorithm according to a parameter in the distributed energy-resource model for the virtual power plant in the step A, a parameter of the power flow model for the virtual power plant network in the step B, and the operation constraint condition of energy-storage-type and generator-type distributed resources in the step C; and E. obtaining an assessment result of flexibility for the virtual power plant based on the constraint parameter in the step D.
2. The method of assessing dynamic flexibility for a virtual power plant as claimed in claim 1, wherein the output power constraint condition of the gas turbine in the step A is:
−r.sub.i.sup.CHP≤P.sub.i,t.sup.CHP−P.sub.i,t−1.sup.CHP≤r.sub.i.sup.CHP (4) wherein r.sub.i.sup.CHP denotes a climbing parameter of the gas turbine at node i and P.sub.i,t−1.sup.CHP denotes an output active power of the ψ−phase gas turbine at node i at moment t−1.
3. The method of assessing dynamic flexibility for a virtual power plant as claimed in claim 1, wherein the output power constraint condition of the energy storage device in the step A is:
−
−
−√{square root over (2)}
√{square root over (2)}
E.sub.i.sup.ESS≤E.sub.i,t.sup.ESS≤E.sub.i.sup.ESS (12)
E.sub.i,t.sup.ESS=α.sub.i.sup.ESSE.sub.i,t−1.sup.ESS+P.sub.i,t.sup.ESSΔt (13) wherein E.sub.i,t.sup.ESS denotes energy of the energy storage device at moment t at node i; E.sub.i,t−1.sup.ESS denotes energy of the energy storage device at moment t−1 at node i; E.sub.i.sup.ESS denotes minimum energy of the energy storage device at node i; Ē.sub.i.sup.ESS denotes maximum energy of the energy storage device at node i; α.sub.i.sup.ESS denotes a self-discharge rate of the energy storage device at node i; and Δt denotes a time interval of two decision moments.
4. The method of assessing dynamic flexibility for a virtual power plant as claimed in claim 1, wherein the output power constraint condition of the photovoltaic power generation device in the step A is:
−
−
−√{square root over (2)}
−√{square root over (2)}.sub.i,ψ.sup.PV≤P.sub.i,ψ,t.sup.PV−Q.sub.i,ψ,t.sup.PV≤√{square root over (2)}
5. The method of assessing dynamic flexibility for a virtual power plant as claimed in claim 1, wherein the output power constraint condition of the wind generator device in the step A is:
−
−
−√{square root over (2)}
−√{square root over (2)}
6. The method of assessing dynamic flexibility for a virtual power plant as claimed in claim 1, wherein the output power constraint condition of the demand-side responsive heating load in the step A is:
T.sub.i,t.sup.HVAC=T.sub.i,t−1.sup.HVAC+α.sub.i.sup.HVAC(T.sub.i,t.sup.ENV−T.sub.i,t−1.sup.HVAC)+β.sub.i.sup.HVACP.sub.i,t.sup.HVAC (31)
T.sub.i.sup.HVAC≤T.sub.i,t.sup.HVAC≤
7. The method of assessing dynamic flexibility for a virtual power plant as claimed in claim 1, wherein the output power constraint condition of the electric vehicle charging station in the step A is:
8. The method of assessing dynamic flexibility for a virtual power plant as claimed in claim 1, wherein each voltage magnitude and each branch current for each node, and an injection active power, and an injection inactive power of a grid entry point in the virtual power plant network in the step B are represented as:
V=Cy+c (37)
i.sub.ij=Dy+d (38)
p.sub.0=Gy+g (39)
q.sub.0=Hy+h (40) wherein V denotes a vector consisting of a magnitude of each node and each phase voltage; i.sub.ij denotes a vector consisting of each branch current; p.sub.0 denotes an injection active power of the grid entry point in the virtual power plant; q.sub.0 denotes an injection inactive power of the grid entry point in the virtual power plant; matrices C, D, G and H, vectors c and d, and constants g and h are constant parameters of a system; y denotes a vector consisting of the injection power vector, that is, y:=[(p.sup.Y).sup.T, (q.sup.Y).sup.T, (p.sup.Δ).sup.T, (q.sup.Δ).sup.T].sup.Y, wherein p.sup.Y, p.sup.Δ, q.sup.Y, q.sup.Δ respectively denotes a vector consisting of the injection active power of a Y-type grid entry node, a vector consisting of the injection active power of a Δ-type grid entry node, a vector consisting of an injected inactive power of a Y-type grid entry node, and a vector consisting of an injected inactive power node of a Δ-type grid entry node; for ∀i∈N.sub.Y, ψ∈ϕ.sub.Y, the injection power vector of nodes of each type at each moment can be calculated as:
p.sub.i,ψ,t.sup.Y=P.sub.i,ψ,t.sup.CHP+P.sub.i,ψ,t.sup.ESS+P.sub.i,ψt.sup.PV+P.sub.i,ψ,t.sup.WT−P.sub.i,ψt.sup.HVAC−P.sub.i,ψ,t.sup.EV−P.sub.i,ψ,t.sup.LOAD (41)
q.sub.i,ψ,t.sup.Y=Q.sub.i,ψ,t.sup.CHP+Q.sub.i,ψ,t.sup.ESS+Q.sub.i,ψ,t.sup.PV+Q.sub.i,ψ,t.sup.WT−Q.sub.i,ψ,t.sup.HVAC−Q.sub.i,ψ,t.sup.EV−Q.sub.i,ψ,t.sup.LOAD (42) for ∀i∈N.sub.Δ, ω∈ϕ.sub.Δ, the injection power vector of nodes of each type at each moment can be calculated as:
p.sub.i,ψ,t.sup.Δ=P.sub.i,ψ,t.sup.CHP+P.sub.i,ψ,t.sup.ESS+P.sub.i,ψ,t.sup.PV+P.sub.i,ψ,t.sup.WT−P.sub.i,ψ,t.sup.HVAC−P.sub.i,ψ,t.sup.EV−P.sub.i,ψ,t.sup.LOAD (43)
q.sub.i,ψ,t.sup.Δ−Q.sub.i,ψ,t.sup.CHP+Q.sub.i,ψ,t.sup.ESS+Q.sub.i,ψ,t.sup.PV+Q.sub.i,ψ,t.sup.WT−Q.sub.i,ψ,t.sup.HVAC−Q.sub.i,ψ,t.sup.EV−Q.sub.i,ψ,t.sup.LOAD (44) wherein P.sub.i,ψ,t.sup.CHP denotes an output active power of the ψ-phase gas turbine at node i at moment t; Q.sub.i,ψ,t.sup.CHP denotes an output inactive power of the ψ-phase gas turbine at node i at moment t; P.sub.i,ψ,t.sup.ESS denotes a net active output power of the ψ-phase energy storage device at node i at moment t; Q.sub.i,ψ,t.sup.ESS denotes a net inactive output power of the ψ-phase energy storage device at node i at moment t; P.sub.i,ψ,t.sup.PV denotes an active output power of the ψ-phase photovoltaic power generation device at node i at moment t; Q.sub.i,ψ,t.sup.PV denotes an inactive output power of the ψ-phase photovoltaic power generation device at node i at moment t; P.sub.i,ψ,t.sup.WT denotes an active output power of the ψ-phase wind generator at node i at moment t; Q.sub.i,ψ,t.sup.WT denotes an inactive output power of the ψ-phase wind generator at node i at moment t; P.sub.i,ψ,t.sup.HVAC denotes an active power of the ψ-phase demand-side responsive heating load at node i at moment t; Q.sub.i,ψ,t.sup.HVAC denotes an inactive power of the ψ-phase demand-side responsive heating load at node i at moment t; P.sub.i,ψ,t.sup.EV denotes an active power of the ψ-phase electric vehicle charging station at node i at moment t; Q.sub.i,ψ,t.sup.EV denotes an inactive power of the ψ-phase electric vehicle charging station at node i at moment t; P.sub.i,ψ,t.sup.LOAD denotes an active power of the VF-phase load at node i at moment t; Q.sub.i,ψ,t.sup.LOAD denotes an inactive power of the ψ-phase load at node i at moment t; P.sub.i,ψ,t.sup.Y denotes an injection active power of the ψ-phase Y-type grid entry node at node i at moment t; q.sub.i,ψ,t.sup.Y denotes an injection inactive power of the ψ-phase Y-type grid entry node at node i at moment t; p.sub.i,ψ,t.sup.Δ denotes an injection active power of the ψ-phase □-type grid entry node at node i at moment t; q.sub.i,ψ,t.sup.Δ denotes an injection inactive power of the ψ-phase □-type grid entry node at node i at moment t; N.sub.Y denotes a set consisting of serial numbers of Y-type grid entry nodes; N.sub.Δ denotes a set consisting of serial numbers of □-type grid entry nodes; ϕ.sub.Y denotes a set consisting of phases of Y-type grid entry nodes; and ϕ.sub.Δ denotes a set consisting of phases of □-type grid entry nodes.
9. The method of assessing dynamic flexibility for a virtual power plant as claimed in claim 8, wherein the network constraint condition of the virtual power plant is:
V≤V≤
−ī.sub.ij≤i.sub.ij≤ī.sub.ij (46) wherein V denotes a vector consisting of a minimum voltage at each phase and each node;
10. The method of assessing dynamic flexibility for a virtual power plant as claimed in claim 1, wherein in the step C, a constraint condition consisting of formulas (1)-(5), (7)-(14), (16)-(21), (23)-(28) and (45)-(46) is represented as:
11. The method of assessing dynamic flexibility for a virtual power plant as claimed in claim 10, wherein regarding P.sub.G as a random parameter in Robust optimization, a parameter in formula (47) is written in a form of a block matrix:
M.sub.G0P.sub.G≤n.sub.1.sup.E (49)
M.sub.E.sup.EP.sub.E+M.sub.Q.sup.EQ≤n.sub.2.sup.E−M.sub.G.sup.EP.sub.G (50) solution of a Robust optimization problem: for any P.sub.G that satisfies a constraint condition M.sub.G0P.sub.G≤n.sub.1.sup.E, a constraint condition of formula (50) is made true constantly, which is equivalent to solution of an optimization problem in formula (51);
E.sub.Ex.sub.E≤f.sub.E (52) wherein matrix E.sub.E and vector f.sub.E are parameters obtained by solving the Robust optimization problem in formula (51); and x.sub.E is a decision variable of equivalent energy storage, that is:
12. The method of assessing dynamic flexibility for a virtual power plant as claimed in claim 10, wherein regarding P.sub.E as a random parameter in Robust optimization, a parameter in formula (47) is written in a form of a block matrix:
M.sub.E0P.sub.E≤n.sub.1.sup.G (57)
M.sub.G.sup.GP.sub.G+M.sub.Q.sup.GQ≤n.sub.2.sup.G−M.sub.E.sup.GP.sub.E (58) solution of a Robust optimization problem: for any P.sub.E that satisfies a constraint condition M.sub.E0P.sub.E≤n.sub.1.sup.G, a constraint condition of formula (58) is made true constantly, which is equivalent to solution of an optimization problem in formula (59);
E.sub.Gx.sub.G≤f.sub.G (60) wherein matrix E.sub.G and vector f.sub.G are parameters obtained by solving the Robust optimization problem in formula (59); and x.sub.G is a decision variable of an equivalent generator, that is:
13. The method of assessing dynamic flexibility for a virtual power plant as claimed in claim 1, wherein a constraint parameter for equivalent energy-storage-type devices in the step D is divided into a major problem and a minor problem to be solved, the major problem is reflected as:
14. The method of assessing dynamic flexibility for a virtual power plant as claimed in claim 13, wherein a constraint parameter solution algorithm process of the equivalent energy storage device is: a. initializing: allowing K=0; b. solving the major problem, thereby obtaining an optimal solution b*.sub.E; c. based on the optimal solution b*.sub.E solving an equivalence problem of the minor problem, thereby obtaining an optimal solution ξ*.sub.K+1 and a target function value ƒ*.sub.E; c. if ƒ.sub.E*<1×10.sup.−6 meets, ending algorithm with b*.sub.E as a final solution result; otherwise, adding following constraint condition to the major problem and allowing K←K+1, and returning to the step b;
15. The method of assessing dynamic flexibility for a virtual power plant as claimed in claim 1, wherein a constraint parameter for an equivalent generator in the step D is divided into a major problem and a minor problem to be solved, the major problem is reflected as the following forms:
16. The method of assessing dynamic flexibility for a virtual power plant as claimed in claim 15, wherein a constraint parameter solution algorithm process of the equivalent generator device is as follows: a. initializing: allowing K=0; b. solving the major problem, thereby obtaining an optimal solution b*.sub.G; c. based on the optimal solution b*.sub.G, solving an equivalence problem of the minor problem, thereby obtaining an optimal solution ξ*.sub.K+1 and a target function value ƒ*.sub.G; c. if ƒ.sub.G*<1×10.sup.−6 meets, ending algorithm with b*.sub.G as a final solution result; otherwise, adding following constraint condition to the major problem and allowing K←K+1, and returning to the step b;
A.sub.G=ξ.sub.K+1*≥b.sub.G−M(1−z.sub.K+1) (85)
1.sup.Tz.sub.K+1≥1 (86)
z.sub.K+1∈{0,1}.sup.n.sup.
17. The method of assessing dynamic flexibility for a virtual power plant as claimed in claim 1, wherein in the step E, a virtual power plant is equaled to an equivalent energy-storage-type device and an equivalent generator-type device, and based on a result of the step D, flexibility ranges of the equivalent energy-storage-type device and the equivalent generator-type device are respectively shown in formula (88) and formula (89):
A.sub.EP.sub.ESS≤b*.sub.E (88)
A.sub.GP.sub.GEN≤b*.sub.G (89) wherein matrix A.sub.E is a constant matrix denoting upper and lower limits of an output power of equivalent energy storage and a constraint parameter of upper and lower energy limits of energy storage; matrix A.sub.G is a constant matrix denoting upper and lower limits of an output power of an equivalent generator and a constraint parameter of upper and lower climbing limits; b*.sub.E denotes a result obtained by optimizing the major problem of a constraint parameter of an equivalent energy storage device; b*.sub.G denotes a result obtained by optimizing the major problem of a constraint parameter of an equivalent generator, P.sub.ESS denotes a vector consisting of an output active power of equivalent energy-storage-type devices at each moment; and P.sub.GEN denotes a vector consisting of an output active power of equivalent generator-type devices at each moment; an output active power of the virtual power plant is shown in formula (90):
P.sub.VPP=P.sub.ESS+P.sub.GEN (90) P.sub.VPP denotes a vector consisting an output active power of a virtual power plant at each moment.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0100] To describe the technical solutions in the embodiments of the present invention or in the prior art more clearly, the following briefly describes the accompanying drawings required for describing the embodiments or the prior art. Apparently, the accompanying drawings in the following description show some embodiments of the present invention, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
[0101]
DESCRIPTION OF THE EMBODIMENTS
[0102] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following clearly and completely describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
EMBODIMENTS
[0103] With a method of accessing dynamic flexibility for a virtual power plant, what is shown in
[0104] (1) Building a Distributed Energy-Resource Model of a Virtual Power Plant
[0105] (1.1) A Gas Turbine
[0106] the output power constraint condition of the gas turbine is as follows:
[0107] wherein P.sub.i,ψ,t.sup.CHP denotes an output active power of the ψ-phase gas turbine at node i at moment t; Q.sub.i,ψ,t.sup.CHP denotes an output inactive power of the ψ-phase gas turbine at node i at moment t;
[0108] a climbing constraint condition of an active power of the gas turbine is as follows:
−r.sub.i.sup.CHP≤P.sub.i,t.sup.CHP−P.sub.i,t−1.sup.CHP≤r.sub.i.sup.CHP (4)
[0109] wherein r.sub.i.sup.CHP denotes a climbing parameter of the gas turbine at node i and P.sub.i,t−1.sup.CHP denotes an output active power of the ψ-phase gas turbine at node i at moment t−1.
[0110] (1.2) an Energy Storage Device
[0111] the output power constraint condition of the energy storage device is as follows:
[0112] wherein, P.sub.i,ψ,t.sup.ESS denotes a net output active power of the ψ-phase energy storage device at node i at moment t; Q.sub.i,ψ,t.sup.ESS denotes a net output inactive power of the ψ-phase energy storage device at node i at moment t;
[0113] formula (6) approximates the following linear formula:
−
−
−√{square root over (2)}
√{square root over (2)}
[0114] an energy constraint condition of the energy storage device is as follows:
E.sub.i.sup.ESS≤E.sub.i,t.sup.ESS≤E.sub.i.sup.ESS (12)
E.sub.i,t.sup.ESS=α.sub.i.sup.ESSE.sub.i,t−1.sup.ESS+P.sub.i,t.sup.ESSΔt (13)
[0115] wherein, E.sub.i,t.sup.ESS denotes energy of the energy storage device at moment t at node i; E.sub.i,t−1.sup.ESS denotes energy of the energy storage device at moment t−1 at node i; E.sub.i.sup.ESS denotes minimum energy of the energy storage device at node i; Ē.sub.i.sup.ESS denotes maximum energy of the energy storage device at node i; α.sub.i.sup.ESS denotes a self-discharge rate of the energy storage device at node i; and Δt denotes a time interval of two decision moments.
[0116] (1.3) a Photovoltaic Power Generation Device
[0117] the output power constraint condition of the photovoltaic power generation device is as follows:
[0118] wherein, P.sub.i,ψ,t.sup.PV denotes an output active power of the ψ-phase photovoltaic power generation device at node i at moment t; Q.sub.i,ψ,t.sup.PV denotes an output inactive power of the ψ-phase photovoltaic power generation device at node i at moment t; P.sub.i,ψ.sup.PV denotes a minimum output active power of the ψ-phase photovoltaic power generation device at node i;
[0119] formula (15) approximates the following linear formula:
−
−
−√{square root over (2)}
−√{square root over (2)}.sub.i,ψ.sup.PV≤P.sub.i,ψ,t.sup.PV−Q.sub.i,ψ,t.sup.PV≤√{square root over (2)}
[0120] (1.4) A Wind Generator
[0121] the output power constraint condition of the wind generator is as follows:
[0122] Wherein, P.sub.i,ψ.sup.WT denotes an output active power of the ψ-phase wind generator at node i at moment t; Q.sub.i,ψ,t.sup.WT denotes an output inactive power of the ψ-phase wind generator at node i at moment t; P.sub.i,ψ.sup.WT denotes a minimum output active power of the ψ-phase wind generator at node i;
[0123] formula (22) approximates the following linear formula:
−
−
−√{square root over (2)}
−√{square root over (2)}
[0124] (1.5) A Demand-Side Responsive Heating Load
[0125] the output power constraint condition of the demand-side responsive heating load is as follows:
[0126] wherein, P.sub.i,ψt.sup.HVAC denotes an active power of the ψ-phase demand-side responsive heating load at node i at moment t; Q.sub.i,ψ,t.sup.HVAC denotes an inactive power of the ψ-phase demand-side responsive heating load at node i at moment t; φ.sub.i.sup.HVAC denotes a power coefficient of the demand-side responsive heating load at node i at moment t;
[0127] a temperature constraint of a heating load device is as follows:
T.sub.i,t.sup.HVAC=T.sub.i,t−1.sup.HVAC+α.sub.i.sup.HVAC(T.sub.i,t.sup.ENV−T.sub.i,t−1.sup.HVAC)+β.sub.i.sup.HVACP.sub.i,t.sup.HVAC (31)
T.sub.i.sup.HVAC≤T.sub.i,t.sup.HVAC≤
[0128] wherein, T.sub.i,t.sup.HVAC demotes a temperature of the demand-side responsive heating load at node i at moment; T.sub.i,t−1.sup.HVAC denotes a temperature of the demand-side responsive heating load at node i at moment t−1; T.sub.i,t.sup.ENV denotes an outdoor temperature of the demand-side responsive heating load at node i at moment t; α.sub.i.sup.HVAC denotes a heat dissipation parameter of the demand-side responsive heating load at node i; β.sub.i.sup.HVAC denotes an electricity-heat conversion parameter of the demand-side responsive heating load at node i; T.sub.i.sup.HVAC denotes a lower temperature limit of the demand-side responsive heating load at node i; and
[0129] (1.6) An Electric Vehicle Charging Station
[0130] the output power constraint condition of the electric vehicle charging station is as follows:
[0131] wherein, P.sub.i,ψ,t.sup.EV denotes an active power of the ψ-phase electric vehicle charging station at node i at moment t; Q.sub.i,ψ,t.sup.EV denotes an inactive power of the ψ-phase electric vehicle charging station at node i at moment t; φ.sub.i.sup.EV denotes a power coefficient of the electric vehicle charging station at node i;
[0132] an energy constraint of the electric vehicle charging station is as follows:
[0133] wherein, Ē.sub.i,t.sup.EV denotes a maximum output energy of the electric vehicle charging station at node i at moment t; and E.sub.i,t.sup.EV denotes a minimum output energy of the electric vehicle charging station at node i at moment t.
[0134] (2) Building a Power Flow Model of a Virtual Power Plant Network
[0135] Based on a three-phase asymmetrical linear power flow model, each voltage magnitude and each branch current for each node, and an injection active power, and an injection inactive power of a grid entry point in the virtual power plant network are represented as follows:
V=Cy+c (37)
i.sub.ij=Dy+d (38)
p.sub.0=Gy+g (39)
q.sub.0=Hy+h (40)
[0136] Wherein, V denotes a vector consisting of a magnitude of each node and each phase voltage; i.sub.ij a denotes a vector consisting of each branch current; p.sub.0 denotes an injection active power of the grid entry point in the virtual power plant; q.sub.0 denotes an injection inactive power of the grid entry point in the virtual power plant; matrices C, D, G and H, vectors c and d, and constants g and h are constant parameters of a system; y denotes a vector consisting of the injection power vector, that is, y=[(p.sup.Y).sup.T, (q.sup.Y).sup.T, (p.sup.Δ).sup.T, (q.sup.Δ).sup.T].sup.T, wherein p.sup.Y, p.sup.Δ, q.sup.Y, q.sup.Δ respectively denotes a vector consisting of the injection active power of a Y-type grid entry node, a vector consisting of the injection active power of a Δ-type grid entry node, a vector consisting of an injected inactive power of a Y-type grid entry node, and a vector consisting of an injected inactive power node of a Δ-type grid entry node.
[0137] for ∀i∈N.sub.Y, ψ∈ϕ.sub.Y the injection power vector of nodes of each type at each moment can be calculated as:
p.sub.i,ψ,t.sup.Y=P.sub.i,ψ,t.sup.CHP+P.sub.i,ψ,t.sup.ESS+P.sub.i,ψt.sup.PV+P.sub.i,ψ,t.sup.WT−P.sub.i,ψt.sup.HVAC−P.sub.i,ψ,t.sup.EV−P.sub.i,ψ,t.sup.LOAD (41)
q.sub.i,ψ,t.sup.Y=Q.sub.i,ψ,t.sup.CHP+Q.sub.i,ψ,t.sup.ESS+Q.sub.i,ψ,t.sup.PV+Q.sub.i,ψ,t.sup.WT−Q.sub.i,ψ,t.sup.HVAC−Q.sub.i,ψ,t.sup.EV−Q.sub.i,ψ,t.sup.LOAD (42)
p.sub.i,ψ,t.sup.Δ=P.sub.i,ψ,t.sup.CHP+P.sub.i,ψ,t.sup.ESS+P.sub.i,ψ,t.sup.PV+P.sub.i,ψ,t.sup.WT−P.sub.i,ψ,t.sup.HVAC−P.sub.i,ψ,t.sup.EV−P.sub.i,ψ,t.sup.LOAD (43)
q.sub.i,ψ,t.sup.Δ−Q.sub.i,ψ,t.sup.CHP+Q.sub.i,ψ,t.sup.ESS+Q.sub.i,ψ,t.sup.PV+Q.sub.i,ψ,t.sup.WT−Q.sub.i,ψ,t.sup.HVAC−Q.sub.i,ψ,t.sup.EV−Q.sub.i,ψ,t.sup.LOAD (44)
[0138] wherein, P.sub.i,ψ,t.sup.LOAD denotes an active power of the ψ-phase load at node i at moment t; Q.sub.i,ψ,t.sup.LOAD denotes an inactive power of the ψ-phase load at node i at moment t; p.sub.i,ψ,t.sup.Y denotes an injection active power of the ψ-phase Y-type grid entry node at node i at moment t; q.sub.i,ψ,t.sup.Y denotes an injection inactive power of the ψ-phase Y-type grid entry node at node i at moment t; p.sub.i,ψ,t.sup.Δ denotes an injection active power of the ψ-phase Δ-type grid entry node at node i at moment t; q.sub.i,ψ,t.sup.Δ denotes an injection inactive power of the ψ-phase Δ-type grid entry node at node i at moment t; N.sub.Y denotes a set consisting of serial numbers of Y-type grid entry nodes; N.sub.Δ denotes a set consisting of serial numbers of Δ-type grid entry nodes; ϕ.sub.Y denotes a set consisting of phases of Y-type grid entry nodes; and ϕ.sub.Δ denotes a set consisting of phases of Δ-type grid entry nodes.
[0139] A network constraint condition of the virtual power plant is as follows:
V≤V≤
−ī.sub.ij≤i.sub.ij≤ī.sub.ij (46)
[0140] Wherein, V denotes a vector consisting of a minimum voltage at each phase and each node;
[0141] (3) Extracting an Operation Constraint Condition of Energy-Storage-Type and Generator-Type Distributed Resources
[0142] (3.1) Building Three Types of Decision Variable Vectors
[0143] defining a decision variable vector consisting of an active output power and an inactive output power of all distributed generation resources as x, a constraint condition consisting of formulas (1)-(5), (7)-(14), (16)-(21), (23)-(38) and (45)-(46) can be represented as a form of a following matrix:
Mx≤n (47)
[0144] wherein, matrix M and vector n are constant constraint parameters organized based on the constraint condition.
[0145] An element x in the decision variable vector can be divided into the following three types: (1) defining all energy storage devices, demand-side responsive heating load and electric vehicle charging stations as energy-storage-type devices, and a decision variable vector consisting of output active power of all energy-storage-type devices as P.sub.E; (ii) defining all gas turbines, photovoltaic power generation devices and wind generator devices as generator-type devices, and a decision variable consisting of output active power of all generator-type device as P.sub.G; and (iii) defining a decision variable consisting of inactive power of all distributed energy-resource devices as Q, Formula (47) can be rewritten as:
[0146] (3.2) On the Basis of Extracting an Operation Constraint Condition of Distributed Resources of Generator-Type Devices
[0147] regarding P.sub.G as a random parameter in Robust optimization, a parameter in formula (48) is written in a form of the following block matrix:
[0148] wherein, M.sub.G0, M.sub.E.sup.E, M.sub.G.sup.E and M.sub.Q.sup.E are corresponding blocks in matrix M, and n.sub.1.sup.E and n.sub.2.sup.E are corresponding blocks in vector n.
[0149] a constraint relation between parameters P.sub.G in formula (49) and a constraint relation between variables P.sub.E, Q and parameters P.sub.G are extracted and represented as formula (50) and formula (51) respectively:
M.sub.G0P.sub.G≤n.sub.1.sup.E (50)
M.sub.E.sup.EP.sub.E+M.sub.Q.sup.EQ≤n.sub.2.sup.E−M.sub.G.sup.EP.sub.G (51)
[0150] solution of a Robust optimization problem: for any P.sub.G that satisfies a constraint condition P.sub.G0P.sub.G≤n.sub.1.sup.E, a constraint condition of formula (51) is made true constantly, which is equivalent to solution of an optimization problem in formula (52):
[0151] wherein, an operator (•).sub.i denotes elements at i.sup.th line of the matrix or vector.
[0152] an operation constraint condition of energy-storage-type distributed resources is obtained as follows:
E.sub.Ex.sub.E≤f.sub.E (53)
[0153] wherein, matrix E.sub.E and vector f.sub.E are parameters obtained by solving the Robust optimization problem in formula (52); and x.sub.E is a decision variable of equivalent energy storage, that is:
[0154] (3.3) On the Basis of Extracting an Operation Constraint Condition of Distributed Resources of Energy-Storage-Type Devices
[0155] regarding P.sub.E as a random parameter in Robust optimization, a parameter in formula (48) is written in a form of the following block matrix:
[0156] wherein, M.sub.E0, M.sub.E.sup.G, M.sub.G.sup.G and M.sub.Q.sup.G are corresponding blocks in matrix M; and n.sub.1.sup.G and n.sub.2.sup.G are corresponding blocks in vector n.
[0157] a constraint relation between parameters P.sub.E in formula (49) and a constraint relation between variables P.sub.G, Q and parameters P.sub.G are extracted and represented as formula (58) and formula (59) respectively:
M.sub.E0P.sub.E≤n.sub.1.sup.G (58)
M.sub.G.sup.GP.sub.G+M.sub.Q.sup.GQ≤n.sub.2.sup.G−M.sub.E.sup.GP.sub.E (59)
[0158] solution of a Robust optimization problem: for any E that satisfies a constraint condition M.sub.E0P.sub.E≤n.sub.1.sup.G, a constraint condition of formula (59) is made true constantly, which is equivalent to solution of an optimization problem in formula (60):
[0159] an operation constraint condition of energy-storage-type distributed resources is obtained as follows:
E.sub.Gx.sub.G≤f.sub.G (61)
[0160] wherein, matrix E.sub.G and vector f.sub.G re parameters obtained by solving the Robust optimization problem in formula (60); and x.sub.G is a decision variable of an equivalent generator. that is:
[0161] (4) Solving a Constraint Parameter of an Equivalent Energy Storage Device and an Equivalent Generator
[0162] (4.1) Solving a Constraint Parameter of an Equivalent Energy Storage Device
[0163] a constraint parameter of an equivalent energy storage device is divided into major problems (65)-(68) and minor problems (72)-(75) to be solved.
[0164] the major problems are reflected as the following forms:
[0165] wherein, matrix A.sub.E is a constant matrix denoting upper and lower limits of an output power of equivalent energy storage and a constraint parameter of upper and lower energy limits of energy storage, with a specific form thereof indicated by formula (69); vector b.sub.E denotes an intercept of each high-dimension hyperplane for a polyhedron of a flexible and feasible region; vector u.sub.E is a constant matrix denoting sum of distances for a parallel plane of a flexible and feasible region, with a specific form thereof indicated by formula (70); vector ξ denotes an active power output track of an equivalent energy storage device; matrix C.sub.E and vector d.sub.E are a constant matrix denoting a relation between a decision variable x.sub.E of an equivalent energy storage device and an active power output track ξ, with a value thereof obtained by formula (39). K denotes a total number of scenes; ξ*.sub.k denotes an output active power track of an equivalent energy storage device in a k.sup.th scene; z.sub.k denotes a vector of a k.sup.th scene consisting of a 0/1 decision variable; n.sub.z denotes a dimensional number of z.sub.k; and M denotes a very big constant with a value thereof generally being 1×10.sup.6.
A.sub.E=[I.sub.T −I.sub.T Γ.sup.T −Γ.sup.T].sup.T (69)
u.sub.E=[1.sub.T.sup.T −1.sub.T.sup.T 1.sub.T.sup.T −1.sub.T.sup.T].sup.T (70)
[0166] wherein, T denotes the number of moments considered; I.sub.T denotes a unit array when a dimensional number is T; 1.sub.T denotes a total 1-row vector with T elements; and matrix Γ is defined as shown in (71):
[0167] wherein, γ denotes a self-discharge rate of an equivalent energy storage device.
[0168] The minor problems are reflected as the following forms:
[0169] Wherein, b*.sub.E denotes a result obtained by optimization of the major problem.
[0170] To facilitate solution, antithetic and KKT conditions are used successively to convert the minor problems (72)-(75) into a mixed integer planning problem shown by formula (76):
[0171] Wherein, s denotes a vector consisting of a 0/1 decision variable; n.sub.s denotes a dimensional number of s; ω denotes an antithetic variable of constraint (73); n denotes am antithetic variable of constraint (74); and λ denotes an antithetic variable of constraint (75).
[0172] A constraint parameter solution algorithm process of an equivalent energy-storage-type device is as follows:
[0173] a. initializing: allowing K=0;
[0174] b. solving the major problems (65)-(68), thereby obtaining an optimal solution b*.sub.E;
[0175] c. based on the optimal solution b*.sub.E, solving an equivalence problem (76) of the minor problem, thereby obtaining an optimal solution ξ*.sub.K+1 and a target function value ƒ*.sub.E;
[0176] d. if ƒ.sub.E*<1×10.sup.−6 meets, ending algorithm with b*.sub.E as a final solution result; otherwise, adding following constraint condition (77)-(79) to the major problem and allowing K←K+1, and returning to the step b;
A.sub.Eξ.sub.K+1*≥b.sub.E−M(1−z.sub.K+1) (77)
1.sup.Tz.sub.K+1≥1 (78)
z.sub.K+1∈{0,1}.sup.n.sup.
[0177] (4.2) Solving a Constraint Parameter of an Equivalent Generator
[0178] a constraint parameter of an equivalent generator is divided into major problems (80)-(83) and minor problems (87)-(90) to be solved.
[0179] the major problems are reflected as the following forms:
[0180] wherein, matrix A.sub.G is a constant matrix denoting upper and lower limits of an output power of an equivalent generator and a constraint parameter of upper and lower climbing limits, with a specific form thereof indicated by formula (84); vector b.sub.G denotes an intercept of each high-dimension hyperplane for a polyhedron of a flexible and feasible region; vector u.sub.G is a constant matrix denoting sum of distances for a parallel plane of a flexible and feasible region, with a specific form thereof indicated by formula (85); ξ denotes an active power output track of an equivalent generator; matrix C.sub.G and vector d.sup.G are a constant matrix denoting a relation between a decision variable x.sub.G of an equivalent generator and an active power output track ξ, with a value thereof obtained by formula (39).
A.sub.G=[I.sup.T −I.sup.T Λ.sup.T −Λ.sup.T].sup.T (84)
u.sub.G=[1.sub.T.sup.T −1.sub.T.sup.T 1.sub.T−1.sup.T −1.sub.T−1.sup.T].sup.T (85)
[0181] wherein, 1.sub.T−1 denotes a total 1-row vector with T−1 elements; and matrix A is a matrix having a size of (T−1)×T, which is defined as shown in (86):
[0182] the minor problems are reflected as the following forms:
[0183] wherein, b*.sub.G denotes a result obtained by optimization of the major problem.
[0184] To facilitate solution, antithetic and KKT conditions are used successively to convert the minor problems (87)-(90) into a mixed integer planning problem shown by formula (91):
[0185] Wherein, ω denotes an antithetic variable of constraint (88); π denotes am antithetic variable of constraint (89); and λ denotes an antithetic variable of constraint (90).
[0186] A constraint parameter solution algorithm process of an equivalent energy storage device is as follows:
[0187] a. initializing: allowing K=0;
[0188] b. solving the major problems (80)-(83), thereby obtaining an optimal solution b*.sub.G;
[0189] c. based on the optimal solution b*.sub.G, solving an equivalence problem (76) of the minor problem, thereby obtaining an optimal solution ξ*.sub.K+1 and a target function value ƒ*.sub.G;
[0190] d. if ƒ.sub.G*<1×10.sup.−6 meets, ending algorithm with b*.sub.G as a final solution result; otherwise, adding following constraint condition (92)-(94) to the major problem and allowing K←K+1, and returning to the step b;
[0191] (5) Obtaining an Assessment Result of Flexibility for the Virtual Power Plant
[0192] An assessment result of flexibility for the virtual power plant is obtained based on the result in the step (4), that is, a virtual power plant can be equaled to an equivalent energy-storage-type device and an equivalent generator-type device, and flexibility ranges of the two types of device are respectively shown in formula (95) and formula (96). An output active power of the virtual power plant is denoted in a form of formula (97).
A.sub.EP.sub.ESS≤b*.sub.E (95)
A.sub.GP.sub.GEN≤b*.sub.G (96)
P.sub.VPP=P.sub.ESS+P.sub.GEN (97)
[0193] Wherein, P.sub.ESS denotes a vector consisting of an output active power of equivalent energy-storage-type devices at each moment; P.sub.GEN denotes a vector consisting of an output active power of equivalent generator-type devices at each moment; and P.sub.VPP denotes a vector consisting an output active power of a virtual power plant at each moment.
[0194] Although the present invention is described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some technical features thereof. These modifications or replacements do not enable the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present invention.