Appendix A Solving Systems of Nonlinear Equations

Size: px
Start display at page:

Download "Appendix A Solving Systems of Nonlinear Equations"

Transcription

1 Appendix A Solving Systems of Nonlinear Equations Chapter 4 of this book describes and analyzes the power flow problem. In its ac version, this problem is a system of nonlinear equations. This appendix describes the most common method for solving a system of nonlinear equations, namely, the Newton-Raphson method. This is an iterative method that uses initial values for the unknowns and, then, at each iteration, updates these values until no change occurs in two consecutive iterations. For the sake of clarity, we first describe the working of this method for the case of just one nonlinear equation with one unknown. Then, the general case of n nonlinear equations and n unknowns is considered. We also explain how to directly solve systems of nonlinear equations using appropriate software. A.1 Newton-Raphson Algorithm The Newton-Raphson algorithm is described in this section. A.1.1 One Unknown Consider a nonlinear function f.x/ W R! R. We aim at finding a value of x so that: f.x/ D 0: (A.1) To do so, we first consider a given value of x, e.g., x.0/. In general, we have that f x.0/ 0. Thus, it is necessary to find x.0/ so that f x.0/ C x.0/ D 0. Springer International Publishing AG 2018 A.J. Conejo, L. Baringo, Power System Operations, Power Electronics and Power Systems, 271

2 272 A Solving Systems of Nonlinear Equations Using Taylor series, we can express f x.0/ C x.0/ as: f x.0/ C x.0/ D f x.0/ df.x/.0/ x.0/ 2 C x.0/ C dx 2 d 2.0/ f.x/ C ::: dx 2 (A.2) Considering only the first two terms in Eq. (A.2) and since we seek to find x.0/ so that f x.0/ C x.0/ D 0, we can approximately compute x.0/ as: x.0/ f x.0/ df.x/.0/ : (A.3) dx Next, we can update x as: x.1/ D x.0/ C x.0/ : (A.4) Then, we check if f x.1/ D 0. If so, we have found a value of x that satisfies f.x/ D 0. If not, we repeat the above step to find x.1/ so that f x.1/ C x.1/ D 0 and so on. In general, we can compute x./ as: x.c1/ D x./ f x./ df.x/./ ; (A.5) where is the iteration counter. Considering the above, the Newton-Raphson method consists of the following steps: Step 0: initialize the iteration counter ( D 0) and provide an initial value for x, i.e., x D x./ D x.0/. Step 1: compute x.c1/ using Eq. (A.5). Step 2: check if the difference between the values of x in two consecutive iterations is lower than a prespecified tolerance, i.e., check if ˇˇx.C1/ x./ˇˇ <. If so, the algorithm has converged and the solution is x.c1/. If not, continue at Step 3. Step 3: update the iteration counter C 1 and continue at Step 1. Illustrative Example A.1 Newton-Raphson algorithm for a one-unknown problem We consider the following quadratic function: dx f.x/ D x 2 3x C 2;

3 A Solving Systems of Nonlinear Equations 273 whose first derivative is: df.x/ D 2x 3: dx The Newton-Raphson algorithm proceeds as follows: Step 0: we initialize the iteration counter ( D 0) and provide an initial value for x, e.g., x./ D x.0/ D 0. Step 1: we compute x.1/ using the equation below: x.1/ D x.0/ x.0/ 2 3x.0/ C 2 2x.0/ 3 D C D 0:6667: Step 2: we compute absolute value of the difference between x.1/ and x.0/, i.e., j0:6667 0j D 0:6667. Since this difference is not small enough, we continue at Step 3. Step 3: we update the iteration counter D 0 C 1 D 1 and continue at Step 1. Step 1: we compute x.2/ using the equation below: x.2/ D x.1/ x.1/ 2 3x.1/ C 2 2x.1/ 3 D 0:6667 0: :6667 C 2 2 0: D 0:9333: Step 2: we compute the absolute value of the difference between x.2/ and x.1/, i.e., j0:9333 0:6667j D 0:2666. Since this difference is not small enough, we continue at Step 3. Step 3: we update the iteration counter D 1 C 1 D 2 and continue at Step 1. This iterative algorithm is repeated until the difference between the values of x in two consecutive iterations is small enough. Table A.1 summarizes the results. The algorithm converges in four iterations for a tolerance of Note that the number of iterations needed for convergence by the Newton- Raphson algorithm is small. Table A.1 Illustrative Example A.2: results Iteration x

4 274 A Solving Systems of Nonlinear Equations A.1.2 Many Unknowns The Newton-Raphson method described in the previous section is extended in this section to the general case of a system of n nonlinear equations with n unknowns, as the one described below: 8 f 1.x 1 ; x 2 ;:::;x n / D 0; ˆ< f 2.x 1 ; x 2 ;:::;x n / D 0; : ˆ: f n.x 1 ; x 2 ;:::;x n / D 0; where f i.x 1 ; x 2 ;:::;x n / W R n! R, i D 1;:::;n, are nonlinear functions. The system of equations (A.6) can be rewritten in compact form as: (A.6) f.x/ D 0; (A.7) where: f.x/ D Œf 1.x/ f 2.x/ ::: f n.x/ > D 0: R n! R n, x D Œx 1 x 2 ::: x n >, 0 D Œ00 ::: 0 >, and > denotes the transpose operator. Given an initial value for vector x, i.e., x.0/, we have, in general, that f x.0/ 0. Thus, we need to find x.0/ so that f x.0/ C x.0/ D 0. Using the first-order Taylor series, f x.0/ C x.0/ can be approximately expressed as: f x.0/ C x.0/ f x.0/ C J.0/ x.0/ ; (A.8) where J is the n n Jacobian: 2.x/ J 1 6 : n : :: : : (A.9) :: n.x/ n Since we seek f x.0/ C x.0/ D 0,fromEq.(A.8) we can compute x.0/ as: x.0/ J.0/ 1 f x.0/ : (A.10)

5 A Solving Systems of Nonlinear Equations 275 Then, we can update vector x as: x.1/ D x.0/ C x.0/ : (A.11) In general, we can update vector x as: x.c1/ D x./ J./ 1 f x./ ; (A.12) where is the iteration counter. Considering the above, the Newton-Raphson algorithm consists of the following steps: Step 0: initialize the iteration counter ( D 0) and provide an initial value for vector x, i.e., x D x./ D x.0/. Step 1: compute the Jacobian J using (A.9). Step 2: compute x.c1/ using matrix equation (A.12). Step 3: check every element of the absolute value of the difference between the values of vector x in two consecutive iterations is lower than a prespecified tolerance, i.e., check if ˇˇx.C1/ x./ˇˇ <. If so, the algorithm has converged and the solution is x.c1/. If not, continue at Step 4. Step 4: update the iteration counter C 1 and continue at Step 1. For the sake of clarity, this iterative algorithm is schematically described through the flowchart in Fig. A.1. Illustrative Example A.2 Newton-Raphson algorithm for a two-unknown problem We consider the following system of two equations and two unknowns: ( f 1.x; y/ D x C xy 4; f 2.x; y/ D x C y 3: We aim at finding the values of x and y so that f 1.x; y/ D 0 and f 2.x; y/ D 0. To do so, we use the Newton-Raphson method. First, we compute the partial derivatives: 1.x; y/ D 1 1.x; y/ ˆ< 2.x; y/ 2.x; y/ ˆ: D

6 276 A Solving Systems of Nonlinear Equations n = 0 x = x (0) Compute the Jacobian J ( ) using (A.9) n n Compute x ( +1) using (A.12) x ( n +1) x ( n ) < e? YES END NO n + 1 n Fig. A.1 Algorithm flowchart for the Newton-Raphson method Second, we build the Jacobian matrix: J D 1 C y x : 1 1 Then, we follow the iterative procedure described above: Step 0: we initialize the iteration counter ( D 0) and provide initial values for variables x and y, e.g., x./ D x.0/ D 1:98 and y./ D y.0/ D 1:02, respectively. Step 1: we compute the Jacobian matrix J at iteration D 0: 1 C y J.0/.0/ x D.0/ D C 1:02 1:98 D 1 1 2:02 1:98 : 1 1

7 A Solving Systems of Nonlinear Equations 277 Table A.2 Illustrative Example A.2: results Iteration x y Step 2: we compute x.1/ and y.1/ using the matrix equation below: x.1/ x.0/ D y.1/ D y.0/ 1:98 1:02 1 C y.0/ x.0/ 1 x.0/ C x.0/ y./ 4 x.0/ C y.0/ D 0 2:02 1: :9900 : 1:0100 Step 3: we compute the difference between x.1/ and x.0/, i.e., j1:9900 1:98j D 0:01, as well as the differences between y.1/ and y.0/, i.e., j1:0100 1:02j D 0:01. Since these differences are not small enough, we continue with Step 4. Step 4: we update the iteration counter D 0 C 1 D 1 and continue with Step 1. This iterative algorithm is repeated until the differences between the values of x and y in two consecutive iterations are small enough. Table A.2 provides the evolution of the values of these unknowns. The algorithm converges in nine iterations for a tolerance of Note that the number of iterations needed by the Newton-Raphson algorithm is rather small. Next, we consider a different initial solution. Table A.3 provides the results. In this case, the algorithm converges in 11 iterations for a tolerance of We conclude that the initial solution does not have an important impact on the number of iterations required for convergence, provided that convergence is attained. However, convergence is not necessarily guaranteed, and the Jacobian may be singular at any iteration. Further details on convergence guarantee and on convergence speed are available in [1].

8 278 A Solving Systems of Nonlinear Equations Table A.3 Illustrative Example A.2: results considering a different initial solution Iteration x y A.2 Direct Solution Generally, the Newton-Raphson method does not need to be implemented. An offthe-self routine (in GNU Octave [2] or MATLAB [3]) embodying the Newton- Raphson algorithm can be used to solve systems of nonlinear equations. Illustrative Examples A.1 and A.2 are solved below using GNU Octave routines. A.2.1 One Unknown The GNU Octave [2] routines below solve Illustrative Example A.1: 1 clc 2 fun 3 x0 = [0]; x = fsolve(fun,x0) 1 function F = NR1(x) 2 % 3 F(1)=x(1)*x(1)-3*x(1)+2; The solution provided by GNU Octave is: 1 x =

9 A Solving Systems of Nonlinear Equations 279 A.2.2 Many Unknowns The GNU Octave routines below solve Illustrative Example A.2: 1 clc 2 fun 3 x0 = [1.98,1.02]; x = fsolve(fun,x0) 1 function F = NR2(x) 2 % 3 F(1)=x(1)+x(1)*x(2)-4; 4 F(2)=x(1)+x(2)-3; 1 x = The solution provided by GNU Octave is: A.3 Summary and Further Reading This appendix describes the Newton-Raphson method, which is the most common method for solving systems of nonlinear equations, as those considered in Chap. 4 of this book. The Newton-Raphson method is based on an iterative procedure that updates the value of the unknowns involved until the changes in their values in two consecutive iterations are small enough. Different illustrative examples are used to show the working of the Newton- Raphson method. Additionally, this appendix explains also how to directly solve a system of nonlinear equations using appropriate software, such as GNU Octave [2]. Additional details can be found in the monograph by Chapra and Canale on numerical methods in engineering [1]. References 1. Chapra, S.C., Canale, R.P.: Numerical Methods for Engineers, 6th edn. McGraw-Hill, New York (2010) 2. GNU Octave (2016): Available at 3. MATLAB (2016): Available at

10 Appendix B Solving Optimization Problems This appendix provides an overview of the general structure of some of the optimization problems considered through the chapters of this book, namely, linear programming, mixed-integer linear programming, and nonlinear programming problems. B.1 Linear Programming Problems The simplest instance of an optimization problem is a linear programming (LP) problem. All variables of an LP problem are continuous and its objective function and constrains are linear. B.1.1 Formulation The general formulation of an LP problem is as follows: min xi ;8i X C i x i subject to i (B.1a) X A ij x i D B j ; j D 1;:::;m; (B.1b) i X D ik x i E k ; k D 1;:::;o; (B.1c) i x i 2 R; i D 1;:::;n; (B.1d) Springer International Publishing AG 2018 A.J. Conejo, L. Baringo, Power System Operations, Power Electronics and Power Systems, 281

11 282 B Solving Optimization Problems where: R is the set of real numbers, C i, 8i, are the cost coefficients of variables x i, 8i, in the objective function (B.1a), A ij, 8i, and B j are the coefficients that define equality constraints (B.1b), 8j, D ik, 8i, and E k are the coefficients that define inequality constraints (B.1c), 8k, n is the number of continuous optimization variables, m is the number of equality constraints, and o is the number of inequality constraints. In compact form, the LP problem (B.1) can be written as: min x C > x (B.2a) subject to Ax D B; Dx E; x 2 R n1 ; (B.2b) (B.2c) (B.2d) where: superscript > denotes the transpose operator, C 2 R n1 is the cost coefficient vector of the variable vector x in the objective function (B.2a), A 2 R mn and B 2 R m1 are the matrix and the vector of coefficients that define equality constraint (B.2b), and D 2 R on and E 2 R o1 are the matrix and the vector of coefficients that define inequality constraint (B.2c). Some examples of LP problems are the dc optimal power flow problem analyzed in Chap. 6 or the economic dispatch problem described in Chap. 7 of this book. B.1.2 Solution One of the most common and efficient methods for solving LP problems is the simplex method [2]. A detailed description of this method can be found, for instance, in [4]. LP problems can be also solved using one of the many commercially available software tools. For example, in this book we use CPLEX [5] under GAMS [3]. Illustrative Example B.1 Linear programming We consider a generating unit with a capacity of 10 MW and a variable cost of $21/MWh. This generating unit has to decide its power output for the following 6 h,

12 B Solving Optimization Problems 283 knowing that the electric energy prices in these hours are $10/MWh, $15/MWh, $22/MWh, $30/MWh, $24/MWh, and $20/MWh, respectively. Considering these data, we formulate the following LP problem: max p1 ;p 2 ;p 3 ;p 4 ;p 5 ;p 6 subject to 10p 1 C 15p 2 C 22p 3 C 30p 4 C 24p 5 C 20p 6 21.p 1 C p 2 C p 3 C p 4 C p 5 C p 6 / 0 p 1 10; 0 p 2 10; 0 p 3 10; 0 p 4 10; 0 p 5 10; 0 p 6 10: The solution of this problem is (note that a superscript in the variables below indicates optimal value): p 1 D 0; p 2 D 0; p 3 p 4 p 5 D 10 MW; D 10 MW; D 10 MW; p 6 D 0: This solution renders an objective function value of $130. A simple input GAMS [3] file to solve Illustrative Example B.1 is provided below: 1 variables z, p1, p2, p3, p4, p5, p6; 3 equations fobj, eq1a, eq1b, eq2a, eq2b, eq3a, eq3b, eq4a, eq4b, eq5a, eq5b, eq6a, eq6b; 5 fobj.. z=e=10*p1+15*p2+22*p3+30*p4+24*p5+20*p6-21*(p1+p2+p3+p4+ p5+p6);

13 284 B Solving Optimization Problems 7 eq1a.. 0=l=p1; 8 eq1b.. p1=l=10; 9 eq2a.. 0=l=p2; 10 eq2b.. p2=l=10; 11 eq3a.. 0=l=p3; 12 eq3b.. p3=l=10; 13 eq4a.. 0=l=p4; 14 eq4b.. p4=l=10; 15 eq5a.. 0=l=p5; 16 eq5b.. p5=l=10; 17 eq6a.. 0=l=p6; 18 eq6b.. p6=l=10; 20 model example_lp /all/; 21 solve example_lp using lp maximizing z; 23 display z.l, p1.l, p2.l, p3.l, p4.l, p5.l, p6.l; The part of the GAMS output file that provides the optimal solution is given below: variable z.l = variable p1.l = variable p2.l = variable p3.l = variable p4.l = variable p5.l = variable p6.l = B.2 Mixed-Integer Linear Programming Problems A mixed-integer linear programming (MILP) problem is an LP problem in which some of the optimization variables are not continuous but integer. B.2.1 Formulation The general formulation of a MILP problem is as follows: min xi ;8iIy`;8` X C i x i C X` i R`y` (B.3a)

14 B Solving Optimization Problems 285 subject to X A ij x i C X` G`j u` D B j ; 8j; (B.3b) i X D ik x i C X` H`k u` E k ; 8k; (B.3c) i x i 2 R; 8i; (B.3d) y` 2 I; ` D 1;:::;p; (B.3e) where: I is the set of integer variables, C i, 8i, and R`, 8`, are the cost coefficients of variables x i, 8i, and y`, 8`, respectively, in the objective function (B.3a), A ij, 8i; G`j, 8`; and B j are the coefficients that define equality constraints (B.3b), 8j, D ik, 8i; H`k, 8`; and E k are the coefficients that define inequality constraints (B.3c), 8k, and p is the number of integer optimization variables, In compact form, MILP problem (B.3) can be written as: min x;y C > x C R > y (B.4a) subject to Ax C Gy D B; Dx C Hy E; x 2 R n1 ; y 2 I p1 ; (B.4b) (B.4c) (B.4d) (B.4e) where: C 2 R n1 and R 2 R p1 are the cost coefficient vectors of the variable vectors x and y, respectively, in objective function (B.2a), A 2 R mn, G 2 R mp, and B 2 R m1 are the matrices and vector of coefficients that define equality constraint (B.2b), D 2 R on, H 2 R op, and E 2 R o1 are the matrices and vector of coefficients that define inequality constraint (B.2c), Some examples of MILP problems are the unit commitment problem described in Chap. 7 or the self-scheduling problem analyzed in Chap. 8 of this book.

15 286 B Solving Optimization Problems B.2.2 Solution MILP problems can be solved using branch-and-cut methods. A detailed description of these methods can be found, for instance, in [4]. MILP problems can also be solved using one of the many commercially available software tools. For example, in this book we use CPLEX [5] under GAMS [3]. Illustrative Example B.2 Mixed-integer linear programming We consider again the data of Illustrative Example B.1. However, in this case, we assume that the generating unit has a minimum power output of 2 MW and a fixed cost of $25. Considering these data, we formulate the following MILP problem: min p1 ;p 2 ;p 3 ;p 4 ;p 5 ;p 6 ;u 1 ;u 2 ;u 3 ;u 4 ;u 5 ;u 6 subject to 10p 1 C 15p 2 C 22p 3 C 30p 4 C 24p 5 C 20p 6 21.p 1 C p 2 C p 3 C p 4 C p 5 C p 6 / 25.u 1 C u 2 C u 3 C u 4 C u 5 C u 6 / 2u 1 p 1 10u 1 ; 2u 2 p 2 10u 2 ; 2u 3 p 3 10u 3 ; 2u 4 p 4 10u 4 ; 2u 5 p 5 10u 5 ; 2u 6 p 6 10u 6 ; u 1 ; u 2 ; u 3 ; u 4 ; u 5 ; u 6 2f0; 1g: In this example it is necessary to include binary variables to represent the on/off status of the generating unit at each time period. The solution of this problem is (note that a superscript in the variables below indicates optimal value): p 1 D 0; p 2 D 0; p 3 D 0; p 4 p 5 D 10 MW; D 10 MW;

16 B Solving Optimization Problems 287 p 6 D 0; u 1 D 0; u 2 D 0; u 3 D 0; u 4 D 1; u 5 D 1; u 6 D 0: Contrary to the solution of Illustrative Example B.1, we can see that in this example it is not optimal to turn on the generating unit at the third time period as a result of its fixed cost. This solution renders an objective function value of $70. A simple input GAMS [3] file to solve Illustrative Example B.2 is provided below: 1 variables z, p1, p2, p3, p4, p5, p6; 3 binary variables u1, u2, u3, u4, u5, u6; 5 equations fobj, eq1a, eq1b, eq2a, eq2b, eq3a, eq3b, eq4a, eq4b, eq5a, eq5b, eq6a, eq6b; 7 fobj.. z=e=10*p1+15*p2+22*p3+30*p4+24*p5+20*p6-21*(p1+p2+p3+p4+ p5+p6)-5*(u1+u2+u3+u4+u5+u6); 9 eq1a.. 2*u1=l=p1; 10 eq1b.. p1=l=10*u1; 11 eq2a.. 2*u2=l=p2; 12 eq2b.. p2=l=10*u2; 13 eq3a.. 2*u3=l=p3; 14 eq3b.. p3=l=10*u3; 15 eq4a.. 2*u4=l=p4; 16 eq4b.. p4=l=10*u4; 17 eq5a.. 2*u5=l=p5; 18 eq5b.. p5=l=10*u5; 19 eq6a.. 2*u6=l=p6; 20 eq6b.. p6=l=10*u6; 22 model example_milp /all/; 23 solve example_milp using mip maximizing z; 25 display z.l, p1.l, p2.l, p3.l, p4.l, p5.l, p6.l, u1.l, u2.l, u3. l, u4.l, u5.l, u6.l;

17 288 B Solving Optimization Problems The part of the GAMS output file that provides the optimal solution is given below: variable z.l = variable p1.l = variable p2.l = variable p3.l = variable p4.l = variable p5.l = variable p6.l = variable u1.l = variable u2.l = variable u3.l = variable u4.l = variable u5.l = variable u6.l = B.3 Nonlinear Programming Problems A nonlinear programming (NLP) problem is an optimization problem in which the objective function and/or some of the constraints are nonlinear. B.3.1 Formulation The general formulation of an NLP problem is as follows: min xi ;8i f.x 1 ;:::;x n / (B.5a) subject to where: A j.x 1 ;:::;x n / D 0; 8j; (B.5b) D k.x 1 ;:::;x n / 0; 8k; (B.5c) x i 2 R; 8i; (B.5d) f.x 1 ;:::;x n /: R n! R is the nonlinear objective function (B.5a), A j.x 1 ;:::;x n /: R n! R are the nonlinear functions that define equality constraints (B.5b), 8j, and D k.x 1 ;:::;x n /: R n! R are the nonlinear functions that define inequality constraints (B.5c), 8k.

18 B Solving Optimization Problems 289 Problem (B.5) can be rewritten in compact form as: min x f.x/ (B.6a) subject to A.x/ D 0; D.x/ 0; x 2 R n ; (B.6b) (B.6c) (B.6d) where: f.x/: R n! R is the nonlinear objective function (B.6a), A.x/: R n! R m is the nonlinear function that defines equality constraint (B.6b), and D.x/: R n! R o is the nonlinear function that defines inequality constraint (B.6c). Some examples of NLP problems are the state estimation problem described in Chap. 5 or the ac optimal power flow problem analyzed in Chap. 6 of this book. B.3.2 Solution Solving NLP problems is generally more complicated than solving LP problems or MILP problems. NLP problems can be solved using one of the many commercially available software tools. For example, in this book we use CONOPT [1] under GAMS [3]. Further information about NLP problems can be found, for instance, in [4]. Illustrative Example B.3 Nonlinear programming We consider again the data of Illustrative Example B.1. However, in this case, we assume that the generating unit has a quadratic cost function so that the cost is: c t D 15p t C 2p 2 t ; t D 1;:::;6: Considering these data, we formulate the following NLP problem: max p1 ;p 2 ;p 3 ;p 4 ;p 5 ;p 6 10p 1 C 15p 2 C 22p 3 C 30p 4 C 24p 5 C 20p 6 15.p 1 C p 2 C p 3 C p 4 C p 5 C p 6 / 2 p 2 1 C p2 2 C p2 3 C p2 4 C p2 5 C p2 6

19 290 B Solving Optimization Problems subject to 0 p 1 10; 0 p 2 10; 0 p 3 10; 0 p 4 10; 0 p 5 10; 0 p 6 10: The solution of this problem is (note that a superscript in the variables below indicates optimal value): p 1 D 0; p 2 D 0; p 3 p 4 p 5 p 6 D 1:75 MW; D 3:75 MW; D 2:25 MW; D 1:25 MW: This solution renders an objective function value of $47.5. A simple input GAMS [3] file to solve Illustrative Example B.3 is provided below: 1 variables z, p1, p2, p3, p4, p5, p6; 3 equations fobj, eq1a, eq1b, eq2a, eq2b, eq3a, eq3b, eq4a, eq4b, eq5a, eq5b, eq6a, eq6b; 5 fobj.. z=e=10*p1+15*p2+22*p3+30*p4+24*p5+20*p6-15*(p1+p2+p3+p4+ p5+p6)-2*(p1*p1+p2*p2+p3*p3+p4*p4+p5*p5+p6*p6); 7 eq1a.. 0=l=p1; 8 eq1b.. p1=l=10; 9 eq2a.. 0=l=p2; 10 eq2b.. p2=l=10; 11 eq3a.. 0=l=p3; 12 eq3b.. p3=l=10; 13 eq4a.. 0=l=p4; 14 eq4b.. p4=l=10; 15 eq5a.. 0=l=p5; 16 eq5b.. p5=l=10;

20 B Solving Optimization Problems eq6a.. 0=l=p6; 18 eq6b.. p6=l=10; 20 model example_nlp /all/; 21 solve example_nlp using nlp maximizing z; 23 display z.l, p1.l, p2.l, p3.l, p4.l, p5.l, p6.l; The part of the GAMS output file that provides the optimal solution is given below: variable z.l = variable p1.l = variable p2.l = variable p3.l = variable p4.l = variable p5.l = variable p6.l = B.4 Summary and Further Reading This appendix provides brief formal descriptions of the three types of optimization problems considered in this book, namely, LP problems, MILP problems, and NLP problems. A detailed description of these problems can be found in the monograph by Sioshansi and Conejo [4]. References 1. CONOPT (2016). Available at 2. Dantzig, G.B.: Linear Programming and Extensions. Princeton University Press, Princeton, NJ (1963) 3. GAMS (2016). Available at 4. Sioshansi, R., Conejo, A.J.: Optimization in Engineering. Models and Algorithms. Springer, New York (2017) 5. The ILOG CPLEX (2016). Available at

21 Index A ac source Angular frequency, 18 Ordinary frequency, 18 Period, 18 Phasorial representation, 18 Root mean square, 18 Sinusoidal representation, 18 Active and reactive power decoupling, 81 Admittance matrix, 101 Alternating current (ac), 17 B Balanced three-phase circuits, 17 Active power, 43 Apparent power, 44 Balanced three-phase sequence, 18 Common star connection, 38 Currents, 23 Delta currents, 25 Equivalence wye-delta, 28 Exercises, 52 How to measure power?, 44 Instantaneous power, 43 Line currents, 23 Line voltages, 22 Magnitudes, 21 Negative sequence, 20 Phase voltages, 22 Positive sequence, 19 Power, 42 Reactive power, 44 Voltages, 21 E Economic dispatch, 197, 209 Capacity limits of transmission lines, 212 Cost function, 213 Description, 211 Example, 210, 214 Example: impact of transmission capacity limits, 215 Example: locational marginal prices, 216 Example: marginal prices, 211 Formulation, 213 GAMS code, 225 Locational marginal prices, 216 Marginal prices, 211 Power balance, 213 Power bounds, 212 Power flows through transmission lines, 211 Reference node, 212 Electrical line, 71 Capacity, 79 Efficiency, 80 Geometric mean radius, 78 Inductance, 76 Model, 71 Parameters, 75 Reactance, 79 Regulation, 80 Resistance, 75 Resistivity, 75 Springer International Publishing AG 2018 A.J. Conejo, L. Baringo, Power System Operations, Power Electronics and Power Systems, 293

22 294 Index G Generator and motor, 56 Efficiency, 58 Three-phase generator, 56 Three-phase motor, 57 I Introduction, 1 K Kirchhoff s laws, 99 L Load, 68 Constant impedance, 69 Constant power, 71 Constant voltage, 71 Induction motor, 69 Induction motor efficiency, 70 Model, M Magnetic constant, 76 Market clearing auction, 242 Bids, 233 Consumer surplus, 244 Consumption bid curve, 244 Example, 248, 252, 257 Formulation, 246 Formulation: multi period, 251 Formulation: single period, 247 Formulation: transmission-constrained multi-period, 256 GAMS code, 264 Introduction, 234 Locational marginal prices, 257 Market clearing price, 250 Market operator, 234 Offers, 233 Participants, 242 Producer surplus, 244 Production offer curve, 243 Profit of generating units, 250 Social welfare, 244 N Network-constrained unit commitment, 197 Example, 218 Formulation, 217 GAMS code, 226 Newton-Raphson method, 111 O Optimal power flow, 165 Active power limits, 168 Concluding remarks, 185 dc example, 178 dc formulation, 177 dc GAMS code, 189 Description, 166 Example, 171 Formulation, 170 GAMS code, 185 Introduction, 165 Objective function, 169 Power balance, 166 Power flows through transmission lines, 167 Reactive power limits, 168 Security, 179 Solution, 171 Transmission line limits, 168 Voltage angle limits, 169 Voltage magnitude limits, 169 Optimization problems, 281 Linear programming, 281 Linear programming: example, 282 Linear programming: formulation, 281 Linear programming: GAMS code, 283 Linear programming: simplex method, 282 Linear programming: solution, 282 Mixed-integer linear programming, 284 Mixed-integer linear programming: branch-and-bound methods, 286 Mixed-integer linear programming: example, 286 Mixed-integer linear programming: formulation, 284 Mixed-integer linear programming: GAMS code, 287 Mixed-integer linear programming: solution, 286 Non-linear programming, 288 Non-linear programming: example, 289 Non-linear programming: formulation, 288 Non-linear programming: GAMS code, 290 Non-linear programming: solution, 289

23 Index 295 P Per-unit system, 46 Base value, 48 Definition, 46 Example, 47, 50 Procedure, 51 Permittivity, 79 Phasor, 18 Power, 42 Active power, 43 Apparent power, 44 How to measure power?, 44 Instantaneous power, 43 Reactive power, 44 Power flow, 97 Applications, 97 Concluding remarks, 130 dc formulation, 121 Decoupled, 119 Distributed slack, 120 Equations, 104 Example, 117 Example in Octave, 130 Exercises, 132 Introduction, 97 Nodal equations, 98 Outcome, 114 Slack, PV, and PQ nodes, 109 Solution, 110 Power markets, 10 Day-ahead market, 12 Futures market, 11 Intra-day markets, 12 Pool, 11 Real-time market, 12 Power system Fundamentals, 17 Model components, 55 Power system components Examples, 83 Power system operations, 9 Day-ahead operation, 9 Hours before power delivery, 10 Minutes before power delivery, 10 Power system structure, 1 Centralized operation, 7 Distribution, 4 Economic layer, 5 Generation, 2 Market operation, 8 Physical layer, 1 Regulatory layer, 7 Supply, 4 Transmission, 3 Power transformer, 58 Connections, 61 Denomination, 66 Model, 67 Per-unit analysis, 66 Transformation ratio, 60 S Scope of the book, 12 What we do, 13 What we do not do, 13 Security-constrained optimal power flow, 179 n 1 security, 180 n k security, 180 Concluding remarks, 185 Corrective approach, 180 Description, 180 Example, 182 Formulation, 180 GAMS code, 190 Introduction, 179 Preventive approach, 180 Self-scheduling, 234 Description, 234 Example, 237, 240 Formulation, 236 GAMS code, 263 Introduction, 233 Self-scheduling and market clearing auction, 233 Final remarks, 262 Introduction, 233 Sinusoidal ac source, 18 State estimation, 137 Cumulative distribution function, 155 Erroneous measurement detection, 152 Erroneous measurement detection: 2 test, 152 Erroneous measurement detection: Example, 153 Erroneous measurement identification, 154 Erroneous measurement identification: Example, 155 Erroneous measurement identification: Normalized residual test, 154 Estimation, 140 Estimation: Example, 143 Exercises, 160 Measurements, 138 Non-observable, 148 Observability, 145 Observability: Example, 148 Observable, 148

24 296 Index State estimation (cont.) Residuals, 154 System state, 137 Systems of nonlinear equations, 110, 271 Direct solution, 278 Direct solution: many unknowns, 279 Direct solution: one unknown, 278 Jacobian, 274 Newton-Raphson algorithm, 271 Newton-Raphson algorithm: example, 272, 275 Newton-Raphson algorithm: many unknowns, 274 Newton-Raphson algorithm: one unknown, 271 Taylor series, 272, 274 U Unit commitment, 197, 198 Costs of generating units, 199 Costs of generating units: Fixed costs, 199 Costs of generating units: Shut-down costs, 200 Costs of generating units: Start-up costs, 200 Costs of generating units: Variable costs, 200 Example, 205 Formulation, 204 GAMS code, 223 Generating units, 199 Logical expressions, 201 Logical expressions: Example, 201 Network-constrained unit commitment, 216 Planning horizon, 199 Power balance, 204 Power bounds, 202 Ramping limits, 202 Security constraints, 204 Unit commitment and economic dispatch, 197 Exercises, 228 Final remarks, 222 GAMS codes, 222 Introduction, 197

Chapter 2 Power System Fundamentals: Balanced Three-Phase Circuits

Chapter 2 Power System Fundamentals: Balanced Three-Phase Circuits Chapter 2 Power System Fundamentals: Balanced Three-Phase Circuits This chapter reviews the fundamentals of balanced three-phase alternating current (ac) circuits. First, we define positive and negative

More information

CHAPTER 2 LOAD FLOW ANALYSIS FOR RADIAL DISTRIBUTION SYSTEM

CHAPTER 2 LOAD FLOW ANALYSIS FOR RADIAL DISTRIBUTION SYSTEM 16 CHAPTER 2 LOAD FLOW ANALYSIS FOR RADIAL DISTRIBUTION SYSTEM 2.1 INTRODUCTION Load flow analysis of power system network is used to determine the steady state solution for a given set of bus loading

More information

A three-level MILP model for generation and transmission expansion planning

A three-level MILP model for generation and transmission expansion planning A three-level MILP model for generation and transmission expansion planning David Pozo Cámara (UCLM) Enzo E. Sauma Santís (PUC) Javier Contreras Sanz (UCLM) Contents 1. Introduction 2. Aims and contributions

More information

Chapter 5. Transmission networks and electricity markets

Chapter 5. Transmission networks and electricity markets Chapter 5. Transmission networks and electricity markets 1 Introduction In most of the regions of the world: assumptions that electrical energy can be traded as if all generators were connected to the

More information

Understanding Load Flow Studies by using PSAT

Understanding Load Flow Studies by using PSAT Understanding Load Flow Studies by using PSAT Vijay Kumar Shukla 1, Ashutosh Bhadoria 2 1,2 Department of Electrical Engineering, Lovely Professional University, Jalandhar, India Abstract: Load Flow Study

More information

EE 581 Power Systems. Admittance Matrix: Development, Direct and Iterative solutions

EE 581 Power Systems. Admittance Matrix: Development, Direct and Iterative solutions EE 581 Power Systems Admittance Matrix: Development, Direct and Iterative solutions Overview and HW # 8 Chapter 2.4 Chapter 6.4 Chapter 6.1-6.3 Homework: Special Problem 1 and 2 (see handout) Overview

More information

PowerApps Optimal Power Flow Formulation

PowerApps Optimal Power Flow Formulation PowerApps Optimal Power Flow Formulation Page1 Table of Contents 1 OPF Problem Statement... 3 1.1 Vector u... 3 1.1.1 Costs Associated with Vector [u] for Economic Dispatch... 4 1.1.2 Costs Associated

More information

= V I = Bus Admittance Matrix. Chapter 6: Power Flow. Constructing Ybus. Example. Network Solution. Triangular factorization. Let

= V I = Bus Admittance Matrix. Chapter 6: Power Flow. Constructing Ybus. Example. Network Solution. Triangular factorization. Let Chapter 6: Power Flow Network Matrices Network Solutions Newton-Raphson Method Fast Decoupled Method Bus Admittance Matri Let I = vector of currents injected into nodes V = vector of node voltages Y bus

More information

ECE 476. Exam #2. Tuesday, November 15, Minutes

ECE 476. Exam #2. Tuesday, November 15, Minutes Name: Answers ECE 476 Exam #2 Tuesday, November 15, 2016 75 Minutes Closed book, closed notes One new note sheet allowed, one old note sheet allowed 1. / 20 2. / 20 3. / 20 4. / 20 5. / 20 Total / 100

More information

SECTION 5: POWER FLOW. ESE 470 Energy Distribution Systems

SECTION 5: POWER FLOW. ESE 470 Energy Distribution Systems SECTION 5: POWER FLOW ESE 470 Energy Distribution Systems 2 Introduction Nodal Analysis 3 Consider the following circuit Three voltage sources VV sss, VV sss, VV sss Generic branch impedances Could be

More information

Tight and Compact MILP Formulation for the Thermal Unit Commitment Problem

Tight and Compact MILP Formulation for the Thermal Unit Commitment Problem Online Companion for Tight and Compact MILP Formulation for the Thermal Unit Commitment Problem Germán Morales-España, Jesus M. Latorre, and Andres Ramos Universidad Pontificia Comillas, Spain Institute

More information

POWER flow studies are the cornerstone of power system

POWER flow studies are the cornerstone of power system University of Wisconsin-Madison Department of Electrical and Computer Engineering. Technical Report ECE-2-. A Sufficient Condition for Power Flow Insolvability with Applications to Voltage Stability Margins

More information

ELEC4612 Power System Analysis Power Flow Analysis

ELEC4612 Power System Analysis Power Flow Analysis ELEC462 Power Sstem Analsis Power Flow Analsis Dr Jaashri Ravishankar jaashri.ravishankar@unsw.edu.au Busbars The meeting point of various components of a PS is called bus. The bus or busbar is a conductor

More information

State Estimation and Power Flow Analysis of Power Systems

State Estimation and Power Flow Analysis of Power Systems JOURNAL OF COMPUTERS, VOL. 7, NO. 3, MARCH 01 685 State Estimation and Power Flow Analysis of Power Systems Jiaxiong Chen University of Kentucky, Lexington, Kentucky 40508 U.S.A. Email: jch@g.uky.edu Yuan

More information

The DC Optimal Power Flow

The DC Optimal Power Flow 1 / 20 The DC Optimal Power Flow Quantitative Energy Economics Anthony Papavasiliou The DC Optimal Power Flow 2 / 20 1 The OPF Using PTDFs 2 The OPF Using Reactance 3 / 20 Transmission Constraints Lines

More information

Exercise Dr.-Ing. Abdalkarim Awad. Informatik 7 Rechnernetze und Kommunikationssysteme

Exercise Dr.-Ing. Abdalkarim Awad. Informatik 7 Rechnernetze und Kommunikationssysteme Exercise1 1.10.015 Informatik 7 Rechnernetze und Kommunikationssysteme Review of Phasors Goal of phasor analysis is to simplify the analysis of constant frequency ac systems v(t) = max cos(wt + q v ) i(t)

More information

KINGS COLLEGE OF ENGINEERING Punalkulam

KINGS COLLEGE OF ENGINEERING Punalkulam KINGS COLLEGE OF ENGINEERING Punalkulam 613 303 DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING POWER SYSTEM ANALYSIS QUESTION BANK UNIT I THE POWER SYSTEM AN OVERVIEW AND MODELLING PART A (TWO MARK

More information

Congestion and Price Prediction in Locational Marginal Pricing Markets Considering Load Variation and Uncertainty

Congestion and Price Prediction in Locational Marginal Pricing Markets Considering Load Variation and Uncertainty The Department of Electrical Engineering and Computer Science Congestion and Price Prediction in Locational Marginal Pricing Markets Considering Load Variation and Uncertainty Dissertation Defense Rui

More information

cha1873x_p02.qxd 3/21/05 1:01 PM Page 104 PART TWO

cha1873x_p02.qxd 3/21/05 1:01 PM Page 104 PART TWO cha1873x_p02.qxd 3/21/05 1:01 PM Page 104 PART TWO ROOTS OF EQUATIONS PT2.1 MOTIVATION Years ago, you learned to use the quadratic formula x = b ± b 2 4ac 2a to solve f(x) = ax 2 + bx + c = 0 (PT2.1) (PT2.2)

More information

Bilevel Programming-Based Unit Commitment for Locational Marginal Price Computation

Bilevel Programming-Based Unit Commitment for Locational Marginal Price Computation Bilevel Programming-Based Unit Commitment for Locational Marginal Price Computation Presentation at 50 th North American Power Symposium Abdullah Alassaf Department of Electrical Engineering University

More information

B.E. / B.Tech. Degree Examination, April / May 2010 Sixth Semester. Electrical and Electronics Engineering. EE 1352 Power System Analysis

B.E. / B.Tech. Degree Examination, April / May 2010 Sixth Semester. Electrical and Electronics Engineering. EE 1352 Power System Analysis B.E. / B.Tech. Degree Examination, April / May 2010 Sixth Semester Electrical and Electronics Engineering EE 1352 Power System Analysis (Regulation 2008) Time: Three hours Answer all questions Part A (10

More information

Stochastic Unit Commitment with Topology Control Recourse for Renewables Integration

Stochastic Unit Commitment with Topology Control Recourse for Renewables Integration 1 Stochastic Unit Commitment with Topology Control Recourse for Renewables Integration Jiaying Shi and Shmuel Oren University of California, Berkeley IPAM, January 2016 33% RPS - Cumulative expected VERs

More information

Sinusoidal Steady State Analysis (AC Analysis) Part I

Sinusoidal Steady State Analysis (AC Analysis) Part I Sinusoidal Steady State Analysis (AC Analysis) Part I Amin Electronics and Electrical Communications Engineering Department (EECE) Cairo University elc.n102.eng@gmail.com http://scholar.cu.edu.eg/refky/

More information

EE2351 POWER SYSTEM ANALYSIS UNIT I: INTRODUCTION

EE2351 POWER SYSTEM ANALYSIS UNIT I: INTRODUCTION EE2351 POWER SYSTEM ANALYSIS UNIT I: INTRODUCTION PART: A 1. Define per unit value of an electrical quantity. Write equation for base impedance with respect to 3-phase system. 2. What is bus admittance

More information

Course notes for EE394V Restructured Electricity Markets: Locational Marginal Pricing

Course notes for EE394V Restructured Electricity Markets: Locational Marginal Pricing Course notes for EE394V Restructured Electricity Markets: Locational Marginal Pricing Ross Baldick Copyright c 2013 Ross Baldick www.ece.utexas.edu/ baldick/classes/394v/ee394v.html Title Page 1 of 132

More information

A DC Power Flow Extension

A DC Power Flow Extension 2013 4th IEEE PES Innovative Smart Grid Technologies Europe (ISGT Europe), October 6-9, Copenhagen 1 A DC Power Flow Extension Theodoros Kyriakidis, Rachid Cherkaoui, Maher Kayal Electronics Laboratory

More information

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

Incorporation of Asynchronous Generators as PQ Model in Load Flow Analysis for Power Systems with Wind Generation Incorporation of Asynchronous Generators as PQ Model in Load Flow Analysis for Power Systems with Wind Generation James Ranjith Kumar. R, Member, IEEE, Amit Jain, Member, IEEE, Power Systems Division,

More information

Tutorial 2: Modelling Transmission

Tutorial 2: Modelling Transmission Tutorial 2: Modelling Transmission In our previous example the load and generation were at the same bus. In this tutorial we will see how to model the transmission of power from one bus to another. The

More information

Mixed Integer Linear Programming Formulation for Chance Constrained Mathematical Programs with Equilibrium Constraints

Mixed Integer Linear Programming Formulation for Chance Constrained Mathematical Programs with Equilibrium Constraints Mixed Integer Linear Programming Formulation for Chance Constrained Mathematical Programs with Equilibrium Constraints ayed A. adat and Lingling Fan University of outh Florida, email: linglingfan@usf.edu

More information

Comparison between Interval and Fuzzy Load Flow Methods Considering Uncertainty

Comparison between Interval and Fuzzy Load Flow Methods Considering Uncertainty Comparison between Interval and Fuzzy Load Flow Methods Considering Uncertainty T.Srinivasarao, 2 P.Mallikarajunarao Department of Electrical Engineering, College of Engineering (A), Andhra University,

More information

An introductory example

An introductory example CS1 Lecture 9 An introductory example Suppose that a company that produces three products wishes to decide the level of production of each so as to maximize profits. Let x 1 be the amount of Product 1

More information

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

Analytical Study Based Optimal Placement of Energy Storage Devices in Distribution Systems to Support Voltage and Angle Stability University of Wisconsin Milwaukee UWM Digital Commons Theses and Dissertations June 2017 Analytical Study Based Optimal Placement of Energy Storage Devices in Distribution Systems to Support Voltage and

More information

CHAPTER 5 STEADY-STATE ANALYSIS OF THREE-PHASE SELF-EXCITED INDUCTION GENERATORS

CHAPTER 5 STEADY-STATE ANALYSIS OF THREE-PHASE SELF-EXCITED INDUCTION GENERATORS 6 CHAPTER 5 STEADY-STATE ANALYSIS OF THREE-PHASE SELF-EXCITED INDUCTION GENERATORS 5.. INTRODUCTION The steady-state analysis of six-phase SEIG has been discussed in the previous chapters. In this chapter,

More information

CHAPTER 6 STEADY-STATE ANALYSIS OF SINGLE-PHASE SELF-EXCITED INDUCTION GENERATORS

CHAPTER 6 STEADY-STATE ANALYSIS OF SINGLE-PHASE SELF-EXCITED INDUCTION GENERATORS 79 CHAPTER 6 STEADY-STATE ANALYSIS OF SINGLE-PHASE SELF-EXCITED INDUCTION GENERATORS 6.. INTRODUCTION The steady-state analysis of six-phase and three-phase self-excited induction generators has been presented

More information

Real-Time Optimization (RTO)

Real-Time Optimization (RTO) Real-Time Optimization (RTO) In previous chapters we have emphasized control system performance for disturbance and set-point changes. Now we will be concerned with how the set points are specified. In

More information

A Stochastic-Oriented NLP Relaxation for Integer Programming

A Stochastic-Oriented NLP Relaxation for Integer Programming A Stochastic-Oriented NLP Relaxation for Integer Programming John Birge University of Chicago (With Mihai Anitescu (ANL/U of C), Cosmin Petra (ANL)) Motivation: The control of energy systems, particularly

More information

LINE FLOW ANALYSIS OF IEEE BUS SYSTEM WITH THE LOAD SENSITIVITY FACTOR

LINE FLOW ANALYSIS OF IEEE BUS SYSTEM WITH THE LOAD SENSITIVITY FACTOR LINE FLOW ANALYSIS OF IEEE BUS SYSTEM WITH THE LOAD SENSITIVITY FACTOR Puneet Sharma 1, Jyotsna Mehra 2, Virendra Kumar 3 1,2,3 M.Tech Research scholar, Galgotias University, Greater Noida, India Abstract

More information

Quiescent Steady State (DC) Analysis The Newton-Raphson Method

Quiescent Steady State (DC) Analysis The Newton-Raphson Method Quiescent Steady State (DC) Analysis The Newton-Raphson Method J. Roychowdhury, University of California at Berkeley Slide 1 Solving the System's DAEs DAEs: many types of solutions useful DC steady state:

More information

ECE 420. Review of Three Phase Circuits. Copyright by Chanan Singh, Panida Jirutitijaroen, and Hangtian Lei, For educational use only-not for sale.

ECE 420. Review of Three Phase Circuits. Copyright by Chanan Singh, Panida Jirutitijaroen, and Hangtian Lei, For educational use only-not for sale. ECE 40 Review of Three Phase Circuits Outline Phasor Complex power Power factor Balanced 3Ф circuit Read Appendix A Phasors and in steady state are sinusoidal functions with constant frequency 5 0 15 10

More information

Comparison of Power Flow Algorithms for inclusion in On-line Power Systems Operation Tools

Comparison of Power Flow Algorithms for inclusion in On-line Power Systems Operation Tools University of New Orleans ScholarWorks@UNO University of New Orleans Theses and Dissertations Dissertations and Theses 12-17-2010 Comparison of Power Flow Algorithms for inclusion in On-line Power Systems

More information

LINEAR PROGRAMMING APPROACH FOR THE TRANSITION FROM MARKET-GENERATED HOURLY ENERGY PROGRAMS TO FEASIBLE POWER GENERATION SCHEDULES

LINEAR PROGRAMMING APPROACH FOR THE TRANSITION FROM MARKET-GENERATED HOURLY ENERGY PROGRAMS TO FEASIBLE POWER GENERATION SCHEDULES LINEAR PROGRAMMING APPROACH FOR THE TRANSITION FROM MARKET-GENERATED HOURLY ENERGY PROGRAMS TO FEASIBLE POWER GENERATION SCHEDULES A. Borghetti, A. Lodi 2, S. Martello 2, M. Martignani 2, C.A. Nucci, A.

More information

Math 273a: Optimization

Math 273a: Optimization Math 273a: Optimization Instructor: Wotao Yin Department of Mathematics, UCLA Fall 2015 online discussions on piazza.com What is mathematical optimization? Optimization models the goal of solving a problem

More information

Three Phase Circuits

Three Phase Circuits Amin Electronics and Electrical Communications Engineering Department (EECE) Cairo University elc.n102.eng@gmail.com http://scholar.cu.edu.eg/refky/ OUTLINE Previously on ELCN102 Three Phase Circuits Balanced

More information

Perfect and Imperfect Competition in Electricity Markets

Perfect and Imperfect Competition in Electricity Markets Perfect and Imperfect Competition in Electricity Marets DTU CEE Summer School 2018 June 25-29, 2018 Contact: Vladimir Dvorin (vladvo@eletro.dtu.d) Jalal Kazempour (seyaz@eletro.dtu.d) Deadline: August

More information

The System's Limitations Costs Determination Using the Duality Concept of Linear Programming

The System's Limitations Costs Determination Using the Duality Concept of Linear Programming Volume 3, Number 1, 1 he System's Limitations Costs etermination Using the uality Concept of Linear rogramming MAHNIKO Anatolijs, UMBRASHKO Inga, VARFOLOMEJEVA Renata Riga echnical University, Institute

More information

Sinusoidal Steady State Analysis (AC Analysis) Part II

Sinusoidal Steady State Analysis (AC Analysis) Part II Sinusoidal Steady State Analysis (AC Analysis) Part II Amin Electronics and Electrical Communications Engineering Department (EECE) Cairo University elc.n102.eng@gmail.com http://scholar.cu.edu.eg/refky/

More information

What is an integer program? Modelling with Integer Variables. Mixed Integer Program. Let us start with a linear program: max cx s.t.

What is an integer program? Modelling with Integer Variables. Mixed Integer Program. Let us start with a linear program: max cx s.t. Modelling with Integer Variables jesla@mandtudk Department of Management Engineering Technical University of Denmark What is an integer program? Let us start with a linear program: st Ax b x 0 where A

More information

03-Economic Dispatch 1. EE570 Energy Utilization & Conservation Professor Henry Louie

03-Economic Dispatch 1. EE570 Energy Utilization & Conservation Professor Henry Louie 03-Economic Dispatch 1 EE570 Energy Utilization & Conservation Professor Henry Louie 1 Topics Generator Curves Economic Dispatch (ED) Formulation ED (No Generator Limits, No Losses) ED (No Losses) ED Example

More information

Notes on Dantzig-Wolfe decomposition and column generation

Notes on Dantzig-Wolfe decomposition and column generation Notes on Dantzig-Wolfe decomposition and column generation Mette Gamst November 11, 2010 1 Introduction This note introduces an exact solution method for mathematical programming problems. The method is

More information

This Unit may form part of a National Qualifications Group Award or may be offered on a freestanding

This Unit may form part of a National Qualifications Group Award or may be offered on a freestanding National Unit Specification: general information CODE F5HL 12 SUMMARY This Unit has been designed to introduce candidates to Electrical Principles and provide opportunities to develop their knowledge and

More information

Enhanced Newton Method Based Radial Distribution System Load Flow Analysis with Extrapolation Techniques

Enhanced Newton Method Based Radial Distribution System Load Flow Analysis with Extrapolation Techniques Enhanced Newton Method Based Radial Distribution System Load Flow Analysis with Extrapolation Techniques Asst. Prof. Dr. Hassan Kuhba Electrical Engineering Department, Engineering College/Baghdad University,

More information

NONLINEAR DC ANALYSIS

NONLINEAR DC ANALYSIS ECE 552 Numerical Circuit Analysis Chapter Six NONLINEAR DC ANALYSIS OR: Solution of Nonlinear Algebraic Equations I. Hajj 2017 Nonlinear Algebraic Equations A system of linear equations Ax = b has a

More information

Contents Economic dispatch of thermal units

Contents Economic dispatch of thermal units Contents 2 Economic dispatch of thermal units 2 2.1 Introduction................................... 2 2.2 Economic dispatch problem (neglecting transmission losses)......... 3 2.2.1 Fuel cost characteristics........................

More information

CHAPTER 2 CAPACITANCE REQUIREMENTS OF SIX-PHASE SELF-EXCITED INDUCTION GENERATORS

CHAPTER 2 CAPACITANCE REQUIREMENTS OF SIX-PHASE SELF-EXCITED INDUCTION GENERATORS 9 CHAPTER 2 CAPACITANCE REQUIREMENTS OF SIX-PHASE SELF-EXCITED INDUCTION GENERATORS 2.. INTRODUCTION Rapidly depleting rate of conventional energy sources, has led the scientists to explore the possibility

More information

Multidisciplinary System Design Optimization (MSDO)

Multidisciplinary System Design Optimization (MSDO) Multidisciplinary System Design Optimization (MSDO) Numerical Optimization II Lecture 8 Karen Willcox 1 Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox Today s Topics Sequential

More information

DIMACS, Rutgers U January 21, 2013 Michael Caramanis

DIMACS, Rutgers U January 21, 2013 Michael Caramanis Power Market Participation of Flexible Loads and Reactive Power Providers: Real Power, Reactive Power, and Regulation Reserve Capacity Pricing at T&D Networks DIMACS, Rutgers U January 21, 2013 Michael

More information

Coordinated Multilateral Trades for Electric Power Networks: Theory and Implementation. Felix F. Wu and Pravin Varaiya

Coordinated Multilateral Trades for Electric Power Networks: Theory and Implementation. Felix F. Wu and Pravin Varaiya PWP-031 Coordinated Multilateral Trades for Electric Power Networks: Theory and Implementation Felix F. Wu and Pravin Varaiya June 1995 This paper is part of the working papers series of the Program on

More information

Prerequisites: Successful completion of PHYS 2222 General Physics (Calculus) with a grade of C or better.

Prerequisites: Successful completion of PHYS 2222 General Physics (Calculus) with a grade of C or better. Prepared by: P. Blake Reviewed by: M. Mayfield Date prepared: March 13, 2017 C&GE approved: April 17, 2017 Board approved: May 10, 2017 Semester effective: Spring 2018 Engineering (ENGR) 2000 Circuit Analysis

More information

1 Unified Power Flow Controller (UPFC)

1 Unified Power Flow Controller (UPFC) Power flow control with UPFC Rusejla Sadikovic Internal report 1 Unified Power Flow Controller (UPFC) The UPFC can provide simultaneous control of all basic power system parameters ( transmission voltage,

More information

Coupled Optimization Models for Planning and Operation of Power Systems on Multiple Scales

Coupled Optimization Models for Planning and Operation of Power Systems on Multiple Scales Coupled Optimization Models for Planning and Operation of Power Systems on Multiple Scales Michael C. Ferris University of Wisconsin, Madison Computational Needs for the Next Generation Electric Grid,

More information

Primal-Dual Interior-Point Methods for Linear Programming based on Newton s Method

Primal-Dual Interior-Point Methods for Linear Programming based on Newton s Method Primal-Dual Interior-Point Methods for Linear Programming based on Newton s Method Robert M. Freund March, 2004 2004 Massachusetts Institute of Technology. The Problem The logarithmic barrier approach

More information

THREE PHASE SYSTEMS Part 1

THREE PHASE SYSTEMS Part 1 ERT105: ELECTRCAL TECHNOLOGY CHAPTER 3 THREE PHASE SYSTEMS Part 1 1 Objectives Become familiar with the operation of a three phase generator and the magnitude and phase relationship. Be able to calculate

More information

Subject: Optimal Control Assignment-1 (Related to Lecture notes 1-10)

Subject: Optimal Control Assignment-1 (Related to Lecture notes 1-10) Subject: Optimal Control Assignment- (Related to Lecture notes -). Design a oil mug, shown in fig., to hold as much oil possible. The height and radius of the mug should not be more than 6cm. The mug must

More information

MAT016: Optimization

MAT016: Optimization MAT016: Optimization M.El Ghami e-mail: melghami@ii.uib.no URL: http://www.ii.uib.no/ melghami/ March 29, 2011 Outline for today The Simplex method in matrix notation Managing a production facility The

More information

Simultaneous placement of Distributed Generation and D-Statcom in a radial distribution system using Loss Sensitivity Factor

Simultaneous placement of Distributed Generation and D-Statcom in a radial distribution system using Loss Sensitivity Factor Simultaneous placement of Distributed Generation and D-Statcom in a radial distribution system using Loss Sensitivity Factor 1 Champa G, 2 Sunita M N University Visvesvaraya college of Engineering Bengaluru,

More information

Real power-system economic dispatch using a variable weights linear programming method

Real power-system economic dispatch using a variable weights linear programming method Open Access Journal Journal of Power Technologies 95 (1) (2015) 34 39 journal homepage:papers.itc.pw.edu.pl Real power-system economic dispatch using a variable weights linear programming method M. Rahli,

More information

Power System Security Analysis. B. Rajanarayan Prusty, Bhagabati Prasad Pattnaik, Prakash Kumar Pandey, A. Sai Santosh

Power System Security Analysis. B. Rajanarayan Prusty, Bhagabati Prasad Pattnaik, Prakash Kumar Pandey, A. Sai Santosh 849 Power System Security Analysis B. Rajanarayan Prusty, Bhagabati Prasad Pattnaik, Prakash Kumar Pandey, A. Sai Santosh Abstract: In this paper real time security analysis is carried out. First contingency

More information

TRANSMISSION LINES. All aluminum alloy conductor (AAAC) Aluminum conductor alloy reinforced (ACAR)

TRANSMISSION LINES. All aluminum alloy conductor (AAAC) Aluminum conductor alloy reinforced (ACAR) TRANSMISSION LINES. Transmission Structures An overhead transmission line consists of conductor, insulators, support structures and in most cases shield wires. Overhead power transmission lines are classified

More information

Power System Engineering Prof. Debapriya Das Department of Electrical Engineering Indian Institute of Technology, Kharagpur

Power System Engineering Prof. Debapriya Das Department of Electrical Engineering Indian Institute of Technology, Kharagpur Power System Engineering Prof. Debapriya Das Department of Electrical Engineering Indian Institute of Technology, Kharagpur Lecture 41 Application of capacitors in distribution system (Contd.) (Refer Slide

More information

Appendix A Taylor Approximations and Definite Matrices

Appendix A Taylor Approximations and Definite Matrices Appendix A Taylor Approximations and Definite Matrices Taylor approximations provide an easy way to approximate a function as a polynomial, using the derivatives of the function. We know, from elementary

More information

Linear programming. Saad Mneimneh. maximize x 1 + x 2 subject to 4x 1 x 2 8 2x 1 + x x 1 2x 2 2

Linear programming. Saad Mneimneh. maximize x 1 + x 2 subject to 4x 1 x 2 8 2x 1 + x x 1 2x 2 2 Linear programming Saad Mneimneh 1 Introduction Consider the following problem: x 1 + x x 1 x 8 x 1 + x 10 5x 1 x x 1, x 0 The feasible solution is a point (x 1, x ) that lies within the region defined

More information

Optimeringslära för F (SF1811) / Optimization (SF1841)

Optimeringslära för F (SF1811) / Optimization (SF1841) Optimeringslära för F (SF1811) / Optimization (SF1841) 1. Information about the course 2. Examples of optimization problems 3. Introduction to linear programming Introduction - Per Enqvist 1 Linear programming

More information

Sinusoidal Response of RLC Circuits

Sinusoidal Response of RLC Circuits Sinusoidal Response of RLC Circuits Series RL circuit Series RC circuit Series RLC circuit Parallel RL circuit Parallel RC circuit R-L Series Circuit R-L Series Circuit R-L Series Circuit Instantaneous

More information

Modern Power Systems Analysis

Modern Power Systems Analysis Modern Power Systems Analysis Xi-Fan Wang l Yonghua Song l Malcolm Irving Modern Power Systems Analysis 123 Xi-Fan Wang Xi an Jiaotong University Xi an People s Republic of China Yonghua Song The University

More information

CS711008Z Algorithm Design and Analysis

CS711008Z Algorithm Design and Analysis CS711008Z Algorithm Design and Analysis Lecture 8 Linear programming: interior point method Dongbo Bu Institute of Computing Technology Chinese Academy of Sciences, Beijing, China 1 / 31 Outline Brief

More information

Chapter 5 Steady-State Sinusoidal Analysis

Chapter 5 Steady-State Sinusoidal Analysis Chapter 5 Steady-State Sinusoidal Analysis Chapter 5 Steady-State Sinusoidal Analysis 1. Identify the frequency, angular frequency, peak value, rms value, and phase of a sinusoidal signal. 2. Solve steady-state

More information

MVE165/MMG630, Applied Optimization Lecture 6 Integer linear programming: models and applications; complexity. Ann-Brith Strömberg

MVE165/MMG630, Applied Optimization Lecture 6 Integer linear programming: models and applications; complexity. Ann-Brith Strömberg MVE165/MMG630, Integer linear programming: models and applications; complexity Ann-Brith Strömberg 2011 04 01 Modelling with integer variables (Ch. 13.1) Variables Linear programming (LP) uses continuous

More information

Multi-Area Stochastic Unit Commitment for High Wind Penetration

Multi-Area Stochastic Unit Commitment for High Wind Penetration Multi-Area Stochastic Unit Commitment for High Wind Penetration Workshop on Optimization in an Uncertain Environment Anthony Papavasiliou, UC Berkeley Shmuel S. Oren, UC Berkeley March 25th, 2011 Outline

More information

AM 121: Intro to Optimization Models and Methods

AM 121: Intro to Optimization Models and Methods AM 121: Intro to Optimization Models and Methods Fall 2017 Lecture 2: Intro to LP, Linear algebra review. Yiling Chen SEAS Lecture 2: Lesson Plan What is an LP? Graphical and algebraic correspondence Problems

More information

NONLINEAR EQUATIONS AND TAYLOR S THEOREM

NONLINEAR EQUATIONS AND TAYLOR S THEOREM APPENDIX C NONLINEAR EQUATIONS AND TAYLOR S THEOREM C.1 INTRODUCTION In adjustment computations it is frequently necessary to deal with nonlinear equations. For example, some observation equations relate

More information

Optimal Locating and Sizing of TCPST for Congestion Management in Deregulated Electricity Markets

Optimal Locating and Sizing of TCPST for Congestion Management in Deregulated Electricity Markets Optimal Locating and Sizing of TCPST for Congestion Management in Deregulated Electricity Markets M. Joorabian Shahid Chamran University, Ahwaz, Iran mjoorabian@yahoo.com M. Saniei Shahid Chamran University,

More information

Introduction to optimization

Introduction to optimization Introduction to optimization Geir Dahl CMA, Dept. of Mathematics and Dept. of Informatics University of Oslo 1 / 24 The plan 1. The basic concepts 2. Some useful tools (linear programming = linear optimization)

More information

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

A Novel Technique to Improve the Online Calculation Performance of Nonlinear Problems in DC Power Systems electronics Article A Novel Technique to Improve the Online Calculation Performance of Nonlinear Problems in DC Power Systems Qingshan Xu 1, Yuqi Wang 1, * ID, Minjian Cao 1 and Jiaqi Zheng 2 1 School

More information

Smart Grid State Estimation by Weighted Least Square Estimation

Smart Grid State Estimation by Weighted Least Square Estimation International Journal of Engineering and Advanced Technology (IJEAT) ISSN: 2249 8958, Volume-5, Issue-6, August 2016 Smart Grid State Estimation by Weighted Least Square Estimation Nithin V G, Libish T

More information

ELECTRIC POWER CIRCUITS BASIC CONCEPTS AND ANALYSIS

ELECTRIC POWER CIRCUITS BASIC CONCEPTS AND ANALYSIS Contents ELEC46 Power ystem Analysis Lecture ELECTRC POWER CRCUT BAC CONCEPT AND ANALY. Circuit analysis. Phasors. Power in single phase circuits 4. Three phase () circuits 5. Power in circuits 6. ingle

More information

Power Flow Analysis of Radial Distribution System using Backward/Forward Sweep Method

Power Flow Analysis of Radial Distribution System using Backward/Forward Sweep Method Power Flow Analysis of Radial Distribution System using Backward/Forward Sweep Method Gurpreet Kaur 1, Asst. Prof. Harmeet Singh Gill 2 1,2 Department of Electrical Engineering, Guru Nanak Dev Engineering

More information

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous)

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad - 500 043 ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK Course Name : Computer Methods in Power Systems Course Code : A60222

More information

An RLT Approach for Solving Binary-Constrained Mixed Linear Complementarity Problems

An RLT Approach for Solving Binary-Constrained Mixed Linear Complementarity Problems An RLT Approach for Solving Binary-Constrained Mixed Linear Complementarity Problems Miguel F. Anjos Professor and Canada Research Chair Director, Trottier Institute for Energy TAI 2015 Washington, DC,

More information

THREE-PHASE CIRCUITS

THREE-PHASE CIRCUITS THR-HAS CIRCUITS 4.1 Introduction Generation, Transmission and distribution of electricity via the National Grid system is accomplished by three-phase alternating currents. The voltage induced by a single

More information

NETWORK ANALYSIS WITH APPLICATIONS

NETWORK ANALYSIS WITH APPLICATIONS NETWORK ANALYSIS WITH APPLICATIONS Third Edition William D. Stanley Old Dominion University Prentice Hall Upper Saddle River, New Jersey I Columbus, Ohio CONTENTS 1 BASIC CIRCUIT LAWS 1 1-1 General Plan

More information

Lectures 16 & 17 Sinusoidal Signals, Complex Numbers, Phasors, Impedance & AC Circuits. Nov. 7 & 9, 2011

Lectures 16 & 17 Sinusoidal Signals, Complex Numbers, Phasors, Impedance & AC Circuits. Nov. 7 & 9, 2011 Lectures 16 & 17 Sinusoidal Signals, Complex Numbers, Phasors, Impedance & AC Circuits Nov. 7 & 9, 2011 Material from Textbook by Alexander & Sadiku and Electrical Engineering: Principles & Applications,

More information

ECEN 667 Power System Stability Lecture 18: Voltage Stability, Load Models

ECEN 667 Power System Stability Lecture 18: Voltage Stability, Load Models ECEN 667 Power System Stability Lecture 18: Voltage Stability, Load Models Prof. Tom Overbye Dept. of Electrical and Computer Engineering Texas A&M University, overbye@tamu.edu 1 Announcements Read Chapter

More information

ECG 740 GENERATION SCHEDULING (UNIT COMMITMENT)

ECG 740 GENERATION SCHEDULING (UNIT COMMITMENT) 1 ECG 740 GENERATION SCHEDULING (UNIT COMMITMENT) 2 Unit Commitment Given a load profile, e.g., values of the load for each hour of a day. Given set of units available, When should each unit be started,

More information

Model of Induction Machine to Transient Stability Programs

Model of Induction Machine to Transient Stability Programs Model of Induction Machine to Transient Stability Programs Pascal Garcia Esteves Instituto Superior Técnico Lisbon, Portugal Abstract- this paper reports the work performed on the MSc dissertation Model

More information

3- BASICS. YTransformation. for balanced load. \V ab 120 = \V bc. \V ab 240 = \V ca \I a 120 = \I b \I a 240 = \I c V ab I a

3- BASICS. YTransformation. for balanced load. \V ab 120 = \V bc. \V ab 240 = \V ca \I a 120 = \I b \I a 240 = \I c V ab I a 3- BASICS YTransformation for balanced load Z =3Z Y Balanced 3- Systems \V ab 10 = \V bc \V ab 40 = \V ca \I a 10 = \I b \I a 40 = \I c V ab I a = p 3 V an = p 3 I ab \V ab 30 = \V an \I ab 30 = \I a S

More information

UNIT-I ECONOMIC OPERATION OF POWER SYSTEM-1

UNIT-I ECONOMIC OPERATION OF POWER SYSTEM-1 UNIT-I ECONOMIC OPERATION OF POWER SYSTEM-1 1.1 HEAT RATE CURVE: The heat rate characteristics obtained from the plot of the net heat rate in Btu/Wh or cal/wh versus power output in W is shown in fig.1

More information

04-Economic Dispatch 2. EE570 Energy Utilization & Conservation Professor Henry Louie

04-Economic Dispatch 2. EE570 Energy Utilization & Conservation Professor Henry Louie 04-Economic Dispatch EE570 Energy Utilization & Conservation Professor Henry Louie 1 Topics Example 1 Example Dr. Henry Louie Consider two generators with the following cost curves and constraints: C 1

More information

Software Tools: Congestion Management

Software Tools: Congestion Management Software Tools: Congestion Management Tom Qi Zhang, PhD CompuSharp Inc. (408) 910-3698 Email: zhangqi@ieee.org October 16, 2004 IEEE PES-SF Workshop on Congestion Management Contents Congestion Management

More information

Outline. Outline. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING. 1. Scheduling CPM/PERT Resource Constrained Project Scheduling Model

Outline. Outline. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING. 1. Scheduling CPM/PERT Resource Constrained Project Scheduling Model Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING Lecture 3 and Mixed Integer Programg Marco Chiarandini 1. Resource Constrained Project Model 2. Mathematical Programg 2 Outline Outline 1. Resource Constrained

More information

IE 5531: Engineering Optimization I

IE 5531: Engineering Optimization I IE 5531: Engineering Optimization I Lecture 19: Midterm 2 Review Prof. John Gunnar Carlsson November 22, 2010 Prof. John Gunnar Carlsson IE 5531: Engineering Optimization I November 22, 2010 1 / 34 Administrivia

More information