Next Article in Journal
Aggregator-Based Interactive Charging Management System for Electric Vehicle Charging
Next Article in Special Issue
A New Robust Decoupled Control of the Stator Active and Reactive Currents for Grid-Connected Doubly-Fed Induction Generators
Previous Article in Journal
Rotor Design for an Efficient Single-Phase Induction Motor for Refrigerator Compressors
Previous Article in Special Issue
Intentional Islanding Algorithm for Distribution Network Based on Layered Directed Tree Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Constant Jacobian Matrix-Based Stochastic Galerkin Method for Probabilistic Load Flow

1
State Key Laboratory of Alternate Electrical Power System with Renewable Energy Sources, North China Electric Power University, Beijing 102206, China
2
Robert W. Galvin Center for Electricity Innovation, Illinois Institute of Technology, Chicago, IL 60616, USA
*
Author to whom correspondence should be addressed.
Energies 2016, 9(3), 153; https://doi.org/10.3390/en9030153
Submission received: 14 December 2015 / Revised: 18 February 2016 / Accepted: 19 February 2016 / Published: 3 March 2016
(This article belongs to the Special Issue Microgrids 2016)

Abstract

:
An intrusive spectral method of probabilistic load flow (PLF) is proposed in the paper, which can handle the uncertainties arising from renewable energy integration. Generalized polynomial chaos (gPC) expansions of dependent random variables are utilized to build a spectral stochastic representation of PLF model. Instead of solving the coupled PLF model with a traditional, cumbersome method, a modified stochastic Galerkin (SG) method is proposed based on the P-Q decoupling properties of load flow in power system. By introducing two pre-calculated constant sparse Jacobian matrices, the computational burden of the SG method is significantly reduced. Two cases, IEEE 14-bus and IEEE 118-bus systems, are used to verify the computation speed and efficiency of the proposed method.

1. Introduction

Load flow studies are essential for power system operators and planners, and accurate real-time load flow analysis is the basis of advanced application of modern EMS, such as optimal power flow, voltage control and so on. However, with the rapid increase in renewable energy (primarily wind and solar energy) which has strong volatility and intermittency, deterministic load flow (DLF) analysis cannot reflect the uncertainties of a power system properly. Therefore, the uncertainty of modern power grid needs to be qualified to analyze its influence on the power system.
Uncertainty quantification (UQ) [1] is the science of quantitative characterization and reduction of uncertainties in applications. It tries to determine how likely certain outcomes are if some aspects of the system are not exactly known. Probabilistic load flow (PLF) evaluation is an efficacious UQ tool to tackle the uncertainties in power systems and obtain the statistical quantities of random output variables. Traditional PLF methods can be classified into four categories: simulation methods, approximate techniques, analytical methods and heuristic procedures.
The Monte Carlo method (MCM) [2] is the most straightforward among simulation methods, but it requires DLF calculations at numerous sampling nodes even though some improvements have been proposed (such as Latin Hypercube [3] and Quasi-Monte Carlo [4] samplings). Approximate techniques provide approximate description of the statistical quantities of random output variables, and they include the point estimate method (PEM) [5], first-order second-moment method (FOSM) [6], non-parametric density estimate method [7], state variable method (such as polynomial transformation [3] and unscented transformation [8]). However, the accuracy of an approximate technique worsens as the order of estimated statistical quantities becomes higher. Analytical methods include the FFT method [9], the cumulants method (based on Gram-Charlier [10,11] Cornish Fisher [12] and Legendre [13] expansion) etc.; they have a high calculation speed but require some algorithm simplifications which might introduce large errors. Heuristic methods mainly refer to the fuzzy logic method [14]; it can handle the uncertain variables without statistical information (such as probability distribution function (PDF) and cumulative distribution function (CDF)).
A spectral method based on generalized polynomial chaos (gPC) expansion [15,16,17,18,19,20,21] has become one of the most widely adopted UQ methods nowadays, which is efficient at uncertainty reduction and quantitative characterization for complex stochastic systems. The gPC-based methods represent system uncertain variables by truncated gPC series expansions, and gPC coefficients are computed by a stochastic collocation (SC) [18,19,20,21] or stochastic Galerkin (SG) approach [18,20]. The SC method is non-intrusive, and it solves a set of decoupled equations by repeatedly calling an existing deterministic solver at sampling nodes and obtaining gPC coefficients by post processing. It is easy to apply but has inferior accuracy due to “aliasing errors” [16]. The intrusive SG method forms coupled deterministic equations by Galerkin projection and computes gPC coefficients directly. By ensuring the residue of the Galerkin system equations to be orthogonal to the linear space spanned by gPC basis functions, SG method offers the optimal accuracy with the least number of equations among all the gPC-based methods [16]. However, the derived Galerkin system equations are usually coupled and high dimensioned, which makes them cumbersome to solve or even unsolvable.
In this paper, a spectral method based on the high-precision SG method was presented to solve PLF, and the cumbersome SG method is modified by utilizing the P-Q decoupling properties of load flow. Thus the proposed method can achieve high calculation speed and accuracy.
This paper is organized as follows: the basic ideas of gPC expansion and the PLF Galerkin system equations constructed by Galerkin projection are introduced in Section 2. Section 3 presents the modified SG method to solve the coupled equations of the PLF Galerkin system, while detailed derivations are given in Appendix. Section 4 studies the performances of the proposed method. Finally, Section 5 concludes this paper.

2. PLF Model Based on gPC Expansion

2.1. gPC Expansion of Stochastic Variables

Define { ϕ i ( ξ ) } as the univariate gPC polynomial of random variable ξ R , index i as the polynomial order. Taking { ψ i ( ξ ) } as the set of D-variate gPC basis functions of muti-dimensional random variable ξ = [ ξ 1 , ... , ξ D ] R D , the order of ψ i ( ξ ) equals | i | = i 1 + + i D , ψ i ( ξ ) can be defined as follows:
ψ i ( ξ ) = d = 1 D ϕ i d ( ξ )
The inner product of a random function is defined as:
f ( ξ ) , g ( ξ ) = ξ 1 ξ D f ( ξ ) g ( ξ ) ρ ( ξ ) d ξ 1 d ξ D
where , denotes the inner product, and ρ ( ξ ) denotes the PDF of variable ξ . Set ϕ i ( ξ ) , ϕ j ( ξ ) = δ i j γ i j , where δ i j is the Kronecker delta function. The orthogonal property of ψ i ( ξ ) is as follows:
ψ i ( ξ ) , ψ j ( ξ ) = ψ i ( ξ ) ψ j ( ξ ) ρ ( ξ ) d ξ = δ i , j γ i , j
δ i , j = δ i 1 j 1 × × δ i D j D
γ i , j = γ i 1 j 1 × × γ i D j D
According to UQ theory [15,16,17], any R-valued random variable defined on a probability space ( Θ , Σ , P ) can be well approximated by a truncated gPC series. Thus S ( ξ ) can be approximated by an order-P gPC series. In Equation (7), which contains K gPC basis functions, s ^ | i | ( | i | [ 1 , P ] ) denotes the gPC coefficient.
K = ( P + D P ) = ( P + D ) ! P ! D !
S ( ξ ) 0 | i | P s ^ i ψ i ( ξ )
Replacing the index vector i by a scalar k ( k [ 1 , K ] ) : s ^ i s ^ k , γ i , j γ k , { ψ i ( ξ ) } { ψ k ( ξ ) } , Equation (7) can be rewritten as:
S ( ξ ) k = 1 K s ^ k ψ k ( ξ )
With ψ 1 ( ξ ) = 1 , the mean and variance of S ( ξ ) can be approximated by:
μ S = E [ S ( ξ ) ] ψ 1 ( ξ ) , S ( ξ ) = s ^ 1
σ S 2 = E [ ( S ( ξ ) - μ S ) 2 ] k = 2 K s ^ k ψ k ( ξ ) , k = 2 K s ^ k ψ k ( ξ ) = k = 2 K s ^ k 2 γ k
Similarly, other statistical quantities of S ( ξ ) can also be approximated by applying their definitions directly to the gPC approximation.
Generally in the modern power grid, the uncertain factors (such as fluctuations of wind speeds and loads, etc.) are mutually dependent, and the impactions of their correlations are significant and cannot be ignored. Setting the PDF of D-dimensioned random variable ξ = [ ξ 1 , , ξ D ] as ρ ( ξ ) , and constructing the gPC basis function { ψ k ( ξ ) } according to ρ ( ξ ) can achieve the optimal approximation convergence rate; the detailed procedure can be seen in [16,17]. The typical correspondence between the type of gPC basis function and their underlying random variables ξ is shown in Table 1.
There are two ways to choose the gPC model. First, if all the random variables are the same type, we can directly choose the gPC basis, and Table 1 shows some common conditions. Second, if the types of random variables are different or not common, we can directly construct the gPC basis. The two methods have been studied deeply in [16,17] and will not be elaborated on here. In this paper, in order to facilitate the following study and description, inverse transformation method and Cholescky decomposition [22,23] are used to transform various correlated random inputs into independent Gaussian random variables.

2.2. Construct Galerkin System of PLF Based on gPC

The original non-linear load flow equations for a power system can be expressed as:
{ f P i ( θ , V , P i S P ) = 0      i S P V S P Q f Q i ( θ , V , Q i S P ) = 0         i S P Q
The uncertainties of the power system can be depicted by random variables ξ = [ ξ 1 , ... , ξ D ] ; random inputs such as Gaussian distributed power loads and Weibull distributed wind speeds are expressed as P l , i ( ξ ) , Q l , i ( ξ ) and v ( ξ ) . Wind power generation can be derived by applying the wind speed in the power curve P W ( v ) of a wind turbine generator (see Equation (31)). Therefore, the P-order gPC series of P i S P and Q i S P can be pre-calculated, and their gPC coefficients P ^ i , k , Q ^ i , k are treated as known constants:
{ P i s p ( ξ ) = k = 1 K P ^ i , k ψ k ( ξ ) Q i s p ( ξ ) = k = 1 K Q ^ i , k ψ k ( ξ )
The unknown random outputs can also be expressed as:
{ θ i ( ξ ) = k = 1 K θ ^ i , k ψ k ( ξ ) V i ( ξ ) = k = 1 K V ^ i , k ψ k ( ξ )
Therefore, the following main task is to calculate the gPC coefficients θ ^ i , k , V ^ i , k by SG method. Apply Equations (12) and (13) in load flow Equation (11) to obtain the PLF model, which is also called the residual PLF equations in the SG method. Express the residual equations in a vector-matrix form:
{ F P ( θ ^ , V ^ , ξ ) = 0 F Q ( θ ^ , V ^ , ξ ) = 0
where N 1 = N P Q + N P V , N 2 = 2 N P Q + N P V , vector F P = [ f P 1 , , f P N 1 ] T contains the active power balance equations of PQ and PV buses, vector F Q = [ f Q 1 , , f Q N P Q ] T contains the reactive power balance equations of PQ buses. Define the matrices of coefficients θ ^ , V ^ as follows:
θ ^ = [ θ ^ 1 , 1 θ ^ N 1 , 1 θ ^ 1 , K θ ^ N 1 , K ] ; V ^ = [ V ^ 1 , 1 V ^ N 1 , 1 V ^ 1 , K V ^ N 1 , K ]
Galerkin projection ensures residual Equation (14) to be orthogonal to the linear space spanned by gPC basis functions { ψ k ( ξ ) } , forming a N 2 K dimensional PLF Galerkin system with G P R N 1 × K , G Q R N P V × K as follows:
{ G P ( i , k ) = f P i ( θ ^ , V ^ , ξ ) , ψ k ( ξ ) = 0 , i S P V S P Q , k [ 1 , K ] G Q ( i , k ) = f Q i ( θ ^ , V ^ , ξ ) , ψ k ( ξ ) = 0 , i S P Q , k [ 1 , K ]
The inner product in the right hand of Equation (16) is actually multivariate stochastic integration. Numerical quadrature such as Gaussian quadrature can be used to effectively evaluate the integral by a weighted sum of function values at specified grid points, that is:
ξ 1 ξ D f ( ξ ) ρ ( ξ ) d ξ 1 d ξ D n = 1 N f ( ξ n ) W n , ξ n Θ D , W n W
where Θ D = [ ξ 1 , , ξ N ] and W = [ W 1 , , W N ] are the quadrature nodes and weights that constructed by the cubature rule.
Among all the cubature rules, the tensor product rule is used to construct a full-grid point Θ D and its corresponding weights W [24], and the number of quadrature nodes equals N = ( P + 1 ) D which increases exponentially with the dimensionality D of the integral. Thus, improved methods are proposed, such as a nested grid (with N = i = 1 P 2 i ( D 1 + i ) ! / ( D 1 ) ! i ! ) [17], testing nodes (with N = K ) [20] and sparse grid [16,25]. The details of these cubature rules for constructing quadrature nodes are out of the scope of this paper. This paper applies the widely used sparse-grid technique, and software for generating sparse grids is available online [26]. The sparse-grid technique uses a subset of the points from the tensor product rule and rescales the weight values appropriately; it can significantly decrease the computation expense especially when the dimensionality D is much larger than 1:
N 2 P D P / P !
Set ψ k n = ψ k ( ξ n ) , we can derive a constant matrix ψ by calculating the value of gPC basis function { ψ k ( ξ ) } k = 1 K at N sets of quadrature nodes:
ψ = [ ψ 1 1 ψ K 1 ψ 1 N ψ K N ]
Set F P n = F P ( θ ^ , V ^ , ξ n ) , F Q n = F Q ( θ ^ , V ^ , ξ n ) , f P i n and f Q i n are the i th elements in the vectors F P n and F Q n respectively. Approximating Equation (16) by Gaussian quadrature, the PLF Galerkin system can be obtained:
{ G P = [ F P 1 , , F P N ] diag ( W ) ψ = 0 G Q = [ F Q 1 , , F Q N ] diag ( W ) ψ = 0
Reshape matrices G P , G Q , θ ^ and V ^ into vectors:
G ˜ P = r e s h ( G P T , N 1 K , 1 ) ; G ˜ Q = r e s h ( G Q T , N P Q K , 1 ) θ ^ ˜ = r e s h ( θ ^ , N 1 K , 1 ) ; V ^ ˜ = r e s h ( V ^ , N P Q K , 1 )
where r e s h ( A , m , n ) reshape the m - by - n matrix whose elements are taken column-wise from matrix A .

3. Solve the PLF Galerkin System in a Decoupled Manner

Starting from an initial guess of θ ^ 0 and V ^ 0 , θ ^ , V ^ are computed by using the Newton iteration method to solve the Galerkin system Equation (20):
[ G ˜ P ( θ ^ ˜ r , V ^ ˜ r ) G ˜ Q ( θ ^ ˜ r , V ^ ˜ r ) ] = J ( θ ^ ˜ r , V ^ ˜ r ) [ Δ θ ^ ˜ r Δ V ^ ˜ r ]
Superscript r means the r th iteration, set X ^ = [ θ ^ ˜ , V ^ ˜ ] , and Jacobian matrix J has the following structure:
J ( X ^ r ) = [ J 1 , 1 ( X ^ r ) J 1 , N 2 ( X ^ r ) J N 2 , 1 ( X ^ r ) J N 2 , N 2 ( X ^ r ) ]
Set θ j n = θ j ( ξ n ) , V j n = V j ( ξ n ) , and if i , j [ 1 , N 1 ] , the ( k 1 , k 2 ) th element in the submatrix J i , j R K × K can be calculated as follows, and more detailed derivation of J is given in the Appendix.
J i , j ( k 1 , k 2 ) = G P ( i , k 1 ) θ ^ j , k 2 = n = 1 N f P i n θ j n ψ k 2 n W n ψ k 1 n
At each iteration, f P i n f Q i n in J need to be evaluated at N quadrature nodes, and their sum needs to be calculated for each element in J . Therefore, the Newton’s iteration of SG is very expensive. Even if the power system is small and J is sparse, it can still be unsolvable. For example, Figure 1 shows the structure of J in the IEEE 14-bus test system; if D = 4 , P = 3 , K = 35 , there will be 124 sub-blocks and 65,920 non-zeros in J , and ( 65920 × N × L ) calculation times are needed to renew J if L iterations are used.
Utilizing the P-Q decoupled characteristic in power flow calculation, this paper forms constant Jacobian matrices J and J to avoid the regeneration of Jacobian, the calculation speed will be significantly improved. B , B are the constant Jacobian matrices in the traditional P-Q fast decoupled load flow method [27], which only contains network admittances:
f P i θ j B ( i , j ) ; f P i V j 0 ; f Q i V j B ( i , j ) ; f Q i θ j 0
Applying Equation (24) in the derivation of J above, J changed into two constant matrices J R N 2 × N 2 , J R N 1 × N 1 which only need to be calculated once (see the Appendix). Figure 2 shows the structure of matrices J and J after the matrix J in Figure 1 is decoupled; there will be 6615 and 2565 nonzeros in J and J , and ( 9180 × N ) calculation times are needed, which is far less than before.
For ease of expression, N constant matrices [ Φ 1 , , Φ N ] are constructed at N quadrature nodes:
Φ n = W n ψ ( n , : ) T ψ ( n , : ) R K × K , n [ 1 , N ]
Thus J and J can be expressed as:
{ J = B n = 1 N Φ n J = B n = 1 N Φ n
θ ^ ˜ , V ^ ˜ can be computed directly by Newton iteration method:
Solve : { [ Δ G ˜ P θ ^ ˜ ] = J [ Δ θ ^ ˜ ] [ Δ G ˜ Q V ^ ˜ ] = J [ Δ V ^ ˜ ]
Update : { θ ^ ˜ r + 1 = θ ^ ˜ r + Δ θ ^ ˜ r V ^ ˜ r + 1 = V ^ ˜ r + Δ V ^ ˜ r
The proposed PLF method (referred to as SG-PLF method) only needs to compute deterministic PLF Galerkin system Equation (20) and construct constant Jacobian matrices Equation (26) at limited quadrature nodes, then solve Equation (20) by the Newton iteration method only once to reach high accuracy. The flow chart of the SG-PLF method is depicted by Figure 3, which consists of two parts.
Firstly, based on the system basic data and PDF of input random variables, we form the PLF model Equation (14) based on gPC expansion of random variables and transform it into Equation (16) by Galerkin projection, then further approximate Equation (16) by Gaussian quadrature, and finally obtain the PLF Galerkin system Equation (20). Secondly, we solve the Galerkin system for coefficients θ ^ , V ^ directly by a Newton iteration method, and the gPC expansion of random output variables can be derived easily.

4. Comparison with other PLF Methods

This section compares the calculation procedures of MCM, SC method (SCM) and the proposed modified SG method (SGM); see Figure 4.
MCM and SCM are both non-intrusive methods, they both start from the original load flow Equation (11) without using gPC approximation a priori, and compute the deterministic solutions at a set of nodes. The main difference of MCM and SCM lies in how to select the nodes. MCM draws sampling nodes randomly according to the PDF of ξ and is uncertainty-dimension independent; the MCM may be the only choice when the number of random variables to be dealt with is too high (in ultra-high-dimensional problem). However, SCM constructs collocation nodes with a nodes generator which uses cubature rules such as tensor product, nested grid or sparse grid techniques. After repeatedly simulating deterministic load flow equations, MCM provides the statistical information by gathering and handling the resulting outputs, whereas SCM reconstructs the gPC coefficients in a post-processing step such as numerical integration. For example, SCM constructs N 2 collocation nodes [ ξ 1 , , ξ N 2 ] and weights [ W 1 , , W N 2 ] of random output variable S ( ξ ) (in Equation (8)), and then the gPC coefficients can be computed by:
s ^ k S ( ξ ) , ψ k ( ξ ) n = 1 N 2 W n ψ k ( ξ n ) S ( ξ n )
The SGM is an intrusive method as it directly computes the gPC coefficients by simulating a larger-size coupled PLF only once. With gPC approximation, it starts from the residual function Equation (14). The proposed SG-PLF method constructs nodes by sparse grid technique and modified the SGM by utilizing the P-Q decoupling properties of power system, which can avoid the heavy computation burden of forming Jacobian matrix in each iteration. Figure 5 shows a detailed illustration of the modified calculation model of the proposed SG-PLF method.
If the original load flow Equation (11) are solved by P-Q fast decouple method, and the time cost of solving is t o r . then the total time cost by MCM is ( t o r × N 3 ) , where N 3 is much larger than N 1 and N 2 . If the node generators in SCM and SGM are both using the sparse grid technique, where N 1 = N 2 = N , set the time for constructing nodes is t n o and the time cost of post-processing is t p o . Thus, the total time cost of SCM is ( t n o + t o r × N + t p o ) . In SGM, the times needed for constructing constant Jacobian matrices are t c j and for solving the modified model are t m o , so the total time required for SGM is ( t n o + t m o + t c j ) .
The dimension of modified PLF model in SGM is K × N times the size of the original PLF model, and the equations need to be solved in SCM is N times the size of the original PLF model. t c j can be ignored, and t m o is slightly larger than t o r × N + t p o , so there are no significant difference between the total computational time of SCM and SGM , this can be verified in the following case study.
In conclusion, on the one hand, since N 3 is much larger than N 1 and N 2 , MCM needs numerous deterministic load flow calculations to obtain accurate results, the SG-PLF method has a distinct speed advantage over MCM. On the other hand, SCM only requires no errors at each collocation node and will introduce aliasing errors caused by the introduction of the nodal sets, whereas the SG-PLF method ensures that the residue of the PLF Equation (14) is orthogonal to the linear space spanned by the gPC basis functions, as in Equation (16). In this sense, the accuracy of SGM is optimal.
Therefore, the proposed SG-PLF method has accuracy advantage over the non-intrusive SCM and speed advantage over the MCM.

5. Case study

5.1. Verification Index

In order to evaluate the computational accuracy and efficiency of SG-PLF method, a series of PLF studies are carried out on the modified IEEE14-bus and IEEE 118-bus test systems. The base case data of these two test systems are available in [28]. Two types of input random variables are considered in this case study, load and wind power included. Relative error ε (RE) [5] and average root mean square (ARMS) [12] error τ are computed using the MCM results of 30,000 trials as reference. RE is defined as:
ε s x = | ( s G x s M x ) / s M x | × 100 %
The ARMS is defined as:
τ x = t = 1 T ( X G t x X M t x ) 2 / T
where x refers to the type of random output variables ( V , θ and P l i n e etc.), s may refer to the mean μ and standard deviation σ . s M x denotes the result calculated by MCM and is taken as the reference value, s G x is the result obtained by SG-PLF method. ε s , mean x and ε s , max x are the average and maximum values of ε s x . Choosing T sampling nodes of variable ξ arbitrarily: [ ξ 1 , , ξ T ] , X G t and X M t are the outputs of the SG-PLF method and MCM at the t th node ξ t ( t [ 1 , T ] ) .

5.2. IEEE 14-Bus Test System

The case considered in this section is the IEEE 14-bus test system which is modified to include wind generation. The uncertainties of forecasted loads are modeled as normal distribution with σ 5% to μ , whose means equal the base case data. The load correlation matrix between bus 4 and bus 5 is ρ l . Two wind farms are located at bus 13 and bus 14, and their wind speed correlation matrix is ρ v :
ρ l = [ 1 0.5 0.5 1 ] ; ρ v = [ 1 0.6 0.6 1 ]
The wind power is mainly affected by wind speed distribution, power curve and control strategy of wind turbine generator. The wind speed is assumed to follow the Weibull distribution with scale parameter as 10.7 and shape parameter as 3.97. The wind speed is transformed into wind power according to the power curve of wind turbine generator P W ( v ) [3]: the cut-in, rated and cut-off speeds are v c i = 4   m / s , v r = 15   m / s , v c o = 25   m / s respectively, and the rated power P Wr is 0.7 p.u. The wind turbine generator is controlled by constant power factor strategy.
P W ( v ) = { 0 , v < v c i or v > v c o P W r v 2 v c i 2 v r 2 v c i 2 , v c i v < v r P W r , v r v v c o

5.2.1. Impact of the gPC Expansion Order

Figure 6 shows the CDFs obtained by SG-PLF method under different gPC expansion order P (defined in Equation (7)). The results shows that the order-3 SG-PLF method provides good fitting to the CDF obtained by MCM, gives an intuitive confirmation that the order-3 SG-PLF method has the ability to well handle over the PLF problem as almost the same accuracy as the MCM.
Furthermore, the resulted ε s , mean γ and ε s , max γ under different order P are shown in Table 2, which verified the good computing performance of the order-3 SG-PLF method.
Therefore, the gPC expansion order P can affect the calculation performance of the proposed method: when P is too low, the gPC expansion approximation Equation (8) will induce large truncation error; when P is too high, the number of quadrature nodes N will increase significantly, so it will lead to increasing of calculation but no progress in computation accuracy, because all the high order gPC coefficients in gPC expansion approximation Equation (8) will be zeros. In this paper, the expansion order is chosen by numerical experiments, but direct methods to determine the order are to be further studied in our future work.
To further investigate the calculation efficiency of using the SGM to solve PLF, the calculation time and nodes number N of SGM, SCM and MCM are compared in Table 3, in which, the gPC-based SCM and SGM both construct the nodes according to the sparse grid technique, and the time cost with different P are compared. Figure 7 shows the PDFs and CDFs of the buses whose power injection have large fluctuations, and the results corresponding to the order-3 SG-PLF method are almost not visible because they coincide with those of MCM.
From the results above, the order-3 SG-PLF method can maintain high accuracy with feasible computation expense. This conclusion is further confirmed by comparing the ARMS results of the order-3 SG-PLF method in Table 4. Thus in the following study, the order-3 SG-PLF method is used for PLF investigation and verification.
Take the frequency table of V 4 as an example, set the results of MCM as the reference, and further compare the calculation accuracy of order-3 SCM and order-3 SGM, shown in Table 5:
In this section, the results above show that:
(1) the MCM can achieve the highest accuracy, but it needs the longest calculation time; and
(2) although the computational speed of SGM is slightly slower than SCM, the intrusive SGM has obvious precision advantage than SCM (which is also analyzed in Section 4).
Therefore, through comprehensive consideration of calculation speed and accuracy, the proposed SG-PLF method is the optimal among three methods.

5.2.2. Impact of the Fluctuation of Power Injection

In order to appraise how the variation level of uncertain variable impacts on the calculation performance of the proposed order-3 SG-PLF method, Table 6 shows the ε s , mean γ and ε s , max γ of proposed method under different load fluctuations at bus 4 (set the ratio of σ to μ is from 10% to 40%).
From the results, it can be inferred that the variance level of power injection has no discernible effect on the calculation accuracy of the proposed method.

5.2.3. Impact of Wind Speed Correlation

Choose the statistical moments of active line power (mean μ - P l i n e and standard deviation σ - P l i n e ) as the research objects in this section. The uncertain wind powers of two wind farms are directly injected into both the end of lines 13–14, while lines 1–2 have no direct connection to wind power.
Under different wind speed correlations (WSC) between two wind farms, Figure 8 and Figure 9 present the calculated mean and standard deviation (SD) values of the REs of all buses and illustrate how the calculation accuracy of the proposed 3-order SG-PLF method will change with the WSC growing from 0.1 to 0.9. The results show that WSC has a minor effect on the calculation accuracy of the proposed method. Figure 10 and Figure 11 present the values of μ - P l i n e and σ - P l i n e with WSC growing from 0.1 to 0.9. Results show that, at different sites, the WSC has different impact on system condition. μ - P 13 14 remains basically unchanged but σ - P 13 14 is proportional to WSC, while μ - P 1 2 , σ - P 1 2 are all proportional to WSC.

5.3. IEEE 118-Bus Test System

In this section, PLF problem is solved for the IEEE 118-bus test system with the purpose of assessing how an increase in the uncertainty level (dimension and variance of random variables) would affect the performance of proposed method. From bus 24 to bus 27, each bus is connected to a wind farm, the rated power of each wind turbine generator P Wr is 0.2 p.u. The random active loads at bus 60, bus 78, bus 79 and bus 82 are assumed to follow Gaussian distribution. The variance of the random loads are larger than the previous case, with σ is 10% to μ . The correlation matrices of wind speeds and loads are in Equation (33). Other parameters of wind farms are consistent with the previous case.
ρ v = [ 1 0.88 0.6 0.4 0.88 1 0.5 0.6 0.6 0.5 1 0.8 0.4 0.6 0.8 1 ] ; ρ l = [ 1 0.5 0.48 0.6 0.5 1 0.48 0.5 0.48 0.48 1 0.3 0.6 0.5 0.3 1 ]
To solve this case, the calculation time of MCM is 16.436 s while the order-3 SG-PLF method only takes 3.306 s. The RE and ARMS results of the proposed method are shown in Table 7, where the maximum RE values of V and θ appeared at bus 26 and bus 49. Figure 12 shows the resulting CDFs and PDFs of V 26 and θ 49 , which proved the calculation accuracy of the proposed order-3 SG-PLF method again. Therefore, when the variance and dimension of uncertain variables rise, the proposed method can maintain high accuracy whilst providing significant computational savings.
Based on all of the previous simulation results, the details of some influencing factors on the performance of the proposed SG-PLF method are summarized in Table 8, where denotes increase, means decrease, presents minor impact.

6. Conclusions

An intrusive spectral method was proposed in this paper to solve the PLF problem, and simulations in IEEE 14-bus and 118-bus test systems demonstrate its accuracy, efficiency and practicability. The main characteristics of the proposed method are as follows:
  • High accuracy. The accuracy of proposed method mainly depends on the gPC expansion approximation Equation (7); by properly choosing the type of gPC basis function and the expansion order P, the proposed methods can offer the optimal accuracy with the least number of equations among all the gPC-based methods.
  • Low computation burden. By fully utilizing the P-Q decoupling properties of load flow, the proposed method formed two constant Jacobian matrices in Newton’s iterations, which reduces the computation cost significantly.
  • Comprehensibility of the results. The gPC expansion can efficiently handle various random variables and form a functional relationship between the system random inputs and outputs, which is also known as the uncertainty propagation in UQ theory. Thus it can efficiently illustrate the effect of the random inputs on the outputs in PLF problem.
Since the future operating conditions of power system involve more uncertainty due to the growing penetration of distributed generation and renewable energy sources, the proposed method may be increasingly desirable. We believe that it would encourage more interest in UQ research for power systems, with more sophisticated uncertainties and less expenditures of calculation time and resources.

Acknowledgments

This work was supported in part by the National Natural Science Foundation of China under Grant 50907034, and in part by the National Key Basic Research Program of China (973 Program) under Grant 2012CB215203. The work of Y. Sun was supported by the China Scholarship Council for a one-year sabbatical study in the Galvin Center at the Illinois Institute of Technology, Chicago, IL, USA.

Author Contributions

Yingyun Sun proposed the research topic, modified the calculation model and revised the paper. Rui Mao designed the original model, performed the simulation, analyzed the data and wrote the draft of the paper. Zuyi Li and Wei Tian polished the manuscript and corrected spelling and grammar mistakes. All authors contributed to the writing of the manuscript, and have read and approved the final manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

B , B Jacobian matrices in PQ decoupled method
f P , f Q Nonlinear active, reactive load flow equations
F P , F Q Vector-matrix form of f P , f Q
G P , G Q PLF Galerkin system derived from F P , F Q
i Index of bus
J , J Constant Jacobian matrices in SG-PLF
N P Q , N P V Number of PQ and PV bus
P i S P , Q i S P Active and reactive powers injected to bus i
P ^ , Q ^ The gPC expansion coefficient of P S P , Q S P
P l i n e Active power line flow
r Number of Newton’s iterations
S P Q , S P V PQ and PV bus sets
v Wind speed of wind farm
θ , V Bus voltage angle and amplitude
θ , V Vector-matrix form of θ , V
θ ^ , V ^ The gPC expansion coefficient of θ , V
θ ^ , V ^ Vector-matrix form of θ ^ , V ^
Kronecker product operator

Appendix

Applying the gPC expansion of θ and V (see Equation (13)) in the derivation of Jacobian matrix J :
If i , j [ 1 , N 1 ] : J i , j ( k 1 , k 2 ) = G P ( i , k 1 ) θ ^ j , k 2 = n = 1 N f P i n θ j n θ j n θ ^ j , k 2 W n ψ k 1 n = n = 1 N f P i n θ j n ψ k 2 n W n ψ k 1 n ;
If i [ 1 , N 1 ] , j [ N 1 + 1 , N 2 ] : J i , j ( k 1 , k 2 ) = G P ( i , k 1 ) V ^ j , k 2 = n = 1 N f P i n V j n V j n V ^ j , k 2 W n ψ k 1 n = n = 1 N f P i n V j n ψ k 2 n W n ψ k 1 n ;
If i [ N 1 + 1 , N 2 ] , j [ 1 , N 1 ] : J i , j ( k 1 , k 2 ) = G Q ( i , k 1 ) θ ^ j , k 2 = n = 1 N f Q i n θ j n θ j n θ ^ j , k 2 W n ψ k 1 n = n = 1 N f Q i n θ j n ψ k 2 n W n ψ k 1 n ;
If i [ N 1 + 1 , N 2 ] , j [ N 1 + 1 , N 2 ] : J i , j ( k 1 , k 2 ) = G Q ( i , k 1 ) V ^ j , k 2 = n = 1 N f Q i n V j n V j n V ^ j , k 2 W n ψ k 1 n = n = 1 N f Q i n V j n ψ k 2 n W n ψ k 1 n
From the above derivation, we can see that the elements in Jacobian J are complex and need to be renewed during each iteration, B , B are the constant Jacobian matrices in a traditional P-Q fast decoupled load flow method [18], and the partial derivatives in J above can be rewritten as follows:
For i j : B ( i , j ) = f P i / θ j = B i j V i V j ; B ( i , j ) = ( f Q i / V j ) V j = B i j V i V j
f Q i / θ j = 0 ; f P i / V j = 0
For i = j : B ( i , i ) = f P i / θ i = V i V i B i i ; B ( i , i ) = ( f Q i / V i ) V i = V i V i B i i
f Q i / θ i = 0 ; f P i / V i = 0
Applying B , B in the derivation of J above, J changed into two constant Jacobian matrices J and J , which is shown as follows:
J = G P ( i , k 1 ) / θ ^ j , k 2 = B ( i , j ) n = 1 N ψ k 2 n W n ψ k 1 n ; J = G Q ( i , k 1 ) / V ^ j , k 2 = B ( i , j ) n = 1 N ψ k 2 n W n ψ k 1 n

References

  1. Lin, G.; Engel, D.W.; Esliner, P.W. Survey and Evaluate Uncertainty Quantification Methodologies. PNNL-20914 Rep. Richland. 2012. Available online: http://web.stanford.edu/group/uq/events/UQLS_stanford/Iaccarino.pdf (accessed on 1 March 2016).
  2. Borkowska, B. Probabilistic load flow. IEEE Trans. Power Appl. Syst. 1974, PAS-93, 752–759. [Google Scholar] [CrossRef]
  3. Cai, D.F.; Shi, D.Y.; Chen, J. Probabilistic load flow computation with polynomial normal transformation and Latin hypercube sampling. Gener. Transm. Distrib. 2013, 7, 474–482. [Google Scholar] [CrossRef]
  4. Cui, T.; Franchetti, F. A Quasi-Monte Carlo Approach for Radial Distribution System Probabilistic Load Flow. In Proceeding of the Innovative Smart Grid Technologies (ISGT), Washington, DC, USA, 24–27 February 2013; pp. 1–6.
  5. Morales, M.J.; Pérez-Ruiz, J. Point Estimate Schemes to Solve the Probabilistic Power Flow. IEEE Trans. Power Syst. 2007, 22, 1594–1601. [Google Scholar] [CrossRef]
  6. Dopazo, J.F.; Klitin, O.A.; Sasson, M.A. Stochastic load flows. IEEE Trans. Power Appl. Syst. 1975, 94, 752–759. [Google Scholar] [CrossRef]
  7. Soleimanpour, N.; Mohammadi, M. Probabilistic load flow by using nonparametric density estimators. IEEE Trans. Power Syst. 2013, 28, 3747–3755. [Google Scholar] [CrossRef]
  8. Morteza, A.; Mahmud, F. Probabilistic Load Flow in Correlated Uncertain Environment Using Unscented Transformation. IEEE Trans. Power Syst. 2012, 27, 2233–2241. [Google Scholar]
  9. Kolba, D.; Parks, W. A prime factor FFT algorithm using high-speed convolution. IEEE Trans. Acoust. Speech Signal 1977, 25, 281–294. [Google Scholar] [CrossRef]
  10. Zhang, P.; Lee, S.T. Probabilistic load flow computation using the method of combined cumulants and Gram-Charlier expansion. IEEE Trans. Power Syst. 2004, 19, 676–682. [Google Scholar] [CrossRef]
  11. Fan, M.; Vittal, V. Probabilistic Power Flow Studies for Transmission Systems with Photovoltaic Generation Using Cumulants, IEEE Trans. Power Syst. 2012, 27, 2251–2261. [Google Scholar] [CrossRef]
  12. Usaola, J. Probabilistic load flow with correlated wind power injections. Electr. Power Syst. Res. 2010, 80, 528–536. [Google Scholar] [CrossRef]
  13. Ruiz-Rodriguez, F.; Hernandez, J.; Jurado, F. Harmonic modelling of PV systems for probabilistic harmonic load flow studies. Int. J. Circuit Theory Appl. 2015, 43, 1541–1565. [Google Scholar] [CrossRef]
  14. Alireza, S.; Mehdi, E. A possibilistic-probabilistic tool for evaluating the impact of stochastic renewable and controllable power generation on energy losses in distribution networks-a case study. Renew. Sustain. Energy 2011, 15, 794–800. [Google Scholar]
  15. Wiener, N. The homogeneous chaos. Am. J. Math. 1938, 60, 897–936. [Google Scholar] [CrossRef]
  16. Xiu, D. Numerical Methods for Stochastic Computations: A Spectral Method Approach; Princeton University Press: Princeton, NJ, USA, 2010. [Google Scholar]
  17. Maitre, L.; Knio, O.; Omar, M. Spectral Methods for Uncertainty Quantification; Springer Netherlands: Dordrecht, The Netherlands, 2010. [Google Scholar]
  18. Pulch, R. Stochastic Collocation and Stochastic Galerkin Methods for Linear Differential Algebraic Equations. Available online: http://www.imacm.uni-wuppertal.de/fileadmin/imacm/preprints/2012/imacm_12_31.pdf (accessed on 1 March 2016).
  19. Xiu, D.; Hesthaven, J.S. High-order collocation methods for differential equations with random inputs. SIAM J. Sci. Comput. 2005, 27, 1118–1139. [Google Scholar] [CrossRef]
  20. Zhang, Z.; El-Moselhy, T.A.; Elfadel, I.M.; Daniel, L. Stochastic testing method for transistor-level uncertainty quantification based on generalized polynomial chaos. IEEE Trans. Comput. Aided Des. Integr. Circuits Syst. 2013, 32, 1533–1545. [Google Scholar] [CrossRef]
  21. Tang, J.J.; Ni, F.; Ponci, F.; Monti, A. Dimension-adaptive sparse grid interpolation for uncertainty quantification in modern power systems: Probabilistic power flow. IEEE Trans. Power Syst. 2015, 31, 907–919. [Google Scholar] [CrossRef]
  22. Li, Y.; Li, W.Y.; Yan, W.; Yu, J.; Zhao, X. Probabilistic Optimal Power Flow Considering Correlations of Wind Speeds Following Different Distributions. IEEE Trans Power Syst. 2014, 29, 1847–1854. [Google Scholar] [CrossRef]
  23. Aien, M.; Firuzabad, M.F. Probabilistic optimal power flow in correlated hybrid Wind–Photovoltaic power systems. IEEE Trans. Power Syst. 2014, 5, 130–138. [Google Scholar] [CrossRef]
  24. Smolyak, S.A. Quadrature and interpolation formulas for tensor products of certain classes of functions. Soviet Math. 1963, 4, 240–243. [Google Scholar]
  25. Gerstner, T.; Griebel, M. Numerical integration using sparse grids. Numer. Algorithms. 1998, 18, 209–232. [Google Scholar] [CrossRef]
  26. MATLAB Source Codes. Available online: http://people.sc.fsu.edu/~jburkardt/m_src/m_src.html (accessed on 15 October 2011).
  27. Stott, B.; Alsac, O. Fast decoupled load flow. IEEE Trans. Power App. Syst. 1974, PAS-93, 859–869. [Google Scholar] [CrossRef]
  28. Power Systems Test Case Archive. Available online: http://www.ee.washington.edu/research/pstca (accessed on 1 March 2016).
Figure 1. Structure of Jacobian matrix for an IEEE 14-bus test system with D = 4 before decoupling.
Figure 1. Structure of Jacobian matrix for an IEEE 14-bus test system with D = 4 before decoupling.
Energies 09 00153 g001
Figure 2. Structure of Jacobian matrix for IEEE 14-bus test system with D = 4 after decoupling.
Figure 2. Structure of Jacobian matrix for IEEE 14-bus test system with D = 4 after decoupling.
Energies 09 00153 g002
Figure 3. Flow chart of the proposed SG-PLF method.
Figure 3. Flow chart of the proposed SG-PLF method.
Energies 09 00153 g003
Figure 4. Calculation procedure of PLF by SGM, SCM and MCM.
Figure 4. Calculation procedure of PLF by SGM, SCM and MCM.
Energies 09 00153 g004
Figure 5. Modified calculation model of SG-PLF.
Figure 5. Modified calculation model of SG-PLF.
Energies 09 00153 g005
Figure 6. CDFs of θ 4 and V 4 under 1–3 order in IEEE-14 system: (a) θ 4 ( rad ) ; (b) V 4 ( p . u . ) .
Figure 6. CDFs of θ 4 and V 4 under 1–3 order in IEEE-14 system: (a) θ 4 ( rad ) ; (b) V 4 ( p . u . ) .
Energies 09 00153 g006
Figure 7. PDFs and CDFs of θ, V at the bus which has large fluctuation: (a) θ14(rad); (b) V4(p.u.).
Figure 7. PDFs and CDFs of θ, V at the bus which has large fluctuation: (a) θ14(rad); (b) V4(p.u.).
Energies 09 00153 g007
Figure 8. ε μ P 13 14 , ε σ P 13 14 of 3-order SG-PLF method under different WSC.
Figure 8. ε μ P 13 14 , ε σ P 13 14 of 3-order SG-PLF method under different WSC.
Energies 09 00153 g008
Figure 9. ε μ P 1 2 , ε σ P 1 2 of 3-order SG-PLF method under different WSC.
Figure 9. ε μ P 1 2 , ε σ P 1 2 of 3-order SG-PLF method under different WSC.
Energies 09 00153 g009
Figure 10. μ - P 13 14 , σ - P 13 14 of 3-order SG-PLF under different WSC.
Figure 10. μ - P 13 14 , σ - P 13 14 of 3-order SG-PLF under different WSC.
Energies 09 00153 g010
Figure 11. μ - P 1 2 , σ - P 1 2 of 3-order SG-PLF under different WSC.
Figure 11. μ - P 1 2 , σ - P 1 2 of 3-order SG-PLF under different WSC.
Energies 09 00153 g011
Figure 12. CDFs and PDFs of V 26 and θ 49 in IEEE-118 system: (a) V 26 (p.u.); (b) θ 49 (rad).
Figure 12. CDFs and PDFs of V 26 and θ 49 in IEEE-118 system: (a) V 26 (p.u.); (b) θ 49 (rad).
Energies 09 00153 g012
Table 1. Correspondence of gPC and their underlying random variables.
Table 1. Correspondence of gPC and their underlying random variables.
Variable TypegPC Basis Function
ContinuousGaussianHermite-gPC
GammaLauguerre-gPC
BetaJacobi-gPC
UniformLegendre-gPC
DiscreteBinomialKrawtchouk-gPC
PoissonCharlier-gPC
Negative binomialMeixner-gPC
HypergeometricHahn-gPC
Table 2. Mean and maximum of ER of SG-PLF under 1-3 order.
Table 2. Mean and maximum of ER of SG-PLF under 1-3 order.
x Order-P ε s mean x / 100 % ε s max x / 100 %
s = μs = σs = μs = σ
V 18.38 × 10−26.349.16 × 10−28.17
22.14 × 10−23.881.07 × 10−28.06
38.69 × 10−40.3321.13 × 10−32.32
θ 11.017.902.5010.3
20.7456.021.338.65
37.78 × 10−20.5820.1390.920
Table 3. Computation time comparison.
Table 3. Computation time comparison.
MethodExpansion Order PMCM
123
SCMSGMSCMSGMSCMSGM
Time/s0.0110.0110.0530.0990.1880.29813.326
Nodes (N)94114530,000
Table 4. Mean and maximum of ARMS of order-3 SG-PLF method.
Table 4. Mean and maximum of ARMS of order-3 SG-PLF method.
ARMS τ θ / 100 % τ V / 100 %
Mean1.60 × 10−41.24 × 10−5
Maximum3.13 × 10−42.14 × 10−5
Table 5. The frequency table of different methods.
Table 5. The frequency table of different methods.
Distribution Interval of V 4 Probability/100%
MCMSGMSCM
[1.0122,1.0146)0.960.960.95
[1.0146,1.0169)3.763.643.36
[1.0169,1.0193)7.687.798.17
[1.0193,1.0216)12.0811.8811.35
[1.0216,1.0240)15.1215.5415.69
[1.0240,1.0263)16.6416.4316.16
[1.0263,1.0287)15.2815.3115.52
[1.0287,1.0311)15.1215.1015.03
[1.0311,1.0334)8.568.698.97
[[1.0334,1.0358]5.045.014.80
Table 6. Mean and maximum of RE of order-3 SG-PLF with different load variance.
Table 6. Mean and maximum of RE of order-3 SG-PLF with different load variance.
x Ratio σ / μ ε s mean x / 100 % ε s max x / 100 %
s = μs = σs = μs = σ
V 10%2.76 × 1030.8991.15 × 1024.44
20%2.21 × 1030.6188.78 × 1034.55
30%2.65 × 1030.4221.37 × 1024.58
40%2.83 × 1030.3691.12 × 1024.23
θ 10%0.3162.480.7373.11
20%0.1822.130.2653.19
30%0.2641.270.7712.55
40%0.4981.750.6531.41
Table 7. Mean and maximum ERs and ARMSs of 3-order SG-PLF.
Table 7. Mean and maximum ERs and ARMSs of 3-order SG-PLF.
x ε s mean x / 100 % ε s max x / 100 % τ mean x / 100 % τ max x / 100 %
μσμσ
V 1.74 × 10−30.918.01 × 10−31.562.09 × 1063.40 × 105
θ 0.3132.150.9627.541.56 × 1056.11 × 105
Table 8. Summary on the factors influencing the performance of the proposed SG-PLF method.
Table 8. Summary on the factors influencing the performance of the proposed SG-PLF method.
Impacting FactorAccuracySpeed
Expansion order (P)
Efficiency of node generator
Dimension of random inputs
Dimension of random outputs
Variance of random inputs
WSC
Size of test system

Share and Cite

MDPI and ACS Style

Sun, Y.; Mao, R.; Li, Z.; Tian, W. Constant Jacobian Matrix-Based Stochastic Galerkin Method for Probabilistic Load Flow. Energies 2016, 9, 153. https://doi.org/10.3390/en9030153

AMA Style

Sun Y, Mao R, Li Z, Tian W. Constant Jacobian Matrix-Based Stochastic Galerkin Method for Probabilistic Load Flow. Energies. 2016; 9(3):153. https://doi.org/10.3390/en9030153

Chicago/Turabian Style

Sun, Yingyun, Rui Mao, Zuyi Li, and Wei Tian. 2016. "Constant Jacobian Matrix-Based Stochastic Galerkin Method for Probabilistic Load Flow" Energies 9, no. 3: 153. https://doi.org/10.3390/en9030153

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop