Scene generation method considering power distribution network source load correlation
Through the improved Latin hypercube sampling method and decomposition technology, distributed photovoltaic and load correlation scenario samples are generated, which solves the problem of low accuracy in correlation analysis of uncertainty factors in power grid planning, and achieves more comprehensive scenario coverage and more accuracy planning results.
Patent Information
- Application Number
- CN202410701465.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-27
AI Technical Summary
In existing power grid planning, the correlation analysis accuracy of uncertainty factors of distributed photovoltaics is low and the scenario coverage is not comprehensive.
An improved Latin hypercube sampling method is used, combined with Cholesky decomposition and Nataf transformation, to generate distributed photovoltaic and load correlation scene samples at various times throughout the day. The illumination probability density function is constructed through Beta distribution and the load demand probability density function is constructed through normal distribution. , improve the correlation between the sampling results and the true value.
It improves the accuracy of scenario modeling in distribution network planning, provides more comprehensive coverage of uncertainty scenarios, and ensures the accuracy of distribution network planning results.
Smart Images

Figure CN118713050A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power grid planning, and in particular to a scenario generation method considering the source-load correlation of a distribution network. Background Art
[0002] With the introduction of the dual-carbon strategy and the policy of distributed photovoltaic power generation on the roofs of the entire county (city, district), the structure of my country's energy system is gradually changing. Large-scale access to distributed photovoltaic power generation is the main development trend of the future distribution network, but the large-scale access to distributed photovoltaic power generation (DPV) has brought severe challenges to the planning and operation of the distribution network. On the one hand, the output of clean energy such as photovoltaic power generation is greatly affected by weather and environment, and the output power has obvious intermittent, random and volatile characteristics. The high penetration rate of distributed photovoltaic power generation will make the operation of the distribution network more complicated, and the distribution network planning will change from the original deterministic planning to uncertain planning. On the other hand, there is a certain correlation between photovoltaic power generation and load connected to the same geographical location. In fact, there is generally a positive correlation between load and light intensity, but in some scenarios, there is a negative correlation. For example, when the light intensity increases in summer, the air conditioning load will increase to a certain extent, which is a positive correlation; but when the light intensity increases in winter, the air conditioning load will decrease to a certain extent, which is a negative correlation. Its correlation will affect the uncertainty modeling of distributed photovoltaic output, thereby affecting the planning results of the distribution network. Therefore, in the planning of the distribution network, it is very necessary to fully consider the uncertain factors and the correlation between the uncertain factors.
[0003] There are two main modeling methods for dealing with the uncertainty of DPV: one is the probability model. The following probability models are commonly used in current research: the Beta distribution function is often used for light intensity, and then the photovoltaic output under different light intensities is obtained based on the relationship between light intensity and photovoltaic output; the probability model of load mostly uses the normal distribution function, and the parameters of the above probability models can be obtained through historical data. The second is the scenario model. Most of the scenario modeling of DPV combines multiple DPV outputs for modeling, that is, the multi-scenario analysis method. The multi-scenario analysis is used to combine the historical data of wind turbines, photovoltaic output and load in a year into a high-dimensional matrix according to the number of days and hours, and then construct a typical scenario through some scenario clustering methods. Both modeling methods have their own advantages and disadvantages. The probability model has higher accuracy but fails to reflect the temporal characteristics of DPV output. The multi-scenario analysis uses actual historical data to construct multi-dimensional scenarios to simplify the difficulty of solving the problem, but the typical scenario obtained by scenario reduction is difficult to guarantee that it covers all uncertain situations. Summary of the invention
[0004] The present invention provides a scenario generation method considering the source-load correlation of a distribution network, so as to solve the problems of low accuracy in correlation analysis of uncertain factors in existing power grids and incomplete scenario coverage.
[0005] The present invention provides a scenario generation method considering the source-load correlation of a distribution network, comprising:
[0006] Obtaining a preset distributed photovoltaic output probability model and load demand probability model;
[0007] Acquire an illumination probability distribution function based on the distributed photovoltaic output probability model, and acquire a load probability distribution function according to the load demand probability model;
[0008] Based on the illumination probability distribution function and the load probability distribution function, the distributed photovoltaic and load correlation scene samples for each period of the day are generated by an improved Latin hypercube sampling method.
[0009] According to a scenario generation method considering the source-load correlation of a distribution network provided by the present invention, the distributed photovoltaic output probability model establishment process includes:
[0010] Calculate the illumination probability density function according to the illumination intensity;
[0011] Calculating the relationship between the photovoltaic array output power and the light intensity based on the light probability density function;
[0012] A distributed photovoltaic output probability model is established according to the relationship between the photovoltaic array output power and the light intensity.
[0013] According to a scenario generation method considering the source-load correlation of a distribution network provided by the present invention, the load demand probability model establishment process includes:
[0014] The calculation process of the load demand probability model is as follows:
[0015]
[0016] Where P L is the random quantity of active load; μ P , σ P are the expected value and standard deviation of active load respectively; Q L is the random quantity of reactive load; is the power factor angle of the load.
[0017] According to a scene generation method considering the source-load correlation of a distribution network provided by the present invention, based on the illumination probability distribution function and the load probability distribution function, the distributed photovoltaic and load correlation scene samples of each period of the day are generated by an improved Latin hypercube sampling method, specifically including:
[0018] Obtain a first correlation coefficient matrix of random variables through historical data, perform Nataf transformation on the first correlation coefficient matrix to obtain a second correlation coefficient matrix, and perform Cholesky decomposition on the second correlation coefficient matrix;
[0019] Transforming the pre-acquired standard normal distribution matrix to obtain a standard normal distribution matrix of the second correlation coefficient matrix;
[0020] Performing equal probability transformation based on the standard normal distribution matrix to obtain a sorting matrix;
[0021] Performing Latin hypercube sampling on the illumination probability distribution function and the load probability distribution function of the random variable in a certain period of time to obtain an initial sampling matrix, sorting the initial sampling matrix according to the sorting matrix, and obtaining the final sampling matrix of illumination and load in the selected time period;
[0022] Calculate the distributed photovoltaic output and load demand at the current moment from the sampled values based on the final sampling matrix;
[0023] The distributed photovoltaic and load correlation scenarios are calculated in turn at each time period throughout the day.
[0024] According to a scenario generation method considering the source-load correlation of a distribution network provided by the present invention, the Latin hypercube sampling includes a sampling process and a sorting process;
[0025] The initial sampling matrix is obtained through the sampling process;
[0026] Based on the initial sampling matrix, Cholesky decomposition is combined with Latin hypercube sampling, and the elements in each row of the initial sampling matrix are reordered according to the size of the elements in each row to obtain a correlation sample matrix, thereby completing the sorting process.
[0027] According to a scenario generation method considering the source-load correlation of a distribution network provided by the present invention, Cholesky decomposition is combined with Latin hypercube sampling based on the initial sampling matrix, and each row of elements in the initial sampling matrix is reordered according to the size of each row of elements to obtain a correlation sample matrix, which specifically includes:
[0028] The sampled Spearman rank correlation coefficient matrix calculates the correlation between random variables;
[0029] Perform Cholesky decomposition on the Spearman rank correlation coefficient matrix to obtain a lower triangular matrix;
[0030] Randomly generate a standard normal distribution random number matrix, and obtain the sorting matrix through matrix transformation;
[0031] Rearrange the elements in each row of the initial sampling matrix according to the size of the elements in each row of the sorting matrix to obtain the correlation sample matrix.
[0032] The present invention also provides a scenario generation system considering the source-load correlation of a distribution network, the system comprising:
[0033] A model acquisition module, used to obtain a preset distributed photovoltaic output probability model and a load demand probability model;
[0034] A probability distribution function calculation module, used to obtain a light probability distribution function based on the distributed photovoltaic output probability model, and to obtain a load probability distribution function according to the load demand probability model;
[0035] The scene generation module is used to generate distributed photovoltaic and load correlation scene samples for each period of the day through an improved Latin hypercube sampling method based on the illumination probability distribution function and the load probability distribution function.
[0036] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a scenario generation method considering the source-load correlation of a distribution network as described in any one of the above-mentioned methods is implemented.
[0037] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a scenario generation method that considers the source-load correlation of a distribution network as described in any one of the above.
[0038] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for generating a scenario taking into account the source-load correlation of the distribution network as described in any one of the above methods.
[0039] The present invention provides a scene generation method that takes into account the source-load correlation of a distribution network. The method constructs a light probability density function by using Beta distribution and a load demand probability density function by using normal distribution. The method combines the Cholesky decomposition method when sorting with the Latin hypercube sampling technology, so that the correlation of the sampling results is close to the true value correlation. The method uses the Nataf transformation to transform sample data of any distribution into a space that basically conforms to the normal distribution. This is because the Latin hypercube sampling technology is more suitable for the situation where the random component obeys the normal distribution, which also ultimately achieves good sampling accuracy and provides a good scene set for distribution network planning. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1It is one of the flow diagrams of a scenario generation method considering the source-load correlation of a distribution network provided by the present invention;
[0042] Figure 2 This is a second flow chart of a scenario generation method considering the source-load correlation of a distribution network provided by the present invention;
[0043] Figure 3 This is a third flow chart of a scenario generation method considering the source-load correlation of a distribution network provided by the present invention;
[0044] Figure 4 It is a schematic diagram of an improved IEEE-33 node calculation example provided by the present invention;
[0045] Figure 5 It is a curve of the change of the average voltage of node 18 under different sampling provided by the present invention;
[0046] Figure 6 It is a module connection diagram of a scenario generation system considering the source-load correlation of a distribution network provided by the present invention;
[0047] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention.
[0048] Reference numerals:
[0049] 110: model acquisition module; 120: probability distribution function calculation module; 130: scene generation module;
[0050] 710: processor; 720: communication interface; 730: memory; 740: communication bus. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] Combine the following Figure 1-Figure 3 A scenario generation method considering the source-load correlation of a distribution network according to the present invention is described, comprising:
[0053] S100, obtaining a preset distributed photovoltaic output probability model and a load demand probability model;
[0054] In the present invention, a probability model of distributed photovoltaic (DPV) and load output is established, and according to the probability distribution function of distributed photovoltaic and load, Cholesky decomposition, Nataf transformation and Latin hypercube sampling (LHS) technology are combined, and the DPV and load correlation samples of each period of the day are generated by using the improved LHS technology. The example of the present invention is modified based on the IEEE-33 node system, and the original system line parameters remain unchanged. Distributed photovoltaics of 1.5MW, 1.5MW, 1.2MW, 1MW, 1MW, and 1MW are installed on nodes 13, 18, 22, 25, 29, and 33 respectively. The improved system topology is as follows: Figure 4 At the same time, the simple random sampling method (CS) is added for comparative verification.
[0055] In actual application, distributed photovoltaics bring many uncertainties to the distribution network, which brings new challenges to the operation and planning of the distribution network. None of the above uncertainty modeling methods take into account the correlation between uncertainty factors (light intensity and load), that is, uncertainty joint modeling. However, when multiple random variables are connected to the system, the randomness and correlation of their output will affect the operating status. Therefore, it is necessary to consider the correlation between multiple uncertainties and establish a more accurate scenario model.
[0056] The present invention establishes a probability model of distributed photovoltaic (DPV) and load output; combines Cholesky decomposition, Nataf transformation and Latin hypercube sampling (LHS) technology; and uses improved LHS technology based on the probability distribution function of distributed photovoltaic and load to generate DPV and load correlation samples for each period of the day.
[0057] S200, obtaining an illumination probability distribution function based on the distributed photovoltaic output probability model, and obtaining a load probability distribution function according to the load demand probability model;
[0058] The process of establishing the distributed photovoltaic output probability model includes:
[0059] S101, calculating the illumination probability density function according to the illumination intensity;
[0060] S102, calculating the relationship between the photovoltaic array output power and the light intensity based on the light probability density function;
[0061] S103: Establishing a distributed photovoltaic output probability model according to the relationship between the photovoltaic array output power and the light intensity.
[0062] Specifically, the output power of photovoltaic power generation is closely related to the light intensity. Random changes in light intensity will cause changes in the output power of the photovoltaic power generation system. The light intensity at different times of the day follows the Beta distribution, and its probability density function is as follows:
[0063]
[0064] Where S represents the light intensity; S max represents its maximum value; α and β are the two shape parameters of Beta distribution; Γ is the gamma function.
[0065] Photovoltaic array output power P PV The relationship with the light intensity S is as follows:
[0066]
[0067] Where P N is the rated value of photovoltaic output; S N is the rated light intensity.
[0068] The process of establishing the load demand probability model includes:
[0069] The calculation process of the load demand probability model is as follows:
[0070]
[0071] Where P L is the random quantity of active load; μ P , σ P are the expected value and standard deviation of active load respectively; Q L is the random quantity of reactive load; is the power factor angle of the load.
[0072] S300, based on the illumination probability distribution function and the load probability distribution function, generate distributed photovoltaic and load correlation scene samples for each period of the day through an improved Latin hypercube sampling method.
[0073] Specifically include:
[0074] S201, obtaining a first correlation coefficient matrix of random variables through historical data, performing Nataf transformation on the first correlation coefficient matrix to obtain a second correlation coefficient matrix, and performing Cholesky decomposition on the second correlation coefficient matrix;
[0075] S202, transforming the pre-acquired standard normal distribution matrix to obtain a standard normal distribution matrix of the second correlation coefficient matrix;
[0076] S203, performing equal probability transformation based on the standard normal distribution matrix to obtain a sorting matrix;
[0077] S204, performing Latin hypercube sampling on the illumination probability distribution function and the load probability distribution function of the random variable in a certain period of time to obtain an initial sampling matrix, and sorting the initial sampling matrix according to the sorting matrix to obtain a final sampling matrix of illumination and load in the selected time period;
[0078] S205, calculating the distributed photovoltaic output and load demand at the current moment from the sampling values based on the final sampling matrix;
[0079] S206. Calculate the distributed photovoltaic and load correlation scenarios in each period of the day in sequence.
[0080] In the present invention, Latin Hypercube Sampling (LHS) belongs to the stratified sampling method. Compared with simple random sampling, its sampling values can cover the entire sampling area. The sampling process is divided into two parts: sampling process and sorting process. The sampling part can be efficient and cover the entire area of the input random variable; the sorting part can make the correlation of the output sampling value close to the correlation between the input random variables by changing the arrangement order of the sampling values, thereby improving the sampling accuracy.
[0081] Sampling process, given the input M random variables X1, X2, …, X M , whose random variable X k The probability distribution function of is:
[0082] Y k =G k (X k )
[0083] Assume that the sampling size is N, for each random variable X k The probability space of is divided into N equal parts, and we get
[0084] In each subinterval, randomly select a value as Y k Sample value;
[0085] For a random variable X k Perform an inverse transform on the probability distribution function to obtain the sampling value of Xk, arrange the sampling values of each random variable in a row, and obtain an M×N sampling matrix A.
[0086] In the sorting process, the sample values of random variables in matrix A obtained by LHS sampling are monotonically increasing. Therefore, the random variables in matrix A have strong correlation, which may not be consistent with the correlation of actual random variables. There is a certain correlation between light intensity and load demand samples, but it is not necessarily a strong correlation. For example, when the light intensity increases in summer, the air-conditioning load will increase to a certain extent, which is a positive correlation; but when the light intensity increases in winter, the air-conditioning load will decrease to a certain extent, which is a negative correlation.
[0087] Therefore, the present invention combines the Cholesky decomposition method with the LHS technique to sample samples with certain correlation, and the steps are as follows:
[0088] The Spearman rank correlation coefficient matrix ρ is used to calculate the correlation between random variables:
[0089]
[0090] Perform Cholesky decomposition on ρ to obtain the lower triangular matrix L, ρ = LL T ;
[0091] Randomly generate an M×N standard normal distribution random number matrix W, and obtain the sorting matrix G=L through matrix transformation -1 W;
[0092] Rearrange the elements in each row of the matrix A obtained by LHS sampling according to the size of the elements in each row of G to obtain the correlation sample matrix S.
[0093] Nataf transformation, since the two random variables of photovoltaic output and load demand do not conform to the normal distribution, and the Latin hypercube sampling method is more suitable for the situation where random variables obey the normal distribution, it is necessary to use the Nataf inverse transformation to transform the sample data of arbitrary distribution into the space of normal distribution.
[0094] It is known that the marginal probability density functions of M random variables are f1(x1),f2(x2),...,f M (x M ), whose cumulative distribution function is F1(x1),F2(x2),...,F M (x M ). Through the equal probability transformation as shown in formula (13), we introduce the random variables Z1, Z2, ..., Z that obey the standard normal distribution. M
[0095]
[0096] Then the Nataf transformation is applied to transform the off-diagonal elements in the correlation coefficient matrix ρ into the off-diagonal elements of the correlation coefficient matrix of two related standard normal distributions,
[0097]
[0098] Where, d i and σ i are the mean and standard deviation of the i-th random variable respectively; ρ 0ij is the component of the correlation matrix ρ0 of the standard normal random variable Z; φ2(z i ,z j ,ρ0ij ) is the correlation coefficient ρ 0ij The two-dimensional standard normal distribution probability density function is obtained through the Nataf transformation, which is close to the historical sample coefficient matrix ρ.
[0099] According to the probability distribution function of light and load throughout the day, combined with LHS technology, Cholesky decomposition method, and Nataf transformation, the steps to generate correlation samples for the entire day are as follows:
[0100] The first correlation coefficient matrix ρ of random variables is obtained from historical data, and the second correlation coefficient matrix ρ0 is obtained by Nataf transformation, and Cholesky decomposition ρ0=L0L0 T ;
[0101] Perform Z=L0W matrix transformation on the standard normal distribution W matrix to obtain the standard normal distribution matrix Z with correlation coefficient matrix L0;
[0102] Perform equal probability transformation on Z to obtain the sorting matrix X;
[0103] Perform LHS sampling on the probability distribution function of the random variable in a certain period to obtain the initial sampling matrix A, sort A according to the sorting matrix X, and obtain the final sampling matrix S of the light and load in this period;
[0104] The distributed photovoltaic output and load demand at that moment are calculated based on the sampling values;
[0105] According to the above steps, the DPV (distributed photovoltaic) and load correlation scenario samples for each period of the day are calculated in sequence.
[0106] The correlation coefficient between light intensity and load at the same access location is calculated from historical data:
[0107]
[0108] For comparison, the average value of the power flow calculation results of 20,000 simple random sampling (CS) runs is taken as the true value, and it is compared and analyzed with the average value of the power flow calculation results of 500 LHS sampling and 500 CS sampling. The power flow calculation data for comparative analysis is the voltage of node 18. Figure 5 It can be seen that the LHS sampling method used in this method is closer to the true value, indicating that the sampling method has higher accuracy and makes the distribution network planning results more accurate.
[0109] The scene generation method that considers the source-load correlation of the distribution network provided by the present invention constructs the illumination probability density function by using Beta distribution and constructs the load demand probability density function by using normal distribution; the Cholesky decomposition method is combined when sorting by Latin hypercube sampling technology, so that the correlation of the sampling results is close to the true value correlation; the method uses Nataf transformation to transform the sample data of any distribution into a space that basically conforms to the normal distribution, because the Latin hypercube sampling technology is more suitable for the situation where the random component obeys the normal distribution, which also makes it possible to finally achieve good sampling accuracy, and provide a good scene set for distribution network planning.
[0110] refer to Figure 6 The present invention also discloses a scenario generation system considering the source-load correlation of the distribution network, the system comprising:
[0111] The model acquisition module 110 is used to acquire a preset distributed photovoltaic output probability model and a load demand probability model;
[0112] A probability distribution function calculation module 120, configured to obtain a light probability distribution function based on the distributed photovoltaic output probability model, and to obtain a load probability distribution function according to the load demand probability model;
[0113] The scene generation module 130 is used to generate distributed photovoltaic and load correlation scene samples for each period of the day through an improved Latin hypercube sampling method based on the illumination probability distribution function and the load probability distribution function.
[0114] Among them, in the model acquisition module, the distributed photovoltaic output probability model establishment process includes:
[0115] Calculate the illumination probability density function according to the illumination intensity;
[0116] Calculating the relationship between the photovoltaic array output power and the light intensity based on the light probability density function;
[0117] A distributed photovoltaic output probability model is established according to the relationship between the photovoltaic array output power and the light intensity.
[0118] The process of establishing the load demand probability model includes:
[0119] The calculation process of the load demand probability model is as follows:
[0120]
[0121] Where P L is the random quantity of active load; μ P , σ P are the expected value and standard deviation of active load respectively; Q Lis the random quantity of reactive load; is the power factor angle of the load.
[0122] A scenario generation module, which obtains a first correlation coefficient matrix of random variables through historical data, performs a Nataf transformation on the first correlation coefficient matrix to obtain a second correlation coefficient matrix, and performs a Cholesky decomposition on the second correlation coefficient matrix;
[0123] Transforming the pre-acquired standard normal distribution matrix to obtain a standard normal distribution matrix of the second correlation coefficient matrix;
[0124] Performing equal probability transformation based on the standard normal distribution matrix to obtain a sorting matrix;
[0125] Performing Latin hypercube sampling on the illumination probability distribution function and the load probability distribution function of the random variable in a certain period of time to obtain an initial sampling matrix, sorting the initial sampling matrix according to the sorting matrix, and obtaining the final sampling matrix of illumination and load in the selected time period;
[0126] Calculate the distributed photovoltaic output and load demand at the current moment from the sampled values based on the final sampling matrix;
[0127] The distributed photovoltaic and load correlation scenarios are calculated in turn at each time period throughout the day.
[0128] Latin hypercube sampling includes sampling process and sorting process;
[0129] The initial sampling matrix is obtained through the sampling process;
[0130] Based on the initial sampling matrix, Cholesky decomposition is combined with Latin hypercube sampling, and the elements in each row of the initial sampling matrix are reordered according to the size of the elements in each row to obtain a correlation sample matrix, thereby completing the sorting process.
[0131] Specifically, the sampling Spearman rank correlation coefficient matrix calculates the correlation between random variables;
[0132] Perform Cholesky decomposition on the Spearman rank correlation coefficient matrix to obtain a lower triangular matrix;
[0133] Randomly generate a standard normal distribution random number matrix, and obtain the sorting matrix through matrix transformation;
[0134] Rearrange the elements in each row of the initial sampling matrix according to the size of the elements in each row of the sorting matrix to obtain the correlation sample matrix.
[0135] The scene generation system that considers the source-load correlation of the distribution network provided by the present invention constructs the illumination probability density function by using the Beta distribution and constructs the load demand probability density function by using the normal distribution; the Cholesky decomposition method is combined when the Latin hypercube sampling technology is used for sorting, so that the correlation of the sampling results is close to the true value correlation; the method uses the Nataf transformation to transform the sample data of any distribution into a space that basically conforms to the normal distribution. This is because the Latin hypercube sampling technology is more suitable for the situation where the random component obeys the normal distribution, which also makes it possible to finally achieve good sampling accuracy, and provide a good scene set for distribution network planning.
[0136] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7 As shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute a scenario generation method considering the source-load correlation of the distribution network, the method comprising: obtaining a preset distributed photovoltaic output probability model and a load demand probability model;
[0137] Acquire an illumination probability distribution function based on the distributed photovoltaic output probability model, and acquire a load probability distribution function according to the load demand probability model;
[0138] Based on the illumination probability distribution function and the load probability distribution function, the distributed photovoltaic and load correlation scene samples for each period of the day are generated by an improved Latin hypercube sampling method.
[0139] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0140] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute a scenario generation method considering the source-load correlation of the distribution network provided by the above methods, the method comprising: obtaining a preset distributed photovoltaic output probability model and a load demand probability model;
[0141] Acquire an illumination probability distribution function based on the distributed photovoltaic output probability model, and acquire a load probability distribution function according to the load demand probability model;
[0142] Based on the illumination probability distribution function and the load probability distribution function, the distributed photovoltaic and load correlation scene samples for each period of the day are generated by an improved Latin hypercube sampling method.
[0143] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute a scenario generation method considering the source-load correlation of a distribution network provided by the above methods, the method comprising: obtaining a preset distributed photovoltaic output probability model and a load demand probability model;
[0144] Acquire an illumination probability distribution function based on the distributed photovoltaic output probability model, and acquire a load probability distribution function according to the load demand probability model;
[0145] Based on the illumination probability distribution function and the load probability distribution function, the distributed photovoltaic and load correlation scene samples for each period of the day are generated by an improved Latin hypercube sampling method.
[0146] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0147] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0148] 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 make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A scenario generation method considering the source-load correlation of a distribution network, characterized in that: include: Obtaining a preset distributed photovoltaic output probability model and load demand probability model; Acquire an illumination probability distribution function based on the distributed photovoltaic output probability model, and acquire a load probability distribution function according to the load demand probability model; Based on the illumination probability distribution function and the load probability distribution function, the distributed photovoltaic and load correlation scene samples for each period of the day are generated by an improved Latin hypercube sampling method.
2. The scenario generation method considering the source-load correlation of the distribution network according to claim 1 is characterized in that: The distributed photovoltaic output probability model establishment process includes: Calculate the illumination probability density function according to the illumination intensity; Calculating the relationship between the photovoltaic array output power and the light intensity based on the light probability density function; A distributed photovoltaic output probability model is established according to the relationship between the photovoltaic array output power and the light intensity.
3. The scenario generation method considering the source-load correlation of the distribution network according to claim 1 is characterized in that: The load demand probability model establishment process includes: The calculation process of the load demand probability model is as follows: Where P L is the random quantity of active load; μ P , σ P are the expected value and standard deviation of active load respectively; Q L is the random quantity of reactive load; is the power factor angle of the load.
4. The scenario generation method considering the source-load correlation of the distribution network according to claim 1 is characterized in that: Based on the illumination probability distribution function and the load probability distribution function, the distributed photovoltaic and load correlation scene samples of each period of the day are generated by an improved Latin hypercube sampling method, specifically including: Obtain a first correlation coefficient matrix of random variables through historical data, perform Nataf transformation on the first correlation coefficient matrix to obtain a second correlation coefficient matrix, and perform Cholesky decomposition on the second correlation coefficient matrix; Transforming the pre-acquired standard normal distribution matrix to obtain a standard normal distribution matrix of the second correlation coefficient matrix; Performing equal probability transformation based on the standard normal distribution matrix to obtain a sorting matrix; Performing Latin hypercube sampling on the illumination probability distribution function and the load probability distribution function of the random variable in a certain period of time to obtain an initial sampling matrix, sorting the initial sampling matrix according to the sorting matrix, and obtaining the final sampling matrix of illumination and load in the selected time period; Calculate the distributed photovoltaic output and load demand at the current moment from the sampled values based on the final sampling matrix; The distributed photovoltaic and load correlation scenarios are calculated in turn at each time period throughout the day.
5. The scenario generation method considering the source-load correlation of the distribution network according to claim 4 is characterized in that: The Latin hypercube sampling includes a sampling process and a sorting process; The initial sampling matrix is obtained through the sampling process; Based on the initial sampling matrix, Cholesky decomposition is combined with Latin hypercube sampling, and the elements in each row of the initial sampling matrix are reordered according to the size of the elements in each row to obtain a correlation sample matrix, thereby completing the sorting process.
6. The scenario generation method considering the source-load correlation of the distribution network according to claim 4 is characterized in that: Based on the initial sampling matrix, Cholesky decomposition is combined with Latin hypercube sampling, and each row of elements in the initial sampling matrix is reordered according to the size of each row of elements to obtain a correlation sample matrix, which specifically includes: The sampled Spearman rank correlation coefficient matrix calculates the correlation between random variables; Perform Cholesky decomposition on the Spearman rank correlation coefficient matrix to obtain a lower triangular matrix; Randomly generate a standard normal distribution random number matrix, and obtain the sorting matrix through matrix transformation; Rearrange the elements in each row of the initial sampling matrix according to the size of the elements in each row of the sorting matrix to obtain the correlation sample matrix.
7. A scenario generation system considering the source-load correlation of a distribution network, characterized in that: The system comprises: A model acquisition module, used to obtain a preset distributed photovoltaic output probability model and a load demand probability model; A probability distribution function calculation module, used to obtain a light probability distribution function based on the distributed photovoltaic output probability model, and to obtain a load probability distribution function according to the load demand probability model; The scene generation module is used to generate distributed photovoltaic and load correlation scene samples for each period of the day through an improved Latin hypercube sampling method based on the illumination probability distribution function and the load probability distribution function.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the scenario generation method considering the source-load correlation of the distribution network as described in any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the scenario generation method considering the source-load correlation of the distribution network is implemented as described in any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the scenario generation method considering the source-load correlation of the distribution network is implemented as described in any one of claims 1 to 6.
Citation Information
Cited By
Photovoltaic energy storage scheduling method and system considering source load uncertainty
CN119298177A
Distributed resource time sequence scene generation method
CN119357698A
A distributed resource timing scenario generation method
CN119357698B
Power market deduction multi-scene generation method and related device
CN119671612A
Power distribution network typical scene construction method and system considering source-load correlation
CN120162991A
