A method and device for optimizing power system operation considering wind farm participation in frequency regulation

By establishing a joint probability distribution and typical scenario set of wind power prediction values ​​and actual values, the power system operation model is optimized, which solves the uncertainty problem when wind power participates in frequency regulation, improves the flexibility and stability of the power system, and achieves more effective generation dispatch and reserve capacity allocation.

CN113964819BActive Publication Date: 2024-09-17STATE GRID JIANGSU ELECTRIC POWER CO LTD RESEARCH INSTITUTE +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111174193.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-09
Publication Date
2024-09-17
Estimated Expiration
2041-10-09

AI Technical Summary

Technical Problem

The existing technology fails to effectively consider the uncertainty when wind farms participate in frequency regulation, resulting in power system operation optimization solutions that have poor operating results under actual wind power output, and fail to fully utilize the active regulation capabilities of new energy sources, affecting grid flexibility and Quick adjustment capability.

Method used

By establishing a joint probability distribution between wind power prediction values ​​and actual values, sampling and generating a set of typical wind power scenarios, and constructing a power system operation optimization model that considers typical wind power scenarios, optimizing power generation scheduling and reserve capacity allocation, using Copula theory and Gurobi solver solves the optimization model.

Benefits of technology

It improves the flexibility and rapid adjustment capabilities of the power system, improves the security and stability of the power system after a high proportion of renewable energy is connected, optimizes power generation dispatch and reserve capacity allocation, and enhances the ability to respond to wind power uncertainty.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113964819B
    Figure CN113964819B
Patent Text Reader

Abstract

The present invention discloses a method and device for optimizing the operation of a power system considering the participation of wind farms in frequency modulation. The method uses Copula theory to construct a joint probability distribution of predicted values ​​and actual values ​​of wind power output power, extracts samples of actual wind power generation from a joint distribution model based on predicted wind power generation, and then clusters these samples to create a scenario set of actual wind power generation. The scenario set is used to construct a power system operation optimization model considering the uncertainty of wind power generation, and the optimized operation plan is obtained by solving the optimization model. The present invention can take into account the uncertainty existing when wind power participates in frequency modulation, and optimize the generation scheduling and spare capacity allocation in the operation of the power system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of power system dispatch optimization, and in particular relates to a power system operation optimization method and transposition considering wind farm participation in frequency modulation. Background Art

[0002] Large-scale wind power access will reduce system inertia and frequency response capabilities. In addition, the volatility of wind power is stronger than load power. In order to improve the flexibility and rapid adjustment capabilities of the power grid and cope with the increased difficulty of real-time balancing requirements of the power grid brought about by renewable energy generation, it is urgent to study the operation optimization strategy of secondary frequency regulation of the power grid with wind power participation and give full play to the active regulation capabilities of renewable energy.

[0003] At present, although some studies have optimized the operation and bidding strategies of wind farms when wind power participates in frequency regulation, from the grid side, there are relatively few studies on power generation dispatch and reserve capacity optimization after wind farms participate in frequency regulation, and most of them do not consider the uncertainty of wind power output, which will lead to poor operation results of the optimized operation scheme under actual wind power output. Summary of the invention

[0004] The purpose of the present invention is to provide a method and device for optimizing the operation of an electric power system taking into account the participation of wind farms in frequency regulation, taking into account the uncertainty existing when wind power participates in frequency regulation, and optimizing the generation scheduling and spare capacity allocation in the operation of the electric power system.

[0005] To achieve the above object, the technical solution adopted by the present invention is as follows:

[0006] The present invention provides a method for optimizing the operation of a power system considering the participation of wind farms in frequency regulation, comprising:

[0007] Establish the joint probability distribution between wind power forecast and actual value;

[0008] The actual value of wind power is sampled according to the wind power forecast value of the optimized target day and the joint probability distribution function;

[0009] Cluster the sampled wind power real values ​​to generate a typical scene set of wind power;

[0010] Establish an optimization model for power system operation with wind farms participating in frequency regulation considering typical wind power scenarios;

[0011] The established model is solved to obtain the optimized operation results of the start and shutdown, planned output and spare capacity of each generator set in the power system.

[0012] Furthermore, the establishing of a joint probability distribution between the wind power forecast value and the actual value includes:

[0013] Get the wind power forecast value W within a certain time range pre Historical samples and corresponding actual wind power values ​​W tru Historical samples, using historical samples to use statistical methods to obtain W pre The empirical probability distribution function and W tru The empirical probability distribution function

[0014] Get the empirical probability distribution function using The predicted wind power value after transformation W pre The corresponding value of and using the empirical probability distribution function The actual value of wind power after transformation W tru The corresponding value of

[0015] The sample pairs composed of all historical sample combinations are judged to determine the same-order pairs and different-order pairs; among them, the transformation value corresponding to the i-th wind power forecast value historical sample The transformation value corresponding to the i-th wind power actual value historical sample is a historical sample combination, any two historical samples are combined into a sample pair;

[0016] Calculate the Kendall rank correlation coefficient τ based on the obtained same-order and different-order pairs:

[0017]

[0018] Among them, N 总对 Represents the total number of sample pairs, N 同序对 and N 异序对 They represent the same order logarithms and different order logarithms respectively;

[0019] Using GaussianCopula function, construct and The joint probability distribution function of is:

[0020]

[0021] in, About and The standard multivariate normal distribution function, Ψ -1 Represents the inverse function of the standard normal distribution;

[0022] Correlation Matrix It is expressed as:

[0023]

[0024]

[0025] Furthermore, if the sample pair satisfies and or meet and Then the sample pair is a same-order pair, otherwise it is a different-order pair.

[0026] Furthermore, the sampling of the wind power true value according to the wind power forecast value on the optimized target day and the joint probability distribution function includes:

[0027] Divide the optimization target day evenly into T time periods, and perform the following operations for each time period n:

[0028] The wind power forecast value W for period n pre , using the empirical probability distribution function Convert to the corresponding

[0029] Will Substitute the joint probability distribution function, and adjust Sampling is performed J times, and the samples obtained are recorded as j=1,2,…,J;

[0030] Using the empirical probability distribution function The inverse function of Transformed into the corresponding wind power true value

[0031] Furthermore, K-means is used to cluster the sampled true values ​​of wind power to generate a typical scenario set of wind power.

[0032] Furthermore, the power system operation optimization model of wind farms participating in frequency regulation considering typical wind power scenarios includes:

[0033] Objective function:

[0034]

[0035]

[0036] in, represents the power generation cost of traditional generator set i in the tth period, and are the linear and constant coefficients of the generation cost of the lth segment of the traditional generator set i, is the output of traditional generator set i in the tth period, is the set of traditional generators, Γ represents the total number of segments of segmented power generation cost, represents the set of traditional generator sets, represents the start-stop cost of traditional generator set i, y i,t Indicates whether the traditional generator set i is transformed from the closed state to the open state in the tth period, represents the unit reserve capacity cost of traditional generator set i, and represents the upward and downward reserve capacity of the traditional generator set i in the tth period, and represents the upward and downward reserve capacity of wind farm i in the tth period, and represents the upward and downward adjustment of the reserve capacity of the energy storage system i in the tth period, represents the power generation of wind farm i in the tth period, is the unit reserve capacity cost of wind farm i, ψ i represents the unit power generation cost of the wind farm, is a collection of wind farms, It is a collection of energy storage systems. represents the unit loss cost of energy storage system i, and represents the discharge power and charging power of energy storage system i in the tth period, ω k represents the scene weight of the kth scene after clustering, represents the predicted output of the wind farm under the kth scenario, C Pn It represents the unit wind curtailment penalty of the wind farm;

[0037] Constraints:

[0038] Power balance constraints:

[0039]

[0040] Capacity constraints of transmission lines:

[0041] B h,m (θ h,t -θ m,t )≤Π h,m ,

[0042] The start and stop logic constraints of traditional generator sets:

[0043] y i,t ≥x i,t -x i,t-1 ,

[0044] z i,t ≥x i,t-1 -x i,t ,

[0045] Minimum power on / off time constraints:

[0046]

[0047]

[0048] Operating range constraints of traditional generator sets:

[0049]

[0050]

[0051] Wind farm output upper and lower limits:

[0052]

[0053]

[0054] The upper and lower output limits of the energy storage system:

[0055]

[0056]

[0057] Traditional generator set climbing constraints:

[0058]

[0059]

[0060] Energy capacity constraints of energy storage systems:

[0061]

[0062]

[0063] Up and down frequency modulation capacity constraints:

[0064]

[0065]

[0066] Among them, L h,t represents the load of the power grid bus node h in the tth period, B h,m represents the hth row and mth column element of the bus node admittance matrix in the DC power flow, θ h,t represents the voltage phase angle of the grid bus node h in the tth period, Π h,m represents the capacity of the line between the grid bus nodes h and m, is the set of all conventional generators connected to the bus node h, is the set of all wind farms connected to the bus node h, x i,t Indicates whether the traditional generator set i is in the on state in the tth period, z i,t Indicates whether the traditional generator set i is switched from on to off in the tth period, T i ON and T i OFF are the minimum start and stop time of the traditional generator set i, P i max is the maximum output of traditional generator set i, P i Gmin is the minimum output of the traditional generator set, P i Wmin is the minimum output of wind farm i, P i Dmax and P i Cmax are the maximum discharge power and maximum charging power of the i-th energy storage system, respectively. represents the actual output of wind farm i in the tth period, λ is the confidence level, V i represents the ramp rate of the traditional generator set i, E i,t represents the energy of energy storage system i in the tth period, E i represents the energy capacity of energy storage system i, α represents the energy lost by self-discharge, and η C and η D Indicates the charging efficiency and discharging efficiency, S i,t represents the state of charge of energy storage system i in the tth period, and S i represents the upper and lower bounds of the state of charge of the energy storage system i, and Indicates upward and downward adjustments to spare capacity requirements.

[0067] Furthermore, the Gurobi solver is used to solve the model and obtain the start and stop times x of each power generation resource in the power system in each period. i,t ,y i,t ,z i,t 、Planned output and spare capacity The optimization results of the run.

[0068] The present invention also provides a power system operation optimization device considering wind farm participation in frequency regulation, comprising:

[0069] A construction module for establishing a joint probability distribution between wind power forecast values ​​and actual values;

[0070] A sampling module is used to sample the actual value of wind power according to the wind power forecast value of the optimized target day and the joint probability distribution function;

[0071] A clustering module is used to cluster the sampled wind power real values ​​and generate a typical scene set of wind power;

[0072] The optimization module is used to establish an optimization model for the operation of the power system with wind farms participating in frequency regulation considering typical wind power scenarios;

[0073] as well as,

[0074] The output module is used to solve the established model and obtain the optimized operation results of the start and shutdown, planned output and spare capacity of each generator set in the power system.

[0075] Furthermore, the building block is specifically used for:

[0076] Get the wind power forecast value W within a certain time range pre Historical samples and corresponding actual wind power values ​​W tru Historical samples, using historical samples to use statistical methods to obtain W pre The empirical probability distribution function and W tru The empirical probability distribution function

[0077] Get the empirical probability distribution function using The predicted wind power value after transformation W pre The corresponding value of and using the empirical probability distribution function The actual value of wind power after transformation W tru The corresponding value of

[0078] The sample pairs composed of all historical sample combinations are judged to determine the same-order pairs and different-order pairs; among them, the transformation value corresponding to the i-th wind power forecast value historical sample The transformation value corresponding to the i-th wind power actual value historical sample is a historical sample combination, any two historical samples are combined into a sample pair;

[0079] Calculate the Kendall rank correlation coefficient τ based on the obtained same-order and different-order pairs:

[0080]

[0081] Among them, N 总对 Represents the total number of sample pairs, N 同序对 and N 异序对 They represent the same order logarithms and different order logarithms respectively;

[0082] If the sample pair satisfies and or meet and Then the sample pair is a same-order pair, otherwise it is a different-order pair;

[0083] Using GaussianCopula function, construct and The joint probability distribution function of is:

[0084]

[0085] in, About and The standard multivariate normal distribution function, Ψ -1 Represents the inverse function of the standard normal distribution;

[0086] Correlation Matrix It is expressed as:

[0087]

[0088]

[0089] Furthermore, the optimization module is specifically used to:

[0090] Establish the objective function:

[0091]

[0092]

[0093] in, represents the power generation cost of traditional generator set i in the tth period, and are the linear and constant coefficients of the generation cost of the lth segment of the traditional generator set i, is the output of traditional generator set i in the tth period, is the set of traditional generators, Γ represents the total number of segments of segmented power generation cost, represents the set of traditional generator sets, represents the start-stop cost of traditional generator set i, y i,t Indicates whether the traditional generator set i is transformed from the closed state to the open state in the tth period, represents the unit reserve capacity cost of traditional generator set i, and represents the upward and downward reserve capacity of the traditional generator set i in the tth period, and represents the upward and downward reserve capacity of wind farm i in the tth period, and represents the upward and downward adjustment of the reserve capacity of the energy storage system i in the tth period, represents the power generation of wind farm i in the tth period, is the unit reserve capacity cost of wind farm i, ψ i represents the unit power generation cost of the wind farm, is a collection of wind farms, It is a collection of energy storage systems. represents the unit loss cost of energy storage system i, and represents the discharge power and charging power of energy storage system i in the tth period, ω k represents the scene weight of the kth scene after clustering, represents the predicted output of the wind farm under the kth scenario, C Pn It represents the unit wind curtailment penalty of the wind farm;

[0094] The objective function must satisfy the constraints:

[0095] Power balance constraints:

[0096]

[0097] Capacity constraints of transmission lines:

[0098] B h,m (θ h,t -θ m,t )≤Π h,m ,

[0099] The start and stop logic constraints of traditional generator sets:

[0100] y i,t ≥x i,t -x i,t-1 ,

[0101] z i,t ≥x i,t-1 -x i,t ,

[0102] Minimum power on / off time constraints:

[0103]

[0104]

[0105] Operating range constraints of traditional generator sets:

[0106]

[0107]

[0108] Wind farm output upper and lower limits:

[0109]

[0110]

[0111] The upper and lower output limits of the energy storage system:

[0112]

[0113]

[0114] Traditional generator set climbing constraints:

[0115]

[0116]

[0117] Energy capacity constraints of energy storage systems:

[0118]

[0119]

[0120] Up and down frequency modulation capacity constraints:

[0121]

[0122]

[0123] Among them, L h,t represents the load of the power grid bus node h in the tth period, B h,m represents the hth row and mth column element of the bus node admittance matrix in the DC power flow, θ h,t represents the voltage phase angle of the grid bus node h in the tth period, Π h,m represents the capacity of the line between the grid bus nodes h and m, is the set of all conventional generators connected to the bus node h, is the set of all wind farms connected to the bus node h, x i,t Indicates whether the traditional generator set i is in the on state in the tth period, z i,t Indicates whether the traditional generator set i is switched from on to off in the tth period, T i ON and Ti OFF are the minimum start and stop time of the traditional generator set i, P i max is the maximum output of traditional generator set i, P i Gmin is the minimum output of the traditional generator set, P i Wmin is the minimum output of wind farm i, P i Dmax and P i Cmax are the maximum discharge power and maximum charging power of the i-th energy storage system, respectively. represents the actual output of wind farm i in the tth period, λ is the confidence level, V i represents the ramp rate of the traditional generator set i, E i,t represents the energy of energy storage system i in the tth period, E i represents the energy capacity of energy storage system i, α represents the energy lost by self-discharge, and η C and η D Indicates the charging efficiency and discharging efficiency, S i,t represents the state of charge of energy storage system i in the tth period, and S i represents the upper and lower bounds of the state of charge of the energy storage system i, and Indicates upward and downward adjustments to spare capacity requirements.

[0124] The beneficial effects of the present invention are:

[0125] The method of the present invention uses Copula theory to construct the joint probability distribution of the predicted value and the actual value of wind power output power, extracts samples of actual wind power generation from the joint distribution model based on the predicted wind power generation, and then clusters these samples to create a scenario set of actual wind power generation, and uses the scenario set to construct an optimization model for power system operation that takes into account the uncertainty of wind power generation, and solves the optimization model to obtain an optimized operation plan. The present invention can improve the flexibility and rapid adjustment capability of power system operation, thereby improving the safety and stability of the power system after a high proportion of renewable energy is connected in the future. BRIEF DESCRIPTION OF THE DRAWINGS

[0126] Figure 1 This is a flow chart of a method for generating a typical scenario set in power system operation considering wind farm participation in frequency regulation according to the present invention. DETAILED DESCRIPTION

[0127] The present invention is further described below. The following examples are only used to more clearly illustrate the technical solution of the present invention, and are not intended to limit the protection scope of the present invention.

[0128] An embodiment of the present invention provides a method for optimizing the operation of a power system considering the participation of wind farms in frequency regulation, comprising the following steps:

[0129] 1) Establish the joint probability distribution between wind power forecast value and actual value, as follows:

[0130] 1-1) From the data recorded in the power system operation, retrieve the wind power forecast value W within a certain time range pre Historical samples and corresponding actual values ​​W tru The historical samples of the values ​​are used to obtain W using statistical methods. pre The empirical probability distribution function and W tru The empirical probability distribution function

[0131] The wind power prediction value W after transformation using the empirical probability distribution function pre The corresponding value of After using the empirical probability distribution function, W tru The corresponding value of Among them will Denote as the transformation value corresponding to the i-th wind power forecast historical sample, Denote as the transformation value corresponding to the i-th historical sample of actual wind power value;

[0132] In this embodiment, the historical samples are selected from data within the past year.

[0133] 1-2) Order is the i-th historical sample combination after transformation in step 1-1), and any two historical sample combinations are and Constitute a sample pair, where i≠j;

[0134] Judgment: If the sample satisfies and or meet and Then the sample pair is a same-order pair, otherwise it is a different-order pair;

[0135] After all sample pairs consisting of all historical sample combinations are judged, calculate and The Kendall rank correlation coefficient τ is expressed as follows:

[0136]

[0137] Among them, N 总对 Represents the total number of sample pairs, N 同序对 and N异序对 They represent the same order logarithms and different order logarithms respectively;

[0138] 1-3) Use GaussianCopula function to construct and The joint probability distribution function of is:

[0139]

[0140] in, About and The standard multivariate normal distribution function of The representative correlation matrix is The standard multivariate normal distribution matrix, Ψ -1 Represents the inverse function of the standard normal distribution; correlation matrix The expression is as follows:

[0141]

[0142] Among them, the calculation expression of parameter ρ is:

[0143]

[0144] 2) Sampling the actual wind power value according to the wind power prediction value and the joint probability distribution function is as follows:

[0145] During the optimization run, the optimization target day is evenly divided into T time periods. For each time period n, the following operations are performed:

[0146] The wind power forecast value W for period n pre , using the empirical probability distribution function Convert it to the corresponding

[0147] Will Substitute the joint probability distribution function shown in formula (1) and use the joint probability distribution function to Perform J samplings and record the samples obtained as j=1,2,…,J;

[0148] Using the empirical probability distribution function The inverse function of Transformed into the corresponding actual value of the wind power sample in this period

[0149] After the operation is completed for all time periods, the true values ​​of wind power samples in all time periods are obtained, a total of T*J.

[0150] 3) K-means is used to cluster the real values ​​of the sampled wind power samples to generate a typical scene set of wind power. After clustering, K cluster centers are formed. represents the predicted output of the wind farm under the kth scenario, ω k Represents the scene weight of the kth scene after clustering, see Figure 1 .

[0151] 4) Establish a power system operation optimization model considering wind farms participating in frequency regulation. The model consists of an objective function and constraints. The details are as follows:

[0152] 4-1) Objective function

[0153] The objective function of the power system operation optimization problem consists of the generation and regulation costs of traditional units and wind power, as well as the life loss cost of the energy storage system. The generation cost of traditional units is expressed in the form of a piecewise affine function, as follows:

[0154]

[0155] in, represents the power generation cost of traditional generator set i in the tth period, and are the linear term and constant term coefficients of the generation cost of the lth segment of the traditional generator set i (both are known quantities), is the output of traditional generator set i in the tth period, is the set of traditional generators, and Γ represents the total number of segments of segmented power generation cost.

[0156] The adjustment cost is calculated based on the adjustment price and the adjustment capacity.

[0157] The life of an energy storage system is generally defined by the total amount of charge and discharge energy, and the life loss cost is proportional to the charge and discharge energy of the energy storage system. In addition, it is assumed that the energy consumed by the energy storage system when providing frequency regulation services is proportional to its regulation capacity, and the proportionality coefficient is denoted as β, which can be directly obtained based on historical operating experience.

[0158] In summary, the objective function formula for running the optimization model is as follows:

[0159]

[0160] Where T represents the number of time periods in a day. represents the set of traditional generator sets, represents the start-stop cost of traditional generator set i, y i,t Indicates whether the traditional generator set i is transformed from the closed state to the open state in the tth period, represents the unit reserve capacity cost of traditional generator set i, and They represent the upward and downward reserve capacity of the traditional generator set i in the tth period, and represents the upward and downward reserve capacity of wind farm i in the tth period, and represents the upward and downward adjustment of the reserve capacity of the energy storage system i in the tth period, represents the power generation of wind farm i in the tth period, is the unit reserve capacity cost of wind farm i, ψ i represents the unit power generation cost of the wind farm, is a collection of wind farms, It is a collection of energy storage systems. represents the unit loss cost of the i-th energy storage system, and are the discharge power and charging power of the i-th energy storage system in the t-th period, ω k represents the scene weight of the kth scene after clustering, represents the predicted output of the wind farm under the kth scenario, C Pn Represents the unit wind curtailment penalty of the wind farm.

[0161] 4-2) Constraints

[0162] Based on the DC power flow, the power balance constraint (5) is derived and the capacity constraint of the transmission line is (6):

[0163]

[0164]

[0165] Among them, L h,t represents the load of the power grid bus node h in the tth period, B h,m represents the hth row and mth column element of the bus node admittance matrix in the DC power flow, θ h,t represents the voltage phase angle of the grid bus node h in the tth period, Π h,m represents the capacity of the line between the grid bus nodes h and m, is the set of all conventional generators connected to the bus node h, It is the collection of all wind farms connected to the bus node h.

[0166] Formulas (7) and (8) are the start-stop logic constraints, and formulas (9) and (10) are the minimum start-stop time constraints:

[0167]

[0168]

[0169]

[0170]

[0171] Among them, x i,t Indicates whether the traditional generator set i is in the on state in the tth period, z i,t Indicates whether the traditional generator set i is switched from on to off in the tth period, T i ON and T i OFF are the minimum on and off time of traditional generator set i respectively.

[0172] The operating range constraints of traditional generator sets are as follows: (11) and (12), the upper and lower limits of wind power output are as follows: (13) and (14), and the upper and lower limits of energy storage system output are as follows:

[0173]

[0174]

[0175]

[0176]

[0177]

[0178]

[0179] Among them, P i max is the maximum output of traditional generator set i, P i Gmin is the minimum output of the traditional generator set, P i Wmin is the minimum output of wind farm i, P i Dmax and P i Cmax are the maximum discharge power and maximum charging power of the i-th energy storage system, respectively. represents the actual output of wind farm i in the tth period, and λ is the confidence level that the chance constraint (13) holds.

[0180] Formula (16) is an opportunity constraint, which can be transformed into a normal hard constraint using the conditional value at risk theory (CVaR):

[0181]

[0182] χ is the auxiliary variable introduced in the transformation, function (x) + =min{x,0}.

[0183] Equations (18) and (19) consider the ramp constraints of traditional generator sets after starting and stopping:

[0184]

[0185]

[0186] Among them, V i Represents the ramp rate of the traditional generator set i.

[0187] Equations (20) and (21) are the energy capacity constraints of the energy storage system:

[0188]

[0189]

[0190] Among them, E i,t represents the energy of the i-th energy storage system in the t-th period, E i represents the energy capacity of the i-th energy storage system, α represents the energy lost by self-discharge, and η C and η D Represent the charging efficiency and discharging efficiency respectively, S i,t represents the charge state of the i-th energy storage system in the t-th time period, and S i They represent the upper and lower bounds of the state of charge of the i-th energy storage system respectively.

[0191] Equations (22) and (23) are the up and down frequency regulation capacity constraints:

[0192]

[0193]

[0194] and Represent upward and downward adjustments to reserve capacity requirements, respectively.

[0195] 5) The optimization model established in step 4) is programmed using Matlab, and the Gurobi solver is called to solve it, and the start and stop times (x i,t ,y i,t ,z i,t ), Planned Output and reserve spare capacity The optimization results are obtained, thus obtaining the power generation dispatch and reserve capacity allocation scheme considering the participation of wind farms in frequency regulation.

[0196] Another embodiment of the present invention provides a power system operation optimization device considering wind farm participation in frequency regulation, comprising:

[0197] A construction module for establishing a joint probability distribution between wind power forecast values ​​and actual values;

[0198] A sampling module is used to sample the actual value of wind power according to the wind power forecast value of the optimized target day and the joint probability distribution function;

[0199] A clustering module is used to cluster the sampled wind power real values ​​and generate a typical scene set of wind power;

[0200] The optimization module is used to establish an optimization model for the operation of the power system with wind farms participating in frequency regulation considering typical wind power scenarios;

[0201] as well as,

[0202] The output module is used to solve the established model and obtain the optimized operation results of the start and shutdown, planned output and spare capacity of each generator set in the power system.

[0203] In this embodiment, the construction module is specifically used to:

[0204] Get the wind power forecast value W within a certain time range pre Historical samples and corresponding actual wind power values ​​W tru Historical samples, using historical samples to use statistical methods to obtain W pre The empirical probability distribution function and W tru The empirical probability distribution function

[0205] Get the empirical probability distribution function using The predicted wind power value after transformation W pre The corresponding value of and using the empirical probability distribution function The actual value of wind power after transformation W tru The corresponding value of

[0206] The sample pairs composed of all historical sample combinations are judged to determine the same-order pairs and different-order pairs; among them, the transformation value corresponding to the i-th wind power forecast value historical sample The transformation value corresponding to the i-th wind power actual value historical sample is a historical sample combination, any two historical samples are combined into a sample pair;

[0207] Calculate the Kendall rank correlation coefficient τ based on the obtained same-order and different-order pairs:

[0208]

[0209] Among them, N 总对 Represents the total number of sample pairs, N 同序对 and N 异序对 They represent the same order logarithms and different order logarithms respectively;

[0210] If the sample pair satisfies and or meet and Then the sample pair is a same-order pair, otherwise it is a different-order pair;

[0211] Using GaussianCopula function, construct and The joint probability distribution function of is:

[0212]

[0213] in, About and The standard multivariate normal distribution function, Ψ -1 Represents the inverse function of the standard normal distribution;

[0214] Correlation Matrix It is expressed as:

[0215]

[0216]

[0217] In this embodiment, the optimization module is specifically used to:

[0218] Establish the objective function:

[0219]

[0220]

[0221] in, represents the power generation cost of traditional generator set i in the tth period, and are the linear and constant coefficients of the generation cost of the lth segment of the traditional generator set i, is the output of traditional generator set i in the tth period, is the set of traditional generators, Γ represents the total number of segments of segmented power generation cost, represents the set of traditional generator sets, represents the start-stop cost of traditional generator set i, y i,t Indicates whether the traditional generator set i is transformed from the closed state to the open state in the tth period, represents the unit reserve capacity cost of traditional generator set i, and represents the upward and downward reserve capacity of the traditional generator set i in the tth period, and represents the upward and downward reserve capacity of wind farm i in the tth period, and represents the upward and downward adjustment of the reserve capacity of the energy storage system i in the tth period, represents the power generation of wind farm i in the tth period, is the unit reserve capacity cost of wind farm i, ψ i represents the unit power generation cost of the wind farm, is a collection of wind farms, It is a collection of energy storage systems. represents the unit loss cost of energy storage system i, and represents the discharge power and charging power of energy storage system i in the tth period, ω k represents the scene weight of the kth scene after clustering, represents the predicted output of the wind farm under the kth scenario, C Pn It represents the unit wind curtailment penalty of the wind farm;

[0222] The objective function must satisfy the constraints:

[0223] Power balance constraints:

[0224]

[0225] Capacity constraints of transmission lines:

[0226] B h,m (θ h,t -θ m,t )≤Π h,m ,

[0227] The start and stop logic constraints of traditional generator sets:

[0228] y i,t ≥x i,t -x i,t-1 ,

[0229] z i,t ≥x i,t-1 -x i,t ,

[0230] Minimum power on / off time constraints:

[0231]

[0232]

[0233] Operating range constraints of traditional generator sets:

[0234]

[0235]

[0236] Wind farm output upper and lower limits:

[0237]

[0238]

[0239] The upper and lower output limits of the energy storage system:

[0240]

[0241]

[0242] Traditional generator set climbing constraints:

[0243]

[0244]

[0245] Energy capacity constraints of energy storage systems:

[0246]

[0247]

[0248] Up and down frequency modulation capacity constraints:

[0249]

[0250]

[0251] Among them, L h,t represents the load of the power grid bus node h in the tth period, B h,m represents the hth row and mth column element of the bus node admittance matrix in the DC power flow, θ h,t represents the voltage phase angle of the grid bus node h in the tth period, Π h,m represents the capacity of the line between the grid bus nodes h and m, is the set of all conventional generators connected to the bus node h, is the set of all wind farms connected to the bus node h, x i,t Indicates whether the traditional generator set i is in the on state in the tth period, z i,t Indicates whether the traditional generator set i is switched from on to off in the tth period, T i ON and T i OFF are the minimum start and stop time of the traditional generator set i, P i max is the maximum output of traditional generator set i, P i Gmin is the minimum output of the traditional generator set, P i Wmin is the minimum output of wind farm i, P i Dmax and P i Cmax are the maximum discharge power and maximum charging power of the i-th energy storage system, respectively. represents the actual output of wind farm i in the tth period, λ is the confidence level, V i represents the ramp rate of the traditional generator set i, E i,t represents the energy of energy storage system i in the tth period, E i represents the energy capacity of energy storage system i, α represents the energy lost by self-discharge, and η C and η D Indicates the charging efficiency and discharging efficiency, S i,t represents the state of charge of energy storage system i in the tth period, and S i represents the upper and lower bounds of the state of charge of the energy storage system i, and Indicates upward and downward adjustments to spare capacity requirements.

[0252] It is worth pointing out that the device embodiment corresponds to the above-mentioned method embodiment, and the implementation methods of the above-mentioned method embodiments are all applicable to the device embodiment and can achieve the same or similar technical effects, so they will not be repeated here.

[0253] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0254] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0255] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0256] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0257] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for optimizing power system operation considering wind farm participation in frequency regulation, It is characterized in that include: Establish the joint probability distribution between wind power forecast and actual value; The actual value of wind power is sampled according to the wind power forecast value of the optimized target day and the joint probability distribution function; Cluster the sampled wind power real values ​​to generate a typical scene set of wind power; Establish an optimization model for power system operation with wind farms participating in frequency regulation considering typical wind power scenarios; The objective function of the model is: in, represents the power generation cost of traditional generator set i in the tth period, and are the linear and constant coefficients of the generation cost of the lth segment of the traditional generator set i, is the output of traditional generator set i in the tth period, It is a collection of traditional generator sets. is the set of traditional generators in the tth period, Γ represents the total number of segments of segmented power generation costs, T represents the number of periods divided into the optimization target day, represents the start-stop cost of traditional generator set i, y i,t Indicates whether the traditional generator set i is transformed from the closed state to the open state in the tth period, represents the unit reserve capacity cost of traditional generator set i, and represents the upward and downward reserve capacity of the traditional generator set i in the tth period, and represents the upward and downward reserve capacity of wind farm i in the tth period, and represents the upward and downward adjustment of the reserve capacity of the energy storage system i in the tth period, represents the power generation of wind farm i in the tth period, is the unit reserve capacity cost of wind farm i, ψ i represents the unit power generation cost of the wind farm, is a collection of wind farms, It is a collection of energy storage systems. represents the unit loss cost of energy storage system i, and represents the discharge power and charging power of energy storage system i in the tth period, ω k represents the scene weight of the kth scene after clustering, K represents the scene set after clustering, represents the predicted output of the wind farm under the kth scenario, C Pn represents the unit wind curtailment penalty of the wind farm, β is the proportional coefficient between the energy consumed by the energy storage system and its regulation capacity when providing frequency regulation services; The constraints include: Power balance constraints: Capacity constraints of transmission lines: The start and stop logic constraints of traditional generator sets: Minimum power on / off time constraints: Operating range constraints of traditional generator sets: Wind farm output upper and lower limits: The upper and lower output limits of the energy storage system are: Traditional generator set climbing constraints: Energy capacity constraints of energy storage systems: Frequency modulation capacity constraints: Among them, L h,t represents the load of the power grid bus node h in the tth period, B h,m represents the hth row and mth column element of the bus node admittance matrix in the DC power flow, θ h,t represents the voltage phase angle of the grid bus node h in the tth period, Π h,m represents the capacity of the line between the grid bus nodes h and m, is the set of all conventional generators connected to the bus node h, is the set of all wind farms connected to the bus node h, is the set of all energy storage systems connected to the bus node h, x i,t Indicates whether the traditional generator set i is in the on state in the tth period, z i,t Indicates whether the traditional generator set i is switched from on to off in the tth period, T i ON and T i OFF are the minimum start and stop time of the traditional generator set i, P i max is the maximum output of traditional generator set i, P i Gmin is the minimum output of traditional generator set i, P i Wmin is the minimum output of wind farm i, P i Dmax and P i Cmax are the maximum discharge power and maximum charging power of the i-th energy storage system, respectively. represents the actual output of wind farm i in the tth period, λ is the confidence level, V i represents the ramp rate of the traditional generator set i, E i,t represents the energy of energy storage system i in the tth period, E i represents the energy capacity of energy storage system i, α represents the energy lost by self-discharge, and η C and η D Indicates the charging efficiency and discharging efficiency, S i,t represents the state of charge of energy storage system i in the tth period, and S i represents the upper and lower bounds of the state of charge of the energy storage system i, and Indicates upward and downward adjustment of spare capacity requirements, is the set of energy storage systems in the tth period, is the set of wind farms in the tth period; The established model is solved to obtain the optimized operation results of the start and shutdown, planned output and spare capacity of each generator set in the power system.

2. A method for optimizing power system operation considering wind farm participation in frequency regulation according to claim 1, It is characterized in that The establishing of a joint probability distribution between the wind power forecast value and the actual value includes: Get the wind power forecast value W within a certain time range pre Historical samples and corresponding actual wind power values ​​W tru Historical samples, using historical samples to use statistical methods to obtain W pre The empirical probability distribution function and W tru The empirical probability distribution function Get the empirical probability distribution function using The predicted wind power value after transformation W pre The corresponding value of and using the empirical probability distribution function The actual value of wind power after transformation W tru The corresponding value of The sample pairs composed of all historical sample combinations are judged to determine the same-order pairs and different-order pairs; among them, the transformation value corresponding to the i-th wind power forecast value historical sample The transformation value corresponding to the i-th wind power actual value historical sample is a historical sample combination, any two historical samples are combined into a sample pair; Calculate the Kendall rank correlation coefficient τ based on the obtained same-order and different-order pairs: Among them, N 总对 Represents the total number of sample pairs, N 同序对 and N 异序对 They represent the same order logarithms and different order logarithms respectively; Using GaussianCopula function, construct and The joint probability distribution function of is: in, About and The standard multivariate normal distribution function, Ψ -1 Represents the inverse function of the standard normal distribution; Correlation Matrix It is expressed as:

3. A method for optimizing power system operation considering wind farm participation in frequency regulation according to claim 2, It is characterized in that If the sample pair satisfies and or meet and Then the sample pair is a same-order pair, otherwise it is a different-order pair.

4. A method for optimizing power system operation considering wind farm participation in frequency regulation according to claim 2, It is characterized in that The step of sampling the wind power true value according to the wind power forecast value on the optimized target day and the joint probability distribution function includes: Divide the optimization target day evenly into T time periods, and perform the following operations for each time period n: The wind power forecast value W for period n pre , using the empirical probability distribution function Convert to the corresponding Will Substitute the joint probability distribution function, and adjust Sampling is performed J times, and the samples obtained are recorded as Using the empirical probability distribution function The inverse function of Transformed into the corresponding wind power true value 5. A method for optimizing power system operation considering wind farm participation in frequency regulation according to claim 4, It is characterized in that K-means is used to cluster the sampled true values ​​of wind power to generate a typical scene set of wind power.

6. A method for optimizing power system operation considering wind farm participation in frequency regulation according to claim 4, It is characterized in that The Gurobi solver is used to solve the model and obtain the start and stop times x of each power generation resource in the power system in each period. i,t ,y i,t ,z i,t 、Planned output and spare capacity The optimization results of the run.

7. A power system operation optimization device considering wind farm participation in frequency regulation, It is characterized in that The device is used to implement the power system operation optimization method considering the participation of wind farms in frequency regulation as described in any one of claims 1 to 6, comprising: A construction module for establishing a joint probability distribution between wind power forecast values ​​and actual values; A sampling module is used to sample the actual value of wind power according to the wind power forecast value of the optimized target day and the joint probability distribution function; A clustering module is used to cluster the sampled wind power real values ​​and generate a typical scene set of wind power; The optimization module is used to establish an optimization model for the operation of a power system in which a wind farm participates in frequency regulation considering typical wind power scenarios; the objective function of the model is: in, represents the power generation cost of traditional generator set i in the tth period, and are the linear and constant coefficients of the generation cost of the lth segment of the traditional generator set i, is the output of the traditional generator set i in the tth period, Γ represents the total number of segments of the segmented power generation cost, T represents the number of time periods divided into the optimization target day, represents the set of traditional generator sets, is the set of traditional generators in the tth period, represents the start-stop cost of traditional generator set i, y i,t Indicates whether the traditional generator set i is transformed from the closed state to the open state in the tth period, represents the unit reserve capacity cost of traditional generator set i, and represents the upward and downward reserve capacity of the traditional generator set i in the tth period, and represents the upward and downward reserve capacity of wind farm i in the tth period, and represents the upward and downward adjustment of the reserve capacity of the energy storage system i in the tth period, represents the power generation of wind farm i in the tth period, is the unit reserve capacity cost of wind farm i, ψ i represents the unit power generation cost of the wind farm, is a collection of wind farms, It is a collection of energy storage systems. represents the unit loss cost of energy storage system i, and represents the discharge power and charging power of energy storage system i in the tth period, ω k represents the scene weight of the kth scene after clustering, K represents the scene set after clustering, represents the predicted output of the wind farm under the kth scenario, C Pn represents the unit wind curtailment penalty of the wind farm, β is the proportional coefficient between the energy consumed by the energy storage system and its regulation capacity when providing frequency regulation services; The objective function must satisfy the constraints: Power balance constraints: Capacity constraints of transmission lines: The start and stop logic constraints of traditional generator sets: Minimum power on / off time constraints: Operating range constraints of traditional generator sets: Wind farm output upper and lower limits: The upper and lower output limits of the energy storage system are: Traditional generator set climbing constraints: Energy capacity constraints of energy storage systems: Frequency modulation capacity constraints: Among them, L h,t represents the load of the power grid bus node h in the tth period, B h,m represents the hth row and mth column element of the bus node admittance matrix in the DC power flow, θ h,t represents the voltage phase angle of the grid bus node h in the tth period, Π h,m represents the capacity of the line between the grid bus nodes h and m, is the set of all conventional generators connected to the bus node h, is the set of all wind farms connected to the bus node h, is the set of all energy storage systems connected to the bus node h, x i,t Indicates whether the traditional generator set i is in the on state in the tth period, z i,t Indicates whether the traditional generator set i is switched from on to off in the tth period, T i ON and T i OFF are the minimum start and stop time of the traditional generator set i, P i max is the maximum output of traditional generator set i, P i Gmin is the minimum output of traditional generator set i, P i Wmin is the minimum output of wind farm i, P i Dmax and P i Cmax are the maximum discharge power and maximum charging power of the i-th energy storage system, respectively. represents the actual output of wind farm i in the tth period, λ is the confidence level, V i represents the ramp rate of the traditional generator set i, E i,t represents the energy of energy storage system i in the tth period, E i represents the energy capacity of energy storage system i, α represents the energy lost by self-discharge, and η C and η D Indicates the charging efficiency and discharging efficiency, S i,t represents the state of charge of energy storage system i in the tth period, and S i represents the upper and lower bounds of the state of charge of the energy storage system i, and Indicates upward and downward adjustment of spare capacity requirements, is the set of energy storage systems in the tth period, is the set of wind farms in the tth period; as well as, The output module is used to solve the established model and obtain the optimized operation results of the start and shutdown, planned output and spare capacity of each generator set in the power system.

8. A device for optimizing the operation of a power system taking into account the participation of wind farms in frequency regulation according to claim 7, It is characterized in that The building blocks are specifically used for: Get the wind power forecast value W within a certain time range pre Historical samples and corresponding actual wind power values ​​W tru Historical samples, using historical samples to use statistical methods to obtain W pre The empirical probability distribution function and W tru The empirical probability distribution function Get the empirical probability distribution function using The predicted wind power value after transformation W pre The corresponding value of and using the empirical probability distribution function The actual value of wind power after transformation W tru The corresponding value of The sample pairs composed of all historical sample combinations are judged to determine the same-order pairs and different-order pairs; among them, the transformation value corresponding to the i-th wind power forecast value historical sample The transformation value corresponding to the i-th wind power actual value historical sample is a historical sample combination, any two historical samples are combined into a sample pair; Calculate the Kendall rank correlation coefficient τ based on the obtained same-order and different-order pairs: Among them, N 总对 Represents the total number of sample pairs, N 同序对 and N 异序对 They represent the same order logarithms and different order logarithms respectively; If the sample pair satisfies and or meet and Then the sample pair is a same-order pair, otherwise it is a different-order pair; Using GaussianCopula function, construct and The joint probability distribution function of is: in, About and The standard multivariate normal distribution function, Ψ -1 Represents the inverse function of the standard normal distribution; Correlation Matrix It is expressed as: