Bilateral stochastic power grid dispatching method
11689024 · 2023-06-27
Assignee
Inventors
- Wenchuan WU (Beijing, CN)
- Shuwei Xu (Beijing, CN)
- Boming Zhang (Beijing, CN)
- Hongbin SUN (Beijing, CN)
- Bin Wang (Beijing, CN)
- Qinglai GUO (Beijing, CN)
Cpc classification
H02J3/466
ELECTRICITY
Y04S10/50
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H02J2300/20
ELECTRICITY
H02J2203/20
ELECTRICITY
G05B2219/2639
PHYSICS
G06Q10/04
PHYSICS
International classification
H02J3/38
ELECTRICITY
Abstract
The disclosure relates to a two-side stochastic dispatching method for a power grid. By analyzing historical data of wind power, the Gaussian mixture distribution is fitted by software. For certain power system parameters, a two-side chance-constrained stochastic dispatching model is established. The hyperbolic tangent function is used to analyze and approximate cumulative distribution functions of random variables in the reserve demand constraint and the power flow constraint, to convert the two-side chance constraint into a deterministic constraint. The disclosure can have the advantage of using the hyperbolic tangent function to convert the two-side chance constraint containing risk levels and random variables into the solvable deterministic convex constraint, effectively improving the solution efficiency of the model, and providing decision makers with a more reasonable dispatching basis.
Claims
1. A two-side stochastic dispatching method for a power grid, comprising: (1) establishing, by the power grid, a two-side stochastic dispatching model based on a hyperbolic tangent function approximation, wherein the two-side stochastic dispatching model comprises an objective function and constraints; (2) analyzing and approximating, by the power grid, a Gaussian mixture distribution of a random variable appearing in the constraints, based on a reserve demand constraint and a power flow constraint of the constraints in step (1), to obtain an approximate expression of the random variable; (3) transforming, by the power grid, the two-side stochastic dispatching model in step (1) into a deterministic optimization model based on the approximation of the random variable in the reserve demand constraint and the power flow constraint in step (2); (4) using, by the power grid, an interior point method to solve the deterministic optimization model transformed in steps (1) to (3), to obtain a power generation plan of thermal power units and renewable energy power stations of the power grid; and operating, by the power grid, the thermal power units and the renewable energy power stations based on the power generation plan.
2. The method according to claim 1, wherein the step (1) comprises: (1) the establishing the objective function of the two-side stochastic dispatching model, comprising: minimizing a sum of a power generation cost, a positive spinning reserve capacity cost and a negative spinning reserve capacity cost, of the thermal power units, which is expressed by a formula of:
CF.sub.i(P.sub.i.sup.t)=a.sub.i(P.sub.i.sup.t).sup.2+b.sub.iP.sub.i.sup.t+c.sub.i (2) where, a.sub.i represents a quadratic coefficient of a fuel cost of the i.sup.th thermal power unit, b.sub.i represents a primary coefficient of the fuel cost of the i.sup.th thermal power unit, c.sub.i represents a constant coefficient of the fuel cost of the i.sup.th thermal power unit, (2) the constraints of the two-side stochastic dispatching model, comprising: (2-1) a power balance constraint of the power grid, which is expressed by a formula of:
P.sub.i≤P.sub.i.sup.t≤
0≤w.sup.t.sub.j≤
P.sub.i.sup.t−P.sub.i.sup.t−1≥−RD.sub.iΔT (6) and
P.sub.i.sup.t−P.sub.i.sup.t−1≤RU.sub.iΔT (31) where, RU.sub.i represents an upward ramp rate of the i.sup.th thermal power unit, RD.sub.i represents a downward ramp rate of the i.sup.th thermal power unit, ΔT represents a dispatching interval between two adjacent dispatching periods; (2-5) a maximum reserve capacity constraint that the thermal power unit in the power grid provides, which is expressed by formulas of:
r.sub.i,t.sup.up≤min{
r.sub.i,t.sup.dn≤min{P.sub.i.sup.t−P.sub.i,RD.sub.iΔT} (9) where, a mathematical symbol min {.Math.} represents a minimum value of elements in a set; (2-6) the reserve demand constraint in response to fluctuations in the renewable energy power stations in the power grid, which is expressed by a formula of:
3. The method according to claim 1, wherein the step (2) comprises: (1) approximating the Gaussian mixture distribution by a formula of:
4. The method according to claim 1, wherein the step (4) comprises: (1) transforming a chance constraint by using the formula (17) of the cumulative distribution function based on the approximation of the random variable in the reserve demand constraint, as formulas of:
Description
DETAILED DESCRIPTION
(1) The two-side stochastic dispatching method based on hyperbolic tangent function approximation, provided in the disclosure, includes the following steps:
(2) The two-side stochastic dispatching method for the power grid, provided in the disclosure, includes the following steps:
(3) (1) establishing a two-side stochastic dispatching model based on hyperbolic tangent function approximation, in which the two-side stochastic dispatching model includes an objective function and constraints;
(4) (2) analyzing and approximating a Gaussian mixture distribution satisfied by a random variable, appearing in the constraints, based on a reserve demand constraint and a power flow constraint in step (1), to obtain an approximate expression of the random variable; (3) transforming the two-side stochastic dispatching model in step (1) into a deterministic optimization model based on the approximation of the random variable in the reserve demand constraint and the power flow constraint in step (2); and
(5) (4) using an interior point method to solve the deterministic optimization model transformed in steps (1) to (3), to obtain a power generation plan of thermal power units and renewable energy power stations.
(6) In the above two-side stochastic dispatching method for the power grid, step (1) includes:
(7) (1) establishing the objective function of the two-side stochastic dispatching model, including:
(8) minimizing a sum of power generation cost, positive spinning reserve capacity cost and negative spinning reserve capacity cost, of the thermal power units, which is expressed by a formula of:
(9)
(10) where, T represents a number of dispatching periods,
(11) N.sub.G represents a number of the thermal power units,
(12) t represents a serial number of the dispatching period,
(13) i represents a serial number of the thermal power unit,
(14) c.sub.up represents a positive spinning reserve capacity cost per unit,
(15) c.sub.dn represents a negative spinning reserve capacity cost per unit,
(16) r.sub.i,t.sup.up represents a positive spinning reserve capacity reserved by an i.sup.th thermal power unit during a dispatching period t,
(17) r.sub.i,t.sup.dn represents a negative spinning reserve capacity reserved by the i.sup.th thermal power unit during the dispatching period t,
(18) P.sub.i.sup.t represents a planned power of the i.sup.th thermal power unit during the dispatching period t,
(19) CF.sub.i represents a fuel cost function of the i.sup.th thermal power unit,
(20) the fuel cost function of the thermal power unit is expressed as a quadratic function of the power P.sub.i.sup.t of the thermal power unit by a formula of:
CF.sub.i(P.sub.i.sup.t)=a.sub.i(P.sub.i.sup.t).sup.2+b.sub.iP.sub.i.sup.t+c.sub.i (26)
(21) where, a.sub.i represents a quadratic coefficient of a fuel cost of the i.sup.th thermal power unit,
(22) b.sub.i represents a primary coefficient of the fuel cost of the i.sup.th thermal power unit,
(23) c.sub.i represents a constant coefficient of the fuel cost of the i.sup.th thermal power unit,
(24) (2) the constraints of the two-side stochastic dispatching model, include:
(25) (2-1) a power balance constraint of the power grid, which is expressed by a formula of:
(26)
(27) where, w.sup.t.sub.j represents a planned reference power of a j.sup.th renewable energy power station during the dispatching period t,
(28) d.sup.t.sub.k represents a size of a k.sup.th load during the dispatching period t,
(29) N.sub.w represents a number of the power stations, and
(30) N.sub.D represents a number of loads;
(31) (2-2) an upper limit constraint and a lower limit constraint of the power P.sub.i.sup.t of the thermal power unit in the power grid, which is expressed by a formula of:
P.sub.i≤P.sub.i.sup.t≤
(32) where, P.sub.i represents an upper bound of the power of the i.sup.th thermal power unit, and
(33)
(34) (2-3) an upper limit constraint and a lower limit constraint of the planned power w.sup.t.sub.j of the power station of the power grid, which is expressed by a formula of:
0≤w.sup.t.sub.j≤
(35) where,
(36) (2-4) ramp constraints of the thermal power unit in the power grid, which are expressed by formulas of:
P.sub.i.sup.t−P.sub.i.sup.t−1≥−RD.sub.iΔT (30) and
P.sub.i.sup.t−P.sub.i.sup.t−1≤RU.sub.iΔT (31)
(37) where, RU.sub.i represents an upward ramp rate of the i.sup.th thermal power unit,
(38) RD.sub.i represents a downward ramp rate of the i.sup.th thermal power unit,
(39) ΔT represents a dispatching interval between two adjacent dispatching periods;
(40) (2-5) a maximum reserve capacity constraint that the thermal power unit in the power grid provides, which is expressed by formulas of:
r.sub.i,t.sup.up≤min{
r.sub.i,t.sup.dn≤min{P.sub.i.sup.t−P.sub.i,RD.sub.iΔT} (33)
(41) where, a mathematical symbol min {.Math.} represents a minimum value of elements in a set;
(42) (2-6) a reserve demand constraint in response to fluctuations in the renewable energy power stations in the power grid, which is expressed by a formula of:
(43)
(44) where, a mathematical symbol Pr{.Math.} represents a probability of occurrence of an event,
(45) {tilde over (w)}.sup.t.sub.j represents an actual power of the j.sup.th renewable energy power station during the dispatching period t,
(46) a superscript ˜ represents that a variable is a random variable,
(47) β represents a maximum risk level preset by a dispatcher and a value range of the maximum risk level is 0 to 0.5, a joint probability distribution of the actual power of all renewable energy power stations meets a Gaussian mixture distribution of:
(48)
(49) {tilde over (w)}.sup.t represents a planned power set of all renewable energy power stations during the dispatching period t,
(50) {tilde over (w)}.sup.t is a stochastic vector,
(51) PDF.sub.{tilde over (w)}.sub.
(52) Y represents a value of {tilde over (w)}.sup.t,
(53) N(Y, μ.sub.m, Σ.sub.m) represents a m.sup.th component of the Gaussian mixture distribution,
(54) M represents a number of components of the Gaussian mixture distribution,
(55) ω.sub.m represents a weight coefficient of the m.sup.th component of the Gaussian mixture distribution and satisfies that a sum of weight coefficients of all components is equal to 1,
(56) μ.sub.m represents a mean vector of the m.sup.th component,
(57) Σ.sub.m represents a covariance matrix of the m.sup.th component,
(58) det represents a determinant of the matrix, and
(59) a superscript T represents a transpose of the matrix;
(60) (2-7) a power flow constraint of the power grid, which is expressed by a formula of:
(61)
(62) where,
(63) G.sub.l,i represents a transfer distribution factor of a l.sup.th branch for an active power of the i.sup.th thermal power unit,
(64) G.sub.l,j represents a transfer distribution factor of a l.sup.th branch for an active power of the j.sup.th renewable energy power station,
(65) G.sub.l,k represents a transfer distribution factor of the l.sup.th branch for the k.sup.th load,
(66) the above-mentioned transfer distribution factors are respectively obtained from a power grid dispatching center,
(67) L.sub.l represents an upper limit of active power on the l.sup.th branch,
(68) η represents a risk level that the active power on the branch exceeds the upper limit of active power on the branch, which is set by the dispatcher,
(69) {tilde over (P)}.sub.i.sup.t represents an actual power of the i.sup.th thermal power unit during the dispatching period t, which is expressed by a formula of:
(70)
(71) where, α.sub.i represents a power distribution coefficient of the i.sup.th thermal power unit, which is determined by a ratio of a rated capacity of the thermal power unit to a total capacity of all thermal power units participating in power generation;
(72) in order to meet the power balance of the power grid at any dispatch time, a sum of power distribution coefficients of all thermal Dower units is equal to 1,
(73)
represents a power difference between actual powers and planned powers of all renewable energy power stations;
(74) substituting the formula (14) into the formula (13), in which the formula (13) is transformed into a formula of:
(75)
(76) In the above two-side stochastic dispatching method for the power grid, step (2) includes:
(77) (1) approximating the Gaussian mixture distribution by a formula of:
(78)
(79) where, ξ.sub.0 represents any one-dimensional random variable that obeys the Gaussian mixture distribution,
(80) CDF.sub.ξ.sub.
(81) x represents an independent variable of the cumulative distribution function and represents a possible value of ξ.sub.0,
(82) M.sub.0 represents a number of Gaussian components obeyed by the random variable ξ.sub.0,
(83) m.sub.0 represents a m.sub.0.sup.th component,
(84) ω.sub.0, μ.sub.m.sub.
(85) a and b represent constants, and
(86) tan h represent a hyperbolic tangent function in mathematical operations;
(87) (2) based on the approximating method of the Gaussian mixture distribution in step (1), approximating a cumulative distribution function of a random variable in the reserve demand constraint in the formula (13) by a formula of:
(88)
(89) where, ξ.sub.r.sup.t represents a random variable and represents a sum of actual powers of all renewable energy power stations at time t,
(90) 1 represents a column vector with all elements being 1,
(91) CDF.sub.ξ.sub.
(92) y represents an independent variable of the cumulative distribution function CDF.sub.ξ.sub.
(93) ACDF.sub.ξ.sub.
(94) (3) based on the approximating method of the Gaussian mixture distribution in step (1), approximating a cumulative distribution function of a random variable in the power flow constraint of the power grid in the formula (15) by a formula of:
(95)
(96) where, F.sub.l represents a column vector and a j.sup.th element of the vector is
(97)
(98) ξ.sub.l.sup.t represents a random variable and represents a linear combination of actual powers of all renewable energy power stations at time t, coefficients of the linear combination is F.sub.l,
(99) CDF.sub.ξ.sub.
(100) z represents an independent variable of the cumulative distribution function CDF.sub.ξ.sub.
(101) ACDF.sub.ξ.sub.
(102) In the above two-side stochastic dispatching method for the power grid, step (4) includes:
(103) (1) transforming a chance constraint by using the approximate expression (17) of the cumulative distribution function based on the approximation of the random variable in the reserve demand constraint, as formulas of:
(104)
(105) where, q.sub.r,t.sup.up and q.sub.r,t.sup.dn are auxiliary variables, which respectively represent a upper and lower quantiles of the reserve demand constraint at time t;
(106) (2) transforming a power flow chance constraint determined in the formula (15) by using the approximate expression (18) of the cumulative distribution function of the random variable in the power flow constraint of the power grid based on the approximation of the random variable in the power flow constraint of the power grid, as formulas of:
(107)
(108) where, q.sub.l,t.sup.up and q.sub.l,t.sup.dn are auxiliary variables, which respectively represent a upper and lower quantiles of the power flow constraint of the l.sup.th branch at time t;
(109) (4) solving the two-side stochastic dispatching model based on hyperbolic tangent function approximation, in which,
(110) the interior point method is used to solve the optimization model including the objective function (1)-(2) and constraints (3)-(9), (14), (19)-(24) in the above steps (1)-(3), to obtain the planned power P.sub.i.sup.t of the i.sup.th thermal power unit during the dispatching period t and the planned reference power w.sup.t.sub.j of the j.sup.th renewable energy power station during the dispatching period t, in which P.sub.i.sup.t is regarded as the planned power of the i.sup.th thermal power unit during the dispatching period t and w.sup.t.sub.j is regarded as the reference power of the j.sup.th renewable energy power station during the dispatching period t, to realize the chance-constrained stochastic economic dispatching based on the approximation of the hyperbolic tangent function.