Distribution network flow calculation method, device, electronic equipment and storage medium
By performing probability density function calculation and conversion on the time series of distribution network operation information, combined with alternating iteration power flow calculation, the problem of inaccurate deterministic power flow calculation in the existing technology is solved, and the accuracy of distribution network power flow calculation is improved.
Patent Information
- Application Number
- CN202310565813.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-18
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-05-18
AI Technical Summary
The calculation results of existing distribution network power flow calculation methods are unique values, which cannot accurately represent the actual operating status, resulting in inaccuracy.
By obtaining the time series of distribution network operation information, calculating the probability density function, converting it into independent operation information in an independent standard normal space, calculating the position coefficients and weights, performing inverse transformation, obtaining distribution sampling points, and performing alternating iterative power flow calculations. , obtain the probability density function of the output variable at each preset time.
It improves the accuracy of distribution network power flow calculation, takes into account the variability and uncertainty of operating status, and takes into account timing and uncertainty.
Smart Images

Figure CN116613759B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power distribution networks, and in particular to a power distribution network flow calculation method, device, electronic equipment and storage medium. Background Art
[0002] With the development of distribution network technology, the research on the actual operation status of distribution networks has become more and more extensive.
[0003] At present, the distribution network is mainly calculated by deterministic power flow calculation, and the calculation results based on the deterministic power flow calculation represent the actual operation status of the distribution network.
[0004] However, the calculation result of the deterministic power flow calculation is a unique value, and it is not accurate to use the calculation result of the deterministic power flow calculation as the actual operating status of the distribution network. Summary of the invention
[0005] The present invention provides a distribution network power flow calculation method, device, electronic equipment and storage medium, which improve the accuracy of distribution network power flow calculation.
[0006] According to one aspect of the present invention, a method for calculating power flow in a distribution network is provided, comprising:
[0007] Acquire a time series of distribution network operation information, where the time series of distribution network operation information includes distribution network operation information corresponding to consecutive preset moments;
[0008] In the time series of the distribution network operation information, the distribution network operation information corresponding to the preset time is taken as the expected value, and the probability density function of the distribution network operation information corresponding to the preset time is calculated;
[0009] Calculate and transform the probability density function of the distribution network operation information corresponding to the preset time to obtain the independent operation information corresponding to the distribution network operation information in the independent standard normal space;
[0010] Calculating the skewness coefficient and the kurtosis coefficient of the independent running information to obtain the position coefficient and the weight of the independent running information, and determining the position coefficient as the estimated sampling point of the independent running information in the independent standard normal space;
[0011] Perform an inverse transformation on the estimated sampling points in the independent standard normal space to obtain the distribution sampling points corresponding to the estimated sampling points;
[0012] The weight of the independent operation information and the alternating iterative power flow calculation results of the output variables of the distribution sampling points corresponding to the estimated sampling points are calculated to obtain the probability density function of the output variables corresponding to each preset time.
[0013] According to another aspect of the present invention, there is provided a power distribution network flow calculation device, comprising:
[0014] A time series acquisition module is used to acquire a time series of distribution network operation information, where the distribution network operation information time series includes distribution network operation information corresponding to consecutive preset moments;
[0015] An operation information probability density function calculation module is used to calculate the probability density function of the distribution network operation information corresponding to the preset time in the time series of the distribution network operation information by taking the distribution network operation information corresponding to the preset time as the expected value;
[0016] An independent operation information determination module is used to calculate and convert the probability density function of the distribution network operation information corresponding to the preset time, and obtain the independent operation information corresponding to the distribution network operation information in the independent standard normal space;
[0017] An estimated sampling point determination module is used to calculate the skewness coefficient and the kurtosis coefficient of the independent operation information, obtain the position coefficient and the weight of the independent operation information, and determine the position coefficient as the estimated sampling point of the independent operation information in the independent standard normal space;
[0018] A distribution sampling point determination module is used to perform an inverse transformation on the estimated sampling points in the independent standard normal space to obtain distribution sampling points corresponding to the estimated sampling points;
[0019] The output variable probability density function determination module is used to calculate the weight of the independent operation information and the alternating iterative power flow calculation results of the output variables of the distribution sampling points corresponding to the estimated sampling points, and obtain the probability density function of the output variables corresponding to each preset time.
[0020] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0021] at least one processor; and
[0022] a memory communicatively connected to the at least one processor; wherein,
[0023] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the distribution network power flow calculation method described in any embodiment of the present invention.
[0024] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the distribution network power flow calculation method described in any embodiment of the present invention when executed.
[0025] The technical solution of the embodiment of the present invention obtains the time series of distribution network operation information, and the time series of distribution network operation information includes distribution network operation information corresponding to consecutive preset moments; in the time series of distribution network operation information, the distribution network operation information corresponding to the preset moment is taken as the expected value, and the probability density function of the distribution network operation information corresponding to the preset moment is calculated; the probability density function of the distribution network operation information corresponding to the preset moment is calculated and converted to obtain the independent operation information corresponding to the distribution network operation information in the independent standard normal space; the skewness coefficient and the kurtosis coefficient of the independent operation information are calculated to obtain the position coefficient and weight of the independent operation information, and the position coefficient is determined as the estimated sampling point of the independent operation information in the independent standard normal space; the estimated sampling point in the independent standard normal space is inversely transformed to obtain the distribution sampling point corresponding to the estimated sampling point; the weight of the independent operation information and the alternating iterative power flow calculation result of the output variable of the distribution sampling point corresponding to the estimated sampling point are calculated to obtain the probability density function of the output variable corresponding to each preset moment, so as to solve the problem that the calculation result of the deterministic power flow calculation is used as the actual operation state of the distribution network, which is inaccurate, and improve the accuracy of the distribution network power flow calculation.
[0026] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0028] Figure 1 is a flow chart of a method for calculating power flow in a distribution network provided according to Embodiment 1 of the present invention;
[0029] Figure 2 is a curve diagram showing the relationship between each preset time in each single-day sampling sample in summer and the distribution network operation information provided by the first embodiment of the present invention;
[0030] Figure 3 is a timing curve of renewable energy output provided according to the first embodiment of the present invention;
[0031] Figure 4 is a timing curve of different types of power loads provided according to the first embodiment of the present invention;
[0032] Figure 5is a timing curve of line parameters provided according to the first embodiment of the present invention;
[0033] Figure 6 is a curve diagram of the probability density function of light intensity under different shape parameters provided by the first embodiment of the present invention;
[0034] Figure 7 is a curve diagram of the probability density function of wind speed under different shape parameters and scale parameters provided by the first embodiment of the present invention;
[0035] Figure 8 is a curve diagram showing the relationship between wind power output and wind speed provided according to the first embodiment of the present invention;
[0036] Fig. 9 is a flow chart of a method for calculating power flow in a distribution network provided according to a second embodiment of the present invention;
[0037] Fig.10 is a flow chart of a method for calculating power flow in a distribution network provided according to a second embodiment of the present invention;
[0038] Fig.11 It is a structural schematic diagram of an improved IEEE 33-node flexible interconnected distribution network provided according to the second embodiment of the present invention;
[0039] Fig.12 is a photovoltaic output timing curve provided according to the second embodiment of the present invention;
[0040] Fig.13 is a wind power output timing curve provided according to the second embodiment of the present invention;
[0041] Fig.14 is a power load timing curve provided according to the second embodiment of the present invention;
[0042] Fig.15 is a simulation result of a probability density function curve of a node voltage before photovoltaic access in spring time scenario 3 provided by embodiment 2 of the present invention;
[0043] Fig.16 is a simulation result of a probability density function curve of a node voltage after photovoltaic access in spring time scenario 15 provided by the second embodiment of the present invention;
[0044] Fig.17 is a simulation result of a probability density function curve of branch power before photovoltaic access in spring time scenario 3 provided by embodiment 2 of the present invention;
[0045] Fig.18 is a simulation result of a probability density function curve of branch power after photovoltaic access in spring time scenario 15 provided by the second embodiment of the present invention;
[0046] Fig.19 is a simulation result of a probability density function curve of a distribution network line loss after photovoltaic access provided by Embodiment 2 of the present invention;
[0047] Fig. 20 is the expected value change of the probability density function curve of line loss in each time scenario provided by the second embodiment of the present invention;
[0048] Fig.21 is the expected value change of the probability density function curve of line loss in various time scenarios before and after photovoltaic integration according to the second embodiment of the present invention;
[0049] Fig. 22 is a simulation result of a probability density function curve of node voltage before wind power access in spring time scenario 12 provided by the second embodiment of the present invention;
[0050] Fig.23 is a simulation result of a probability density function curve of node voltage after wind power access in spring time scenario 18 provided by the second embodiment of the present invention;
[0051] Fig.24 It is a simulation result of the probability density function curve of the branch power before wind power access in the spring time scenario 12 provided by the second embodiment of the present invention;
[0052] Fig.25 It is a simulation result of the probability density function curve of the branch power after wind power access in the spring time scenario 18 provided by the second embodiment of the present invention;
[0053] Fig.26 is a simulation result of a probability density function curve of line loss of different distribution networks under time scenario 15 provided in the second embodiment of the present invention;
[0054] Fig. 27 is a simulation result of a probability density function curve of a typical daily line loss in a distribution network during a season when the renewable energy output power is constant according to the second embodiment of the present invention;
[0055] Fig.28 is a schematic diagram of the structure of a power distribution network flow calculation device provided according to Embodiment 3 of the present invention;
[0056] Fig.29 It is a structural schematic diagram of an electronic device for implementing the distribution network power flow calculation method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0057] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only 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 should fall within the scope of protection of the present invention.
[0058] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0059] Embodiment 1
[0060] Figure 1 A flow chart of a distribution network flow calculation method provided in Embodiment 1 of the present invention. The embodiment of the present invention can be applied to calculate the probability flow of a distribution network. The method can be executed by a distribution network flow calculation device. The distribution network flow calculation device can be implemented in the form of hardware and / or software. The distribution network flow calculation device can be configured in an electronic device that carries the distribution network flow calculation function.
[0061] See also Figure 1 The distribution network power flow calculation method shown includes:
[0062] S110. Acquire a time series of distribution network operation information, where the time series of distribution network operation information includes distribution network operation information corresponding to consecutive preset moments.
[0063] The distribution network operation information may be information of the distribution network during operation. Optionally, the distribution network operation information may include attribute information of the distribution network and sampling information of the distribution network. Exemplarily, the attribute information of the distribution network may be line parameters of the distribution network. The sampling information of the distribution network may include the output and load of the distribution network. The time series of the distribution network operation information may include the distribution network operation information corresponding to consecutive preset moments. The preset moment may be a preset moment for sampling the distribution network operation information. The preset moment may be set and adjusted by technical personnel based on experience. Exemplarily, the preset moment may be the hourly points of 24 hours on typical days of each season, i.e., 1:00, 2:00, 3:00, ..., 23:00 and 24:00 on typical days of each season.
[0064] Specifically, the distribution network operation information may be sampled at consecutive preset time points to obtain a time series of the distribution network operation information.
[0065] S120. In the time series of the distribution network operation information, the distribution network operation information corresponding to the preset time is taken as the expected value, and the probability density function of the distribution network operation information corresponding to the preset time is calculated.
[0066] Specifically, in the time series of the distribution network operation information, for a preset moment, the distribution network operation information corresponding to the preset moment can be selected, and the probability density function model of the distribution network operation information can be obtained. The distribution network operation information is taken as the expected value, and the parameters of the probability density function model of the distribution network operation information are adjusted to obtain the probability density function of the distribution network operation information corresponding to the preset moment.
[0067] S130. Calculate and convert the probability density function of the distribution network operation information corresponding to the preset time to obtain independent operation information corresponding to the distribution network operation information in the independent standard normal space.
[0068] There is a one-to-one correspondence between the distribution network operation information and the independent operation information. The distribution network operation information is in the actual space. The independent operation information is in the independent standard normal space. Among them, the actual space can be the space where the distribution network actually operates, and the distribution network operation information can be the actual operation information of the distribution network. Each distribution network operation information in the actual space can be non-normally distributed or correlated. Each independent operation information in the independent standard normal space can be normally distributed and independent of each other.
[0069] Specifically, the probability density function of the distribution network operation information corresponding to the preset time can be used for calculation to obtain the probability cumulative distribution function of the distribution network operation information. The distribution network operation information in the actual space can be converted into an independent standard normal space according to the probability cumulative distribution function of the distribution network operation information to obtain independent operation information.
[0070] S140, calculating the skewness coefficient and the kurtosis coefficient of the independent operation information to obtain the position coefficient and weight of the independent operation information, and determining the position coefficient as the estimated sampling point of the independent operation information in the independent standard normal space.
[0071] The skewness coefficient and kurtosis coefficient of the independent run information are known values. Exemplarily, the skewness coefficient of the independent run information can be 0; the kurtosis coefficient can be 3. The position coefficient of the independent run information is used to determine the estimated sampling point of the independent run information. The weight of the independent run information can be used to calculate the probability density function of the output variable.
[0072] Specifically, the skewness coefficient and kurtosis coefficient of the independent running information in the independent standard normal space can be obtained, and the skewness and kurtosis coefficients of the independent running information can be input into the position coefficient calculation formula and the weight calculation formula to obtain the position coefficient and weight of the independent running information, and the position coefficient of the independent running information can be determined as the estimated sampling point of the independent running information in the independent standard normal space.
[0073] Exemplarily, the position coefficient calculation formula is as follows:
[0074]
[0075] ξ yi,3 =0;
[0076] In the formula, ξ yi,k and yi,3 is the position coefficient of the independent operation information; yi,k is the estimated sampling point of the independent operation information; i is the number of the independent operation information; k is the number of the estimated sampling point; λ i,3 is the skewness coefficient of independent running information; i,4 is the kurtosis coefficient of the independent run information.
[0077] The weight calculation formula is as follows:
[0078]
[0079]
[0080]
[0081]
[0082] In the formula, w yi,k is the weight of the independent operation information; yi,k is the estimated sampling point of the independent operation information; i is the number of the independent operation information; k is the number of the estimated sampling point; ξ yi,k , yi,1 and yi,2is the position coefficient of the independent running information; n is the number of independent running information.
[0083] The formula for selecting the estimated sampling points for independent operation information is as follows:
[0084] y i,k =μ yi +ξ yi,k σ yi k = 1, 2, 3;
[0085] Where yi,k is the estimated sampling point of the independent operation information; i is the number of the independent operation information; k is the number of the estimated sampling point; μ yi is the expected value of independent operation information; yi,k is the position coefficient of the independent running information; σ yi is the standard deviation of the independent run information.
[0086] In this scheme, the independent operation information is independent and normally distributed, the expected value of the independent operation information is 0, and the standard deviation of the independent operation information is 1. Therefore, according to the estimated sampling point selection formula of the independent operation information, the position coefficient can be directly determined as the estimated sampling point of the independent operation information in the independent standard normal space.
[0087] S150, performing an inverse transformation on the estimated sampling points in the independent standard normal space to obtain distribution sampling points corresponding to the estimated sampling points.
[0088] The collocation sampling points correspond to the estimated sampling points one by one. The estimated sampling points are distributed in the independent standard normal space, and the collocation sampling points are distributed in the actual space.
[0089] Specifically, according to the correspondence between the estimated sampling points in the independent standard normal space and the collocation sampling points in the actual space, the estimated sampling points in the independent standard normal space may be inversely transformed to obtain the corresponding collocation sampling points.
[0090] S160, calculating the weight of the independent operation information and the alternating iterative power flow calculation result of the output variable of the distribution sampling point corresponding to the estimated sampling point, and obtaining the probability density function of the output variable corresponding to each preset time.
[0091] The probability density function of the output variables corresponding to each preset time can be used to characterize the actual operating state of the distribution network. Compared with characterizing the actual operating state of the distribution network by a unique value, the probability density function of the output variables corresponding to each preset time is used to characterize the actual operating state of the distribution network. It takes into account the variability and uncertainty of the actual operating state of the distribution network and has higher accuracy.
[0092] Specifically, for a single preset moment, the alternating iterative power flow calculation of the output variable of the distribution sampling point can be performed to obtain the alternating iterative power flow calculation result of the output variable of the distribution sampling point; the weight of the independent operation information and the alternating iterative power flow calculation result of the output variable of the distribution sampling point corresponding to the estimated sampling point can be calculated to obtain the probability density function of the output variable corresponding to the single preset moment; the calculation can be performed separately for each preset moment to obtain the probability density function of the output variable corresponding to each preset moment.
[0093] The technical solution of the embodiment of the present invention is to obtain the time series of distribution network operation information, wherein the time series of distribution network operation information includes distribution network operation information corresponding to consecutive preset moments; in the time series of distribution network operation information, the distribution network operation information corresponding to the preset moment is taken as the expected value, and the probability density function of the distribution network operation information corresponding to the preset moment is calculated; the probability density function of the distribution network operation information corresponding to the preset moment is calculated and converted to obtain the independent operation information corresponding to the distribution network operation information in the independent standard normal space; the skewness coefficient and the kurtosis coefficient of the independent operation information are calculated to obtain the position coefficient and weight of the independent operation information, and the position coefficient is determined as the estimated sampling point of the independent operation information in the independent standard normal space; the probability density function of the distribution network operation information corresponding to the preset moment is calculated and converted to obtain the independent operation information corresponding to ... probability density function of the distribution network operation information corresponding to the preset moment is calculated and converted to obtain the independent operation information corresponding to the independent standard normal space; the probability density function of the distribution network operation information corresponding to the preset moment is calculated and converted to obtain the independent operation information corresponding to the independent standard normal space; the probability density function of the distribution network operation information corresponding to the preset moment is calculated and converted to obtain the independent operation information corresponding to the independent standard normal space; the probability density function of the distribution network operation information corresponding to the preset moment is calculated and The estimated sampling points in the quasi-normal space are inversely transformed to obtain the distribution sampling points corresponding to the estimated sampling points; the weights of the independent operation information and the alternating iterative flow calculation results of the output variables of the distribution sampling points corresponding to the estimated sampling points are calculated to obtain the probability density function of the output variables corresponding to each preset moment. By calculating the probability density function of the output variables corresponding to each preset moment, the differences at each preset moment are taken into account. At the same time, the actual operation state of the distribution network is represented by the probability density function of the output variables, the uncertainty of the operation of the distribution network is taken into account, and the timing and uncertainty of the actual operation state of the distribution network are taken into account. The problem of using the calculation result of the deterministic flow calculation as the actual operation state of the distribution network, which is inaccurate, is solved, and the accuracy of the distribution network flow calculation is improved.
[0094] In an optional embodiment of the present invention, the probability density function of the distribution network operation information corresponding to the preset time is calculated and converted to obtain the independent operation information corresponding to the distribution network operation information in the independent standard normal space, which is specifically as follows: the probability density function of the distribution network operation information corresponding to the preset time is integrated to obtain the probability cumulative distribution function of the distribution network operation information corresponding to the preset time; the probability cumulative distribution function of the distribution network operation information corresponding to the preset time is calculated by the standard normal inverse probability cumulative distribution function to obtain the normal operation information corresponding to the distribution network operation information in the standard normal space; the correlation coefficient of the distribution network operation information is obtained; the correlation coefficient of the distribution network operation information is converted into a correlation coefficient to obtain the normal operation information corresponding to the distribution network operation information in the standard normal space. Correlation coefficient; decompose the correlation coefficient corresponding to the distribution network operation information in the standard normal space to obtain the lower triangular matrix; calculate the product of the inverse matrix of the lower triangular matrix and the normal operation information corresponding to the distribution network operation information in the standard normal space to obtain the independent operation information corresponding to the distribution network operation information in the independent standard normal space; accordingly, perform an inverse transformation on the estimated sampling points in the independent standard normal space to obtain the distribution sampling points corresponding to the estimated sampling points, which is specifically: according to the inverse matrix of the lower triangular matrix, perform an inverse transformation on the estimated sampling points in the independent standard normal space to obtain the normal sampling points corresponding to the estimated sampling points in the standard normal space; perform an inverse operation on the normal sampling points using the standard normal inverse probability cumulative distribution function to obtain the distribution sampling points corresponding to the normal sampling points.
[0095] There is a one-to-one correspondence between the normal operation information, the distribution network operation information and the independent operation information. The normal operation information can belong to the standard normal space; the distribution network operation information can belong to the actual space; the independent operation information can belong to the independent standard normal space. The normal sampling points can be the sampling points corresponding to the estimated adoption points in the standard normal space. The normal operation information is normally distributed, but there is a correlation between the normal operation information. The distribution network operation information is non-normally distributed and correlated. The independent operation information is normally distributed and independent of each other. Correspondingly, there is a one-to-one correspondence between the normal sampling points, the distribution sampling points and the estimated sampling points. The normal sampling points can belong to the standard normal space; the distribution sampling points can belong to the actual space; the independent sampling points can belong to the independent standard normal space.
[0096] Specifically, the probability density function corresponding to the preset time may be integrated to obtain the probability cumulative distribution function of the distribution network operation information corresponding to the preset time.
[0097] The probability cumulative distribution function of the distribution network operation information corresponding to the preset time can be used to calculate the inverse probability cumulative distribution function of the standard normal distribution to obtain the normal operation information corresponding to the distribution network operation information in the standard normal space.
[0098] For example, the vector X=[x1, x2, ..., x n ] T Transformed into the vector Z consisting of the normal operation information of the standard normal space = [z1, z2,…, z n ] T The following formula can be used to calculate the inverse probability cumulative distribution function of the standard normal distribution of the probability cumulative distribution function of the distribution network operation information corresponding to the preset time, and obtain the normal operation information corresponding to the distribution network operation information in the standard normal space:
[0099] z i =Φ -1 [F i (x i )];
[0100] In the formula, z i is the normal operation information of the distribution network operation information corresponding to the preset time in the standard normal space; Φ -1 [·] is the inverse probability cumulative distribution function of the standard normal; F i (·) is the probability cumulative distribution function; x i is the distribution network operation information corresponding to the preset time; i is the number of the distribution network operation information and the corresponding normal operation information.
[0101] The correlation coefficient of the distribution network operation information can be obtained. According to the expected value of the distribution network operation information, the variance of the distribution network operation information, the probability cumulative distribution function of the distribution network operation information, the inverse probability cumulative distribution function of the standard normal and the correlation coefficient of the distribution network operation information, the correlation coefficient of the distribution network operation information can be converted to obtain the correlation coefficient corresponding to the distribution network operation information in the standard normal space.
[0102] Exemplarily, the correlation coefficient corresponding to the distribution network operation information in the standard normal space can be calculated according to the following formula:
[0103]
[0104] In the formula, Distribution network operation information x i and x j The correlation coefficient of ; Φ(·) is the probability cumulative distribution function of the standard normal; and is the probability cumulative distribution function; μ i and μ j Distribution network operation information x i and x j The expected value of i and σj Distribution network operation information x i and x j The variance of is the two-dimensional standard normal distribution function of normal running information; z i and z j is the normal operation information corresponding to the distribution network operation information corresponding to the preset time in the standard normal space; i and j are the numbers of the distribution network operation information and the corresponding normal operation information; is the normal operation information z i and z j The correlation coefficient of .
[0105] Optionally, the correlation coefficient conversion matrix C may be introduced through the following formula, and the correlation coefficient corresponding to the distribution network operation information in the standard normal space may be calculated based on the correlation coefficient conversion matrix C:
[0106]
[0107]
[0108] Where C is the correlation coefficient conversion matrix; X0, X1, X2 and X3 are vectors composed of distribution network operation information with different attributes; x 10 、x 20 、x i0 、x j0 、x n0 、x 11 、x 21 、x i1 、x j1 、x n1 、x 12 、x 22 、x i2 、x j2 、x n2 、x 13 、x 23 、x i3 、x j3 and x n3 It is the distribution network operation information; is the normal operation information z i and z j The correlation coefficient of Distribution network operation information x i and x j The correlation coefficient of ; i and j are the numbers of the distribution network operation information and the corresponding normal operation information; μ i and μ j Distribution network operation information x i and x j The expected value of iand σ j Distribution network operation information x i and x j The variance of .
[0109] The correlation coefficient matrix of the vector X of the distribution network operation information can be set as Assume the correlation coefficient matrix of the vector Z of normal operation information is The correlation coefficient matrix corresponding to the distribution network operation information in the standard normal space can be decomposed to obtain a lower triangular matrix.
[0110] Exemplarily, Cholesky (matrix decomposition method) may be used to decompose the correlation coefficient matrix corresponding to the distribution network operation information in the standard normal space:
[0111] ρ Z =GG T ;
[0112] In the formula, ρ Z is the correlation coefficient matrix of the vector Z of the normal running information; G is a lower triangular matrix.
[0113] The product of the inverse matrix of the lower triangular matrix and the normal operation information corresponding to the distribution network operation information in the standard normal space can be calculated to obtain the independent operation information corresponding to the distribution network operation information in the independent standard normal space.
[0114] Exemplarily, the following formula may be used to calculate the independent operation information corresponding to the distribution network operation information in the independent standard normal space:
[0115] Y=G- 1 Z;
[0116] Where Y is the independent operation information corresponding to the distribution network operation information in the independent standard normal space; G -1 is the inverse matrix of the lower triangular matrix; Z is the normal operation information corresponding to the distribution network operation information in the standard normal space.
[0117] Correspondingly, the estimated sampling points in the independent standard normal space can be inversely transformed according to the inverse matrix of the lower triangular matrix to obtain the normal sampling points corresponding to the estimated sampling points in the standard normal space. The normal sampling points can be inversely operated by the standard normal inverse probability cumulative distribution function to obtain the distribution sampling points of the normal sampling points in the actual space.
[0118] This scheme integrates the probability density function of the distribution network operation information corresponding to the preset time to obtain the probability cumulative distribution function of the distribution network operation information corresponding to the preset time, performs standard normal inverse probability cumulative distribution function calculation on the probability cumulative distribution function of the distribution network operation information corresponding to the preset time, obtains the normal operation information corresponding to the distribution network operation information in the standard normal space, obtains the correlation coefficient of the distribution network operation information, performs correlation coefficient conversion on the correlation coefficient of the distribution network operation information, obtains the correlation coefficient corresponding to the distribution network operation information in the standard normal space, decomposes the correlation coefficient corresponding to the distribution network operation information in the standard normal space, obtains the lower triangular matrix, calculates the inverse matrix of the lower triangular matrix and the distribution network operation information. The product of the normal operation information corresponding to the power grid operation information in the standard normal space is obtained to obtain the independent operation information corresponding to the distribution network operation information in the independent standard normal space. According to the inverse matrix of the lower triangular matrix, the estimated sampling points in the independent standard normal space are inversely transformed to obtain the normal sampling points corresponding to the estimated sampling points in the standard normal space. The standard normal inverse probability cumulative distribution function is inversely operated on the normal sampling points to obtain the distribution sampling points corresponding to the normal sampling points. The conversion between the distribution network operation information and the independent operation information, as well as the conversion between the estimated sampling points and the distribution sampling points is realized, which further improves the accuracy of the conversion between the distribution network operation information in the actual space and the independent operation information in the independent standard normal space.
[0119] In an optional embodiment of the present invention, the time series of obtaining the distribution network operation information is concretized as follows: obtaining single-day sampling samples of each season; the single-day sampling samples include the distribution network operation information corresponding to each preset time; for the same season, in each single-day sampling sample, a preset number of single-day sampling samples are selected respectively; within the same season, for the same time, calculate the mean of the distribution network operation information corresponding to the preset number of single-day sampling samples at the same time as the distribution network operation information corresponding to the same time in the single-day sampling samples of the seasonal typical day corresponding to the same season; the single-day sampling samples of the seasonal typical day corresponding to each season are determined as the time series of the distribution network operation information.
[0120] The single-day sampling samples may be sampling samples divided by day. The single-day sampling samples may include the distribution network operation information corresponding to the preset time. The preset number may be the preset number of single-day sampling samples selected in a single season. The typical day of the season may be the data of a single day representing a certain season.
[0121] Specifically, the single-day sampling samples of each season can be obtained. For the same season, a preset number of single-day sampling samples can be selected from each single-day sampling sample. In the same season, for the same time, the mean of the distribution network operation information corresponding to the preset number of single-day sampling samples at the same time can be calculated as the distribution network operation information corresponding to the same time in the single-day sampling samples of the seasonal typical day corresponding to the same season. The single-day sampling samples of the seasonal typical day corresponding to each season can be determined as the time series of the distribution network operation information.
[0122] Exemplarily, the season may be summer (January to March), the preset number may be 30, and the preset times may be 1:00, 2:00, 3:00, ..., 23:00, and 24:00. Single-day sampling samples for 90 days from January to March may be obtained. Figure 2 The relationship curve diagram between each preset time in each single-day sampling sample in summer and the distribution network operation information provided by the first embodiment of the present invention. Figure 2 As shown, the distribution network operation information can be photovoltaic output, the horizontal axis is each preset moment, and the vertical axis is the photovoltaic output per unit capacity. For the summer, in each single-day sampling sample of 90 days from January to March, 30 days of single-day sampling samples are randomly or regularly selected. In the single-day sampling samples of 30 days in summer, for each preset moment, the mean of the distribution network operation information corresponding to each moment is calculated respectively, as the 24 distribution network operation information corresponding to each preset moment in the single-day sampling samples of the seasonal typical day corresponding to summer. The distribution network operation information corresponding to each preset moment can be used as the single-day sampling samples of the seasonal typical day in summer. Accordingly, the single-day sampling samples of the seasonal typical days in spring, autumn and winter can be calculated, and the 96 distribution network operation information of the single-day sampling samples of the seasonal typical days corresponding to each season can be determined as the time series of the distribution network operation information.
[0123] Optionally, after determining the single-day sampling samples of the typical seasonal day, the following formula can be used to perform error analysis on the single-day sampling samples of the typical seasonal day to verify the consistency of the discrete degree before and after the time series is generated:
[0124]
[0125] Where E is the error between the variance of the single-day sampling samples on the typical day of the season and the variance of the single-day sampling samples; is the mean value of the photovoltaic output at the preset time t; is the average PV output of the single-day sampling samples on the typical day of the season; t is the preset time; q is the qth single-day sampling sample in the same season; N is the number of single-day sampling samples in the same season; P t,q is the photovoltaic output value of the qth single-day sampling sample at time t in the same season; μ qis the mean photovoltaic output of the qth single-day sampling sample in the same season; θ is the error threshold.
[0126] Specifically, if the error between the variance of the single-day sampling samples on the typical seasonal day and the variance of the single-day sampling samples is less than or equal to the error threshold, the degree of discreteness before and after the time series generation is consistent, and the single-day sampling samples on the typical seasonal day can be used to generate a time series of distribution network operation information; if the error between the variance of the single-day sampling samples on the typical seasonal day and the variance of the single-day sampling samples is greater than the error threshold, the degree of discreteness before and after the time series generation is inconsistent, and the single-day sampling samples on the typical seasonal day need to be regenerated.
[0127] This scheme obtains single-day sampling samples of each season, and the single-day sampling samples include the distribution network operation information corresponding to each preset time. For the same season, a preset number of single-day sampling samples are selected from each single-day sampling sample. Within the same season, for the same time, the mean of the distribution network operation information corresponding to the preset number of single-day sampling samples at the same time is calculated as the distribution network operation information corresponding to the same time in the single-day sampling samples of the seasonal typical day corresponding to the same season. The single-day sampling samples of the seasonal typical day corresponding to each season are determined as the time series of the distribution network operation information, and the time series of the distribution network operation information is generated according to the season and the preset time, which ensures that the selected distribution network operation information represents the characteristics of each season, ensures the accuracy of the time series of the distribution network operation information, and further improves the accuracy of the distribution network flow calculation.
[0128] In an optional embodiment of the present invention, the distribution network operation information is concretized into photovoltaic output, wind power output, power load and line parameters.
[0129] When the distribution network operation information is concretized as photovoltaic output, wind power output, power load and line parameters, correspondingly, the time series of the distribution network operation information may include the time series of photovoltaic output, the time series of wind power output, the time series of power load and the time series of line parameters.
[0130] Among various types of renewable energy, this scheme mainly considers two types of renewable energy: wind power generation and photovoltaic power generation. For photovoltaic output, light intensity is the main factor restricting photovoltaic output, and for wind power output, wind speed is the main factor restricting wind power output. The timing curves of photovoltaic output and wind power output have significant seasonality. Among them, the timing curve of photovoltaic output can be generated from the time series of photovoltaic output; the timing curve of wind power output can be generated from the time series of wind power output. Figure 3 is a timing curve of renewable energy output provided by the first embodiment of the present invention. Figure 3As shown, wind power output is larger in spring and winter, and photovoltaic output is largest in summer. Photovoltaic output and wind power output have certain complementary characteristics in season.
[0131] The timing characteristics of electricity load are also closely related to the season. Figure 4 is a timing curve of different types of power loads provided by the first embodiment of the present invention. For example, Figure 4 As shown in the figure, the types of power loads can include rail transit, electric locomotives, and data centers. Different types of power loads present different characteristics. Among them, rail transit and electric vehicles have large time series fluctuations, reaching peaks at 6:00 to 7:00 or 18:00 to 19:00, while data centers operate all year round, with large daytime power loads, high power load rates throughout the day, and small power load fluctuations.
[0132] The line parameters may include the line resistance and line reactance of the distribution network line. The line impedance of the distribution network line is affected by temperature and can be regarded as a function of the conductor temperature. As the seasonal temperature changes, the line parameters also change. In the prior art, the line impedance of the distribution network line is usually the impedance value at a temperature of 20°C, but the actual operating temperature of the distribution network line is often not 20°C. This solution takes into account the timing characteristics of the line parameters. Figure 5 is a timing curve of line parameters provided by the first embodiment of the present invention. Figure 5 As shown, the line resistance of the distribution network line increases in a positive correlation with the ambient temperature. The relationship between the line resistance of the distribution network line and the ambient temperature is shown in the following formula:
[0133]
[0134] In the formula, Rc is the line resistance of the distribution network line at the actual operating temperature Tc; Uc is the line reactance of the distribution network line at the actual operating temperature Tc; R0 is the line resistance of the distribution network line at the standard operating temperature T0=20°C; U0 is the line reactance of the distribution network line at the standard operating temperature T0=20°C; a is the resistance temperature coefficient at the standard operating temperature T0=20°C. For example, the resistance temperature coefficient of aluminum at the standard operating temperature T0=20°C is a=0.0036.
[0135] When the distribution network operation information is concretized as photovoltaic output, wind power output, power load and line parameters, the probability density function of the distribution network operation information may include the probability density function of photovoltaic output, the probability density function of wind power output, the probability density function of power load and the probability density function of line parameters.
[0136] Photovoltaic output has strong volatility and randomness. The factors affecting photovoltaic output can include various environmental factors such as light intensity, cloud cover and temperature. Among them, light intensity has the strongest correlation with photovoltaic output. The calculation formula of the probability density function of light intensity is as follows:
[0137]
[0138] Where f(r) is the probability density function of light intensity; Г(·) is the gamma function; r is the actual light intensity; r max is the maximum light intensity; α and β are the shape parameters of the light intensity.
[0139] For example, Figure 6 is a graph of the probability density function of light intensity under different shape parameters. Figure 6 As shown in Figure 1, the probability density function of light intensity is Beta distributed. The shape parameters α and β of light intensity in different time periods have different values. Correspondingly, the curve of the probability density function of light intensity is also different. When the expected value of light intensity μ r and standard deviation σ r When known, the values of the shape parameters α and β of the illumination intensity can be determined.
[0140] The relationship between the shape parameter of light intensity and the expected value and standard deviation of light intensity is as follows:
[0141]
[0142]
[0143] Where α and β are shape parameters of light intensity; μ r is the expected value of light intensity; σ r is the standard deviation of light intensity.
[0144] The solar cell array used for photovoltaic power generation consists of M cells with an area of A. m (m=1,2,…,M), photoelectric conversion efficiency is η m The total output power P of the solar cell array can be calculated by the following formula: M :
[0145] P M = rAη;
[0146]
[0147]
[0148] Where P Mis the total output power of the solar cell array; r is the actual light intensity; A is the total area of the solar cell array; η is the total photovoltaic conversion efficiency of the solar cell array; M is the number of solar cells; m is the serial number of the solar cell; A m is the area of the solar cell; η m is the photoelectric conversion efficiency of solar cells.
[0149] According to the calculation formula of the probability density function of light intensity and the calculation formula of the total output power of the solar cell array, the calculation formula of the probability density function model of photovoltaic output can be obtained as follows:
[0150]
[0151] In the formula, f(P M ) is the probability density function of photovoltaic output; α and β are the shape parameters of light intensity; P M is the total output power of the solar cell array; R M is the maximum output power of the solar cell array.
[0152] The factors affecting wind power output may include natural factors such as wind speed, air pressure, temperature and humidity. Among them, this scheme takes wind speed as the main influencing factor of wind power output and constructs a probability density function model of wind power output. The calculation formula of the probability density function of wind speed is as follows:
[0153]
[0154] Where f(v) is the probability density function of wind speed; v is the wind speed; k is the shape parameter of wind speed; and c is the scale parameter of wind speed.
[0155] For example, Figure 7 is a graph of the probability density function of wind speed under different shape parameters and scale parameters. Figure 7 As shown, the probability density function of wind speed obeys the two-parameter Weibull distribution. The wind speed shape parameter k and scale parameter c have different values in different time periods. Correspondingly, the curve of the probability density function of wind speed is also different.
[0156] Figure 8 This is a curve diagram showing the relationship between wind power output and wind speed. Figure 8 As shown in the figure, the functional relationship between wind power output and wind speed is as follows:
[0157]
[0158] Where P w is wind power output; v is wind speed; v ci is the cut-in wind speed of the wind turbine; v cois the cut-out wind speed of the wind turbine; v r is the rated wind speed of the wind turbine; k1 and k2 are the influencing factors of wind power output; P r is the rated power of the wind turbine.
[0159] According to the calculation formula of the probability density function of wind speed and the calculation formula of the functional relationship between wind power output and wind speed, the calculation formula of the probability density function model of wind power output can be obtained as follows:
[0160]
[0161] In the formula, f(P w ) is the probability density function of wind power output; P w is the wind power output; k is the shape parameter of wind speed; c is the scale parameter of wind speed; k1 and k2 are the influencing factors of wind power output.
[0162] The probability density function of the power load is normally distributed, and the calculation formula of the probability density function model of the power load is as follows:
[0163]
[0164] In the formula, f(P L ) is the probability density function of the power load; P L For the electricity load; is the expected value of the power load; is the standard deviation of the power load.
[0165] The probability density function of the line parameters is normally distributed, and the calculation formula of the probability density function model of the line parameters is as follows:
[0166]
[0167] Where f(d) is the probability density function of the line parameter; d is the line parameter; μ d is the expected value of the line parameter; σ d is the standard deviation of the line parameters.
[0168] In the time series of photovoltaic output, the photovoltaic output corresponding to the preset time can be taken as the expected value, and the parameters of the modified density function model of photovoltaic output can be adjusted to obtain the probability density function of the photovoltaic output corresponding to the preset time.
[0169] In the time series of wind power output, the wind power output corresponding to the preset time can be taken as the expected value, and the parameters of the modified density function model of wind power output can be adjusted to obtain the probability density function of the wind power output corresponding to the preset time.
[0170] In the time series of the power load, the power load corresponding to the preset time can be taken as the expected value, and the parameters of the modified density function model of the power load can be adjusted to obtain the probability density function of the power load corresponding to the preset time.
[0171] In the time series of line parameters, the line parameters corresponding to the preset time can be taken as expected values, and the parameters of the modified density function model of the line parameters can be adjusted to obtain the probability density function of the line parameters corresponding to the preset time.
[0172] This scheme takes into account the power supply, lines and loads of the distribution network by concretizing the distribution network operation information into photovoltaic output, wind power output, power load and line parameters, and further improves the comprehensiveness of the distribution network operation information, so as to improve the accuracy of the time series of the distribution network operation information and the accuracy of the probability density function of the distribution network operation information, thereby further improving the accuracy of the probability density function of the output variable.
[0173] In an optional embodiment of the present invention, after obtaining the probability density function of the output variable corresponding to each preset moment, the method further includes: performing a safety test on the output variable corresponding to each preset moment based on the probability density function of the output variable corresponding to each preset moment and the safety limit value of the output variable; and adjusting the distribution network based on the safety test result.
[0174] The safety limit value of the output variable may be the upper limit value of the output variable that can ensure the safe operation of the distribution network. The safety limit value of the output variable may be set and adjusted according to the experience of the technician. The safety test result may be safe or unsafe. If the probability density function of the output variable corresponding to the preset time is greater than or equal to the safety limit value of the output variable, the safety test result at the preset time is unsafe; if the probability density function of the output variable corresponding to the preset time is less than the safety limit value of the output variable, the safety test result at the preset time is safe. When the safety test result is unsafe, the distribution network is adjusted.
[0175] Exemplarily, the output variable may be the voltage of the distribution network. If, based on the probability density function of the voltage corresponding to each preset moment, it is detected that the probability density function of the voltage at a certain preset moment is greater than or equal to the safety limit value of the voltage, then the safety detection result at the preset moment is unsafe. An electricity adjustment strategy may be adopted to reduce the electricity load of users of the distribution network so that the output variable of the voltage is distributed within the safety limit value.
[0176] Optionally, the output variable may also be the line loss of the distribution network, and the safety limit value of the line loss may be the actual line loss of the line. If, according to the probability density function of the line loss corresponding to each preset time, it is detected that the probability density function of the line loss at a preset time is greater than or equal to the actual line loss, then the safety detection result at the preset time is unsafe, and the line parameters of the distribution network may be adjusted to reduce the line loss of the distribution network.
[0177] After obtaining the probability density function of the output variable corresponding to each preset moment, this scheme performs a safety test on the output variable corresponding to each preset moment according to the probability density function of the output variable corresponding to each preset moment and the safety limit value of the output variable, and adjusts the distribution network according to the safety test result, which helps to discover the weak links of the distribution network in the actual operation process in advance, and improves the reliability, safety and economy of the distribution network.
[0178] In an optional embodiment of the present invention, the distribution network is concretized as a flexible interconnected distribution network; and the output variables are concretized as voltage, power and line loss.
[0179] A flexible interconnected distribution network can be a distribution network that uses flexible interconnected switches as interconnecting switches. Compared with traditional distribution networks, due to the limitations of short-circuit capacity and electromagnetic ring networks, it is forced to adopt a closed-loop design and open-loop operation mode. The power flow control of the distribution network is not strong and the power supply reliability is unstable. The flexible interconnected distribution network has the ability to block short-circuit current at the closed-loop point, and can have multi-directional continuous regulation capabilities for the power flow connecting multiple branches. It has higher power supply reliability and greater power flow control capabilities. However, the power flow calculation application of flexible interconnected distribution networks is relatively small.
[0180] This scheme improves the typicality of the output variables by concretizing the distribution network into a flexible interconnected distribution network and the output variables into voltage, power and line loss, and realizes the rapid calculation of the probability density function of the output variables. At the same time, it realizes the probabilistic power flow calculation of the flexible interconnected distribution network and improves the accuracy of the probabilistic power flow calculation of the flexible interconnected distribution network.
[0181] Embodiment 2
[0182] Fig. 9A flow chart of a distribution network flow calculation method provided for the second embodiment of the present invention. Based on the above embodiments, the embodiment of the present invention concretizes "calculating the alternating iterative flow calculation results of the output variables of the distribution sampling points corresponding to the weights of the independent operation information and the estimated sampling points to obtain the probability density function of the output variables corresponding to each preset moment" as "performing alternating iterative flow calculation corresponding to the output variables of the distribution sampling points corresponding to the estimated sampling points; performing origin moment calculation of each order on the alternating iterative flow calculation results and the weights of the independent operation information to obtain the origin moments of each order of the output variables and the corresponding semi-invariants of each order; performing series fitting on the semi-invariants of each order corresponding to the output variables to obtain the inverse function of the probability cumulative distribution function of the output variables; performing inverse transformation on the inverse function of the probability cumulative distribution function of the output variables to obtain the probability cumulative distribution function of the output variables; performing derivation on the probability cumulative distribution function of the output variables to obtain the probability density function of the output variables corresponding to the preset moment; respectively calculating the probability density functions of the output variables corresponding to the consecutive preset moments to obtain the probability density function of the output variables corresponding to each preset moment", which further improves the accuracy of the distribution network flow calculation. It should be noted that for the parts not described in detail in the embodiments of the present invention, reference may be made to the descriptions of other embodiments.
[0183] See also Fig. 9 The distribution network power flow calculation method shown includes:
[0184] S901. Acquire a time series of distribution network operation information, where the time series of distribution network operation information includes distribution network operation information corresponding to consecutive preset moments.
[0185] S902. In the time series of the distribution network operation information, the distribution network operation information corresponding to the preset time is taken as the expected value, and the probability density function of the distribution network operation information corresponding to the preset time is calculated.
[0186] S903. Calculate and convert the probability density function of the distribution network operation information corresponding to the preset time to obtain independent operation information corresponding to the distribution network operation information in the independent standard normal space.
[0187] S904. Calculate the skewness coefficient and the kurtosis coefficient of the independent operation information to obtain the position coefficient and weight of the independent operation information, and determine the position coefficient as the estimated sampling point of the independent operation information in the independent standard normal space.
[0188] S905 . Perform an inverse transformation on the estimated sampling points in the independent standard normal space to obtain the distribution sampling points corresponding to the estimated sampling points.
[0189] S906: Perform alternating iterative power flow calculation corresponding to the output variable on the distribution sampling point corresponding to the estimated sampling point.
[0190] Specifically, the estimated sampling points may be input into the alternating iterative power flow calculation formula, and the alternating iterative power flow calculation corresponding to the output variable may be performed on the distribution sampling points corresponding to the estimated sampling points.
[0191] Exemplarily, the alternating iterative power flow calculation formula is as follows:
[0192] H = H(X);
[0193] Where H is the result of the alternating iterative power flow calculation; H(·) is the alternating iterative power flow calculation algorithm; X is the distribution sampling point.
[0194] S907. Calculate the origin moments of each order for the alternating iterative power flow calculation results and the weights of the independent operation information to obtain the origin moments of each order of the output variables and the corresponding semi-invariants of each order.
[0195] Specifically, the weights of the alternating iterative power flow calculation results and the independent operation information can be input into the calculation formula of each order origin moment to obtain the each order origin moment of the output variable; according to the corresponding relationship between each order origin moment and each order semi-invariant, each order semi-invariant corresponding to each order origin moment can be obtained.
[0196] Exemplarily, the calculation formulas for the origin moments of various orders are as follows:
[0197]
[0198] In the formula, is the origin moment of each order of the output variable; w yi,k and w yi,3 is the weight of independent operation information; H(·) is the alternating iterative probability power flow calculation algorithm; N -1 (·) is the Nataf inverse transform algorithm; N -1 (Yi,k) and N -1 (Yi,3) is the probability sampling point corresponding to the estimated sampling point; Yi,k and Yi,3 are the estimated sampling points of independent running information; i is the number of independent running information; k is the number of estimated sampling points; n is the number of independent running information; l is the order of the origin moment of the output variable.
[0199] S908. Perform series fitting on each order of semi-invariants corresponding to the output variable to obtain an inverse function of the probability cumulative distribution function of the output variable.
[0200] Specifically, the Cornish-Fisher (series expansion algorithm) calculation formula may be used to perform series fitting on each order of semi-invariants corresponding to the output variable to obtain the inverse function of the cumulative distribution function of the output variable.
[0201] Exemplarily, the Cornish-Fisher calculation formula is as follows:
[0202]
[0203] In the formula, z(H)=F -1 (H) is the inverse function of the probability cumulative distribution function of the output variable; H is the result of the alternating iterative power flow calculation; γ(H) = φ -1 (H) is the inverse function of the alternating iterative power flow algorithm; g t is the t-order semi-invariant of the output variable.
[0204] S909: Perform an inverse transformation on the inverse function of the probability cumulative distribution function of the output variable to obtain the probability cumulative distribution function of the output variable.
[0205] Specifically, the inverse function of the probability cumulative distribution function of the output variable may be inversely transformed to obtain the probability cumulative distribution function of the output variable.
[0206] S910: Deriving the probability cumulative distribution function of the output variable to obtain the probability density function of the output variable corresponding to the preset time.
[0207] Specifically, the probability cumulative distribution function of the output variable may be derived to obtain the probability density function of the output variable corresponding to the preset time.
[0208] S911. Calculate the probability density functions of the output variables corresponding to consecutive preset moments respectively, and obtain the probability density function of the output variable corresponding to each preset moment.
[0209] Specifically, the probability density functions of the output variables corresponding to consecutive preset moments may be calculated respectively to obtain the probability density function of the output variable corresponding to each preset moment.
[0210] The technical solution of the embodiment of the present invention obtains the time series of distribution network operation information, the time series of distribution network operation information includes distribution network operation information corresponding to continuous preset moments, in the time series of distribution network operation information, the distribution network operation information corresponding to the preset moment is used as the expected value, the probability density function of the distribution network operation information corresponding to the preset moment is calculated, the probability density function of the distribution network operation information corresponding to the preset moment is calculated and transformed, the independent operation information corresponding to the distribution network operation information in the independent standard normal space is obtained, the skewness coefficient and the kurtosis coefficient of the independent operation information are calculated, the position coefficient and the weight of the independent operation information are obtained, and the position coefficient is determined as the estimated sampling point of the independent operation information in the independent standard normal space, the estimated sampling point in the independent standard normal space is inversely transformed, and the estimated sampling point pair is obtained. The corresponding distribution sampling points are selected, and the alternating iterative power flow calculation corresponding to the output variables is performed for the distribution sampling points corresponding to the estimated sampling points. The origin moments of each order are calculated for the alternating iterative power flow calculation results and the weights of the independent operation information to obtain the origin moments of each order of the output variables and the corresponding semi-invariants of each order. Series fitting is performed on the semi-invariants of each order corresponding to the output variables to obtain the inverse function of the probability cumulative distribution function of the output variable, and the inverse function of the probability cumulative distribution function of the output variable is inversely transformed to obtain the probability cumulative distribution function of the output variable. The probability cumulative distribution function of the output variable is derived to obtain the probability density function of the output variable corresponding to the preset moment, and the probability density functions of the output variables corresponding to the consecutive preset moments are calculated respectively to obtain the probability density function of the output variable corresponding to each preset moment, thereby further improving the accuracy of the distribution network power flow calculation.
[0211] For example, Fig.10 This is a flow chart of a method for calculating power flow in a distribution network. Fig.10 The distribution network power flow calculation method shown includes:
[0212] S1001. Input node and branch data.
[0213] The node and branch data can be a single-day sampling sample for each season. The node and branch data include the distribution network operation information corresponding to each preset time. It can be understood that the node and branch data include the photovoltaic output, wind power output, power load and line parameters corresponding to each preset time.
[0214] Specifically, the distribution network node and branch data input by the technicians may be obtained.
[0215] S1002. Establish a time series of distribution network operation information such as photovoltaic output, wind power output, power load and line parameters.
[0216] Specifically, for the same season, in each single-day sampling sample (node and branch data), a preset number of single-day sampling samples corresponding to the same type of distribution network operation information can be selected respectively. In the same season, for the same time, the mean of the distribution network operation information (such as photovoltaic output, wind power output, power load or line parameters) corresponding to the preset number of single-day sampling samples of this type at the same time can be calculated as the distribution network operation information corresponding to the same time in the single-day sampling samples of the seasonal typical day corresponding to the same season. The single-day sampling samples of this type of seasonal typical day corresponding to each season can be determined as the time series of the distribution network operation information of this type. The time series of each type of distribution network operation information is determined respectively, so as to obtain the time series of photovoltaic output, the time series of wind power output, the time series of power load and the time series of line parameters.
[0217] S1003, i=1.
[0218] Specifically, the preset time may be set to 1.
[0219] S1004. Taking the distribution network operation information at the i-th preset time in the time series as the expected value, and according to the probability density function model corresponding to the distribution network operation information, determine the probability density function of each distribution network operation information.
[0220] Specifically, in the time series of the distribution network operation information, for a certain preset moment, such as the i-th preset moment in the time series, the distribution network operation information corresponding to the preset moment i can be selected, and the probability density function model of the distribution network operation information can be obtained. The distribution network operation information is used as the expected value, and the parameters of the probability density function model of the distribution network operation information are adjusted to obtain the probability density function of the distribution network operation information corresponding to the preset moment.
[0221] S1005. Based on the alternating iterative probability power flow algorithm of three-point estimation, the origin moments of various orders of output variables such as voltage, power and line loss at the i-th preset moment are obtained.
[0222] Specifically, the probability density function of the distribution network operation information corresponding to the preset time can be calculated to obtain the probability cumulative distribution function of the distribution network operation information, and the probability cumulative distribution function of the distribution network operation information can be calculated and converted to convert the distribution network operation information in the actual space into the independent standard normal space to obtain the independent operation information. The skewness coefficient and kurtosis coefficient of the independent operation information in the independent standard normal space can be obtained, and the skewness and kurtosis coefficient of the independent operation information can be input into the position coefficient calculation formula and the weight calculation formula to obtain the position coefficient and weight of the independent operation information, and the position coefficient of the independent operation information can be determined as the estimated sampling point of the independent operation information in the independent standard normal space. According to the corresponding relationship between the estimated sampling points in the independent standard normal space and the distribution point sampling points in the actual space, the estimated sampling points in the independent standard normal space can be inversely transformed to obtain the corresponding distribution point sampling points. The estimated sampling points can be input into the alternating iterative power flow calculation formula, and the distribution sampling points corresponding to the estimated sampling points can be subjected to alternating iterative power flow calculation corresponding to the output variables. The weights of the alternating iterative power flow calculation results and the independent operation information can be input into the calculation formula of each order origin moment to obtain the each order origin moment of the output variable; according to the corresponding relationship between each order origin moment and each order semi-invariant, each order semi-invariant corresponding to each order origin moment can be obtained.
[0223] S1006. Fitting the probability density function of each output variable at the i-th preset time according to the Cornish-Fisher series.
[0224] The Cornish-Fisher (series expansion algorithm) calculation formula can be used to perform series fitting on the semi-invariants of each order corresponding to the output variable to obtain the inverse function of the cumulative distribution function of the output variable. The inverse function of the probability cumulative distribution function of the output variable can be inversely transformed to obtain the probability cumulative distribution function of the output variable. The probability cumulative distribution function of the output variable can be derived to obtain the probability density function of the output variable corresponding to the preset time i.
[0225] S1007, i=i+1.
[0226] Specifically, the preset time may be set to be equal to i=i+1.
[0227] S1008. Determine whether i is greater than 96. If so, execute S1009; if not, execute S1004.
[0228] Specifically, it can be determined whether the preset time i is greater than 96. If so, S1009 is executed; if not, S1004 is executed. The probability density functions of the output variables corresponding to consecutive preset times can be calculated respectively to obtain the probability density functions of the output variables corresponding to each preset time.
[0229] S1009: Generate probability density function curves of voltage, power and line loss corresponding to 96 preset moments in a typical seasonal year.
[0230] Specifically, a probability density function curve of voltage, power and line loss corresponding to 96 preset moments in a typical seasonal year may be generated. The output variables may include voltage, power and line loss.
[0231] S1010. Output results.
[0232] Specifically, the probability density function curve of voltage, the probability density function curve of power and the probability density function curve of line loss corresponding to 96 preset moments in a typical seasonal year may be output respectively.
[0233] This solution divides the node and branch data into seasons and preset times to construct time series of photovoltaic output, wind power output, power load and line parameters. Based on the time series of photovoltaic output, wind power output, power load and line parameters, it constructs the probability density function of source, network and load. It also performs power flow calculation on flexible interconnected distribution networks with strong absorption, large volatility and high randomness to obtain the probability density function of output variables, which effectively improves the stability, safety and economy of the distribution network.
[0234] Fig.11 The schematic diagram of the improved IEEE 33-node flexible interconnected distribution network is shown in Figure 2. Fig.11 As shown, the example analysis of this scheme adopts the improved IEEE33-node flexible interconnected distribution network, the system baseline capacity is 100MVA, the load of the standard system is the expected value of the load of the example, and the standard deviation of the power load and line parameters are 20% of the expected value. The flexible interconnection switches FID1 and FID2 interconnect nodes 12 and 22, and nodes 25 and 29 respectively. Nodes 18 and 33 are connected to wind power components and photovoltaic components respectively. Since wind power output and photovoltaic output are complementary, there are situations in the flexible interconnected distribution network where the output of renewable energy is not zero. Since the joint output of multiple renewable energy sources is not conducive to analyzing the specific impact of a single renewable energy output on the voltage of each node, the photovoltaic output and wind power output are separately connected for analysis. Fig.12 It is the photovoltaic output timing curve. Fig.13 It is the wind power output timing curve. Fig.14 It is the timing curve of power load.
[0235] The distribution network flow calculation method of this scheme can be used to perform probabilistic flow calculation on the flexible interconnected distribution network. Without affecting the accuracy of the conclusion, representative time scenarios (i.e. preset moments) can be selected to analyze the simulation results from different comparative perspectives. Table 1 is a data table of the expected values and variances of the output variables of special nodes and special branches in the distribution network before and after photovoltaic access in each season.
[0236] Table 1 Expected value and variance data of output variables of special nodes and special branches in each season
[0237]
[0238] (1) Photovoltaic output simulation analysis
[0239] In the time scenes 1 to 4 and 22 to 28 of each season, the photovoltaic output is 0, which can be used as the time scene for the probability flow simulation calculation of the distribution network before photovoltaic access in each season. In addition, in the time scene 15 of each season, the photovoltaic output is the largest, which can be used as the time scene for the probability flow simulation calculation of the distribution network after photovoltaic access in each season.
[0240] 1) Node voltage distribution
[0241] Fig.15 This is the simulation result of the probability density function curve of the node voltage before photovoltaic access in spring time scenario 3 (T=3 period). Fig.16 The simulation results of the probability density function curve of the node voltage after photovoltaic access in spring time scenario 15 (T=15 period). Fig.15 and Fig.16 The probability density function of the node voltage in the distribution network before and after photovoltaic access shows that the closer the voltage value is to the power node, the higher the voltage value is. For example, the probability density function curves of the node voltages of nodes 1 and 19 close to the power node are located on the leftmost side of the ordinate axis, and as the power flow gradually decreases, the probability density function curves shift to the right. In addition, the uncertainty of the node voltage usually increases with the decrease of the node voltage. However, since the flexible interconnection switches connected to nodes 12 and 29 in the example adopt a fixed active power and fixed AC voltage control method, which is equivalent to a PV node, the uncertainty of the probability density function curve of the node voltage is small, that is, the variance of the probability density function curve of the node voltage at nodes 12 and 29 is small and the ordinate value is large. Since on-site compensation will be performed after photovoltaic access, the node voltage of node 33 is improved compared to before photovoltaic access. At the same time, before photovoltaic access, only the uncertainty of power load and line parameters needs to be considered, and after photovoltaic access, the uncertainty of photovoltaic output increases, which increases the uncertainty of the access node voltage and the fluctuation range of the node voltage.
[0242] 2) Branch power distribution
[0243] Fig.17 This is the simulation result of the probability density function curve of the branch power before photovoltaic access in spring time scenario 3 (T=3 period). Fig.18 This is the simulation result of the probability density function curve of the branch power after photovoltaic access in spring time scenario 15 (T=15 period). Fig.17 and Fig.18 The probability density function of the branch power before and after PV access is compared with the active power of branch 1 and branch 32 in Table 1. It can be seen that the value of the active power output at the head end of the distribution network is the largest and the uncertainty is also the largest, that is, branch 1 is located at the leftmost end of the vertical coordinate and has the largest variance, while the active power of the terminal branch is smaller.
[0244] Analysis of the power situation of branch 32 in Table 1 shows that before photovoltaic access, the power flow direction of the line in the distribution network always flows from node 32 to node 33, that is, the power is positive; after photovoltaic access, when the output of the distributed power source is greater than the power load of node 33, the line power flow reverses and the active power becomes negative. At the same time, due to the fluctuation of photovoltaic output, the line power flow direction becomes uncertain, such as Fig.17 and Fig.18 As shown, the fluctuation range of the active power of branch 32 is significantly increased.
[0245] contrast Fig.17 and Fig.18 The active power distribution of branch 1 in the middle and the power situation of branch 1 in Table 1 show that after the photovoltaic grid connection, the power load of the distribution network is absorbed by the photovoltaic output, and the active power provided by the upper transformer at the head end of branch 1 is reduced accordingly, causing the probability density function curve to shift to the right. At the same time, the uncertainty of photovoltaic output will also increase the active power fluctuation of the head end branch, but due to the large total power of the head end branch, compared with other branches near node 11, the impact of photovoltaic access on the head end branch is relatively small.
[0246] 3) Distribution of line losses in distribution networks
[0247] The change of line loss power in the distribution network is determined by the matching degree between the grid-connected photovoltaic power output and the power load, the distribution network topology, line parameters and the location of photovoltaic grid connection. The probability density function curve of the line loss of the distribution network flow calculation method of this scheme is compared with that of the Monte Carlo simulation example. Fig.19 The simulation result of the probability density function curve of the distribution network line loss after photovoltaic access. Fig.19As shown in the figure, the total line loss of the distribution network in four typical days in the four seasons is 133.3kW·h (t=96h). When the photovoltaic output is 0, that is, there is no loss reduction effect on the distribution network, the average value of the distribution network line loss is higher, that is, compared with the time scenes of photovoltaic output being 0 and photovoltaic output not being 0 in the figure, the probability density function curve of the distribution network line loss is on the left side of the vertical axis, and when the grid-connected photovoltaic output is at the end of the line and the grid-connected photovoltaic output is more matched with the total power load of the distribution network, the line loss power of the distribution network is reduced, and the probability density function curve of the line loss shifts to the right.
[0248] Fig. 20 It is the expected value change of the probability density function curve of line loss in each time scenario. Fig. 20 and Fig.19 Corresponding. Combined Fig.12 The photovoltaic output timing curve and Fig.14 The power load timing curve is analyzed Fig. 20 It can be seen that the changing trends and reasons of distribution network line losses in each quarter are as follows:
[0249] ① Time scenario 1-4: There is no photovoltaic output, the total power load of the distribution network decreases, and therefore the total bus loss of the distribution network decreases.
[0250] ② Time scenario 4-5: The photovoltaic output increases and the total power load of the distribution network decreases. The combined loss-reducing effect of the two reduces the line loss of the distribution network.
[0251] ③ Time scenario 5-12: The photovoltaic output increases, and the total power load of the distribution network increases. However, the increase in photovoltaic output leads to a decrease in line loss in the distribution network, which usually cannot offset the increase in line loss caused by the increase in power load. Therefore, the total line loss of the distribution network increases.
[0252] ④ Time scenario 12-14: The photovoltaic output increases and the total power load of the distribution network decreases. In the same situation ②, the bus loss and line loss of the distribution network decrease.
[0253] ⑤ Time scenarios 14-16: The photovoltaic output decreases and the total power load of the distribution network increases. Compared with situation ④, the combined effect of increasing losses increases the total bus loss of the distribution network.
[0254] ⑥ Time scenarios 16-19: The photovoltaic output decreases, and the total power load of the distribution network decreases. However, the decrease in photovoltaic output causes the increase in line loss of the distribution network to be unable to offset the decrease in line loss caused by the decrease in power load. Therefore, the total line loss of the distribution network decreases.
[0255] ⑦ Time scenario 19-22: The photovoltaic output decreases sharply, and the total power load of the distribution network decreases smoothly. The decrease in photovoltaic output causes the increase in line loss of the distribution network to be greater than the decrease in line loss caused by the decrease in power load. Therefore, the total line loss of the distribution network increases.
[0256] ⑧Time scenarios 22-24: PV has no output, and the total power load of the distribution network is reduced. In the same situation as ①, the total bus loss of the distribution network is reduced.
[0257] In addition, when photovoltaic power generation is not connected, the line parameters of the distribution network and the time series of power load are still subjected to probabilistic power flow simulation calculations, and the expected value change of the line loss of the distribution network in each time scenario before and after the photovoltaic power generation is connected is calculated. Fig.21 It is the expected value change of the probability density function curve of line loss in each time scenario before and after the photovoltaic integration. Fig.21 As shown in Figure 2, only PV access is considered, and the fluctuation conditions of power load and line parameters are the same. Therefore, the line loss change of the distribution network is only related to the PV output. Fig.11 , Fig.21 In time scenarios 4 to 22 after the integration of photovoltaic power, when the photovoltaic output is not 0, the line loss of the distribution network is smaller than the line loss of the distribution network before the photovoltaic connection, that is, the change is negative, and is negatively correlated with the photovoltaic output timing curve. It can be understood that as the photovoltaic output increases, the line loss of the distribution network decreases proportionally.
[0258] (2) Wind power output simulation analysis
[0259] The impact of wind power access on node voltage and line power can be analyzed. Fig. 22 This is the simulation result of the probability density function curve of the node voltage before wind power access in spring time scenario 12 (T=12 period). Fig.23 This is the simulation result of the probability density function curve of the node voltage after wind power access in spring time scenario 18 (T=18 period). Fig. 22 and Fig.23 ,After the wind power is connected and compensated on the spot, the voltage of node 18 is improved and the fluctuation range is enlarged compared with that before the wind power is connected. Fig.24 This is the simulation result of the probability density function curve of the branch power before wind power access in spring time scenario 12 (T=12 period). Fig.25 This is the simulation result of the probability density function curve of the branch power after wind power access in spring time scenario 18 (T=18 period). Fig.24 and Fig.25 Before the access of wind power, the line flow direction of the distribution network is always positive, that is, the probability density function curve is on the left side of the 0 axis; after the access of wind power, the probability density function curve becomes more volatile and a negative situation occurs, that is, when the wind power output is greater than the power load of node 18, the line flow direction is reversed, and the analysis results of wind power access are consistent with those of photovoltaic access.
[0260] (3) Power load simulation analysis
[0261] Similarly, taking the time scenario 15 (T=15 period) where photovoltaic power is connected alone as an example, the probability density function curves of the bus loss of the IEEE33 pure AC system (pure AC distribution network), the distribution network connected to the flexible interconnection switch and the distribution network connected to renewable energy are simulated respectively. Fig.26 The simulation results of the probability density function curves of line losses of different distribution networks under time scenario 15 (T = 15 time period). Fig.26 It can be seen that after the introduction of flexible interconnection switches in the pure AC distribution network (i.e., pure AC system) (i.e., flexible interconnection system), the expected value of line loss is significantly reduced and the fluctuation variance is reduced; while after the access of renewable energy (i.e., pure AC system (DG) and flexible interconnection system (DG)), the expected value of line loss is reduced, but its fluctuation variance is increased.
[0262] (4) Impact of timing
[0263] If the uncertainty and volatility of renewable energy output, power load and line parameters are not considered, the probabilistic power flow calculation of the distribution network is neither accurate nor practical. In order to analyze the error between the power flow results without considering the timing and uncertainty and the distribution network power flow calculation method of this scheme that considers the timing and uncertainty of source (renewable energy output), network (line parameters) and load (power load), the following will compare each output variable one by one.
[0264] 1) Not considering the timing of renewable energy output
[0265] The expected value of renewable energy output is used as the constant output power of renewable energy for probabilistic power flow calculation. Fig.12 The expected value of photovoltaic output in each season is shown in Table 2. Fig. 27 The simulation results of the probability density function curve of the line loss on a typical day in the season of the distribution network when the output power of renewable energy is constant. Without considering the volatility of photovoltaic output, the probability density function curve of the line loss on a typical day in the four seasons of the year can be simulated, and the total power loss of the system is 128kW·h.
[0266] Table 2 Average photovoltaic output in each season
[0267] Quarter spring summer autumn winter Photovoltaic output average / MW 0.3617 0.5113 0.3842 0.3313
[0268] The line loss error of typical days in four seasons is 5.3kW·h when considering the timing of renewable energy output and excluding the timing of renewable energy output. The line loss error accumulated over one year is about 480kW·h. The line loss error of the distribution network caused by not considering the timing and uncertainty will have a significant impact on the distribution network. In addition, since the actual uncertainty of renewable energy output is not taken into account, Fig. 27The limit line loss in each time scenario is significantly reduced, but the worst case of actual operation of the distribution network cannot be taken into account, which will have a significant impact on the safety and planning of the distribution network.
[0269] 2) Not considering the timing of power load
[0270] Similarly, if the average of the fluctuations in electricity load in each season is used as the constant load power for the three-point estimation method probabilistic power flow calculation in this scheme, the system line loss value is 127.5kW·h, which is 5.8kW·h away from the actual line loss. The accumulated line loss error for one year is approximately 529.25kW·h.
[0271] 3) Not considering the timing of line parameters
[0272] If the influence of ambient temperature on line parameters is not considered, the line parameters of the distribution network are regarded as the determined impedance values at the actual operating temperature of 20°C for power flow calculation. At this time, the line loss value of the distribution network is 132.16kW·h, which is 1.14kW·h away from the actual line loss. The accumulated line loss error for one year is about 104.03kW·h.
[0273] In summary, without considering the actual fluctuations of renewable energy output, power load and line parameters, it will be impossible to predict the voltage and power of the system at a certain moment. At the same time, there is a large error between the theoretical line loss value and the actual line loss value, and it is impossible to evaluate and plan the deterioration of the distribution network, which has a significant impact on the reliability, safety and economy of the distribution network.
[0274] The distribution network flow calculation method of this scheme is simulated and verified through the improved IEEE33-node flexible interconnected distribution network. The changes in node voltage, line power and distribution network line loss before and after the access of renewable energy to the distribution network are analyzed, and it is determined that the grid-connected location and output power of renewable energy are the main reasons for the changes in the three. In addition, the flow calculation simulation is performed on the timing of renewable energy output, power load and line parameters without considering the timing of source and grid load, which proves that the probability density function considering the timing of source and grid load is more accurate and more realistic when performing flow calculation. Based on the calculation results of the distribution network probabilistic flow calculation of this scheme, the flexible interconnected distribution network can be regulated and planned, which can effectively improve the stability, safety and economy of the distribution network.
[0275] Embodiment 3
[0276] Fig.28A schematic diagram of the structure of a distribution network flow calculation device provided in Embodiment 3 of the present invention. The embodiment of the present invention can be applied to the case of performing probabilistic flow calculation on a distribution network, the device can execute a distribution network flow calculation method, the device can be implemented in the form of hardware and / or software, and the device can be configured in an electronic device that carries a distribution network flow calculation function.
[0277] See also Fig.28 The distribution network flow calculation device shown includes: a time series acquisition module 2810, an operation information probability density function calculation module 2820, an independent operation information determination module 2830, an estimated sampling point determination module 2840, a distribution sampling point determination module 2850 and an output variable probability density function determination module 2860. Among them, the time series acquisition module 2810 is used to obtain the time series of distribution network operation information, and the distribution network operation information time series includes the distribution network operation information corresponding to the continuous preset time; the operation information probability density function calculation module 2820 is used to take the distribution network operation information corresponding to the preset time as the expected value in the time series of the distribution network operation information, and calculate the probability density function of the distribution network operation information corresponding to the preset time; the independent operation information determination module 2830 is used to calculate and transform the probability density function of the distribution network operation information corresponding to the preset time, and obtain the independent operation information corresponding to the distribution network operation information in the independent standard normal space; the estimated sampling point determination module 2840 is used to determine the distribution network operation information in the independent standard normal space. The point determination module 2840 is used to calculate the skewness coefficient and the kurtosis coefficient of the independent operation information, obtain the position coefficient and weight of the independent operation information, and determine the position coefficient as the estimated sampling point of the independent operation information in the independent standard normal space; the distribution sampling point determination module 2850 is used to perform an inverse transformation on the estimated sampling point in the independent standard normal space to obtain the distribution sampling point corresponding to the estimated sampling point; the output variable probability density function determination module 2860 is used to calculate the alternating iterative flow calculation results of the output variables of the distribution sampling points corresponding to the weight of the independent operation information and the estimated sampling point, and obtain the probability density function of the output variable corresponding to each preset time.
[0278] The technical solution of the embodiment of the present invention is to obtain the time series of distribution network operation information, wherein the time series of distribution network operation information includes distribution network operation information corresponding to consecutive preset moments; in the time series of distribution network operation information, the distribution network operation information corresponding to the preset moment is taken as the expected value, and the probability density function of the distribution network operation information corresponding to the preset moment is calculated; the probability density function of the distribution network operation information corresponding to the preset moment is calculated and converted to obtain the independent operation information corresponding to the distribution network operation information in the independent standard normal space; the skewness coefficient and the kurtosis coefficient of the independent operation information are calculated to obtain the position coefficient and weight of the independent operation information, and the position coefficient is determined as the estimated sampling point of the independent operation information in the independent standard normal space; the probability density function of the distribution network operation information corresponding to the preset moment is calculated and converted to obtain the independent operation information corresponding to ... probability density function of the distribution network operation information corresponding to the preset moment is calculated and converted to obtain the independent operation information corresponding to the independent standard normal space; the probability density function of the distribution network operation information corresponding to the preset moment is calculated and converted to obtain the independent operation information corresponding to the independent standard normal space; the probability density function of the distribution network operation information corresponding to the preset moment is calculated and converted to obtain the independent operation information corresponding to the independent standard normal space; the probability density function of the distribution network operation information corresponding to the preset moment is calculated and The estimated sampling points in the quasi-normal space are inversely transformed to obtain the distribution sampling points corresponding to the estimated sampling points; the weights of the independent operation information and the alternating iterative flow calculation results of the output variables of the distribution sampling points corresponding to the estimated sampling points are calculated to obtain the probability density function of the output variables corresponding to each preset moment. By calculating the probability density function of the output variables corresponding to each preset moment, the differences at each preset moment are taken into account. At the same time, the actual operation state of the distribution network is represented by the probability density function of the output variables, the uncertainty of the operation of the distribution network is taken into account, and the timing and uncertainty of the actual operation state of the distribution network are taken into account. The problem of using the calculation result of the deterministic flow calculation as the actual operation state of the distribution network, which is inaccurate, is solved, and the accuracy of the distribution network flow calculation is improved.
[0279] In an optional embodiment of the present invention, the output variable probability density function determination module 2860 includes: an alternating iterative power flow calculation unit, which is used to perform alternating iterative power flow calculation corresponding to the output variable for the distribution sampling point corresponding to the estimated sampling point; a semi-invariant determination unit of each order, which is used to perform origin moment calculation of each order on the weight of the alternating iterative power flow calculation result and the independent operation information to obtain the origin moment of each order and the corresponding semi-invariant of each order of the output variable; an output variable cumulative distribution function inverse function determination unit, which is used to perform series fitting on the semi-invariants of each order corresponding to the output variable to obtain the inverse function of the probability cumulative distribution function of the output variable; a probability cumulative distribution function determination unit, which is used to perform an inverse transformation on the inverse function of the probability cumulative distribution function of the output variable to obtain the probability cumulative distribution function of the output variable; an output variable probability density function determination unit, which is used to derive the probability cumulative distribution function of the output variable to obtain the probability density function of the output variable corresponding to the preset time; a probability density function determination unit for each preset time, which is used to respectively calculate the probability density function of the output variable corresponding to the continuous preset time, to obtain the probability density function of the output variable corresponding to each preset time.
[0280] In an optional embodiment of the present invention, the independent operation information determination module 2830 is specifically used to: integrate the probability density function of the distribution network operation information corresponding to the preset time to obtain the probability cumulative distribution function of the distribution network operation information corresponding to the preset time; perform standard normal inverse probability cumulative distribution function calculation on the probability cumulative distribution function of the distribution network operation information corresponding to the preset time to obtain the normal operation information corresponding to the distribution network operation information in the standard normal space; obtain the correlation coefficient of the distribution network operation information; perform correlation coefficient conversion on the correlation coefficient of the distribution network operation information to obtain the correlation coefficient corresponding to the distribution network operation information in the standard normal space; The correlation coefficients corresponding to the distribution network operation information in the standard normal space are decomposed to obtain a lower triangular matrix; the product of the inverse matrix of the lower triangular matrix and the normal operation information corresponding to the distribution network operation information in the standard normal space is calculated to obtain the independent operation information corresponding to the distribution network operation information in the independent standard normal space; accordingly, the distribution sampling point determination module 2850 is specifically used to: perform an inverse transformation on the estimated sampling points in the independent standard normal space according to the inverse matrix of the lower triangular matrix to obtain the normal sampling points corresponding to the estimated sampling points in the standard normal space; perform an inverse operation on the standard normal inverse probability cumulative distribution function on the normal sampling points to obtain the distribution sampling points corresponding to the normal sampling points.
[0281] In an optional embodiment of the present invention, the time series acquisition module 2810 includes: a seasonal single-day sampling sample acquisition unit, which is used to obtain single-day sampling samples of each season; the single-day sampling samples include distribution network operation information corresponding to each preset time; a single-day sampling sample selection unit, which is used to select a preset number of single-day sampling samples from each single-day sampling sample for the same season; a distribution network operation information determination unit, which is used to calculate the mean of the distribution network operation information corresponding to the preset number of single-day sampling samples at the same time in the same season for the same time, as the distribution network operation information corresponding to the same time in the single-day sampling samples of the seasonal typical day corresponding to the same season; a time series determination unit, which is used to determine the single-day sampling samples of the seasonal typical day corresponding to each season as the time series of the distribution network operation information.
[0282] In an optional embodiment of the present invention, the distribution network operation information includes: photovoltaic output, wind power output, power load and line parameters.
[0283] In an optional embodiment of the present invention, after obtaining the probability density function of the output variable corresponding to each preset moment, the device also includes: an output variable safety detection module, which is used to perform a safety detection on the output variable corresponding to each preset moment according to the probability density function of the output variable corresponding to each preset moment and the safety limit value of the output variable; and a distribution network adjustment module, which is used to adjust the distribution network according to the safety detection result.
[0284] In an optional embodiment of the present invention, the distribution network includes a flexible interconnected distribution network; and the output variables include voltage, power and line loss.
[0285] The distribution network power flow calculation device provided in the embodiment of the present invention can execute the distribution network power flow calculation method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0286] In the technical solution of the embodiment of the present invention, the acquisition, storage and application of the time series of distribution network operation information, the correlation coefficient of distribution network operation information and the daily sampling samples of each season, etc., all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0287] Embodiment 4
[0288] Fig.29 A schematic diagram of the structure of an electronic device 2900 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0289] like Fig.29 As shown, the electronic device 2900 includes at least one processor 2901, and a memory connected to the at least one processor 2901 in communication, such as a read-only memory (ROM) 2902, a random access memory (RAM) 2903, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 2901 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 2902 or the computer program loaded from the storage unit 2908 to the random access memory (RAM) 2903. In RAM 2903, various programs and data required for the operation of the electronic device 2900 can also be stored. The processor 2901, ROM 2902 and RAM 2903 are connected to each other via a bus 2904. An input / output (I / O) interface 2905 is also connected to the bus 2904.
[0290] Multiple components in the electronic device 2900 are connected to the I / O interface 2905, including: an input unit 2906, such as a keyboard, a mouse, etc.; an output unit 2907, such as various types of displays, speakers, etc.; a storage unit 2908, such as a disk, an optical disk, etc.; and a communication unit 2909, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 2909 allows the electronic device 2900 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0291] The processor 2901 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 2901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 2901 executes the various methods and processes described above, such as a distribution network flow calculation method.
[0292] In some embodiments, the distribution network flow calculation method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 2908. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 2900 via the ROM 2902 and / or the communication unit 2909. When the computer program is loaded into the RAM 2903 and executed by the processor 2901, one or more steps of the distribution network flow calculation method described above may be performed. Alternatively, in other embodiments, the processor 2901 may be configured to execute the distribution network flow calculation method in any other appropriate manner (e.g., by means of firmware).
[0293] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0294] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0295] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0296] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0297] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0298] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS (Virtual Private Server) services.
[0299] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0300] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for calculating power flow in a distribution network. It is characterized in that include: Acquire a time series of distribution network operation information, wherein the time series of distribution network operation information includes distribution network operation information corresponding to consecutive preset moments; In the time series of the distribution network operation information, the distribution network operation information corresponding to the preset time is taken as the expected value, and the probability density function of the distribution network operation information corresponding to the preset time is calculated; Calculating and converting the probability density function of the distribution network operation information corresponding to the preset time, to obtain independent operation information corresponding to the distribution network operation information in an independent standard normal space; Calculating the skewness coefficient and the kurtosis coefficient of the independent running information to obtain the position coefficient and the weight of the independent running information, and determining the position coefficient as the estimated sampling point of the independent running information in the independent standard normal space; Performing an inverse transformation on the estimated sampling points in the independent standard normal space to obtain the distribution sampling points corresponding to the estimated sampling points; Calculating the weight of the independent operation information and the alternating iterative power flow calculation result of the output variable of the distribution sampling point corresponding to the estimated sampling point, to obtain the probability density function of the output variable corresponding to each of the preset moments; The weight of the independent operation information and the alternating iterative power flow calculation result of the output variable of the distribution sampling point corresponding to the estimated sampling point are calculated to obtain the probability density function of the output variable corresponding to each preset time, including: Performing alternating iterative power flow calculation corresponding to the output variable on the power distribution sampling point corresponding to the estimated sampling point; Calculating the origin moments of each order on the result of the alternating iterative power flow calculation and the weight of the independent operation information to obtain the origin moments of each order of the output variable and the corresponding semi-invariants of each order; Performing series fitting on semi-invariants of various orders corresponding to the output variable to obtain an inverse function of the probability cumulative distribution function of the output variable; Performing an inverse transformation on the inverse function of the probability cumulative distribution function of the output variable to obtain the probability cumulative distribution function of the output variable; Deriving the probability cumulative distribution function of the output variable to obtain the probability density function of the output variable corresponding to the preset time; Calculating the probability density functions of the output variables corresponding to consecutive preset moments respectively, to obtain the probability density functions of the output variables corresponding to each of the preset moments; The calculating and converting the probability density function of the distribution network operation information corresponding to the preset time to obtain the independent operation information corresponding to the distribution network operation information in the independent standard normal space includes: Integrating the probability density function of the distribution network operation information corresponding to the preset time to obtain the probability cumulative distribution function of the distribution network operation information corresponding to the preset time; Performing a standard normal inverse probability cumulative distribution function calculation on the probability cumulative distribution function of the distribution network operation information corresponding to the preset time, to obtain normal operation information corresponding to the distribution network operation information in the standard normal space; Obtaining a correlation coefficient of the distribution network operation information; Performing correlation coefficient conversion on the correlation coefficient of the distribution network operation information to obtain the correlation coefficient corresponding to the distribution network operation information in the standard normal space; Decomposing the correlation coefficient corresponding to the distribution network operation information in the standard normal space to obtain a lower triangular matrix; Calculate the product of the inverse matrix of the lower triangular matrix and the normal operation information corresponding to the distribution network operation information in the standard normal space to obtain the independent operation information corresponding to the distribution network operation information in the independent standard normal space; Correspondingly, performing an inverse transformation on the estimated sampling points in the independent standard normal space to obtain the distribution sampling points corresponding to the estimated sampling points includes: According to the inverse matrix of the lower triangular matrix, an inverse transformation is performed on the estimated sampling points in the independent standard normal space to obtain normal sampling points corresponding to the estimated sampling points in the standard normal space; An inverse operation of a standard normal inverse probability cumulative distribution function is performed on the normal sampling points to obtain power distribution sampling points corresponding to the normal sampling points.
2. The method according to claim 1, It is characterized in that The time series of obtaining the distribution network operation information includes: Obtaining daily sampling samples of each season; the daily sampling samples include the distribution network operation information corresponding to each preset time; For the same season, a preset number of single-day sampling samples are selected from each of the single-day sampling samples; In the same season, for the same time, calculate the mean of the distribution network operation information corresponding to the preset number of single-day sampling samples at the same time as the distribution network operation information corresponding to the same time in the single-day sampling samples of the seasonal typical day corresponding to the same season; The single-day sampling samples of the seasonal typical days corresponding to each of the seasons are determined as the time series of the distribution network operation information.
3. The method according to claim 1, It is characterized in that The distribution network operation information includes: photovoltaic output, wind power output, power load and line parameters.
4. The method according to claim 1, It is characterized in that After obtaining the probability density function of the output variable corresponding to each of the preset moments, the method further includes: Performing a safety test on the output variable corresponding to each of the preset moments according to the probability density function of the output variable corresponding to each of the preset moments and the safety limit value of the output variable; The distribution network is adjusted based on the safety test results.
5. The method according to claim 1, It is characterized in that The distribution network includes a flexible interconnected distribution network; the output variables include voltage, power and line loss.
6. A distribution network power flow calculation device, It is characterized in that include: A time series acquisition module, used to acquire a time series of distribution network operation information, wherein the time series of distribution network operation information includes distribution network operation information corresponding to consecutive preset moments; An operation information probability density function calculation module is used to calculate the probability density function of the distribution network operation information corresponding to the preset time in the time series of the distribution network operation information by taking the distribution network operation information corresponding to the preset time as the expected value; An independent operation information determination module is used to calculate and convert the probability density function of the distribution network operation information corresponding to the preset time, and obtain the independent operation information corresponding to the distribution network operation information in the independent standard normal space; an estimated sampling point determination module, configured to calculate a skewness coefficient and a kurtosis coefficient of the independent operation information, obtain a position coefficient and a weight of the independent operation information, and determine the position coefficient as an estimated sampling point of the independent operation information in the independent standard normal space; A distribution sampling point determination module, used for performing an inverse transformation on the estimated sampling points in the independent standard normal space to obtain distribution sampling points corresponding to the estimated sampling points; An output variable probability density function determination module is used to calculate the weight of the independent operation information and the alternating iterative power flow calculation result of the output variable of the distribution sampling point corresponding to the estimated sampling point, and obtain the probability density function of the output variable corresponding to each preset time; The output variable probability density function determination module includes: an alternating iterative power flow calculation unit, which is used to perform alternating iterative power flow calculation corresponding to the output variable for the distribution sampling point corresponding to the estimated sampling point; a semi-invariant determination unit of each order, which is used to perform origin moment calculation of each order on the weight of the alternating iterative power flow calculation result and the independent operation information, and obtain the origin moment of each order and the corresponding semi-invariant of each order of the output variable; an output variable cumulative distribution function inverse function determination unit, which is used to perform series fitting on the semi-invariants of each order corresponding to the output variable, and obtain the inverse function of the probability cumulative distribution function of the output variable; a probability cumulative distribution function determination unit, which is used to perform an inverse transformation on the inverse function of the probability cumulative distribution function of the output variable, and obtain the probability cumulative distribution function of the output variable; an output variable probability density function determination unit, which is used to derive the probability cumulative distribution function of the output variable, and obtain the probability density function of the output variable corresponding to the preset time; a probability density function determination unit for each preset time, which is used to respectively calculate the probability density function of the output variable corresponding to the continuous preset time, and obtain the probability density function of the output variable corresponding to each preset time; The independent operation information determination module includes: integrating the probability density function of the distribution network operation information corresponding to the preset time to obtain the probability cumulative distribution function of the distribution network operation information corresponding to the preset time; performing standard normal inverse probability cumulative distribution function calculation on the probability cumulative distribution function of the distribution network operation information corresponding to the preset time to obtain normal operation information corresponding to the distribution network operation information in the standard normal space; obtaining the correlation coefficient of the distribution network operation information; performing correlation coefficient conversion on the correlation coefficient of the distribution network operation information to obtain the correlation coefficient corresponding to the distribution network operation information in the standard normal space; decomposing the correlation coefficient corresponding to the distribution network operation information in the standard normal space to obtain a lower triangular matrix; calculating the product between the inverse matrix of the lower triangular matrix and the normal operation information corresponding to the distribution network operation information in the standard normal space to obtain the independent operation information corresponding to the distribution network operation information in the independent standard normal space; The distribution sampling point determination module is specifically used to: perform an inverse transformation on the estimated sampling points in the independent standard normal space according to the inverse matrix of the lower triangular matrix to obtain the normal sampling points corresponding to the estimated sampling points in the standard normal space; perform an inverse operation on the standard normal inverse probability cumulative distribution function on the normal sampling points to obtain the distribution sampling points corresponding to the normal sampling points.
7. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the distribution network power flow calculation method according to any one of claims 1 to 5.
8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the distribution network power flow calculation method according to any one of claims 1 to 5 when executed.
Citation Information
Patent Citations
Spatio-temporal correlation day-ahead plan load flow analysis method with uncertainty being taken into consideration
CN106099932A
Method and system for analyzing uncertain power flow of power grid
CN111224399A
