880
Views
6
CrossRef citations to date
0
Altmetric
Articles

Support Vector Machine State Estimation

, , & ORCID Icon

ABSTRACT

The power system state estimator based on the support vector machine (SVM) and the weighted least squares (WLS) method is presented in the paper. The WLS provides state estimations necessary for creating SVM model which is then used for state estimation. The developed algorithm was tested on the IEEE systems, and the performance indicators were calculated in order to compare the accuracy of estimation and the measurement error filtering. The results indicate that the proposed hybrid model outperforms the classical WLS-based state estimation in terms of accuracy and improves measurement error filtering in comparison to the classical estimator.

Introduction

The trend of growing population in developing economies, with goals of reaching already unsustainable energy consumption levels in the countries of a higher living standard, results in increasing energy demands worldwide. As the electric power system forms the backbone of modern lifestyle, special attention should be given to the optimization of its assets and operation. Although the sector of distributed generation was recognized as a potential solution for environmental issues and as a flywheel for stumbled national economies, the intermittent nature of the majority of plants imposes additional uncertainties in power system operation. Furthermore, the electric energy market operations often neglect technical restrictions in favor of a financial profit. Since the obsolete infrastructure was not designed for bidirectional energy and information flows, new concepts and technical solutions are needed in order to assist power utilities worldwide to cope with the challenging trends which result in power systems being operated closer to their stability limits and with lowered security margins.

Figure 3. The estimated states sum of relative variance and relative index change for the IEEE 30.

Figure 3. The estimated states sum of relative variance and relative index change for the IEEE 30.

Figure 4. The estimated states sum of relative variance and relative index change for the IEEE 57.

Figure 4. The estimated states sum of relative variance and relative index change for the IEEE 57.

Figure 7. Voltage magnitude estimation errors for the IEEE 14.

Figure 7. Voltage magnitude estimation errors for the IEEE 14.

Figure 8. Voltage angle estimation errors for the IEEE 30.

Figure 8. Voltage angle estimation errors for the IEEE 30.

Since it first appeared in the late 1960s (Schweppe, Wildes, and Rom Citation1970), the state estimator has been playing a significant role in the control centers worldwide as its output is used in the majority of subsequent applications. Therefore, extensive research tackled the field of the state estimation in order to enhance its performance in various aspects (Monticelli Citation1999; Abur and Gome–Exposito Citation2004). The emergence of modern sensors offered many benefits in various fields and many numerous were provided in order to optimally combine novel measurements with the conventional supervisory control and data acquisition (SCADA) measurements. Although sensing unit price has continuously been dropping, when it comes to larger power systems, it still presents a financial and a technical challenge to deploy numerous units.

The majority of control centers use the state estimators with the weighted least squares (WLS) method. The problem with WLS estimators based on SCADA measurements is the influence of bad data and imprecise measurements on its accuracy which is, in some cases, significant (Chen and Abur Citation2006). Different approaches have been suggested to solve this problem, e.g., linear regression (Haughton and Heydt Citation2013), artificial neural networks (Huang et al. Citation2010), adaptive Kalman filter (Zhang et al. Citation2014), etc.

To improve the effectiveness of WLS, a new model that uses an enhanced version of the support vector machine (SVM) algorithm is introduced. Due to the effectiveness in solving different machine-learning problems, such as short-term load forecasting (Ceperic, Ceperic, and Baric Citation2013), electricity price forecasting (Shiri, Afshar, and Rahimi-Kian Citation2015), and intrusion detection in SCADA systems (Leandros and Jiang Citation2014), SVMs have generated a lot of research interest among scientists. Some of the main advantages of SVM are higher tolerance to the increased complexity of the model and lower susceptibility to local minimal. The proposed model improves state estimator performance when compared to a classical WLS-only model.

This paper is organized as follows: The theoretical fundamentals are explained in the section on Theoretical Fundamentals, while the proposed solution is elaborated in the section on Support Vector Machine Theoretical Background. The cases used to test the solution and the obtained results are given in the section on Case Studies. The paper closes with the Conclusion section.

Theoretical Fundamentals

State Estimation Theoretical

Background

The classical state estimation theory, which presents a fundamental for the most of the estimators that run in the control rooms, uses the WLS. The classical state estimation approach is based on SCADA measurements (voltage magnitudes, power flows, and injections) that are combined in the vector of measurements (z), while the vector of state (x) includes phasors of voltage. The relationship between the state vector elements and power flows/injections is:

(1) z = h(x)+e(1)

where h(x) contains nonlinear equations, while e denotes errors in measurements. The measurement error covariance matrix denoted as z = h(x)+e (m is a number of measurements and σ is a standard deviation) is used to relate measurement weights to the accuracy of each measurement. The standard uncertainty may be calculated from the accuracy limits A (Al-Othman and Irving Citation2005; ISO – IEC – OIML – BIPM Citation2008):

(2) σ=A3(2)

The state estimator results in the optimal estimation by minimizing the objective function J(x):

(3) J(x)=12zh(x)TR1zh(x)(3)

The solution is obtained through an iterative algorithm, with the Gain matrix G(x) and the Jacobian matrix H(x), respectively:

(4) G(x)=HT(x)R1H(x)(4)
(5) H(x)=h(x)/x(5)

The change in the state vector is recalculated until the maximum change Δxkbecomes smaller than the predefined tolerance:

(6) G(xk)Δxk=HT(xk)R1zh(xk)(6)
(7) Δxk=xk+1xk(7)

The issue of the Gain matrix ill-conditioning, caused by the high weights of the measurements such as zero-injections (Abur and Gome–Exposito Citation2004), is dealt with by introducing a set of constraints:

(8) L(x,λ)=12[zh(x)]TR1[zh(x)]λTc(x)subjecttoc(x)=0(8)

That is minimized by using L(x,λ)/λ=0 andL(x,λ)/x=0. The system is solved for Δx and λ (the vector of the Lagrange multipliers):

(9) αHTR1HCTC0Δxλ=αHTR1(zh(xk))c(xk)(9)

where Δx=xk+1xk, C=c(x)/x, and α=1/max(diag(R1))are the scaling factors used to minimize the Gain matrix condition number.

Support Vector Machine Theoretical Background

This subsection summarizes the support vector regression (SVR) algorithm. The SVMs were introduced by Cortes and Vapnik (Citation1995) with the intention to be used in solving learning problems in regression and classification in a supervised manner.

SVMs were originally applied to classification problems (Cortes and Vapnik Citation1995) and then later even to regression problems (Drucker et al. Citation1996). Due to some theoretical guarantees, SVM provides great generalization properties in various classification and regression problems.

The formulation of SVM regression most commonly used is ε-tube support vector regression (ε – SVR, proposed by Vapnik) (Drucker et al. Citation1996). The main goal is to determine a linear function f, which has the largest difference ε than all data and simultaneously is flat as possible:

(10) fx=w,x+b,(10)

where the weight vector is w, x is associated input vector, and bR is a constant.

The flatness of the function f presupposes seeking a smaller vector w. One of the ways to obtain flatness is b minimizing thew2=w,w.

The most common way to calculate weight w is by transferring the SVR optimization problem to dual optimization and then applying quadratic programming.

A kernel function on vectors v and z is the function K>X. which fulfills:

(11) K(v,z)=Φv,Φz.(11)

Kernel function transformation input space in high-dimensional feature space and then the standard SVR algorithm can be applied (Smola and Schölkopf Citation2004). The radial basis function (RBF) is kernel function:

(12) K(v,z)=expγvz2         =expγv,v+z,z2v,z,for γ>0.(12)

The ε-SVR requires the selection of two parameters:

the regularization parameter C,

the ε-tube width,

while RBF requires the selection of the additional parameter γ, in Equation (12).

The library for SVM (LIBSVM) tool (Chang and Lin Citation2011)-based ε-SVR implementation is used in order to select the parameters, known as hyper-parameters. The selection of hyper-parameters is the most important step in building accurate and robust model. For example, an overfitting phenomenon may appear if the case where the value of hyper-parameter C is too large. The most common method for finding near-optimal parameters is a grid search (GS), as shown in Cao et al. (Citation2007), but the main problem is its time consumption.

Many researchers use the particle swarm optimization (PSO) method for optimization of the hyper-parameters (Ceperic, Ceperic, and Baric Citation2013; Cao et al. Citation2007). The main principle of the PSO optimization algorithm is based on the principles of swarm intelligence. The use of PSO enables more accurate and faster identification of near-optimal hyper-parameters compared to the GS method and other conventional methods.

In this paper, for SVM hyper-parameter optimization, the particle swarm pattern search method (PSwarm) is used, a technique inspired by PSO. PSwarm is actually a hybrid algorithm that combines, for global optimization, a heuristic approach (particle swarm) and, for local minimization, more rigorous method (pattern search). The PSwarm was introduced in Vaz and Vicente (Citation2007) where it was shown that PSwarm is very competitive in efficiency and has the best result when compared to other tested global optimization solvers. PSwarm combines the efficiency of PSO global and convergence properties of pattern search.

Support Vector Machine State Estimation

The proposed support vector machine state estimator (SVMSE) is a mixed model that improves the classical WLS model by introducing an additional SVR block. The block diagram of hybrid model for each state is shown in . The n past inputs and outputs from the WLS are actually used as inputs for building the additional SVR model. The SVR model is then used to calculate actual states by using actual measurements as inputs. For each state, the separate model is built so the number of models depends on the number of states. The determination of optimal hyper-parameters is done by cross-validation on 200 training samples. Once determined, they are used for building SVR models. All the variables used as input for SVR are normalized in the range [−1 1] as suggested in Ceperic, Ceperic, and Baric (Citation2013).

Figure 1. Support vector regression single state estimator block diagram.

Figure 1. Support vector regression single state estimator block diagram.

The optimal number of past inputs and outputs used to build an SVR model is determined by optimization on the training data set. The number of optimal past state is actually the number of past states in a given interval for which best results on training data set are obtained.

The advantage of hybrid model is not only in increased performance but also in avoiding the problem of convergence of classical WLS model. In that way, a more robust solution is obtained.

Case Studies

The proposed algorithm was tested on the systems of various topologies, sizes, and locations of measurements (Christie R., Power system test archive; http://www.ee.washington.edu/research/pstca.). The observability analysis was used to ensure the observability. In , the conventional SCADA measurement locations (buses) are shown.

Table 1. The IEEE 14 SCADA measurements.

Table 2. The IEEE 30 SCADA measurements.

Table 3. The IEEE 57 SCADA measurements.

Table 4. The IEEE 118 SCADA measurements.

The accuracy limits used to calculate the standard uncertainties for each type of measurements are given in . As the true measurements, the results of power flow calculation were used, while the Gaussian noise was added to simulate the noisy measurements.

Table 5. Maximum measurement uncertainties.

A total of 1000 trials were run, with randomly generated errors in measurements. The accuracy of the state estimator was expressed through the variance of the estimated states:

(13) σΣ2=1Mi=1Mj=1Lxˆj(i)xj2(13)

where xˆi is the vector of estimated states, while x is the vector of true states, M is the number of trials, and L is the number of variables.

The filtering index is calculated as:

(14) ξ(xˆ)=1Mi=1Mj=1m(zˆjzjtrue)2j=1m(zjzjtrue)2(14)

where zˆ and ztrue are the calculated and true values, respectively, while z are measurements containing noise.

For each of the test systems, a base scenario was simulated with 1000 Monte Carlo trials. To determinate systems, SVR hyper-parameters 200 Monte Carlo trials were used, while for finding the optimum number of past n measurements 100 trials were used. Following the calculation of the parameters and number of past measurements for SVR, the test systems were simulated for basic and other operating states in order to test the proposed state estimator performance in various scenarios. Therefore, for each test system, additional scenarios were simulated with a single branch, generator, or load outage, and for each additional scenario, 1000 Monte Carlo trials were carried out.

The relative variance and index are calculated as relative change between the variances of the estimated states and the filtering indices of the WLS and SVMSE, expressed in percentage. The sum is obtained as:

(15) sum=σWLS2σSVMSE2σWLS2ξxWLSξxSVMSEξxWLS(15)
(16) sum=relVar+relFidx(16)

where σWLS2 and σSVMSE2 are the variances of the estimated states of the models obtained by using expression (13), respectively, while ξxWLS and ξxSVMSE are the filtering indices for the models obtained using expression (14). The optimal number of past values for each test system is determined by selecting the largest relative difference between the WLS and SVMSE models, i.e., the largest sum. show the change of the sum of relative variance and relative index for the test systems with different number of past WLS values (lagged values), with the maximum values highlighted in dashed rectangles. The results for the base and the additional scenarios are obtained by simulating the power systems with the given optimal number of state vectors.

Figure 2. The estimated states sum of relative variance and relative index change for the IEEE 14.

Figure 2. The estimated states sum of relative variance and relative index change for the IEEE 14.

Figure 5. The estimated states sum of relative variance and relative index change for the IEEE 118.

Figure 5. The estimated states sum of relative variance and relative index change for the IEEE 118.

show the obtained results for the tests systems when simulating base and additional scenarios, in order to compare the performance of the SVMSE with the classical state estimator.

Table 6. Results for the IEEE 14.

Table 7. Results for the IEEE 30.

Table 8. Results for the IEEE 57.

Table 9. Results for the IEEE 118.

Comparing the results of the SVMSE and the classical state estimator, we can conclude that the accuracy and the measurement error filtering are enhanced since the indices are smaller for the SVMSE in all test scenarios. This is especially true for the base scenario where variances and filtering indices are lower by the order of magnitude. For other scenarios, the results are close or better for SVMSE. The proposed method is faster than the classical approach since the time needed to obtain the state estimate when using the SVMSE is also smaller when compared with the classical state estimator.

Visual results are given for the base scenario of the IEEE 14 and IEEE 30 test systems only. The estimation errors for these systems are shown in .

Figure 6. Voltage angle estimation errors for the IEEE 14.

Figure 6. Voltage angle estimation errors for the IEEE 14.

Figure 9. Voltage magnitude estimation errors for the IEEE 30.

Figure 9. Voltage magnitude estimation errors for the IEEE 30.

The presented results indicate that the proposed SVMSE estimates voltage angles and magnitudes with smaller errors.

Conclusion

In the paper, the state estimator based on the SVM regression and WLS method is presented. SVR is a machine learning technique known for its good generalization performance, and in this case, it is used to significantly improve the accuracy and effectiveness of the WLS model. The SCADA measurements and states estimated by the WLS model are used as an input of the SVR model. The output of the state estimator is an improved estimation of the complete system.

The algorithm is tested on the IEEE systems, and the performance indicators were calculated in order to compare the accuracy of estimation and the measurement error filtering.

When compared with the WLS-only estimator, it was shown that the proposed model enhances the state estimation accuracy since it provides the estimation of the state vector elements closer to the true values. Furthermore, the measurement error filtering is improved. In addition, the proposed method was shown to outperform the classical one in terms of computational efficiency. Therefore, the proposed method can be utilized as an efficient solution for the power utilities.

Additional information

Funding

This work has been fully supported by the Croatian Science Foundation under the project IP-2018-01-3739 and the University of Rijeka under the projects uniri-tehnic-18-17 & uniri-tehnic-18-15.

References

  • Abur, A., and A. Gome–Exposito. 2004. Power system state estimation – Theory and implementation. New York: Marcel Dekker.
  • Al-Othman, A., and M. Irving. 2005. Uncertainty modelling in power system state estimation. IET Generation, Transmission & Distribution 152:233–39. doi:10.1049/ip-gtd:20041167.
  • Cao, C., J. Xu, Q. Peng, K. Wang, Y. Qiu, Y. Pu, X. Luo, and B. Shuai. 2007. Short-term traffic flow predication based on PSOSVM. Proceeding 1st Int. Conf. Transportation Eng. Amer. Soc. Civil Eng., Chengdu, China, vol. 246, pp. 28–28.
  • Ceperic, E., V. Ceperic, and A. Baric. 2013. A strategy for short-term load forecasting by support vector regression machines. IEEE Transactions on Power Systems 28:4356–64. doi:10.1109/TPWRS.2013.2269803.
  • Chang, C. C., and C. J. Lin. 2011. LIBSVM: A library for support vector machines. ACM Transaction on Intelligent Systems and Technology 1–27. doi:10.1145/1961189.1961199.
  • Chen, J., and A. Abur. 2006. Placement of PMUs to enable bad data detection in state estimation. IEEE Transactions on Power Systems 21:1608–15. doi:10.1109/TPWRS.2006.881149.
  • Cortes, C., and V. Vapnik. 1995. Support-vector networks. Machine Learning 20:273–97. doi:10.1007/BF00994018.
  • Drucker, H., C. Burges, L. Kaufman, A. Smola, and V. Vapnik. 1996. Support vector regression machines. Advances in Neural Information Processing Systems 9:155–61.
  • Haughton, D., and G. Heydt. 2013. A linear state estimation formulation for smart distribution systems. IEEE Transactions on Power Systems 28:1187–95. doi:10.1109/TPWRS.2012.2212921.
  • Huang, C., C. Lee, K. Shih, and Y. Wang. 2010. Bad data analysis in power system measurement estimation using complex artificial neural network based on the extended complex kalman filter. European Transactions on Electrical Power 20:1082–100. doi:10.1002/etep.386.
  • ISO – IEC – OIML – BIPM. 2008. Guide to the expression of uncertainty in measurement Accessed January 01 2018. https://www.bipm.org/utils/common/documents/jcgm/JCGM_100_2008_E.pdf.
  • Leandros, A. M., and J. Jiang. 2014. Intrusion detection in SCADA systems using machine learning techniques. Science and Information Conference (SAI), London, UK, pp. 626–31.
  • Monticelli, A. 1999. State estimation in electric power systems – A generalized approach. Massachusetts: Kluwer Academic Publishers.
  • Schweppe, F., J. Wildes, and D. Rom. 1970. Power system static-state estimation, parts 1, 2 and 3. IEEE Transactions Power Apparatus and Systems 89:120–35. doi:10.1109/TPAS.1970.292678.
  • Shiri, A., M. Afshar, and A. Rahimi-Kian. 2015. Electricity price forecasting using support vector machines by considering oil and natural gas price impacts. IEEE International Conference on Smart Energy Grid Engineering (SEGE), Oshawa, Ontario, Canada, pp. 1–5.
  • Smola, A., and B. Schölkopf. 2004. A tutorial on support vector regression. Statistics and Computing 14:199–222. doi:10.1023/B:STCO.0000035301.49549.88.
  • Vaz, A., and L. Vicente. 2007. A particle swarm pattern search method for bound constrained global optimization. Journal of Global Optimization 39:197–219. doi:10.1007/s10898-007-9133-5.
  • Zhang, J., G. Welch, G. Bishop, and Z. Huang. 2014. A two-stage kalman filter approach for robust and real-time power system state estimation. IEEE Transactions on Sustainable Energy 2:629–36. doi:10.1109/TSTE.2013.2280246.

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.