Method and device for calculating capacity demand of power spot flexibility resource
By acquiring power output data from clean energy units, calculating the correlation coefficient matrix and using the maximum likelihood estimation method, a probability distribution function for flexible resource capacity demand is constructed. This solves the problem of insufficient assessment of flexible resource capacity in existing technologies, achieves more accurate capacity demand calculation, reduces clean energy curtailment, and improves power system stability and resource allocation efficiency.
Patent Information
- Application Number
- CN202310108120.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-09
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-02-09
AI Technical Summary
In existing technologies, the capacity demand assessment methods for flexible resources ignore the output uncertainty of individual clean energy units, resulting in a large amount of clean energy curtailment, resource waste, and low efficiency in the allocation of flexible resources, which can seriously affect the safety and stability of the power system.
By acquiring the output data of clean energy units, calculating the correlation coefficient matrix, constructing the probability distribution function of flexible resource capacity demand using the maximum likelihood estimation method, and combining cluster analysis and Euclidean distance similarity comparison, the capacity demand for peak shaving, ramping, and demand-side response can be accurately calculated.
It accurately reflects the impact of the randomness and volatility of clean energy output on the capacity of flexible resources, reduces clean energy curtailment, and improves resource allocation efficiency and power system stability.
Smart Images

Figure CN116187689B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of electricity market technology, specifically relating to a method and apparatus for calculating the capacity demand of electricity spot market flexibility resources. Background Technology
[0002] With the increasing penetration rate of clean energy in the power system, clean energy has become the main power source in the electricity spot market. The new electricity spot market with a high proportion of clean energy is composed of the green certificate market, the clean energy time-of-use capacity market, and the flexible resource spot market. Due to the inherent intermittency and volatility of clean energy generation, the new flexible resource electricity spot market requires the cooperation of resources with flexible regulation capabilities, such as thermal power, gas-fired power, and energy storage, to achieve supply and demand balance. Each electricity market adopts a clearing principle that prioritizes the consumption of clean energy. The uncertainty of clean energy output places higher and more stringent requirements on the regulation services of flexible resources. The new power system urgently needs more flexible regulation capabilities. Flexible resources on the generation side include peak shaving and ramping, while flexible resources on the user side are provided through demand-side response and other methods.
[0003] In related technologies, the capacity demand for flexible resource regulation services in the electricity spot market is simply calculated based on the overall market trend. For example, peak-shaving capacity demand is determined based on parameters such as historical data, load growth rate, and renewable energy growth rate, or a certain proportion of the maximum load is reserved as ramp-up and ramp-down capacity demand according to deterministic criteria to cope with uncertainties such as forecast deviations and unforeseen events. However, existing methods for assessing flexible resource capacity demand ignore the output uncertainty of individual clean energy units, making it increasingly difficult to meet the requirements of power systems with a high proportion of clean energy grid connection. Insufficient flexible resource capacity reservation can lead to significant clean energy curtailment, resulting in resource waste, reduced efficiency in flexible resource allocation, and in severe cases, compromised power system safety and stability, leading to system failures. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to overcome the shortcomings of the prior art and provide a method and apparatus for calculating the capacity demand of electricity spot flexibility resources, so as to solve the problem that insufficient reservation of flexibility resource capacity in the prior art will lead to a large amount of clean energy curtailment, resulting in resource waste and reduced efficiency of flexibility resource allocation.
[0005] To achieve the above objectives, the present invention adopts the following technical solution: a method for calculating the capacity demand of electricity spot market flexibility resources, comprising:
[0006] The system acquires power output data and parameters for all types of clean energy units, selects corresponding reference units for calculation based on the type of clean energy, and calculates the correlation coefficient matrix between other units of the same type and the reference units. The types of clean energy include photovoltaic, wind power, and hydropower. The power output data includes predicted power output data and actual power output data.
[0007] For a reference calculation unit of a certain type of clean energy, the similarity between the actual output data of the day before the planning date and the historical output data is compared to select the historical similar days of the reference calculation unit;
[0008] Cluster analysis was performed on the unit output data for each time period on the day before the planning date and the output data for similar historical days to obtain data for multiple time periods;
[0009] Based on the aforementioned multi-time period data, the maximum likelihood estimation method is used to calculate the output deviation / ramp event probability distribution function of the clean energy unit;
[0010] Based on the output deviation / climbing event probability distribution function, the maximum likelihood estimation method is used to construct the flexibility resource capacity demand probability distribution function.
[0011] Using the aforementioned probability distribution function of flexible resource capacity demand, the flexible resource capacity demand for multiple time periods is calculated;
[0012] Based on the flexibility resource capacity requirements of the various time periods and the correlation coefficient matrix, the flexibility resource capacity requirements of all clean energy units of this type are statistically analyzed.
[0013] The flexibility resource capacity requirements of all types of clean energy units are calculated iteratively, and the total flexibility resource capacity requirements of the power system are obtained by summing them.
[0014] Furthermore, the calculation of the correlation coefficient matrix between other units of the same type and the measured unit includes:
[0015] Calculate the output deviation e of all clean energy units t :
[0016]
[0017] in, To reference the actual output of unit z, The predicted output of reference unit z;
[0018] Then refer to the z-correlation coefficient matrix ρ of the measuring unit j The calculation formula is as follows:
[0019]
[0020] Furthermore, using Euclidean distance with load factor as the calculation index, the following method is employed: comparing the actual output data of the day before the planning date with historical output data for similarity.
[0021]
[0022] Where x is the unit output, P cap The installed capacity is set to D, and the threshold is set to d. i,j Data days with values less than the threshold D are considered historically similar days, thus yielding similar historical period data.
[0023] Furthermore, based on the aforementioned multi-time period data, the maximum likelihood estimation method is used to calculate the output deviation / ramp event probability distribution function of the clean energy unit, including:
[0024] The following method was used to calculate and statistically obtain the positive deviation e of the output of clean energy unit z for each time period t on the day before the planning date and in similar historical periods. p,t :
[0025]
[0026] negative output deviation e of clean energy unit z d,t The calculation formula is as follows, using the absolute value of the statistical data:
[0027]
[0028] Similarly, the uphill and downhill ramp events of clean energy unit z The calculation formulas are as follows:
[0029]
[0030]
[0031] Furthermore, the step of constructing a probability distribution function for flexibility resource capacity demand using the maximum likelihood estimation method based on the output deviation / climbing event probability distribution function includes:
[0032] In a power system with a high proportion of clean energy, the probability distribution function of clean energy power prediction error / ramp event probability distribution function is the same as the probability density function of flexible resource capacity demand. Therefore, the probability density function of clean energy flexible resource capacity demand for time period h is... And the probability density function f of clean energy output deviation or ramp-up event h (e) Relationship:
[0033]
[0034] Specifically, the probability density function of peak-shaving capacity demand for flexible electricity spot resources is calculated from the probability density function of positive deviation of clean energy output; the probability density function of demand-side response capacity demand for flexible electricity spot resources is calculated from the probability density function of negative deviation of clean energy output; the probability density function of down-climbing capacity demand for flexible electricity spot resources is calculated from the probability density function of up-climbing events of clean energy; and the probability density function of up-climbing capacity demand for flexible electricity spot resources is calculated from the probability density function of down-climbing events of clean energy.
[0035] Furthermore, based on the flexibility resource capacity requirements of the various time periods and the correlation coefficient matrix, the flexibility resource capacity requirements of all clean energy units of this type are statistically calculated using the following method:
[0036]
[0037] Among them, R max To reference the maximum flexibility resource capacity requirements of unit z in various time periods, N is the total number of units of this clean energy type, ρ j This is the correlation coefficient matrix.
[0038] Furthermore, the flexibility resource capacity requirements of all types of clean energy units are iteratively calculated, and the total flexibility resource capacity requirements of the power system are obtained by summing them up in the following way:
[0039]
[0040]
[0041] Among them, R system,d To meet the total capacity requirements of the planned day's d system for flexibility, R total,z To meet the flexibility and resource capacity requirements of all types of clean energy units, R system This is for monthly flexibility resource capacity requirements.
[0042] Furthermore, a preset confidence level is set, and the flexibility resource capacity requirement under the preset confidence level is calculated.
[0043] The peak-shaving capacity demand, demand-side response capacity demand, and ramp-up and ramp-down capacity demand were calculated using probability distribution function statistical calculations.
[0044] Using the probability of flexible resource capacity demand meeting the actual output deviation or ramp-up event of clean energy as an indicator for energy curtailment assessment, the probability that flexible resource capacity demand will not exceed a given limit is:
[0045] v R(y)≤ξ p(y)dy
[0046] If there is a confidence level α, then the flexibility resource capacity requirement to satisfy a certain confidence level can be expressed as:
[0047] R α =max{ζ∈R:∫ R(y)≤ξ p(y)dy≤α}
[0048] Therefore, the h-type time period can effectively reduce the flexibility resource capacity demand R of clean energy curtailment. h It can be calculated using the following formula:
[0049]
[0050] In the formula, μ h and These represent the expected value and variance of the probability density function for flexibility resource capacity demand, respectively.
[0051] This application provides a device for calculating the capacity demand of electricity spot market flexibility resources, including:
[0052] The acquisition module is used to acquire the unit output data and unit parameters of all types of clean energy, select the corresponding reference calculation unit according to the type of clean energy, and calculate the correlation coefficient matrix between other units of the same type and the calculation unit; the types of clean energy include photovoltaic, wind power and hydropower; the unit output data includes predicted output data and actual output data;
[0053] The filtering module is used to filter historical similar days for a reference calculation unit of a certain type of clean energy by comparing the actual output data of the day before the planning date with the historical output data.
[0054] The clustering module is used to perform cluster analysis on the unit output data for each time period within the day before the planning date and the output data for similar historical days to obtain multi-time period data;
[0055] The first calculation module is used to calculate the output deviation / ramp event probability distribution function of the clean energy unit based on the multi-time period data using the maximum likelihood estimation method;
[0056] The module is used to construct the probability distribution function of flexibility resource capacity demand based on the output deviation / climbing event probability distribution function using the maximum likelihood estimation method;
[0057] The second calculation module is used to calculate the flexible resource capacity demand for multiple time periods using the probability distribution function of the flexible resource capacity demand.
[0058] The statistics module is used to calculate the flexibility resource capacity requirements of all clean energy units of this type based on the flexibility resource capacity requirements of the multiple time periods and the correlation coefficient matrix.
[0059] The summation module is used to iteratively calculate the flexibility resource capacity requirements of all types of clean energy units and sum them to obtain the total flexibility resource capacity requirements of the power system.
[0060] The beneficial effects that can be achieved by adopting the above technical solution in this invention include:
[0061] This invention provides a method and apparatus for calculating the demand for flexible resources in the spot electricity market. It can calculate the higher demand for system flexibility resources due to output deviations or ramp-up events caused by the uncertainty of clean energy unit output during short-term large fluctuations in clean energy. It can also calculate and estimate the total demand for flexibility resources over a certain period of time for all types of clean energy units. Attached Figure Description
[0062] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0063] Figure 1 This is a schematic diagram illustrating the steps of the method for calculating the flexibility resource capacity demand for electricity spot trading according to the present invention.
[0064] Figure 2 This is a flowchart illustrating the method for calculating the capacity requirements of electricity spot market flexibility resources according to the present invention.
[0065] Figure 3 This is a schematic diagram of the structure of the power spot market flexibility resource capacity demand calculation device of the present invention. Detailed Implementation
[0066] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be described in detail below. Obviously, the described embodiments are merely some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other implementation methods obtained by those skilled in the art without creative effort are within the scope of protection of this invention.
[0067] In recent years, the proportion of wind and solar power curtailment has increased due to insufficient reserved capacity for flexible resources. In the future, the proportion of clean energy generation in the power system will further increase. The large-scale grid connection of clean energy will pose a more severe challenge to the regulation capacity of flexible resources in the spot market. Therefore, a new spot market with a high proportion of clean energy will require more accurate calculations of flexible resource capacity demand, including peak-shaving capacity demand, ramp-up capacity demand, and demand-side response capacity demand, to guide the optimal allocation of clean energy and flexible resources.
[0068] The following describes, with reference to the accompanying drawings, a specific method and apparatus for calculating the capacity demand of electricity spot market flexibility resources provided in the embodiments of this application.
[0069] like Figure 1 As shown, the method for calculating the capacity demand for electricity spot market flexibility provided in this application embodiment includes:
[0070] S101, acquire the unit output data and unit parameters of all types of clean energy, select the corresponding reference calculation unit according to the type of clean energy, and calculate the correlation coefficient matrix between other units of the same type and the calculation unit; the types of clean energy include photovoltaic, wind power and hydropower; the unit output data includes predicted output data and actual output data;
[0071] It is understood that the types of clean energy provided in this application include various types, and this application does not limit them here. This application first obtains historical forecasts and actual output data of all types of clean energy units, as well as parameters such as the installed capacity of clean energy units.
[0072] See Figure 2 Based on different clean energy types (photovoltaic, wind power, hydropower, etc.), a reference measuring unit z is selected, and the correlation coefficient matrix ρ of other units of the same type with respect to the reference unit is calculated. j .
[0073] First, calculate the output deviation e of all clean energy units. t :
[0074]
[0075] In the formula, To reference the actual output of unit z, The predicted output of the reference unit z.
[0076] The reference measurement unit z-correlation coefficient matrix ρ j The calculation formula is as follows:
[0077]
[0078] S102, for a reference calculation unit of a certain type of clean energy, the historical similar days of the reference calculation unit are selected by comparing the actual output data of the day before the planning date with the historical output data;
[0079] The following calculations are performed on all types of clean energy units (photovoltaic, wind power, hydropower, etc.), and the specific process is as follows:
[0080] Similar historical data were selected. For a reference unit z of a certain type of clean energy, the similarity was compared between the actual output data of the day before the planned date i and the actual output data of the historical period j. The Euclidean distance was used as the calculation index with the load rate to determine the degree of similarity.
[0081]
[0082] In the formula, x represents the unit output, and P... cap The installed capacity is set to D, and the threshold is set to d. i,j Data days with values less than the threshold D are considered historically similar days, thus yielding similar historical period data.
[0083] Furthermore, the K-means method was used to cluster the data from the day before the planning date and historical similar periods into four time periods.
[0084] S103, cluster analysis is performed on the unit output data for each time period within the day before the planning date and the output data for similar historical days to obtain multi-time period data;
[0085] This application uses K-means clustering to analyze the power output data of unit z for each time period within one day before the planning date, and clusters them into 4 time periods using K-means.
[0086] S104, Based on the aforementioned multi-time period data, the maximum likelihood estimation method is used to calculate the output deviation / ramp event probability distribution function of the clean energy unit;
[0087] If the time periods corresponding to similar historical periods are also assigned to the corresponding categories, then the positive deviation e of the output of clean energy unit z can be calculated and statistically obtained for each time period t of the day before the planning date and similar historical periods. p,t :
[0088]
[0089] negative output deviation e of clean energy unit z d,t The calculation formula is as follows, using the absolute value of the statistical data:
[0090]
[0091] Similarly, the uphill and downhill ramp events of clean energy unit z The calculation formulas are as follows:
[0092]
[0093]
[0094] Clustering data statistical calculations yield the clean energy power prediction error distribution function or ramp-up event distribution function. For the h-class time period, there are N time points within the time range. If the historical data duration is M days, there are M*N output deviation data points. Using the maximum likelihood estimation method, the probability distribution function f of the clean energy unit output deviation or ramp-up event can be obtained. T (e), and the expected value and variance of the parameters of the normal distribution model:
[0095]
[0096] Where, μ h and σ h 2 These are the expected value and variance of the probability distribution function for output deviation or climbing events, respectively.
[0097] S105, Based on the output deviation / climbing event probability distribution function, construct the flexibility resource capacity demand probability distribution function using the maximum likelihood estimation method;
[0098] S106, using the aforementioned probability distribution function of flexible resource capacity demand, calculate the flexible resource capacity demand for multiple time periods;
[0099] In a power system with a high proportion of clean energy, the probability distribution function of clean energy power prediction error / ramp event probability distribution function is the same as the probability density function of flexible resource capacity demand. Therefore, the probability density function of clean energy flexible resource capacity demand for time period h is... And the probability density function f of clean energy output deviation or ramp-up event h (e) Relationship:
[0100]
[0101] Specifically, the probability density function of peak-shaving capacity demand for flexible electricity spot resources is calculated from the probability density function of positive deviation of clean energy output; the probability density function of demand-side response capacity demand for flexible electricity spot resources is calculated from the probability density function of negative deviation of clean energy output; the probability density function of down-climbing capacity demand for flexible electricity spot resources is calculated from the probability density function of up-climbing events of clean energy; and the probability density function of up-climbing capacity demand for flexible electricity spot resources is calculated from the probability density function of down-climbing events of clean energy.
[0102] In some embodiments, this application pre-calculates the flexible resource capacity demand at a confidence level α. The corresponding probability distribution function statistical calculations can respectively calculate the peak-shaving capacity demand, demand-side response capacity demand, and ramp-up and ramp-down capacity demand. Using the probability that the flexible resource capacity demand meets the actual output deviation of clean energy or the ramp-up event as an indicator for energy curtailment assessment, the probability that the flexible resource capacity demand does not exceed a given limit is:
[0103] ∫ R(y)≤ξ p(y)dy(10)
[0104] If there is a confidence level α, then the flexibility resource capacity requirement to satisfy a certain confidence level can be expressed as:
[0105] R α =max{ζ∈R:∫ R(y)≤ξ p(y)dy≤α}(11)
[0106] Therefore, the h-type time period can effectively reduce the flexibility resource capacity demand R of clean energy curtailment. h It can be calculated using the following formula:
[0107]
[0108] In the formula, μ h and σ h 2 These represent the expected value and variance of the probability density function for flexibility resource capacity demand, respectively.
[0109] S107, Based on the flexibility resource capacity requirements of the multiple time periods and the correlation coefficient matrix, calculate the flexibility resource capacity requirements of all clean energy units of this type.
[0110] Statistics on the flexibility resource capacity requirements of all units of this clean energy type:
[0111]
[0112] In the formula, R max To reference the maximum flexibility resource capacity requirements of unit z in various time periods, N is the total number of units of this clean energy type, ρ j This is the correlation coefficient matrix.
[0113] S108 iteratively calculates the flexibility resource capacity requirements of all types of clean energy units and sums them to obtain the total flexibility resource capacity requirements of the power system.
[0114] After iteratively calculating the flexibility resource capacity requirements of all types of clean energy units, the summation yields the total flexibility resource capacity requirement of the system on the planned date d.
[0115]
[0116] The monthly flexible resource capacity requirement is calculated on a rolling basis and accumulated.
[0117]
[0118] Where 30 represents the number of days in a month, and R... system,d To meet the total capacity requirements of the planned day's d system for flexibility, R total,z To meet the flexibility and resource capacity requirements of all types of clean energy units, R system This is for monthly flexibility resource capacity requirements.
[0119] The working principle of the electricity spot market flexibility resource capacity demand calculation method is as follows: It mainly calculates the output deviation or ramp-up event caused by the uncertainty of the output of clean energy units during short-term large fluctuations, which leads to higher demand for system flexibility resource capacity, including peak-shaving capacity demand, ramp-up capacity demand, and demand-side response capacity demand. It also calculates and estimates the total flexibility resource capacity demand for all types of clean energy units over a certain period of time.
[0120] The technical solution provided in this application assesses the overall market trend, such as based on parameters like the market clean energy growth rate and the actual flexible resource capacity demand in the same period of previous years, or by using overall output and load factor changes to predict flexible resource capacity demand. It introduces a curtailment assessment index to evaluate flexible resource capacity demand from the perspective of individual generating units, and then predicts the overall market demand. Based on the correlation between clean energy output deviation and flexible resource capacity demand, it uses Euclidean distance calculation to filter data from similar historical periods, employs K-means cluster analysis of clean energy output data, and constructs a probability density distribution function for flexible resource capacity demand. Under a certain confidence level, it calculates the system's flexible resource capacity demand, accurately reflecting the impact of the randomness, intermittency, and volatility of clean energy output on flexible resource capacity demand. The predicted capacity demand is more accurate, reducing clean energy curtailment and improving economic efficiency. Furthermore, this method calculates the correlation coefficient matrix between similar generating units, using one unit as a reference sample to calculate the required flexible resource capacity. The correlation coefficient matrix is then used to predict the total flexible resource capacity demand of all generating units, reducing the complexity of the calculation.
[0121] like Figure 3 As shown in the figure, this application provides a device for calculating the capacity demand of electricity spot market flexibility resources, including:
[0122] The acquisition module 201 is used to acquire the unit output data and unit parameters of all types of clean energy, select the corresponding reference calculation unit according to the type of clean energy, and calculate the correlation coefficient matrix between other units of the same type and the calculation unit; the types of clean energy include photovoltaic, wind power and hydropower; the unit output data includes predicted output data and actual output data;
[0123] The filtering module 202 is used to filter historical similar days of a reference calculation unit for a certain type of clean energy by comparing the actual output data of the day before the planning date with the historical output data.
[0124] Clustering module 203 is used to perform cluster analysis on the unit output data for each time period within the day before the planning date and the output data for similar historical days to obtain multi-time period data;
[0125] The first calculation module 204 is used to calculate the output deviation / ramp event probability distribution function of the clean energy unit based on the multi-time period data using the maximum likelihood estimation method;
[0126] Module 205 is used to construct a probability distribution function of flexibility resource capacity demand based on the output deviation / climbing event probability distribution function using the maximum likelihood estimation method;
[0127] The second calculation module 206 is used to calculate the flexible resource capacity demand for multiple time periods using the probability distribution function of the flexible resource capacity demand.
[0128] The statistics module 207 is used to calculate the flexibility resource capacity requirements of all clean energy units of this type based on the flexibility resource capacity requirements of the multiple time periods and the correlation coefficient matrix.
[0129] The summation module 208 is used to iteratively calculate the flexibility resource capacity requirements of all types of clean energy units and sum them to obtain the total flexibility resource capacity requirements of the power system.
[0130] The working principle of the power spot market flexibility resource capacity demand calculation device provided in this application embodiment is as follows: The acquisition module 201 acquires the unit output data and unit parameters of all types of clean energy, selects the corresponding reference calculation unit according to the type of clean energy, and calculates the correlation coefficient matrix between other units of the same type and the calculation unit; the types of clean energy include photovoltaic, wind power, and hydropower; the unit output data includes predicted output data and actual output data; the filtering module 202, for a certain type of clean energy reference calculation unit, compares the similarity between the actual output data of the day before the planning date and historical output data, and filters the historical similar days of the reference calculation unit; the clustering module 203 performs cluster analysis on the unit output data of each time period within the day before the planning date and the output data of historical similar days to obtain... The system uses multiple time-period data sets. A first calculation module 204 calculates the output deviation / climbing event probability distribution function of clean energy units using maximum likelihood estimation based on the multiple time-period data sets. A construction module 205 constructs a flexibility resource capacity demand probability distribution function using maximum likelihood estimation based on the output deviation / climbing event probability distribution function. A second calculation module 206 calculates the flexibility resource capacity demand for multiple time periods using the flexibility resource capacity demand probability distribution function. A statistics module 207 calculates the flexibility resource capacity demand for all clean energy units of this type based on the flexibility resource capacity demand for multiple time periods and the correlation coefficient matrix. A summation module 208 iteratively calculates the flexibility resource capacity demand for all types of clean energy units and sums them to obtain the total flexibility resource capacity demand of the power system.
[0131] In summary, this invention provides a method and apparatus for calculating the capacity demand of power spot flexibility resources. This application mainly calculates the higher demand for system flexibility resources capacity caused by output deviation or ramp-up events due to the uncertainty of clean energy unit output during short-term large fluctuations in clean energy. This includes peak-shaving capacity demand, ramp-up capacity demand, and demand-side response capacity demand. The invention also calculates the total capacity demand of flexibility resources for all types of clean energy units, and performs rolling calculations to estimate the total capacity demand of flexibility resources over a certain period.
[0132] It is understood that the method embodiments provided above correspond to the device embodiments described above, and the specific details can be referred to each other, which will not be repeated here.
[0133] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0134] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0135] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction methods implemented in a process. Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0136] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0137] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for calculating the capacity demand of electricity spot market flexibility resources, characterized in that, include: The system acquires power output data and parameters for all types of clean energy units, selects corresponding reference units for calculation based on the type of clean energy, and calculates the correlation coefficient matrix between other units of the same type and the reference units. The types of clean energy include photovoltaic, wind power, and hydropower. The power output data includes predicted power output data and actual power output data. For a reference calculation unit of a certain type of clean energy, the historical similar days of the reference calculation unit are selected by comparing the actual output data of the day before the planning date with the historical output data. Cluster analysis was performed on the unit output data for each time period on the day before the planning date and the output data for similar historical days to obtain data for multiple time periods; Based on the aforementioned multi-time period data, the maximum likelihood estimation method is used to calculate the output deviation / ramp event probability distribution function of the clean energy unit; Based on the output deviation / climbing event probability distribution function, the maximum likelihood estimation method is used to construct the flexibility resource capacity demand probability distribution function. Using the aforementioned probability distribution function of flexible resource capacity demand, the flexible resource capacity demand for multiple time periods is calculated; Based on the flexibility resource capacity requirements of the various time periods and the correlation coefficient matrix, the flexibility resource capacity requirements of all clean energy units of this type are statistically analyzed. Iteratively calculate the flexibility resource capacity requirements of all types of clean energy units and sum them to obtain the total flexibility resource capacity requirements of the power system. The step of calculating the output deviation / ramp event probability distribution function of clean energy units based on the aforementioned multi-time period data using the maximum likelihood estimation method includes: The following method was used to calculate and statistically obtain the positive deviation of the output of clean energy unit z for each time period t on the day before the planning date and for similar historical periods. : negative output deviation of clean energy unit z The calculation formula is as follows, using the absolute value of the statistical data: Similarly, the uphill and downhill ramp events of clean energy unit z The calculation formulas are as follows: ; The step of constructing a probability distribution function for flexibility resource capacity demand using the maximum likelihood estimation method based on the output deviation / climbing event probability distribution function includes: In a power system with a high proportion of clean energy, the probability distribution function of clean energy power prediction error / ramp event probability distribution function is the same as the probability density function of flexible resource capacity demand. Therefore, the probability density function of clean energy flexible resource capacity demand for time period h is... and the probability density function of clean energy output deviation or ramp-up events Relationship: Specifically, the probability density function of peak-shaving capacity demand for flexible electricity spot resources is calculated from the probability density function of positive deviation of clean energy output; the probability density function of demand-side response capacity demand for flexible electricity spot resources is calculated from the probability density function of negative deviation of clean energy output; the probability density function of down-climbing capacity demand for flexible electricity spot resources is calculated from the probability density function of up-climbing events of clean energy; and the probability density function of up-climbing capacity demand for flexible electricity spot resources is calculated from the probability density function of down-climbing events of clean energy. Based on the flexibility resource capacity requirements of the aforementioned multiple time periods and the aforementioned correlation coefficient matrix, the flexibility resource capacity requirements of all clean energy units of this type are statistically calculated using the following method. in, To reference the maximum flexibility resource capacity requirements of unit z in various time periods, N is the total number of units of this clean energy type. This is the correlation coefficient matrix.
2. The method according to claim 1, characterized in that, The calculation of the correlation coefficient matrix between other units of the same type and the measured unit includes: Calculate the output deviation of all clean energy units : in, For reference units z Actual output For reference units z The predicted output; Then refer to the calculation unit z Correlation coefficient matrix The calculation formula is as follows: 。 3. The method according to claim 1, characterized in that, Using Euclidean distance and load factor as the calculation index, the following method is employed: comparing the actual output data of the day before the planning date with historical output data. in, To contribute to the unit, The installed capacity is set to D; the threshold is set to D. Data days with values less than the threshold D are considered historically similar days, thus yielding similar historical period data.
4. The method according to claim 1, characterized in that, The flexibility resource capacity requirements of all types of clean energy units are calculated iteratively, and the total flexibility resource capacity requirements of the power system are obtained by summing them up using the following method. ; in, For the planned date d System flexibility and total resource capacity requirements To meet the flexibility and resource capacity requirements of all types of clean energy units, This is for monthly flexibility resource capacity requirements.
5. The method according to claim 1, characterized in that, Preset the confidence level for the calculation, and calculate the flexibility resource capacity requirements under the confidence level. The peak-shaving capacity demand, demand-side response capacity demand, and ramp-up and ramp-down capacity demand were calculated using probability distribution function statistical calculations. Using the probability of flexible resource capacity demand meeting the actual output deviation or ramp-up event of clean energy as an indicator for energy curtailment assessment, the probability that flexible resource capacity demand will not exceed a given limit is: If there is a confidence level α, then the flexibility resource capacity requirement to satisfy a certain confidence level can be expressed as: Therefore, the h-type time period can effectively reduce the flexibility and resource capacity requirements for clean energy curtailment. It can be calculated using the following formula: In the formula, and These represent the expected value and variance of the probability density function for flexibility resource capacity demand, respectively.
6. A device for calculating the capacity demand of electricity spot market flexibility resources, implemented based on the method of claim 1, characterized in that, include: The acquisition module is used to acquire the unit output data and unit parameters of all types of clean energy, select the corresponding reference calculation unit according to the type of clean energy, and calculate the correlation coefficient matrix between other units of the same type and the calculation unit; the types of clean energy include photovoltaic, wind power and hydropower; the unit output data includes predicted output data and actual output data; The filtering module is used to filter historical similar days for a reference calculation unit of a certain type of clean energy by comparing the actual output data of the day before the planning date with the historical output data. The clustering module is used to perform cluster analysis on the unit output data for each time period within the day before the planning date and the output data for similar historical days to obtain multi-time period data; The first calculation module is used to calculate the output deviation / ramp event probability distribution function of the clean energy unit based on the multi-time period data using the maximum likelihood estimation method; The module is used to construct the probability distribution function of flexibility resource capacity demand based on the output deviation / climbing event probability distribution function using the maximum likelihood estimation method; The second calculation module is used to calculate the flexible resource capacity demand for multiple time periods using the probability distribution function of the flexible resource capacity demand. The statistics module is used to calculate the flexibility resource capacity requirements of all clean energy units of this type based on the flexibility resource capacity requirements of the multiple time periods and the correlation coefficient matrix. The summation module is used to iteratively calculate the flexibility resource capacity requirements of all types of clean energy units and sum them to obtain the total flexibility resource capacity requirements of the power system.
Citation Information
Patent Citations
Regional power grid flexibility demand analysis method
CN112395751A
Peak shaving control method for emergent source-grid coordination in case of faulty sending-end power grid
US20220037884A1
