The present invention belongs to the technical field of operating and controlling a power system and in particular relates to a method of assessing dynamic flexibility for a virtual power plant.
A virtual power plant is an organic combination of a plurality of distributed energy and resources in a power distribution system and a virtual power plant operator realizes optimized scheduling of internal resources by matched control techniques, such that the virtual power plant operates to participate in grid as a special power plant. However, features of flexible resources inside the virtual power plant differ from each other and an output power of each device in the virtual power plant is restricted by a network constraint condition. Therefore, in optimized operation of the virtual power plant, it is necessary to satisfy a capacity constraint condition of a device, a branch capacity constraint condition and a node voltage constraint condition as well as a time-coupling constraint condition like an energy constraint condition and a climbing constraint condition of an energy storage device, which bring difficulties for assessing flexibility of the virtual power plant.
For the above problems, the present invention provides a method of assessing dynamic flexibility for a virtual power plant, for fast solution of a constraint condition for flexibility ranges of an active power at a grid entry point in the virtual power plant at the precondition of considering an operation constraint for a device inside the virtual power plant and for maximum exploration of flexibility ranges of an output active power in the virtual power plant, so as to provide reference for scientific scheduling and decisions of grid.
The purpose of the present invention is to provide a method of assessing dynamic flexibility for a virtual power plant, comprising, firstly, building a distributed energy-resource model of a virtual power plant and a three-phase asymmetrical network model of the virtual power plant; secondly, splitting a device inside the virtual power plant into energy-storage-type and generator-type devices, and extracting an operation constraint condition of an equivalent energy storage device and an equivalent generator based on a Robust optimization method; and finally, solving a constraint parameter respectively for an equivalent energy storage device and an equivalent generator based on a two-stage robust optimization algorithm. The method provided realizes assessment of dynamic flexibility for the virtual power plant with consideration of time-coupling constraints. Compared with the prior method, the method is more definite in a physical sense and sufficient in exploration of flexibility ranges for the virtual power plant, thereby decreasing waste of flexibility for the virtual power plant. Therefore, it has a great value in an actual application.
The method of assessing dynamic flexibility for a virtual power plant, as provided in the present invention comprises the following steps:
(1) Building A Distributed Energy-Resource Model of A Virtual Power Plant
(1.1) A Gas Turbine
the output power constraint condition of the gas turbine is as follows:
wherein, Pi,ψ,tCHP denotes an output active power of the ψ-phase gas turbine at node i at moment t; Qi,ψ,tCHP denotes an output inactive power of the ψ-phase gas turbine at node i at moment t;
a climbing constraint condition of an active power of the gas turbine is as follows:
−riCHP≤Pi,tCHP−Pi,t−1CHP≤riCHP (4)
wherein, riCHP denotes a climbing parameter of the gas turbine at node i and Pi,t−1CHP denotes an output active power of the ψ-phase gas turbine at node i at moment t−1.
(1.2) An Energy Storage Device
the output power constraint condition of the energy storage device is as follows:
wherein, Pi,ψ,tESS denotes a net output active power of the ψ-phase energy storage device at node i at moment t; Qi,ψ,tESS denotes a net output inactive power of the ψ-phase energy storage device at node i at moment t;
formula (6) approximates the following linear formula:
−
−
−√{square root over (2)}
−√{square root over (2)}
an energy constraint condition of the energy storage device is as follows:
EiESS≤Ei,tESS≤ĒiESS (12)
Ei,tESS=αiESSEi,t−1ESS+Pi,tESSΔt (13)
wherein, Ei,tESS denotes energy of the energy storage device at moment t at node i; Ei,t−1ESS denotes energy of the energy storage device at moment t−1 at node i; EiESS denotes minimum energy of the energy storage device at node i; ĒiESS denotes maximum energy of the energy storage device at node i; αiESS denotes a self-discharge rate of the energy storage device at node i; and Δt denotes a time interval of two decision moments.
(1.3) A Photovoltaic Power Generation Device
the output power constraint condition of the photovoltaic power generation device is as follows:
wherein, Pi,ψ,tPV denotes an output active power of the ψ-phase photovoltaic power generation device at node i at moment t; Qi,ψ,tPV denotes an output inactive power of the ψ-phase photovoltaic power generation device at node i at moment t; Pi,ψPV denotes a minimum output active power of the ψ-phase photovoltaic power generation device at node i;
formula (15) approximates the following linear formula:
−
−
−√{square root over (2)}
−√{square root over (2)}
(1.4) A Wind Generator
the output power constraint condition of the wind generator is as follows:
wherein Pi,ψ,tWT denotes an output active power of the ψ-phase wind generator at node i at moment t; Qi,ψ,tWT denotes an output inactive power of the ψ-phase wind generator at node i at moment t; Pi,ψWT denotes a minimum output active power of the ψ-phase wind generator at node i;
formula (22) approximates the following linear formula:
−
−
−√{square root over (2)}
−√{square root over (2)}
(1.5) A Demand-Side Responsive Heating Load
the output power constraint condition of the demand-side responsive heating load is as follows:
wherein, Pi,ψ,tHVAC denotes an active power of the ψ-phase demand-side responsive heating load at node i at moment t; Qi,ψ,tHVAC denotes an inactive power of ψ-phase demand-side responsive heating load at node i at moment t; φiHVAC denotes a power coefficient of the demand-side responsive heating load at node i at moment t;
a temperature constraint of a heating load device is as follows:
Ti,tHVAC=Ti,t−1HVAC+αiHVAC(Ti,tENV−Ti,t−1HVAC)+βiHVACPi,tHVAC (31)
TiHVAC≤Ti,tHVAC≤
wherein, Ti,tHVAC demotes a temperature of the demand-side responsive heating load at node i at moment; Ti,t−1HVAC denotes a temperature of the demand-side responsive heating load at node i at moment t−1; Ti,tENV denotes an outdoor temperature of the demand-side responsive heating load at node i at moment t; αiHVAC denotes a heat dissipation parameter of the demand-side responsive heating load at node i; βiHVAC denotes an electricity-heat conversion parameter of the demand-side responsive heating load at node i; TiHVAC denotes a lower temperature limit of the demand-side responsive heating load at node i; and
(1.6) An Electric Vehicle Charging Station
the output power constraint condition of the electric vehicle charging station is as follows:
Wherein, Pi,ψ,tEV denotes an active power of the ψ-phase electric vehicle charging station at node i at moment t; Qi,ψ,tEV denotes an inactive power of the ψ-phase electric vehicle charging station at node i at moment t; φiEV denotes a power coefficient of the electric vehicle charging station at node i;
an energy constraint of the electric vehicle charging station is as follows:
wherein Ēi,tEV denotes a maximum output energy of the electric vehicle charging station at node i at moment t; and Ei,tEV denotes a minimum output energy of the electric vehicle charging station at node i at moment t.
(2) Building A Power Flow Model for the Virtual Power Plant Network
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)
iij=Dy+d (38)
p0=Gy+g (39)
q0=Hy+h (40)
Wherein, V denotes a vector consisting of a magnitude of each node and each phase voltage; iij denotes a vector consisting of each branch current; p0 denotes an injection active power of the grid entry point in the virtual power plant; q0 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:=[(pY)T,(qY)T,(pΔ)T,(qΔ)T]T, wherein pY,pΔ,qY,qΔ 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∈NY, ψ∈ϕY, the injection power vector of nodes of each type at each moment can be calculated as:
pi,ψ,tY=Pi,ψ,tCHP+Pi,ψ,tESS+Pi,ψ,tPV+Pi,ψ,tWT−Pi,ψ,tHVAC−Pi,ψ,tEV−Pi,ψ,tLOAD (41)
qi,ψ,tY=Qi,ψ,tCHP+Qi,ψ,tESS+Qi,ψ,tPV+Qi,ψ,tWT−Qi,ψ,tHVAC−Qi,ψ,tEV−Qi,ψ,tLOAD (42)
for ∀i∈NΔ, ψ∈ϕΔ:
pi,ψ,tΔ=Pi,ψ,tCHP+Pi,ψ,tESS+Pi,ψ,tPV+Pi,ψ,tWT−Pi,ψ,tHVAC−Pi,ψ,tEV−Pi,ψ,tLOAD (43)
qi,ψ,tΔ=Qi,ψ,tCHP+Qi,ψ,tESS+Qi,ψ,tPV+Qi,ψ,tWT−Qi,ψ,tHVAC−Qi,ψ,tEV−Qi,ψ,tLOAD (44)
wherein, Pi,ψ,tLOAD denotes an active power of the ψ-phase load at node i at moment t; Qi,ψ,tLOAD denotes an inactive power of the ψ-phase load at node i at moment t; pi,ψ,tY denotes an injection active power of the ψ-phase Y-type grid entry node at node i at moment t; qi,ψ,tY denotes an injection inactive power of the ψ-phase Y-type grid entry node at node i at moment t; pi,ψ,tΔ denotes an injection active power of the ψ-phase Δ-type grid entry node at node i at moment t; qi,ψ,tΔ denotes an injection inactive power of the ψ-phase Δ-type grid entry node at node i at moment t; NY denotes a set consisting of serial numbers of Y-type grid entry nodes; NΔ denotes a set consisting of serial numbers of Δ-type grid entry nodes; ϕY denotes a set consisting of phases of Y-type grid entry nodes; and ϕΔ denotes a set consisting of phases of Δ-type grid entry nodes.
The network constraint condition of the virtual power plant is as follows:
V≤V≤
−īij≤iij≤īij (46)
Wherein, V denotes a vector consisting of a minimum voltage at each phase and each node;
(3) Extracting an Operation Constraint Condition of Energy-Storage-Type and Generator-Type Distributed Resources
(3.1) Building Three Types of Decision Variable Vectors
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)
Wherein, matrix M and vector n are constant constraint parameters organized based on the constraint condition.
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 PE; (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 PG; and (iii) defining a decision variable consisting of inactive power of all distributed energy-resource devices as Q. Formula (47) can be rewritten as:
(3.2) On the Basis of Extracting an Operation Constraint Condition of Distributed Resources of Generator-Type Devices
regarding PG as a random parameter in Robust optimization, a parameter in formula (48) is written in a form of the following block matrix:
wherein, MG0, MEE, MGE and MQE are corresponding blocks in matrix M; and n1E and n2E are corresponding blocks in vector n;
a constraint relation between parameters PG in formula (49) and a constraint relation between variables PE, Q and parameters PG are extracted and represented as formula (50) and formula (51) respectively:
MG0PG≤n1E (50)
MEEPE+MQEQ≤n2E−MGEPG (51)
solution of a Robust optimization problem: for any PG that satisfies a constraint condition MG0PG≤n1E, a constraint condition of formula (51) is made true constantly, which is equivalent to solution of an optimization problem in formula (52)
wherein, an operator (⋅)i denotes elements at ith line of the matrix or vector.
an operation constraint condition of energy-storage-type distributed resources is obtained as:
EExE≤fE (53)
wherein matrix EE and vector fE are parameters obtained by solving the Robust optimization problem in formula (52); and xE is a decision variable of equivalent energy storage, that is:
(3.3) On the Basis of Extracting an Operation Constraint Condition of Distributed Resources of Energy-Storage-Type Devices
regarding PE as a random parameter in Robust optimization, a parameter in formula (48) is written in a form of the following block matrix:
wherein, ME0, MEG, MGG and MQG are corresponding blocks in matrix M; and n1G and n2G are corresponding blocks in vector n.
a constraint relation between parameters PE in formula (49) and a constraint relation between variables PG, Q and parameters PG are extracted and represented as formula (58) and formula (59) respectively:
ME0PE≤n1G (58)
MGGPG+MQGQ≤n2G−MEGPE (59)
solution of a Robust optimization problem: for any PE that satisfies a constraint condition ME0PE≤n1G, a constraint condition of formula (59) is made true constantly, which is equivalent to solution of an optimization problem in formula (60):
an operation constraint condition of energy-storage-type distributed resources is obtained as:
EGxG≤fG (61)
wherein, matrix EG and vector fG are parameters obtained by solving the Robust optimization problem in formula (60); and xG is a decision variable of an equivalent generator, that is:
(4) Solving A Constraint Parameter of an Equivalent Energy-Storage-Type Device and an Equivalent Generator-Type Device
(4.1) Solving A Constraint Parameter of an Equivalent Energy-Storage-Type Device
a constraint parameter of an equivalent energy storage device is divided into major problems (65)-(68) and minor problems (72)-(75) to be solved.
the major problems are reflected as the following forms:
wherein, matrix AE 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 bE denotes an intercept of each high-dimension hyperplane for a polyhedron of a flexible and feasible region; vector uE 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 CE and vector dE are a constant matrix denoting a relation between a decision variable xE 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; ξ*k denotes an output active power track of an equivalent energy storage device in a kth scene; zk denotes a vector of a kth scene consisting of a 0/1 decision variable; nz denotes a dimensional number of zk; and M denotes a very big constant with a value thereof generally being 1×106.
AE=[IT−ITΓT−ΓT]T (69)
uE=[1TT−1TT1T−1T−1T−1T]T (70)
wherein, T denotes the number of moments considered; IT denotes a unit array when a dimensional number is T; 1T denotes a total 1-row vector with T elements; and matrix Γ is defined as shown in (71):
wherein, γ denotes a self-discharge rate of an equivalent energy storage device.
the minor problems are reflected as the following forms:
wherein, b*E denotes a result obtained by optimization of the major problem.
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):
wherein, s denotes a vector consisting of a 0/1 decision variable; ns denotes a dimensional number of s; ω denotes an antithetic variable of constraint (73); π denotes am antithetic variable of constraint (74); and λ denotes an antithetic variable of constraint (75).
A constraint parameter solution algorithm process of an equivalent energy-storage-type device is as follows:
ξ*K+1 denotes a constant vector added to a major problem iterated for the K+1 time with a value thereof as an optimal solution of a previous iteration; and zK+1 denotes a variable consisting of a 0/1 decision vector in iteration process of the K+1 time.
(4.2) Solving A Constraint Parameter of an Equivalent Generator
a constraint parameter of an equivalent generator is divided into major problem (80)-(83) and minor problems (87)-(90) to be solved.
the major problems are reflected as the following forms:
wherein, matrix AG 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 bG denotes an intercept of each high-dimension hyperplane for a polyhedron of a flexible and feasible region; vector uG 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); vector ξ denotes an active power output track of an equivalent generator; matrix CG and vector dG are a constant matrix denoting a relation between a decision variable xG of an equivalent generator and an active power output track ξ, with a value thereof obtained by formula (39).
AG=[IT−ITΛT−ΛT]T (84)
uG=[1TT−1TT1T−1T−1T−1T]T (85)
wherein, 1T−1 denotes a total 1-row vector with T−1 elements; and matrix Λ is a matrix having a size of (T−1)×T, which is defined as shown in (86):
the minor problems are reflected as the following forms:
wherein, b*G denotes a result obtained by optimization of the major problem.
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):
Wherein, ω denotes an antithetic variable of constraint (88); π denotes am antithetic variable of constraint (89); and λ denotes an antithetic variable of constraint (90).
A constraint parameter solution algorithm process of an equivalent generator is as follows:
ξ*K+1 denotes a constant vector added to a major problem iterated for the K+1 time with a value thereof as an optimal solution of a previous iteration; and zK+1 denotes a variable consisting of a 0/1 decision vector in iteration process of the K+1 time.
(5) Obtaining an Assessment Result of Flexibility for the Virtual Power Plant
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).
AEPESS≤b*E (95)
AGPGEN≤b*G (96)
PVPP=PESS+PGEN (97)
wherein PESS denotes a vector consisting of output active power of equivalent energy-storage-type devices at each moment; PGEN denotes a vector consisting of output active power of equivalent generator-type devices at each moment; and PVPP denotes a vector consisting an output active power of a virtual power plant at each moment.
Other features and advantages of the present invention will be stated in the subsequent description and partially become apparent from the description or understood by implementing the present invention. The purpose and other advantages of the present invention can be realized and obtained by a structure as pointed out in the description, claims and accompanying drawings.
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.
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.
With a method of assessing dynamic flexibility for a virtual power plant, what is shown in
(1) Building A Distributed Energy-Resource Model of A Virtual Power Plant
(1.1) A Gas Turbine
the output power constraint condition of the gas turbine is as follows:
wherein, Pi,ψ,tCHP denotes an output active power of the ψ-phase gas turbine at node i at moment t; Qi,ψ,tCHP denotes an output inactive power of the ψ-phase gas turbine at node i at moment t;
a climbing constraint condition of an active power of the gas turbine is as follows:
−riCHP≤Pi,tCHP−Pi,t−1CHP≤riCHP (4)
wherein, riCHP denotes a climbing parameter of the gas turbine at node i and Pi,t−1CHP denotes an output active power of the ψ-phase gas turbine at node i at moment t−1.
(1.2) An Energy Storage Device
the output power constraint condition of the energy storage device is as follows:
wherein, Pi,ψ,tESS denotes a net output active power of the ψ-phase energy storage device at node i at moment t; Qi,ψ,tESS denotes a net output inactive power of the ψ-phase energy storage device at node i at moment t;
formula (6) approximates the following linear formula:
−
−
−√{square root over (2)}
−√{square root over (2)}
an energy constraint condition of the energy storage device is as follows:
EiESS≤Ei,tESS≤ĒiESS (12)
Ei,tESS=αiESSEi,t−1ESS+Pi,tESSΔt (13)
wherein, Ei,tESS denotes energy of the energy storage device at moment t at node i; Ei,t−1ESS denotes energy of the energy storage device at moment t−1 at node i; EiESS denotes minimum energy of the energy storage device at node i; ĒiESS denotes maximum energy of the energy storage device at node i; αiESS denotes a self-discharge rate of the energy storage device at node i; and Δt denotes a time interval of two decision moments.
(1.3) A Photovoltaic Power Generation Device
the output power constraint condition of the photovoltaic power generation device is as follows:
wherein, Pi,ψ,tPV denotes an output active power of the ψ-phase photovoltaic power generation device at node i at moment t; Qi,ψ,tPV denotes an output inactive power of the ψ-phase photovoltaic power generation device at node i at moment t; Pi,ψPV denotes a minimum output active power of the ψ-phase photovoltaic power generation device at node i;
formula (15) approximates the following linear formula:
−
−
−√{square root over (2)}
−√{square root over (2)}
(1.4) A Wind Generator
the output power constraint condition of the wind generator is as follows:
Wherein Pi,ψ,tWT denotes an output active power of the ψ-phase wind generator at node i at moment t; Qi,ψ,tWT denotes an output inactive power of the ψ-phase wind generator at node i at moment t; Pi,ψWT denotes a minimum output active power of the ψ-phase wind generator at node i;
formula (22) approximates the following linear formula:
−
−
−√{square root over (2)}
−√{square root over (2)}
(1.5) A Demand-Side Responsive Heating Load
the output power constraint condition of the demand-side responsive heating load is as follows:
wherein, Pi,ψ,tHVAC denotes an active power of the ψ-phase demand-side responsive heating load at node i at moment t; Qi,ψ,tHVAC denotes an inactive power of ψ-phase demand-side responsive heating load at node i at moment t; φiHVAC denotes a power coefficient of the demand-side responsive heating load at node i at moment t;
a temperature constraint of a heating load device is as follows:
Ti,tHVAC=Ti,t−1HVAC+αiHVAC(Ti,tENV−Ti,t−1HVAC)+βiHVACPi,tHVAC (31)
TiHVAC≤Ti,tHVAC≤
wherein, Ti,tHVAC demotes a temperature of the demand-side responsive heating load at node i at moment; Ti,t−1HVAC denotes a temperature of the demand-side responsive heating load at node i at moment t−1; Ti,tENV denotes an outdoor temperature of the demand-side responsive heating load at node i at moment t; αiHVAC denotes a heat dissipation parameter of the demand-side responsive heating load at node i; βiHVAC denotes an electricity-heat conversion parameter of the demand-side responsive heating load at node i; TiHVAC denotes a lower temperature limit of the demand-side responsive heating load at node i; and
(1.6) An Electric Vehicle Charging Station
the output power constraint condition of the electric vehicle charging station is as follows:
wherein, Pi,ψ,tEV denotes an active power of the ψ-phase electric vehicle charging station at node i at moment t; Qi,ψ,tEV denotes an inactive power of the ψ-phase electric vehicle charging station at node i at moment t; φiEV denotes a power coefficient of the electric vehicle charging station at node i;
an energy constraint of the electric vehicle charging station is as follows:
wherein Ēi,tEV denotes a maximum output energy of the electric vehicle charging station at node i at moment t; and Ei,tEV denotes a minimum output energy of the electric vehicle charging station at node i at moment t.
(2) Building A Power Flow Model for the Virtual Power Plant Network
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)
iij=Dy+d (38)
p0=Gy+g (39)
q0=Hy+h (40)
Wherein, V denotes a vector consisting of a magnitude of each node and each phase voltage; iij denotes a vector consisting of each branch current; p0 denotes an injection active power of the grid entry point in the virtual power plant; q0 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:=[(pY)T,(qY)T,(pΔ)T,(qΔ)T]T, wherein pY,pΔ,qY,qΔ 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∈NY, ψ∈ϕY, the injection power vector of nodes of each type at each moment can be calculated as:
pi,ψ,tY=Pi,ψ,tCHP+Pi,ψ,tESS+Pi,ψ,tPV+Pi,ψ,tWT−Pi,ψ,tHVAC−Pi,ψ,tEV−Pi,ψ,tLOAD (41)
qi,ψ,tY=Qi,ψ,tCHP+Qi,ψ,tESS+Qi,ψ,tPV+Qi,ψ,tWT−Qi,ψ,tHVAC−Qi,ψ,tEV−Qi,ψ,tLOAD (42)
for ∀i∈NΔ, ψ∈ϕΔ:
pi,ψ,tΔ=Pi,ψ,tCHP+Pi,ψ,tESS+Pi,ψ,tPV+Pi,ψ,tWT−Pi,ψ,tHVAC−Pi,ψ,tEV−Pi,ψ,tLOAD (43)
qi,ψ,tΔ=Qi,ψ,tCHP+Qi,ψ,tESS+Qi,ψ,tPV+Qi,ψ,tWT−Qi,ψ,tHVAC−Qi,ψ,tEV−Qi,ψ,tLOAD (44)
wherein, Pi,ψ,tLOAD denotes an active power of the ψ-phase load at node i at moment t; Qi,ψ,tLOAD denotes an inactive power of the ψ-phase load at node i at moment t; pi,ψ,tY denotes an injection active power of the ψ-phase Y-type grid entry node at node i at moment t; qi,ψ,tY denotes an injection inactive power of the ψ-phase Y-type grid entry node at node i at moment t; pi,ψ,tΔ denotes an injection active power of the ψ-phase Δ-type grid entry node at node i at moment t; qi,ψ,tΔ denotes an injection inactive power of the ψ-phase Δ-type grid entry node at node i at moment t; NY denotes a set consisting of serial numbers of Y-type grid entry nodes; NΔ denotes a set consisting of serial numbers of Δ-type grid entry nodes; ϕY denotes a set consisting of phases of Y-type grid entry nodes; and ϕΔ denotes a set consisting of phases of Δ-type grid entry nodes.
The network constraint condition of the virtual power plant is as follows:
V≤V≤
−īij≤iij≤īij (46)
Wherein, V denotes a vector consisting of a minimum voltage at each phase and each node;
(3) Extracting an Operation Constraint Condition of Energy-Storage-Type and Generator-Type Distributed Resources
(3.1) Building Three Types of Decision Variable Vectors
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)
wherein, matrix M and vector n are constant constraint parameters organized based on the constraint condition.
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 PE; (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 PG; and (iii) defining a decision variable consisting of inactive power of all distributed energy-resource devices as Q. Formula (47) can be rewritten as:
(3.2) On the Basis of Extracting an Operation Constraint Condition of Distributed Resources of Generator-Type Devices
regarding PG as a random parameter in Robust optimization, a parameter in formula (48) is written in a form of the following block matrix:
wherein, MG0, MEE, MGE and MQE are corresponding blocks in matrix M; and n1E and n2E are corresponding blocks in vector n.
a constraint relation between parameters PG in formula (49) and a constraint relation between variables PE, Q and parameters PG are extracted and represented as formula (50) and formula (51) respectively:
MG0PG≤n1E (50)
MEEPE+MQE≤n2E−MGEPG (51)
solution of a Robust optimization problem: for any PG that satisfies a constraint condition MG0PG≤n1E, a constraint condition of formula (51) is made true constantly, which is equivalent to solution of an optimization problem in formula (52):
wherein, an operator (⋅)i denotes elements at ith line of the matrix or vector.
an operation constraint condition of energy-storage-type distributed resources is obtained as follows:
EExE≤fE (53)
wherein, matrix EE and vector fE are parameters obtained by solving the Robust optimization problem in formula (52); and xE is a decision variable of equivalent energy storage, that is:
(3.3) On the Basis of Extracting an Operation Constraint Condition of Distributed Resources of Energy-Storage-Type Devices
regarding PE as a random parameter in Robust optimization, a parameter in formula (48) is written in a form of the following block matrix:
wherein, ME0, MEG, MGG and MQG are corresponding blocks in matrix M ; and n1G and n2G are corresponding blocks in vector n.
a constraint relation between parameters PE in formula (49) and a constraint relation between variables PG, Q and parameters PG are extracted and represented as formula (58) and formula (59) respectively:
ME0PE≤n1G (58)
MGGPG+MQGQ≤n2G−MEGPE (59)
solution of a Robust optimization problem: for any PE that satisfies a constraint condition ME0PE≤n1G, a constraint condition of formula (59) is made true constantly, which is equivalent to solution of an optimization problem in formula (60):
an operation constraint condition of energy-storage-type distributed resources is obtained as follows:
EGxG≤fG (61)
wherein, matrix EG and vector fG are parameters obtained by solving the Robust optimization problem in formula (60); and xG is a decision variable of an equivalent generator. that is:
(4) Solving A Constraint Parameter of an Equivalent Energy Storage Device and an Equivalent Generator
(4.1) Solving A Constraint Parameter of an Equivalent Energy Storage Device
a constraint parameter of an equivalent energy storage device is divided into major problems (65)-(68) and minor problems (72)-(75) to be solved.
the major problems are reflected as the following forms:
wherein, matrix AE 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 bE denotes an intercept of each high-dimension hyperplane for a polyhedron of a flexible and feasible region; vector uE 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 CE and vector dE are a constant matrix denoting a relation between a decision variable xE 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; ξ*k denotes an output active power track of an equivalent energy storage device in a kth scene; zk denotes a vector of a kth scene consisting of a 0/1 decision variable; nz denotes a dimensional number of zk; and M denotes a very big constant with a value thereof generally being 1×106.
AE=[IT−ITΓT−ΓT]T (69)
uE=[1TT−1TT1TT−1TT]T (70)
wherein, T denotes the number of moments considered; IT denotes a unit array when a dimensional number is T; 1T denotes a total 1-row vector with T elements; and matrix Γ is defined as shown in (71):
wherein, γ denotes a self-discharge rate of an equivalent energy storage device.
The minor problems are reflected as the following forms:
Wherein, b*E denotes a result obtained by optimization of the major problem.
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):
Wherein, s denotes a vector consisting of a 0/1 decision variable; ns denotes a dimensional number of s; ω denotes an antithetic variable of constraint (73); π denotes am antithetic variable of constraint (74); and λ denotes an antithetic variable of constraint (75).
A constraint parameter solution algorithm process of an equivalent energy-storage-type device is as follows:
a constraint parameter of an equivalent generator is divided into major problems (80)-(83) and minor problems (87)-(90) to be solved.
the major problems are reflected as the following forms:
wherein, matrix AG 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 bG denotes an intercept of each high-dimension hyperplane for a polyhedron of a flexible and feasible region; vector uG 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 CG and vector dG are a constant matrix denoting a relation between a decision variable xG of an equivalent generator and an active power output track ξ, with a value thereof obtained by formula (39).
AG=[IT−ITΛT−ΛT]T (84)
uG=[1TT−1TT1T−1T−1T−1T]T (85)
wherein, 1T−1 denotes a total 1-row vector with T−1 elements; and matrix Λ is a matrix having a size of (T−1)×T , which is defined as shown in (86):
the minor problems are reflected as the following forms:
wherein, b*G denotes a result obtained by optimization of the major problem.
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):
Wherein, ω denotes an antithetic variable of constraint (88); π denotes am antithetic variable of constraint (89); and λ denotes an antithetic variable of constraint (90).
A constraint parameter solution algorithm process of an equivalent energy storage device is as follows:
(5) Obtaining An Assessment Result of Flexibility for the Virtual Power Plant
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).
AEPESS≤b*E (95)
AGPGEN≤b*G (96)
PVPP=PESS+PGEN (97)
Wherein, PESS denotes a vector consisting of an output active power of equivalent energy-storage-type devices at each moment; PGEN denotes a vector consisting of an output active power of equivalent generator-type devices at each moment; and PVPP denotes a vector consisting an output active power of a virtual power plant at each moment.
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.
Number | Date | Country | Kind |
---|---|---|---|
202011341035.3 | Nov 2020 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
20120130556 | Marhoefer | May 2012 | A1 |
20150303697 | Ploett | Oct 2015 | A1 |
20200073427 | Kobayashi | Mar 2020 | A1 |
Number | Date | Country |
---|---|---|
110416998 | Nov 2019 | CN |
111523947 | Aug 2020 | CN |
110661277 | Oct 2022 | CN |
Entry |
---|
K. Honghui, G. Shaoqing and N. Hui, “Virtual Power Plant Optimization Decision Method Considering the Interaction Between Combined Cooling-Heating and Power and Electric Heating Equipment,” 2019 IEEE Innovative Smart Grid Technologies—Asia (ISGT Asia), Chengdu, China, 2019, pp. 4351-4355 (Year: 2019). |
N. Luo, L. Liu, F. Xie and T. Wu, “Flexibility Optimal Dispatch of the Distribution Network With Virtual Power Plant,” 2020 IEEE 4th Conference on Energy Internet and Energy System Integration (EI2), Wuhan, China, 2020, pp. 178-184, doi: 10.1109/EI250167.2020.9346756. (Year: 2020). |
Number | Date | Country | |
---|---|---|---|
20220173593 A1 | Jun 2022 | US |