PS II Lab Manual (1)
PS II Lab Manual (1)
PRACTICAL RECORD
Name:
Reg. No:
Class:
Semester:
SNS COLLEGE OF TECHNOLOGY
(AN AUTONOMOUS INSTITUTION)
COIMBATORE – 641 035.
Name _____________________________________
Class ____________Semester ___________________
Certified that this is the bonafide record of work done by the above student
oft the 19EEB302 Power Systems-II Laboratory during the
academic year 2024-2025 (EVEN).
OBJECTIVE
To determine the transmission line parameters and verify using MATLAB
simulation.
LEARNING OUTCOMES
SOFTWARE REQUIRED
MATLAB 7.14
FORMULA
Single phase Inductance=10-7[1+4log(d/r) ]
Capacitance=3.14*8.854*10-12/log (d/r)
Three phase Inductance=10-7 [0.5+2log(d/r)]
Capacitance=2*3.14*8.854*10-12 /log(d/r)
D equivalent =[d1*d2*d3]1/3
Where ,
d=Spacing of conductors
r=radius of conductor
THEORY
An AC transmission line has resistance, inductance and capacitance uniformly
distributed along its length. These are known as constants or parameters of the line .The
performance of a transmission line depend to a considerable extent upon these constants. For
instance, these constants determine whether the efficiency and voltage regulation of the line
will be good or poor. Therefore, a sound concept of these constant is necessary in order to make
the electrical design of a transmission line a technical success. Constants of transmission line
are resistance, inductance and capacitance uniformly distributed along the whole length of the
line.
FLOW CHART
RESISTANCE:
It is the opposition of line conductors to current flow .The resistance is distributed
uniformly along the whole length of the line.
INDUCTANCE:
An alternating current flows throw a conductor, a changing flux is setup which links the
conductor. Due to this flux linkage, the conductor possesses inductance. Inductance defined as
the flux linkage per ampere.
CAPACITANCE:
The capacitance between the conductors is the charge per unit potential difference.
ALGORITHM
1. Find that given transmission line is single phase or three phases.
6. If symmetrical get the distance between the conductors and radius of the conductor
8. If unsymmetrical get the distance between the conductors and radius of the conductor.
RESULT
Thus the transmission line parameters were determined by MATLAB simulation.
VIVA QUESTIONS
OBJECTIVE
To develop a program to obtain a bus admittance and impedance matrix for a given
power system network
LEARNING OUTCOMES
Understand the need of bus admittance and impedance matrix for fault analysis.
Obtain network solution to determine the bus voltage given bus current
injections
SOFTWARE REQUIRED
MATLAB 7.14
THEORY
Consider a three-bus power system shown in Fig.2.1 .The equivalent power network for the
system is shown in Fig.2.2 in which the generator is replaced by Norton equivalent, the loads
by equivalent admittances and the lines by π - equivalent circuits.
In matrix form
Where,
The matrix equation (2.5) can be extended to an ‘n’ node system. The steps involved in
assembling bus admittance matrix may be extracted from equations (2.5) and (2.6) and are given
below.
TWO-RULE METHOD FOR ASSEMBLING ADMITTANCE MATRIX
1. The diagonal element Yii of the matrix is equal to the sum of the admittances of all
elements connected to the ith node.
2. The off-diagonal element Yij of the matrix is equal to the negative of the sum of the
admittances of all elements connected between the nodes i and j.
The bus impedance matrix can be determined by two methods. In one method we
can form the bus admittance matrix and then taking its inverse to get the bus impedance
matrix. In another method the bus impedance matrix can be directly formed from the
reactance diagram and this method requires the knowledge of the modifications of existing
bus impedance matrix due to addition of new bus or addition of a new line (or impedance)
between existing buses.
ALGORITHM
PROGRAM
clear all;
clc;
nbus=input('enter number of buses=');
for p=1:nbus
for q=p+1:nbus
y(p,q)=input('Enter the Line Admittance Value:');
y(q,p)=y(p,q);
end
end
for p=1:nbus
y1(p)=input('enter the ground admittance');
end
for p=1:nbus
for q=1:nbus
if p==q
ybus(p,q)=0;
for k=1:nbus
ybus(p,q)=ybus(p,q)+y(p,k);
end
else
ybus(p,q)=-1*y(p,q);
end
end
end
for p=1:nbus
ybus(p,p)=ybus(p,p)+y1(p);
end
disp('Bus Admittance Matrix:');
disp(ybus)
zbus =inv (ybus)
OUTPUT
RESULT
The program for the Y-bus formation by the method of inspection is written and
the line data are given and input and output is verified using hand calculation.
VIVA QUESTIONS
1. What is single line diagram?
2. Define bus.
3. How Bus admittance matrices are formed?
4. What is a bus impedance matrix?
5. What is called as driving point and transfer impedances?
6. What are the methods available for forming bus impedance matrix?
7. What is bus incidence matrix
8. Mention the advantage of bus admittance matrix.
DATE:
OBJECTIVE
To determine and verify load flow solution by gauss-seidel method using MATLAB.
LEARNING OUTCOMES
Analyze the non linear load flow equations using Gauss Seidel method.
SOFTWARE REQUIRED
MATLAB 7.14
THEORY
The gauss-seidel method is an iterative algorithm for solving a set of non linear load
flow equations. The process of computing all the bus voltages is called one itera-tion .the
iterative process is then repeated till the bus voltage converges with in prescribed accuracy. the
converges of bus voltage is quite sensitive to the initial values assumed. Based on practical
experiences it is easier to get a set of initial voltages very close to final solution. To compute
the (k+1)th iteration value of the bus –p voltage, the (k+1)th iteration values of voltages are
used for all buses less than p and kth iteration values of voltages are used for all buses greater
than or equal to p.
It is important to note that the slack bus is a reference bus and so its voltage will not
change .therefore in each iteration the slack bus voltage is not modified.
For generator bus, the reactive power is not refer specified .thee in order to calculate the
phase of bus voltage of a generator bus. The non-linear load flow equation is given by
1 Pp – j Qp p-1 n
Vp k+1
= - Ypq Vqk+1 - Vqk
Ypp (Vpk)* q=1 q=p+1
QP k+1
=(-1) x Im (Vpk)* Ypq Vq k+1
+ Ypq Vqk
q=1 q=p
FLOWCHART
ALGORITHM
1. Assume a flat voltage profile for all nodal voltage except the slack bus
2. Set iteration count k=0.
3. Set bus count p=1.
4. Check for the slack bus. If it is not slack bus go to next step.
5. Calculate the bus voltage Vpk+1 using equation
Vp= [1/Ypp]{[(Pp-jQp)/Vp*] – ΣnYpqvq q=1,q≠p
and difference in bus p=1,2,….n, voltage ΔVpk=Vpk+1-Vpk.
6. Advance the bus count by 1 to evaluate other values of Vpk+1&ΔVpk.
7. Check if all buses have been taken in to account ,if yes ,go to next step otherwise go to
step4.
8. Determine the largest absolute value of change in voltage |ΔV| max .
9. If |ΔV| max is Less than a specified tolerance& evaluate line flows &print the voltage &line
flows.
10. If not ,advance the iteration count k=k+1 &go to step3.
PROGRAM
%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);
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
OUTPUT
RESULT
Thus the power flow analysis using gauss seidal method was done and voltage to the
all bus were calculated and verified with MATLAB.
VIVAQUESTIONS
1. What is load flow study?
2. Classify different types of buses.
3. What is slack bus and explain the need of slack bus?
4. What are all the advantages and disadvantages of Gauss Seidal method?
5. When the generator buses are treated as load bus?
6. What is jacobian matrix?
7. Why do we go for iterative methods to solve load flow problems?
8. Discuss the effect of acceleration factor in load flow solution algorithm
EX.NO:4
DATE:
OBJECTIVE
To understand the basic problem of economic dispatch (ED) of optimally adjusting the
generation schedules of thermal generating units to meet the system load. To understand the
coordination equations without loss, operating constraints and solution of these equations using
iterative methods.
LEARNING OUTCOMES
To understand the effect of change in fuel cost on the economic dispatch for a
given load.
SOFTWARE REQUIRED
MATLAB 7.14
THEORY:
The facts influencing power generation at minimum cost are operating efficiencies of
generators, fuel cost and transmission losses. The most efficient generator in the system does
not guarantee minimum cost as it may be located in an area where fuel cost is high. Also, if the
plant is located far away from the load centre, transmission losses may be considerably higher
and hence the plant may be overly uneconomical. Hence, the problem is to determine the
generation of different plants such that the total operating cost is minimum which plays an
important role in the economic scheduling.
PROBLEM FORMULATION:
Neglecting transmission losses, total generation should meet the total load. Hence, the
equality constraint is,
(2.3)
Based on the maximum and minimum power limits of the generators, following
inequality constraints can be imposed:
(2.4)
(2.5)
Where accounts for the equality constraint (2.3); λ is the Lagrange Multiplier. The
necessary condition for FT to be minimum is that the derivative of Lagrange function with
respect to each independent variable is zero. Hence the necessary conditions for the
optimization problem are:
(2.6)
and
(2.7)
Rewriting (2.6)
(2.8)
Equation (2.8) states that, to minimize the fuel cost, the necessary condition is to have
all the incremental fuel costs same. Equation (2.8), along with (2.3) and (2.4) are called the
coordination equations for economic load dispatch without considering network losses.
Note:
Using (2.1), fuel cost characteristics of all the generators are expressed as,
(2.9)
Using (2.8), the necessary conditions for the optimal solutions are given by,
(2.10)
Or,
(2.11)
Or,
(2.12)
Hence λ can be calculated by (2.10), and then Pi, i=1,2,...,N can be calculated by (2.9
ALGORITHM:
N
b
Pi
2ai
N
i1 i
1
i1 2ai
STEP 5: Distribute the remaining system load PD minus the sum of the fixed generation
schedules to the remaining units.
STEP 6: Check whether optimality is satisfied. If yes, stop. The solution is reached. Otherwise,
keep the generation schedule of the violating units are fixed. Go to step 1.
FLOW CHART:
PROGRAM:
clear all;
clc;
alpha=[500;400;200];
beta=[5.3;5.5;5.8];
gamma=[0.004;0.006;0.009];
pd=800;
delp=10;
lambda=input('enter the estimated values of lambda');
fprintf('');
disp(['lambda p1 p2 p3 dp grand delambda']);
inter=0;
while abs(delp)>=0.001
inter=inter+1;
p=(lambda-beta)./(2*gamma);
delp=pd-sum(p);
j=sum(ones(length(gamma),1)./(2*gamma));
delambda=delp/j;
disp([lambda,p(1),p(2),p(3),delp,j,delambda]);
lambda=lambda+delambda;
end
totalcost=sum(alpha+beta.*p+gamma.*p.^2);
disp('total cost');
disp(totalcost);
OUTPUT
RESULT:-
Thus the economic dispatch control was determined and verified using MATLAB
simulation.
VIVA QUESTIONS
OBJECTIVE
To become familiar with modeling and analysis of the frequency and tie-line flow
dynamics of a power system without and with load frequency controllers (LFC) and to design
better controllers for getting better responses.
LEARNING OUTCOMES
SIMULINK DIAGRAM 2
SIMULINK OUTPUT GRAPH:
OUTPUT
RESULT
Modeling and analysis of the frequency and tie-line flow dynamics of a single area
power system without and with load frequency controllers (LFC) was studied and responses are
simulated using simulation software.
VIVA QUESTIONS:
1. Define control area
2. What is load frequency controller?
3. Define electric stiffness of the interconnected system.
4. What is Area control error?
5. Define transient reactance.
6. How to improve transient stability limit
7. Define load reference set p
EX. NO: 5b
DATE:
OBJECTIVE:
To become familiar with modeling and analysis of the frequency and tie-line low
dynamics of a two area power system without and with load frequency controllers (LFC)
and to design better controllers for getting better responses.
LEARNING OUTCOMES
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).
PROCEDURE:
EXERCISE
1. A two area system connected by a tie line has the following parameters on a 1000MVA
common base
Area 1 2
Speed Regulation R1=0.05 R2=0.0625
Frequency –sens. load co-eff. D1=0.6 D2=0.9
Inertia Constant H1=5 H2=4
Base Power 1000MVA 1000MVA
Governor Time Constant g1 = 0.2sec g1 = 0.3sec
Turbine Time Constant T1 =0.5sec T1 =0.6sec
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 Ps =
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.
(b) Construct the SIMULINK block diagram and obtain the frequency deviation
response for the condition in part (a).
SIMULINK DIAGRAM FOR TWO AREA SYSTEM
SIMULINK OUTPUT
RESULT
Modeling and analysis of the frequency and tie-line flow dynamics of a two area power
system without and with load frequency controllers (LFC) was studied and responses are
simulated using simulation software
VIVA QUESTIONS