# Lecture – 35 Optimal Load Flow (Contd.)

This is our last class lecture 35, Optimal Load Flow we continue, and we introduce and finish Hydro Thermal Scheduling. Last time we did out with equality constraints if you recall the optimal load flow. Today, we are doing with inequality constraints Now, inequality constraints all of you understand, what is the meaning of inequality constraints, it is less than equal to& Now, inequality constraints can be there on control variables, it can be there on dependent variables. Now, these two inequality constraints have to be tackle in two different ways. Let us first consider, the inequality constraints on control variable: control variables is normally specified in control systems by u, so U min less than equal to u less than equal to u max. For example, power generation that can be control variable, you can control power generation by controlling the water gate opening or steam input So, P G i min less than equal to P G i less than equal to P G i max. Now, when you add delta u i to get the latest value of control variable, you check whether this mu, new mu is within this limits or not this is what you have to check, this must be always satisfied If this delta u causes u i to cross any one limit, you can other cross the upper limit or lower limit not both simultaneously As I have been always saying either you are in inside the hall or you are outside. You cannot be both only God is only present. So, then what you do, if this happens then put u i equal to corresponding limit; that means, either it will be u max or it will be u min, it cannot be both and proceed, because you cannot have gate opening more than the gate Suppose you have a 10 rupees, you cannot spend more than 10 rupees that is upper limit, so spent 10 rupees only So that means, u new will be either equal to u max, if the upper limit is crossed, u old plus delta u i is greater than u max or it will be u i min, if lower limit is crossed If the u new is between the limits, then put equal to whatever is the value you are getting, otherwise OW is otherwise, this should be clear to you. So, u new u will take one of the three values, when there is inequality constraint either it will take the upper limit or lower limit or actual value which lies between the two limits Now, K-T is Kool-Tooker conditions, I hope you have by now, master this K-T conditions, because we are applying them again and again and again, what do this condition tell, please read them in appendix e of anyone of the books, they say these are only necessary condition not sufficient, I already explained you, what is necessary condition and what is sufficient condition, for you to pass the course it is necessary to appear in exam not sufficient,

Now that means the original cost C (x, u) now get modified by adding the penalty cost, this is called penalty cost. So, now you have to minimize, original cost, fuel cost plus penalty cost, you cannot give penalty as much as you want, can you deliver the book after 1 year, no he may take the penalty almost the cost of the book, it is better to purchase the book rather give penalty for 1 year. So, this penalty does not mean, you can have any amount of penalty cost; no this has to be a part of minimization process. So, C dash is the new modified objective function, original objective function plus cost function For violating j th inequality constraints, this is the cost W j all such constraints summation j. So, total penalty cost is sigma j W j all variables will not cross limits, otherwise is something wrong with your definition of limits. Suppose, you put your limits so stringent 0.99 per unit to 1.01 per unit all the PQ was voltages will cross the limit, because you foolishly kept such a limit which is not possible in India, because voltages go minus infinity to plus infinity. So, you have to at least put 0.9 per unit to 1.1 per unit then it is likely that some of the variables, voltage variables will not cross the limits So that is why, I have put it here j, otherwise I put all j This is the graph which is very important to understand Y axis is penalty cost, x axis is the x variables, if It is between x lower bar means, x min there was no place to write min. So, I have to written x lower bar, x upper bar means, x max why upper bar and lower bar are not normally used, because it can be misunderstood by vector sign and even lower bar some people write for some special meaning So, I write x min x max with no confusion, but here, because of the space constraints, let me use the word constraint, I put x lower bar and x upper bar, if there between this two limits, no problem this dotted line which is the Rigid Limit no penalty, penalty is 0. The moment x crosses either the upper bar or lower bar this quality curve is there So, penalty starts increasing moment x crosses limit and as it moves away from the limit, the Rigid Limit, the penalty also increases, the penalty cost characteristics you can choose, it can be quadratic, it can be cubic, it can be exponential, suppose they are very strict, if you give book after 10 days, you can see you are suspended or 1000 rupees that is various stringent penalty This is the model, I have chosen W j is equal to gamma j x j minus x j max whole square, gamma j x j minus x j min whole square, luckily one of the two will be there, as I have been repeatedly telling you, either it crosses upper limit or it crosses lower limit, you cannot have both, so it crosses upper limit this equation, if it crosses lower limit this equation and gamma j is called Penalty Factor, not power factor, but penalty factor It is up to you to choose, what penalty factor you want, I will talk, I will comment on this selection of gamma j after some time, why have put square here, penalty cost should be positive, you cannot have negative penalty, you cannot given award for someone for not giving book in proper time, no problem, well done, here 1000 rupees for you, I think no where no library will give you reward or award for depositing book late, no appreciations for that hence we had to have positive penalty cost, so square Now, the necessary condition are Kool Tooker conditions gets modified, you get the W j also terms here, which is quite understandable, because W j is definitely a function of x