A method for evaluating the regulation performance of wind power storage equipment using scenario construction
Through scenario construction and improved non-parametric kernel density estimation, the regulation performance of wind power energy storage equipment is evaluated, which solves the problem that wind power power prediction error and timing relationship are not considered in the wind power energy storage equipment evaluation method, and improves the evaluation accuracy and grid stability. .
Patent Information
- Application Number
- CN202210432708.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-22
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-04-22
AI Technical Summary
Existing wind power energy storage equipment evaluation methods fail to effectively consider wind power power prediction errors and timing relationships, resulting in energy storage SOC control deviations, and the probability distribution calculation is not accurate enough, affecting the stability of the power grid.
The scenario construction method is used to estimate the wind power power error range through time-series wind power prediction scenarios, perform low-pass filtering to obtain energy storage output predictions, use improved non-parametric kernel density to estimate probability distributions, build a wind-storage joint dispatch model, and evaluate the regulation performance of energy storage equipment. .
It improves the accuracy of wind power storage equipment evaluation and grid stability, improves energy storage SOC control by considering error effects and timing relationships, and enhances the regulation performance of wind and storage joint dispatch.
Smart Images

Figure CN114757548B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of wind power energy storage equipment, and in particular relates to a method for evaluating the regulation performance of wind power energy storage equipment using scenario construction. Background Art
[0002] The increasing proportion of renewable energy power generation in the power grid is a huge test for the stability of the power grid. As one of the clean power generation technologies, wind power generation technology has been widely used, and the installed capacity has continued to increase. However, due to the volatility problem that has not yet been solved in wind power generation, large-scale wind power grid connection brings frequency fluctuations, power fluctuations and other problems to the power system, affecting the stable operation of the power grid. With the increase in the proportion of wind power, the grid dispatch may "abandon wind and limit power" to a certain extent, which not only wastes pollution-free wind power generation, but also reduces the income of wind power companies. In view of this, it is very important to study the energy storage performance evaluation method that assists wind power generation in tracking the planned output.
[0003] However, the existing technologies related to energy storage performance evaluation methods have the following obvious shortcomings:
[0004] (1) Existing methods only consider the actual output of wind farms when constructing scenarios, but do not consider the deviation between wind power forecast data and actual wind power output and their temporal relationship.
[0005] (2) Existing methods use ultra-short-term wind power forecasts to correct control strategy parameters when predicting energy storage SOC, but they do not consider the impact of the day-ahead wind power forecast and wind farm output error on energy storage SOC control.
[0006] (3) Existing methods only calculate the probability distribution of SOC in each time period, without considering the probability distribution calculation of the deviation between the sequential SOC and the initial SOC.
[0007] (4) Existing methods generally use traditional parameter estimation methods for SOC probability density distribution. If the assumed probability distribution does not match the actual situation, it will lead to large deviations. Summary of the invention
[0008] In order to overcome the defects and deficiencies of the prior art, the present invention proposes a method for evaluating the regulation performance of wind power energy storage equipment using scenario construction. First, the wind power prediction error range is estimated through the existing time-series wind power prediction scenario taking into account the error. The scenario taking into account the error is energy storage prediction and energy storage output prediction, and the influence of the error can be considered. Then, the time-series data constructed by the scenario is filtered to obtain the day-ahead energy storage output prediction under different time series. The day-ahead energy storage output prediction only determines the charging and discharging state of the battery energy storage power station at a certain moment, obtains the probability distribution curve of energy storage and initial error, and sets the upper and lower limits of energy storage on the day to limit the depth of energy storage charging and discharging. The energy storage output is predicted by the day-ahead wind power prediction power and the real-time scheduling model. It adopts the improved non-parametric kernel density estimation probability distribution, does not need any assumptions about the probability distribution, effectively improves the accuracy of the probability distribution, and proposes the regulation performance index of the wind-storage joint scheduling model.
[0009] The specific technical solutions are as follows:
[0010] A method for evaluating the regulation performance of a wind power storage device using scenario construction, characterized in that it comprises the following steps:
[0011] Step S1: Estimate the error range of the day-ahead wind power forecast through the existing time-series wind power forecast scenario taking into account the error;
[0012] Step S2: low-pass filtering is performed on the time series data constructed by the scenario to obtain the day-ahead energy storage power prediction value under different time series;
[0013] Step S3: The obtained power prediction values of the battery energy storage power station are arranged according to the time series to obtain its time series matrix, and the energy storage SOC prediction values under each predicted power are calculated; and the probability distribution of the difference between the predicted energy storage SOC and the initial SOC is predicted using the improved non-parametric kernel density estimation;
[0014] Step S4: obtaining an auxiliary dispatching strategy taking into account the predicted wind power and the real-time dispatching sequence, and obtaining the real-time output data of the energy storage power station by matching the predicted values of the wind power and the energy storage power station with the real-time dispatching sequence;
[0015] Step S5: Based on the real-time output data of the energy storage power station, a regulation performance index of the wind-storage joint scheduling model is constructed to evaluate the regulation performance of the energy storage power station in the wind-storage joint scheduling prediction model.
[0016] Furthermore, in step S1, Latin hypercube sampling LHS is used to generate multiple scenarios from the wind power prediction power and the wind power prediction power error in each time period, and the scenarios of each time period are stored in a matrix in chronological order to obtain an initial time series scenario; and then the Cholesky decomposition sorting method is used to reorder the generated multiple scenarios to obtain multiple time series scenarios that take into account the correlation between multiple wind power prediction powers and wind power prediction power errors.
[0017] Further, in step S1, according to the day-ahead wind power prediction time scale, the day-ahead prediction time is divided into i periods, each i period is a prediction time resolution, and the cumulative distribution function of the wind power prediction power and the cumulative distribution function of the wind power prediction error in the i-th period are known, and sampling and sampling are performed, and the process is as follows:
[0018] Step S11: Sampling:
[0019] ①Suppose there are N random variables, X n (n=1,2,…,N) is any random variable, and its cumulative function distribution is Y n =F n (X n ), M represents the sampling scale, and the interval [0,1] is divided into M equally spaced intervals that do not overlap;
[0020] ② Randomly select a Y in each subinterval;
[0021] ③Use the inverse function method to obtain the sampling value in F n The inverse function of (·);
[0022] The Latin hypercube sampling (LHS) sampling method is used to sample N random variables in time period i to obtain an initial sample matrix of order N×M.
[0023] The final sample matrix X i The expression is:
[0024]
[0025] In formula (1), X i is the matrix obtained by sampling in period i, is the k-th scene matrix in period i, is the predicted wind power under the kth scenario in period i, is the wind power prediction error in the kth scenario during the i-th period;
[0026] Step S12: Generate a time sequence scenario:
[0027] The scene sample matrices of i periods are stored in a matrix in chronological order to obtain the initial time series matrix X:
[0028] X=(X 1 X 2 … X i ) T (2);
[0029] Step S13: Sorting: sorting based on Cholesky decomposition method;
[0030] According to the cumulative distribution function of wind power forecast power and power error in each period, the multi-scenario construction method of LHS and Cholesky decomposition sorting method is used to obtain the time series scenario matrix X=(X 1 X 2 … X i ) T ,in: X i Indicates the scene in time period i, It represents the predicted wind power and its error in the kth scenario in the i-th period.
[0031] Furthermore, step S2 is specifically as follows:
[0032] The error range of wind power forecast in a given day is determined by using existing scenarios, and the output forecast range of the energy storage power station is obtained after low-pass filtering, where:
[0033] The power injected into the grid after wind power smoothing is designed to be:
[0034]
[0035] In formula (7), f c is the low-pass filter cutoff frequency, P W is the wind farm power;
[0036] Without considering the local load, the power balance shows that the power relationship of the entire wind farm system is:
[0037] P W =P p +P b (8)
[0038] In formula (8), P b is the power generated or absorbed by the battery energy storage station, P b >0 is the output power, P b <0 means absorbed power;
[0039] Discretize equation (7), let t be a control cycle, at t k =kt (k=1, 2, 3…n) time:
[0040]
[0041] get:
[0042]
[0043] P b(k) =P W(k) -P p(k) (11)
[0044] In formula (10), P p(k) , P p(k-1) are the power injected into the grid at time k and k-1 respectively, P W(k) is the wind farm output power at time k;
[0045] From equations (10) and (11), we can get the known t k The output power of the wind farm at time t k-1 The power and τ value injected into the grid at any moment, and the target power P injected into the grid after energy storage is smoothed are obtained. p(k) And battery energy storage power station in t k The power P emitted or absorbed at any moment b(k) ;
[0046] After LHS and Cholesky decomposition sorting, the wind power forecast power P is obtained. Wp The wind power prediction error e Wp Based on the existing scenarios, a set of wind power forecast P is given. Wp1 , that is, we can know P Wp1 The error range on the day before; by formula (11), we can get the wind power forecast power P Wp1 The following is the timing energy storage output distribution taking into account the error in power emitted or absorbed by the battery energy storage power station.
[0047] Furthermore, step S3 is specifically as follows:
[0048] Assume that the timing model of the state of charge is:
[0049]
[0050] The power prediction value P of the battery energy storage station obtained by formula (11) bk , according to the time sequence arrangement, obtain its time sequence matrix, and calculate the energy storage SOC under each predicted power pk :
[0051]
[0052] Estimate the battery energy storage SOC taking into account the error limit based on the data obtained from the scenario construction;
[0053] The probability distribution of the difference between the predicted energy storage SOC and the initial SOC is introduced by introducing an improved non-parametric kernel density estimation algorithm. The specific steps are as follows:
[0054] Step S31: The difference between the predicted energy storage SOC and the initial SOC is recorded as x1, x2…x n There are n samples in total, and the upper boundary SOC of the state of charge when the battery energy storage power station is operating normally is taken high , lower boundary SOC low The difference with the initial SOC is taken as the domain [l,h], and the probability density function is assumed to be f(x), then the nonparametric kernel probability density estimate is:
[0055]
[0056] In formula (14), k(A) is the kernel function, h is the bandwidth;
[0057] Step S32: In order to prevent the occurrence of boundary deviation problems, a kernel function B(A) with boundaries is introduced:
[0058]
[0059] In formula (15), p i (x) is expressed as:
[0060]
[0061] Using the kernel function of formula (15) to modify formula (14), the probability density is:
[0062]
[0063] Step S33: Update equation (17) to:
[0064] h(x i )=h v f(x i ) -1 / 2 (18)
[0065] In formula (18), f(x i ) Take the estimated value of formula (14) as the leading estimate, h v is the optimal bandwidth obtained by cross-validation;
[0066] Then the improved probability density distribution is:
[0067]
[0068] Furthermore, step S4 is specifically as follows:
[0069] Take the maximum value of the SOC prediction of the battery energy storage power station SOC pmax and minimum SOC pmin , set as the energy storage SOC control upper limit SOC Lh With the lower control limit SOC Ll At the same time, the upper limit of the state of charge SOC during normal operation of the battery energy storage power station is introduced high With lower boundary SOC low , which is determined by the performance of the energy storage itself; the battery energy storage power station SOC is set up with four nodes between 0 and 1 to satisfy the following formula:
[0070] 0<SOC low <SOC Ll <SOC Lh <SOC high <1 (20)
[0071] The output of the battery energy storage power station at a certain time is determined by comparing the real-time dispatch sequence with the wind power range and energy storage SOC determined by the day-ahead forecast. Among them, what needs to be compared is: the wind power P at time k W (k) and the upper and lower limits of the wind power forecast P Wph (k), P Wpl (k), energy storage SOC (k) and predicted energy storage upper and lower limit SOC Lh (k) SOC Ll (k):
[0072] (1) When P W (k) <P Wpl (k)
[0073] ①SOC(k) <SOC Ll , the energy storage power station does not operate;
[0074] ②SOC Ll (k)≤SOC(k)≤SOC Lh (k), the output of the energy storage power station is:
[0075]
[0076] In formula (21), P is the rated power of the energy storage power station;
[0077] ③SOC(k)>SOC Lh , the energy storage output is:
[0078]
[0079] (2) When P Wpl (k)≤P W (k)≤P Wph (k)
[0080] ①SOC(k) <SOC Ll , the output of the energy storage power station is:
[0081]
[0082] ②SOC Ll (k)≤SOC(k)≤SOC Lh (k) The energy storage power station does not operate;
[0083] ③SOC(k)>SOC Lh , the output of the energy storage power station is:
[0084]
[0085] (3) When P W (k)≥P Wph (k)
[0086] ①SOC(k) <SOC Ll , the output of the energy storage power station is:
[0087]
[0088] ②SOC Ll (k)≤SOC(k)≤SOC Lh (k), the output of the energy storage power station is:
[0089]
[0090] ③SOC(k)>SOC Lh , the energy storage power station does not operate;
[0091] By coordinating the day-ahead wind power and energy storage power station forecasts with the real-time dispatch sequence, the real-time output data of the energy storage power station can be obtained.
[0092] Furthermore, step S5 specifically includes:
[0093] The data obtained from the day-ahead and real-time models are used to calculate the charging and discharging efficiency, storage energy stability, response time, ramp rate, and reference signal tracking capability of the energy storage power station:
[0094] (1) Energy storage prediction model charging and discharging efficiency performance indicators
[0095] The energy Wh input into the system during charging by the energy storage prediction model c The electrical energy Wh output during dischargeD Get the charge and discharge efficiency RTE:
[0096]
[0097] Energy storage charging and discharging efficiency is used to determine the ratio of energy output of the energy storage system to the energy input during the previous charging process;
[0098] (2) Energy stability performance indicators of energy storage prediction model
[0099] The energy storage energy W of the energy storage power station at a certain moment N and the energy storage system rated energy W s , we get the energy storage stability w;
[0100]
[0101] (3) Energy storage prediction model response time and ramp rate performance indicators
[0102] When the energy storage power station starts to respond to the discharge command of the prediction model, the time T1 and power And record the time T2 and power of energy storage discharge command completion According to the energy storage system rated power P R The following relationship can be obtained:
[0103] Energy storage prediction discharge response time RT D for:
[0104] RT D =T2-T1 (29)
[0105] Discharge slope RR D for:
[0106]
[0107] Discharge ramp rate PP pet for:
[0108]
[0109] (4) Performance indicators of energy storage prediction model reference signal tracking capability
[0110] By the command signal P signal The actual power absorbed or released P ess The mean square error E MSE , and the mean absolute deviation E MAD Evaluate the ability of the energy storage system to track a reference signal:
[0111] Mean square error E MSE for:
[0112]
[0113] Mean absolute deviation E MAD for:
[0114]
[0115] The above can describe the energy changes of the energy storage power station and its ability to respond to reference signals, and evaluate the regulation performance of the energy storage power station in the wind-storage joint scheduling prediction model.
[0116] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of a method for evaluating the regulation performance of a wind power storage device constructed using a scenario as described above are implemented.
[0117] A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of a method for evaluating the regulation performance of a wind power energy storage device using scenario construction as described above are implemented.
[0118] Compared with the prior art, the beneficial effects of the present invention and its preferred embodiments include at least:
[0119] (1) Estimate the error range of wind power forecast through the existing time-series wind power forecasting scenarios that take into account errors. The scenarios that take into account errors are energy storage SOC forecasting and energy storage output forecasting that can take into account the impact of errors.
[0120] (2) The time series data constructed by the scenario is filtered to obtain the day-ahead energy storage output forecast under different time series. The day-ahead energy storage output forecast only determines the charging and discharging state of the battery energy storage power station at a certain moment, obtains the probability distribution curve of the error between the energy storage SOC and the initial SOC, and sets the upper and lower limits of the energy storage SOC on the day to limit the depth of energy storage charging and discharging. The energy storage output forecast is carried out through the day-ahead wind power forecast power and real-time dispatch model.
[0121] (3) The improved nonparametric kernel density estimation of SOC probability distribution does not require any assumptions about the probability distribution, which effectively improves the accuracy of the probability distribution.
[0122] (4) The regulation performance index of the wind-storage joint scheduling model was constructed to effectively and objectively quantitatively evaluate the regulation performance of the energy storage power station in the wind-storage joint scheduling prediction model. BRIEF DESCRIPTION OF THE DRAWINGS
[0123] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:
[0124] Figure 1It is a schematic diagram of the implementation flow of the method of the embodiment of the present invention. DETAILED DESCRIPTION
[0125] In order to make the features and advantages of this patent more obvious and easy to understand, the following embodiments are specifically described in detail as follows:
[0126] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used in this specification have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.
[0127] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0128] like Figure 1 As shown, in order to solve the problems existing in the prior art, the wind power energy storage device regulation performance evaluation method using scenario construction proposed in this embodiment can be summarized into the following basic steps:
[0129] Step S1: estimating the wind power prediction error range through the existing time-series wind power prediction scenario taking into account the error;
[0130] Step S2: low-pass filtering is performed on the time series data constructed by the scenario to obtain the day-ahead energy storage power prediction value under different time series;
[0131] Step S3: The obtained power prediction values of the battery energy storage power station are arranged according to the time series to obtain its time series matrix, and the energy storage SOC prediction values under each predicted power are calculated; and the probability distribution of the difference between the predicted energy storage SOC and the initial SOC is predicted using the improved non-parametric kernel density estimation;
[0132] Step S4: obtaining an auxiliary dispatching strategy taking into account the predicted wind power and the real-time dispatching sequence, and obtaining the real-time output data of the energy storage power station by matching the predicted values of the wind power and the energy storage power station with the real-time dispatching sequence;
[0133] Step S5: Based on the real-time output data of the energy storage power station, a regulation performance index of the wind-storage joint scheduling model is constructed to evaluate the regulation performance of the energy storage power station in the wind-storage joint scheduling prediction model.
[0134] The specific design points include the following:
[0135] 1. Time series scene generation method based on LHS.
[0136] Since wind power is strongly random and volatile due to the influence of various natural factors, in order to accurately establish a random model of wind power output, it is necessary to consider the temporal relationship between wind power forecast power and wind power forecast power error when dividing the scenarios. The forecast time scale of the short-term wind power forecast data is 24h, and the forecast time resolution is 15min. Latin hypercube sampling (LHS) is used to generate multiple scenarios from the wind power forecast power and wind power forecast power error in each time period. The scenarios of each time period are stored in a matrix in chronological order, and the initial time series scenario can be obtained. The Cholesky decomposition sorting method is used to reorder the generated multiple scenarios, so as to obtain multiple time series scenarios that take into account the correlation between multiple wind power forecast powers and wind power forecast power errors.
[0137] According to the day-ahead wind power prediction time scale, the day-ahead prediction time is divided into i periods, each i period is a prediction time resolution, and the cumulative distribution function of the wind power prediction power in the i-th period and the cumulative distribution function of the wind power prediction error are known, and they are sampled and outsampled, and the process is as follows.
[0138] (1) Sampling
[0139] ①Suppose there are N random variables, X n (n=1,2,…,N) is any random variable, and its cumulative function distribution is Y n =F n (X n ), M represents the sampling size, and the interval [0,1] is divided into M equally spaced intervals that do not overlap.
[0140] ② Randomly select a Y in each subinterval n , usually the midpoint of the interval is selected.
[0141] ③ The sampling value can be obtained by using the inverse function method in F n The inverse function of (·).
[0142] By using the LHS sampling method to sample N random variables in time period i, an N×M initial sample matrix can be obtained.
[0143] The final sample matrix X i The expression is:
[0144]
[0145] In formula (1), X i is the matrix obtained by sampling in period i, is the k-th scene matrix in period i, is the predicted wind power under the kth scenario in period i, is the wind power prediction error in the kth scenario during period i.
[0146] (2) Generate time series scenarios
[0147] By storing the scene sample matrices of i periods in a matrix in chronological order, the initial time series matrix X can be obtained:
[0148] X=(X 1 X 2 … X i ) T (2).
[0149] (3) Sorting
[0150] If multiple random variables are correlated, the generated sample matrix should also be correlated, so the initial sample matrix needs to be reordered to reduce the correlation between different scenarios and enhance the correlation between the same scenarios. The sorting process based on the Cholesky decomposition method is as follows:
[0151] ①First, randomly generate an N×M matrix L. Each column vector in the matrix is composed of integers 1 to N randomly arranged.
[0152] ② Calculate the correlation coefficient matrix R between the columns of matrix L L .
[0153] R L =[ρ i,j ],i=1,2...K; j=1,2...,K (3)
[0154]
[0155] In formula (4), L i , L j are the i-th column and j-th column of matrix L, respectively, i,j For L i and L j is the correlation coefficient of , and cov is the covariance operator.
[0156] ③Since the correlation coefficient matrix R L is a positive definite symmetric matrix, which can be decomposed into a non-singular lower triangular matrix D by the Cholesky decomposition sorting method:
[0157] R L =DD T (5)
[0158] ④ Calculate the matrix G according to formula (6):
[0159] G=D -1 L (6)
[0160] ⑤The elements of each row in the matrix L are replaced in the order of the elements in the corresponding row in the matrix G.
[0161] ⑥ Each row element in the matrix X is also swapped with the corresponding row element in the updated matrix L.
[0162] After the above steps ① to ⑥, the correlation between each row vector of the matrix X is weakened, that is, the correlation between each scene is weakened.
[0163] According to the cumulative distribution function of wind power forecast power and power error in each period, the multi-scenario construction method of LHS and Cholesky decomposition sorting method is used to obtain the time series scenario matrix X=(X 1 X 2 … X i ) T ,in: X i Indicates the scene in time period i, It represents the wind power forecast and its error in the kth scenario in the i period. The constructed scenario takes into account both the uncertainty of wind power forecast and the time series of wind power forecast and its error, and can also reflect their correlation, so that the obtained data is more in line with actual requirements.
[0164] 2. Energy storage output prediction method based on low-pass filtering
[0165] The error range of wind power forecast on a given day can be determined by using existing scenarios, and the output forecast range of the energy storage power station can be obtained after low-pass filtering.
[0166] The power injected into the grid after wind power smoothing is designed to be:
[0167]
[0168] In formula (7), f c is the low-pass filter cutoff frequency, P W is the wind farm power.
[0169] Without considering the local load, the power balance shows that the power relationship of the entire wind farm system is:
[0170] P W =P p +P b (8)
[0171] In formula (8), P b is the power generated or absorbed by the battery energy storage station, P b >0 is the output power, P b <0 means absorbed power.
[0172] Discretize equation (7), let t be a control cycle, at t k =kt (k=1, 2, 3…n) time:
[0173]
[0174] You can get:
[0175]
[0176] P b(k) =P W(k) -P p(k) (11)
[0177] In formula (10), P p(k) , P p(k-1) are the power injected into the grid at time k and k-1 respectively, P W(k) is the wind farm output power at time k.
[0178] From equations (10) and (11), we can see that k The output power of the wind farm at time t k-1 The power injected into the grid at any time and the τ value can be used to obtain the target power P injected into the grid after energy storage is smoothed. p(k) And battery energy storage power station in t k The power P emitted or absorbed at any moment b(k) .
[0179] After LHS and Cholesky decomposition sorting, the wind power forecast power P is obtained. Wp The wind power prediction error e Wp Based on the existing scenarios, a set of wind power forecast P is given. Wp1 , that is, we can know P Wp1 The error range of the day before. By using formula (14), we can get the wind power forecast power P Wp1 The following is the timing energy storage output distribution taking into account the error in power emitted or absorbed by the battery energy storage power station.
[0180] 3. Predict the probability density distribution of energy storage charge state deviation
[0181] Since the accuracy of the day-ahead wind power forecast is not high, determining the power emitted or absorbed by the battery energy storage power station on the day based on the day-ahead wind power is a method with relatively large errors. Therefore, the battery energy storage power station power calculated by the day-ahead wind power forecast is only used to determine the charge and discharge state of the battery energy storage power station at a certain moment, obtain the probability distribution curve of the error between the energy storage SOC and the initial SOC, and set the upper and lower limits of the energy storage SOC on the day to limit the energy storage charge and discharge depth. Set the charge and discharge depth to prevent the battery energy storage from overcharging or over-discharging. Determine the output of the energy storage based on the SOC limit range obtained by the day-ahead forecast and the real-time scheduling model.
[0182] The timing model of the state of charge is:
[0183]
[0184] The power prediction value P of the battery energy storage station obtained by formula (11) bk , according to the time sequence arrangement, obtain its time sequence matrix, and calculate the energy storage SOC under each predicted power pk .
[0185]
[0186] The battery energy storage SOC taking into account the error limit is estimated based on the data obtained from the scenario construction, and the probability distribution curve of the difference between the predicted energy storage SOC and the specified initial SOC can be obtained through statistical methods. Predicting the energy storage SOC is the premise and basis for optimizing energy management, preventing overcharging and over-discharging of batteries, extending battery life, ensuring safe use of batteries, and improving battery energy utilization.
[0187] This embodiment predicts the probability distribution of the difference between the energy storage SOC and the initial SOC by introducing an improved non-parametric kernel density estimation algorithm. The specific steps are as follows:
[0188] ①The difference between the two is recorded as x1, x2…x n There are n samples in total, and the upper boundary SOC of the state of charge when the battery energy storage power station is operating normally is taken high , lower boundary SOC low The difference with the initial SOC is taken as the domain [l,h], and the probability density function is assumed to be f(x), then the nonparametric kernel probability density estimate is:
[0189]
[0190] In formula (14), k(A) is the kernel function, h is the bandwidth.
[0191] ② In order to prevent the occurrence of boundary deviation problems, a kernel function B(A) with boundaries is introduced:
[0192]
[0193] In formula (15), p i (x) is expressed as:
[0194]
[0195] Using the kernel function of formula (15) to modify formula (14), the probability density is:
[0196]
[0197] ③ Although the kernel function introduced in formula (15) solves the problem of boundary deviation, since the bandwidth used is fixed, it cannot completely adjust the bandwidth based on the sample data in the local area, which reduces the adaptability. Therefore, formula (17) is updated as follows:
[0198] h(x i )=h v f(x i ) -1 / 2 (18)
[0199] In formula (18), f(x i ) Take the estimated value of formula (14) as the leading estimate, h v is the optimal bandwidth obtained by cross validation.
[0200] Then the improved probability density distribution is:
[0201]
[0202] 4. Auxiliary dispatch strategy considering the day-ahead wind power forecast and real-time dispatch sequence
[0203] Take the maximum value of the SOC prediction of the battery energy storage power station SOC pmax and minimum SOC pmin , set as the energy storage SOC control upper limit SOC Lh With the lower control limit SOC Ll At the same time, the upper limit of the state of charge SOC during normal operation of the battery energy storage power station is introduced high With lower boundary SOC low , which is determined by the performance of the energy storage itself. Set up four nodes between 0 and 1 for the battery energy storage station SOC to satisfy the following formula:
[0204] 0<SOC low <SOC Ll <SOC Lh <SOC high <1 (20)
[0205] The output of the battery energy storage power station at a certain moment is determined by comparing the real-time dispatch sequence with the wind power range and energy storage SOC determined by the day-ahead forecast. What needs to be compared is: the wind power P at time k W (k) and the upper and lower limits of the wind power forecast P Wph (k), P Wpl (k), energy storage SOC (k) and predicted energy storage upper and lower limit SOC Lh (k) SOC Ll (k).
[0206] (1) When P W (k) <P Wpl (k)
[0207] ①SOC(k) <SOC Ll , the energy storage power station does not operate.
[0208] ②SOC Ll (k)≤SOC(k)≤SOC Lh (k), the output of the energy storage power station is:
[0209]
[0210] In formula (21), P is the rated power of the energy storage station.
[0211] ③SOC(k)>SOC Lh , the energy storage output is:
[0212]
[0213] (2) When P Wpl (k)≤P W (k)≤P Wph (k)
[0214] ①SOC(k) <SOC Ll , the output of the energy storage power station is:
[0215]
[0216] ②SOC Ll (k)≤SOC(k)≤SOC Lh (k), the energy storage power station does not operate. ③SOC(k)>SOC Lh , the output of the energy storage power station is:
[0217]
[0218] (3) When P W (k)≥P Wph (k)
[0219] ①SOC(k) <SOC Ll , the output of the energy storage power station is:
[0220]
[0221] ②SOC Ll (k)≤SOC(k)≤SOC Lh (k), the output of the energy storage power station is:
[0222]
[0223] ③SOC(k)>SOC Lh , the energy storage power station does not operate.
[0224] By coordinating the day-ahead wind power and energy storage power station forecasts with the real-time dispatch sequence, the real-time output data of the energy storage power station can be obtained.
[0225] 5. Performance indicators of wind and energy storage joint dispatch energy storage prediction model
[0226] By using the data obtained from the day-ahead and real-time models, the charging and discharging efficiency, energy storage energy stability, response time, ramp rate, and reference signal tracking capability of the energy storage power station under these data are calculated, and the regulation performance of the wind-storage joint scheduling model is analyzed.
[0227] (1) Energy storage prediction model charging and discharging efficiency performance indicators
[0228] The energy Wh input into the system during charging by the energy storage prediction model c The electrical energy Wh output during discharge D The charge and discharge efficiency RTE can be obtained.
[0229]
[0230] Energy storage charging and discharging efficiency is used to determine the ratio of the energy output of the energy storage system to the energy input during the previous charging process.
[0231] (2) Energy stability performance indicators of energy storage prediction model
[0232] The energy storage energy W of the energy storage power station at a certain moment N and the energy storage system rated energy W s , the energy storage energy stability w can be obtained.
[0233]
[0234] (3) Energy storage prediction model response time and ramp rate performance indicators
[0235] When the energy storage power station starts to respond to the discharge command of the prediction model, the time T1 and power And record the time T2 and power of energy storage discharge command completion According to the energy storage system rated power P R The following relationship can be obtained.
[0236] Energy storage prediction discharge response time RT D for:
[0237] RT D =T2-T1 (29)
[0238] Discharge slope RR D for:
[0239]
[0240] Discharge ramp rate PP pet for:
[0241]
[0242] The charging response time and ramp rate calculation of the energy storage power station use the same calculation model as the discharge.
[0243] (4) Performance indicators of energy storage prediction model reference signal tracking capability
[0244] By the command signal P signal The actual power absorbed or released P ess The mean square error E MSE and the mean absolute deviation E MAD Evaluate the ability of the energy storage system to track a reference signal.
[0245] Mean square error E MSE for:
[0246]
[0247] Mean absolute deviation E MAD for:
[0248]
[0249] The above can describe the energy changes of the energy storage power station and its ability to respond to reference signals, and evaluate the regulation performance of the energy storage power station in the wind-storage joint scheduling prediction model.
[0250] The above-mentioned program design scheme involving the algorithm provided in this embodiment can be stored in a computer-readable storage medium in a coded form, and implemented in the form of a computer program, and the basic parameter information required for the calculation is input through computer hardware, and the calculation result is output.
[0251] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0252] The present invention is described with reference to flowcharts of methods, devices (apparatus), and computer program products according to embodiments of the present invention. It should be understood that each process in the flowchart, as well as the combination of processes in the flowchart, 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 produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A device that specifies functions in a process or multiple processes.
[0253] 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 functions specified in a flowchart.
[0254] 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 The steps of a specified function in a process or multiple processes.
[0255] The above is only a preferred embodiment of the present invention, and does not limit the present invention in other forms. Any technician familiar with the profession may use the above disclosed technical content to change or modify it into an equivalent embodiment with equivalent changes. However, any simple modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the technical solution of the present invention still belongs to the protection scope of the technical solution of the present invention.
[0256] This patent is not limited to the above-mentioned optimal implementation mode. Anyone can derive various other forms of a wind power storage equipment regulation performance evaluation method using scenario construction under the inspiration of this patent. All equal changes and modifications made according to the scope of the patent application of the present invention should be covered by this patent.
Claims
1. A method for evaluating the regulation performance of wind power storage equipment using scenario construction, characterized in that: The following steps are involved: Step S1: Estimate the error range of the day-ahead wind power forecast through the existing time-series wind power forecast scenario taking into account the error; Step S2: low-pass filtering is performed on the time series data constructed by the scenario to obtain the day-ahead energy storage power prediction value under different time series; Step S3: The obtained power prediction values of the battery energy storage power station are arranged according to the time series to obtain its time series matrix, and the energy storage SOC prediction values under each predicted power are calculated; The improved nonparametric kernel density estimation is used to predict the probability distribution of the difference between the energy storage SOC and the initial SOC; Step S4: obtaining an auxiliary dispatching strategy taking into account the predicted wind power and the real-time dispatching sequence, and obtaining the real-time output data of the energy storage power station by matching the predicted SOC values of the wind power and the energy storage power station with the real-time dispatching sequence; Step S5: constructing a regulation performance index of the wind-storage joint dispatch model based on the real-time output data of the energy storage power station, so as to evaluate the regulation performance of the energy storage power station in the wind-storage joint dispatch prediction model; In step S1, multiple scenarios are generated from the wind power prediction power and the wind power prediction power error in each time period using Latin hypercube sampling LHS, and the scenarios of each time period are stored in a matrix in chronological order to obtain the initial time series scenario; Then, the Cholesky decomposition sorting method is used to reorder the generated multiple scenarios, thereby obtaining multiple time series scenarios that take into account the correlation between multiple wind power forecast powers and wind power forecast power errors; In step S1, according to the day-ahead wind power forecast time scale, the day-ahead forecast time is divided into i periods, each i period is a forecast time resolution, and the cumulative distribution function of the wind power forecast in the i-th period and the cumulative distribution function of the wind power forecast error are known, and they are sampled and sampled. The process is as follows: Step S11: Sampling: ①Suppose there are N random variables, X n (n=1,2,…,N) is any random variable, and its cumulative function distribution is Y n =F n (X n ), M represents the sampling scale, and the interval [0,1] is divided into M equally spaced intervals that do not overlap; ② Randomly select a Y in each subinterval n ; ③Use the inverse function method to obtain the sampling value in F n The inverse function of (·); The Latin hypercube sampling (LHS) method is used to sample N random variables in time period i to obtain an initial sample matrix of order N×M. The final sample matrix X i The expression is: In formula (1), X i is the matrix obtained by sampling in period i, is the k-th scene matrix in period i, is the predicted wind power under the kth scenario in period i, is the wind power prediction error in the kth scenario during the i-th period; Step S12: Generate a time sequence scenario: The scene sample matrices of i periods are stored in a matrix in chronological order to obtain the initial time series matrix X: X=(X 1 X 2 …X i ) T (2); Step S13: Sorting: sorting based on Cholesky decomposition method; According to the cumulative distribution function of power and power error in each period of the day-ahead wind power forecast, the multi-scenario construction method of LHS and Cholesky decomposition sorting method is used to obtain the time series scenario matrix X=(X 1 X 2 …X i ) T ,in: X i Indicates the scene in time period i, represents the predicted wind power and its error in the kth scenario in the i-th period; Step S2 is specifically as follows: The error range of wind power forecast in a given day is determined by using existing scenarios, and the output forecast range of the energy storage power station is obtained after low-pass filtering, where: The power injected into the grid after wind power smoothing is designed to be: In formula (7), f c is the low-pass filter cutoff frequency, P W is the wind farm power; Without considering the local load, the power balance shows that the power relationship of the entire wind farm system is: P W =P p +P b (8) In formula (8), P b is the power generated or absorbed by the battery energy storage station, P b >0 is the output power, P b <0 means absorbed power; Discretize equation (7) and set t as a control cycle. k =kt (k=1, 2, 3…n) time: get: P b(k) =P W(k) -P p(k) (11) In formula (10), P p(k) , P p(k-1) are the power injected into the grid at time k and k-1 respectively, P W(k) is the wind farm output power at time k; From equations (10) and (11), we can get the known t k The output power of the wind farm at time t k-1 The power and τ value injected into the grid at any moment are used to obtain the target power P injected into the grid after energy storage is smoothed. p(k) And battery energy storage power station in t k The power P emitted or absorbed at any moment b(k) ; After LHS and Cholesky decomposition sorting, the wind power forecast power P is obtained. Wp The wind power prediction error e Wp Based on the existing scenarios, a set of wind power forecast P is given. Wp1 , and get P Wp1 The error range on the day before; by formula (11), we can get the wind power forecast power P Wp1 The following is the timing energy storage output distribution taking into account the error in power emitted or absorbed by the battery energy storage power station.
2. According to claim 1, a method for evaluating the regulation performance of wind power storage equipment using scenario construction is characterized in that: Step S3 is specifically as follows: Assume that the timing model of the state of charge is: The power prediction value P of the battery energy storage station obtained by formula (11) is bk , according to the time sequence arrangement, obtain its time sequence matrix, and calculate the energy storage SOC under each predicted power pk : Estimate the battery energy storage SOC taking into account the error limit based on the data obtained from the scenario construction; The probability distribution of the difference between the predicted energy storage SOC and the initial SOC is introduced by introducing an improved nonparametric kernel density estimation algorithm. The specific steps are as follows: Step S31: The difference between the predicted energy storage SOC and the initial SOC is recorded as x1, x2…x n There are n samples in total, and the upper boundary SOC of the state of charge when the battery energy storage power station is operating normally is taken high , lower boundary SOC low The difference with the initial SOC is taken as the domain [l,h], and the probability density function is assumed to be f(x), then the nonparametric kernel probability density estimate is: In formula (14), k(A) is the kernel function, h is the bandwidth; Step S32: In order to prevent the occurrence of boundary deviation problems, a kernel function B(A) with boundaries is introduced: In formula (15), p i (x) is expressed as: Using the kernel function of formula (15) to modify formula (14), the probability density is: Step S33: Update equation (17) to: h(x i )=h v f(x i ) -1 / 2 (18) In formula (18), f(x i ) Take the estimated value of formula (14) as the leading estimate, h v is the optimal bandwidth obtained by cross-validation; Then the improved probability density distribution is:
3. The method for evaluating the regulation performance of wind power storage equipment using scenario construction according to claim 2 is characterized in that: Step S4 is specifically as follows: Take the maximum value of the SOC prediction of the battery energy storage power station SOC pmax and minimum SOC pmin , set as the energy storage SOC control upper limit SOC Lh With the lower control limit SOC Ll At the same time, the upper limit of the state of charge SOC during normal operation of the battery energy storage power station is introduced high With lower boundary SOC low , which is determined by the performance of the energy storage itself; the battery energy storage power station SOC is set up with four nodes between 0 and 1 to satisfy the following formula: 0<SOC low <SOC Ll <SOC Lh <SOC high <1 (20) The output of the battery energy storage power station at a certain time is determined by comparing the real-time dispatch sequence with the wind power range and energy storage SOC determined by the day-ahead forecast. Among them, what needs to be compared is: the wind power P at time k W (k) and the upper and lower limits of the wind power forecast P Wph (k), P Wpl (k), energy storage SOC (k) and predicted energy storage upper and lower limit SOC Lh (k) SOC Ll (k): (1) When P W (k) <P Wpl (k) ①SOC(k) <SOC Ll , the energy storage power station does not operate; ②SOC Ll (k)≤SOC(k)≤SOC Lh (k), the output of the energy storage power station is: In formula (21), P is the rated power of the energy storage power station; ③SOC(k)>SOC Lh , the energy storage output is: (2) When P Wpl (k)≤P W (k)≤P Wph (k) ①SOC(k) <SOC Ll , the output of the energy storage power station is: ②SOC Ll (k)≤SOC(k)≤SOC Lh (k) The energy storage power station does not operate; ③SOC(k)>SOC Lh , the output of the energy storage power station is: (3) When P W (k)≥P Wph (k) ①SOC(k) <SOC Ll , the output of the energy storage power station is: ②SOC Ll (k)≤SOC(k)≤SOC Lh (k), the output of the energy storage power station is: ③SOC(k)>SOC Lh , the energy storage power station does not operate; By coordinating the day-ahead wind power and energy storage power station forecasts with the real-time dispatch sequence, the real-time output data of the energy storage power station can be obtained.
4. The method for evaluating the regulation performance of wind power storage equipment using scenario construction according to claim 3 is characterized in that: Step S5 specifically includes: The data obtained from the day-ahead and real-time models are used to calculate the charging and discharging efficiency, storage energy stability, response time, ramp rate, and reference signal tracking capability of the energy storage power station: (1) Energy storage prediction model charging and discharging efficiency performance indicators The energy Wh input into the system during charging by the energy storage prediction model c The electrical energy Wh output during discharge D Get the charge and discharge efficiency RTE: Energy storage charging and discharging efficiency is used to determine the ratio of energy output of the energy storage system to the energy input during the previous charging process; (2) Energy stability performance indicators of energy storage prediction model The energy storage energy W of the energy storage power station at a certain moment N and the energy storage system rated energy W s , we get the energy storage stability w; (3) Energy storage prediction model response time and ramp rate performance indicators When the energy storage power station starts to respond to the discharge command of the prediction model, the time T1 and power And record the time T2 and power of energy storage discharge command completion According to the energy storage system rated power P R The following relationship is obtained: Energy storage prediction discharge response time RT D for: RT D =T2-T1 (29) Discharge slope RR D for: Discharge ramp rate PP pet for: (4) Performance indicators of energy storage prediction model reference signal tracking capability By the command signal P signal The actual power absorbed or released P ess The mean square error E MSE , and the mean absolute deviation E MAD Evaluate the ability of the energy storage system to track a reference signal: Mean square error E MSE for: Mean absolute deviation E MAD for: By describing the energy changes of the energy storage power station and its ability to respond to reference signals, the regulation performance of the energy storage power station in the wind-storage joint scheduling prediction model is evaluated.
5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of a method for evaluating the regulation performance of a wind power storage device using scenario construction as described in any one of claims 1-4 are implemented.
6. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of a method for evaluating the regulation performance of a wind power storage device using scenario construction as described in any one of claims 1 to 4 are implemented.
