You are on page 1of 5

Variable Parameter Kalman Filter Based Dynamic

Harmonic State Estimation for Power Systems with


Wind Energy Integration

Tianlei Zang Yan Wang Hongbin Sun Zhengyou He


Department of Electrical School of Electrical Department of Electrical School of Electrical
Engineering Engineering Engineering Engineering
Tsinghua University Southwest Jiaotong Tsinghua University Southwest Jiaotong
Beijing, China University Beijing, China University
zangtianlei@126.com Chengdu, China shb@tsinghua.edu.cn Chengdu, China
wangyanchn_cd@163.com hezy@swjtu.cn

Abstract—In order to improve the accuracy of harmonic state of fluctuation amplitude in the whole regional power grid. Thus,
estimation in power systems with wind energy integration, a the estimation method of harmonic current is difficult to
variable parameter Kalman filter model based on historical accurately track the fluctuation of harmonic currents, which
harmonic information is proposed. In this model, the high brings great challenge to harmonic state estimation.
frequency and the low frequency components of the historical
harmonic wave is obtained through the wavelet filter. The Low- In the power systems with wind energy integration,
frequency component of historical harmonic is used to calculate harmonics are changing because of the strong fluctuation
the state transition matrix, and then a variable parameter characteristics of the wind turbine harmonics [8]. So the
Kalman filter algorithm is adopted to solve the model. The dynamic harmonic state estimation technique is used to track
numerical experiment executed on the IEEE13-bus system the change of harmonic state over time to carry out accurate
showed that the proposed method improved the accuracy of the evaluation. Compared with the static harmonic state estimation,
state estimation in the power systems with wind energy the dynamic harmonic state estimation has the capability of
integration compared with the classical Kalman filter method. short-term state prediction in addition to the harmonic state of
the moment, and the predicted state can be used to correct the
Keywords—power system;澔 wind energy integration; harmonic final result as a priori estimate in the next step [9-11].
state estimation; wavelet filter; variable parameter Kalman filter
The dynamic harmonic state estimation method is based on
I. INTRODUCTION Kalman filter (KF), which provides recursive solution by a
time domain optimal estimation. Beises and Heydt adopted KF
The harmonic state estimation can obtain the harmonic state algorithm and selected active and reactive power as
in the whole network by using the measurement data from a measurements in [9], because of the controversy of the
small amount of measurement device, and it is the key definition of harmonic reactive power under waveform
technology in the field of harmonic analysis of power system distortion, it may result in erroneous estimation. A state
[1-3]. estimation model is presented in [10] where the harmonic
In recent years, wind power has been developed rapidly in voltage is considered as state parameter, harmonic voltage and
the power system with its pollution-free, resource-rich and current are considered as measurements. The basic structure of
renewable characteristics. Large-scale wind farm transmit harmonic measurement system is described, and the basic
electricity through long-distance high-voltage direct current problem of harmonic state estimation is introduced. An
transmission into the network, small-scale wind farms transmit adaptive Kalman filtering algorithm is proposed in [11], where
electricity in the form of distributed power supply to the the system noise covariance matrix is switched between the
transmission and distribution networks. Wind power uses zero matrix and the unit matrix. The system state is judged by
inverter to integrate into the power grid, and the inverter causes the hypothesis test of the measured data, when the system is in
harmonic injection, so the grid-connected wind farm becomes a steady state, the system noise covariance matrix is set to the
new harmonic source in electrical power systems [4-5]. Wind zero matrix, when the system is in the transient state, and it is
power is affected by geo-meteorological factors, which has set as a unit matrix. By changing the system noise covariance
randomness and intermittence. The grid-connected inverter matrix to reset the Kalman gain, it avoids the divergence of the
works under the changing state, as a result, the harmonics Kalman filter under the steady state switching to the dynamic
injected into the power grid also have randomness and condition. However, in the power grid under the concept of
intermittence [6-7]. The stochastic and intermittent energy Internet, the majority network is in a transient situation,
characteristics of harmonics injected by the grid-connected the above method in improving accuracy is not significant.
wind farm cause the randomness of harmonics and the increase

‹,(((
In these dynamic harmonic state estimation models, the parameter Kalman filter method is verified by numerical
state parameters are assumed to be unchanged between two experiments. Section II is the overview of the proposed method.
estimated moments, which is the state transition matrix in the Section III introduced the basic principle of the variable
state equation is set as a unit matrix. However, in reality the parameter Kalman filter algorithm based on historical
harmonic state is changing all the time, so the assumption harmonic information. The numerical experiment is showed in
makes the Kalman filter lose the predictive advantage of section IV.
dynamic state estimation. At the same time, the estimated error
is brought into the model [9-11]. II. OVERVIEW OF THE METHED
The high frequency and the low frequency components of First, the historical harmonic current is filtered to obtain the
historical harmonics are rich in dynamic information as in [12]. low frequency component and the high frequency component.
In order to establish a more accurate harmonic state estimation Then the low frequency component which reflects the
model in this paper, the information of the historical harmonic fluctuation regularity of the harmonic current is used as the
current is extracted as to models the state equation of KF. And prediction of the harmonic current state in the next moment.
the model contains predictive function is achieved. The Meanwhile, the state transition matrix parameter is calculated,
variable parameter KF method is used to improve the and the harmonic current is estimated by a variable parameter
estimation precision. The validity of the proposed variable Kalman filtering algorithm.

Fig. 1. The proposed harmonic state estimation method based on variable parameter Kalman filter

z k H k ik  w k
III. VARIABLE PAREMETER KALMAN FILTERING ALGORITHM    
BASED ON HISTORICAL HARMONIC INFORMATION where ik  R represents the injected harmonic current
n

The classical dynamic harmonic state estimation technique corresponding to the k-th estimate moment, that is, the state
is commonly used Kalman filter model. Firstly, the classical parameter. zk [uk , bk ]  Rm represents the measurement, and
harmonic state estimation model is introduced, and then the uk is the node harmonic voltage while bk is the branch
variable parameter Kalman filter model is presented in this
section. harmonic current respectively. Fk represents the state
transition matrix and H k represents the measurement matrix.
A. Classical Dynamic Harmonic State Estimation Model vk  Rn denotes the noise from the system while wk  R m 
The dynamic harmonic state estimation model is consisted denote the noise from measurement.
of the state equation and the measurement equation, as (1) and
(2) respectively. The covariance matrices of v k and w k are as (3) and (4)

ik 1 Fk ik  vk Qk =E[vk vkT ] (3)


   
Rk E[ wk wkT ] (4) usually obtained by calibrating the harmonic measuring device
[15]. The covariance matrix of system noise is estimated by
where, E[ ] is the expectation. Qk and Rk represents the
high frequency component as in (7).
covariance matrix of system noise and measurement noise
respectively. Qk E[ikf ikfT ] (7)
Presently, it is considered that the interval between two The calculation process can be divided into two parts: Time
consecutive estimate moments is short, so the state parameter update step and measurement update step as in [16].
remains unchanged. As a result, the state transition matrix is
set as a unit matrix. However, the unchanged assumption of 1) Time update step
harmonic state ignored the fluctuation characteristics of a) Prediction of state as in (8).
harmonics injected by wind farm.
 iˆ  F iˆ 
k 1 k k (8)
B. The Extraction of Historical Harmonic Information
b) Prediction of error covariance matrix as in (9).
Measurement data of harmonic source contain rich
harmonic dynamic information, which is usually consisted of  Pk1 Fk Pk FkT  Qk (9)
two parts, low frequency component and high frequency 2) Measurement update step
component [12]. The low frequency component is a) Calculation of Kalman gain as in (10).
characterized by the variation of the wind energy with the
seasons and the time in a day. It is also influenced by the grid-  Gk Pk H kT ( H k Pk H kT  Rk )1 (10)
connected control strategy of the wind farm. The high b) Update state according to the measurement as in (11).
frequency component is characterized by the random
iˆ iˆ   G ε (11)
fluctuation of the harmonic wave, which is caused by the k k k k

randomness of wind speed, electrical behavior and equipment c) Update the error covariance matrix as in (12).
state. Pk ( I  Gk H k ) Pk (12)
The low frequency component contains the regularity where ɾ iˆk is the estimate of state parameter; Pk is the
information of the harmonic wave, because the regularity of the
electricity behavior causes the electric power load operation estimate of error covariance matrix; εk zk  H k iˆk is the
also have certain rule, namely the ordinary harmonic load new information contained in the measurement. I
fluctuation has the daily periodicity. The harmonics caused by represents the identity matrix.
wind power also have certain periodicity for the wind speed
existence regular law [13].
IV. NUMERICAL EXPERIMENT
The historical harmonic current data in a day 0:00-24:00 The proposed approach is tested on the IEEE13-bus test
from each node is divided by five-layer discrete wavelet filter system. The system is powered by 69kV bus, and the rated
using Meyer wavelet basis function [14]. The i-th layer wavelet voltage of local bus is 13.8 kV and system reference capacity is
filter can decompose the original signal into the trend 10000kVA. The main parameters are set according to [17].
component cAi and the detail component cDi. After the five-
layer wavelet filter, the cA5 is the low frequency component, The system harmonics measurement data are obtained by
the harmonic power flow. The real load fluctuation is simulated
¦
5
and the sum of the detail components of each layer cDi is
i 1 with a set of normalized real load, and the harmonic source
the high frequency component. namely the nonlinear load is modeled as the constant power
load, and after obtaining the result of the fundamental current,
ik iks  ikf (5) the six pulse wave rectifier [17] is employed as the harmonic
s f
where, i k is the historical harmonic current, ik and ik are the injection device. The nonlinear loads are connected to bus 7
low frequency component and high frequency component and 10 while the wind farm is integrated to bus 13, the
respectively. geographical and electrical distance of each harmonic source is
far, which agree with the actual situation in the grid.
The state transition matrix is calculated according to the
low frequency component: The results of the harmonic power flow corresponding to
the measurement node are regarded as measurement dada while
Fk iks1 / iks (6) the "noise measurement" is obtained by adding random noises.
The state transition matrix of the edge of the data segment Use 5 minutes as the data interval, simulated 288 data in a day.
is computed with the starting point and the end point as In the harmonic state estimation process, the information about
FN i1s / iNs , where N is the sampling number in a day. the harmonic source expect for the measurement data are
assumed to be unknown.
C. Variable Parameter Kalman Filter Algorithm
The above described model is solved by the variable
parameter KF algorithm, the covariance matrix of measurement
noise and the covariance matrix of system noise need to be set
beforehand. The covariance matrix of measurement noise is
Fig. 2. The IEEE 13-bus test system Fig. 5. The actual value and the estimation value of harmonic current at bus 10

The harmonic state estimation is executed by the proposed


variable parameter KF method on the IEEE13-bus system just
mentioned. The historical harmonic extraction result of bus 7 is
shown in Fig 3.

Fig. 6. The actual value and the estimation value of harmonic current at bus 13

It can be seen from the above Figures that the proposed


method have satisfactory estimation results. Fig. 4~5 exhibit
good results for nonlinear load connected while Fig.6 exhibit
good results for wind farm integration. The harmonic form
Fig. 3. The historical harmonic and its low frequency component at bus 7 wind farm show intermittent characteristic for the intermittent
work of wind turbines. The proposed method can track the
From the Fig. 3 above, it can be seen that the low frequency trend of harmonic fluctuation and consistent with the actual
component reflects the main trend of the historical harmonic. value of harmonic current. . Classical Kalman filter method is
Wavelet filter method can effectively extract the information also used in dynamic harmonic estimation. It is compared with
from historical harmonics. The actual harmonic current value the variable parameter Kalman filer to demonstrate the validity
and the estimation result of the proposed method are shown in of the proposed method. The estimation accuracy of harmonic
Fig. 4~6. current is quantified by mean absolute percent error (MAPE),
mean absolute error (MAE) and mean square error (MSE)
respectively. The MAPE, MAE and MSE between the
estimation results and the actual value are shown in Table I.

TABLE I. TABLE OF ERROR BETWEEN THE ESTIMATION RESULTS AND


THE ACTUAL VALUE OF HARMONIC CURRENT

Bus Estimated error


Method
Number MAPE MAE MSE
Classical KF 0.0105 2.2375e-4 2.9790e-6
7 Variable
0.0077 1.6385e-4 2.9260e-6
Parameter KF
Classical KF 0.0099 2.0613e-4 2.7946e-6
10 Variable
0.0076 1.5832e-4 2.7579e-6
Parameter KF
Classical KF 0.1161 1.3355e-4 5.9665e-8
13 Variable
Fig. 4. The actual value and the estimation value of harmonic current at bus 7 0.0356 0.3723e-4 0.6541e-8
Parameter KF
It can be seen from the table that the proposed method have [2] S. Meng, X. Xiao, Y. Zhang, Y. Huang, F. Chen, “A Valid Data
a smaller error under three kinds of error indicators. That is the Selection Method in Estimating Harmonic Impact of Individual Loads,”
Power System Technology. Beijing, vol. 41, pp. 2006-2011, June 2017.
proposed method possess better harmonic estimation ability
[3] Y. Wang, T. Zang, Z. He, “Harmonic State Segmented Estimation
under power systems with wind energy integration. Method Under Condition of Power Grid Parameters Change,”
Automation of Electric Power Systems. Nanjing, vol. 40, pp. 2,
V. CONCLUSION September 016.
[4] S. Liang, Q. Hu, W. Lee, “A Survey of Harmonic Emissions of a
In order to take full advantage of the prediction ability of Commercially Operated Wind Farm,” IEEE Transactions on Industry
dynamic harmonic state estimation and solve the problem of Applications.New York, vol. 48, pp. 1115-1123, May 2012.
harmonic state estimation under the condition of power [5] S.T. Tentzerakis, S.A Papathanassiou, “An Investigation of the
systems with wind energy integration, this paper established an Harmonic Emissions of Wind Turbines,” IEEE Transactions on Energy
dynamic harmonic state estimation model based on historical Conversion. New York, vol. 22, pp. 150-158, March 2007.
harmonic information. The historical harmonic information is [6] L. Sainz, J.J. Mesas, R. Teodorescu, P Rodriguez, “Deterministic and
Stochastic Study of Wind Farm Harmonic Currents,” IEEE Transactions
extracted by a wavelet filter method. And it is used to predict on Energy Conversion. New York, vol. 25, pp. 1071-1080, December
the harmonic state and calculate the state transition matrix for 2010.
the next step. The variable parameter KF method is adopted [7] M.H.J. Bollen, K. Yang, “Harmonic aspects of wind power integration,”
and the following conclusions are summarized. Journal of Modern Power Systems & Clean Energy. Berlin, vol. 1, pp.
14-21, April 2013.
1) The low frequency components which is rich in [8] G. Yu, T. Lin, X. Xu, J. Ye, S. Zhou, R. Chen, “An Algorithm Based on
harmonic dynamic information are obtained by wavelet filter. 2m+1 Point Estimate Method for Harmonic Probabilistic Load Flow
These information are used to predict the harmonic state and Calculation of Power Systems Incorporating Wind Power,” Power
System Technology. Beijing, vol. 39, pp. 3260-3265, November 2015.
improve the precision of the model.
[9] H.M. Beides, G.T. Heydt, “Dynamic state estimation of power system
2) The variable parameter Kalman filtering method is harmonics using Kalman filter methodology,” IEEE Transactions on
proposed to update the state transfer matrix according to the Power Delivery. New York, vol.6, pp. 1663-1670, October 1991.
historical information. The proposed method improve the [10] A.P.S Meliopoulos, F. Zhang, S. Zelingher, “Power system harmonic
adaptability under the power systems with wind energy state estimation,” IEEE Transactions on Power Delivery. New York, vol.
9, pp. 1701-1709, July 1994.
integration.
[11] K.K.C. Yu, N.R. Watson, J. Arrillaga, “An adaptive Kalman filter for
3) The dynamic harmonic state estimation model based on dynamic harmonic state estimation and harmonic injection tracking,”
historical harmonic information is applicable to the wind IEEE Transactions on Power Delivery. New York, vol. 20, pp. 1577-
energy integrated power system. It is also suitable for the 1584, April 2005.
harmonics injected by photovoltaic and other distributed [12] E. Gursoy, D. Niebur, “Harmonic Load Identification Using Complex
Independent Component Analysis,” IEEE Transactions on Power
power source which is connected to electrical power systems Delivery. New York, vol. 24, pp. 285-292, January 2009.
through inverter. [13] H.H. Letas, “Wind farm harmonic predictor and method for predicting
harmonics,” July 2016.
ACKNOWLEDGMENT [14] J. Li, C. Wu, L. Long, J. Zhai, “Nonstationary Random Signal
The authors acknowledge the support by the National Processing Based on Wavelet Transform,” Chinese Journal Of
Engeering Mathematics. Beijing, vol. 18, pp. 99-104, December 2001.
Natural Science Foundation of China under Grant 51407150,
[15] W. Min, Z. Zhou, Z. Zhou, “Application of Improved Sage-Husa
and the Innovative Think-tank Foundation for Young Scientists Kalman Filter in Voltage Sag Detection,” Power System Technology.
of China Association for Science and Technology under Grant Beijing, vol. 37, pp. 230-234, January 2013.
DXB-ZKQN-2017-042. [16] Z. Yin, L. Xiao, X. Sun, J. Liu, Y. Zhong, “A Speed Estimation Method
of Fuzzy Extended Kalman Filter for Induction Motors Based on
Particle Swarm Optimization,” Transactions of China Electrotechnical
Society . Beijing, vol. 31, pp. 55-65, March 2016.
REFERENCES [17] R. Abu-Hashim, R. Burch, G. Chang, E. Gunther, “Test systems for
[1] J. Chen, L. Fu, T. Zang, Z. He, “Harmonic Responsibility Determination harmonics modeling and simulation,” IEEE Transactions on Power
Considering Background Harmonic Fluctuation,” Electric Power Delivery . New York, vol. 14, pp. 579-587, April 2002.
Automation Equipment. Nanjing, vol. 36, pp. 61-66, May 2016.

You might also like