PEN4251 - Power System Operation & Control Lab Manual
PEN4251 - Power System Operation & Control Lab Manual
MANUAL
EXPERIMENTS IN
FACULTY OF ENGINEERING
ii
LABORATORY MANUAL
EXPERIMENTS IN
iii
EXPERIMENTS IN
This manual or parts, thereof, may not be reproduced in any from without Permission
of the EED.
iv
PREFACE
Arslan Ashraf is an Assistant Professor of Electrical Engineering at the University of Central
Punjab (UCP), Lahore, Pakistan. He was born in Lahore (Punjab) and got his Bachelor’s
degree B.Eng. in Electrical Engineering with specialization in Electric Power Systems
from National University of Sciences and Technology, Pakistan in 2006 and MSc in
Electric Power Engineering from Chalmers University of Technology, Sweden in 2012.
Before joining the teaching profession, Arslan Ashraf had extensive experience in
Industrial/Company as a Field Application engineer. He had started his teaching carrier from
University of Central Punjab, Lahore in 2013 and served as a Lecturer in Faculty of
Engineering for three years.
v
INTRODUCTION
Power System Operation and Control is concerned with the optimal and economical operation
of power systems. All the major steps of Power System Operational Planning (i.e. Unit
Commitment, Economic Dispatch, Optimal Power Flow, Hydro- thermal Scheduling) and
Power System Control (Load Frequency Control, Automatic Voltage Regulator) are covered
in this manual.
This Manual, presents a series of experiments dealing with all the major aspects of power
system operational planning and power system control. Each experiment is accompanied by a
set of objectives, a detailed discussion of the theoretical concepts and Mathematical
Formulation that are investigated or verified through manual calculation and MATLAB
Simulations. Most of the question require students to compare experimental with theoretical
concepts to speculate on reasons for discrepancies, and to learn from deductive resonating.
The sequence and scope of the experiments in this manual is parallel to the material covered in
the text book. These experiments are basically implementation of lessons covered in theory
through Software Simulation to verify the results. At the end of each experiment students have
to submit a separate report which should include the analysis of results of the experiment.
I wish to thank Engr. Ali Ahmad, who made constructive suggestions and changes while
teaching this laboratory course and created final draft.
vi
POWER SYSTEMS OPERATION AND CONTROL LABORATORY
TABLE OF CONTENTS
7
17 Design Problem: Power System Operations and Control 136
8
Experiment – 1
STUDY AND PLOT OF DIFFERENT TYPES OF LOAD CURVES
FROM GIVEN DATA USING MATLAB
OBJECTIVES:
To learn:
SOFTWARE:
1. MATLAB
INTRODUCTION:
The demand for power has increased exponentially over the last century. This has increased
the emphasis on the performance and efficiency of power supplies used in everyday electronics
as well as sophisticated electronic and communication systems. A power supply is a
component, subsystem, or system that converts electrical power from one form to another. In
power system, it is important to know the daily-load curve that consists of demand pattern by
various classes of users.
Load Curve:
A graphical plot showing the variation in demand for energy of the consumers on a source of
supply with respect to time is known as the load curve.
If this curve is plotted over a time period of 24 hours, it is known as daily load curve. If it’s
plotted for a week, month, or a year, then it’s named as the weekly, monthly or yearly load
curve respectively.
From out of the load connected, a consumer uses different fractions of the total load at various
times of the day as per his/her requirements. Since a power system has to supply load to all
such consumers, the load to be supplied varies continuously with time and does not remain
constant. If the load is measured (in units of power) at regular intervals of time, say, once in an
hour (or half- an-hour) and recorded, we can draw a curve known as the load curve.
9
Load Duration Curve:
The load–duration curve is a plot of the load demands (in units of power) arranged in a
descending order of magnitude (on the y-axis) and the time in hours (on the x-axis). A load
duration curve enables us to determine the number of hours per year, when the load is greater
or lesser than any given amount. Similarly it also shows the loads that are carried for more or
lesser than particular direction.
𝐴𝑣𝑒𝑟𝑎𝑔𝑒 𝐿𝑜𝑎𝑑
𝐿𝑜𝑎𝑑 𝐹𝑎𝑐𝑡𝑜𝑟 =
𝑀𝑎𝑥𝑖𝑚𝑢𝑚 𝐷𝑒𝑚𝑎𝑛𝑑
𝑀𝑎𝑥𝑖𝑚𝑢𝑚 𝐷𝑒𝑚𝑎𝑛𝑑
𝐷𝑒𝑚𝑎𝑛𝑑 𝐹𝑎𝑐𝑡𝑜𝑟 =
𝐶𝑜𝑛𝑛𝑒𝑐𝑡𝑒𝑑 𝐿𝑜𝑎𝑑
𝐴𝑣𝑒𝑟𝑎𝑔𝑒 𝐿𝑜𝑎𝑑
𝑃𝑙𝑎𝑛𝑡 𝐶𝑎𝑝𝑎𝑐𝑖𝑡𝑦 𝐹𝑎𝑐𝑡𝑜𝑟 =
𝑃𝑙𝑎𝑛𝑡 𝐶𝑎𝑝𝑎𝑐𝑖𝑡𝑦
PROCEDURE:
Generally load curves are built by recording the values of load demands for every instant during
a certain time interval and plot a graph of load demands against a time for which it occurs. The
procedure for plotting Load Curves in MATLAB is as:
function[]=loadcurve(data)
10
L=length(data)
tt=[data(:,1) data(:,2)]
t=sort(reshape(tt,1,2*L));
pp=data(:,3);
for n=1:L
P(2*n-1)=pp(n);
P(2*n)=pp(n);
end
plot(t,P)
grid on
4. Save the commands above in your thumb drive directory, save as loadcurve.m
5. Now define the demand interval and load in the Command Window of MATLAB by
the variable data in a three column matrix given as:
data =[ 0 2 6
2 6 5
6 9 10
9 12 15
12 14 14
14 16 13
16 18 14
18 20 18
20 22 16
22 23 12
23 24 6]
The first two columns are the demand interval and third column is load value. The
demand interval may be minutes, hours, and months in ascending order and load
values are generally in KW or MW. In above example first row of data variable shows
that for first two hours (00-02) load demand is 6 MW.
6. Now execute the above function by typing the following command in MATLAB
Command Window:
loadcurve(data)
7. The load curve plot shown if Figure 1 will be obtained.
However the procedure for plotting a load duration curve is different from load curves that is
given below:
11
The procedure to plot the load duration curve using MATLAB is as:
8. Add the following commands at the end of loadcurve.m file that was saved earlier:
[pp,I]=sort(pp,'descend')
t1=data(:,1)
t2=data(:,2)
dt=t2(I)-t1(I)
i=1;
k=1;
while(i<=2*L)
if(i==1)
t(i)=0;
else
if(rem(i,2)==0)
t(i)=t(i-1)+dt(k);
k=k+1;
else
t(i)=t(i-1)
end
end
i=i+1;
end
for n=1:L
P2(2*n-1)=pp(n);
P2(2*n)=pp(n);
end
figure(2)
plot(t,P2)
grid on
12
10. Further information can also be extracted from these curves. i.e. Total Energy (E also
called units generated), Average Load (Pavg), Peak load (Peak also called maximum
demand), Load Factor (LF) by typing the following commands to at the end of
loadcurve.m file saved earlier:
E=pp'*(t2-t1)
Pavg=E/sum(t2-t1)
Peak=max(pp)
LF=(Pavg/Peak)*100
EXERCISES:
EXERCISE 1:
For the load on a particular power plant of 100 MW capacity on a particular day given in
Error! Reference source not found.Error! Reference source not found.. Plot the Load
Curve and the Load Duration Curve using MATLAB. Also, find the Units generated,
13
Average Load, Maximum Demand, Load Factor, Demand Factor and Plant Capacity Factor.
Note: All the values should be generated automatically using MATLAB.
Load (MW) 15 35 70 80 90 15
Results:
Now fill in the following table and sketch the load curve along with load duration curve:
Average Load
Maximum Demand
Load Factor
Demand Factor
Load Curve:
14
Load Duration Curve:
EXERCISE 2:
A consumer has a connected load of 12 lamps each of 100 W at his/ her premises. His/ her
load demand is as follows:
15
Draw the load curve and calculate the (i) energy consumption during 24 hours, (ii) demand
factor, (iii) average load, (iv) maximum demand, and (v) load factor
Results:
Now fill in the following table and sketch the load curve along with load duration curve:
Average Load
Maximum Demand
Load Factor
Demand Factor
Load Curve:
16
Task:
Lab Report:
________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
17
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________
18
Experiment – 2
TO STUDY THE CONVEX AND NON-CONVEX CHARACTERISTICS
OF THERMAL UNITS USING MATLAB
OBJECTIVES:
To learn:
SOFTWARE:
1. MATLAB
INTRODUCTION:
In analyzing the problems associated with the operation of power system, there are many
possible parameters of interest. Fundamental is the basic cost data and set of input-output
characteristics of generation units. Different types of fuel are used in thermal power plants.
Depending on the types of turbine such as single value or multi value, the characteristic differs.
Although the operating cost of these units consists of both fuel and maintenance costs, only the
fuel cost varies directly with the units and also with the level of generation. The fuel cost is
incurred during the running (either at no-load or at any load), start-up and sometimes shutdown
conditions of the steam units.
Steam turbines with single valve operation usually exhibit smooth operations in comparison
with multivalve machine. Multi-inlet valves are opened and closed in sequence by the turbine
governor controlling the flow of steam to a separate group of nozzles. These valves are opened
and closed to minimize losses at partial loads allowing higher efficiencies to be maintained
under all load conditions but unfortunately their cost curves are not exactly convex rather they
exhibit discontinuities at valve opening and closing points making cost characteristics non
convex as discussed below.
19
(i) Convex Characteristics:
These characteristics are obtained for single valve thermal generating units.
They are given by the following equations:
𝑀𝐵𝑡𝑢
𝐻(𝑃) = 𝑎 + 𝑏𝑃 + 𝑐𝑃2 ( )
ℎ𝑟
𝑅
𝐹(𝑃) = 𝑎 + 𝑏𝑃 + 𝑐𝑃2 ( )
ℎ𝑟
Where a, b and c are the thermal coefficients of generating unit. The convex
characteristic is shown in Figure 3
𝑀𝐵𝑡𝑢
𝐻(𝑃) = 𝑎 + 𝑏𝑃 + 𝑐𝑃2 + |𝑒𝑆𝑖𝑛𝑓(𝑃𝑚𝑖𝑛 − 𝑃)| ( )
ℎ𝑟
𝑅
𝐹(𝑃) = 𝑎 + 𝑏𝑃 + 𝑐𝑃2 + |𝑒𝑆𝑖𝑛𝑓(𝑃𝑚𝑖𝑛 − 𝑃)| ( )
ℎ𝑟
Where a, b, c and e are the coefficients of the thermal generating unit. The non
– convex characteristic is shown in Figure 4.
20
Figure 4: Input Output Characteristics of a Non-Convex Thermal Generating Unit
21
NET HEAT RATE CHARACTERISTICS:
The last important characteristic of a steam unit is the unit (net) heat rate characteristic shown
in Figure 6. This characteristic is H/P or F/P versus P. It is proportional to the reciprocal of the
usual efficiency characteristic developed for machinery. The unit heat rate characteristic shows
the heat input per kilowatt hour of output versus the megawatt output of the unit.
PROCEDURE:
The procedure of plotting the convex and non-convex characteristics of thermal generating
stations is given below:
1. For a given generating unit, write down the characteristic equation of machine in
following form:
𝑅
𝐹(𝑃) = 𝑎 + 𝑏𝑃 + 𝑐𝑃2 ( )
ℎ𝑟
2. Plot the graph between fuel cost and power generated by taking power output at y-
axes and input fuel cost at x-axes on graph paper. This equation gives the relation
between powers generated and input heat rate or fuel cost.
3. To plot incremental heat rate or incremental cost curve, take a derivative of above
mentioned quadratic characteristic curve.
𝑑𝐹 𝑅
= 𝑏 + 2𝑐𝑃 ( )
𝑑𝑃 𝑀𝑊ℎ
22
𝑑𝐻 𝑑𝐹
4. Plot the graph between 𝑑𝑃 or 𝑑𝑃 against power generated P. This graph is the slope of
input-output characteristics of generating unit.
5. Now to determine the net heat rate characteristics, a graph is plotted between 𝐻/𝑃 or
𝐹/P versus Power output P. The unit heat rate characteristics shows the heat input per
kilowatt hour of output versus the megawatt output of units.
𝐹(𝑃) 𝑎 𝑅
= + 𝑏 + 𝑐𝑃 ( )
𝑃 𝑃 𝑀𝑊ℎ
6. Now these characteristics are also demonstrated through MATLAB. Open a new
Mfile in MATLAB and type the following code:
7. For a given generating unit, write down the characteristic equation of machine in
following form:
𝑅
𝐹(𝑃) = 𝑎 + 𝑏𝑃 + 𝑐𝑃2 + |𝑒𝑆𝑖𝑛𝑓(𝑃𝑚𝑖𝑛 − 𝑃)| ( )
ℎ𝑟
8. Plot the graph between fuel cost and power generated by taking power output at y-
axes and input fuel cost at x-axes on graph paper. This equation gives the relation
between powers generated and input heat rate or fuel cost.
9. To plot incremental heat rate or incremental cost curve, take a derivative of above
mentioned quadratic characteristic curve.
𝑑𝐹 𝑅
= 𝑏 + 2𝑐𝑃 + |𝑒𝐶𝑜𝑠𝑓(𝑃𝑚𝑖𝑛 − 𝑃) − 𝑓| ( )
𝑑𝑃 𝑀𝑊ℎ
𝑑𝐻 𝑑𝐹
10. Plot the graph between 𝑑𝑃 or 𝑑𝑃 against power generated P. This graph is the slope of
input-output characteristics of generating unit.
23
11. Now to determine the net heat rate characteristics, a graph is plotted between 𝐻/𝑃 or
𝐹/P versus Power output P. The unit heat rate characteristics shows the heat input per
kilowatt hour of output versus the megawatt output of units.
12. Now these characteristics are also demonstrated through MATLAB. Open a new
Mfile in MATLAB and type the following code:
EXERCISE:
The fuel cost functions for three thermal plants in $/h are given by:
For the given system plot the input-output fuel cost curve, incremental cost curve and net fuel
rate curve. Perform the following and fill in the results.
Note: The above mentioned MATLAB code is only written for the input output characteristics.
The code is to be modified by the students themselves for plotting incremental cost curve and
net fuel rate curve.
24
Task:
Lab Report:
________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
25
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
26
Experiment – 3
ECONOMIC DISPATCH OF THERMAL GENERATING UNITS USING
ANALYTICAL METHOD
OBJECTIVES:
To learn:
SOFTWARE:
1. MATLAB
INTRODUCTION:
Economic Dispatch Problem (EDP) is the process of calculating the generation allocation to
the machines at minimum cost while satisfying the constraints. It is a generation allocation
problem.
𝐹𝑇 = ∑ 𝐹𝑖 (𝑃𝑖 )
𝑖=1
Where FT is total fuel cost and Fi (Pi) is fuel cost function. The fuel cost functions for convex
systems is given below:
𝑅
𝐹𝑖 (𝑃𝑖 ) = 𝑎𝑖 + 𝑏𝑖 𝑃𝑖 + 𝑐𝑖 𝑃𝑖2 ( )
𝑀𝑊ℎ
Subject to the following equality constraint:
𝑁
∅ = 𝑃𝐷 − ∑ 𝑃𝑖
𝑖=1
27
𝑃𝑖 − 𝑃𝑖 (max) ≤ 0
} 𝑓𝑜𝑟 𝑖 = 1,2,3 … . . 𝑁
𝑃𝑖 − 𝑃𝑖 (min) ≥ 0
Where, 𝐹𝑇 = 𝐹1 + 𝐹2 + ⋯ + 𝐹𝑁 is the total fuel input to the system. While Fi = Fuel input to
the ith unit.
Equal Incremental Cost Criteria states that total cost of generation will be minimum if all the
machines are operating at same incremental cost while satisfying the constraints. It means that
cost for generation of next unit form a point is same for all machines.
Analytical method is used to find the value of lambda λ for the Equal Incremental Cost Criteria
to solve EDP. It is a single iteration method for EDP, which gives λ and Pi, for which cost is
minimum.
The working philosophy of this method is that constrained problem can be converted into an
unconstrained problem by forming the Lagrange, or augmented function.
𝐿 = 𝐹𝑇 + 𝜆∅
i.e.
𝑁
𝐿 = 𝐹𝑇 + 𝜆 (𝑃𝐷 − ∑ 𝑃𝑖 )
𝑖=1
𝜕𝐿
=0
𝜕𝑃𝑖
𝜕𝐿
=0
𝜕𝜆
Condition 1:
𝜕𝐿 𝜕𝐹𝑇
= + 𝜆(0 − 1) = 0
𝜕𝑃𝑖 𝜕𝑃𝑖
𝜕𝐹𝑇
=> = 𝜆
𝜕𝑃𝑖
28
𝑏𝑖 + 2𝑐𝑖 𝑃𝑖 = 𝜆
Condition 2:
=> 𝑃𝐷 = ∑ 𝑃𝑖
𝑖=1
For most economical operation, all plants must operate at equal incremental production cost
while satisfying the equality constraint equation given above:
𝜆 − 𝑏𝑖
𝑃𝑖 =
2𝑐𝑖
The relation given above are known as coordination equations. They are function of 𝜆. An
analytical solution for 𝜆 is given by substituting the values of Pi in equality constraint:
𝑁
𝜆 − 𝑏𝑖
∑( ) = 𝑃𝐷
2𝑐𝑖
𝑖=1
𝑏𝑖
𝑃𝐷 + ∑𝑁
𝑖=1 (2𝑐 )
𝑖
𝜆=
1
∑𝑁
𝑖=1 (2𝑐 )
𝑖
PROCEDURE:
The procedure for implementation of equal incremental cost criteria to solve economic dispatch
problem is given below:
1. Identify cost coefficients (ai, bi, ci), power demand (Pd) and its constraints from the
given problem.
2. Calculate the Lamda (R/MWh) by using following equation:
𝑏𝑖
𝑃𝐷 + ∑𝑁𝑖=1 (2𝑐 )
𝑖
𝜆=
1
∑𝑁𝑖=1 (2𝑐 )
𝑖
3. Now calculate generation sharing of individual generators using the equation:
29
𝜆 − 𝑏𝑖
𝑃𝑖 =
2𝑐𝑖
4. After computing the individual power calculate the individual cost of each generator by
substituting the value of power (obtained in step-3) in the respective fuel cost equations.
5. Calculate total cost of generation by adding up the individual costs as:
𝑁 𝑁
function [P,Lamda,Cost]=analytical(Pd,A)
n=length(A);
for i = 1:n
a(i,1)=A(i,1);
b(i,1)=A(i,2);
c(i,1)=A(i,3);
end
Lamda = (Pd +sum( b./(2*c)))/sum( 1./(2*c) );
P=(Lamda-b)./(2*c);
Cost=sum( [sum(a) sum(b.*P) sum(c.*(P.^2))] );
9. Now define the Power demand in the command window of MATLAB by the variable
name Pd as:
Pd = 100
10. Also, define the fuel cost function of all the generating units in the Command Window
of MATLAB by the variable A in a three column matrix given as:
A =[ 700 5.9 0.004
500 4.7 0.008
300 6.1 0.007]
The first, second and third column of matrix A define the coefficients ai, bi and ci for
each generating unit.
11. Call the function from command window of MATLAB by typing:
[P,Lamda,Cost]=analytical (Pd,A)
EXERCISE:
30
The fuel cost functions for three thermal plants in $/h are given by:
Where P1, P2 and P3 are in MW. The Total load PD is 800 MW, neglecting the line losses
and generation limits, find the optimal dispatch and the total cost $/h using Analytical
Method.
After compilation of MATLAB program, write down the obtained results in following table
and compare it with the manual calculations.
λ P1 P2 P3 F1 F2 F3 FT
($/MWh) (MW) (MW) (MW) ($/hr) ($/hr) ($/hr) ($/hr)
Calculated
Value
MATLAB
Result
Task:
Lab Report:
________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
31
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
32
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________
33
Experiment – 4
ECONOMIC DISPATCH OF THERMAL GENERATING UNITS USING
lAMBDA ITERATION METHOD
OBJECTIVES:
To learn
INTRODUCTION:
Economic Dispatch Problem (EDP) is the process of calculating the generation
allocation to the machines at minimum cost while satisfying the constraints. It is a generation
allocation problem.
The economic dispatch problem mathematically may be defined as:
Iterative Method:
34
λ is used to find generation allocation Pi for all the units which are then used to find new value
of λ.
The equality constraint in economic dispatch problem is given as:
𝑁
∑ 𝑃𝑖 = 𝑃𝐷
𝑖=1
In equal incremental cost criteria method, we derived the relation of 𝑃𝑖 as:
𝜆 − 𝑏𝑖
𝑃𝑖 =
2𝑐𝑖
By substituting the value of 𝑃𝑖 in equality constraint, we get
𝑁
𝜆 − 𝑏𝑖
∑( ) = 𝑃𝐷
2𝑐𝑖
𝑖=1
The above equation can be expressed as:
𝑓(𝜆) = 𝑃𝐷
Expanding by Taylor’s series about an operating point 𝜆𝐾 and neglecting higher order terms
results in
𝐾
(𝐾) 𝑑𝑓(𝜆)
𝑓(𝜆) +( ) Δ𝜆(𝐾) = 𝑃𝐷
𝑑𝜆
𝑃𝐷 − 𝑓(𝜆)(𝐾)
Δ𝜆(𝐾) = 𝐾
𝑑𝑓(𝜆)
( )
𝑑𝜆
(𝐾) Δ𝑃(𝐾)
Δ𝜆 = 𝐾
𝑑𝑓(𝜆)
( )
𝑑𝜆
Δ𝑃(𝐾)
Δ𝜆(𝐾) =
𝑑𝑃 𝐾
( 𝑖)
𝑑𝜆
or
(𝐾) Δ𝑃(𝐾)
Δ𝜆 =
1
∑
2𝑐𝑖
and therefore
𝜆(𝐾+1) = 𝜆(𝐾) + Δ𝜆(𝐾)
Where
35
𝑁
Δ𝑃(𝐾) = 𝑃𝐷 − ∑ 𝑃𝑖
𝑖=1
The process is continued until Δ𝑃(𝐾) is less than a pre-specified accuracy.
PROCEDURE:
The procedure of implementation of Lamda-iteration method to solve economic dispatch
problem is given below:
Note:
The problem must be solved by hand and the obtained results must be verified
using MATLAB
1. Identify cost coefficients (ai, bi, ci), power demand (PD) and its constraints from the
given problem.
2. Assume an initial value of lambda a little higher than bi coefficients of fuel cost
equations.
5. Calculate residual power by subtracting power demand from generated power as:
n
P = Pd − Pi
i =1
36
9. Repeat steps 3, 4 and 5 until a certain level of accuracy is achieved such as (∆λ<0.0001)
10. Calculate the individual cost of each generator by substituting the value of final power
in the respective fuel cost equations.
11. Calculate total cost of generation by adding up the individual costs as:
n n
FTotal = Fi = (ai + bi Pi + ci Pi 2 )
i =1 i =1
%g= initial guess of lamda; A= co-efficients of cost equations; pd= power demand;
function [cost,lamda,p]=iter_lamb(pd,A,g)
n=length(A);
dg=10;
for i=1:n
a(i,1)=A(i,1);
b(i,1)=A(i,2);
c(i,1)=A(i,3);
end
while ( abs(dg)>0.0001 )
p=(g-b)./(2*c);
for k=1:n
if p(k) > pmax(k)
p(k)=pmax(k);
elseif p(k)< pmin(k)
p(k)=pmin(k);
else, end
end
dp=pd-sum(p);
dg = dp/sum(1./(2*c));
g=g+dg;
lamda=g;
end
cost=sum([sum(a) sum(b.*p) sum(c.*(p.^2))])
37
5. Compare both the results to verify that the calculated results are in accordance with
MATLAB.
EXERCISE:
The fuel cost functions for three thermal plants in $/h are given by:
F1 = 500 + 5.3P1 + 0.004 P12
150 P2 350
100 P3 225
Where P1, P2 and P3 are in MW. The Total load PD is 800 MW, neglecting the line losses and
generation limits, find the optimal dispatch and the total cost $/h using Lambda Iteration
Method.
RESULTS:
After compilation of MATLAB Program, write down the obtained results in following table
and compare it with the manual calculations.
Table-4.1
Lambda(λ) P1 P2 P3 F1 F2 F3 Total
Cost($/hr)
($/MWhr) (MW) (MW) (MW) ($/hr) ($/hr) ($/hr)
Calculated
Values
MATLAB
results
CONCLUSION:
38
λ-iteration method is an accurate iterative method of solving ED Problem. In this
experiment a simplified version of ED problem with generation limits is effectively solved
through iterative method. However iterative method is unable to solve ED problem with non-
convex fuel cost function.
Task:
Lab Report:
________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
39
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________
40
Experiment – 5
ECONOMIC DISPATCH OF THERMAL POWER SYSTEM WITH
TRANSMISSION LINE LOSSES
OBJECTIVES:
To learn
1. Formulation of economic dispatch problem with transmission losses.
2. To construct and implement an algorithm to solve dispatch problem with
transmission line losses using iterative approach.
SOFTWARE USED:
MATLAB
INTRODUCTION:
Economic Dispatch Problem (EDP) is the process of calculating the
generation allocation to the machines at minimum cost while satisfying the constraints. It is a
generation allocation problem. The economic dispatch problem mathematically may be defined
as:
𝑁
Subjected to:
Equality Constraint: 𝑃𝐷 + 𝑃𝐿 − ∑𝑁
𝑖=1 𝑃𝑖 = 0
𝑃𝑖𝑚𝑖𝑛 − 𝑃𝑖 ≤ 0
One common practice for including the effect of transmission line losses is to express the total
transmission line losses as a quadratic function of the generator power outputs. The simplest
quadratic form is:
𝑁 𝑁
𝑃𝐿 = ∑ ∑ 𝑃𝑖 𝐵𝑖𝑗 𝑃𝑗
𝑖=1 𝑗=1
A more general formula containing a linear term and a constant term, referred to Kron’s Loss
formula is:
41
𝑁 𝑁 𝑁
The coefficient 𝐵𝑖𝑗 are called loss coefficients or B-coefficients. B-coefficients are assumed
constant and reasonable accuracy is expected providing the actual operating conditions are
close to the base case where the B-constants are computed.
𝐿 = 𝐹𝑇 + 𝜆𝜑
𝑁
𝐿 = 𝐹𝑇 + 𝜆 [𝑃𝐷 + 𝑃𝐿 − ∑ 𝑃𝑖 ]
𝑖=1
The necessary conditions for constrained local minima of L are the following:
𝜕𝐿
=0
𝜕𝑃𝑖
𝜕𝐿
=0
𝜕𝜆
Condition 1:
42
If following simplified loss equation is used for transmission line losses calculation then the
value of 𝑃𝑖 .
𝜆 − 𝑏𝑖
𝑃𝑖 =
2(𝑐𝑖 + 𝜆𝐵𝑖𝑖 )
Condition 2:
Second condition results in:
𝑁
𝑃𝐷 + 𝑃𝐿 = ∑ 𝑃𝑖
𝑖=1
PROCEDURE:
The procedure to solve economic dispatch problem with transmission line losses for a given
system is given below:
Note:
The problem must be solved by hand and the obtained results must be verified
using MATLAB
1. Identify cost coefficients (ai, bi, ci), power demand (Pd) and its constraints from the
given problem.
2. Assume an initial value of lambda a little higher than bi coefficients of fuel cost
equations.
43
n
P = PD + PL − Pi
i =1
𝑁 𝑛
𝜕𝑃𝑖 𝑐𝑖 + 𝐵𝑖𝑖 𝑏𝑖
∑( ) = ∑
𝜕𝜆 2(𝑐𝑖 + 𝜆𝐵𝑖𝑖 )2
𝑖=1 𝑖=1
K +1 = K + K
9. Repeat above steps (3, 4, 5, 6, 7, 8) until a certain level of accuracy is achieved such as
(∆λ<0.0001).
10. Calculate the individual cost of each generator by substituting the value of final power
in the respective fuel cost equations.
11. Calculate total cost of generation by adding up the individual costs as:
n n
FTotal = Fi = (ai + bi Pi + ci Pi 2 )
i =1 i =1
44
num1(u,1)=(c(u)+B(u,u)*b(u));
end
p=(g-b)./den;
for k=1:n
if p(k) > pmax(k)
p(k)=pmax(k);
elseif p(k)< pmin(k)
p(k)=pmin(k);
else, end
end
pl=sum((B)*(p.^2));
dp=pd-sum(p)+pl;
s=num1./den1;
dg = dp/sum(s);
g=g+dg;
lamda=g;
end
cost=sum([sum(a) sum(b.*p) sum(c.*(p.^2))]);
EXERCISE:
The fuel cost functions for three thermal plants in $/h are given by:
F1 = 200 + 7.0 P1 + 0.008 P12
10 P2 80
10 P3 70
The transmission loss is given by the following expression:
45
Where P1, P2 and P3 are in MW. The Total load PD is 150 MW, considering generation limits
and line losses, find the optimal dispatch and the total cost $/h using Lambda Iteration
Method.
RESULTS:
After compiling the MATLAB Program, write down the obtained result in following table and
compare it with the manual calculations:
Table-5.1
Lambda(λ) P1 P2 P3 F1 F2 F3 Total
Cost($/hr)
($/MWhr) (MW) (MW) (MW) ($/hr) ($/hr) ($/hr)
Calculated
Values
MATLAB
results
CONCLUSION:
Lambda iteration method is an effective method to solve ED Problem. In this
experiment we have also included generation limits and transmission losses and we came to
know that it takes large number of iterations to solve the problem than the iterations required
in case of simple ED problem (i.e. in case of neglecting the limits & losses or only including
the generation limits).
Task:
Lab Report:
________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
46
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
47
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________
48
Experiment – 6
SOLUTION OF ECONOMIC DISPATCH PROBLEM BY NEWTON
METHOD AND GRADIENT METHOD
OBJECTIVES:
To learn
SOFTWARE USED:
MATLAB
INTRODUCTION:
(i) Gradient Method:
Note that the lambda search technique always requires that one be able to find the power output
of a generator, given an incremental cost for that generator. In the case of a quadratic function
for the cost function, or in the case where the incremental cost function is represented by a
piecewise linear function, this is possible. However, it is often the case that the cost function is
much more complex, such as the one below:
(P − E)
F ( P) = A + BP + CP 2 + D exp[ ]
F
In this case, we shall propose that a more basic method of solution for the optimum be found.
Gradient method works on the principle that the minimum of a function, f(x), can be found by
a series of steps that always take us in a downward direction. From any starting point, xo, we
may find the direction of “steepest descent” by noting that the gradient off.
In this method new value of a variable x is found from the relation:
Where
49
Where f(x) is objective function to be minimized and x is vector of variables.
Subjected to:
The economic dispatch requires a starting value of λ and Pl, P2,….The new values of λ, Pl,
P2,…, etc., are found from:
Where,
50
PROCEDURE:
The procedure of finding solution of economic dispatch problem using Gradient Method is
given below:
Note:
The problem must be solved by hand and the obtained results must be verified
using MATLAB
1. Identify cost coefficients (ai, bi, ci), power demand (Pd) and its constraints from the
given problem.
2. Calculate initial value of Lambda by first supposing the initial values of Pi using
following equation:
1 n d
= Fi ( Pi 0 )
0
n i =1 dp
3. Form a vector of initial values of power and lambda as:
51
5. Compute new values of powers and lambda by the equation:
9. The obtained results are also verified through MATLAB Program. Open a new M-file
in MATLAB and type the following code:
MATLAB CODE:
function [p,sump,lamda,cost]=gradient_method(cost,pd,p,alpha,iter)
%cost=[561 7.92 0.001562;310 7.85 0.00194;78 7.97 0.00482];
%pd=800;
%p=[300 200 300];
%alpha=1;
%iter=10;
n=length(cost);
nlang=50;
j=1;
for i=1:n
a(i,1)=cost(i,1);
b(i,1)=cost(i,2);
y(i,1)=cost(i,3);
end
lamda =(1/3)*sum(b+2*y.*p');
while(j<iter);
x=p';
x(4,1)=lamda;
nlang=b+2*y.*p'-lamda;
nlang(4,1)=pd-sum(p');
x=x-(alpha*nlang);
p=x(1:3);
p=p';
lamda=x(4,1);
sum(p);
j=j+1;
end
52
p=p';
sump=sum(p);
lamda;
cost=sum([sum(a) sum(b.*p) sum(y.*p.*p)]);
EXERCISE:
The fuel cost functions for three thermal plants in $/h are given by:
F1 = 561 + 7.92 P1 + 0.001562 P12
100 P2 400
50 P3 200
Where P1, P2 and P3 are in MW. The Total load PD is 800 MW, considering generation limits
and line losses, find the optimal dispatch and the total cost $/h using Gradient Method.
RESULTS:
After compiling the MATLAB, write down the MATLAB results here and compare it with the
manual calculations:
Table 6.1
Lambda(λ) P1 P2 P3 F1 F2 F3 Total
Cost($/hr)
($/MWhr) (MW) (MW) (MW) ($/hr) ($/hr) ($/hr)
Calculated
Values
MATLAB
results
53
(ii) NEWTON METHOD:
Newton Method is also an iterative procedure but it uses a technique other than used in λ-
iteration method.
Subjected to:
Generally, Newton's method will solve for the correction that is much closer to the minimum
generation cost in one step than would the gradient method.
PROCEDURE:
54
The procedure to find solution of Economic Dispatch (ED) problem through Newton’s
Method is given below:
Note:
The problem must be solved by hand and the obtained results must be verified
using MATLAB
1. Identify cost coefficients (ai, bi, ci), power demand (Pd) and its constraints from the
given problem.
2. Take initial value of lambda equal to zero.
3. Form a vector of initial values of power and lambda as:
55
6. Add the correction matrix in the matrix of step 3.
7. Repeat steps 4, 5 and 6 until gets equal to zero.
8. Calculate the individual cost of each generator by substituting the value of final power
in the respective fuel cost equations.
9. Calculate total cost of generation by adding up the individual costs as:
n n
FTotal = Fi = (ai + bi Pi + ci Pi 2 )
i =1 i =1
function [p,sump,lamda,cost]=gradient_method(cost,pd,p,iter)
cost=[561 7.92 0.001562;310 7.85 0.00194;78 7.97 0.00482];
pd=800;
p=[300 200 300];
iter=10;
n=length(cost);
nlang=50;
j=1;
for i=1:n
a(i,1)=cost(i,1);
b(i,1)=cost(i,2);
y(i,1)=cost(i,3);
end
lamda =0;
H=[0.003124 0 0 -1;0 0.00388 0 -1;0 0 0.00964 -1;-1 -1 -1 0];
while(j<iter);
x=p';
x(4,1)=lamda;
nlang=b+2*y.*p'-lamda;
nlang(4,1)=pd-sum(p');
x=x-(inv(H)*nlang);
p=x(1:3);
p=p';
56
lamda=x(4,1);
sum(p);
j=j+1;
end
p=p';
sump=sum(p);
lamda;
cost=sum([sum(a) sum(b.*p) sum(y.*p.*p)]);
EXERCISE:
The fuel cost functions for three thermal plants in $/h are given by:
F1 = 561 + 7.92 P1 + 0.001562 P12
100 P2 400
50 P3 200
Where P1, P2 and P3 are in MW. The Total load PD is 800 MW, considering generation
limits and line losses, find the optimal dispatch and the total cost $/h using Newton Method.
RESULTS
After compiling the MATLAB, write down the MATLAB results here and compare it with the
manual calculations:
Table 6.2
Lambda(λ) P1 P2 P3 F1 F2 F3 Total
Cost($/hr)
($/MWhr) (MW) (MW) (MW) ($/hr) ($/hr) ($/hr)
Calculated
57
Values
MATLAB
results
CONCLUSION:
Newton and gradient method converge in fewer number of iterations than
conventional lambda iterative techniques but these methods are more complex as compared
to lambda iterative techniques.
Task:
Lab Report:
________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
58
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________
59
Experiment – 7
SOLUTION OF UNIT COMMITMENT PROBLEM BY
ENUMERATION METHOD
OBJECTIVES:
To learn
SOFTWARE USED:
MATLAB
INTRODUCTION:
The Unit Commitment (UC) is an important research challenge and vital optimization
task in the daily operational planning of modern power systems due to its combinatorial nature.
Because the total load of the power system varies throughout the day and reaches a different
peak value from one day to another, the electric utility has to decide in advance which
generators to start up and when to connect them to the network and the sequence in which the
operating units should be shut down and for how long. The computational procedure for
making such decisions is called unit commitment, and a unit when scheduled for connection
to the system is said to be committed.
In general, the UC problem may be formulated as a non-linear, large scale, mixed-integer
combinatorial optimization problem with both binary (unit status variable) and continuous (unit
output power) variables.
Objective Function:
The principal objective is to prepare on/off schedule of the generating units in every sub-period
(typically 1h) of the given planning period (typically 1 day or 1 week) in order to serve the load
demand and spinning reserve at minimum total production cost (fuel cost, startup cost, and shut
down cost), while meeting all unit, and system constraints.
The following costs are considered.
(i) Fuel Cost
The quadratic approximation is mostly used for fuel cost function and it is mathematically
represented as:
F(𝑃𝑖 ) = 𝑎𝑖 + 𝑏𝑖 𝑃𝑖 + 𝑐𝑖 𝑃𝑖2 … … . . (𝑅⁄ℎ)
(ii) Start-up Cost
Start-up cost is warmth-dependent. Mathematically it is represented as a step function:
60
𝑂𝑓𝑓
𝑆𝑇𝑖ℎ = 𝐻𝑜𝑡 − 𝐶𝑜𝑠𝑡: 𝑇𝑖𝐷𝑜𝑤𝑛 ≤ 𝑋𝑖 (ℎ) ≤ (𝑇𝑖𝐷𝑜𝑤𝑛 + 𝐶𝑜𝑙𝑑 − 𝑆𝑡𝑎𝑟𝑡 𝐻𝑜𝑢𝑟𝑠)
𝑂𝑓𝑓
𝑆𝑇𝑖ℎ = 𝐶𝑜𝑙𝑑 − 𝐶𝑜𝑠𝑡: 𝑋𝑖 (ℎ) > (𝑇𝑖𝐷𝑜𝑤𝑛 + 𝐶𝑜𝑙𝑑 − 𝑆𝑡𝑎𝑟𝑡 𝐻𝑜𝑢𝑟𝑠)
(iii) Shut down Cost
The typical value of the shut down cost is zero in the standard systems. This cost is considered
as a fixed cost:
𝑆𝐷𝑖ℎ = 𝐾𝑃𝑖ℎ … … … (𝑅⁄ℎ)
Where K is the incremental shut-down cost.
Thus objective function of the unit commitment problem is to minimize the total production
cost and is mathematically formulated as:
𝐻 𝑁
ENUMERATON METHOD:
This method takes all the combinations (2N– 1)H and then calculated the economic dispatch of
each unit. Where N = number of units, H = number of hours (24). For a total period of H
interval, the maximum number of possible combinations is (2N-1)H. For example, take a 24-h
period (e.g. 24 one hour intervals) and consider with 5, 10, 20 and 40 units. The value of (2N-
1)H becomes the following:
61
These very large numbers are the upper bounds for the numbers of enumerations required. The
constraints on the units and the loading capacity of the units limit the search space. Never the
less, the real practical barrier in the UCP is the high dimensionality of the possible search space.
PROCEDURE:
The procedure to find solution of unit commitment problem for a given power system is given
below:
1. Write down all the possible combinations of generation units using the relation (2N-1).
2. Calculate the minimum and maximum generation capacity of each combination by
using the given loading limits.
3. Find out the feasible combinations among all combinations that can satisfy the given
power demand. (Those combinations whose maximum generation capacity as
calculated in step-2 is greater than given load demand)
4. For every feasible combination, calculate lambda (λ) using analytical method by
considering only the units that are in the ON state.
n
bi
PD +
2ci
Lamda ( ) = n
i =1
1
2ci =1 i
− bi
Pi =
2ci
3. Calculate the individual cost of each generator by substituting the value of power
(obtained in step-3) in the respective fuel cost equations and write down in Table-1.
4. Calculate total cost of generation by adding up the individual costs as
n n
FTotal = Fi = (ai + bi Pi + ci Pi 2 )
i =1 i =1
function [p1,lamda1,cost1]=lamda_iteration(cost1,pu1,pl1,pd1,lamda1)
n1=length(pl1);
dp1=500;
62
for i1=1:n1
a1(i1,1)=cost1(i1,1);
b1(i1,1)=cost1(i1,2);
y1(i1,1)=cost1(i1,3);
end
while(abs(dp1)>5)
p1=(lamda1-b1)./(2*y1);
for j1=1:n1
if(p1(j1,1)>pu1(1,j1))
p1(j1,1)=pu1(1,j1);
end
if(p1(j1,1)<pl1(1,j1))
p1(j1,1)=pl1(1,j1);
end
end
dp1=pd1-sum(p1);
dlamda1=dp1/sum(1./(2*y1));
lamda1=lamda1+dlamda1;
end
cost1=sum( [sum(a1) sum(b1.*p1) sum(y1.*p1.*p1)]);
end
function [p]=unit_commitment(cost,pu,pl,pd,lamda)
%cost= [500 5.3 0.004;400 5.5 0.006;200 5.8 0.009;500 4.7 0.007];
%pu=[450 350 225 400];
%pl=[200 150 100 150];
%pd=800;
%lamda=6;
n=length(pl);
com=2^n;
com=com-1;
for i=1:com
a=dec2bin(i);
g=log2(i);
g=fix(g);
for j=0:g
p(i+1,g+1-j)=str2num(a(1,j+1));
end
end
for t=1:(com+1)
p(t,n+1)=0;
63
p(t,n+2)=0;
end
for k=1:(com+1)
for q=1:n
if p(k,q)==1
p(k,n+1)=p(k,n+1)+pl(1,q);
p(k,n+2)=p(k,n+2)+pu(1,q);
end
end
end
for v=1:(com+1)
f=1;
if p(v,n+2)>=pd
for u=1:n
if p(v,u)==1
e(f,1)=cost(u,1);
e(f,2)=cost(u,2);
e(f,3)=cost(u,3);
pl1(1,f)=pl(1,u);
pu1(1,f)=pu(1,u);
f=f+1;
end
end
[p1,lamda1,cost1]=lamda_iteration (e,pu1,pl1,pd,lamda);
r=1;
for x=1:n
if p(v,x)==1
p(v,n+2+x)=p1(r,1);
r=r+1;
end
end
end
end
n2=length(pl);
for i2=1:n2
a2(i2,1)=cost(i2,1);
b2(i2,1)=cost(i2,2);
y2(i2,1)=cost(i2,3);
end
for z=1:n
for b=1:(com+1)
64
if p(b,n+2+z)>0
p(b,2*n+2+z)=a2(z,1)+b2(z,1)*p(b,n+2+z)+y2(z,1)*p(b,n+2+z)*p(b,n+2+z);
end
end
end
for d=1:(com+1)
p(d,3*n+3)=0;
for h=1:n
p(d,3*n+3)=p(d,2*n+2+h)+p(d,3*n+3);
end
end
EXERCISE:
3-machine system given for the Unit Commitment Problem is as:
𝐻1 (𝑃1 ) = 510 + 7.2𝑃1 + 0.00142𝑃1 2 ; 150 ≤ 𝑃1 ≤ 600 F.C = 1.1 $ / MBtu
2
𝐻2 (𝑃2 ) = 310 + 7.85𝑃2 + 0.00194𝑃2 ; 100 ≤ 𝑃2 ≤ 400 F.C = 1.0 $ / MBtu
2
𝐻3 (𝑃3 ) = 78 + 7.94𝑃3 + 0.00482𝑃3 ; 50 ≤ 𝑃3 ≤ 200 F.C = 1.2 $ / MBtu
Pd = 550 MW
Solve it using Enumeration Method.
RESULTS:
After compiling the MATLAB program write down the obtained results in following table
and compare it with manual calculations.
Table 7.1
Combinations Pmax Pmin Lambda P1 P2 P3 C1 C2 C3 CT
65
CONCLUSION:
Unit Commitment is a problem on broad basis i.e. to select units from a no. of available stations
to meet forecasted load on the system during certain period. Economic Dispatch Problem is a
step within UC which is performed for all possible combinations. Also economic dispatch is
performed later when UC has already been done to minimize the cost.
Task:
Lab Report:
________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
66
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________
67
Experiment – 8
SOLUTION OF UNIT COMMITMENT PROBLEM BY PRIORITY LIST
SCHEME
OBJECTIVES:
To learn
SOFTWARE USED:
MATLAB
INTRODUCTION:
The Unit Commitment (UC) is an important research challenge and vital optimization
task in the daily operational planning of modern power systems due to its combinatorial nature.
Because the total load of the power system varies throughout the day and reaches a different
peak value from one day to another, the electric utility has to decide in advance which
generators to start up and when to connect them to the network and the sequence in which the
operating units should be shut down and for how long. The computational procedure for
making such decisions is called unit commitment, and a unit when scheduled for connection to
the system is said to be committed.
Here the commitment of fossil-fuel units has been considered which have different
production costs because of their dissimilar efficiencies, designs, and fuel types. Unit
commitment plans for the best set of units to be available to supply the predict forecast load of
the system over a future time period. The problem of unit commitment involves finding the
least-cost dispatch of available generation resources to meet the electrical load. The key
decision variables that are decided by the computer program are:
The principal objective is to prepare on/off schedule of the generating units in every sub-period
(typically 1h) of the given planning period (typically 1 day or 1 week) in order to serve the load
demand and spinning reserve at minimum total production cost (fuel cost, startup cost, shut
down cost), while meeting all unit, and system constraints. Thus the objective function of the
68
unit commitment problem is to minimize the total production cost and is mathematically
formulated as:
where STih and SDih are start-up cost and shut-down costs respectively.
PROCEDURE:
The procedure of implementation of priority list scheme to find solution of unit commitment
problem for a given system is given below:
1. Calculate full load average production cost (FLAPC) of each generating unit
according to following equation:
(FLAPC)𝒊 = (𝒂𝒊 + 𝒃𝒊 𝑷𝒎𝒂𝒙 𝒊 + 𝒄𝒊 𝑷𝒎𝒂𝒙
𝒊 ) / 𝑷𝒎𝒂𝒙
𝒊
max
Where 𝑎𝑖 , 𝑏𝑖 and 𝑐𝑖 are fuel cost coefficients and Pi is maximum generation capacity
of respective unit.
2. Arrange the units in the ascending order according to their FLAPC in Table-1
69
3. Select the combination of highest priority which makes use of the plants with
minimum FLAPC.
4. Calculate lamda for that particular combination using the formula.
n
bi
PD +
2ci
Lamda ( ) = n
i =1
1
2ci =1 i
− bi
Pi =
2ci
6. Calculate the individual cost of each generator by substituting the value of power
(obtained in step-5) in the respective fuel cost equations and write down in Table-2.
7. Calculate total cost of generation by adding up the individual costs as:
n n
FTotal = Fi = (ai + bi Pi + ci Pi 2 )
i =1 i =1
function [p,cost]=Pri_list(h,f,pl,pu,pd)
h=[510 7.2 0.00142;310 7.85 0.00194;78 7.97 0.00482];
f=[1.1 1.0 1.2];
pl=[150 100 50];
pu=[600 400 200];
pd=500;
n=length(pl);
for i=1:n
cost(i,:)=h(i,:)*f(1,i);
end
for i=1:n
a(i,1)=cost(i,1);
b(i,1)=cost(i,2);
y(i,1)=cost(i,3);
end
for i=1:n
fla(i,1)=(a(i,1)+b(i,1)*pu(1,i)+y(i,1)*pu(1,i)^2)/pu(1,i);
70
end
p=fla;
p(:,2)=pl';
p(:,3)=pu';
p=sortrows(p);
p(1,4)=p(1,2);
p(1,5)=p(1,3);
for i=1:n-1
p(i+1,4)=p(i+1,2)+p(i,4);
p(i+1,5)=p(i+1,3)+p(i,5);
end
for i=1:n
if pd>=p(i,5)
p(i,6)=p(i,3);
end
if pd<p(i,5)
g=0;
for j=1:i-1
g=g+p(j,3);
end
p(i,6)=pd-g;
end
end
for i=1:n
if p(i,6)<0
p(i,6)=0;
end
end
c=p(:,6);
cost=sum( [sum(a) sum(b.*c) sum(y.*c.*c)]);
end
71
RESULTS:
After compiling the MATLAB program, write the obtained results in following tables and
compare it with the manual calculations.
COMBINATION LAMBDA P1 P2 P3 C1 C2 C3 CT
CONCLUSION:
Unit Commitment is a problem on broad basis i.e. to select units from a no. of available stations
to meet forecasted load on the system during certain period. Economic Dispatch Problem is a
step within UCP which is performed for all possible combinations. Also EDP is performed
later when UC has already been done to minimize the cost.
Task:
72
Lab Report:
________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
73
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________
74
Experiment – 9
SOLUTION OF SHORT-TERM HYDROTHERMAL SCHEDULING
PROBLEM USING CLASSICAL ITERATIVE METHOD
OBJECTIVES:
To learn
INTRODUCTION:
HYDRO THERMAL COORDINATION:
75
known. A set of starting conditions (e.g., reservoir levels) is given, and the optimal hourly
schedule that minimizes a desired objective, while meeting hydraulic steam, and electric
system constraints, is sought.
MATHEMATICAL FORMULATION:
Initial Guess:
76
PROCEDURE:
The procedure to find solution of short-term hydrothermal scheduling problem using classical
iterative method is given below:
77
Now obtained results are also verified through MATLAB Program. Open a new M-file in
MATLAB and type the following code:
Matlab Code:
M=1;N=1;
% thermal unit
a=0.01;b=0.1;c=100;ptmax=50;ptmin=10;
% hydro unit
x=0.05;y=20;z=140;
phmax=200;phmin=200;v1=25000;
pd1=250;pd2=300;
% Computing the initial guess
pt1=(pd1/(M+N))
pt2=(pd2/(M+N))
ph1=(pd1/(M+N))
ph2=(pd2/(M+N))
lumbda0=2*a*pt1+b;
vj1=(lumbda0/(2*x*ph1+y))
delV=1;
iter = 0;
while abs(delV)>=0.01
v1=25000;
78
iter=iter+1;
f=(((b/a)+(y/x))/(2));
g=((1/a)+(1/(x*vj1)));
lumbda1=2*((pd1+f)/(g))
p11=((lumbda1-b)/(2*a))
p21=((lumbda1-(y*vj1))/(2*x*vj1))
lumbda2=2*((pd2+f)/(g))
p12=((lumbda2-b)/(2*a))
p22=((lumbda2-y*vj1)/(2*x*vj1))
V=6*(((x*p21)+y)*p21+z+((x*p22)+y)*p22+z)
delV=V-v1;
vj1=(vj1+((0.0955*delV)/(v1)))
end
t=2;
Ct=((a*(p11^2)+b*(p11)+c)+(a*(p12^2)+b*p12+c))*6
EXECERCISE
The characteristics of thermal plant is given by:
79
RESULTS:
After compiling the MATLAB Program, write down the obtained results here and compare it
with the manual calculations.
CONCLUSION:
A large number of inter connected power systems in the world have both thermal and
hydroelectric power. In a hydro-thermal power system, the operating objective is to release the
limited quantity of hydro energy available in such a way that it displaces the thermal generation
with the highest cost. In this experiment only the short-term hydrothermal scheduling problem
is solved through iterative method because large-term and mid-term scheduling problem cannot
be solved through this approach due to their complex mathematical formulation.
80
Task:
Lab Report:
________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
81
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________
82
Experiment – 10
FORMULATION OF BUS-ADMITTANCE MATRIX USING MATLAB
OBJECTIVES:
To learn
1. Formulation of bus admittance matrix for the given power system network using
MATLAB
2. Formulation of bus impedance matrix for the given power system network using
MATLAB
SOFTWARE USED:
MATLAB
INTRODUCTION:
The bus admittance matrix is often used in power system studies to solve
power flow equations. Y-bus can be formed by inspection method only if there is no mutual
coupling between the lines. Every transmission line should be represented by π- equivalent.
Shunt impedance are added to diagonal element corresponding to the buses at which these are
connected.
The performance equation for an n-bus system in terms of admittance matrix can be written as:
or
𝐼 = 𝑌𝐵𝑢𝑠 𝑉
The admittances 𝑌11 , 𝑌22, 𝑌33 … . 𝑌𝑛𝑛 are called the self-admittances at the nodes and all other
admittances are called the mutual admittance of the nodes.
The main diagonal element in Y-bus matrix= ∑𝑛𝑗=1 𝑌𝑖𝑗 + 𝐵𝑖𝑗
Where 𝐵𝑖𝑗 is the half line shunt admittance in mho. 𝑌𝑖𝑗 is the series admittance in mho.
Off-diagonal element in Y-bus matrix, 𝑌𝑖𝑗 = −𝑌𝑖𝑗
83
Where 𝑌𝑖𝑗 is the series admittance in mho.
PROCEDURE:
The procedure for formulation of bus admittance matrix is given below:
1. Read the values of number of buses and the number of lines of the given system.
2. Read the self-admittance of each bus and the mutual admittance between the buses.
3. Calculate the diagonal element term called the bus driving point admittance, Y which
is the sum of the admittance connected to bus i.
𝑛
∑ 𝑌𝑖𝑗 + 𝐵𝑖𝑗
𝑗=1
4. The off-diagonal term called the transfer admittance, Y which is the negative of the
admittance connected from bus i to bus j.
𝑌𝑖𝑗 = −𝑌𝑖𝑗
5. Form the bus admittance matrix by placing the elements according to their index.
6. To form the bus admittance matrix, invert the matrix obtained in step 5 by any matrix
inversion technique.
7. Write the bus admittance matrix in the space provided below each exercise.
8. To input bus data in MATLAB, it must be written in the following format
[S E R X]
Where S=starting bus
E=ending bus
R=resistance
X=reactance
9. After writing the bus data in the above mentioned format, type the following source
code to verify your manual calculations with MATLAB.
MATLAB CODE:
The following is a program for building the bus admittance matrix is:
Function[Y]=ybus(zdata)
n1=zdata(;,1);
nr= zdata(;,2);
R=zdata(;,3);
X= zdata(;,4);
nbr=length(zdata(;,1));
nbus=max(max(n1),max(nr));
84
Z=R+j*X;
y=ones(nbr,1)./Z;
Y=zeros(nbus,nbus)
for k=1:nbr;
Y(n1(k), nr(k))=Y(n1(k),nr(k))-y(k);
Y(nr(k),n1(k))=Y(n1(k),nr(k));
end
end
for n=1:nbus
for k=1:nbr
if n1(k)==n | nr(k)==n
Y(n,n)=Y(n,n)+y(k);
else
end
end
EXERCISE 1:
Find the bus admittance matrix and bus impedance matrix for following power system network:
85
Y-BUS Z-BUS
86
EXERCISE 2:
Find the bus admittance matrix and bus impedance matrix for following power system network:
Y-BUS Z-BUS
CONCLUSION:
Thus the bus Impedance and admittance matrix for the given power system network are
determined using developed algorithm and results are also verified using MATLAB Program.
Task:
Lab Report:
________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
87
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
88
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________
89
Experiment – 11
SOLUTION OF POWER FLOW PROBLEM USING GAUSS-SEIDAL
METHOD
OBJECTIVES:
To learn
SOFTWARE USED:
MATLAB
INTRODUCTION:
Load flow analysis is the most frequently performed system study by electric utilities.
This analysis is performed on a symmetrical steady-state operating condition of a power system
under ‘normal’ mode of operation and aims at obtaining bus voltages and line/transformer
flows for a given load condition. This information is essential both for long term planning and
next day operational planning. In long term planning, load flow analysis helps in investigating
the effectiveness of alternative plans and choosing the ‘best’ plan for system expansion to meet
the projected operating state. In operational planning, it helps in choosing the ‘best’ unit
commitment plan and generation schedules to run the system efficiently for them next day’s
load condition without violating the bus voltage and line flow operating limits.
The Gauss seidal method is an iterative algorithm for solving a set of non- linear
algebraic equations. The relationship between network bus voltages and currents may be
represented by either loop equations or node equations. Node equations are normally preferred
because the number of independent node equation is smaller than the number of independent
loop equations. The non-linear load flow equation in complex form is given below:
𝑃𝑖𝑆𝑐ℎ − 𝑗𝑄𝑖𝑆𝑐ℎ (𝑘)
∗(𝑘) + ∑ 𝑦𝑖𝑗 𝑉𝑗
(𝐾+1) 𝑉𝑖
𝑉𝑖 = 𝑗≠𝑖
∑ 𝑦𝑖𝑘
𝑛 𝑛
(𝑘+1) (𝑘+1) ∗(𝑘) (𝑘) (𝑘)
𝑃𝑖 + 𝑄𝑖 = {𝑉𝑖 [𝑉𝑖 ∑ 𝑦𝑖𝑗 − ∑ 𝑦𝑖𝑗 𝑉𝑗 ]} 𝑗≠𝑖
𝑗=0 𝑗=1
90
PROCEDURE:
1. Find out the admittance matrix of the given system.
2. Choose the flat voltage profile 1+j0 for all buses except slack bus.
For load buses:
1. For load buses, real and reactive power are given whereas voltage magnitude and
angle is to be found.
2. To find the voltage magnitude and angle, apply the following formula on all the load
buses one by one
𝑃𝑖𝑆𝑐ℎ − 𝑗𝑄𝑖𝑆𝑐ℎ (𝑘)
∗(𝑘) + ∑ 𝑦𝑖𝑗 𝑉𝑗
(𝐾+1) 𝑉𝑖
𝑉𝑖 = 𝑗≠𝑖
∑ 𝑦𝑖𝑘
3. Remember to substitute the updated values of voltage in every calculation.
4. Repeat the iterations till the voltages are same up to at least two decimal places.
5. Write down the calculated results in Table-1.
For voltage- controlled buses:
2. For voltage controlled buses, real power and voltage magnitude are given and reactive
power and voltage angle are to be found
3. Calculate the reactive power flow through the bus by using the following formula”
𝑛 𝑛
(𝑘+1) ∗(𝑘) (𝑘) (𝑘)
𝑄𝑖 = −𝐼𝑚 {𝑉𝑖 [𝑉𝑖 ∑ 𝑦𝑖𝑗 − ∑ 𝑦𝑖𝑗 𝑉𝑗 ]} 𝑗≠𝑖
𝑗=0 𝑗=1
4. Substitute the value of reactive power in the following equation to get the voltage
magnitude and angle
5. Fix the imaginary part of the result obtained in step3 and calculate the new voltage
magnitude as
Where fi is the imaginary part of the obtained voltage and Vi is the given voltage
magnitude
91
8. Write down the calculated results in Table-1.
9. Calculate the slack bus real and reactive power.
10. Now the power flow solution by Gauss-Seidal method is demonstrated through
MATLAB. Open the new M-file in MATLAB and type the following code to verify
the obtained reults in previous steps.
MATLAB CODE:
%Gauss Sedial
clc;
data=[1 1 2 10-j*20
2 1 3 10-j*30
3 2 3 16-j*32]
elements=max(data(:,1));
bus=max(max(data(:,2)),max(data(:,3)));
y=zeros(bus,bus);
for p=1:bus,
for q=1:elements,
if(data(q,2)==p|data(q,3)==p)
y(p,p)=y(p,p)+data(q,4);
end
end
end
for p=1:bus,
for q=1:bus,
if (p~=q)
for r=1:elements
if((data(r,2)==p&data(r,3)==q)|(data(r,2)==q&data(r,3)==p))
y(p,q)=-(data(r,4));
end
end
end
end
end
a1=input('enter p2 in MW:');
b1=input('enter q2 in MVAR:');
a2=input('enter p3 in MW:');
b2=input('enter q3 in MVAR');
pu=input('enter the base value in MVA');
p2=(a1/pu);
q2=(b1/pu);
92
p3=(a2/pu);
q3=(b2/pu);
dx1=1+j*0;
dx2=1+j*0;
v1=1.05;
v2=1+j*0;
v3=1+j*0;
iter=0;
disp('iter v2 v3');
while(abs(dx1)&abs(dx2)>=0.00001)&iter<7;
iter=iter+1;
g1=(((p2-j*q2)/conj(v2))+(-y(1,2)*v1)+(-y(2,3)*v3))/y(2,2);
g2=(((p3-j*q3)/conj(v3))+(-y(1,3)*v1)+(-y(2,3)*g1))/y(3,3);
dx1=g1-v2;
dx2=g2-v3;
v2=v2+dx1;
v3=v3+dx2;
fprintf ('%g',iter),disp([v2,v3]);
end
11. Record the MATLAB results in Table-1 and verify that the calculated results are in
accordance with MATLAB.
EXERCISE:
93
Figure 11.1: A three bus power system network
RESULTS:
After compilation of MATLAB program, write down the obtained results in following table
and compare it with manual calculations/
Table 11.1
Parameters V2 𝜹𝟐 V3 𝜹𝟑 P1 Q1
Calculations
MATLAB
CONCLUSION:
Load flow solution for the given problem are solved using Gauss-Seidal method and
results are verified through MATLAB program. The main drawback go Gauss-Seidal Method
is that it required large number of iterations to obtain optimum results.
Task:
Lab Report:
________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
94
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________________________________
___________________________________________________________________________
___________________________________________________________________________
95
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________
96
Experiment – 12
POWER FLOW SOLUTION USING NEWTON-RAPHSON METHOD
OBJECTIVES:
To learn
INTRODUCTION:
The Newton Raphson method of load flow analysis is an iterative method which approximates
the set of non-linear simultaneous equations to a set of linear simultaneous equations using
Taylor’s series expansion and the terms are limited to first order approximation.
N
I i = YijV j (12.1)
j =1
In above equation j includes bus i. expressing this equation in polar form, we have
N
I i = | Yij | | V j | (ij + j ) (12.2)
j =1
97
N
Pi − jQi = (| Vi | − i )| V j || Yij |(ij + j ) (12.4)
j =1
n (12.5)
Qi = − | Vi || V j || Yij | Sin(ij − i − j )
j =1
The above equations constitute a set of non-linear algebraic equations in terms of the
independent variables, voltage magnitude in per unit and phase angle in radians. We have two
equations for each load bus given by (12.5) and one equation for each voltage controlled bus.
Expanding these equations in Taylor series about the initial estimate and neglecting higher
order terms result in the following set of linear equations.
(12.6)
In the above equation bus 1 is assumed to be the slack bus. The Jacobean matrix gives the
(𝑘)
linearized relationship between small changes in voltage angle ∆𝛿𝑖 and voltage magnitude
(𝑘) (𝑘) (𝑘)
∆|𝑉𝑖 | with the small changes in real and reactive power ∆𝑃𝑖 and ∆𝑄𝑖 . Elements of
(𝑘) (𝑘)
Jacobean matrix are the partial derivatives of equation (12.5) evaluated at ∆𝛿𝑖 and ∆|𝑉𝑖 |.
In short form it can be written as:
∆𝑃 𝐽 𝐽2 ∆𝛿
[ ]=[1 ][ ] (12.7)
∆𝑄 𝐽3 𝐽4 ∆𝑉
98
For 𝒊 ≠ 𝒋 (where i and j is number of buses in network)
Pi
J 1ij = = ViYijV j Sin(ij − i + j )
j
Pi
J 2ij = = ViYij Cos(ij − i + j )
V j
(12.8)
Q
J 3ij = i = −ViYijV j Cos(ij − i + j )
j
Qi
J 4ij = = ViYij Sin(ij − i + j )
V j
For i=j
Pi N
J 1ii = = −Vi YijV j Sin(ij − i + j )
i j =1
j i
Pi N
J 2ii = = ViYii Cos(ii ) + YijV j Cos(ij − i + j )
Vi n =1
(12.9)
Qi N
J 3ii = = Vi (YijV j Cos(ij − i + j ))
i n =1
j i
Qi N
J 4ii = = −ViYii Sin ii + YijV j Sin(ij − i + j )
Vi n =1
(𝑘) (𝑘)
The terms ∆𝑃𝑖 and ∆𝑄𝑖 are the differences between the scheduled and calculated values
known as power residuals, given by:
P (i ) Pi − Pi
Sch Cal
=
Sch
Q (i ) Qi − Qi
Cal
(12.10)
Where Pi
Sch
= Pi g − Pi d , QiSch = Qig − Qid
Substitute the above computed elements of Jacobean matrix in following set of equations and
∆𝜹(𝒊)
solve it for [ ]:
∆𝑽(𝒊)
99
𝐽1(𝑖) 𝐽2(𝑖) ∆𝛿(𝑖) ∆𝑃(𝑖)
[ ][ ]= [ ]
𝐽3(𝑖) 𝐽4(𝑖) ∆𝑉(𝑖) ∆𝑄(𝑖)
(12.11)
PROCEDURE:
The procedure for power flow solution by the Newton-Raphson Method is as follows:
1. For load buses, where 𝑃𝑖𝑆𝑐ℎ and 𝑄𝑖𝑆𝑐ℎ are specified, voltage magnitudes and phase
angles are set equal to slack bus values, 1.0 and 0.0, i.e., |𝑉𝑖0 | = 1.0 𝑎𝑛𝑑 |𝛿𝑖0 | =0.0.
2. For voltage regulated buses, where |𝑉𝑖0 | and 𝑃𝑖𝑆𝑐ℎ are specified, phase angles are set
equal to the slack bus angle, 0, i.e., |𝛿𝑖0 | =0.0.
3. For load buses 𝑃𝑖𝐾 and 𝑄𝑖𝐾 are calculated from equation () and ∆𝑃𝑖𝐾 and ∆𝑄𝑖𝐾 are
calculated from equation (12.5)
3. For voltage controlled buses 𝑃𝑖𝐾 and ∆𝑃𝑖𝐾 are calculated from equation (12.5) and
(12.10) respectively.
4. The elements of the Jacobean matrix (𝐽1 , 𝐽2, 𝐽3 𝑎𝑛𝑑 𝐽4 ) are calculated from equations
(12.8) and (12.9).
5. Now the linear simultaneous equation given in (12.7) is solved directly by optimally
ordered triangular factorization and Gaussian elimination.
6. The new voltage magnitudes and phase angles are computed from equation (12.12).
7. The process is continued until the residuals ∆𝑃𝑖𝐾 and ∆𝑄𝑖𝐾 are less than specified
accuracy, i.e.,
∆𝑃𝑖𝐾 ≤ 𝜀
∆𝑄𝑖𝐾 ≤ 𝜀
8. Now the power flow solution by the NR-method is demonstrated through MATLAB.
Open the new M-file and type the following code to verify the obtained results in
previous steps:
MATLAB CODE:
100
3 1.5 0.6 0.0 0.0];
ybus = [5.882-j*23.528 -2.941+j*11.764 -2.941+j*11.764
-2.941+j*11.764 5.882-j*23.528 -2.941+j*11.764
-2.941+j*11.764 -2.941+j*11.764 5.882-j*23.528];
t= 0.001
v1=1.04+j*0;
v2=1+j*0;
v3=1.04+j*0;
del3=angle(v3);
del1=angle(v1);
del2=angle(v2);
%abs(ybus(2,1))
%abs(v2)
for i=1:10
p2=(abs(v2)*abs(v1)*abs(ybus(2,1))*cos((angle(ybus(2,1)))+del1-del2))+abs(v2)*
abs(v2)*abs(ybus(2,2))*cos((angle(ybus(2,2))))+(abs(v2)*abs(v3)*
abs(ybus(2,3))*cos((angle(ybus(2,3))+del3-del2));
q2=-(abs(v2)*abs(v1)*abs(ybus(2,1))*sin((angle(ybus(2,1)))+del1-del2))-
abs(v2)*abs(v2)*abs(ybus(2,2))*sin((angle(ybus(2,2))))-(abs(v2)*abs(v3)*
abs(ybus(2,3))*sin((angle(ybus(2,3)))+del3-del2));
p3=(abs(v3)*abs(v1)*abs(ybus(3,1))*cos((angle(ybus(3,1)))+del1-
del3))+abs(v3)*abs(v3)*abs(ybus(3,3))*cos((angle(ybus(3,3))))+(abs(v2)*abs(v3)*
abs(ybus(3,2))*cos((angle(ybus(3,2)))+del2-del3));
delp20=gbus(2,4)-gbus(2,2)-p2;
delp30=gbus(3,4)-gbus(3,2)-p3;
delq20=gbus(2,5)-gbus(2,3)-q2;
J(1,1)=(abs(v2)*abs(v1)*abs(ybus(2,1))*sin((angle(ybus(2,1)))+del1-
del2))+(abs(v2)*abs(v3)*abs(ybus(2,3))*sin((angle(ybus(2,3)))+del3-del2));
J(1,2)=-(abs(v2)*abs(v3)*abs(ybus(2,3))*sin((angle(ybus(2,3)))+del3-del2));
J(1,3)=(abs(v1)*abs(ybus(2,1))*cos((angle(ybus(2,1)))+del1-
del2))+2*(abs(v2)*abs(ybus(2,2))*cos((angle(ybus(2,2))))+(abs(v3)*abs(ybus(2,3))*
cos((angle(ybus(2,3)))+del3-del2));
J(2,1)=-(abs(v3)*abs(v2)*abs(ybus(3,2))*sin((angle(ybus(3,2)))+del2-del3));
J(2,2)=(abs(v3)*abs(v1)*abs(ybus(3,1))*sin((angle(ybus(3,1)))+del1-
del3))+(abs(v3)*abs(v2)*abs(ybus(3,2))*sin((angle(ybus(3,2)))+del2-del3));
J(2,3)=(abs(v3)*abs(ybus(3,2))*cos((angle(ybus(3,2)))+del2-del3));
J(3,1)=(abs(v2)*abs(v1)*abs(ybus(2,1))*cos((angle(ybus(2,1)))+del1-
del2))-(abs(v2)*abs(v3)*abs(ybus(2,3))*cos((angle(ybus(2,3)))+del2-del3));
J(3,2)=(abs(v2)*abs(v3)*abs(ybus(2,3))*cos((angle(ybus(2,3)))+del2-del3));
J(3,3)=-(abs(v2)*abs(ybus(2,1))*sin((angle(ybus(2,1)))+del1-
del2))-2*(abs(v2)*abs(ybus(2,2))*sin((angle(ybus(2,2))))-(abs(v3)*abs(ybus(2,3))*
101
sin((angle(ybus(2,3)))+del3-del2));
end
J
inv(J);
A=[del2;del3;abs(v2)];
delA0=[delp20;delp30;delq20];
delA1=inv(J)*delA0;
delA1;
b0=abs(v2);
A1=[del2;del3;b0]+delA1;
A1-delA0;
if((A1-delA0)<=t)
break;
del2=A1(1,1);
del3=A1(2,1);
abs(v2)=A1(3,1);
end
A1
EXERCISE:
Consider the 3 bus system each of the 3 line bus a series impedance of 0.02 + j0.08 p.u and
a total shunt admittance of j0.02 p.u. The specified quantities at the bus are given below:
102
Figure 12.1: A three bus power system network
INPUT DATA:
RESULTS:
After compilation of MATLAB Program, write down the obtained result here and compare it
with Manual Calculations
CONCLUSION:
The power flow solution for the given problem was solved using Newton Raphson
method and verified using MATLAB software and it is evident from results that NR method is
capable to produce quality solution with fewer iterations.
Task:
103
Write a comprehensive lab report (See Appendix: C) on space provided below.
Lab Report:
________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
104
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________
105
Experiment – 13
MODELLING OF DIFFERENT COMPONENTS OF LOAD
FREQUENCY CONTROL FOR THERMAL GENERATING UNIT AND
SIMULATION OF SINGLE AREA POWER SYSTEM
OBJECTIVES:
To learn
INTRODUCTION:
Active power control is one of the important control actions to be perform to be normal
operation of the system to match the system generation with the continuously changing system
load in order to maintain the constancy of system frequency to a fine tolerance level. This is
one of the foremost requirements in proving quality power supply. A change in system load
cases a change in the speed of all rotating masses (Turbine – generator rotor systems) of the
system leading to change in system frequency. The speed change form synchronous speed
initiates the governor control (primary control) action result in the entire participating generator
– turbine units taking up the change in load, stabilizing system frequency. Restoration of
frequency to nominal value requires secondary control action which adjusts the load - reference
set points of selected (regulating) generator – turbine units. The primary objectives of
automatic generation control (AGC) are to regulate system frequency to the set nominal value
and also to regulate the net interchange of each area to the scheduled value by adjusting the
outputs of the regulating units. This function is referred to as load – frequency control (LFC).
MATHEMATICAL MODELLING OF LFC:
The first step in the analysis and design of a control system is mathematical modelling of the
system. The two common methods are the transfer function method and state variable
approach. The state variable approach can be applied to portray linear as well as non-linear
system. In order to use the transfer function and linear state equations the system has to be
linearized. Proper assumption and approximation are made to linearize the mathematical
equations describing the system and a transfer function is obtained for the following
components:
(a) Generator Model
With the use of swing equation of a synchronous machine to small perturbation, we have
106
Or in terms of small change in speed
107
Where the turbine constant is in the range of 0.2-20 second.
(d) Governor Model
When the electrical load is increased suddenly then the electrical power exceeds the input
mechanical power. This deficiency of power in the load side is compensated from the kinetic
energy of the turbine. Due to this reason the energy that is stored in the machine is decreased
and the governor sends signal for supplying more volumes of water, steam or gas to increase
the speed of the prime mover to compensate deficiency in speed.
In s-domain
The command ΔPg is transformed through amplifier to the steam valve position command ΔPV.
We assume here a linear relationship and considering simple time constant we get this s-domain
relation:
Combining all the above block diagrams, for an isolated area system we get the following:
The open loop transfer function of the block diagram shown in above figure is:
1
𝐾𝐺 (𝑠)𝐻(𝑠) =
𝑅(2𝐻𝑠+𝐷)(1+𝜏𝑔𝑠)(1+𝜏𝑇𝑠)
(13.1)
108
The closed loop transfer function that relates the load change ΔPL to the frequency deviation
ΔΏ is:
∆Ω(𝑠) (1+𝜏𝑔 𝑠)(1+𝜏𝑇 𝑠)
= (2𝐻 1
−∆𝑃𝐿 𝑠 +𝐷)(1+𝜏𝑔 𝑠)(1+𝜏𝑔 𝑠)+ ⁄𝑅
(13.2)
or
∆Ω(𝑠) = −∆𝑃𝐿 (𝑠)𝑇(𝑠)
(13.3)
∆𝑃𝐿
The load change is a step input i.e. ∆𝑃𝐿 (𝑠) = . Utilizing the final value theorem, the
𝑠
steady state value of ∆𝑤 is:
1
∆𝑤𝑠𝑠 = lim 𝑠∆Ω(𝑠) = (−∆𝑃𝐿 ) 1
𝑠→0 (𝐷+𝑅)
(13.4)
It is clear that for the case with no frequency sensitive load (D=0), the steady state deviation
in frequency is determined by governor speed regulation and is
∆𝑤𝑠𝑠 = (−∆𝑃𝐿 )𝑅
(13.5)
With several generators with governor speed regulations R2, R3, R4,…, Rn are connected to
the system, the steady state deviation in frequency is given by:
1
∆𝑤𝑠𝑠 = (−∆𝑃𝐿 ) 1
𝐷+ ⁄𝑅1+1⁄𝑅2+⋯+1⁄𝑅𝑛
(13.6)
PROCEDURE:
The procedure of implementing Load Frequency Control (LFC) mechanism is given here:
1. For the given isolated power system network, read the value of following parameters
of LFC components; Turbine time constant, Governor time constant, governor inertia
constant, governor speed regulation.
2. Put these parameters into equation to find the closed loop transfer function of LFC
block diagram.
3. Now find the steady state frequency deviation by using the relation (13.5).
4. The computed steady state frequency deviation is also verified by finding the frequency
deviation step response in MATLAB. Open a new M-file in MATLAB and type the
following code:
Pl=0.2;
numc=[0.1 0.7 1];
denc=[1 7.08 10.56 20.8];
t=0:0.2:10;
c=-Pl*step(num,den,c)
109
plot(t,c)
xlabel(‘t,sec’);
ylabel(‘pu’)
title(‘Frequency deviation step response’)
5. To verify the obtained result, the frequency deviation step response can also determine
by simulating the LFC block diagram in MATLAB Simulink. For given test system the
following block diagram is implemented in MATLAB Simulink.
SIMULINK MODEL:
110
RESULTS:
(i) MANUAL CALCULATIONS:
CONCLUSION:
Changes in real power affect mainly the system frequency, while reactive power is less
sensitive to changes in frequency and it is mainly dependent on changes in voltage magnitude.
The operation objectives of LFC are to maintain reasonably uniform frequency, to divide the
load between generators and to control the tie-line interchange schedules. In this experiment
LFC mechanism for an isolated power system is simulated and simulation result shows that the
steady state deviation in frequency is determined by the governor speed regulation.
111
Task:
Lab Report:
________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
112
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________
113
Experiment – 14
AUTOMATIC GENERATION CONTROL OF SINGLE AREA POWER
SYSTEM
OBJECTIVES:
To learn
1. Determination of frequency deviation of Automatic Generation Control (AGC) system
for isolated power system using transfer function approach
2. Simulation of AGC mechanism for a given isolated power system network in
MATLAB
INTRODUCTION:
If the load on the system is increased, the turbine speed drops before the governor can adjust
the input of the steam to new load. As the change in the value of speed diminishes, the error
signal becomes smaller and position of fly ball governor gets closer to the point required to
maintain a speed. However constant speed will not be the set point and there will be an offset.
One way to restore the speed or frequency is to its nominal value is to add an integrator. The
integral unit monitors the average error over the period of time and will overcome the offset.
Thus as the system load changes continuously, the generation is adjusted automatically to
restore the frequency to nominal value. This scheme is known as the automatic generation
control.
AGC IN SINGLE AREA SYSTEM:
With the primary LFC loop, a change in the system load will result in a steady state frequency
deviation, depending on the governor speed regulation. In order to reduce the frequency
deviation to zero, we must provide a rest action. The rest action can be achieved by introducing
an integral controller to act on the load reference setting to change the speed test point. The
LFC system, with the addition of the secondary loop is shown in following figure.
114
Figure 14.1: Block diagram of AGC for single area power system
The integral controller gain KI must be adjusted for a satisfactory transient response. The
equivalent block diagram is shown below:
The closed loop transfer function for above system is given below:
∆Ω(s) 𝑠(1+𝜏𝑔 𝑠)(1+𝜏𝑇 𝑠)
= 𝑠
−∆𝑃𝐿 (𝑠) 𝑠(2𝐻𝑠 +𝐷)((1+𝜏𝑔 𝑠)(1+𝜏𝑇 𝑠)+𝐾𝐼+
𝑅
(14.1)
Or
∆Ω(𝑠) = −∆𝑃𝐿 (𝑠)𝑇(𝑠)
(14.2)
Where T(s) is transfer function.
∆𝑃𝐿
The load change is a step input i.e. ∆𝑃𝐿 (𝑠) = . Utilizing the final value theorem, the
𝑠
steady state value of ∆𝑤 is:
∆𝑤𝑠𝑠 = lim 𝑠∆Ω(𝑠) = (−∆𝑃𝐿 )(0) = 0
𝑠→0
(14.3)
Thus, it shows that with the addition of Integral Controller, the steady state error reaches to
zero.
PROCEDURE:
The procedure of implementing Automatic Generation Control (AGC) mechanism in single
area power system is given here:
1. For the given isolated power system network, read the value of following parameters
of AGC components; Turbine time constant, Governor time constant, governor inertia
constant, governor speed regulation, Integral Controller gain.
2. Put these parameters into equation to find the closed loop transfer function of AGC
block diagram.
3. Now find the steady state frequency deviation by using the relation (14.3).
115
4. The computed steady state frequency deviation is also verified by finding the frequency
deviation step response in MATLAB. Open a new M-file in MATLAB and type the
following code:
Pl=0.2;
KI=7;
numc=[0.1 0.7 1 0];
denc=[1 7.08 10.56 20.8 KI];
t=0:0.2:10;
c=-Pl*step(num,den,c)
plot(t,c)
xlabel(‘t,sec’);
ylabel(‘pu’)
title(‘Frequency deviation step response’)
5. To verify the obtained result, the frequency deviation step response can also determine
by simulating the AGC block diagram in MATLAB Simulink. For given test system
the following block diagram is implemented in MATLAB Simulink.
SIMULINK MODEL:
116
An isolated power station has the following parameters
Turbine time constant = 0.5 s
Governor time constant = 0.2 s
Governor inertia constant = 5 s
Governor speed regulation = R per unit
The load varies by 0.8 per cent for a 1 per cent change in frequency (D=0.8)
The governor speed regulation is set to R = 0.05 per unit. The turbine rated output is 250 MW
at nominal frequency 50 Hz. A sudden load change of 50 MW (𝝙PL=0.2 P.U) occurs.
The LFC system is equipped with the secondary integral control loop for AGC,
(a) Find the frequency deviation step response using MATLAB step function. Set the
integral control gain to KI=7
(b) Construct the Simulink block diagram and obtain the frequency deviation response for
same conditions.
RESULTS:
(i) MANUAL CALCULATIONS:
CONCLUSION:
If the load on the system is increased, the turbine speed drops before the governor can adjust
the input of the steam to new load. One way to restore the speed or frequency to its nominal
value is to add an integrator. In this experiment Load frequency control mechanism is simulated
117
with the addition of integral controller and it is evident from simulation results that frequency
deviation reduced to zero with the addition of integral controller.
Task:
Lab Report:
________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
118
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________
119
Experiment – 15
AUTOMATIC GENERATION CONTROL FOR MULTI-AREA POWER
SYSTEM
OBJECTIVES:
To learn
1. Mathematical formulation of AGC problem for two or multi-area power systems
2. Simulation of AGC mechanism for given two area power system in MATLAB
Simulink
INTRODUCTION:
If the load on the system is increased, the turbine speed drops before the governor can adjust
the input of the steam to new load. As the change in the value of speed diminishes, the error
signal becomes smaller and position of fly ball governor gets closer to the point required to
maintain a speed. However constant speed will not be the set point and there will be an offset.
One way to restore the speed or frequency is to its nominal value is to add an integrator. The
integral unit monitors the average error over the period of time and will overcome the offset.
Thus as the system load changes continuously, the generation is adjusted automatically to
restore the frequency to nominal value. This scheme is known as the automatic generation
control.
AGC in Multi-Area System:
In many cases, a group of generators are closely coupled internally and swing in a unison.
Furthermore, the generator turbines tend to have the same response characteristics. Such a
group of generators are coherent. Then it is possible to let the LFC loop to represent the whole
system which is referred to as control area. The AGC of multi-area system can be realized first
the AGC for two area system,
Consider two areas represented by an equivalent generated unit interconnected by lossless tie-
line with reactance Xtie. Each area is represented by a voltage source behind an equivalent
reactance is shown below:
120
During Normal operation, the real power transferred over the tie line is given below:
|𝐸1 ||𝐸2 |
𝑃12 = 𝑆𝑖𝑛𝛿12 (15.1)
𝑋12
∆𝑃12 = 𝑃𝑆 ∆𝛿12
(15.3)
121
Figure 15.2: Block diagram of AGC mechanism
The change in mechanical power is determined by governor speed characteristics, given by:
−∆𝑤
∆𝑃𝑚1 =
𝑅1
−∆𝑤
∆𝑃𝑚2 =
𝑅2
Solving for 𝝙w, we have
−∆𝑃𝐿1
∆𝑤 = 1 1
(𝑅 +𝐷1 )+(𝑅 +𝐷2 )
1 2
(15.6)
−∆𝑃𝐿1
∆𝑤 =
𝐵1 +𝐵2
(15.7)
Where
1
𝐵1 = 𝑅 + 𝐷1 (15.8)
1
1
𝐵2 = 𝑅 + 𝐷2 (15.9)
2
B1, B2 are known as frequency bias factors. The change in the tie-line power is
122
1
( +𝐷2 )∆𝑃𝐿1
𝑅2
∆𝑃12 = 1 1
( +𝐷1 )( +𝐷2 )
𝑅1 𝑅2
(15.10)
𝐵2
∆𝑃12 = (−∆𝑃𝐿1 )
𝐵1 +𝐵2
(15.11)
PROCEDURE:
The procedure of implementing Automatic Generation Control (AGC) mechanism in two area
power system is given here:
1. For the given two area power system network, keep the value of following parameters
of AGC components for both area 1 and area 2; Turbine time constant, Governor time
constant, governor inertia constant, governor speed regulation.
2. Using these values, find the frequency bias factors for both areas as given in equation
(15.8) and (15.9).
3. After that compute the steady state frequency deviation (Δw) using the relation
mentioned in equation (15.7).
4. Also find the power transferred over the tie line from area 2 to area 1 by using the
relation (15.11).
5. These obtained results (Steady state frequency deviation, Tie Line Power) can also be
verified by simulating the AGC block diagram in MATLAB Simulink. The Simulink
block diagram for example test system is given below:
SIMULINK MODEL:
123
EXERCISE:
A two area system connected by a tie line has the following parameters on a 1000MVA
common base
Area 1 2
The units are operating in parallel at the nominal frequency of 60Hz. The synchronizing power
coefficient is computed from the initial operating condition and is given to be P s = 2 p.u. A
load change of 187.5 MW occurs in area1.
(a) Determine the new steady state frequency and the change in the tie-line flow.
124
(b) Construct the SIMULINK block diagram and obtain the frequency deviation response
for the condition in part (a).
RESULTS:
CONCLUSION:
In an interconnected system consisting of several power pools, the role of automatic generation
control is to divide the load among system, stations, and generators so as to achieve maximum
economy and correctly control the scheduled interchanges of tie-line power while maintaining
a uniform load frequency.
Task:
125
Lab Report:
________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
126
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________
127
Experiment – 16
MODELLING OF DIFFERENT COMPONENTS OF AUTOMATIC
VOLTAGE REGULATOR (AVR) SYSTEM FOR THERMAL
GENERATING UNIT AND SIMULATION OF GIVEN TEST SYSTEM
OBJECTIVES:
To learn
1. Mathematical Modelling of different components of Automatic Voltage Regulator
(AVR) System
2. Simulation of AVR mechanism for a given test system
INTRODUCTION:
The generation exciter system maintains generator voltage and controls the reactive power
flow. The sources of reactive power are generators, capacitors and reactors. The generator
reactive powers are controlled by field excitation. Other supplementary methods of improving
voltage profile on electric transmission systems are transformer load-tap changers, switched
capacitors, step voltage regulators and static VAR control equipment. The primary means of
generator reactive power control is the generation excitation control using Automatic Voltage
Regulator (AVR). The role of AVR is to hold the terminal voltage magnitude of a synchronous
generator at a specified level. The schematic diagram and mathematical modelling of different
components involved in AVR system is given below:
128
(a) Amplifier model
The excitation system amplifier may be a magnetic amplifier, rotating amplifier, or modern
electronic amplifier. The amplifier is represented by a gain KA and a time constant. The transfer
function is given below:
𝑉𝑅 (𝑠) 𝐾𝐴
=
𝑉𝐸 (𝑠) 1 + 𝜏𝐴 𝑠
𝑽𝑬 (𝒔) 𝑲𝑨 𝑽𝑹 (𝒔)
𝟏 + 𝝉𝑨 𝒔
𝑉𝐹 (𝑠) 𝐾𝐸
=
𝑉𝑅 (𝑠) 1 + 𝜏𝐸 𝑠
𝑲𝑬
𝑽𝑹 (𝒔) 𝑽𝑭 (𝒔)
𝟏 + 𝝉𝑬 𝒔
(c)Generator model
The synchronous machine generated emf is a function of the machine magnetization curve and
its terminal voltage is dependent on generator load. In the linearized model, the transfer
function relating the generator terminal voltage to its field voltage can be represented by a gain
KG and a time constant and the transfer function is:
𝑉𝑡 (𝑠) 𝐾𝐺
=
𝑉𝐹 (𝑠) 1 + 𝜏𝐺 𝑠
129
𝑲𝑮
𝑽𝑭 (𝒔) 𝑽𝒕 (𝒔)
𝟏 + 𝝉𝑮 𝒔
𝑉𝑆 (𝑠) 𝐾𝑅
=
𝑉𝑡 (𝑠) 1 + 𝜏𝑅 𝑠
𝑲𝑹
𝑽𝒕 (𝒔) 𝑽𝑺 (𝒔)
𝟏 + 𝝉𝑹 𝒔
The closed loop transfer function related to generator terminal voltage and reference voltage
is:
𝑉𝑡 (𝑠) 𝐾𝐴 𝐾𝐸 𝐾𝐺 𝐾𝑅 (1+𝜏𝑅 𝑠)
= (1+𝜏 (16.2)
𝑉𝑟𝑒𝑓 (𝑠) 𝐴 𝑠)(1+𝜏𝐸 𝑠)(1+𝜏𝐺 𝑠)(1+𝜏𝑅 𝑠)+𝐾𝐴 𝐾𝐸 𝐾𝐺 𝐾𝑅
130
1
For a step input 𝑉𝑟𝑒𝑓 (𝑠) = 𝑆 , using the final value theorem, the steady state response is
𝐾
𝑉𝑡(𝑠𝑠) = lim 𝑠𝑉𝑡 (𝑠) = 1+𝐾𝐴
𝑠→0 𝐴
(16.4)
PROCEDURE:
The procedure for simulating Automatic Voltage Regulator (AVR) system on a generating
unit is given below:
1. From a given system data, keep the values of gain and time constants of following four
components of AVR; Amplifier, Exciter, Sensor and generator.
2. By using these values, find the closed loop transfer function of AVR block diagram as
given in equation (16.2).
3. With the application of final value theorem, find the steady state step response of above
mentioned system according to the equation (16.4).
4. The obtained response in step 3 can also be verified through MATLAB. Open the new
M-file and type the following code to find steady state step response of the AVR system.
KA=10;
numc=KA*[25 500];
denc=[1 33.5 307.5 775 500+500*KA];
t=0:.05:20;
c=step(numc,denc,t);
plot(t,c);
grid
timespec(numc,denc)
5. The obtained result are further verified by simulating the AVR system in MATLAB
Simulink. For example test system the following block diagram will be simulated in
MATLAB Simulink.
SIMULINK MODEL:
131
Figure 16.2: Simulink Model
EXERCISE:
The AVR system of a generator has the following parameters:
(a) The amplifier gain is set to KA=10. Find the steady state step response and time-
domain performance specifications.
(b) Construct the Simulink block diagram and obtain the step response.
RESULTS:
(i) MANUAL CALCULATIONS:
132
CONCLUSION:
Changes in reactive power load demand effects the voltage magnitude. It is concluded from
this experiment that AVR mechanism helps to maintain constant voltage despite of changes in
reactive power load demands. Moreover the steady state response can be further improved by
adding stabilizer.
Task:
Lab Report:
________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
133
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
134
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
_____________________
135
Design Problem: Power System Operation and Control
Introduction:
The IEEE 14 Bus Test Case represents a portion of the American Electric Power System (in the
Midwestern US) as of February, 1962. A hardcopy data was provided by Iraj Dabbagchi of AEP and
entered in IEEE Common Data Format by Rich Christie at the University of Washington in August
1993.
This test case consists of 14 buses, 2 generators, 3 synchronous compensators and 11 loads. The 14 bus
test case does NOT have line limits. Compared to 1990's power systems, it has low base voltages and
an overabundance of voltage control capability.
The Single Line Diagram of a 14 bus system is given below:
The system data is taken from [1]. The data given in the following tables is on 100MVA base. The
minimum and maximum limits of voltage magnitude and phase angle are considered to be 0.95p.u. to
1.05p.u. and -45 to +45 degrees respectively.
136
137
Q1: What are the different types of Buses in Power System? Briefly explain their significance. Also,
from the 14 bus data mentioned above identify the type of each bus. (5 Marks)
Q2: What are Synchronous Compensators? Can we regard them as system Loads or generators?
Motivate your answer. (5 Marks)
Q3: Considering the data mentioned in Table A.2 formulate an Economic Load Dispatch problem
Statement along with the Lagrange Function. (5 Marks)
Q4: Design a lambda iteration program that can solve the Lagrange function you have formulated in
Q3 to find the incremental cost and the power generated by each plant. (10 Marks)
Q5. Compute the Transmission Line Loss Coefficients, reformulate the Economic Load Dispatch
problem along with the Lagrange function and use lambda iterative method to find the new set of
generated powers. (20 Marks)
138
Appendix A
Taxonomy
CLO NO CLO STATEMENT PLO LEVEL*
139
Appendix B
140
141
Appendix C
Each student will write a separate lab report for each experiment. However, students can use space
provided at the end of each experiment. A format has been developed for writing these lab reports.
Hardware Lab Report Format
For hardware-based labs, the format of the report will include:
1. Introduction and Objective Clarity: Introduce area explored in the experiment and What are
the learning goals of the experiment?
2. Measurements: In your own words write how the experiment is performed (Do not
copy/paste the procedure).
a. Calculations: Add recommended calculations
b. Results Analysis and/or Graphs (if any)
c. Issues: Which technical issues were faced during the performance of the experiment
and how they were resolved?
3. Discussion & Conclusions: Discuss the findings and what conclusions can be drawn from the
measurements?
a. Applications: Suggest a real-world application where this experiment may apply.
b. Answers to post lab questions (if any).
Objective:
To study transient response of a series RC circuit.
Introduction
An RC circuit is a first order circuit that utilizes a capacitor as an energy storage element
whereas a resistor as an energy wastage element. RC circuits are building blocks of electronic devices
and their thorough understanding is important in comprehending advance engineering systems such
as transistors and transmission lines.
An RC circuit can be operated with both DC and AC sources. In this lab we study transient
response of RC circuits with a square wave as a DC source. During the DC operation of an RC circuit
142
the voltage across the capacitor or the resistor show energy storing (capacitor charging) and
dissipating (capacitor discharging via resistor) mechanisms of the circuit. The capacitor charging or
discharging curves then lead to determine time constant of the circuit where the time constant
signifies time required by the RC circuit to store or waste energy.
Measurements and Results Analysis:
The circuit used for the experiment is shown in Fig. 1. Both input (a square wave) and output
(voltage across capacitor) waveforms are monitored on an oscilloscope. The capacitor charging is
observed during "on" part of the square waveform whereas the capacitor discharging is observed
during "off" part of the square waveform (Fig. 2). We measure the time constant from the capacitor
charging or discharging curve. While keeping the capacitor value constant, we also measure time
constants with various resistor values (Table 1).
Issues:
Mention any issue(s) you encountered during the experiment and how they were resolved.
Discussion and Conclusions:
From the measurements following conclusions can be drawn:
a. The capacitor charging and discharging curves are exponential.
b. The time constant is directly proportional to the resistor value.
Both of the above conclusions are also easily verifiable by solving differential equation for the
RC circuit.
Applications:
An RC circuit can be employed for a camera flash. The capacitor discharges through the flash
light during a picture taking event.
143
INPUT VOLTAGE VOLTAGE ACROSS A CAPACITOR
Resistance
270 Ω 330 Ω 470 Ω 1 kΩ 2.2 kΩ 3.3 kΩ
(Nominal)
Resistance
(Measured)
Time constant
(Calculated)
Time constant
(Measured)
Capacitance
(Measured)
144
Appendix D
145
Appendix E
In all the Electrical Engineering (EE) labs, with an aim to prevent any unforeseen accidents
during conduct of lab experiments, following preventive measures and safe practices shall be adopted:
• Remember that the voltage of the electricity and the available electrical current in EE labs has
enough power to cause death/injury by electrocution. It is around 50V/10 mA that the “cannot
let go” level is reached. “The key to survival is to decrease our exposure to energized circuits.”
• If a person touches an energized bare wire or faulty equipment while grounded, electricity will
instantly pass through the body to the ground, causing a harmful, potentially fatal, shock.
• Each circuit must be protected by a fuse or circuit breaker that will blow or “trip” when its safe
carrying capacity is surpassed. If a fuse blows or circuit breaker trips repeatedly while in normal
use (not overloaded), check for shorts and other faults in the line or devices. Do not resume use
until the trouble is fixed.
• It is hazardous to overload electrical circuits by using extension cords and multi-plug outlets.
Use extension cords only when necessary and make sure they are heavy enough for the job.
Avoid creating an “octopus” by inserting several plugs into a multi-plug outlet connected to a
single wall outlet. Extension cords should ONLY be used on a temporary basis in situations where
fixed wiring is not feasible.
• Dimmed lights, reduced output from heaters and poor monitor pictures are all symptoms of an
overloaded circuit. Keep the total load at any one time safely below maximum capacity.
• If wires are exposed, they may cause a shock to a person who comes into contact with them.
Cords should not be hung on nails, run over or wrapped around objects, knotted or twisted. This
may break the wire or insulation. Short circuits are usually caused by bare wires touching due
to breakdown of insulation. Electrical tape or any other kind of tape is not adequate for
insulation!
• Electrical cords should be examined visually before use for external defects such as: Fraying
(worn out) and exposed wiring, loose parts, deformed or missing parts, damage to outer jacket
or insulation, evidence of internal damage such as pinched or crushed outer jacket. If any defects
are found the electric cords should be removed from service immediately.
146
• Pull the plug not the cord. Pulling the cord could break a wire, causing a short circuit.
• Plug your heavy current consuming or any other large appliances into an outlet that is not shared
with other appliances. Do not tamper with fuses as this is a potential fire hazard. Do not overload
circuits as this may cause the wires to heat and ignite insulation or other combustibles.
• Keep lab equipment properly cleaned and maintained.
• Ensure lamps are free from contact with flammable material. Always use lights bulbs with the
recommended wattage for your lamp and equipment.
• Be aware of the odor of burning plastic or wire.
• ALWAYS follow the manufacturer recommendations when using or installing new lab
equipment. Wiring installations should always be made by a licensed electrician or other
qualified person. All electrical lab equipment should have the label of a testing laboratory.
• Be aware of missing ground prong and outlet cover, pinched wires, damaged casings on
electrical outlets.
• Inform Lab engineer / Lab assistant of any failure of safety preventive measures and safe
practices as soon you notice it. Be alert and proceed with caution at all times in the laboratory.
• Conduct yourself in a responsible manner at all times in the EE Labs.
• Follow all written and verbal instructions carefully. If you do not understand a direction or part
of a procedure, ASK YOUR LAB ENGINEER / LAB ASSISTANT BEFORE PROCEEDING WITH THE
ACTIVITY.
• Never work alone in the laboratory. No student may work in EE Labs without the presence of
the Lab engineer / Lab assistant.
• Perform only those experiments authorized by your teacher. Carefully follow all instructions,
both written and oral. Unauthorized experiments are not allowed.
• Be prepared for your work in the EE Labs. Read all procedures thoroughly before entering the
laboratory. Never fool around in the laboratory. Horseplay, practical jokes, and pranks are
dangerous and prohibited.
• Always work in a well-ventilated area.
• Observe good housekeeping practices. Work areas should be kept clean and tidy at all times.
• Experiments must be personally monitored at all times. Do not wander around the room,
distract other students, startle other students or interfere with the laboratory experiments of
others.
147
• Dress properly during a laboratory activity. Long hair, dangling jewelry, and loose or baggy
clothing are a hazard in the laboratory. Long hair must be tied back, and dangling jewelry and
baggy clothing must be secured. Shoes must completely cover the foot.
• Know the locations and operating procedures of all safety equipment including fire extinguisher.
Know what to do if there is a fire during a lab period; “Turn off equipment, if possible and exit
EE lab immediately.”
148