Method for dynamically and economically dispatching power system based on optimal load transfer ratio and optimal grid connection ratio of wind power and photovoltaic power

11264805 · 2022-03-01

Assignee

Inventors

Cpc classification

International classification

Abstract

A method for dispatching a power system based on optimal load transfer ratio and optimal grid connection ratio of wind power and photovoltaic power includes: acquiring load data; drawing a load curve; defining a peak load period, a flat load period and a low load period, and calculating average loads of the peak load period, the flat load period and the low load period before a load transfer; determining value ranges of a peak-low load transfer ratio, a peak-flat load transfer ratio and a flat-low load transfer ratio; establishing an objective function considering generation cost of thermal power unit, wind power purchase cost, PV power purchase cost and compensation cost for consumer load transfer; introducing an immune algorithm to calculate grid connection ratio of wind power, grid connection ratio of PV power, peak-low load transfer ratio, peak-flat load transfer ratio and flat-low load ratio corresponding to a minimum operating cost.

Claims

1. A method for dynamically and economically dispatching a power system based on an optimal load transfer ratio and an optimal grid connection ratio of wind power and photovoltaic (PV) power, comprising the following steps: S1: acquiring initial data by taking a day with 24 periods, wherein each period is 1 hour, as a dispatching period, wherein the initial data comprises obtaining an output power P.sub.w from a wind turbine in the power system, obtaining an output power P.sub.pv from a PV power station in the power system and obtaining a load power P.sub.L from the power system; S2: drawing a wind power output curve, a PV power output curve and a load curve according to the initial data; S3: defining a peak period T.sub.p, a flat period T.sub.f and a low period T.sub.l according to the load curve of the power system, and calculating an average load P.sub.p,ave of the peak period, an average load P.sub.f,ave of the flat period, an average load P.sub.l,ave of the low period before a load transfer; S4: determining a value range of a peak-low load transfer ratio μ.sub.pl, a value range of a peak-flat load transfer ratio μ.sub.pf and a value range of a flat-low load transfer ratio μ.sub.fl respectively according to the P.sub.p,ave, P.sub.f,ave and P.sub.l,ave in S3; S5: assuming that a total load power before and after the load transfer is unchanged, then calculating a system load after the load transfer, and establishing an objective function minC about a system operating cost after the load transfer, wherein the system operating cost comprises: a generation cost C.sub.G of a thermal power unit, a wind power purchase cost C.sub.W, a PV power purchase cost C.sub.PV and a compensation cost C.sub.M for a consumer load transfer; S6: entering constraints, comprising: a system power balance constraint, a positive spinning reserve constraint, a negative spinning reserve constraint, a thermal power unit output constraint, a thermal power unit ramp constraint, a wind power grid-connection ratio constraint, a PV power grid-connection ratio constraint, a peak-low load transfer ratio constraint, a peak-flat load transfer ratio constraint and a flat-low load transfer ratio constraint; and S7: introducing an immune algorithm (IA) to solve and generate an initial population; performing immune operations on the initial population, wherein the immune operations comprise an immune selection, a cloning, a mutation and a cloning suppression; refreshing the initial population until a termination condition is met, and obtaining μ.sub.w, μ.sub.pv, μ.sub.pl, μ.sub.pf and μ.sub.fl corresponding to a minimum system operating cost, wherein μ.sub.w, μ.sub.pw, μ.sub.pl, μ.sub.pf and μ.sub.fl are values to perform optimal dispatch of the power system; wherein μ.sub.w represents a grid connection ratio of wind power, and μ.sub.pv represents a grid connection ratio of PV power; the step of S7 further comprising: S71: generating the initial population as an initial antibody population, and evaluating individuals in the initial antibody population with the system operating cost as an antibody affinity operator; wherein, the initial population is generated by randomly taking values of the variables μ.sub.w, μ.sub.pv, μ.sub.pl, μ.sub.pf and μ.sub.fl within the respective value ranges as initial values; the initial antibody population is a vector composed of μ.sub.w, μ.sub.pv, μ.sub.pl, μ.sub.pf and μ.sub.fl; S72: performing immune operations on the initial antibody population, wherein the immune operations comprise the immune selection, the cloning, the mutation and the cloning suppression: the immune selection: selecting high-quality antibodies according to calculation results of antibody affinities and concentration in the initial antibody population, and activating the high-quality antibodies to obtain activated antibodies, wherein the antibody affinities are values of the system operating cost the concentration is a similarity of each value of the system operating cost the high-quality antibodies refer to the corresponding μ.sub.w, μ.sub.pv, μ.sub.pl, μ.sub.pf and μ.sub.fl in the current population in case of the minimum system operating cost; the cloning: cloning the activated antibodies to obtain a plurality of copies of the activated antibodies; the mutation: performing mutation operations on the plurality of copies of the activated antibodies to mutate the antibody affinities; the cloning suppression: reselecting mutation results, suppressing antibodies with a low affinity, and retaining mutation results of antibodies with a high affinity; and S73: refreshing the initial antibody population and replacing the antibodies with the low affinity in the initial antibody population with another randomly generated antibody to form an another antibody population; determining whether the termination condition is met, wherein the termination condition is that a current number of iterations is greater than or equal to a maximum number of iterations; if the termination condition is met, converging to obtain μ.sub.w, μ.sub.pv, μ.sub.pl, μ.sub.pf and μ.sub.fl corresponding to the minimum system operating cost if the termination condition is not met, returning to S72.

2. The method for dynamically and economically dispatching the power system based on the optimal load transfer ratio and the optimal grid connection ratio of wind power and PV power according to claim 1, wherein in S1, the output power P.sub.w of the wind turbine in the power system, the output power P.sub.pv of the PV power station in the power system and the load power P.sub.L of the power system are expressed as follows:
P.sub.w={P.sub.w1,P.sub.w2, . . . ,P.sub.wt, . . . ,P.sub.w24}
P.sub.pv={P.sub.pvt,P.sub.pv2, . . . ,P.sub.pvt, . . . ,P.sub.pv24}
P.sub.L={P.sub.L1,P.sub.L2, . . . ,P.sub.L1, . . . ,P.sub.L24} wherein, P.sub.wt represents an output power of the wind turbine in a t-th period, P.sub.pvt represents an output power of the PV power station in the t-th period, and P Lt represents a load power in the t-th period, t=1, 2, . . . , 24.

3. The method for dynamically and economically dispatching the power system based on the optimal load transfer ratio and the optimal grid connection ratio of wind power and PV power according to claim 2, wherein the peak period T.sub.p, the flat period T.sub.f and the low period T.sub.l in S3 are calculated as follows: S31: calculating a total daily load Q.sub.L, wherein Q L = .Math. t = 1 2 4 P L t ; S32: calculating an hourly average load Q.sub.L/24; S33: regarding the t-th period as the peak period T.sub.p when P.sub.Lt>(1+k)(Q.sub.L/24), regarding the t-th period as the low period T.sub.l when P.sub.Lt<(1−k).Math.(Q.sub.L/24), and regarding the t-th period as the flat period T.sub.f when (1−k).Math.(Q.sub.L/24)≤P.sub.Lt≤(1+k).Math.(Q.sub.L/24), wherein k is a dividing factor of a peak-low period, a flat-low period and the low period, 0<k<1.

4. The method for dynamically and economically dispatching the power system based on the optimal load transfer ratio and the optimal grid connection ratio of wind power and PV power according to claim 3, wherein S4 of determining the value range of the peak-low load transfer ratio μ.sub.pl, the value range of the peak-flat load transfer ratio μ.sub.pf and the value range of the flat-low load transfer ratio μ.sub.fl respectively according to the P.sub.p,ave, P.sub.f,ave and P.sub.l,ave in S3 is as follows: { μ p l [ 0 , P p , ave - P l , ave P p , ave ] μ p f [ 0 , P p , ave - P f , ave P p , ave ] μ fl [ 0 , P f , ave - P l , ave P f , ave ] .

5. The method for dynamically and economically dispatching the power system based on the optimal load transfer ratio and the optimal grid connection ratio of wind power and PV power according to claim 4, wherein in S5, the objective function minC is expressed as:
min C=C.sub.G+C.sub.W+C.sub.pv+C.sub.M wherein, C.sub.w=θ.sub.w×Q.sub.w, θ.sub.w and Q.sub.w, represent an on-grid wind power tariff and an on-grid wind power, respectively; Q w = μ w × .Math. t = 1 2 4 P wt , μ.sub.w represents a grid connection ratio of wind power; C.sub.PV=θ.sub.pv×Q.sub.pv, θ.sub.pv and Q.sub.pv represent an on-grid PV power tariff and an on-grid PV power, respectively; Q p v = μ p v × .Math. t = 1 2 4 P pvt , μ.sub.pv represents a grid connection ratio of PV power; C M = { θ m 1 × Q tran , Q tran λ Q L θ m 1 × λ Q L + θ m 2 × ( Q tran - λ Q L ) , Q tran > λ Q L , λ is a dividing factor of a conventional load and a deep load, 0<λ<1; Q.sub.tran is a transferred load, Q tran = .Math. t = 1 2 4 ( P Dt - P Lt ) ; θ.sub.m1 is a compensation cost for a conventional load transfer; θ.sub.m2 is a compensation cost for a deep load transfer; a load of the power system in the t-th period after the load transfer is expressed as: P D t = { P L t + μ p l P p , ave + μ f l P f , ave , t T l P L t + μ p f P p , ave - μ f l P f , ave , t T f P L t - μ p l P p , ave - μ p f P f , ave , t T p ; under a conventional peak shaving, the generation cost C.sub.G of the thermal power unit comprises a coal consumption cost, and under a deep peak shaving, the generation cost C.sub.G of the thermal power unit comprises a coal consumption cost, a life loss cost and an oil input cost, C G = { C T ( P t ) , P min P t P max C T ( P t ) + C life ( P t ) , P n P t < P min C T ( P t ) + C life ( P t ) + C u ( P t ) , P m P t < P n , wherein P.sub.max and P.sub.min are respectively a maximum output and a minimum output of the thermal power unit; P.sub.n is a steady combustion load of the thermal power unit under a non-oil-input deep peak shaving; P.sub.m is a steady combustion limit load of the thermal power unit under an oil-input deep peaking shaving; P.sub.t is an output power of the thermal power unit in the t-th period; the coal consumption cost is C T ( P t ) = .Math. t = 1 2 4 ( a P t 2 + b P t + c ) , a, b and c are coal consumption cost coefficients of the thermal power unit; the life loss cost of the thermal power unit under a variable-load peak shaving is calculated by C life ( P t ) = η C B 2 N f ( P t ) by referring to a Manson-Coffin equation, wherein η is an operation influence coefficient of the thermal power unit, indicating a degree of influence of different operating states on a unit loss; N.sub.f(P.sub.t) is a number of rotor cracking cycles determined by a low-cycle fatigue curve of a rotor; C.sub.B is a cost of buying the thermal power unit; the oil input cost of the thermal power unit is expressed as C.sub.u(P.sub.t)=C.sub.oilθ.sub.oil, wherein C.sub.oil is an oil consumption of the thermal power unit during a steady combustion, and θ.sub.oil is an oil price for the season.

6. The method for dynamically and economically dispatching the power system based on the optimal load transfer ratio and the optimal grid connection ratio of wind power and PV power according to claim 5, wherein in S6, the constraints after the load transfer comprise:
the system power balance constraint:P.sub.t+P.sub.wt+P.sub.pvt=P.sub.Dt
the positive spinning reserve constraint:P.sub.max−P.sub.t≥η.sub.1P.sub.Dt+η.sub.2P.sub.wt
the negative spinning reserve constraint:P.sub.t−P.sub.min≥η.sub.3P.sub.Dt+η.sub.4P.sub.wt
the thermal power unit output constraint:P.sub.min≤P.sub.t≤P.sub.max
the thermal power unit ramp constraint:η.sub.down≤P.sub.t−P.sub.t−1≤η.sub.up
the wind power grid-connection ratio constraint:0≤μ.sub.w≤1
the PV power grid-connection ratio constraint:0≤μ.sub.pv≤1 the peak-low load transfer ratio constraint: 0 μ p l P p , ave - P f , ave P p , a v e the peak-flat load transfer ratio constraint: 0 μ p f P p , ave - P f , ave P p , a v e the flat-low load transfer ratio constraint: 0 μ fl P f , ave - P l , ave P f , ave wherein, η.sub.1 and η.sub.3 represent an up-spinning reserve coefficient and a down-spinning reserve coefficient of the power system to the load, respectively; η.sub.2 and η.sub.4 represent an up-spinning reserve coefficient and a down-spinning reserve coefficient of the power system to the output power of the wind turbine, respectively; η.sub.down and η.sub.up represent a minimum ramp-down rate and a maximum ramp-up rate of the thermal power unit, respectively; P.sub.Dt is the load of the power system in the t-th period after the load transfer; P.sub.t−1 is an output power of the thermal power unit in a (t−1)-th period.

7. A method for dynamically and economically dispatching a power system based on an optimal load transfer ratio and an optimal grid connection ratio of wind power and photovoltaic (PV) power according to claim 1, wherein the step of S7 further comprises wherein, based on the values, the power system compensates consumers by prompting consumers to transfer loads.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) To describe the technical solutions in the embodiments of the present invention or in the prior art more clearly, the accompanying drawings required for describing the embodiments or the prior art are briefly described below. Apparently, the accompanying drawings in the following description merely 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.

(2) FIG. 1 is a flowchart of a method according to the present invention.

(3) FIG. 2 is a peak shaving process of a thermal power unit according to the present invention.

(4) FIG. 3 is a daily load curve.

DETAILED DESCRIPTION OF THE EMBODIMENTS

(5) The technical solutions in the embodiments of the present invention are clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are merely a part rather than 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 should fall within the protection scope of the present invention.

(6) FIG. 1 shows a flowchart of the present invention. A method for dynamically and economically dispatching a power system based on an optimal load transfer ratio and an optimal grid connection ratio of wind power and photovoltaic (PV) power includes: first acquiring load data; drawing a load curve; defining a peak load period, a flat load period and a low load period, and calculating an average load of the peak load period, an average load of the flat load period and an average load of the low load period; determining a value range of a peak-low load transfer ratio, a value range of a peak-flat load transfer ratio and a value range of a flat-low load transfer ratio; establishing an objective function that comprehensively considers a generation cost of a thermal power unit, a wind power purchase cost, a PV power purchase cost and a compensation cost for consumer load transfer; introducing an immune algorithm (IA) to calculate a grid connection ratio of wind power, a grid connection ratio of PV power, the peak-low load transfer ratio, the peak-flat load transfer ratio and the flat-low load ratio corresponding to a minimum system operating cost. Specifically, this method includes the following steps:

(7) S1: by taking a day with 24 periods (each period being 1 h) as a dispatching period, acquiring initial data, wherein the initial data includes output power of a wind turbine in the system, output power of a PV power station in the system and load power of the system.

(8) Output power P.sub.w of the wind turbine in the system, output power P.sub.pv of the PV power station in the system and load power P.sub.L of the system are expressed as follows:
P.sub.w={P.sub.w1,P.sub.w2,Λ,P.sub.wr,Λ,P.sub.w24}
P.sub.pv={P.sub.pv1,P.sub.pv2,Λ,P.sub.pvt,Λ,P.sub.pv24}
P.sub.L{P.sub.L1,P.sub.L2,Λ,P.sub.Lt,Λ,P.sub.L24}

(9) P.sub.wt represents output power of the wind turbine in a t-th period, P.sub.pvt represents output power of the PV power station in the t-th period, and P.sub.Lt represents load power in the t-th period, t=1, 2, . . . , 24.

(10) S2: drawing a wind power output curve, a PV power output curve and a load curve according to the acquired initial data.

(11) S3: defining a peak period T.sub.p, a flat period T.sub.f and a low period T.sub.l according to the drawn load curve of the system, and calculating an average load P.sub.p,ave of the peak period, an average load P.sub.f,ave of the flat period, an average load P.sub.l,ave of the low period before a load transfer.

(12) The peak period T.sub.p, the flat period T.sub.f and the low period T.sub.l in S3 are calculated as follows:

(13) S31: calculating a total daily load Q.sub.L,

(14) Q L = .Math. t = 1 2 4 P Lt .

(15) S32: calculating an hourly average load Q.sub.L/24.

(16) S33: regarding the t-th period as the peak period T.sub.p when P.sub.Lt>(1+k).Math.(Q.sub.L/24), regarding the t-th period as the low period T.sub.l when P.sub.Lt<(1−k).Math.(Q.sub.L/24) and regarding the t-th period as the flat period T.sub.f when (1−k).Math.(Q.sub.L/24)≤P.sub.Lt≤(1+k).Math.(Q.sub.L/24), wherein k is a dividing factor of a peak-low period, a flat-low period and a low period, 0<k<1.

(17) S4: determining a value range of a peak-low load transfer ratio μ.sub.pl, a value range of a peak-flat load transfer ratio μ.sub.pf and a value range of a flat-low load transfer ratio μ.sub.fl respectively according to the P.sub.p,ave, P.sub.f,ave and P.sub.l,ave in S3, as follows:

(18) { μ pl [ 0 , P p , ave - P l , ave P p , ave ] μ p f [ 0 , P p , ave - P f , ave P p , ave ] μ fl [ 0 , P f , ave - P l , ave P f , ave ] .

(19) S5: assuming that total load power before and after the load transfer is unchanged, then calculating a system load after the load transfer, and establishing an objective function minC about a system operating cost after the load transfer, the system operating cost including: a generation cost of a thermal power unit, a wind power purchase cost, a PV power purchase cost and a compensation cost for consumer load transfer.

(20) The objective function is expressed as:
min C=C.sub.G+C.sub.W+C.sub.PV+C.sub.M

(21) C.sub.G, C.sub.W, C.sub.PV and C.sub.M represent the generation cost of the thermal power unit, the wind power purchase cost, the PV power purchase cost and the compensation cost for consumer load transfer, respectively.

(22) C.sub.W=θ.sub.w×Q.sub.w, where θ.sub.w and Q.sub.w represent an on-grid wind power tariff and on-grid wind power, respectively.

(23) Q w = μ w × .Math. t = 1 2 4 P wt ,
where μ.sub.w represents a grid connection ratio of wind power.

(24) C.sub.PV=θ.sub.pv×Q.sub.pv, where θ.sub.pv and Q.sub.pv represent an on-grid PV power tariff and on-grid PV power, respectively.

(25) Q p v = μ p v × .Math. t = 1 2 4 P pvt ,
where μ.sub.pv represents a grid connection ratio of PV power.

(26) C M = { θ m 1 × Q tran , Q tran λ Q L θ m 1 × λ Q L + θ m 2 × ( Q tran - λ Q L ) , Q tran > λ Q L ,
where λ is a dividing factor of a conventional load and a deep load, 0<λ<1; Q.sub.tran is a transferred load,

(27) Q tran = .Math. t = 1 2 4 ( P Dt - P Lt ) ;
θ.sub.m1 is a compensation cost for a conventional load transfer; θ.sub.m2 is a compensation cost for a deep load transfer. The load of the system in the t-th period after the load transfer is expressed as:

(28) P Dt = { P Lt + μ pl P p , ave + μ fl P f , ave , t T l P Lt + μ p f P p , ave - μ fl P f , ave , t T f P Lt - μ pl P p , ave - μ p f P f , ave , t T p .

(29) Under conventional peak shaving, the generation cost of the thermal power unit includes a coal consumption cost, and under deep peak shaving, the generation cost of the thermal power unit includes a coal consumption cost, a life loss cost and an oil input cost.

(30) C G = { C T ( P t ) , P min P t P max C T ( P t ) + C life ( P t ) , P n P t < P min C T ( P t ) + C life ( P t ) + C u ( P t ) , P m P t < P n ,
where P.sub.max and P.sub.min are respectively an maximum output and a minimum output of the thermal power unit; P.sub.n is a steady combustion load of the unit under non-oil-input deep peak shaving; P.sub.m is a steady combustion limit load of the unit under oil-input deep peaking shaving; P.sub.t is output power of the thermal power unit in the t-th period.

(31) FIG. 2 shows a peak shaving process, where:

(32) (1) The coal consumption cost is

(33) 0 C T ( P t ) = .Math. t = 1 2 4 ( a P t 2 + b P t + c ) ,
a, b and c are coal consumption cost coefficients of the thermal power unit.

(34) (2) The unit loss cost under variable-load peak shaving is calculated by

(35) C life ( P t ) = η C B 2 N f ( P t )
by referring to a Manson-Coffin equation, where η is an operation influence coefficient of the thermal power unit, indicating the degree of influence of different operating states on unit loss; N.sub.f(P.sub.t) is a number of rotor cracking cycles determined by a low-cycle fatigue curve of a rotor; C.sub.B is a cost of buying the thermal power unit.

(36) (3) The oil input cost of the unit is expressed as C.sub.u(P.sub.t)=C.sub.oilθ.sub.oil, where C.sub.oil is oil consumption of the unit during steady combustion, and θ.sub.oil is an oil price for the season.

(37) S6: entering constraints, including: system power balance constraint, positive and negative spinning reserve constraint, thermal power unit output constraint, thermal power unit ramp constraint, wind power grid-connection ratio μ.sub.w constraint, PV power grid-connection ratio μ.sub.pv constraint, peak-low load transfer ratio μ.sub.pl constraint, peak-flat load transfer ratio μ.sub.pf constraint and flat-low load transfer ratio μ.sub.fl constraint.

(38) In S6, the system power balance constraint, the positive and negative spinning reserve constraint, the thermal power unit output constraint, the thermal power unit ramp constraint, the wind power grid-connection ratio constraint and the PV power grid-connection ratio constraint after the load transfer are respectively expressed as:
P.sub.t+P.sub.wt+P.sub.pvt=P.sub.Dt
P.sub.max−P.sub.t≥η.sub.1P.sub.Dt+η.sub.2P.sub.wt
P.sub.t−P.sub.min≥η.sub.3P.sub.Dt+η.sub.4P.sub.wt
P.sub.min≤P.sub.t≤P.sub.max
η.sub.down≤P.sub.t−P.sub.t−1≤η.sub.up
0≤μ.sub.w≤1
0≤μ.sub.pv≤1

(39) η.sub.1 and η.sub.3 represent up and down-spinning reserve coefficients of the system to the load, respectively; η.sub.2 and η.sub.4 represent up and down-spinning reserve coefficients of the system to the output power of the wind turbine, respectively; η.sub.down and η.sub.up represent a minimum ramp-down rate and a maximum ramp-up rate of the thermal power unit, respectively; P.sub.Dt is the load of the system in the t-th period after the load transfer; P.sub.t−1 is the output power of the thermal power unit in a (t−1)-th period.

(40) S7: introducing an IA to solve and generate an initial population; performing immune operations on the population, including selection, cloning, mutation and cloning suppression; refreshing the population until a termination condition is met, and obtaining μ.sub.w, μ.sub.pv, μ.sub.pl, μ.sub.pf and μ.sub.fl corresponding to a minimum system operating cost.

(41) Specifically:

(42) S71: randomly taking values of the variables μ.sub.w, μ.sub.pv, μ.sub.pl, μ.sub.pf and μ.sub.fl as initial values within the respective value ranges to generate an initial population as an initial antibody population (a vector composed of μ.sub.w, μ.sub.pv, μ.sub.pl, μ.sub.pf and μ.sub.fl), and evaluating the individuals with the system operating cost as an antibody affinity operator.

(43) S72: performing immune operations on the population, including immune selection, cloning, mutation and cloning suppression:

(44) Immune selection: selecting high-quality antibodies according to calculation results of antibody affinities and concentration in the population, and activating the high-quality antibodies. The antibody affinities are values of the system operating cost. The concentration is the similarity of each value of the system operating cost. If the concentration is too high, the operating costs of the current population are similar, and the search process will be concentrated in a small area, which is not conducive to the global search for optimal antibodies. The high-quality antibodies refer to the corresponding μ.sub.w, μ.sub.pv, μ.sub.pl, μ.sub.pf and μ.sub.fl in the current population in case of the minimum system operating cost.

(45) Cloning: cloning the activated antibodies (μ.sub.w, μ.sub.pv, μ.sub.pl, μ.sub.pf and μ.sub.fl corresponding to the minimum system operating cost) to obtain several copies.

(46) Mutation: performing mutation operations on the cloned copies to mutate the affinities thereof.

(47) Cloning suppression: reselecting mutation results, suppressing antibodies with a low affinity, and retaining mutation results of antibodies with a high affinity. The low affinity refers to a larger value instead of the minimum value of the system operating cost. The antibodies with a low affinity refer to μ.sub.w, μ.sub.pv, μ.sub.pl, μ.sub.pf and μ.sub.fl corresponding to a larger value of the system operating cost. The high affinity refers to the minimum value of the system operating cost.

(48) S73: refreshing the population and replacing an antibody with a lower affinity in the population with a randomly generated new antibody to form a new population; determining whether a termination condition is met, that is, whether a current number of iterations is greater than or equal to a maximum number of iterations; if yes, converging to obtain μ.sub.w, μ.sub.pv, μ.sub.pl, μ.sub.pf and μ.sub.fl corresponding to the minimum system operating cost; otherwise, returning to S72.

(49) The present invention first gives the definitions and calculation methods of the wind power grid-connection ratio, the PV power grid-connection ratio, the peak-low load transfer ratio, the peak-flat load transfer ratio and the flat-low load transfer ratio. The invention then determines the system load after the load transfer based on the principle that the total load power is unchanged before and after the load transfer, and establishes an objective function and constraints after the load transfer. Finally, the present invention introduces an IA to calculate the optimal values of the wind power grid-connection ratio, the PV power grid-connection ratio, the peak-low load transfer ratio, the peak-flat load transfer ratio and the flat-low load transfer ratio and the minimum system operating cost.

(50) In the present invention, when the wind power and PV power in the power system are 100% connected to the grid, the economic benefits of the power system operation are not necessarily maximized. Especially during the low load period, the full consumption of the renewable wind power and PV power requires the shutdown of a large number of thermal power units, which greatly increases the cost of peak shaving. The curtailment of a certain percentage of wind power and PV power can reduce the cost of peak shaving and frequency control of the thermal power units and increase the flexibility of power system dispatching. A load transfer, for example, a transfer of part of the peak load to the low load, can greatly reduce the peak-low load difference and the start-stop cost of the thermal power units. Since the load transfer needs to give consumers a corresponding compensation cost, the system operating cost must have a minimum. At this time, the wind power grid-connection ratio, the PV power grid-connection ratio, the peak-low load transfer ratio, the peak-flat load transfer ratio and the flat-low load transfer ratio are optimal.

(51) FIG. 3 is a curve drawn by load data (before a load transfer) within a dispatching period (24 h a day), showing the load (before the load transfer) of each time period.

(52) Table 1 shows the wind power output data in a dispatching period, Table 2 shows the PV power output data in a dispatching period, Table 3 shows the parameters of a thermal power unit, and Table 4 shows a comparison of new energy consumption and system operating cost. Under the traditional optimized dispatching method, the renewable energy consumption is 3843.7 MW.Math.h, and the system operating cost is 386,400 yuan. Under the optimized dispatching method that only considers the optimal grid connection ratio of wind power and PV power or the optimal load transfer ratio, the renewable energy consumption increases by 274.6 MW.Math.h and 549.1 MW.Math.h, respectively, and the system operating cost decreases by 43,600 yuan and 62,700 yuan, respectively. Under the optimized dispatching method that considers both the optimal grid connection ratio of wind power and PV power and the optimal load transfer ratio, the renewable energy consumption reaches 5216.5 MW.Math.h, and the minimum system operating cost is 281,500 yuan. The optimized dispatching method that considers both the optimal grid connection ratio of wind power and PV power and the optimal load transfer ratio greatly increases the new energy consumption and decreases the system operating cost.

(53) TABLE-US-00001 TABLE 1 Wind power output forecast Time Wind Power Period Output/MW 1 252 2 247.5 3 244 4 243 5 240 6 225 7 210 8 180 9 135 10 120 11 108 12 111 13 129 14 114 15 129 16 150 17 180 18 210 19 225 20 222 21 231 22 240 23 255 24 270

(54) TABLE-US-00002 TABLE 2 PV power output forecast Time PV Power Period Output/MW 7 5.5 8 25 9 65 10 100 11 115 12 125 13 115 14 110 15 80 16 50 17 25 18 5

(55) TABLE-US-00003 TABLE 3 Parameters of thermal power unit Parameter a b c P.sub.max P.sub.min η.sub.up η.sub.down Value 0.00285 9.8 131 380 120 4.20 −4.20

(56) TABLE-US-00004 TABLE 4 Comparison of new energy consumption and system operating cost Renewable Energy System Consumption/ Operating Dispatching Method MW .Math. h Cost/yuan Traditional optimized dispatching 3843.7 386,400 Optimal dispatching only considering 4118.3 342,800 optimal grid connection ratio of wind power and PV power Optimal dispatching only considering 4392.8 323,700 optimal load transfer ratio Optimal dispatching considering both 5216.5 281,500 optimal grid connection ratio of wind power and PV power and optimal load transfer ratio

(57) Each embodiment of the present specification is described in a related manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts between the embodiments may refer to each other. For a system embodiment, since it corresponds to the method embodiment, the description is relatively simple, and reference can be made to the description of the method embodiment.

(58) The above described are merely preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present invention should fall within the protection scope of the present invention.