CN117057566A - Wind and fire source storage integrated station master-slave game optimization scheduling method - Google Patents
Wind and fire source storage integrated station master-slave game optimization scheduling method Download PDFInfo
- Publication number
- CN117057566A CN117057566A CN202311049300.4A CN202311049300A CN117057566A CN 117057566 A CN117057566 A CN 117057566A CN 202311049300 A CN202311049300 A CN 202311049300A CN 117057566 A CN117057566 A CN 117057566A
- Authority
- CN
- China
- Prior art keywords
- wind
- wind power
- power
- thermal power
- calculating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000005457 optimization Methods 0.000 title claims abstract description 18
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 30
- 230000008901 benefit Effects 0.000 claims abstract description 12
- 238000005070 sampling Methods 0.000 claims abstract description 11
- 238000004146 energy storage Methods 0.000 claims description 42
- 230000005611 electricity Effects 0.000 claims description 25
- 230000009467 reduction Effects 0.000 claims description 11
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 claims description 9
- 229910052799 carbon Inorganic materials 0.000 claims description 9
- 238000003064 k means clustering Methods 0.000 claims description 8
- 230000009194 climbing Effects 0.000 claims description 6
- 239000003245 coal Substances 0.000 claims description 6
- 238000012423 maintenance Methods 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 4
- 238000010248 power generation Methods 0.000 claims description 4
- 230000002950 deficient Effects 0.000 claims description 3
- 238000012163 sequencing technique Methods 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 claims 1
- 230000009286 beneficial effect Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000012614 Monte-Carlo sampling Methods 0.000 description 1
- 238000012952 Resampling Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
- G06F18/232—Non-hierarchical techniques
- G06F18/2321—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/04—Inference or reasoning models
- G06N5/042—Backward inferencing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for ac mains or ac distribution networks
- H02J3/003—Load forecast, e.g. methods or systems for forecasting future load demand
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2203/00—Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
- H02J2203/10—Power transmission or distribution systems management focussing at grid-level, e.g. load flow analysis, node profile computation, meshed network optimisation, active network management or spinning reserve management
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Data Mining & Analysis (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Game Theory and Decision Science (AREA)
- Health & Medical Sciences (AREA)
- Development Economics (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Public Health (AREA)
- Probability & Statistics with Applications (AREA)
- Primary Health Care (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Water Supply & Treatment (AREA)
- Educational Administration (AREA)
- Computational Linguistics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Power Engineering (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
The application discloses a wind and fire source storage integrated station master-slave game optimization scheduling method, which belongs to the field of wind power prediction and comprises the following steps of: step S1: according to the predicted wind speed, combining an active power output-speed characteristic curve of the wind turbine to obtain initial predicted data of wind power output; step S2: and (3) adopting a Latin hypercube sampling method, and carrying out wind power output initial scene generation by uniform layered sampling. The method solves the problem that the initial clustering center of the traditional K-means algorithm is randomly generated, avoids the problem that the algorithm falls into local optimum or iteration compensation fluctuation is large, improves the clustering accuracy, is beneficial to improving the prediction precision of uncertain wind power, enables the clustering result to be more accurate, is beneficial to the prediction of wind power output, establishes a master-slave game scheduling model for wind power storage integrated stations, and can further ensure the balance and stability of benefit distribution of each main body.
Description
Technical Field
The application relates to the technical field of wind power prediction, in particular to a master-slave game optimization scheduling method for wind and fire source storage integrated stations based on an improved K-means algorithm.
Background
Traditional uncertain wind power prediction is often divided into two parts, namely generation of a wind power scene and reduction of the wind power scene. The common methods for generating the wind power scene include a self-help statistical method based on resampling, a Monte Carlo sampling method based on random sampling and a Latin hypercube sampling method based on layered sampling. And a hierarchical clustering method, an expectation maximization algorithm, a traditional K-means clustering algorithm and the like are often adopted in the reduction of wind power scenes.
The traditional optimal scheduling is generally from the aspects of economy, efficiency, flexibility, reliability and the like, and an optimal scheduling model of the system is established by taking the minimum of power generation cost, running cost and the like as a single/multiple objective function.
If wind power scenes are cut by the hierarchical clustering method, the calculation complexity is high, the method is not suitable for large-scale data sets, and the generated clustering result is difficult to adjust; if the selection of the initial center of the wind power scene is performed through the expectation maximization algorithm, the wind power scene is sensitive to the selection of the initial center, and the calculation cost is high. Whereas the conventional K-means algorithm also has disadvantages: (1) the method is sensitive to the selection of the initial clustering centers, the selection of the initial clustering centers possibly has larger influence on the final clustering result, the algorithm randomly selects the initial clustering centers, and the improper selection of the initial clustering centers easily causes the algorithm to fall into a local optimal solution or has larger iteration step fluctuation. (2) The super-parameter K of the clustering needs to be preset, different K values can bring different clustering results, and the K values are difficult to reasonably determine. Therefore, wind power prediction is performed by using a hierarchical clustering method, an expected maximum algorithm and a traditional K-means algorithm, and the prediction accuracy is relatively low.
Through retrieval, the Chinese patent with the application number of CN116191562A discloses a wind power base optimal scheduling method and a wind power base optimal scheduling device, which mention the problem that accurate scheduling of a power system cannot be realized, and mention a method for realizing optimal scheduling by adopting computer equipment and a computer program;
the Chinese patent of application number CN113128768A discloses a water, wind and fire short-term optimization scheduling method considering wind power uncertainty, which mentions that the problem of wind power random fluctuation characteristics is difficult to solve by the existing scheme.
The Chinese patent with application number CN102097828B discloses a wind power optimization scheduling method based on power prediction, and aims to improve the stability and safety problem of wind power grid connection.
The traditional power system optimization scheduling model cannot consider the requirements of all the main bodies in the system, cannot reasonably distribute benefits to all operators in the system, and cannot accurately describe the actual running condition of the system in the power market environment.
In particular, for the optimal scheduling of the wind-fire source storage integrated station, how to improve the prediction precision of the fluctuating wind power output, and meanwhile, how to solve the problem that the classical power system optimal scheduling strategy only ignores the actual problem of benefit distribution of each main body in the system, and how to establish the source storage integrated station optimal scheduling strategy based on master-slave games so that each main body in the integrated station realizes optimal scheduling of benefit balance distribution is an urgent problem to be solved in consideration of the guidance of a power grid on electricity price and competition conditions of each operator time in the power market environment.
Disclosure of Invention
The application aims to solve the defects in the prior art, and provides a master-slave game optimization scheduling method for an air-fire source storage integrated station.
In order to achieve the above purpose, the present application adopts the following technical scheme:
a wind and fire source storage integrated station master-slave game optimization scheduling method comprises the following steps:
step S1: according to the predicted wind speed, combining an active power output-speed characteristic curve of the wind turbine to obtain initial predicted data of wind power output;
step S2: generating an initial scene of wind power output by uniformly layering sampling by using a Latin hypercube sampling method;
step S3: aiming at the problems that the initial cluster center is randomly selected by the traditional K-means algorithm and is easy to fall into local optimum, and the K value of the optimum cluster number is difficult to determine, the initial cluster center selection of the K-means based on the density peak value clustering algorithm is improved, and the cluster effectiveness index is defined to find the optimum K value;
step S4: establishing a station optimization scheduling model under a Stackelberg master-slave game mode, taking a power grid company as a game leader, and taking a wind power plant, a thermal power plant and an energy storage power plant as game followers;
step S5: and solving and optimizing a scheduling strategy through a master-slave game model of the wind-fire source storage integrated station.
Further, in step S3, the method specifically includes the following steps:
s301: calculating the sample density by adopting a clustering algorithm based on rapid searching and finding density peaks, thereby determining an initial clustering center of a K-means clustering algorithm, wherein:
for wind power output dataset s= { X 1 ,X 2 ,…,X n Computing data point X in its v-dimensional sample i And X is j European distance between Dist (X) i ,X j ) Expressed as:
s302: setting neighborhood cutoff distance D np Ensuring that most samples have a neighbor number of about 1% to 2%;
s303: determining local density to represent the density of sample points in its neighborhood, using local density ρ i The calculation method using the gaussian kernel is represented as:
s304: calculating the relative distance delta of wind power samples i The first cluster center is defined as the locally most dense sample, i.e. the density peak sample, whose sample relative distance delta is defined i The maximum relative distance for all samples is expressed as:
calculate the relative distance delta of other samples i :
S305: according to the decision value gamma i Sequentially searching other density peak points, and determining a sample decision value gamma i Calculating and sequencing, namely selecting the sample data point with the largest sample decision value except the first clustering center as a second density peak value, namely a second clustering center, and the like:
γ i =ρ i ·δ i ;
s306: calculating an average value D of the distances between the single sample data and the corresponding initial cluster center O intra To represent the compactness within the clusters, and to calculate the minimum distance D of the initial cluster center of each cluster inter To represent the separability between different clusters, in particular:
D inter =minDist(O i ,O j );
s307: defining and calculating a cluster effectiveness index function T eff :
S308: searching the K value of the optimal cluster quantity through clustering effectiveness indexes, and calculating effectiveness index functions T respectively corresponding to the cluster quantity from 1 to K eff The value K is the optimal clustering number K when the value is maximum, and K initial clustering centers are formed;
s309: calculating Euclidean distances between the wind power output initial scene sample obtained in the step S2 and the initial cluster center formed in the step S308, and respectively distributing the Euclidean distances to the cluster centers closest to the Euclidean distances to form K clusters;
s310: re-calculating the average value of wind power samples in K clusters to be used as a new cluster center;
s311: step S309 and step S310 are repeated until the K cluster centers in step S306 are not changed, and the K cluster centers are considered to be the final K typical scenes of wind power output.
Further, in step S4, the method specifically includes the following steps:
s401: calculating a wind power operator revenue function M W The specific mode is as follows:
Y W,i,t =μ W P Ws,i,t,
I sub,W =i sub,W P Ws,i,t
wherein lambda is W,t The wind power online electricity price is t time period; p (P) W,i,t Delivering active power for a t-period wind power operator; lambda (lambda) W_B,t 、λ B_W,t The wind electricity selling price and the wind electricity purchasing price in the t-period wind electricity storage transaction are respectively; p (P) W_B,i,t 、P B_W,i,t The actual surplus and deficient electric energy of the wind power plant in the t period are respectively; y is Y W,i,t The operation and maintenance expenditure for each hour is reduced for the whole life cycle of the wind turbine generator system i; p (P) Ws,i,t, The actual wind power output is t time periods; mu (mu) W The operation and maintenance expenditure coefficients of the wind turbine generator system are calculated; i sub,W,i,t The method comprises the steps of subsidizing income for new energy sources of wind power grid connection; i.e sub,W,i,t The electricity price is subsidized for the unit wind power;
s402: calculating a thermal power operator profit function M W The specific mode is as follows:
C tra_H =λ H,t P H,i,t
wherein U is git,i,t Is the start-stop state of the thermal power unit i at the moment t, U git,i,t =1 means that the unit i operates at time t, U git,i,t =0 means that the unit i is shut down at time t; c (C) Hfc,i,t The coal cost of the thermal power unit i; c (C) H,i,TSTO The method is the start-stop cost of the thermal power unit i at the time t; c (C) tra_H Revenue for thermal power generating units;the carbon emission cost of the thermal power generating unit is; k (k) H The emission reduction coefficient of the thermal power generating unit; a, a 2i 、a 1i 、a 0i The secondary term, the primary term and the constant term coefficient of the coal cost function of the thermal power unit i; lambda (lambda) H,t The method comprises the steps of (1) surfing electricity price for a thermal power generating unit at a moment t; p (P) H,i,t Active power of thermal power unit i in t period, < > for thermal power unit i>The unit carbon emission treatment price of the thermal power unit is set; s is(s) H Carbon emission for unit power generation of the thermal power generating unit;
s403: calculating energy storage operator revenue function M B The specific mode is as follows:
s404: calculating a cost function C of the electric network grid The specific mode is as follows:
wherein k is G Representing the emission reduction coefficient of the power grid; c (C) pol,G,i,t Representing the social responsibility cost of the power grid for emission reduction;
s405: setting wind power output constraint conditions, wherein the specific mode is as follows:
wherein,the minimum and maximum output of the wind turbine generator set are determined by the output characteristics of the wind turbine generator set i respectively;
s406: setting thermal power output constraint conditions, wherein the specific mode is as follows:
wherein,respectively the minimum and maximum active output of the thermal power unit i; />The climbing upper limit and the climbing lower limit of the thermal power unit i are set; TS (transport stream) i 、TO i The minimum shutdown time and the minimum operation time of the thermal power generating unit i are respectively;
s407: setting energy storage output constraint conditions, wherein the specific mode is as follows:
wherein U is B,i,t,cha For the state of charge of the energy storage battery i at time t, U B,i,t,cha =1 represents a discharge state; u (U) B,i,t,dis U is the discharge state of the energy storage battery i at the moment t B,i,t,dis =1 represents a discharge state;maximum charging power for the electrical energy storage i; />Maximum discharge power for the electrical energy storage i; SOC (State of Charge) i,t The capacity of the energy storage device i is t time period; η (eta) B,i,t,cha 、η B,i,t,dis The charge and discharge efficiencies of the electric energy storage i are respectively;
s408: setting electric power constraint, specifically:
P Line ≤P Line,max
U i,min ≤U i ≤U i,max
wherein P is Line 、P Line,max The actual active power and the maximum transmission capacity of the line are transmitted respectively for the line; u (U) i,min U i,max The upper and lower limits of the voltage of the node i are respectively set;
s409: calculating the balance degree of a master-slave game scheduling model of a source storage integrated station, and evaluating the balance degree of benefit distribution in the whole system by comparing the difference between the decision variable and the average value of each participant, wherein the specific mode is as follows:
x 1 (t)=P W,t /Z W
x 2 (t)=P H,t /Z H
x 3 (t)=P B,t /Z B
wherein BA (t) is the balance of the profit allocation, and the value range is [0,1 ]];x 1 (t)、x 2 (t)、x 3 (t) are the return coefficients of wind power, thermal power and energy storage at the moment t respectively; p (P) W,t 、P H,t 、P B,t Respectively outputting wind power, thermal power and energy storage at the moment t; z is Z W 、Z H 、Z B The wind power, the thermal power and the energy storage installed capacity are respectively.
Further, in step S5, the method specifically includes the following steps:
s501: importing the wind power data and other generator set initial data and parameters in the step S3 into a master-slave game mode integrated station scheduling model established in the step S4;
s502: given a game equalization solution initial value: randomly selecting a policy among a set of follower policies (P W,t,0 ,P H,t,0 ,P B,t,0 ) As initial wind power, thermal power and energy storage decision values;
s503: follower decision: according to the online electricity price of the previous round, wind power, thermal power and energy storage of the follower are optimized and processed with the maximum benefit as targets, and a new output scheme is obtained;
s504: judging whether the optimal solution of the round is found, if the optimal solution of the round is consistent with the optimal iteration result of the previous round, indicating that the follower finds the optimal solution, otherwise, iteratively updating the decision of the follower again;
s505: leader decision: the power grid obtains the optimal solution of the leader by taking the minimum cost of the optimal solution of the wind power and the thermal power in the current iteration and the electricity price in the previous iteration as inputs;
s506: judging whether master-slave equilibrium is reached: if the result of the leading person' S turn is consistent with the result of the previous turn, the result indicates that a balance solution of Stackelberg is achieved, otherwise, the step S503 is returned;
s507: and calculating to obtain a game result and calculating the balance degree.
Compared with the prior art, the application has the beneficial effects that:
wind power output prediction is carried out based on an improved K-means clustering algorithm, and the improvement specific expression is as follows: the method solves the problem of random generation of the initial clustering center of the traditional K-means algorithm, avoids the problem that the algorithm falls into local optimum or iteration compensation fluctuation is large, improves the accuracy of clustering, and is beneficial to improving the prediction precision of uncertain wind power.
Wind power output prediction is carried out based on an improved K-means clustering algorithm, and the improvement specific expression is as follows: the method has the advantages that the clustering effectiveness index is defined to find the optimal clustering number K value, the error caused by the artificial random determination of the K value of the traditional K-means algorithm is solved, the clustering result is more accurate, and the prediction of wind power output is facilitated.
Compared with the traditional classical power system optimization scheduling model which only aims at the maximum overall economy of the system, the model fully considers the interest appeal of each main body in the source storage integrated station and further ensures the balance and stability of the benefit distribution of each main body.
Drawings
The accompanying drawings are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate the application and together with the embodiments of the application, serve to explain the application.
FIG. 1 is a flowchart of an improved K-means clustering algorithm in an embodiment of the application;
FIG. 2 is a schematic diagram of a master-slave game structure of an integrated wind and fire source storage station in an embodiment of the application;
FIG. 3 is a flowchart of a solution of an optimized scheduling model in a master-slave gaming mode of an integrated station in an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments.
Referring to fig. 1-3, the master-slave game optimization scheduling method for the wind and fire source storage integrated station comprises the following steps:
step S1: according to the predicted wind speed, combining an active power output-speed characteristic curve of the wind turbine to obtain initial predicted data of wind power output;
step S2: generating an initial scene of wind power output by uniformly layering sampling by using a Latin hypercube sampling method;
step S3: aiming at the problems that the initial cluster center is randomly selected by the traditional K-means algorithm and is easy to fall into local optimum, and the K value of the optimum cluster number is difficult to determine, the initial cluster center selection of the K-means based on the density peak value clustering algorithm is improved, and the cluster effectiveness index is defined to find the optimum K value; the flow chart of the improved K-means clustering algorithm is shown in figure 1.
Step S4: establishing a station optimization scheduling model under a Stackelberg master-slave game mode, taking a power grid company as a game leader, and taking a wind power plant, a thermal power plant and an energy storage power plant as game followers; a schematic diagram of the master-slave game structure of the wind and fire source storage integrated station is shown in fig. 2.
Step S5: solving a master-slave game model of the wind-fire source storage integrated station to optimize a scheduling strategy; the solution flow chart of the optimal scheduling model in the master-slave game mode of the integral station is shown in fig. 3.
In a specific embodiment of the present application, step S3 specifically includes the steps of:
s301: and calculating the sample density by adopting a clustering algorithm based on the rapid searching and finding density peaks, so as to determine the initial clustering center of the K-means clustering algorithm.
The method comprises the following steps: for wind power output dataset s= { X 1 ,X 2 ,…,X n Computing data point X in its v-dimensional sample i And X is j European distance between Dist (X) i ,X j ) Expressed as:
s302: setting neighborhood cutoff distance D np Ensuring that most samples have a neighbor number of about 1% to 2%;
s303: determining local density to represent the density of sample points in its neighborhood, using local density ρ i Representing the manner of computation using a Gaussian Kernel (Gaussian Kernel):
s304: calculating the relative distance delta of wind power samples i . The first cluster center is defined as the locally most dense sample, i.e. the density peak sample, whose sample relative distance delta is defined i The maximum relative distance for all samples is expressed as:
calculate the relative distance delta of other samples i :
S305: according to the decision value gamma i Sequentially searching other density peak points, and determining a sample decision value gamma i Calculating and sequencing, namely selecting the sample data point with the largest sample decision value except the first clustering center as a second density peak value, namely a second clustering center, and the like:
γ i =ρ i ·δ i ;
s306: calculating an average value D of the distances between the single sample data and the corresponding initial cluster center O intra To represent compactness within a cluster; calculating the minimum distance D of the initial cluster center of each cluster inter To represent the separability between different clusters:
D inter =minDist(O i ,O j );
s307: defining and calculating a cluster effectiveness index function T eff :
S308: and searching an optimal cluster quantity K value through a cluster effectiveness index. Calculating effectiveness index functions T respectively corresponding to the number of 1 to k clusters eff The value K is the optimal clustering number K when the value is maximum, and K initial clustering centers are formed;
s309: calculating Euclidean distances between the wind power output initial scene sample obtained in the step S2 and the initial cluster center formed in the step S308, and respectively distributing the Euclidean distances to the cluster centers closest to the Euclidean distances to form K clusters;
s310: re-calculating the average value of wind power samples in K clusters to be used as a new cluster center;
s311: step S309 and step S310 are repeated until the K cluster centers in step S306 are not changed, and the K cluster centers are considered to be the final K typical scenes of wind power output.
In a specific embodiment of the present application, step S4 specifically includes the following steps;
s401: calculating a wind power operator revenue function M W 。
Y W,i,t =μ W P Ws,i,t,
I sub,W =i sub,W P Ws,i,t
Wherein lambda is W,t The wind power online electricity price is t time period; p (P) W,i,t Delivering active power for a t-period wind power operator; lambda (lambda) W_B,t 、λ B_W,t The wind electricity selling price and the wind electricity purchasing price in the t-period wind electricity storage transaction are respectively; p (P) W_B,i,t 、P B_W,i,t The actual surplus and deficient electric energy of the wind power plant in the t period are respectively; y is Y W,i,t The operation and maintenance expenditure for each hour is reduced for the whole life cycle of the wind turbine generator system i; p (P) Ws,i,t, The actual wind power output is t time periods; mu (mu) W The operation and maintenance expenditure coefficients of the wind turbine generator system are calculated; i sub,W,i,t The method comprises the steps of subsidizing income for new energy sources of wind power grid connection; i.e sub,W,i,t Wind power compensation for unitPasting electricity price;
s402: calculating a thermal power operator profit function M W 。
C tra_H =λ H,t P H,i,t
Wherein U is git,i,t Is the start-stop state of the thermal power unit i at the moment t, U git,i,t =1 means that the unit i operates at time t, U git,i,t =0 means that the unit i is shut down at time t; c (C) Hfc,i,t The coal cost of the thermal power unit i; c (C) H,i,TSTO The method is the start-stop cost of the thermal power unit i at the time t; c (C) tra_H Revenue for thermal power generating units;the carbon emission cost of the thermal power generating unit is; k (k) H The emission reduction coefficient of the thermal power generating unit; a, a 2i 、a 1i 、a 0i The secondary term, the primary term and the constant term coefficient of the coal cost function of the thermal power unit i; lambda (lambda) H,t The method comprises the steps of (1) surfing electricity price for a thermal power generating unit at a moment t; p (P) H,i,t Active power of thermal power unit i in t period, < > for thermal power unit i>The unit carbon emission treatment price of the thermal power unit is set; s is(s) H Carbon emission for unit power generation of the thermal power generating unit;
s403: calculating energy storage operator revenue function M B 。
S404: calculating a cost function C of the electric network grid :
Wherein k is G Representing the emission reduction coefficient of the power grid; c (C) pol,G,i,t Representing the social responsibility cost of the power grid for emission reduction;
s405: setting wind power output constraint conditions:
wherein,the minimum and maximum output of the wind turbine generator set are determined by the output characteristics of the wind turbine generator set i respectively;
s406: setting thermal power output constraint conditions:
wherein,respectively the minimum and maximum active output of the thermal power unit i; />The climbing upper limit and the climbing lower limit of the thermal power unit i are set; TS (transport stream) i 、TO i The minimum shutdown time and the minimum operation time of the thermal power generating unit i are respectively;
s407: setting energy storage output constraint conditions:
wherein U is B,i,t,cha For the state of charge of the energy storage battery i at time t, U B,i,t,cha =1 represents a discharge state; u (U) B,i,t,dis U is the discharge state of the energy storage battery i at the moment t B,i,t,dis =1 represents a discharge state;maximum charging power for the electrical energy storage i; />Maximum discharge power for the electrical energy storage i; SOC (State of Charge) i,t The capacity of the energy storage device i is t time period; η (eta) B,i,t,cha 、η B,i,t,dis The charge and discharge efficiencies of the electrical energy storage i are respectively.
S408: setting an electric power constraint:
P Line ≤P Line,max
U i,min ≤U i ≤U i,max
wherein P is Line 、P Line,max The actual active power and the maximum transmission capacity of the line are transmitted respectively for the line; u (U) i,min U i,max The upper and lower limits of the voltage of the node i are respectively set;
s409: calculating the balance degree of a master-slave game scheduling model of the source storage integrated station, and evaluating the balance degree of benefit distribution in the whole system by comparing the difference between the decision variable and the average value of each participant:
x 1 (t)=P W,t /Z W
x 2 (t)=P H,t /Z H
x 3 (t)=P B,t /Z B
wherein BA (t) is the balance of the profit allocation, and the value range is [0,1 ]];x 1 (t)、x 2 (t)、x 3 (t) are the return coefficients of wind power, thermal power and energy storage at the moment t respectively; p (P) W,t 、P H,t 、P B,t Respectively outputting wind power, thermal power and energy storage at the moment t; z is Z W 、Z H 、Z B The wind power, the thermal power and the energy storage installed capacity are respectively.
In a specific embodiment of the present application, step S5 specifically includes the steps of:
s501: importing the wind power data and other generator set initial data and parameters in the step S3 into a master-slave game mode integrated station scheduling model established in the step S4;
s502: given a game equalization solution initial value. Randomly selecting a policy among a set of follower policies (P W,t,0 ,P H,t,0 ,P B,t,0 ) As initial wind power, thermal power and energy storage decision values;
s503: follower decision. According to the online electricity price of the previous round, wind power, thermal power and energy storage of the follower are optimized and processed with the maximum benefit as targets, and a new output scheme is obtained;
s504: judging whether the optimal solution of the round is found, if the optimal solution of the round is consistent with the optimal iteration result of the previous round, indicating that the follower finds the optimal solution, otherwise, iteratively updating the decision of the follower again;
s505: the leader decides. The power grid obtains the optimal solution of the leader by taking the minimum cost of the optimal solution of the wind power and the thermal power in the current iteration and the electricity price in the previous iteration as inputs;
s506: and judging whether master-slave equilibrium is reached. If the result of the leading person' S turn is consistent with the result of the previous turn, the result indicates that a balance solution of Stackelberg is achieved, otherwise, the step S503 is returned;
s507: and calculating to obtain a game result and calculating the balance degree.
The foregoing is only a preferred embodiment of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art, who is within the scope of the present application, should make equivalent substitutions or modifications according to the technical scheme of the present application and the inventive concept thereof, and should be covered by the scope of the present application.
Claims (4)
1. A wind and fire source storage integrated station master-slave game optimization scheduling method is characterized by comprising the following steps:
step S1: according to the predicted wind speed, combining an active power output-speed characteristic curve of the wind turbine to obtain initial predicted data of wind power output;
step S2: generating an initial scene of wind power output by uniformly layering sampling by using a Latin hypercube sampling method;
step S3: aiming at the problems that the initial cluster center is randomly selected by the traditional K-means algorithm and is easy to fall into local optimum, and the K value of the optimum cluster number is difficult to determine, the initial cluster center selection of the K-means based on the density peak value clustering algorithm is improved, and the cluster effectiveness index is defined to find the optimum K value;
step S4: establishing a station optimization scheduling model under a Stackelberg master-slave game mode, taking a power grid company as a game leader, and taking a wind power plant, a thermal power plant and an energy storage power plant as game followers;
step S5: and solving and optimizing a scheduling strategy through a master-slave game model of the wind-fire source storage integrated station.
2. The master-slave game optimization scheduling method of the wind and fire source storage integrated station according to claim 1, wherein in step S3, the method specifically comprises the following steps:
s301: calculating the sample density by adopting a clustering algorithm based on rapid searching and finding density peaks, thereby determining an initial clustering center of a K-means clustering algorithm, wherein:
for wind power output dataset s= { X 1 ,X 2 ,…,X n Computing data point X in its v-dimensional sample i And X is j European distance between Dist (X) i ,X j ) Expressed as:
s302: setting neighborhood cutoff distance D np Ensuring that most samples have a neighbor number of about 1% to 2%;
s303: determining local density to represent the density of sample points in its neighborhood, using local density ρ i The calculation method using the gaussian kernel is represented as:
s304: calculating the relative distance delta of wind power samples i The first cluster center is defined as the locally most dense sample, i.e. the density peak sample, whose sample relative distance delta is defined i The maximum relative distance for all samples is expressed as:
calculate the relative distance delta of other samples i :
S305: according to the decision value gamma i Sequentially searching other density peak points, and determining a sample decision value gamma i Calculating and sequencing, namely selecting the sample data point with the largest sample decision value except the first clustering center as a second density peak value, namely a second clustering center, and the like:
γ i =ρ i ·δ i ;
s306: calculating an average value D of the distances between the single sample data and the corresponding initial cluster center O intra To represent the compactness within the clusters, and to calculate the minimum distance D of the initial cluster center of each cluster inter To represent between different clustersSeparability, the specific mode is:
D inter =minDist(O i ,O j );
s307: defining and calculating a cluster effectiveness index function T eff :
S308: searching the K value of the optimal cluster quantity through clustering effectiveness indexes, and calculating effectiveness index functions T respectively corresponding to the cluster quantity from 1 to K eff The value K is the optimal clustering number K when the value is maximum, and K initial clustering centers are formed;
s309: calculating Euclidean distances between the wind power output initial scene sample obtained in the step S2 and the initial cluster center formed in the step S308, and respectively distributing the Euclidean distances to the cluster centers closest to the Euclidean distances to form K clusters;
s310: re-calculating the average value of wind power samples in K clusters to be used as a new cluster center;
s311: step S309 and step S310 are repeated until the K cluster centers in step S306 are not changed, and the K cluster centers are considered to be the final K typical scenes of wind power output.
3. The master-slave game optimization scheduling method of the wind and fire source storage integrated station according to claim 2, wherein in step S4, the method specifically comprises the following steps:
s401: calculating a wind power operator revenue function M W The specific mode is as follows:
Y W,i,t =μ W P Ws,i,t ,
I sub,W =i sub,W P Ws,i,t
wherein lambda is W,t The wind power online electricity price is t time period; p (P) W,i,t Delivering active power for a t-period wind power operator; lambda (lambda) W_B,t 、λ B_W,t The wind electricity selling price and the wind electricity purchasing price in the t-period wind electricity storage transaction are respectively; p (P) W_B,i,t 、P B_W,i,t The actual surplus and deficient electric energy of the wind power plant in the t period are respectively; y is Y W,i,t The operation and maintenance expenditure for each hour is reduced for the whole life cycle of the wind turbine generator system i; p (P) Ws,i,t, The actual wind power output is t time periods; mu (mu) W The operation and maintenance expenditure coefficients of the wind turbine generator system are calculated; i sub,W,i,t The method comprises the steps of subsidizing income for new energy sources of wind power grid connection; i.e sub,W,i,t The electricity price is subsidized for the unit wind power;
s402: calculating a thermal power operator profit function M W The specific mode is as follows:
C tra_H =λ H,t P H,i,t
wherein U is git,i,t Is the start-stop state of the thermal power unit i at the moment t, U git,i,t =1 means that the unit i operates at time t, U git,i,t =0 means that the unit i is shut down at time t; c (C) Hfc,i,t The coal cost of the thermal power unit i; c (C) H,i,TSTO The method is the start-stop cost of the thermal power unit i at the time t; c (C) tra_H Revenue for thermal power generating units;the carbon emission cost of the thermal power generating unit is; k (k) H The emission reduction coefficient of the thermal power generating unit; a, a 2i 、a 1i 、a 0i The secondary term, the primary term and the constant term coefficient of the coal cost function of the thermal power unit i; lambda (lambda) H,t The method comprises the steps of (1) surfing electricity price for a thermal power generating unit at a moment t; p (P) H,i,t Active power of thermal power unit i in t period, < > for thermal power unit i>The unit carbon emission treatment price of the thermal power unit is set; s is(s) H Carbon emission for unit power generation of the thermal power generating unit;
s403: calculating energy storage operator revenue function M B The specific mode is as follows:
s404: calculating a cost function C of the electric network grid The specific mode is as follows:
wherein k is G Representing the emission reduction coefficient of the power grid; c (C) pol,G,i,t Representing the social responsibility cost of the power grid for emission reduction;
s405: setting wind power output constraint conditions, wherein the specific mode is as follows:
wherein,the minimum and maximum output of the wind turbine generator set are determined by the output characteristics of the wind turbine generator set i respectively;
s406: setting thermal power output constraint conditions, wherein the specific mode is as follows:
wherein,respectively the minimum and maximum active output of the thermal power unit i; />The climbing upper limit and the climbing lower limit of the thermal power unit i are set; TS (transport stream) i 、TO i The minimum shutdown time and the minimum operation time of the thermal power generating unit i are respectively;
s407: setting energy storage output constraint conditions, wherein the specific mode is as follows:
wherein U is B,i,t,cha For the state of charge of the energy storage battery i at time t, U B,i,t,cha =1 represents a discharge state; u (U) B,i,t,dis U is the discharge state of the energy storage battery i at the moment t B,i,t,dis =1 represents a discharge state;maximum charging power for the electrical energy storage i; />Maximum discharge power for the electrical energy storage i; SOC (State of Charge) i,t The capacity of the energy storage device i is t time period; η (eta) B,i,t,cha 、η B,i,t,dis The charge and discharge efficiencies of the electric energy storage i are respectively;
s408: setting electric power constraint, specifically:
P Line ≤P Line,max
U i,min ≤U i ≤U i,max
wherein P is Line 、P Line,max The actual active power and the maximum transmission capacity of the line are transmitted respectively for the line; u (U) i,min U i,max The upper and lower limits of the voltage of the node i are respectively set;
s409: calculating the balance degree of a master-slave game scheduling model of a source storage integrated station, and evaluating the balance degree of benefit distribution in the whole system by comparing the difference between the decision variable and the average value of each participant, wherein the specific mode is as follows:
x 1 (t)=P W,t /Z W
x 2 (t)=P H,t /Z H
x 3 (t)=P B,t /Z B
wherein BA (t) is the balance of the profit allocation, and the value range is [0,1 ]];x 1 (t)、x 2 (t)、x 3 (t) are the return coefficients of wind power, thermal power and energy storage at the moment t respectively; p (P) W,t 、P H,t 、P B,t Respectively outputting wind power, thermal power and energy storage at the moment t; z is Z W 、Z H 、Z B The wind power, the thermal power and the energy storage installed capacity are respectively.
4. The master-slave game optimization scheduling method of the wind and fire source storage integrated station according to claim 3, wherein in step S5, the method specifically comprises the following steps:
s501: importing the wind power data and other generator set initial data and parameters in the step S3 into a master-slave game mode integrated station scheduling model established in the step S4;
s502: given a game equalization solution initial value: at follower policyA strategy (P) is selected randomly in the set W,t,0 ,P H,t,0 ,P B,t,0 ) As initial wind power, thermal power and energy storage decision values;
s503: follower decision: according to the online electricity price of the previous round, wind power, thermal power and energy storage of the follower are optimized and processed with the maximum benefit as targets, and a new output scheme is obtained;
s504: judging whether the optimal solution of the round is found, if the optimal solution of the round is consistent with the optimal iteration result of the previous round, indicating that the follower finds the optimal solution, otherwise, iteratively updating the decision of the follower again;
s505: leader decision: the power grid obtains the optimal solution of the leader by taking the minimum cost of the optimal solution of the wind power and the thermal power in the current iteration and the electricity price in the previous iteration as inputs;
s506: judging whether master-slave equilibrium is reached: if the result of the leading person' S turn is consistent with the result of the previous turn, the result indicates that a balance solution of Stackelberg is achieved, otherwise, the step S503 is returned;
s507: and calculating to obtain a game result and calculating the balance degree.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311049300.4A CN117057566A (en) | 2023-08-18 | 2023-08-18 | Wind and fire source storage integrated station master-slave game optimization scheduling method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311049300.4A CN117057566A (en) | 2023-08-18 | 2023-08-18 | Wind and fire source storage integrated station master-slave game optimization scheduling method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117057566A true CN117057566A (en) | 2023-11-14 |
Family
ID=88653191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311049300.4A Pending CN117057566A (en) | 2023-08-18 | 2023-08-18 | Wind and fire source storage integrated station master-slave game optimization scheduling method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117057566A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117277358A (en) * | 2023-11-23 | 2023-12-22 | 国网山西省电力公司电力科学研究院 | Wind, light, water and fire multi-source frequency modulation method based on master-slave game and improved Shapley value method |
-
2023
- 2023-08-18 CN CN202311049300.4A patent/CN117057566A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117277358A (en) * | 2023-11-23 | 2023-12-22 | 国网山西省电力公司电力科学研究院 | Wind, light, water and fire multi-source frequency modulation method based on master-slave game and improved Shapley value method |
CN117277358B (en) * | 2023-11-23 | 2024-02-02 | 国网山西省电力公司电力科学研究院 | Wind, light, water and fire multi-source frequency modulation method based on master-slave game and improved Shapley value method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109361237B (en) | Micro-grid capacity optimization configuration method based on improved hybrid particle swarm algorithm | |
CN108875992B (en) | Virtual power plant day-ahead optimization scheduling method considering demand response | |
CN109146320B (en) | Virtual power plant optimal scheduling method considering power distribution network safety | |
CN113610311B (en) | Comprehensive energy service provider cooperation operation optimization method considering carbon emission reduction under double-layer cooperation architecture | |
CN112651105B (en) | Micro-grid capacity configuration optimization method based on game theory | |
CN110061524B (en) | Active power dispatching equivalent aggregation method and system for distributed power supply virtual power plant based on deep neural network | |
CN117057566A (en) | Wind and fire source storage integrated station master-slave game optimization scheduling method | |
CN113285490B (en) | Power system scheduling method, device, computer equipment and storage medium | |
CN111682536B (en) | Random-robust optimization operation method for virtual power plant participating in dual market before day | |
CN111210079A (en) | Operation optimization method and system for distributed energy virtual power plant | |
CN112836849A (en) | Virtual power plant scheduling method considering wind power uncertainty | |
CN109685287A (en) | Increment power distribution network power supply capacity multiple-objection optimization configuration method | |
CN115147245A (en) | Virtual power plant optimal scheduling method with industrial load participating in peak shaving auxiliary service | |
CN115409645A (en) | Comprehensive energy system energy management method based on improved deep reinforcement learning | |
CN114188987A (en) | Shared energy storage optimal configuration method of large-scale renewable energy source sending end system | |
CN113112287A (en) | Virtual power plant energy management method and device based on micro-grid scheduling | |
CN113364043A (en) | Micro-grid group optimization method based on condition risk value | |
CN110472841B (en) | Energy storage configuration method of electric vehicle rapid charging station | |
CN116663823A (en) | Power distribution energy grid carbon emission optimal planning method and system integrating accurate carbon data | |
CN116739146A (en) | Method for V2G price excitation mechanism considering battery loss | |
CN114862568B (en) | Carbon emission right dividing method in P2P energy transaction based on cake-cutting game | |
CN115549137A (en) | Distributed power grid regulation and control system and regulation and control method | |
CN115796533A (en) | Virtual power plant double-layer optimization scheduling method and device considering clean energy consumption | |
CN115906608A (en) | Game theory-based virtual power plant model and optimized operation method | |
CN115438906A (en) | Multi-virtual-power-plant point-to-point transaction method, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |