Implementing Consensus Based Distributed Control in Power System Toolbox

Similar documents
Analysis of Coupling Dynamics for Power Systems with Iterative Discrete Decision Making Architectures

Power Grid Partitioning: Static and Dynamic Approaches

SIGNIFICANT increase in amount of private distributed

Modelling of Primary Frequency Control and Effect Analyses of Governing System Parameters on the Grid Frequency. Zhixin Sun

Economic Operation of Power Systems

Architectures and Algorithms for Distributed Generation Control of Inertia-Less AC Microgrids

Generalized Injection Shift Factors and Application to Estimation of Power Flow Transients

Joint Frequency Regulation and Economic Dispatch Using Limited Communication

Mixed Integer Linear Programming and Nonlinear Programming for Optimal PMU Placement

Adaptive under frequency load shedding using synchrophasor measurement

Simulating a Power System

DQ-axis Current-based Droop Controller

Automatic Generation Control. Meth Bandara and Hassan Oukacha

Secondary Frequency Control of Microgrids In Islanded Operation Mode and Its Optimum Regulation Based on the Particle Swarm Optimization Algorithm

Stability of Disturbance Based Unified Control

1 Unified Power Flow Controller (UPFC)

ECE 422/522 Power System Operations & Planning/ Power Systems Analysis II 4 Active Power and Frequency Control

Model of Induction Machine to Transient Stability Programs

A Computer Application for Power System Control Studies

Toward Combining Intra-Real Time Dispatch (RTD) and AGC for On-Line Power Balancing

Frequency-Bias Tie-Line Control of Hydroelectric Generating Stations for Long Distances

Dynamic Voltage Stability Enhancement of a Microgrid with Static and Dynamic Loads Using Microgrid Voltage Stabilizer

Contents Economic dispatch of thermal units

Research on Consistency Problem of Network Multi-agent Car System with State Predictor

Multi-Level Power-Imbalance Allocation Control for Secondary Frequency Control of Power Systems

OUTPUT CONSENSUS OF HETEROGENEOUS LINEAR MULTI-AGENT SYSTEMS BY EVENT-TRIGGERED CONTROL

CHAPTER 2 MODELING OF POWER SYSTEM

Cyber Attacks, Detection and Protection in Smart Grid State Estimation

Distributed Frequency Control in Power Grids Under Limited Communication

EE 451 Power System Stability

Load Frequency Control of Multi-Area Power System

Toward Standards for Model-Based Control of Dynamic Interactions in Large Electric Power Grids

Dynamic simulation of a five-bus system

MICROGRID is a future trend of integrating renewable

Understanding Load Flow Studies by using PSAT

Software Tools: Congestion Management

Generators. What its all about

Power System Security. S. Chakrabarti

Transient Stability Assessment of Synchronous Generator in Power System with High-Penetration Photovoltaics (Part 2)

Cooperative & Distributed Control of High-Density PVs in Power Grid

Centralized Supplementary Controller to Stabilize an Islanded AC Microgrid

Application of Virtual Synchronous Generator in Solar Power Generation

Distributed Approach for DC Optimal Power Flow Calculations

PowerApps Optimal Power Flow Formulation

Static and Transient Voltage Stability Assessment of Power System by Proper Placement of UPFC with POD Controller

ECE 325 Electric Energy System Components 7- Synchronous Machines. Instructor: Kai Sun Fall 2015

Simulations and Control of Direct Driven Permanent Magnet Synchronous Generator

Power Sharing Correction in Angle Droop Controlled Inverter Interfaced Microgrids

LOAD FREQUENCY CONTROL IN A SINGLE AREA POWER SYSTEM

Q-V droop control using fuzzy logic and reciprocal characteristic

Torques 1.0 Two torques We have written the swing equation where speed is in rad/sec as:

A Stackelberg Game Approach for Two-Level Distributed Energy Management in Smart Grids

Micro-grid to System Synchronization Based on Pre-Insertion Impedance Method (Version 1.0) By Peter Zhou University of Alberta Jan 30 th, 2015

Identification of Synchronous Generator Parameters Using Continuous ARX Model and Least Square Estimation

Real Time Voltage Control using Genetic Algorithm

Participation in the Frequency Regulation Control of a Resilient Microgrid for a Distribution Network

REAL TIME CONTROL OF DOUBLY FED INDUCTION GENERATOR. Benmeziane Meriem, Zebirate Soraya, Chaker Abelkader Laboratory SCAMRE, ENPO, Oran, Algeria

CHAPTER 3 MATHEMATICAL MODELING OF HYDEL AND STEAM POWER SYSTEMS CONSIDERING GT DYNAMICS

QUESTION BANK ENGINEERS ACADEMY. Power Systems Power System Stability 1

Modeling and Stability Analysis of a DC Microgrid Employing Distributed Control Algorithm

Analytical Study Based Optimal Placement of Energy Storage Devices in Distribution Systems to Support Voltage and Angle Stability

Networked Feedback Control for a Smart Power Distribution Grid

CURENT Course Power System Coherency and Model Reduction

Performance Comparison of PSO Based State Feedback Gain (K) Controller with LQR-PI and Integral Controller for Automatic Frequency Regulation

SUPPLEMENTARY INFORMATION

Incorporation of Asynchronous Generators as PQ Model in Load Flow Analysis for Power Systems with Wind Generation

Technical work in WP2 and WP5

University of Jordan Faculty of Engineering & Technology Electric Power Engineering Department

Turbines and speed governors

Design A Robust Power System Stabilizer on SMIB Using Lyapunov Theory

Real Time Economic Dispatch for Power Networks: A Distributed Economic Model Predictive Control Approach

A gossip-like distributed optimization algorithm for reactive power flow control

PSO Based Predictive Nonlinear Automatic Generation Control

ANALYSIS OF SUBSYNCHRONOUS RESONANCE EFFECT IN SERIES COMPENSATED LINE WITH BOOSTER TRANSFORMER

ECE 422/522 Power System Operations & Planning/Power Systems Analysis II : 7 - Transient Stability

Dynamic Modeling of Surface Mounted Permanent Synchronous Motor for Servo motor application

MATPOWER as Educational Tool for Solving Optimal Power Flow Problems on a Simulated Nigerian Power Grid

Chapter 5. Transmission networks and electricity markets

Graph and Controller Design for Disturbance Attenuation in Consensus Networks

Seminar Course 392N Spring2011. ee392n - Spring 2011 Stanford University. Intelligent Energy Systems 1

Optimal PMU Placement

New criteria for Voltage Stability evaluation in interconnected power system

Vedant V. Sonar 1, H. D. Mehta 2. Abstract

Performance of Flocking-Based Control Schemes in Smart Grid Applications

Power System Dynamics as Primal-Dual. Algorithm for Optimal Load Control

Distributed Control, Load Sharing, and Dispatch in DC Microgrids

Study of Sampled Data Analysis of Dynamic Responses of an Interconnected Hydro Thermal System

Various Techniques for Nonlinear Energy-Related Optimizations. Javad Lavaei. Department of Electrical Engineering Columbia University

A Novel Technique to Improve the Online Calculation Performance of Nonlinear Problems in DC Power Systems

IEEE PES Task Force on Benchmark Systems for Stability Controls

FOR REDUCE SUB-SYNCHRONOUS RESONANCE TORQUE BY USING TCSC

FLEXIBLE ac transmission system (FACTS) devices give

Robust Nonlinear Excitation Controller Design for Multimachine Power Systems

CHAPTER 2 DYNAMIC STABILITY MODEL OF THE POWER SYSTEM

The DC Optimal Power Flow

IEEE 9 Bus System Example

Optimal Tap Settings for Voltage Regulation Transformers in Distribution Networks

UNIT-I Economic Operation of Power Systems -1

DYNAMIC RESPONSE OF A GROUP OF SYNCHRONOUS GENERATORS FOLLOWING DISTURBANCES IN DISTRIBUTION GRID

LOAD MODELING STUDY USING MEASUREMENT DATA FOR TAIWAN POWER SYSTEM

Transcription:

Implementing Consensus Based Distributed Control in Power System Toolbox Minyue Ma and Lingling Fan Department of Electrical Engineering University of South Florida Tampa, FL 6 url: http://power.eng.usf.edu Email: linglingfan@usf.edu Abstract This paper proposes a distributed control algorithm which is based on consensus and subgradient method. According this algorithm, each agent in a power system network can exchange information with their direct connected neighbors to unify all local marginal prices by consensus method. Synchronously, all agents update price information and power demands information to do economic operation based on subgradient method. The proposed method can realize economic dispatch and regulation simultaneously. Power system tool box (PST) is selected as the platform to implement the distributed control algorithm. The approach to implement this algorithm in PST is presented. Effect of the proposed algorithm is compared with a secondary control via simulation results. Index Terms Consensus method, subgradient method, economic dispatch, regulation, power system tool box. I. ITRODUCTIO The objective of this paper is to propose and implement a distributed control algorithm based on consensus and subgradient method. According this algorithm, each agent in a power system network can exchange information with their direct connected neighbors to unify all local marginal prices by consensus method. Synchronously, all agents update price information and power demands information to do economic operation based on subgradient method. The proposed method can realize economic dispatch and regulation simultaneously. PST is selected as the platform to implement the distributed control algorithm. The approach to implement this algorithm in PST is presented. Effect of the proposed algorithm is compared with a secondary control via simulation results. The rest of the paper is organized as follows. Section II describes the consensus subgradient algorithm. Section III presents PST implementation techniques. Section IV presents case study results and Section V concludes the paper. II. COSESUS SUBGRADIET ALGORITHM A. Consensus Algorithm Consensus algorithm has been applied in a power system network to solve distributed optimization problems []. As an interaction rule which regulate information exchange between an agent and all of the neighbours, the purpose of this algorithm is to make information in different agent converge to a single value [], []. To reach this purpose, the information discovery process in a agent can be described by a discrete time linear system as follows []. X k = AX k () where X i are the state information that collected in agent i; k means the k th iteration step; A R n n is a stochastic matrix. A stochastic matrix has following characteristics: It is a square matrix. All elements of this matrix are nonegative real numbers. The elements sums for each row is one. Using the stochastic matrix in the iteration means X i is an weighted average value of all X j (j =,, n). As the designation of A relates with the convergence speed of X i [], it is necessary to use a specify method to configure the matrix A. In this paper, the Metropolis method [], [4] is applied to design A, which can be described as: max(n i,n j) j i a ij = max(n i,n j) j = i j i otherwise where a ij is an element of A which position is the i th row and j th column; i is the set of the neighboring agents for agent i; n i and n j respectively are the numbers of agents which directly connect with agent i and j. B. Subgradient Update Subgradient update method is an iterative method which is wildly used to solve optimization problems iteratively. For a threearea threemachine system in Fig., the corresponding economic dispatch problem can be expressed as: () min P i C (P ) C (P ) C (P ) subject to: P P P = D D D () where P i (i =,, ) is the local generator dispatch of area i, and D i (i =,, ) is the local power demand; C(P i ) = a i Pi b ip i c i is the cost function.

P Bus Bus P G G Bus Line D D Fig.. The test system. Line Line P G Basing on (), a Lagrange function can be obtained, which is: L(P i, ) = C (P ) C (P ) C (P ) (D D D P P P ) (4) where i is the price of each area. According () and (4), the dual problem of () can be expressed as: D max {min L(P i, )}. (5) P i To solve this dual problem, the update process is as follows. k = k α(d D D P k P k P k ). (6) The partial derivative of L(P i, ) about each P i should be zero, if the objective function reach the minimum value. Thus, a equation which describe the relation of P i and can be obtained: = a i P i b i P i = b i a i. (7) Combining (6) and (7), an iteration process to find the economic dispatch of P i is obtained: { P k i = k b i a i k = k α(d D D P k P k P k ). where α > is the step size. a) Convergence discussion: In (8), the value of α is important for convergence. Combining the equations in (8), the update procedure of can be expressed as: α [ α ( a a a )] k k = ( D D D b b b a a a (8) ). (9) According numeric analysis, to ensure convergence of, the value of α should satisfy the following constraint: ( α ) < a a a < α < a a () a Basing on (9), to get the fastest converge speed of, the α can be set to be: α =. () a a a For example, if a =, a =, a =, the limit of α is: < α <.88, and the fastest converge α is: α =.99. The α setting in () is only based on iteration function, so it might cause stability in real systems [5]. Thus, the calculation result of () should be used with care. C. Consensus subgradient method The power imbalance of a system is related to deviation, which can be expressed as: P = K f. () where K is related to droop parameters. Thus, the subgradient term: α(d D D P k P k P k ) can be consider as the compensation. It means that applying iteration process in (8) and making Pi k as the turbine governor reference power (P refi ) has the potential to reach economic dispatch and regulation simultaneously. Combining the consensus and subgradient update method, we have the following update: k = A k α(d D D P k P k P k ). () For the system in Fig., and use the method in (), the matrix A is: A = (4) As the consensus algorithm will guarantee to the same in each agent. The following iteration process can make the system achieve economic dispatch and regulation simultaneously. { P k i = k b i a i k = A k α(d D D P k P k P k ). (5) III. POWER SSTEM TOOLBOX IMPLEMETATIO The Power System Toolbox (PST) is a MAtlabbased package which is mainly utilized to provide power system dynamics simulation and control design [6]. Its working principle, in simply term, is coding components of power system to MATLAB functions base on the mathematic models of these components, and running functions in certain sequence to display the simulation result of the power system which include these components.

For each function, the fundamental structure [6] can be expressed as follow: ẋ = f(x, u) (6) y = g(x, u) (7) where x is the vector of state variables; u is the vector of input variables; y is the output varaibles. Generally, in a simulation process of PST, functions should run three steps: Step : Initialzation of the state variables (It is marked as flag = ). In this step, all state variables x will be set to initial values according to the parameters which is defined in a data file. This step only run one time at t =. Step : etwork interface computation (It is marked as flag = ). In this step, the interface variables y will be calculated based on current system state. This step will run at every time step which is marked as the k th step. Step : Dynamic calculation (It is marked as flag = ). In this step, the system state variables will be calculated based on current system state and their change rate at the k th step. Moreover, the change rate of state variables for next time step(the k th ) will be calculated. The step will run at every time step. An important advantage of PST is that it is open source and it is easy to be modified by user. As its models are totally built in equation and matrix forms, the structure and scale of a PST system model can be easily changed. Moreover, adding a new function is not complicated after following some simple rules. A. PST Implementation: How to change turbine s reference signal In this paper, to implement the proposed consensus subgradient algorithm in PST, the function: mtg sig.m is modified. The basic purpose of mtg sig.m function is to determine the changed value of turbine governor reference power. The turbine governor reference power is marked as P refi in Fig.. P refi P tgi G tgi (s) /R i P mi P ei G geni (s) Fig.. Generator turbinegovernor control block (Droop control only). For the control block in Fig., more detailed description is presented in Section IV. To apply the proposed method, the equation group (5) should be used to calculate P refi. So a section of code which is based on equation group (5) is added into mtg sig.m. B. How to implement discrete distributed algorithm As in a real system, agents exchange their information every several seconds, the variable update in mtg sig.m should be Δf i discrete and the time step length is a few seconds. However, generally, the global time step length for numerical integration is much smaller than one second. Otherwise it can not ensure the accuracy of dynamic simulation of the system. To achieve this discrete data update in special time step length, a section of code is added into mtg sig.m, and its flow cart is shown in Fig.. Assign the value of original P k and P ref Start If t=? Time counter If flag=? If t=ii*t? P and update Compare P k and original P ref, and assign the deviation as the P ref change End Fig.. Discrete update. Time interval is T Define initial value to varibles nn=~n If nn n? If t=ii*t? i=i ii=i Using the modfied mtg sig.m which is described in above sections, a simulation system model including the proposed distributed control algorithm can be implemented in PST platform. IV. SIMULATIO RESULTS The test system is a area machine system shown in Fig.. The system parameters are displayed in Table. I and Table. II. For per unit value, the system power base is MW, and base is 6 HZ. Based on Fig., the digital subscript of parameters in these tables are corresponding to the bus and line number. The system model has been built in PST. Assume the cost functions of machine, and are: C (P ) = P P (8) C (P ) = P P (9) C (P ) = P P. () Each generator has a turbine governor and a primary droop control. The control block diagram is shown in Fig., and the transfer function of the turbine governer is as follows: G tgi (s) = st s st st c st 4 st 5 ()

4 TABLE I BUS COFIGURATIOS. ame Value(unit) Description V.4(pu) initial voltage V.5(pu) magnitude of each V.5(pu) bus θ.(degree) initial voltage θ 9.(degree) angle of each θ 4.7(degree) bus P.76(pu) inital active P.6(pu) power that inject P.85(pu) to each bus Q.7(pu) initial reactive Q.67(pu) power that inject Q.9(pu) to each bus D P.5(pu) active power D P.9(pu) demand on each D P.(pu) bus D Q (pu) reactive power D Q.(pu) demand on each D Q (pu) bus TABLE II TRASMISSIO LIE COFIGURATIOS. ame Value(unit) Description R.4(pu) The equivalent R.4(pu) resistance of each R.56(pu) line X.66(pu) The equivalnet X.99(pu) reactance of each X.78(pu) line C 445(pu) The equivalent C 8(pu) charging of each C 6(pu) bus where the T s is servo time constant; T c is HP turbine time constant; T c is HP turbine time constant; T is transient gain time constant; T 4 is time constant to set HP ratio; T 5 is reheater time constant. And the configuration of these number for each G tgi (s) is listed in Table. III. The subscripts of G tgi (s) are corresponding with the generator number. For this experiment, at t = 4s, loads will increase: D increases.; D increase.; D increase.. Total load increase is.6 pu. The proposed method will be compared with droop control only case and secondary control case to demonstrate its advantage. A. Case Droop control only In this case, The system work in original condition, which only has droop control. Fig. 4 presents the system response for seconds in case. After the load increase, the power increasing is nearly evenly shared among three generators. This is caused by TABLE III PARAMETERS OF TURBIE GOVERORS. Parameters TG number T s T c T T 4 T 5 G tg (s).45...5 5. G tg (s)..5 5. G tg (s).4.8..5 5. the similar droop constants in three generators( R = 5., R = 5.5, R = 5.4). The system is lower than the nominal. According to (), this deviation is caused by power imbalance between P refi and P mi. In this case, K = Σ R i = R R R = 76, P = P refi P mi =.6665, so f = P.79745, which is the Σ R i same with the value that obtained from simulation results. P tg P e.5.5 5.5 5 P m.5 5..99.98.97 5 (d)time(s) Fig. 4. Droop control only system response. (a) Turbine governor per unit input power on system base; (b) Turbine governor per unit output mechnical power on system base; (c) Generators output per unit electric power on system base; (d) Generators per unit on system base. B. Case secondary control A secondary control is added on the system, the control block is shown in Fig. 5. K = 4, K =, K =.. P refi P tgi G tgi (s) /R i P mi K i /s P ei Fig. 5. Secondary control added control block. G geni (s) Fig. 6 presents the system response of case. It can bee seen that as the secondary control is used on system, the system is restored to nominal after load increased. Moreover, the power sharing on each generator is inversely proportional (::) with the quadratic coefficients (::) of cost functions. It is due to the modified integral gains. However, the secondary control only response for system state change, thus it can not make the system achieve economic dispatch. Δf i

5.5.5.5 P tg.5 P m.5 P tg.5 P m.5 5 5 5 5..5. P e.5.98 P e.5.98 5.96 5 (d)time(s) 5.96 5 (d)time(s) Fig. 6. Secondary control added on system. (a) Turbine governor per unit input power on system base; (b) Turbine governor per unit output mechnical power on system base; (c) Generators output per unit electric power on system base; (d) Generators per unit frequeny on system base. Fig. 8. Consensus Subgradient is used on system. (a) Turbine governor per unit input power on system base; (b) Turbine governor per unit output mechnical power on system base; (c) Generators output per unit electric power on system base; (d) Generators per unit frequeny on system base. C. Case consensus subgradient update method The proposed consensus subgradient method is implemented on the system. The update process start from the second, and the time step length is seconds. The control block is shown in Fig. 7. α =. P ref P refi P tgi G tgi(s) /R i P mi P ei G geni (s) Δf i 4 6 8 6 4 P=( k b)/a k =A k α( D P) Local Agent Decision Maker k k eighbor Agent Fig. 7. Consensus Subgradient algorithm implemented block. Fig. 8 presents the system response while the consensus method has been applied. In this case, the generaotrs active power output is inversly propotional to the cost functions quadratic coefficients. The system is lower than nominal but the deviation: f.545 is smaller than f.79745 which in case. Considering equation () again, in case, K = 76, so power imbalance can be caculated: P = K f.468. And that is the same with simulation result. Even though it disturbed regulation, this power imbalance is acceptable because the loss of system is not considered in the subgradient term(d D D P k P k P k ). Fig. 9 presents the iteration steps of and P ref. With consensus method the is converged to a uniform value, and P ref is changed to reach the economic dispatch. 4 6 8 time(s) Fig. 9. Iteration process of P ref and. In Table. IV, the final value of P ei of each generator in different case is listed, and a comparison for total cost is presented to demonstrate the economic dispatch is achieved through proposed consensus method. Moreover, the column Comparison is used to show that even the output of the cheapest generator is higher and the most expensive one is lower than case, the total cost is still higher than case. D. Convergence Study Fig. to Fig. present the convergence of for different α base on case. From these results, it can be seen that compare with random choice, converge faster when α =

6 TABLE IV COMPARISO OF P ei (pu) AD TOTAL COST FOR DIFFERET CASE. ame case case case Comparison P e.89676.668.64.64 P e.84989.86444.779.779 P e.68495.967789.696747.496747 ΣC(P ei ) 8.69775 8.4856 5.4447 5.598.99 which is obtained by equation (), but the transient of is more serious. Moreover, the requirement of convergence of that is: < α <.88, which is calculated by equation (), is verified. In Fig. to Fig., time range of seconds is selected to show more detailed convergence process. In Fig., to observe the convergence when α close the marginal value, the time range is extended to senconds. 6 4 5 5 4 5 5 Fig.. The convergence of for different α. (a) α =.99; (b) α =..4..98.96 5 5 time(s) Fig.. Generators when α =. 5 5 5 5 5 5 5 5 5 5 5 Fig.. The convergence of for different α. (a) α =.88; (b) α =.5; (c) α =....98.96.94 5 5 time(s) Fig.. Generators when α =.99. The above results prove that the proposed consensus method can simultaneously deal with economic dispatch and regulation problem. V. COCLUSIO In this paper, a consensus subgradient algorithm is proposed for distributed control on power system. This algorithm is capable to make generators in a system achieve economic dispatch and regulation simultaneously. The parameter setting method for iteration process of this algorithm is discussed. And a PSTbased simulation model which implemented this algorithm is built. The effect of proposed algorithm is verified by simulation results. REFERECES [] M. azdanian and A. MehriziSani, Distributed control techniques in microgrids, Smart Grid, IEEE Transactions on, vol. 5, no. 6, pp. 9 99, 4. [] R. OlfatiSaber, A. Fax, and R. M. Murray, Consensus and cooperation in networked multiagent systems, Proceedings of the IEEE, vol. 95, no., pp. 5, 7. []. Xu and W. Liu, ovel multiagent based load restoration algorithm for microgrids, Smart Grid, IEEE Transactions on, vol., no., pp. 5 6,. [4] L. Xiao, S. Boyd, and S.J. Kim, Distributed average consensus with leastmeansquare deviation, Journal of Parallel and Distributed Computing, vol. 67, no., pp. 46, 7. [5] Z. Miao, Analysis of coupling dynamics for power systems with iterative discrete decision making architectures, submitted to IEEE Transactions on Power Systems. [6] J. H. Chow and K. W. Cheung, A toolbox for power system dynamics and control engineering education and research, Power Systems, IEEE Transactions on, vol. 7, no. 4, pp. 559 564, 99.