Performance of Flocking-Based Control Schemes in Smart Grid Applications Abdallah K. Farraj Eman M. Hammad Jin Wei Deepa Kundur Karen L. Butler-Purry Department of Electrical and Computer Engineering, University of Toronto, Toronto, Ontario, Canada Department of Electrical and Computer Engineering, Texas A&M University, College Station, Texas, USA Email: {abdallah, ehammad, jinwei, dkundur}@ece.utoronto.ca, klbutler@tamu.edu Abstract Flocking control has recently been used in smart grid applications to stabilize power systems during a transient instability period. Based on consensus and cooperation of multiagent control systems, flocking control uses cyber information about the power system to help achieve stability after the occurrence of a fault in the power system. Recent work showed that such controller can be useful in a smart power grid; however, issues of the controller s power usage, stability time, and frequency deviation have not been investigated yet. This paper investigates the effect of the power generators inertia on these issues in a WECC 3-generator power system. Results of this work show that the location of the fault affects the relationship between the generators inertia and the investigated measures. I. INTRODUCTION Interest in smart grid systems has surged recently. Smart grid systems use advanced control, communications, and sensor technologies to improve the efficiency and resilience of the power grid. Further, smart grid technologies can help utility companies to better manage and control the energy resources and meet the customers demand. In addition, the increasing integration of renewable energy sources and storage units into the power grid accelerates the interest of adopting smart grid technologies. The cyber assets of a smart grid include communication and information technology infrastructures, computing systems, and data storage units. Cyber data can be collected over the power grid using phasor measurements units (PMUs) and remote terminal units (RTUs); this data can be transferred, as an example, to supervisory control and data acquisition (SCADA) systems using fiber optics communication links. The timely availability of the system s cyber data can help a control center better stabilize the power system. A flocking-based control is a nonlinear control that is based on consensus and cooperation of multi-agent control systems. In general, a flocking scheme can be used to control flockmates (or agents) to achieve [], [2]: flock centering where an agent stays close to nearby agents; collision avoidance where an agent avoids colliding with nearby agents; and velocity matching where an agent attempts to match the speed of nearby agents. For a power system application, the flock centring feature can be used to achieve phase angle cohesiveness while the velocity matching feature can be used to achieve frequency synchronization between the generators of the power system. A recent work in [3] [6] employed the concepts of flocking control to aid the generators achieve stability during a transient instability period. The proposed flocking controller employs the cyber information about the system into a nonlinear controller to help the power system achieve stability after the occurrence of a fault in the power grid. A local controller is used for each generator, and an external, fast-acting, power source is employed by each controller. The goal of the controller is to achieve frequency stability and phase cohesiveness when the power system undergoes a transient instability. Although the work of [3] [7] shed a light on the application of flocking control for smart grids, the impact of having different generators parameters on the performance of the controller was not investigated. Further, some performance measures were not considered. For example, the stability time of the system generators, the average power used by the controller, and the frequency deviation of the generators have not been investigated yet. This paper investigates the performance of the flocking control in a smart grid application. Specifically, this work explores the effect of the inertia of the power generators on the power usage, stability time, and average frequency for a WECC 3-generator power system. The rest of this paper is organized as follows. System model is shown in Section II. Section III investigates the performance of the flocking control. Conclusions and final remarks are shown in Section IV. II. SYSTEM MODEL Flocking-based control can be used to achieve transient stability in case of a fault in the power system. In this setup, a local controller is used for each generator and an external power source is employed by each controller. A schematic of the WECC 3-generator power system is shown in Fig.. In this power system, Bus is the slack bus, Buses 2 and 3 are PV buses, and Buses 7 and 8 are PQ (load) buses. The parameters of the power system s generators are shown in Table I, where and D i are expressed in seconds, δ i is expressed in radians per second, and the rest are expressed in per units. The swing equation links the system parameters in a differential equation, and it can be used to study the transient 978--4799-7088-9/4/$3.00 4 IEEE 233
!!" "!!! "! " " &%$$$! &!%&' & ' ( '! ' ( ) $ % "%*$(!%""'' ) $ "!%$&&& ( '" ( ' & (!%&"! Fig.. WECC power system model * $ % *!%' &%' &!%&( $ stability of a power system. Further, during the transient instability duration, the system parameters can be considered constant. Consequently, a swing equation with time-invariant parameters can be used to model the power system dynamics during the transient instability period. Parameter E i P e,i P m,i D i δ i ω i X di G ii Description internal voltage of Generator i, i =,...,N electrical power of Generator i mechanical power of Generator i inertia of Generator i damping constant of Generator i rotor angle of Generator i relative normalized rotor frequency of Generator i direct-axis transient reactance of Generator i equivalent shunt conductance of Generator i TABLE I SYSTEM PARAMETERS Let δi and ω i denote the derivatives of δ i and ω i with respect to time, respectively, then the swing equation of an interconnected power system is expressed as [8], [9] ω i + (P m,i P e,i ), where the electrical power of Generator i is defined as P e,i = E i E k [G ik cos(δ i δ k )+B ik sin(δ i δ k )], k= (2) where N is the number of generators in the power system, G ik = G ki 0 is the Kron-reduced equivalent conductance between Generators i and k, B ik = B ki > 0 is the Kronreduced equivalent susceptance between Generators i and k, and Y ik = G ik + B ik is the Kron-reduced equivalent admittance between Generatorsi and k. All of Y ik, G ik, and B ik ) are expressed in per unit values. Using φ ik = arctan( Gik B ik and P ik = E i E k Y ik, then the swing equation is reduced into ( ) ω i + M Pm,i i E i 2 G ii (3) P ik sin(δ i δ k +φ ik ). k=,k i () 8 6 4 2 0 2 4 Generator Generator 2 Generator 3 0 5 5 Time (sec) Fig. 2. Relative normalized frequency of the system generators Without a governor control, as described in Eqs. () and (3), the generators cannot stabilize the power system whenever there is a fault in any bus in the system. However, using external controllers can help stabilize the power system during the transient instability period. Applying an external power at Generator i, termed as U i, changes the swing equation into ( ) ω i + M Pm,i i E i 2 G ii P ik sin(δ i δ k +φ ik )+ U i. k=,k i In a flocking-based control, U i can be used to achieve both frequency synchronization and phase cohesiveness between the system generators. Specifically, U i is calculated as [3] t U = Gδ Bω D c(δ δ 0 ), (5) k= k i t 0 ρ(δ i δ k )dt where U = [U,U 2,...,U N ] T, t 0 is the time to activate the flocking control, t is the time to calculate the value of the control, ρ is a control function, c is a navigation term, δ 0 = [δ 0,δ 02,...,δ 0N ] T are the phase values at t 0, D = [D,D 2,...,D N ] T, δ = [δ,δ 2,...,δ N ] T, and ω = [ω,ω 2,...,ω N ] T. Moreover, B and G are cyber control matrices. It is noted that the model of the local generators does not include a governor control. The presence of a governor controller helps the generator during the instability duration; however, the governor control is much slower than the flocking controller. Consequently, it is believed that if the flocking controller stabilizes the system without the governor control, the power system will also be stable when the governor control is activated. III. EVALUATION OF FLOCKING CONTROL The impact of the generators inertia on the flocking controller s performance is investigated in this section. Specifically, the stability time and the average frequency of the power system s generators, and the average external power needed by the controller are considered. The WECC 3-generator test system is simulated to demonstrate the effectiveness of the flocking control. (4) 234
Stability time of Generator (b) M 3 = msec Average power of U (b) M 3 = msec M (d) M 3 = msec Stability time of Generator 2 M (d) M 3 = msec Average power of U 2 M (f) M 3 = msec Stability time of Generator 3 M (f) M 3 = msec Average power of U 3 Fig. 3. Stability time of the system generators Fig. 4. Average external power needed by the flocking controller As shown in Fig., N = 3 for the 3-generator power system. Let D = 0.005 seconds, D 2 = 0.00 seconds, D 3 = 0.002 seconds, X d = 0.08 pu, X d2 = 8 pu, and X d3 = 2 pu. The value of is varied between 5 to 75 msec, is varied between 2.5 to 25 msec, and the value of M 3 is alternated between 25 and msec. Running the load flow analysis for the power system before the fault occurs yields E =.62 7.605, E 2 =.26 8.904, and E 3 =.244 4.024. Because the power system is balanced and there are no transients before the fault, the mechanical power for each generator equals its electrical power. Consequently, using Eq. (2), the values of the mechanical power for each generator, in per unit values, are P m, =.9989, P m,2 = 66, and P m,3 =.6. The power system is assumed to be running normally from t = 0 to t = 0.5 seconds. However, a 3-phase fault occurs at Bus 6 at t = 0.5 seconds. Then, Line 6-7 is tripped out to clear the fault at t = seconds. Finally, the flocking controller is activated on all generators from t = 0.7 seconds to t = seconds. Stability time of a generator is found by finding the time after which the relative normalized frequency of the generator is restricted to some threshold (called stability margin). For = msec, = 5 msec, and M 3 = 35 msec, Fig. 2 displays the relative normalized frequency of the three generators. It is noted that when the stability margin is set to, the three generators need slightly more than 6 seconds to stabilize. Stability time results of the three generators are shown in Fig. 3. It is noted that the stability time increases with increasing the inertia of Generator 2. Moreover, when M 3 increases, the stability time is expected to increase as well. For Generator (the slack generator), the stability time decreases with increasing the inertia up to a point, then the stability time levels off (or increases slightly). The simulation results show that the lowest stability times are 9.27 seconds for Generator (when = 45 msec, = 2.5 msec, and M 3 = 25 msec); 8.75 seconds for Generator 2 (when = 45 msec, = 2.5 msec, andm 3 = 25 msec); and 9.07 seconds for Generator 3 (when = msec, = 2.5 msec, and M 3 = 25 msec). However, the flocking controller cannot stabilize the power system in some cases within the -second run. Specifically, for low values of and high values of and M 3, the power system appears slower in 235
5 5 M 3 = 25 msec M 3 = msec Generator 3.08% 5.39% Generator 2 3.08% 4.62% Generator 3 3.08% 9.23% TABLE II PERCENTAGE OF CASES WHERE THE GENERATOR IS NOT STABILIZED (b) M 3 = msec Frequency of Generator M 3 = 25 msec M 3 = msec Generator 89.3933 Generator 2 0.354 0.3 Generator 3 608 0.5704 TABLE III AVERAGE EXTERNAL CONTROL POWER (PU) 5 5 5 Frequency of Generator 2 5 (d) M 3 = msec Frequency of Generator 3 (f) M 3 = msec Fig. 5. Relative normalized frequency of the system generators responding to the flocking controller. With doubling the inertia of Generator 3, the number of cases that the generators in the power system cannot be stabilized increases as seen in Table II. The flocking control relies on external power sources (U i, where i =,...,N) to stabilize the power system as shown in Eq. (4). The value of U is calculated according to Eq. (5). Fig. 4 displays the average external power needed by the flocking controller during the time when the controllers are activated. It is observed that with increasing, the controller needs more power to stabilize Generator and less power to stabilize Generator 3. On the other hand, increasing the inertia of Generator 2 causes the flocking controller to use more external power for the three generators (the increase is less obvious for Generator 3). Further, Table III shows some results for M 3, where an increase in inertia means more external power is needed to stabilize Generator 3 and less power to stabilize Generator. Finally, Fig. 5 shows the average relative normalized frequency of the system s generators during the controllers active time. One goal of the flocking control is to achieve exponential frequency synchronization through lim ω i (t) = 0. Conset M 3 = 25 msec M 3 = msec Generator 0.0799 0.045 Generator 2 0.0933 0.0493 Generator 3 47 0.0429 TABLE IV AVERAGE RELATIVE NORMALIZED FREQUENCY (PU) quently, it is preferred that the relative normalized frequency of the system generators be as close as possible to zero. As the value of increases, the average values of ω and ω 3 increase. However, increasing the value of decreases the average values of the frequency. Further, Table IV shows the relationship between M 3 and the average frequency. When the value of M 3 is increased, both average values of ω and ω 2 decrease. It is observed that the location of the 3-phase fault and the tripped out line (i.e., Line 6-7) affects the way the generators respond to the flocking control. Specifically, it is shown that the inertia of Generator 3 (with its close proximity to Line 6-7) has the most effect on the stability time of the generators of the power system. IV. CONCLUSIONS Flocking control was recently proposed to help achieve transient stability after the occurrence of a fault in the power system. This paper investigates performance aspects of flocking-based control for power systems. Specifically, this work explores the relation between the inertia of the system generators and the stability time, the external control power, and the system frequency. Results of this work show that the location of the fault affects the way the flocking controllers perform. Further, the value of the inertia of the generator that is closest to the faulted line has the most impact on the performance of the controller. ACKNOWLEDGMENT This work was supported by the Natural Sciences and Engineering Research Council of Canada and the U.S. National Science Foundation under grant ECCS-28246. The authors acknowledge the contributions of Blas Sanchez in preparing the simulation environment. 236
REFERENCES [] C. W. Reynolds, Flocks, Herds, and Schools: A Distributed Behavioral Model, in Annual Conference on Computer Graphics and Interactive Techniques Computer Graphics, vol. 2, pp. 25 34, July 987. [2] R. Olfati-Saber, Flocking for Multi-Agent Dynamic Systems: Algorithms and Theory, IEEE Transactions on Automatic Control, vol. 5, pp. 4, March 06. [3] J. Wei, D. Kundur, T. Zourntos, and K. L. Butler-Purry, A Flocking- Based Dynamical Systems Paradigm for Smart Power System Analysis, in IEEE Power and Energy Society General Meeting (PESGM), pp. 8, 2. [4] J. Wei and D. Kundur, Two-Tier Hierarchical Cyber-Physical Security Analysis Framework For Smart Grid, in IEEE Power and Energy Society General Meeting (PESGM), pp. 5, 2. [5] J. Wei, D. Kundur, and T. Zourntos, On the Use of Cyber-Physical Hierarchy for Smart Grid Security and Efficient Control, in IEEE Canadian Conference on Electrical and Computer Engineering (CCECE), pp. 6, 2. [6] J. Wei, D. Kundur, T. Zourntos, and K. L. Butler-Purry, Probing the Telltale Physics: Towards a Cyber-Physical Protocol to Mitigate Information Corruption in Smart Grid Systems, in IEEE International Conference on Smart Grid Communications (SmartGridComm), pp. 372 377, 2. [7] A. K. Farraj, E. M. Hammad, J. Wei, D. Kundur, and K. L. Butler-Purry, Performance Evaluation of Flocking-Based Distributed Cyber-Physical Control for Smart Grid, in IEEE International Conference on Smart Grid Communications (SmartGridComm), pp. 6, 4. [8] F. Dörfler and F. Bullo, Synchronization and Transient Stability in Power Networks and Non-Uniform Kuramoto Oscillators, in American Control Conference (ACC), pp. 9 937,. [9] P. M. Anderson and A. A. Fouad, Power System Control and Stability. IEEE Power Systems Engineering Series, Piscataway, NJ: IEEE Press, 994. 237