Stability and optimality of distributed secondary frequency control schemes in power networks

Stability and optimality of distributed secondary frequency control schemes in power networks

Andreas Kasis, Nima Monshizadeh, Eoin Devane, and Ioannis Lestas Andreas Kasis, Nima Monshizadeh and Ioannis Lestas are with the Department of Engineering, University of Cambridge, Trumpington Street, Cambridge, CB2 1PZ, United Kingdom; e-mails:,, Devane is with the Cambridge Centre for Analysis, Centre for Mathematical Sciences, University of Cambridge, Wilberforce Road, Cambridge, CB3 0WA, United Kingdom; e-mail: [30] is a conference version of this manuscript. This manuscript includes proofs of our main results, additional discussion and additional results of independent interest.

We present a systematic method for designing distributed generation and demand control schemes for secondary frequency regulation in power networks such that stability and an economically optimal power allocation can be guaranteed. A dissipativity condition is imposed on net power supply variables to provide stability guarantees. Furthermore, economic optimality is achieved by explicit decentralized steady state conditions on the generation and controllable demand. We discuss how various classes of dynamics used in recent studies fit within our framework and give examples of higher order generation and controllable demand dynamics that can be included within our analysis. In case of linear dynamics, we discuss how the proposed dissipativity condition can be efficiently verified using an appropriate linear matrix inequality. Moreover, it is shown how the addition of a suitable observer layer can relax the requirement for demand measurements in the employed controller. The efficiency and practicality of the proposed results are demonstrated with a simulation on the Northeast Power Coordinating Council (NPCC) 140-bus system.

I Introduction

Renewable sources of energy are expected to grow in penetration within power networks over the next years [1, 2]. Moreover, it is anticipated that controllable loads will be incorporated within power networks in order to provide benefits such as fast response to changes in power generated from renewable sources and the ability for peak demand reduction. Such changes will greatly increase power network complexity revealing a need for highly distributed schemes that will guarantee its stability when ‘plug and play’ devices are incorporated. In the recent years, research attention has increasingly focused on such distributed schemes with studies regarding both primary (droop) control as in  [3, 4, 5] and secondary control as in [6], [7].

An issue of economic optimality in the power allocation is raised if highly distributed schemes are to be used for frequency control. Recent studies attempted to address this issue by crafting the equilibrium of the system such that it coincides with the optimal solution of a suitable network optimization problem. To establish optimality of an equilibrium in a distributed fasion, it is evident that a synchronising variable is required. While in the primary control, frequency is used as the synchronising variable (e.g. [5, 8, 9, 10]), in the secondary control a different variable is synchronized by making use of information exchanged between buses [6, 7, 11, 12].

Over the last few years many studies have attempted to address issues regarding stability and optimization in secondary frequency control. An important feature in many of those is that the dynamics considered follow from a primal/dual algorithm associated with some optimal power allocation problem [6], [13], [14], [15]. This is a powerful approach that reveals the information structure needed to achieve optimality and satisfy the constraints involved. Nevertheless, when higher order generation dynamics need to be considered, these do not necessarily follow as gradient dynamics of a corresponding optimization problem and therefore alternative approaches need to be employed.

Another trend in the secondary frequency control is the use of distributed averaging proportional integral (DAPI) controllers [16, 17, 18, 19, 20]. Advantages of DAPI controllers lie in their simplicity as they only measure local frequency and exchange a synchronization signal in a distributed fashion without requiring load and power flow measurements. On the other hand, it is not easy to accommodate line and power flow constraints, and higher-order generation and controllable demand dynamics in this setting. Moreover the existing results in this context are limited to the case of proportional active power sharing and quadratic cost functions.

One of our aims in this paper is to present a methodology that allows to incorporate general classes of higher order generation and demand control dynamics while ensuring stability and optimality of the equilibrium points. Our analysis borrows ideas from our previous work in [5] and adapts those to secondary frequency control, by incorporating the additional communication layer needed in this context. In particular, we consider general classes of aggregate power supply dynamics at each bus and impose two conditions; a dissipativity condition that ensures stability, and a steady-state condition that ensures optimality of the power allocation. An important feature of these conditions is that they are decentralized. Furthermore, in the case of linear supply dynamics, the proposed dissipativity condition can be efficiently verified by means of a linear matrix inequality (LMI). Various examples are also described to illustrate the significance of our approach and the way it could facilitate a systematic analysis and design. Finally, we discuss how an appropriately designed observer, allows to relax the requirement of an explicit knowledge of the uncontrollable demand, and show that the stability and optimality guarantees remain valid in this case.

The paper is structured as follows. Section II provides some basic notation and preliminaries. In section III we present the power network model, the classes of generation and controllable demand dynamics and the optimization problem to be considered. Sections IV and V include our main assumptions and results. In Section VI we discuss how the results apply to various dynamics for generation and demand, provide intuition regarding our analysis and show how the controller requirements may be relaxed by incorporating an appropriate observer. In section VII, we demonstrate our results through a simulation on the NPCC 140-bus system. Finally, conclusions are drawn in section VIII.

Ii Notation and Preliminaries

Real numbers are denoted by , and the set of -dimensional vectors with real entries is denoted by . For a function , , we denote its first derivative by , its inverse by . A function is said to be positive semidefinite if . It is positive definite if and for every . We say that is positive definite with respect to component if implies , and for every . A function is called surjective if such that . For , , the expression will be used to denote and we write to denote vector with all elements equal to . We use to denote a function that takes the value of when , for , and of otherwise. The Laplace transform of a signal , , is denoted by . Finally, for input/output systems , with respective inputs and outputs , their direct sum, denoted by , represents a system with input and output .

Within the paper, we will consider subsystems111Note that such subsystems will be used to characterize generation and demand dynamics and will be explicitly stated when considered. that will be modeled as dynamical systems with input , state , and output and a state space realization


where is locally Lipschitz and is continuous. We assume in (1) that given any constant input , there exists a unique222The uniqueness assumption on the equilibrium point for a given input could be relaxed to having isolated equilibrium points, but it is used here for simplicity in the presentation. locally asymptotically stable equilibrium point , i.e. . The region of attraction333That is, for the constant input , any solution of (4) with initial condition must satisfy as . of  is denoted by . We also define the static input-state characteristic map as

and the static input-output characteristic map ,


Iii Problem formulation

Iii-a Network model

We describe the power network model by a connected graph where is the set of buses and the set of transmission lines connecting the buses. There are two types of buses in the network, buses with inertia and buses without inertia. Since generators have inertia, it is reasonable to assume that only buses with inertia have non-trivial generation dynamics. We define and as the sets buses with and without inertia respectively such that . Moreover, the term denotes the link connecting buses and . The graph is assumed to be directed with an arbitrary direction, so that if then . Additionally, for each , we use and to denote the sets of buses that precede and succeed bus  respectively. It should be noted that the form of the dynamics in (3)–(4) below is not affected by changes in graph ordering, and our results are independent of the choice of direction. We make the following assumptions for the network:
1) Bus voltage magnitudes are p.u. for all . 2) Lines are lossless and characterized by their susceptances .
3) Reactive power flows do not affect bus voltage phase angles and frequencies.
Such assumptions are generally valid at medium to high voltages or when tight voltage control is present, and are often used in secondary frequency control studies [21].

Swing equations can then be used to describe the rate of change of frequency at generation buses. Power must also be conserved at each of the load buses. This motivates the following system dynamics (e.g. [21]),


In system (3), the time-dependent variables , and represent, respectively, deviations from a nominal value444A nominal value of a variable is defined as its value at an equilibrium of (3) with frequency at its nominal value of 50Hz (or 60Hz). for the frequency and controllable load at bus and the mechanical power injection to the generation bus . The quantity represents the uncontrollable frequency-dependent load and generation damping present at bus . The time-dependent variables and represent, respectively, the power angle difference555The quantities represent the phase differences between buses and , given by , i.e. . The angles themselves must also satisfy at all . This equation is omitted in (3) since the power transfers are functions of the phase differences only. and the deviation of the power transferred from bus to bus from the nominal value, . The constant denotes the generator inertia. The response of the system (3) will be studied, when a step change occurs in the uncontrollable demand.

In order to investigate broad classes of generation and demand dynamics and control policies, we let the scalar variables , , and be generated by dynamical systems of form (1), namely


where the input is defined as with representing the deviations of a power command signal from its nominal value. Notice that in the case of uncontrollable demand, the input is given in terms of the local frequency deviation only, and is decoupled from the power command signal as expected.

For notational convenience, we collect the variables in (4) into the vectors , , and . These quantities represent the internal states of the dynamical systems used to update the outputs , , and .

In terms of the outputs from (4), it will be useful to consider the net supply variables , defined as


The variables defined in (5) evolve according to the dynamics described in (4a) - (4b). Therefore, are outputs from these combined controlled dynamical systems with inputs .

Iii-B Power Command Dynamics

We consider a communication network described by a connected graph (), where represents the set of communication lines among the buses, i.e., if buses and communicate. Note that can be different from the set of flow lines . We will study the behavior of the system (3)–(4) under the following dynamics for the power command signal which has been used in literature (e.g. [6, 13]),


where and are positive constants, and the variable represents the difference in the integrals between the power commands of communicating buses and . It should be noted that and are variables shared between communicating buses and .

Although the dynamics in (6) do not directly integrate frequency, we will see later that under a weak condition on the steady state behavior of they guarantee convergence to the nominal frequency for a broad class of supply dynamics. The dynamics in (6), often referred as ‘virtual swing equations’, are frequently used in the literature666In this paper we use for simplicity a single communicating variable. It should be noted that more advanced communication structures (e.g. [6]) can allow additional constraints to be satisfied in the optimization problem posed. as they achieve both the synchronization of the communicated variable , something that can be exploited to guarantee optimality of the equilibrium point reached, and also the convergence of frequency to its nominal value.

Iii-C Optimal supply and load control

We aim to study how generation and controllable demand should be adjusted in order to meet the step change in frequency independent demand and simultaneously minimize the cost that comes from the deviation in the power generated and the disutility of loads. We now introduce an optimization problem, which we call the optimal supply and load control problem (OSLC), that can be used to achieve this goal.

A cost is supposed to be incurred when generation output at bus is changed by from its nominal value. Similarly, a cost of is incurred for a change of in controllable demand. The total cost within OSLC is the sum of the above costs. The problem is to find the vectors and that minimize this total cost and simultaneously achieve power balance, while satisfying physical saturation constraints. More precisely, the following optimization problem is considered


where , and are bounds for the minimum and maximum values for generation and controllable demand deviations, respectively, at bus . The equality constraint in (7) requires all the additional frequency-independent loads to be matched by the total deviation in generation and controllable demand. This ensures that when system (3) is at equilibrium and a mild condition described in Assumption 3 below holds, the frequency will be at its nominal value.

Within the paper we aim to specify properties on the control dynamics of and , described in (4a)–(4b), that ensure that those quantities converge to values at which optimality can be guaranteed for (7).

The assumption below allows the use of the KKT conditions to prove the optimality result in Theorem 1 in Section V.

Assumption 1

The cost functions and are continuously differentiable and strictly convex.

Iii-D Equilibrium analysis

We now describe what is meant by an equilibrium of the interconnected system (3)–(6).

Definition 1

The point defines an equilibrium of the system (3)–(6) if all time derivatives of  (3)–(6) are equal to zero at this point.

It should be noted that the static input-output maps , , and , as defined in (2), completely characterize the equilibrium behavior of (4). In our analysis, we shall consider conditions on these characteristic maps relating input and generation/demand such that their equilibrium values are optimal for (7), thus making sure that frequency will be at its nominal value at steady state.

Throughout the paper, it is assumed that there exists some equilibrium of (3)–(6) as defined in Definition 1. Any such equilibrium is denoted by . Furthermore, we use to represent the equilibrium values of respective quantities in (3)–(6).

The power angle differences at the considered equilibrium are assumed to satisfy the following security constraint.

Assumption 2

for all .

Moreover, the following assumption is related with the steady state values of variable , describing uncontrollable demand and generation damping. It is a mild condition associated with having negative feedback from to frequency.

Assumption 3

For each , the functions relating the steady state values of frequency and uncontrollable loads satisfy for all .

Although not required for stability, Assumption 3 guarantees that the frequency will be equal to its nominal value at equilibrium, i.e. , as stated in the following lemma, proved in Appendix A.

Lemma 1

Let Assumption 3 hold. Then, any equilibrium point given by Definition 1 satisfies .

The stability and optimality properties of such equilibria will be studied in the following sections.

Iii-E Additional conditions

Due to the fact that the frequency at the load buses is related with the system states by means of algebraic equations, additional conditions are needed for the system (3)–(4) to be well-defined. We use below the vector notation and .

Assumption 4

There exists an open neighborhood of and a locally Lipschitz map such that when , .

Remark 1

Assumption 4 is a technical assumption that is required in order for the system (3)–(4) to have a locally well-defined state space realization. It can often be easily verified by means of the implicit function theorem [22]. Without Assumption 4, stability could be studied through more technical approaches such as the singular perturbation analysis discussed in [23, Section 6.4].

Iv Dissipativity conditions on generation and demand dynamics

Before we state our main results in Section V, it would be useful to provide a dissipativity definition, based on [24], for systems of the form (1). This notion will be used to formulate appropriate decentralized conditions on the uncontrollable demand and power supply dynamics (4c), (5).

Definition 2

The system (1) is said to be locally dissipative about the constant input values and corresponding equilibrium state values , with supply rate function , if there exist open neighborhoods of and of , and a continuously differentiable, positive definite function (called the storage function), with a strict local minimum at , such that for all and all ,


We now assume that the systems with input  and output the power supply variables and uncontrollable loads satisfy the following local dissipativity condition.

Assumption 5

The systems with inputs and outputs described in (5) and (4c) satisfy a dissipativity condition about constant input values and corresponding equilibrium state values in the sense of Definition 2, with supply rate functions


Furthermore, one of the following two properties holds,

  1. The function is positive definite.

  2. The function is positive semidefinite and positive definite with respect to . Also when , are constant for all times then cannot be a nontrivial sinusoid777By nontrivial sinusoid, we mean functions of the form that are not equal to a constant..

We shall refer to Assumption 5 when condition (a) holds for as Assumption 5(a) (respectively Assumption 5(b) when (b) holds).

Remark 2

Assumption 5 is a decentralized condition that allows to incorporate a broad class of generation and load dynamics, including various examples that have been used in the literature (these will be discussed in Section VI). Furthermore, for linear systems Assumption 5 can be formulated as the feasibility problem of a corresponding LMI (linear matrix inequality) [25], and it can therefore be verified by means of computationally efficient methods.

Remark 3

Condition (b) in Assumption 5 is a relaxation of condition (a) whereby is not required to be positive definite. This permits the inclusion of a broader class of dynamics from to as it will be discussed in Section VI. However, it requires that the power command cannot be a sinusoid if both and are constant. This additional condition is necessary as the dynamics in (6) allow to be a sinusoid when is constant. For linear systems, this condition is implied by the rather mild assumption that no imaginary axis zeros are present in the transfer function from to .

Remark 4

Further intuition on the dissipativity condition in Assumption 5 will be provided in Section VI-A and Appendix B. In particular, it will be shown when that this is a decentralized condition that is necessary and sufficient for the passivity of an appropriately defined multivariable system quantifying aggregate dynamics at each bus.

V Main Results

In this section we state our main results, with their proofs provided in Appendix A.

Our first result provides conditions for the equilibrium points to be solutions888 Note that an equilibrium point is a solution to the OSLC problem when at that point the variables that appear in (7) are solutions to the problem. to the OSLC problem (7).

Theorem 1

Suppose that Assumption 1 is satisfied. If the control dynamics in (4a) and (4b) are chosen such that


holds for some surjective function , which is strictly increasing with respect to , then the equilibrium values and are optimal for the OSLC problem (7).

Our second result shows that the set of equilibria for the system described by (3)–(6) for which Assumptions 1 - 5 are satisfied is asymptotically attracting, the equilibria are global minima of the OSLC problem (7) and, as shown in Lemma 1, satisfy .

Theorem 2

Consider equilibria of (3)–(6) with respect to which Assumptions 15 are all satisfied. If the control dynamics in (4a) and (4b) are chosen such that (10) holds, then there exists an open neighborhood of initial conditions about any such equilibrium such that the solutions of (3)–(6) are guaranteed to converge to a set of equilibria that solve the OSLC problem (7) with .

Vi Discussion

In this section we discuss examples that fit within the framework presented in the paper, and also describe how the dissipativity condition of Assumption 5 can be verified for linear systems via a linear matrix inequality.

We start by giving various examples of power supply dynamics that have been used in the literature that satisfy our proposed dissipativity condition in Assumption 5. Consider the load models used in [6], [12], and [13], where the power supply is a static function of and ,


where is some convex cost function, and generation damping/uncontrollable demand is given by . It is easy to show that Assumption 5(a) holds for these widely used schemes.

Furthermore, Assumption 5(b) is satisfied when first order generation dynamics are used such as


with and . Such first order models have often been used in the literature as in [15].

A significant aspect of the framework presented in this paper is that it also allows higher order dynamics for the power supply to be incorporated. As an example, we consider the following second-order model,


where , are states and time constants associated with the turbine-governor dynamics, is a damping coefficient999 Note that the term can be incorporated in or ., constant determines the strength of the feedback gain, and the term represents static dependence on power command due to either generation or controllable loads101010 It should be noted that the term can also include controllable demand and generation that depend on frequency only (i.e. not on power command). Therefore, can be perceived to contain all frequency dependent terms that return to their nominal value at steady state and therefore do not contribute to secondary frequency control.. It can be shown that Assumption 5 is satisfied for all when111111A second order model was studied for a related problem in [14], with the stability condition requiring, roughly speaking, that the gain of the system is less than the damping provided by the loads. The LMI approach described in this section allows such conditions to be relaxed. and .

Another feature of Assumption 5 is that it can be efficiently verified for a general linear system by means of an LMI, i.e. a computationally efficient convex problem. In particular, it can be shown [25] that if the system in Assumption 5 is linear with a minimal state space realization


where and , and is chosen as a quadratic function with121212We could also have if (14) has no zeros on the imaginary axis, as stated in condition (b) for in Assumption 5, and Remark 3. then the dissipativity condition in Assumption 5 is satisfied if and only if there exists such that


where the matrix is given by

This approach could also be exploited to form various convex optimization problems that could facilitate design. For example, one could obtain the minimum damping such that Assumption 5 is satisfied at a bus.

To further demonstrate the applicability of our approach we consider a fifth order model for turbine governor dynamics provided by the Power System Toolbox [27]. The dynamics are described by the following transfer function relating the mechanical power supply131313Note that denotes the Laplace transform of . with the negative frequency deviation ,

where and are the droop coefficient and time-constants respectively. Realistic values for these models are provided by the toolbox for the NPCC network, with turbine governor dynamics implemented on 22 buses. The corresponding buses also have appropriate frequency damping . We examined the effect of incorporating a power command input signal in the above dynamics by considering the supply dynamics

where is a coefficient representing the static dependence on power command. For appropriate values of , the condition in Assumption 5 was satisfied for 20 out of the 22 buses, while for the remaining 2 buses the damping coefficients needed to be increased by and respectively. Furthermore, filtering the power command signal with appropriate compensators, allowed a significant decrease in the required value for . Power command and frequency compensation may also be used with alternative objectives, such as to improve the stability margins and system performance.

The fact that our condition is satisfied at all but two buses141414Note that this is satisfied at all buses with appropriate increase in damping., demonstrates that it is not conservative in existing implementations. Note also that a main feature of this condition is the fact that it is decentralized, involving only local bus dynamics, which can be important in practical implementations.

Vi-a System Representation

It is useful and intuitive to note that the system (3) - (6) considered in the paper can be represented by a negative feedback interconnection of systems and , containing all interconnection and bus dynamics respectively. More precisely, and have respective inputs and , and respective outputs and , defined as

The subsystems represent the dynamics at bus and have inputs and outputs .

It can easily be shown that System is locally passive151515By a locally passive system we refer to a system satisfying the dissipativity condition in Definition 2 with the supply rate being .. The following theorem shows that Assumption 5 with is sufficient for the passivity of each individual subsystem .

Theorem 3

Consider the system described by (3) - (6) and its representation by systems and , defined in section VI-A. Then, the dissipativity condition in Assumption 5 with is sufficient for the passivity of subsystems about the equilibrium point considered in Assumption 5.

Remark 5

The significance of the interpretation discussed in this section is that the passivity property of system , in conjunction with the fact that , implies that stability of the network is guaranteed if the subsystems are passive (with appropriate strictness as quantified within the paper). In particular, stability is guaranteed in a decentralized way without requiring information about the rest of the network at each individual bus, which is advantageous in highly distributed schemes where a ”plug and play” capability is needed. It should be noted that the subsystems are multivariable systems quantifying the aggregate bus dynamics associated with both power generation and the communicated signal .

Remark 6

It is shown in Appendix B that Assumption 5 is also necessary for systems  to be passive, for general affine nonlinear dynamics. Hence, Assumption 5 introduces no additional conservatism in this property for a large class of nonlinear systems.

Vi-B Observing uncontrollable frequency independent demand

The power command dynamics in (6) involve the uncontrollable frequency independent demand . We discuss in this section that the inclusion of appropriate observer dynamics for allows convergence to optimality to be achieved when is not directly known.

A way to obtain , could be by re-arranging equations (3b)–(3c). This approach would require knowledge of power supply and power transfers in load buses, which is realistic. However, knowledge of the frequency derivative would also be required for its estimation at generation buses, which might be difficult to obtain in noisy environments.

We therefore consider instead observer dynamics161616See also the use of observer dynamics in [26] as a means of counteracting agent dishonesty. for that are incorporated within the power command dynamics. In particular the following dynamics are considered


where are positive time constants and and are auxiliary variables associated with the observer.

The equilibria of the system (3) – (5), (16) are defined in a similar way to Definition 1 and it is assumed that at least one such equilibrium exists. Note that the existence of an equilibrium of (3) - (6) implies the existence of an equilibrium of  (3)–(5), (16).

We now provide a result analogous to Lemma 1 in the case where the observer dynamics are included. Lemma 2 is proven in Appendix A.

Lemma 2

Let Assumption 3 hold. Then, any equilibrium point ,, ,, of the system (3) – (5), (16) satisfies .

Remark 7

The dynamics in (16) eliminate the requirement to explicitly know within the power command dynamics by adding an observer that mimics the swing equation, described by (16c)–(16e). The dynamics in (16d)–(16e) ensure that the variable is equal at steady state to the value for , with the second part of the equality coming from (3b)–(3c) at equilibrium. As shown in Lemma 2, such equilibrium guarantees that the steady state value of the frequency will be equal to the nominal one.

The following proposition, proved in Appendix A, shows that the set of equilibria for the system described by (3) – (5), (16) for which Assumptions 1 - 5 are satisfied is asymptotically attracting and that these equilibria are also solutions to the OSLC problem (7).

Proposition 1

Consider equilibria of (3) – (5), (16) with respect to which Assumptions 15 are all satisfied. If the control dynamics in (4a) and (4b) are chosen such that (10) is satisfied then there exists an open neighborhood of initial conditions about any such equilibrium such that the solutions of (3) – (5), (16) are guaranteed to converge to a global minimum of the OSLC problem (7) with .

Remark 8

Note that in some cases there could be uncertainty in the knowledge of the dynamics. This does not affect the optimality of the equilibrium points since at equilibrium we have . Numerical simulations with realistic data have demonstrated that network stability is also robust to variations in the model used in (16d)–(16e).

Vii Simulation on the NPCC 140-bus system

In this section we use the Northeast Power Coordinating Council (NPCC) 140-bus interconnection system, simulated using the Power System Toolbox [27], in order to illustrate our results. This model is more detailed and realistic than our analytical one, including line resistances, a DC12 exciter model, a subtransient reactance generator model, and higher order turbine governor models171717The details of the simulation models can be found in the Power System Toolbox data file datanp48..

Fig. 1: Frequency at bus 103 with: i) 10 generators, ii) 10 generators and 20 controllable loads, iii) 15 generators and 20 controllable loads, contributing to secondary frequency control.
Fig. 2: Marginal costs for controllable loads and generators with non-equal cost coefficients for the three test cases.

The test system consists of 93 load buses serving different types of loads including constant active and reactive loads and 47 generation buses. The overall system has a total real power of 28.55GW. For our simulation, we added three loads on units 2, 9, and 17, each having a step increase of magnitude p.u. (base 100MVA) at second.

Controllable demand was considered within the simulations, with loads controlled every 10ms. The disutility function for the deviation in controllable loads in each bus was . The selected values for cost coefficients were for load buses and and for the rest. Similarly, the cost functions for deviations in generation were , where were selected as the inverse of the generators droop coefficients, as suggested in (10).

Consider the static and first order dynamic schemes given by and , where has dynamics as described in (6). We refer to the resulting dynamics as Static and Dynamic OSLC respectively since in both cases, steady state conditions that solve the OSLC problem were used. As discussed in Section VI, in the presence of arbitrarily small frequency damping, both schemes satisfy Assumption 5 and are thus included in our framework.

The system was tested on three different cases. In case (i) 10 generators were employed to perform secondary frequency control by having frequency and power command as inputs. In case (ii) controllable loads were included on 20 load buses in addition to the 10 generators. Controllable load dynamics in 10 buses were described by Static OSLC and in the rest by Dynamic OSLC. Finally, in case (iii), all controllable loads of case (ii) and 15 generators where used for secondary frequency control. Note that the 15 generators used for secondary frequency control had third, fourth and fifth order turbine governor dynamics.

The frequency at bus 103 for the three tested cases is shown in Fig. 1. From this figure, we observe that in all cases the frequency returns to its nominal value. However, the presence of controllable loads makes the frequency return much faster and with a smaller overshoot.

Furthermore, from Fig. 2, it is observed that the marginal costs at all controlled loads and generators that contribute to secondary frequency control, converge to the same value. This illustrates the optimality in the power allocation among generators and loads, since equality in the marginal cost is necessary to solve (7) when the power generated does not saturate to its maximum/minimum value.

Viii Conclusion

We have considered the problem of designing distributed schemes for secondary frequency control such that stability and optimality of the power allocation can be guaranteed. In particular, we have considered general classes of generation and demand control dynamics and have shown that a dissipativity condition in conjunction with appropriate decentralized conditions on their steady state behavior can provide such stability and optimality guarantees. We have also discussed that for linear systems the dissipativity condition can be easily verified by solving a corresponding LMI and shown that the requirement to have knowledge of demand may be relaxed by incorporating an appropriate observer. Our results have been illustrated with simulations on the NPCC 140-bus system. Interesting potential extensions in the analysis include incorporating voltage dynamics, more advanced communication structures, as well as more advanced models for the loads where their switching behavior is taken into account.

Appendix A

In this appendix we prove our main results, Theorems  1 - 2, and also Lemmas 1-2, Theorem 3 and Proposition 1.

Throughout the proofs we will make use of the following equilibrium equations for the dynamics in (3)–(4),


Proof of Lemma 1: In order to show that , we sum equations (6b) at equilibrium for all , resulting in , which shows that (by summing (17b) and (17c) over all and respectively). Then, Assumption 3 implies that this equality holds only if . ∎

Proof of Theorem 1: Due to Assumption 1, and are strictly increasing and hence invertible. Therefore all variables in (10) are well-defined. Also, Assumption 1 guarantees that the OSLC optimization problem (7) is convex and has a continuously differentiable cost function. Thus, a point is a global minimum for (7) if and only if it satisfies the KKT conditions [28]


for some constants and . It will be shown below that these conditions are satisfied by the equilibrium values defined by equations (17d),  (17e) and (10).

Since and are strictly increasing, we can uniquely define