A method for generating shared energy storage operation scenarios and determining demand for power grids in a substation area
The Taiwan power grid source load uncertainty scenario is generated through Box Muller transformation and Latin hypercube sampling. Combined with the K-means clustering algorithm, a shared energy storage capacity demand model is established to solve the low efficiency of Taiwan power grid operation scenario generation and energy storage needs. Unclear problems have been solved and more efficient energy storage configuration and new energy consumption have been achieved.
Patent Information
- Application Number
- CN202410875958.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-07-02
AI Technical Summary
The generation efficiency of power grid operation scenarios in Taiwan is low, and the capacity and power requirements of shared energy storage in different scenarios are unclear, resulting in excess or insufficient energy storage capacity, affecting grid stability and new energy consumption rates.
The Box Muller transformation method combined with Latin hypercube sampling and K-means clustering algorithm is used to generate source load uncertainty scenarios in the Taiwan area, establish a shared energy storage capacity demand model, and optimize energy storage configuration to meet economic goals.
The efficiency and accuracy of scene generation are improved, and the determined energy storage needs are more economical and universal, helping Taiwan's power grid achieve source-load balance and new energy consumption.
Smart Images

Figure CN118432157B
Abstract
Description
Technical Field
[0001] The present invention provides a method for generating a shared energy storage operation scenario and determining a demand for a power grid in an area, and belongs to the technical field of shared energy storage demand planning for power grids in an area. Background Art
[0002] Under the promotion of the "dual carbon goals", the distributed power sources in the substation area, mainly wind power and photovoltaic power generation, have developed rapidly. Their output is characterized by randomness, volatility and intermittency. The difficulty and uncertainty of substation system planning and operation have increased significantly. It is urgent to reasonably regulate energy storage devices to reduce the redundancy of substation power grid operation and alleviate the impact of distributed power output characteristics on the safety, economy and reliability of user power supply of substation power grid operation. In recent years, in order to make up for the defects of high cost of independent energy storage configuration, long investment cost recovery period and low utilization rate, the shared energy storage model has been widely used to help substation power grids maintain source-load balance more efficiently and improve the ability to absorb new energy.
[0003] Different scenarios have different power and capacity requirements for shared energy storage. It is necessary to rationally plan the shared energy storage requirements under different complex operation scenarios in the substation to avoid insufficient or redundant capacity, so as to meet the power balance and stability of the substation, reduce the configuration cost of the substation, and maximize the role of shared energy storage in promoting the consumption of new energy. The uncertainty of a large number of distributed sources and loads in the substation leads to a variety of substation power grid operation scenarios. Traditional scenario generation methods may lead to problems such as low computing efficiency or omission of typical scenarios, and cannot meet the generation needs of complex scenarios of substation power grid operation. Therefore, it is urgent to carry out research on relevant algorithms.
[0004] The essence of scene generation is the effective generation of Gaussian random numbers. When the Latin hypercube sampling method commonly used at present generates typical scenes, the cumulative distribution function is usually fitted first, and then the random numbers that obey the uniform distribution are converted into Gaussian random numbers. The cumulative distribution function fitting process often adopts methods such as cubic spline interpolation. In practical applications, the fitting accuracy is proportional to the calculation difficulty, and the calculation efficiency needs to be improved. In the process of solving the cumulative distribution function, the Box Muller transformation method is introduced to reduce the dimension of the probability density distribution function. Compared with the cumulative distribution function fitting method, it has higher calculation efficiency and accuracy, and under the condition of inputting uniformly distributed random numbers in the same numerical range, the numerical range of the Gaussian random numbers generated is larger, which is more suitable for the characterization of complex operation scenes in the substation area, reducing the correlation between the scenes, and helping to improve the efficiency and typicality of typical scene generation. Therefore, in view of the above problems, the present invention is based on the fluctuation characteristics of distributed wind power and photovoltaic power and the fluctuation law and change trend of substation load, studies the generation of shared energy storage operation scenes and capacity and power requirements of substation power grid source and load uncertainty, and rationally plans and dispatches shared energy storage in the substation area. Summary of the invention
[0005] In order to solve the problems of low efficiency in depicting operation scenarios of power grids in substations, unclear capacity and power requirements of shared energy storage in substations under different scenarios, resulting in excess or insufficient energy storage capacity, low operation stability of power grids in substations and low new energy consumption rate, the present invention proposes a method for generating operation scenarios of shared energy storage in substations and determining demand.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: a method for generating a shared energy storage operation scenario and determining demand for a power grid in an area, comprising the following steps:
[0007] Step 1: Establish a load forecast error model and solve the cumulative distribution function of the load forecast error; at the same time, considering the tail characteristics of the variable kurtosis range in the actual wind and solar forecast error, establish a wind and solar forecast error model with a Laplace operator, and solve the cumulative distribution function of the wind and solar forecast error by the Box Muller transform method;
[0008] Step 2: Use Latin hypercube sampling method to obtain the sampling values of wind and solar prediction error and load prediction error, and record the sampling results in the matrix A middle;
[0009] Step 3: Reorder the sampling results to enhance the universality of the samples and avoid regular scenarios;
[0010] Step 4: Use the K-means clustering algorithm to merge similar demand scenarios to obtain typical scenarios of source-load uncertainty;
[0011] Step 5: Based on the typical scenarios of source-load uncertainty, and with the goal of optimizing the economic efficiency of the grid operation in the substation area, a shared energy storage capacity demand model is established;
[0012] Step 6: Solve the shared energy storage capacity demand model to obtain the shared energy storage configuration result.
[0013] The wind-solar forecast error in step one is the wind-solar output forecast error characteristic of the substation power grid throughout the year, and the load forecast error is the load forecast error characteristic of the substation power grid throughout the year. The wind-solar output forecast error characteristic of the substation power grid throughout the year is represented by the wind-solar forecast error probability density distribution function, and the load forecast error characteristic of the substation power grid throughout the year is represented by the load forecast error probability density distribution function. The Laplace-Gaussian mixed distribution is used to characterize the wind-solar output forecast error probability density distribution function, and the Gaussian distribution is used to characterize the load forecast error probability density distribution function.
[0014] The expression of the probability density distribution function of the wind and solar power output prediction error using Laplace-Gaussian mixture distribution is as follows:
[0015] ;
[0016] ;
[0017] In the above formula: r ( ) is the probability density distribution function of the wind and solar power output prediction error, is the wind and solar power output prediction error value, For the scenery collection, is the expected value of the wind and solar power output prediction error, s is the standard deviation of the wind and solar power output prediction error, a , b is the probability density distribution function coefficient of the wind and solar power output prediction error, k v The peak value of wind and solar power output;
[0018] The expression of the probability density distribution function of load forecast error using Gaussian distribution is as follows:
[0019] ;
[0020] In the above formula: r ( ) is the probability density distribution function of load forecast error, is the load forecast error value, is the standard deviation of power system load forecast error, is the expected value of load forecast error.
[0021] In step 1, the dimensionality reduction processing method in Box Muller transformation is used to decompose the two-dimensional variables in the probability density distribution function of wind power forecast error into two one-dimensional variables that obey the normal distribution, so as to realize the mapping from uniform distribution to normal distribution in the cumulative distribution function, so that Latin hypercube sampling can be directly applied to the cumulative distribution function of the forecast error.
[0022] In step 2, the Latin hypercube sampling method is used to sample the cumulative distribution function of the wind and solar forecast error and the load forecast error, and the obtained multiple groups of sample values are recorded in the matrix A In the matrix A The cumulative distribution function is divided into N A random selection from a sub-interval M The matrix composed of the sample values at each moment is:
[0023] ,matrix A Each row vector of represents a scene.
[0024] In step 3, the sampling values at a single moment are randomly arranged to enhance the universality of the sample, that is, the sampling results are randomly arranged in a single column vector with column vector as the unit. The matrix after random arrangement isA In the figure, each row represents an operation scenario of shared energy storage in the power grid of the substation. Step 4 is carried out on this basis, and the scenario obtained after clustering is more representative.
[0025] The objective function of the shared energy storage capacity demand model includes the power sales revenue of the power grid in the substation area, the investment and operation and maintenance costs of shared energy storage, the assessment and penalty of shared energy storage for smoothing wind and solar fluctuations, and the penalty of wind and solar abandonment of the power grid in the substation area. The expression of the objective function is as follows:
[0026] ;
[0027] In the above formula: C is the objective function, N is the total number of scenes, that is, the number of typical scenes obtained by clustering in step 4, p d for d The probability of the scene occurring, for d The revenue from electricity sales of the power grid in the substation area under the scenario is: for d Shared energy storage investment and operation and maintenance costs in different scenarios, for d In the scenario, shared energy storage can smooth the fluctuation of wind and solar power. for d The penalty cost for wind and solar power abandonment in the local power grid under the scenario.
[0028] The revenue from electricity sales of the power grid in the substation area is calculated based on the amount of electricity connected to the grid in the substation area. The expression is as follows:
[0029] ;
[0030] In the above formula: T for d The number of time nodes in the scenario, for d In the scenario t The wind power grid price at the moment, for d In the scenario t The photovoltaic grid-connected electricity price at the moment, for d In the scenario t Share the energy storage purchase and sale prices at all times, for d In the scenario t Wind power output at any given moment, for d In the scenario t Photovoltaic output at all times, , They are d In the scenario t The total charging and discharging power of the shared energy storage at the moment, △t is the interval between each time node;
[0031] The investment and operation and maintenance costs of shared energy storage include the investment cost of shared energy storage, operation and maintenance costs, and the cost of charging and discharging energy loss. The specific expressions are as follows:
[0032] ;
[0033] In the above formula: for d The investment cost of shared energy storage in the scenario, c p To convert the shared energy storage unit power cost to daily, c E To convert to the shared energy storage unit capacity cost per day, for d Rated power of shared energy storage in the scenario, E d for d Rated capacity of shared energy storage in the scenario, for d The operation and maintenance costs of shared energy storage in this scenario, is the shared energy storage operation and maintenance coefficient, for d Energy loss cost of shared energy storage charging and discharging in the scenario, or c , or d To improve the charging and discharging efficiency of shared energy storage;
[0034] The expression for the assessment and penalty of shared energy storage to smooth out wind and solar fluctuations is as follows:
[0035] ;
[0036] In the above formula: for d In the scenario t The wind power output after shared energy storage compensation at the moment, They are d In the scenario t The shared energy storage at all times compensates for the charging and discharging power of wind power output. for d In the scenario t The photovoltaic output after the shared energy storage compensation at the moment, They are d In the scenario t The shared energy storage at all times compensates for the charging and discharging power of photovoltaic output. for d In the scenario t Constantly smooth out the fluctuation of test power, ford In the scenario t The load power demand at the moment, c w To stabilize the unit electricity price of the assessed electricity;
[0037] The expression of the penalty for wind and solar power abandonment in the power grid is as follows:
[0038] ;
[0039] In the above formula: Penalize unit electricity prices for wind power curtailment, Penalize the unit electricity price for photovoltaic power abandonment. for d In the scenario t The wind power curtailment at the time, for d In the scenario t The photovoltaic power abandonment at the moment.
[0040] The constraints of the shared energy storage capacity demand model include shared energy storage charging and discharging power constraints, shared energy storage charge state constraints and distributed power supply output constraints.
[0041] The expression of the shared energy storage charging and discharging power constraint is as follows:
[0042] ;
[0043] In the above formula: c is the multiplication factor of shared energy storage, which is determined by the type of shared energy storage;
[0044] The expression of the distributed generation output constraint is as follows:
[0045] ;
[0046] In the above formula: are the maximum output values of wind power and photovoltaic power respectively;
[0047] The expression of the shared energy storage charge state constraint is as follows:
[0048] ;
[0049] In the above formula: They are d In the scenario t Moment and t+ The shared energy storage SOC value at time 1, is the lower limit of shared energy storage SOC, is the upper limit of shared energy storage SOC, for d Initial state of shared energy storage in the scenario, for d The final state of shared energy storage in this scenario.
[0050] The beneficial effects of the present invention compared with the prior art are as follows:
[0051] 1. The source-load uncertainty scenario generation method proposed in the present invention fully considers various probability events existing in historical data, and the planning results are universal. Since the commonly used Gaussian distribution is not accurate enough in describing the wind and solar prediction errors, the introduction of the Laplace operator can improve the accuracy of describing the prediction errors. The two-dimensional part of the probability density distribution function of the wind and solar output prediction error is reduced in dimension by the Box Muller transformation method, which reduces the difficulty of solving the cumulative distribution function, effectively reduces the sample space approximation error, and improves the sampling efficiency.
[0052] 2. The method for determining the shared energy storage demand of the power grid in the substation area proposed in the present invention comprehensively considers various application scenarios of shared energy storage in the power grid in the substation area, including shared energy storage electricity trading, smoothing wind and solar fluctuations, and promoting wind and solar consumption. The shared energy storage capacity demand determined by this method has higher economic efficiency, which is conducive to the development of the safety and economy of the power grid in the substation area. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The present invention will be further described below in conjunction with the accompanying drawings:
[0054] Figure 1 is a flow chart of the method of the present invention;
[0055] Figure 2 It is the probability density distribution diagram of wind and solar power output prediction error;
[0056] Figure 3 Schematic diagram of Latin hypercube sampling method;
[0057] Figure 4 Schematic diagram of Box Muller transformation;
[0058] Figure 5 This is a comparison chart of Latin hypercube sampling accuracy. DETAILED DESCRIPTION
[0059] like Figure 1 to Figure 5 As shown, the present invention provides a method for generating shared energy storage operation scenarios and determining demand in a substation power grid, establishes wind power and photovoltaic output prediction error and load prediction error models in the substation power grid, generates substation power grid source-load uncertainty scenarios through a Latin hypercube sampling method based on BoxMuller transformation, and uses a K-means clustering algorithm to merge similar demand scenarios to avoid the phenomenon of "dimensionality disaster" caused by using too many scenarios for calculation, and then establishes a shared energy storage capacity demand model with the goal of optimizing the operation and configuration economy of the substation power grid.
[0060] The specific steps are as follows:
[0061] Step 1: Establish a load forecast error model and solve the cumulative distribution function of the load forecast error; at the same time, considering the tail characteristics of the variable kurtosis range in the actual wind and solar forecast error, the commonly used Gaussian distribution is not accurate enough in describing the wind and solar forecast error. The introduction of the Laplace operator can improve the accuracy of the prediction error. The Box Muller transformation method is used to reduce the dimensionality of the two-dimensional part of the probability density distribution function of the wind and solar output forecast error, which reduces the difficulty of solving the cumulative distribution function, effectively reduces the sample space approximation error, and improves the sampling efficiency. Therefore, a wind and solar forecast error model with the Laplace operator is established. Figure 2 As shown in the figure, the deviation between the Gaussian distribution and the actual prediction error is large. After the Laplace operator is introduced, the wind prediction error model has good tail characteristics, which can effectively reduce the wind prediction error and improve the accuracy of wind prediction error characterization.
[0062] The Laplace-Gaussian mixture distribution is used to describe the probability density distribution function of the wind and solar power output prediction error, and its expression is as follows:
[0063] ;
[0064] ;
[0065] In the above formula: r ( ) is the probability density distribution function of the wind and solar power output prediction error, is the wind and solar power output prediction error value, For the scenery collection, is the expected value of the wind and solar power output prediction error, s is the standard deviation of the wind and solar power output prediction error, a , b is the probability density distribution function coefficient of the wind and solar power output prediction error, k v It is the peak value of wind and solar power output.
[0066] The load forecast error is the annual load forecast error characteristic of the substation power grid. The annual load forecast error characteristic of the substation power grid is expressed by the load forecast error probability density distribution function. The Gaussian distribution is used to characterize the load forecast error probability density distribution function, and its expression is as follows:
[0067] ;
[0068] In the above formula: r ( ) is the probability density distribution function of load forecast error, is the load forecast error value, is the standard deviation of power system load forecast error, is the expected value of load forecast error.
[0069] The difficulty of the present invention is that the probability density distribution function of the wind and solar power output prediction error contains one-dimensional variables and two-dimensional variables, and the cumulative distribution function cannot be accurately and efficiently obtained through the probability density distribution function of the prediction error. The BoxMuller transformation reduces the dimension of the two-dimensional variable by establishing two one-dimensional uniform distribution methods, thereby simplifying the difficulty of solving the cumulative distribution function. The two-dimensional part of is decomposed into two one-dimensional normal distributions, realizing the mapping of uniform distribution to normal distribution in the cumulative distribution function.
[0070] The wind power output prediction error For example, the decomposition process is as follows:
[0071] Take the function part to be decomposed as:
[0072] ;
[0073] set up , through Box Muller transformation It is broken down into two parts:
[0074] ;
[0075] ;
[0076] in:
[0077] ;
[0078] ;
[0079] So we can get ;
[0080] In the above formula: x 1 , x 2 It follows a normal distribution. e 1 for r The distribution function of e 2 for i The distribution function of e 1 , e 2 Follows uniform distribution, r is the radial length of the wind power output prediction error in polar coordinates, iis the polar coordinate phase angle, or a , or b All are intermediate variables.
[0081] like Figure 4 As shown, these two one-dimensional normal distributions are independent of each other and are generated and transformed into two components ( x 1 , x 2 ), the two-dimensional variables are transformed into vectors in the above way Vector Point ( m , m ) is the starting point and the radius is r 2 / 2 s 2 , the radius part can be expanded as , so the vector The actual physical meaning is to take a point ( m , m ) is the center of the circle, and the angle component is 2 π Normal distribution sampling in the range.
[0082] The one-dimensional variable obtained above is inverted to obtain the cumulative distribution function of the prediction error. Taking the probability density distribution function of wind power prediction error as an example, As the radial length or coordinate phase angle of the known wind power output prediction error, the cumulative distribution function is F X ,but .definition , where: x is the cumulative distribution function F X The value of the independent variable, u for x The corresponding cumulative probability is , there are the following cumulative distribution formulas:
[0083] .
[0084] random variable X and Same distribution, use uniform distribution to generate specified distribution .
[0085] Step 2: Use the Latin hypercube sampling method to evenly divide the interval within the value range of each component and perform sampling within the even interval. Divide the probability distribution function interval of the annual wind and solar output forecast error and load forecast error into N interval, get common N sub-layers; randomly select sampling points in each layer, and obtain N sampling values, and record the sampling results in the matrix A middle.
[0086] matrix , P ij For the j The moment i The sampling value, i Row vector For the scene i In the next scheduling cycle M The sampling value at the moment, j Column vector For the moment j Next N A scene.
[0087] Step 3: Reorder the sampling results to enhance the universality of the sample. A In , the sampling values at each moment correspond to the uniformly distributed sequential sampling in the cumulative distribution function, that is, the prediction error probability represented by the sampling values at each moment is similar, and the result does not conform to the actual situation. Therefore, it is necessary to shuffle the sampling values at a single moment to enhance the universality of the sample, that is, to randomly arrange the sampling results in a single column vector with the column vector at each moment as the unit. The matrix after shuffling is A In the figure, each row represents an operation scenario of shared energy storage in the substation grid. Step 4 is performed on this basis, and the scenario obtained after clustering is more representative.
[0088] Step 4: Use the K-means clustering algorithm to merge similar demand scenarios.
[0089] First, randomly select K Cluster centers, and then calculate each data to this K The distance between the cluster centers is calculated, and the data is divided into the clusters with the closest initial centers. The average value of the data in each cluster is calculated, and the calculated average value is used as the new cluster center. This process is repeated until the cluster center does not change or the preset maximum number of iterations is reached. Finally, K clusters, each containing a group of similar data points. The distance formula between sample data and cluster center is calculated using the Euclidean distance calculation formula. D The first row, i.e. the forecast error data of each time node on the first day, is used as an example for demonstration calculation. The specific formula is as follows:
[0090] ;
[0091] ;
[0092] In the above formula: is the distance from the data point to the center of the random sample, D ns is a set of data points, n is the number of sample days, K ks For randomly generated k Cluster centers, s Represents time node T .
[0093] According to the minimum distance principle n The sample data of the day is divided into corresponding clusters, and the expression is as follows:
[0094] ;
[0095] In the above formula, S n,k Indicates data to k The distance between cluster centers, matrix S n Record the minimum distance from the data to each cluster center, and use this to re-divide the data into k According to the minimum distance principle, n After the sample data of the day is divided into the corresponding clusters, the new cluster centers of each cluster are recalculated according to the average method. The cluster center update formula is as follows:
[0096] ;
[0097] In the above formula: K k1 (z) Representative z After the iteration k The value of the first dimension of the cluster center vector, y k Representative k The number of vectors in the clusters, D p1 Represents the value of the first dimension of the vectors in the cluster, and so on.
[0098] After obtaining typical scenarios of wind / solar output prediction error and load prediction error, the prediction error is superimposed on the prediction value to obtain the uncertainty scenario of wind / solar output and load change of the present invention.
[0099] Step 5: With the goal of optimizing the economic efficiency of the power grid operation, a shared energy storage capacity demand model is established. In the power grid of the power grid, the randomness of the output of new energy and the volatility of load changes lead to the need for a large amount of backup for the source-load balance of the power grid. Shared energy storage can better meet the needs of the power grid of the power grid and increase the commercial competitiveness of the power grid of the power grid in multiple markets and multiple applications. The objective function includes the power sales revenue of the power grid of the power grid, the investment and operation and maintenance costs of shared energy storage, the assessment and penalty of shared energy storage to smooth the fluctuation of wind and solar power, and the penalty of wind and solar power abandonment in the power grid of the power grid of the power grid.
[0100] The specific expression of the objective function is as follows:
[0101] ;
[0102] In the above formula: C is the objective function, N is the total number of scenes, that is, the number of typical scenes obtained by clustering in step 4, p d for d The probability of the scene occurring, for d The revenue from electricity sales of the power grid in the substation area under the scenario is: for d Shared energy storage investment and operation and maintenance costs in different scenarios, for d In the scenario, shared energy storage can smooth the fluctuation of wind and solar power. for d The penalty cost for wind and solar power abandonment in the local power grid under the scenario.
[0103] 1) Revenue from electricity sales in the power grid: The revenue from electricity sales is calculated based on the amount of electricity that is connected to the grid in the power grid. The expression is as follows:
[0104]
[0105] In the above formula: T for d The number of time nodes in the scenario, for d In the scenario t The wind power grid price at the moment, for d In the scenario t The photovoltaic grid-connected electricity price at the moment, for d In the scenario t Share the energy storage purchase and sale prices at all times, for d In the scenario t Wind power output at any given moment, for d In the scenario t Photovoltaic output at all times, , They are d In the scenario t The total charging and discharging power of the shared energy storage at the moment, △ t is the interval between each time node.
[0106] 2) Shared energy storage investment and operation and maintenance costs include shared energy storage investment costs, operation and maintenance costs, and charging and discharging energy loss costs. The specific expressions are as follows:
[0107] ;
[0108] In the above formula: for d The investment cost of shared energy storage in the scenario, c p To convert the shared energy storage unit power cost to daily, c E To convert to the shared energy storage unit capacity cost per day, for d Rated power of shared energy storage in the scenario, E d for d Rated capacity of shared energy storage in the scenario, for d The operation and maintenance costs of shared energy storage in this scenario, is the shared energy storage operation and maintenance coefficient, for d Energy loss cost of shared energy storage charging and discharging in the scenario, or c , or d To improve the charging and discharging efficiency of shared energy storage.
[0109] 3) The expression for the assessment and penalty of shared energy storage to smooth out wind and solar fluctuations is as follows:
[0110] ;
[0111] In the above formula: for d In the scenario t The wind power output after shared energy storage compensation at the moment, They are d In the scenario t The shared energy storage at all times compensates for the charging and discharging power of wind power output. for d In the scenario t The photovoltaic output after the shared energy storage compensation at the moment, They are d In the scenario t The shared energy storage at all times compensates for the charging and discharging power of photovoltaic output. ford In the scenario t Constantly smooth out the fluctuation of test power, for d In the scenario t The load power demand at the moment, c w To stabilize the unit electricity price of the assessed electricity volume.
[0112] 4) The expression of the penalty for wind and solar power abandonment in the power grid is as follows:
[0113] ;
[0114] In the above formula: Penalize unit electricity prices for wind power curtailment, Penalize the unit electricity price for photovoltaic power abandonment. for d In the scenario t The wind power curtailment at the time, for d In the scenario t The photovoltaic power abandonment at the moment.
[0115] The constraints of this model mainly include shared energy storage charging and discharging power constraints, shared energy storage charge state constraints and distributed power generation output constraints. Its expression is as follows:
[0116] ;
[0117] ;
[0118] ;
[0119] In the above formula: c is the multiplication factor of shared energy storage, which is determined by the type of shared energy storage. are the maximum output values of wind power and photovoltaic power, They are d In the scenario t Moment and t+ The shared energy storage SOC value at time 1, is the lower limit of shared energy storage SOC, is the upper limit of shared energy storage SOC, for d Initial state of shared energy storage in the scenario, for d The final state of shared energy storage in this scenario.
[0120] Step 6: Use Matlab software and call the cplex solver on the YALMIP platform to solve the above model and obtain the shared energy storage configuration result.
[0121] The present invention is to intuitively characterize the typical characteristics of the source-load imbalance of the substation power grid throughout the year, combined with the distribution of the prediction errors of wind and solar power and load, and adopts the Laplace-Gaussian mixture distribution to improve the characterization accuracy of the wind and solar power prediction errors. The Latin hypercube sampling method based on the BoxMuller transform generates a typical operation scenario of the substation power grid shared energy storage that takes into account the uncertainty of wind and solar power output and load, while maintaining the calculation accuracy and improving the calculation speed. Construct a shared energy storage capacity demand model, consider the profitability, penalties, configuration costs and other aspects of the substation power grid, and study the actual contribution of the substation power grid configuration shared energy storage in smoothing the fluctuation of wind and solar power output, wind and solar power prediction errors, improving the profitability of the substation power grid, and strengthening the balance and stability of system supply and demand.
[0122] 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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for generating a shared energy storage operation scenario and determining demand for a power grid in an area, characterized by: The following steps are involved: Step 1: Establish a load forecast error model and solve the cumulative distribution function of the load forecast error; at the same time, considering the tail characteristics of the variable kurtosis range in the actual wind-solar forecast error, establish a wind-solar forecast error model with a Laplace operator, where the wind-solar forecast error is the wind-solar output forecast error characteristics of the substation power grid throughout the year. The wind-solar output forecast error characteristics of the substation power grid throughout the year are represented by the wind-solar forecast error probability density distribution function, and the Laplace-Gaussian mixed distribution is used to characterize the wind-solar output forecast error probability density distribution function; The expression of the probability density distribution function of the wind and solar power output prediction error using Laplace-Gaussian mixture distribution is as follows: ; ; In the above formula: ρ ( ) is the probability density distribution function of the wind and solar power output prediction error, is the wind and solar power output prediction error value, For the scenery collection, is the expected value of the wind and solar power output prediction error, σ is the standard deviation of the wind and solar power output prediction error, a , b is the probability density distribution function coefficient of the wind and solar power output prediction error, k v The peak value of wind and solar power output; Through the dimensionality reduction processing method in Box Muller transformation, the two-dimensional variables in the probability density distribution function of wind and solar forecast errors are decomposed into two one-dimensional variables that obey the normal distribution, and the mapping from uniform distribution to normal distribution in the cumulative distribution function is realized, so that Latin hypercube sampling can be directly applied to the cumulative distribution function of the forecast error. The one-dimensional variables obtained above are inverted to obtain the cumulative distribution function of the forecast error. Step 2: Use Latin hypercube sampling method to obtain the sampling values of wind and solar prediction error and load prediction error, and record the sampling results in the matrix A middle; Step 3: Reorder the sampling results to enhance the universality of the samples and avoid regular scenarios; Step 4: Use the K-means clustering algorithm to merge similar demand scenarios to obtain typical scenarios of source-load uncertainty; Step 5: Based on the typical scenarios of source-load uncertainty, and with the goal of optimizing the economic efficiency of the grid operation in the substation area, a shared energy storage capacity demand model is established; Step 6: Solve the shared energy storage capacity demand model to obtain the shared energy storage configuration result.
2. A method for generating and determining demand for shared energy storage operation scenarios in a power grid in an area according to claim 1, characterized in that: The load forecast error in step one is the load forecast error characteristic of the substation power grid throughout the year, wherein the load forecast error characteristic of the substation power grid throughout the year is represented by the load forecast error probability density distribution function, and the load forecast error probability density distribution function is characterized by Gaussian distribution.
3. A method for generating and determining a shared energy storage operation scenario for a power grid in an area according to claim 2, characterized in that: The expression of the probability density distribution function of load forecast error using Gaussian distribution is as follows: ; In the above formula: ρ ( ) is the probability density distribution function of load forecast error, is the load forecast error value, is the standard deviation of power system load forecast error, is the expected value of load forecast error.
4. A method for generating and determining a shared energy storage operation scenario for a power grid in an area according to claim 3, characterized in that: In step 2, the Latin hypercube sampling method is used to sample the cumulative distribution function of the wind and solar forecast error and the load forecast error, and the obtained multiple groups of sample values are recorded in the matrix A In the matrix A The cumulative distribution function is divided into N A random selection from a sub-interval M The matrix composed of the sample values at each moment is: ,matrix A Each row vector of represents a scene.
5. A method for generating a shared energy storage operation scenario and determining demand for a power grid in an area according to claim 4, characterized in that: In step 3, the sampling values at a single moment are randomly arranged to enhance the universality of the sample, that is, the sampling results are randomly arranged in a single column vector with column vector as the unit. The matrix after random arrangement is A In the figure, each row represents an operation scenario of shared energy storage in the power grid of the substation. Step 4 is carried out on this basis, and the scenario obtained after clustering is more representative.
6. A method for generating and determining demand for shared energy storage operation scenarios in a power grid in an area according to claim 1, characterized in that: The objective function of the shared energy storage capacity demand model includes the power sales revenue of the power grid in the substation area, the investment and operation and maintenance costs of shared energy storage, the assessment and penalty of shared energy storage for smoothing wind and solar fluctuations, and the penalty of wind and solar abandonment of the power grid in the substation area. The expression of the objective function is as follows: ; In the above formula: C is the objective function, N is the total number of scenes, that is, the number of typical scenes obtained by clustering in step 4, p d for d The probability of the scene occurring, for d The revenue from electricity sales of the power grid in the substation area under the scenario is: for d Shared energy storage investment and operation and maintenance costs in different scenarios, for d In the scenario, shared energy storage can smooth the fluctuation of wind and solar power. for d The penalty cost for wind and solar power abandonment in the local power grid under the scenario.
7. A method for generating a shared energy storage operation scenario and determining demand for a power grid in an area according to claim 6, characterized in that: The revenue from electricity sales of the power grid in the substation area is calculated based on the amount of electricity connected to the grid in the substation area. The expression is as follows: ; In the above formula: T for d The number of time nodes in the scenario, for d In the scenario t The wind power grid price at the moment, for d In the scenario t The photovoltaic grid-connected electricity price at the moment, for d In the scenario t Share the energy storage purchase and sale prices at all times, for d In the scenario t Wind power output at any given moment, for d In the scenario t The photovoltaic output at all times, , They are d In the scenario t The total charging and discharging power of the shared energy storage at the moment, △ t is the interval between each time node; The investment and operation and maintenance costs of shared energy storage include the investment cost of shared energy storage, operation and maintenance costs, and the cost of charging and discharging energy loss. The specific expressions are as follows: ; In the above formula: for d The investment cost of shared energy storage in the scenario, c p To convert the shared energy storage unit power cost to daily, c E To convert to the shared energy storage unit capacity cost per day, for d Rated power of shared energy storage in the scenario, E d for d Rated capacity of shared energy storage in the scenario, for d The operation and maintenance costs of shared energy storage in this scenario, is the shared energy storage operation and maintenance coefficient, for d Energy loss cost of shared energy storage charging and discharging in the scenario, η c , η d To improve the charging and discharging efficiency of shared energy storage; The expression for the assessment and penalty of shared energy storage to smooth out wind and solar fluctuations is as follows: ; In the above formula: for d In the scenario t The wind power output after shared energy storage compensation at the moment, They are d In the scenario t The shared energy storage at all times compensates for the charging and discharging power of wind power output. for d In the scenario t The photovoltaic output after shared energy storage compensation at the moment, They are d In the scenario t The shared energy storage at all times compensates for the charging and discharging power of photovoltaic output. for d In the scenario t Constantly smooth out the fluctuation of test power, for d In the scenario t The load power demand at the moment, c w To stabilize the unit electricity price of the assessed electricity; The expression of the penalty for wind and solar power abandonment in the power grid is as follows: ; In the above formula: Penalize unit electricity prices for wind power curtailment, Penalize the unit electricity price for photovoltaic power abandonment. for d In the scenario t The wind power curtailment at the time, for d In the scenario t The photovoltaic power abandonment at the moment.
8. A method for generating and determining a shared energy storage operation scenario for a power grid in an area according to claim 7, characterized in that: The constraints of the shared energy storage capacity demand model include shared energy storage charging and discharging power constraints, shared energy storage charge state constraints and distributed power supply output constraints.
9. A method for generating a shared energy storage operation scenario and determining demand for a power grid in an area according to claim 8, characterized in that: The expression of the shared energy storage charging and discharging power constraint is as follows: ; In the above formula: γ is the multiplication factor of shared energy storage, which is determined by the type of shared energy storage; The expression of the distributed generation output constraint is as follows: ; In the above formula: are the maximum output values of wind power and photovoltaic power respectively; The expression of the shared energy storage charge state constraint is as follows: ; In the above formula: They are d In the scenario t Moment and t+ The shared energy storage SOC value at time 1, is the lower limit of shared energy storage SOC, is the upper limit of shared energy storage SOC, for d Initial state of shared energy storage in the scenario, for d The final state of shared energy storage in this scenario.
