Comparison of Economic Dispatch, OPF and Security Constrained-OPF in Power System Studies RN

Abstract

Electricity network is a very complex entity that comprises several components like generators, transmission lines, loads among others. As technologies continue to evolve, the complexity of the electricity network has also increased as more devices are being connected to the network. To understand the physical laws governing the operation of the network, techniques such as optimal power flow (OPF), Economic dispatch (ED) and Security constrained optimal power flow (SCOPF) were developed. These techniques have been used extensively in network operation, planning and so on. However, an in-depth presentation showcasing the merits and demerits of these techniques is still lacking in the literature. Hence, this paper intends to fill this gap. In this paper, Economic dispatch, optimal power flow and security-constrained optimal power flow are applied to a 3-bus test system using a linear programming approach. The results of the ED, OPF and SC-OPF are compared and presented.

Share and Cite:

Obio, E. , Ali, S. , Oyebanjo, I. , Abara, D. , Suleiman, F. , Ohiero, P. , Oku, D. and Ogar, V. (2022) Comparison of Economic Dispatch, OPF and Security Constrained-OPF in Power System Studies RN. Journal of Power and Energy Engineering, 10, 54-74. doi: 10.4236/jpee.2022.108005.

1. Introduction

The aim of the electric power utilities is to supply reliable and affordable electricity to meet the demand of the consumers at the lowest possible operating cost subject to the constraints imposed by the generating units. Economic dispatch (ED) is defined as the process of allocating the generation level among the generating units in such a way that the total system cost is minimized [1]. As far back as the 1920’s ED problems have been solved with several methods such as the baseload method where the units are loaded to their maximum capability in increasing order starting with the most efficient units [2]. In the early 1930s, the incremental cost method later known as the equal increment method was recognized to yield the most economic results, this method is based on the principle that the next increment in load should be supplied by the unit with the lowest incremental cost [2].

Normally, the input to output characteristics of the generating units are non-linear, non-smooth and discrete due to prohibited operating zones, ramp rate limits and multi-fuel effects. Thus, the resultant ED becomes a challenging non-convex optimization problem that has been solved by several methods such as newton methods, gradient method and quadratic programming, among others. The major application of economic dispatch is a unit commitment problem, which involves periodic online and offline scheduling of units at the minimum cost subject to units’ constraints.

In general, ED is cost-effective as it focuses only on the merit order generation without considering the network (line) constraints [3]. Therefore, for an effective operation and planning of the electricity network, optimal power flow (OPF) calculations are critically important. According to [4], OPF is a static nonlinear optimization problem that calculates the optimal setpoints of all pre-defined electrical variables in an electrical network, for a particular load setting and system parameters. Carpentier et al. [5] presented the first form of OPF solution, since then various forms of optimal power flow techniques have been developed with a continuous search for more efficient methods to improve the reliability and accuracy of the OPF solution [5]. A comprehensive review on the state of the art in OPF solution techniques so far applied to power system is presented in [4] [5].

The application of OPF in today’s power system is becoming indispensable, especially in the area of network security, operation and control, planning among others [6] [7]. In power system planning, it is required that the network should be robust against all possible uncertainties while maximizing the social welfare of all the participants in the system. In mathematical modelling of power system planning problems, the OPF is a sub-function of the planning model, thus efficient OPF techniques are required to guarantee the best possible solution of the planning process. Nevertheless, some discussion on the application of OPF in power system planning and operation can be traced back to 1974, typically in a work presented by Sasson and Merril et al. [8]. Power system planning is a very complex problem that requires a huge amount of work and cannot be solved as a single problem. Hence it is necessary to separate it into various stages and segments such as load forecasting, reliability assessment, stability evaluation and generation/transmission expansion planning. Mathematically, OPF is usually formulated as an optimization problem with an objective function subject to a set of constraints that are dependent on the nature of the problem under investigation.

The main drawback of OPF in power system analysis is that it fails to consider the robustness of the system with respect to credible line contingencies. In a power system, security applies to the ability of the network to continuously operate satisfactorily after an outage of any of the system components such as line and generator. In other words, OPF focuses on a single system state or configuration at a particular time, hence leaving the system operator with no idea of the cost needed to meet the system operating constraints in case of credible contingency [9]. Since the utilities are saddled with the responsibility to produce and continuously supply adequate and secured electrical energy to the consumer at the lowest cost, a better approach than OPF thus becomes necessary. In line with this requirement, the Security constrained optimal power flow (SCOPF) was developed to address network security issues in both intact and contingency conditions of the network [10] [11]. In general, SCOPF is an extended form of optimal power flow that aims at minimizing the generation dispatch subject to the system power balance constraints and components operational limits for the intact network case as well as the contingency case [12]. Practically speaking, network security can be enhanced by using either the preventive or the corrective approach [13] [14].

1) Preventive security approach

In this approach, the system is not provided with the flexibility for re-scheduling the control variables in the post-contingency state and it is sometimes considered as a conservative approach.

2) Corrective security approach

This approach provides the system with the flexibility to make some adjustments to the control variable in the occurrence of a contingency. From an economic perspective, the corrective approach has been proven to be more viable than the preventive approach as it leads to a lower system cost [9]. For simplicity, a preventive Security constrained optimal power flow (PSCOPF) is demonstrated in this report and the results are compared with the initial results obtained in the ED and OPF case studies.

Paper Organization

The rest of the paper is organized as follows. Section II describes the mathematical formulations of the ED, OPF and SCOPF. The models are implemented on a 3-bus network and the results are discussed in Section III. Finally, the main observations and conclusions are summarized in Section IV.

2. Problem Formulation and Methodology

2.1. Economic Dispath (ED)

The economic dispatch problem is an optimization problem with an objective function of minimizing the total generation cost C T , subject to the power balance constraint and the generator upper and lower operating limits. The power balance constraint ensures that the sum of the total power generated is equal to the load demand plus the network losses. In a power system such as the one shown in Figure 1, which consist of N g generating units with generation output P g i connected to a single bus-bar, to supply a load D k at a cost C i , the ED problem can be mathematically represented as follows [9]:

C T = C 1 P g 1 + C 2 P g 2 + + C n P g n = i = 1 n C i ( P g i ) , (1)

P g T = P g 1 + P g 2 + + P g n = i = 1 n P g i , (2)

min i = 1 n C i ( P g i ) = min i = 1 n C i ( a i + b i P g i + c i P g i 2 ) , (3)

subject to:

i = 1 n P g i = P l o s s + D , (4)

P g i P g i max 0 , i = 1 , , n , (5)

P g i min P g i 0 , i = 1 , , n (6)

where P l o s s represents Network losses, D is the system load demand, P g i max is the upper bounds of generator, P g i min is the lower bounds of generator, C i is the cost function of generator i, P g i is power output from the ith generator, N g is the number of generators and a i , b i , c i are the cost coefficients of generator i. Equation (1) represents the total generation cost while (2) sums the power outputs of all the generating units in the system. The objective function for the ED problem is described in Equation (3) which minimizes the total generation cost in the system. Equation (4) enforces the nodal power balance constraint while constraints (5) and (6) ensure that the generators operating limits are respected.

Figure 1. Generating units connected to a single busbar to supply a load.

2.2. Lagrange Multipliers and Complimentary Slackness Condition

For a simple system with linear constraints, the ED problem can easily be solved by the substitution method. But as the size of the system increases with nonlinear constraints, solution by substitution becomes inefficient in handling these constraints. Also, the solution obtained by substitution methods does not offer much insight into the economics of the optimization problem. Hence a more preferable approach to solving the ED problem is to consider the Lagrange multiplier in the solution method. In theoretical economics, the Lagrange multiplier is interpreted as the equilibrium price or the shadow cost of an optimization problem. Since ED is an optimization problem, the Lagrange multiplier obtained from the solution corresponds to the cost of supplying additional power from generating units at the optimal solution.

ED with only equality constraints: Considering the ED problem of the system in Figure 1, with the same objective function (1) and equality constraint (4), and ignoring the network losses, the problem can be formulated with the Lagrange multiplier method as follows [9]:

l ( P g i , λ ) = i = 1 n C i ( P g i ) + λ m ( D i = 1 n P g i ) . (7)

For optimality, the necessary conditions as given by the gradient of the partial derivative of the Lagrangian are;

l ( P g i , λ ) P g i C i ( P g i ) P g i λ = 0 (8)

i = 1 , , n ,

l ( P g i , λ ) λ D i = 1 n P g i = 0. (9)

Hence, the incremental cost for the system is given as

C i ( P g i ) P g i = C n ( P g n ) P g n = λ (10)

where λ represents the cost of producing one additional megawatt-hour with any of the generators at the optimal solution of the ED. The Lagrange multiplier is also known as the equal incremental cost or shadow price of the electrical energy. It is important to note that any perturbation in the output of the scheduled generating units will affect the optimal generation cost in the objective function (1).

2.3. ED with Inequality Constraints

To solve the ED problem with inequality constraints such as the generator operating limits the Karush-Kuhn-Tucker (KKT) condition is applied. The KKT condition or complementary slackness condition at optimum can be concisely summarised in (11) and the inequality (12). In the KKT condition, two possibilities are likely to exist for each inequality that exists in any particular system [11].

μ n g n ( P g n ) = 0 , (11)

μ n 0. (12)

From the Equation (11) and inequality (12), the KKT condition or complementary slackness are described as follows:

2.3.1. Condition 1

For binding constraint, μ n > 0 and g n ( P g n ) = 0 .

2.3.2. Condition 2

For non-binding constraint,

μ n = 0 and g n ( P g n ) < 0 ;

where μ n is the KKT multiplier for the nth inequality constraints in a system.

For the Network shown in 1, the application of the KKT condition is presented as follows:

min : C T ( p g 1 , p g n ) = C 1 ( P 1 ) + C n ( P n ) (13)

subject to:

y ( P g i , P g n ) D P g i P g n = 0 , (14)

g 1 ( P g i , P g n ) P g i P g i max 0 , (15)

g 2 ( P g i , P g n ) P g i min P g i 0 , (16)

g 3 ( P g i , P g n ) P g n P g n max 0 , (17)

g 4 ( P g i , P g n ) P g n min P g n 0. (18)

Hence applying the Lagrange method, the function becomes

l ( P g 1 , P g n , λ , μ 1 , μ 2 , μ 3 , μ 4 ) = C 1 ( P g 1 ) + C n ( P g n ) + λ ( D P g 1 P g n ) + μ 1 ( P g 1 P g 1 max ) + μ 2 ( P g 1 min P g 1 ) + μ 3 ( P g n P g n max ) + μ 4 ( P g n min P g n ) . (19)

The necessary conditions for optimality of the constrained ED considering the KKT condition are

l P g 1 d C 1 ( P g 1 ) d P g 1 λ + μ 1 μ 2 = 0 , (20)

l P g n d C n ( P g n ) d P g n λ + μ 3 μ 4 = 0 , (21)

l λ D P g 1 P g n = 0 , (22)

Applying KKT or complementary conditions,

l μ 1 P g 1 P g 1 max 0 and μ 1 ( P g 1 P g 1 max ) = 0 ; μ 1 0 , (23)

l μ 2 P g 1 min P g 1 0 and μ 2 ( P g 1 min P g 1 ) = 0 ; μ 2 0 , (24)

l μ 3 P g n P g n max 0 and μ 3 ( P g n P g n max ) = 0 ; μ 3 0 , (25)

l μ 4 P g n min P g n 0 and μ 4 ( P g n min P g n ) = 0 ; μ 4 0. (26)

Following the KKT condition in the ED problem, three possible outcomes corresponding to the generating units in the system are expected to occur.

Case A: In this case, it is assumed that none of the generating units is at the upper or lower limits. Hence this implies that none of the inequality constraints is binding and that the KKT multipliers ( μ 1 , μ 2 , μ 3 , μ 4 ) associated with the inequality constraints (23) - (26) are all equal to zero.

l P g 1 d C 1 ( P g 1 ) d P g 1 λ = 0 , (27)

l P g n d C n ( P g n ) d P g n λ = 0 , (28)

C 1 ( P g 1 ) P g 1 = C n ( P g n ) d P g n = λ . (29)

This solution implies that all the generating units in the system are operating at the same incremental cost.

Case B: Since the generating units can operate at lower or upper limits, in this case, it is assumed that only generator 1 is operating with an output P g 1 at the upper limit, which implies that the inequality (23) is binding with a corresponding non-zero KKT multiplier μ 1 . On the other hand, the inequalities (24) - (26) are not binding and hence their KKT multipliers μ 2 , μ 3 and μ 4 are all equal to zero.

l P g 1 d C 1 ( P g 1 ) d P g 1 λ + μ 1 = 0 , (30)

d C 1 ( P g 1 ) d P g 1 λ + μ 1 0 , (31)

l P g n d C n ( P g n ) d P g n λ = 0 , (32)

d C n ( P g n ) d P g n = λ . (33)

Inequality (31) and Equation (33) show that all the generators are not operating at the same incremental cost because the incremental cost of generator 1 is less than that of other generators in the system.

Case C: Similarly, in this case, generator 1 is assumed to be at the lower operating limit. Hence, the inequality (24) is binding with a corresponding none zero KKT multiplier μ 2 , while μ 1 , μ 3 and μ 4 are all equal to zero.

l P g 1 d C 1 ( P g 1 ) d P g 1 λ + μ 2 = 0 , (34)

l P g 1 d C 1 ( P g 1 ) d P g 1 λ + μ 2 0 , (35)

l P g n d C n ( P g n ) d P g n λ = 0 , (36)

d C n ( P g n ) d P g n = λ . (37)

Equation (35) indicates that the marginal cost of generator 1 is higher than the marginal cost of all the generating units in the system and as such to supply the next MW load, any other generating unit with marginal cost in Equation (37) will have to be dispatched.

2.4. OPF Objective Function

In OPF calculation, the full AC power flow model offers the best solution since all the quantities are fully represented using the complete electrical network equations without any approximation. The objective function of OPF can either be a single decision variable or a sum of different decision variables. Depending on the nature of the problem, the optimization formulation can take the form of a convex or a non-convex problem which in turn influences the choice of algorithm for solving the problem. Some possible objective functions of an OPF may include; [15] [16] [17] [18] [19]

1) Minimization of losses in the system,

2) Minimization of CO2 emission,

3) Maximization of profits,

4) Minimization of interruption cost,

5) Minimization of network investment cost,

6) Maximization of transmission line capacity, etc.

Constraints: In OPF formulation, the constraints could be modelled as equality, inequality or both, depending on the nature and purpose of solving the OPF problem. The operation of the power network is governed by physical laws which describe the interaction of the electrical variable at every operating point of the system. Kirchhoff’s Current and Voltage laws are among the few laws that must be obeyed in the network during the OPF calculation. Since the network consists of individual components which are not infinite, it is equally required that the operational limits of all the components be respected during the OPF calculation. The basic constraints in OPF are equality and inequality constraints as represented in (39) and (40).

min f ( c 1 , c 2 , , c n ) . (38)

( ( c 1 , c 2 , , c n ) = 0 , x k ( c 1 , c 2 , , c n ) = 0. (39)

( y 1 ( c 1 , c 2 , , c n ) 0, y m ( c 1 , c 2 , , c n ) 0. (40)

The former refers to the power flow equation which attends attain a nonlinear status for the full AC OPF model and linear for the DC model. While the latter is related to the problem variables which are characterized by a fixed upper and/or lower limit of the OPF variables. Also, the inequality constraints may be expressed as a continuous or discrete function of the variables, depending on the characteristic of the problem. Generally, the OPF variable is made up of control and state variables. The basic state and control variables are as follows:

State variable

1) Voltage magnitude at each bus apart from the generator bus,

2) Voltage angle at each bus excluding the swing bus.

Control variable

1) The active power output of the generating units,

2) The voltage at the generating units,

3) Position of the transformer taps,

4) Status of the switched capacitors and reactors,

5) Amount of load disconnected, etc.

2.5. Security Constrained OPF (SCOPF)

Mathematically, the SCOPF can be formulated as presented in [20]:

min : f ( x k , u ) , (41)

subject to:

y k ( x k , u ) = 0 , k = 0 , 1 , , n , (42)

g k ( x k , u ) 0 , k = 0 , 1 , , n , (43)

From the expressions, Equation (41) represents the objective function subject to the equality and inequality constraints in (42) and (43) respectively. The SCOPF consist of the intact and contingency network, where k = 0 corresponds to the intact state while k = 1 , , n corresponds to the contingency states of the network and n is the number of contingencies considered. Also, the vector of the control variables (such as generation dispatch, transformer taps setting, load interruption, etc.) is represented by x k while the state variable vector under the kth state is represented by u. It is also important to mention that with SCOPF, the dimension of the optimization problem is greater than that of the OPF problem, this is due to the increase in the number of variables and constraints.

In some cases, there may be no feasible solution to the SCOPF problem or it might be over-constrained, especially when the system is operating under severe conditions or very close to the system allowable operating limits [14]. Hence, to ensure that the SCOPF problem is not over-constrained, the limits of the control variable in the contingency state are sometimes relaxed to increase the feasible region of the solution. The ED, OPF and SCOPF are performed on a 3-bus test system in Figure 2 to compared using the system information given in Table 1, Table 2 and Table 3.

2.6. Unconstrained Economic Dispath (ED)

The ED problem is formulated as a linear programming problem as shown in (44) - (49).

min i = 1 n C i ( P G i ) = 8 P G 1 + 10 P G 2 + 15 P G 3 + 20 P G 4 . (44)

subject to:

P G 1 + P G 2 + P G 3 + P G 4 = D 1 + D 2 + D 3 = 410 , (45)

0 P G 1 140 MW , (46)

0 P G 2 285 MW , (47)

0 P G 3 200 MW , (48)

0 P G 4 90 MW . (49)

Manual computation of the Transmission Line flows: Given the transmission line data and generation dispatch, the power balance Equation (KCL) for the network in 2 is written as follows;

Bus 1 : P G 1 + P G 2 F 12 F 13 50 = 0, (50)

Bus 2 : P G 3 F 12 F 23 60 = 0, (51)

Bus 3 : P G 4 F 13 F 23 300 = 0. (52)

Table 1. Three-bus test system load data.

Table 2. Three-bus test system generator data.

And for the KVL, the loop equation is given as

0.2 F 12 + 0.1 F 23 0.2 F 13 = 0. (53)

Substituting for the generation dispatch in Equations (50) - (53), the KCL is thus reduced to;

Bus 1 : 360 F 12 F 13 = 0, (54)

Bus 2 : F 12 F 23 60 = 0, (55)

Bus 3 : F 13 + F 23 = 300. (56)

From (54),

F 12 = 360 F 13 . (57)

Substituting F 12 in (57) into the KVL in (53);

0.4 F 13 + 0.1 F 23 = 72. (58)

Multiplying (56) by 0.4,

0.4 F 13 + 0.4 F 23 = 120 MW . (59)

And adding (58) and (59),

0.5 F 23 = 48 MW , (60)

F 23 = 96 MW . (61)

Substituting the value of F 23 in (55) and (56), the values of F 12 and F 13 can be calculated respectively as;

F 12 = 156 MW , F 13 = 204 MW .

2.7. Optimal Power Flow (OPF)

For a lossless transmission network, the DC OPF can concisely be formulated with the same objective function in Equation (42) subject to constraints (5) and (6) with additional of the following constraints (62) - (65) as follows:

i = 1 N g P g i = D k + l = 1 N l f l , (62)

f l θ m θ k x l = 0 , (63)

f l min f l f l max , (64)

θ k = 0. (65)

In the OPF, the power system physical laws which are Kirchhoff’s current and voltage laws (KCL and KVL respectively) are represented by the constraints (62) and (63). Equation (62) enforces the power balance constraint at all the nodes in the network while Equation (63) calculates the line flows. To ensure that the transmission lines transfer limits are not exceeded, the inequality in (64) is used. Equation (64) represents the voltage angle at the reference bus. For the three-bus network in Figure 2, the objective functions of the DC OPF along with the constraints are presented as follows.

Figure 2. Manual computation of ED on 3-bus network with line flow directions.

min i = 1 n C i ( P G i ) = 8 P G 1 + 10 P G 2 + 15 P G 3 + 20 P G 4 , (66)

subject to:

The power balance constraints (KCL);

Bus 1 : P G 1 + P G 2 = D 1 + F 12 + F 13 , (67)

Bus 2 : P G 3 = D 2 F 12 + F 23 , (68)

Bus 3 : P G 4 = D 3 F 23 F 13 . (69)

The KVL;

Line 1-2 : F 12 θ 1 θ 2 x 12 = 0 , (70)

Line 1-3 : F 13 θ 1 θ 3 x 13 = 0 , (71)

Line 2-3 : F 23 θ 2 θ 3 x 23 = 0 , (72)

Slack : θ 1 = 0. (73)

The transmission lines transfer capability limit;

Line 1-2 : 120 F 12 120 , (74)

Line 1-3 : 250 F 13 250 , (75)

Line 3-2 : 130 F 23 130. (76)

The generator limits;

G1 : 0 P G 1 140, (77)

G2 : 0 P G 2 285, (78)

G3 : 0 P G 3 200, (79)

G4 : 0 P G 4 90. (80)

2.8. Security Constrained Optimal Power Flow (SCOPF)

Using the three-bus test system in Figure 2, the preventive security-constrained optimal power flow is implemented. The demonstration is based on the N − 1 security criterion which requires the network to continuously operate within the thermal limits after the outage of a single component in the system. In this paper, only the outage of the transmission line is considered in a deterministic way, which means that the probability of the outage occurrence is not considered. Also, it is assumed that the power outputs of the generating units are the same for both intact and contingency networks. Hence the SCOPF for the three-bus test system is formulated with the same objective function in (66) as follows:

min i = 1 n C i ( P G i ) = 8 P G 1 = 10 P G 2 + 15 P G 3 + 20 P G 4 , (81)

subject to:

Intact network constraints:

The power balance constraints (KCL);

Bus 1 : P G 1 + P G 2 = D 1 + F 12 + F 13 , (82)

Bus 2 : P G 3 = D 2 F 12 + F 23 , (83)

Bus 3 : P G 4 = D 3 F 23 F 13 , (84)

The KVL is represented as shown in (70) to (73);

Contingency network constraints:

The outage of Transmission Line (L1-2):

The power balance constraints (KCL);

Bus 1 : P G 1 + P G 2 = D 1 + F 12 o u t a g e 12 + F 13 o u t a g e 12 , (85)

Bus 2 : P G 3 = D 2 F 12 o u t a g e 12 + F 23 o u t a g e 12 , (86)

Bus 3 : P G 4 = D 3 F 13 o u t a g e 12 F 23 o u t a g e 12 , (87)

The KVL;

Line 1-2 outage : F 12 o u t a g e 12 = 0 , (88)

Line 1-3 : F 13 o u t a g e 12 θ 1 o u t a g e 12 θ 3 o u t a g e 12 x 12 = 0 , (89)

Line 2-3 : F 23 o u t a g e 12 θ 2 o u t a g e 12 θ 3 o u t a g e 12 x 23 = 0, (90)

Slack : θ 1 o u t a g e 12 = 0. (91)

The outage of Transmission Line (L1-3):

The power balance constraints (KCL);

Bus 1 : P G 1 + P G 2 = D 1 + F 12 o u t a g e 13 + F 13 o u t a g e 13 , (92)

Bus 2 : P G 3 = D 2 F 12 o u t a g e 13 + F 23 o u t a g e 13 , (93)

Bus 3 : P G 4 = D 3 F 13 o u t a g e 13 F 23 o u t a g e 13 ,. (94)

The KVL;

Line 1-2 : F 12 o u t a g e 13 θ 1 o u t a g e 13 θ 2 o u t a g e 12 x 12 = 0, (95)

Line 1-3 outage : F 13 o u t a g e 13 = 0, (96)

Line 2-3 : F 23 o u t a g e 13 θ 2 o u t a g e 13 θ 3 o u t a g e 13 x 23 = 0, (97)

Slack : θ 1 o u t a g e 13 = 0. (98)

The outage of Transmission Line (L2-3):

The power balance constraints (KCL);

Bus 1 : P G 1 + P G 2 = D 1 + F 12 o u t a g e 23 + F 13 o u t a g e 23 , (99)

Bus 2 : P G 3 = D 2 F 12 o u t a g e 23 + F 23 o u t a g e 23 , (100)

Bus 3 : P G 4 = D 3 F 13 o u t a g e 23 F 23 o u t a g e 23 , (101)

The KVL;

Line 1-2 : F 12 o u t a g e 23 θ 1 o u t a g e 23 θ 2 o u t a g e 23 x 12 = 0 , (102)

Line 1-3 : F 13 o u t a g e 23 θ 1 o u t a g e 23 θ 3 o u t a g e 23 x 13 = 0, (103)

Line 2-3 outage : F 23 o u t a g e 23 = 0, (104)

Slack : θ 1 o u t a g e 23 = 0. (105)

The trans. lines transfer capability limit for the intact network:

Line 1-2 : 120 F 12 120 , (106)

Line 1-3 : 250 F 13 250 , (107)

Line 2-3 : 130 F 23 130. (108)

Trans. lines transfer capability limit for contingency network:

Line 1-3 : 250 F 13 o u t a g e 12 250 , (109)

Line 2-3 : 130 F 23 o u t a g e 12 130 , (110)

Line 1-2 : 120 F 12 o u t a g e 13 120 , (111)

Line 2-3 : 130 F 23 o u t a g e 13 130 , (112)

Line 1-2 : 120 F 12 o u t a g e 23 120 , (113)

Line 1-3 : 250 F 13 o u t a g e 23 250 , (114)

The generator limits;

G1 : 0 P G 1 140, (115)

G2 : 0 P G 2 285, (116)

G3 : 0 P G 3 200, (117)

G4 : 0 P G 4 90. (118)

3. Results and Discussion

In this section, the three models are tested on a 3-bus network depicted in Figure 2. In the system under investigation, the generator G1 is the least expensive then followed by G2 hence, only the two generators are dispatched to satisfy the demand as demonstrated in Figure 3. Since generators G3 and G4 are not dispatched, the marginal generator G2 in the system is hence making the marginal cost of the system equal $10/MWh which is the cheapest while ignoring the line constraints. As already discussed in previous sections, the system marginal cost represents the Lagrange multiplier or the shadow cost of the system. Using the branch data given in Table 3, the resulting line flows for the ED are manually computed by applying Kirchhoff’s voltage and current laws. Correspondingly, it can be observed that the resulting flow F12 on line L1-2 shown in Figure 10 is above the maximum transmission line capacity. This condition makes the unconstrained economic dispatch solution unsuitable when considering the security constraints of the network. With the network constraints considered in the ED problem, Figure 4 shows the generation dispatched together with the marginal cost of the generators. It can be observed from the graph that generator G2 is operating below its maximum capacity even though being less expensive than generator G3. This out of merit order generation is a result of the limitation in the transmission line capacity, thus constraining the cheaper generator G2 from operating at full capacity.

Figure 3. Economic dispatch for the three-bus test system.

Figure 4. Generators output for the optimal power flow (OPF).

Table 3. Three-bus test system branch data.

On the other hand, the out-of-merit order generation is to ensure that the network security is not violated even though being more expensive than the merit-order generation in the ED. However, the total system operating cost is represented in Figure 5, with the OPF resulting in an extra cost of $450. The extra cost incurred in the OPF case is considered as the cost of network security. Also, the power flows on each of the lines are shown in Figure 6. From the graph, it can be seen that Line L1-2 is operating at 100% of its capacity while L1-3 and L2-3 are operating at 60% and 46.2% of their capacities respectively.

From the simulation results, Figure 7 shows a comparison of the power outputs of the generators in the ED, OPF and PSCOPF scenarios. From the graph, it can be seen that generator G1 operates at full capacity in all scenarios, mainly due to its low incremental cost, while generator G2 output is reduced by 150 MW in the SCOPF scenario. Correspondingly, the output of generators G3 and G4 are increased by 110 MW and 40 MW respectively, despite being more expensive than generator G2. This increase in the outputs of expensive generators is to continuously supply the heavy demand at bus 3 due to the line contingencies. Considering Figure 8, the total system cost for the three case studies is compared to illustrate the trade-off between system network reliability and the cost of system operation.

From the comparison, SCOPF shows an increase in the total system cost by $1400 of the initial ED system cost and is also higher than OPF system cost by $950. This shows that the total system cost increases when operating the system with network security constraints. The line flows for the intact and contingency network is shown in Figure 9. By comparing the flows with the basic OPF in Figure 6, it can be observed that the line flows are lower due to the power demand at each bus being supplied by the generators closer to them or connected to the same bus.

Modelling Software

In this paper, the advanced interactive multidimensional modelling system (AIMMS) optimization package is used. A comparison of various modelling languages used for optimization in power system study is presented in [21]. Among the modelling language compared include, Lingo, GAMs, Aimms and Yalmip. As part of the comparison, the author categorized the features of the modelling language based on the following attributes:

Figure 5. Total system operating cost for ED and OPF.

Figure 6. Comparison of transmission line flows and line capacities for OPF.

Figure 7. Comparison of generator outputs for ED, OPF and PSCOPF.

Flexibility with MS Excel Spreadsheets: AIMMS offers the flexibility of importing and exporting data from a spreadsheet using the Ms excel function library. Also, the Ms Excel add-in (AIMMS interface setup) allows for easy loading of data directly from the spreadsheet into the required location in AIMMS.

Figure 8. Total system operating cost for ED, OPF and PSCOPF.

Figure 9. Transmission line flows for the PSCOPF.

Figure 10. Transmission line flows for unconstrained economic dispatch.

Declaration of equation, variables and constraints: Declaration in AIMMS is very straightforward as it does not require the user to write any specific programme in the integrated development environment (IDE) instead a set- oriented syntax is used. The AIMMS IDE allows the user to define all the required variables, constraints and parameters for the model with ease.

Easy debugging/clarity of code: Editing of source code is generally not allowed in the AIMMS IDE, however, the user gets an error message, this can easily be identified on the command line or using a tool known as mathematical programme inspector to search for the error in the user-defined algorithm.

Choice of Solvers and licenses and access: The AIMMS modelling package has several solvers as part of the optimization package that can automatically select the appropriate solver for any particular optimization problem. It also has some functional models to support new users of the software as well as a free academic license for easy installation of the software on any computer [22].

The criteria discussed in this section form the basics of choosing the AIMMS modelling language for this research work. However, the use of other programming languages like Java and MATLAB will equally be necessary as AIMMS is an optimization package.

4. Conclusion

In this paper, a thorough review of the basic economic dispatch (ED), optimal power flow (OPF) and security-constrained optimal power flow (SCOPF) as applied to a three-bus test system is presented. The review revealed that by incorporating network constraints into the basic economic dispatch, the violation of the network constraints can be avoided but results in a higher system operating cost than the basic ED. Furthermore, this cost is further increased by considering the network security constraints. The concept and formulation of the Lagrange multiplier and the KKT condition were reviewed in this chapter. Finally, a description of the modelling software used in this research work is also presented.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Chowdhury, E.H. and Tech, V. (1990) A Review of Recent Advances in Economic Dispatch. IEEE Transactions on Power Systems, 5, 1248-1259.
https://doi.org/10.1109/59.99376
[2] Happ, H.H. (1977) Optimal Power Dispatch—A Comprehensive Survey. IEEE Transactions on Power Apparatus and Systems, 96, 841-854.
https://doi.org/10.1109/T-PAS.1977.32397
[3] FERC (2005) Economic Dispatch: Concepts, Practices and Issues. Palm Springs, 11.
[4] Huneault, M. and Galiana, F.D. (1991) A Survey of the Optimal Power Flow Literature. IEEE Transactions on Power Systems, 6, 762-770.
https://doi.org/10.1109/59.76723
[5] Carpentier, J. (1979) Optimal Power Flows. International Journal of Electrical Power & Energy Systems, 1, 3-15.
https://doi.org/10.1016/0142-0615(79)90026-7
[6] Cain, M.B., O’neill, R.P. and Castillo, A. (2012) History of Optimal Power Flow and Formulations. Federal Energy Regulatory Commission, Washington DC, 1-36.
[7] Momoh, J.A., Adapa, R. and El-Hawary, M.E. (1999) A Review of Selected Optimal Power Flow Literature to 1993. I. Nonlinear and Quadratic Programming Approaches. IEEE Transactions on Power Systems, 14, 96-104.
https://doi.org/10.1109/59.744492
[8] Sasson, A.M. and Merrill, H.M. (1974) Some Applications of Optimization Techniques to Power Systems Problems. Proceedings of the IEEE, 62, 959-972.
https://doi.org/10.1109/PROC.1974.9548
[9] Capitanescu, F., Glavic, M., Ernst, D. and Wehenkel, L. (2006) Applications of Security-Constrained Optimal Power Flows. Proceedings of Modern Electric Power Systems Symposium, MEPS06, Online, 7,
http://hdl.handle.net/2268/13538
[10] Capitanescu, F., et al. (2011) State-of-the-Art, Challenges, and Future Trends in Security Constrained Optimal Power Flow. Electric Power Systems Research, 81, 1731-1741.
https://doi.org/10.1016/j.epsr.2011.04.003
[11] Daniel, G.S. and Kirschen, S. (2004) Fundamentals of Power System Economics. John Wiley & Sons, West Sussex.
https://doi.org/10.1002/0470020598
[12] Cañizares, C., Rosehart, W., Berizzi, A. and Bovo, C. (2001) Comparison of Voltage Security Constrained Optimal Power Flow Techniques. 2001 Power Engineering Society Summer Meeting. Conference Proceedings, Vol. 3, 1680-1685.
https://doi.org/10.1109/PESS.2001.970328
[13] Monticelli, A., Pereira, M.V.F. and Granville, S. (1987) Security-Constrained Optimal Power Flow with Post-Contingency Corrective Rescheduling. IEEE Transactions on Power Systems, 2, 175-180.
https://doi.org/10.1109/TPWRS.1987.4335095
[14] Allen, G.B.S., Wood, J. and Wollenberg, B.F. (2003) Power Generation, Operation, and Control. John Wiley & Sons, Hoboken.
[15] Das, C.K., Bass, O., Kothapalli, G., Mahmoud, T.S. and Habibi, D. (2018) Overview of Energy Storage Systems in Distribution Networks: Placement, Sizing, Operation, and Power Quality. Renewable and Sustainable Energy Reviews, 91, 1205-1230.
https://doi.org/10.1016/j.rser.2018.03.068
[16] Ahmed, M.Z. and Padhiyar, N. (2020) Multi Objective Optimization of a Tri-Reforming Process with the Maximization of H2 Production and Minimization of CO2 Emission & Power Loss. International Journal of Hydrogen Energy, 45, 22480-22491.
https://doi.org/10.1016/j.ijhydene.2020.06.210
[17] Prajapati, V.K. and Mahajan, V. (2021) Reliability Assessment and Congestion Management of Power System with Energy Storage System and Uncertain Renewable Resources. Energy, 215, Article ID: 119134.
https://doi.org/10.1016/j.energy.2020.119134
[18] Nourizadeh, H., Mosallanejad, A. and SetayeshNazar, M. (2022) Optimal Placement of Fixed Series Compensation and Phase Shifting Transformer in the Multi-Year Generation and Transmission Expansion Planning Problem at the Pool-Based Market for Maximizing Social Welfare and Reducing the Investment Costs. IET Generation, Transmission & Distribution, 16, 2959-2976.
https://doi.org/10.1049/gtd2.12488
[19] Yu, S., Zhou, S. and Qin, J. (2022) Layout Optimization of China’s Power Transmission Lines for Renewable Power Integration Considering Flexible Resources and Grid Stability. International Journal of Electrical Power & Energy Systems, 135, Article ID: 107507.
https://doi.org/10.1016/j.ijepes.2021.107507
[20] Dong, F., Huang, L., Lam, B.P., Member, S. and Xu, X. (2012) Practical Applications of Preventive Security Constrained Optimal Power Flow. 2012 IEEE Power and Energy Society General Meeting, San Diego, 22-26 July 2012, 1-5.
[21] Podhradsky, M. (2010) Modelling Languages for Optimization. Bachelor Thesis, Czech Technical University, Prague.
[22]
https://www.aimms.com/support/licensing/

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.