Академический Документы
Профессиональный Документы
Культура Документы
LAB MANUAL
(Regulation-2013)
NAME :
REGISTER NUMBER :
BRANCH /SECTION : EEE
SEMESTER : VII SEM
SUBJECT CODE : EE6711
SUBJECT : POWER SYSTEM SIMULATION LABORATORY
ACADEMIC YEAR : 2016-2017
LIST OF EXPERIMENTS
1
MODELLING & COMPUTATION
OF TRANSMISSION LINE
PARAMETERS
2
FORMATION OF BUS ADMITTANCE
MATRICES
3
FORMATION OF BUS IMPEDANCE
MATRIX
4
TRANSIENT & SMALL STABILITY
ANALYSIS OF SINGLE MACHINE
INFINITE BUS SYSTEM
5
LOAD FREQUENCY CONTROL
CYCLE-II
EXP. DATE NAME OF THE EXPERIMENT PAGE MARKS SIGNATURE
NO NO
6
LOAD FLOW ANALYSIS BY NEWTON
RAPHSON METHOD
7
LOAD FLOW ANALYSIS BY GAUSS
SEIDEL METHOD
8
ECONOMIC LOAD DISPATCH
9
SHORT CIRCUIT ANALYSIS
10
STUDY OF ELECTRO MAGNETIC
TRANSIENTS
EXPT. NO : 1
DATE :
MODELLING & COMPUTATION OF TRANSMISSION LINE
PARAMETERS
AIM:
To compute the series inductance and shunt capacitance per phase per km of a three phase
single circuit OH transmission line with solid, bundled conductors.
SOFTWARE REQUIRED:
MATLAB 7 & above
THEORY:
The transmission line has the following important parameters:
1. Resistance
2. Inductance
3. Capacitance
4. Conductance
The inductance and capacitance are due to the effect of magnetic and electric fields around
the conductors. The shunt conductance characterizes the leakage current through inductors
which is very small and can be neglected. The parameters R,L and C are essential for the
development of the transmission models to be used in power system analysis both during
planning and operation.
ALGORITHM:
1. Read Z
2. Check the value of Z.
3. If Z value is equal to 1 then read the D12, D23, D31 and r.
4. Calculate inductance and capacitance per phase
5. Print the values of inductance and capacitance
6. If the Z value is not equal to 1, then to read the D12, D23, D31 and r.
7. Calculate GMD.
8. If n=4 or n1=4 then calculate GMRC and GMRL.
9. Calculate inductance and capacitance per phase
10. Print the values of inductance and Capacitance
COMPUTATION OF PARAMETER AND MODELING OF
TRANSMISSION LINES
PROGRAM:
clear all
clc
Ph=input(single-1 or 3ph-3:-)
If ph==1
R=input(radius-cond in mtrs=)
L=(10^(-7)*(1+4*log(D/R)))
C=pi*(8.854*10^-12))))/log(d/r)
else
if ph==3
spacing=input('sym-4 unsym-5:')
if spacing==4
R=input('radius_cond in mtrs=')
C=(2*pi*8.854*10^(-12))/log(D/R)
L=10^(-7)*(0.5+2*log(D/R))
else
end
if spacing==5
R=input('radius_cond in mtrs=')
D=(D12*D23*D31)
L=10^(-7)*(0.5+2*log(D/R))
C=(2*pi*8.854*10^(-12))/log(D/R)
else
end
end
end
OUTPUT:
SINGLE PHASE:
single-1 or 3ph-3:-1
ph=1
D=4
radius_cond in mtrs=0060
R=0.0060
L=2.4237e-006
C=4.7883e-012
THREE PHASE SYMMETRICAL:
single-1 or 3ph-3:-3
ph=3
sym-4 unsym-5:4
spacing=4
D=12
radius_cond in mtrs=0004
R=4
C=5.0638e-011
L=2.6972e-007
RESULT:
Thus the modeling & computation of transmission line parameters was experimented using
MATLAB and output was verified.
EXPT.NO : 2
DATE :
AIM
To determine the bus admittance and impedance matrices for the given power system
network.
SOFTWARE REQUIRED:
MATLAB
THEORY:
PROGRAM:
for m=1:nb
for n=1:nb
if m==n||m~=n
if sli(m,n)==0
n=n+1;
else
y(m,n)=+sli(m,n)^-1+lca(m,n);
y(n,n)=+sli(m,n)^-1+lca(m,n);
y(m,n)=-sli(m,n)^-1;
y(n,m)=y(m,n);
end
end
end
end
%OUTPUT OF Y-BUS
ybus=y
OUTPUT:
RESULT:
Thus the bus admittance matrices for the given power system network was determined using
MATLAB and output was verified.
EXPT.NO : 3
DATE :
AIM
To determine the bus impedance matrices for the given power system network.
SOFTWARE REQUIRED:
MATLAB
THEORY:
PROCEDURE
PROGRAM:
clear all;
clc
for m=1:nb
for n=1:nb
if m==n||m~=n
if sli(m,n)==0
n=n+1;
else
y(m,n)=+sli(m,n)^-1+lca(m,n);
y(n,n)=+sli(m,n)^-1+lca(m,n);
y(m,n)=-sli(m,n)^-1;
y(n,m)=y(m,n);
end
end
end
end
ybus=y
zbus=ybus^-1;
chkmat=zbus*ybus
zbus=zbus
OUTPUT:
[1 2 3 4 4]
[2 3 4 1 2]
ybus =
chkmat =
zbus =
RESULT:
Thus the bus impedance matrices for the given power system network was determined using
MATLAB and output was verified.
EXPT NO : 4
DATE :
STABILITY ANALYSIS: SINGLE MACHINE CONNECTED TO AN
INFINITE BUS SYSTEM
AIM:
To perform transient and small signal stability analysis on a given machine connected to an
infinite bus.
APPARATUS REQUIRED:
MATLAB software
ALGORITHM:
1. Start the program
2. Get the values of E=1.35; V=1.05; H=9.94; PM=0; D=0.138; F=60
3. Calculate d and f values
4. Calculate the value of D0.
D0=a sin(Pm/Pmax)
5. Calculate the Dd value
6. To calculate on value
7. Plot the graph in frequency Vs time and delta Vs time
8. Stop the program.
TRANSIENT AND SMALL SIGNAL STABILITY ANALYSIS
PROGRAM:
clear all
clc
E=1.2056;V=1.1;H=4.5;X=0.65;Pm=1.7;D=0.138;fo=50;
Pmax=E*V/X
do=asin(Pm/Pmax)
Ps=Pmax*cos(do)
Wn=sqrt(pi*60/H*Ps)
Z=D/2*sqrt(pi*60/(H*Ps))
Wd=Wn*sqrt(1-Z^2)
Fd=Wd/(2*pi)
Tau=1/(Z*Wn)
Th=acos(Z)
Ddo=10*pi/180
t=0:.01:3;
Dd=Ddo/sqrt(1-Z^2)*exp(-Z*Wn*t).*sin(Wd*t+Th);
d=(do+Dd)*180/pi;
Dw=-Wn*Ddo/sqrt(1-Z^2)*exp(-Z*Wn*t).*sin(Wd*t);
f=fo+Dw/(2*pi);
subplot(2,1,1),plot(t,d),grid
subplot(2,1,2),plot(t,f),grid
subplot(111)
OUTPUT:
RESULT:
Thus the transient and small signal stability analysis on a given machine connected to an
infinite bus was experimented using MATLAB and output was verified.
EXPT NO : 5
DATE :
LOAD FREQUENCY DYNAMICS OF SINGLE AREA POWER
SYSTEMS
AIM:
To become familiar with modeling & analysis of the frequency and tie line flow dynamics of
a single area power system with and without load frequency using simulink.
SOFTWARE REQUIRED:
MATLAB 7 & above
THEORY:
Active power control is one of the important control actions to be performed to be normal
operation of the system to match the system generation with the continuously changing
system of load in order to maintain the constancy of system frequency to a fine tolerance
level. This is one of the foremost requirements in providing quality power supply. A change
in systems load causes a change in the speed of all rotating masses of the systems leading to
change in system on which frequency. The speed change from synchronous speed initiates
the governor control action result in all the participating generator - turbine units value
requires secondary and load control.
PROCEDURE:
1. Enter the command window of the MATLAB.
2. Create a new model by selecting File - New Model.
3. Pick up the blocks from the simulink library browser and from a block diagram.
4. After forming the block diagram , save the block diagram
5. Double click the scope and view the result.
LOAD FREQUENCY CONTROL
SIMULINK 1:
OUTPUT GRAPH:
RESULT:
Thus the modeling & analysis of the frequency and tie line flow dynamics of a two area
power system using Simulink was experimented and verified.
EXPT NO : 6
DATE :
AIM:
To understand the following for medium and large scale power systems mathematical formulation of load
flow problem in real variable form using Newton Raphson method of load flow by ETAP package.
SOFTWARE REQUIRED:
MATLAB
THEORY:
The Newton Rapshon method of load flow analysis is an iterative method which approximates the
set of non-linear simultanous equations to a set of linear simultaneous equations using Taylor's series
expansion and the terms are limited to first order approximation.
The load flow equations for Newton method are non linear equations in terms of real & Imaginary
part of bus voltages.
Pp = _ n to q =1 { ep(ep Gpq + fq Bpq) + fp (fq Gpq eq Bpq)}
Qp= _ n to q=1 {fp (ep Gpq + fq Bpq) - ep (fq Gpq eq Bpq)}
_Vp_2 = wp
2 + fp2
Where ep= Real part of Vp
fp = Imaginary part of Vp
Gpq , Bpq = Conductance and susceptance of admittance Ypq respectively.
NEWTON- RAPHSON METHOD
PROGRAM:
clear all;
clc
for m=1:nb
for n=1:nb
if m==n||m~=n
if sli(m,n)==0
n=n+1;
else
y(m,n)=+sli(m,n)^-1+lca(m,n);
y(n,n)=+sli(m,n)^-1+lca(m,n);
y(m,n)=-sli(m,n)^-1;
y(n,m)=y(m,n);
end
end
end
end
ybus=y
for j=1:nb
end
my=abs(ybus);an=angle(ybus);
g=real(ybus);b=imag(ybus);
for i=1:nb;
pe(i)=0;qu(i)=0;
pe(i)=mag(i)*my(i,j)*mag(j)*cos(th(i)-th(j)-an(i,j))+pe(i);
qu(i)=mag(i)*my(i,j)*mag(j)*sin(th(i)-th(j)-an(i,j))+qu(i);
end
for i=2:nb
for j=2:nb
if i~=j
j1(i,j)=mag(i)*mag(j)*(g(i,j)*sin(th(i)-th(i))-b(i,j)*cos(th(i)-th(j)));
j3(i,j)=-mag(i)*mag(j)*(g(i,j)*cos(th(i)-th(j))-b(i,j)*sin(th(i)-th(j)));
j2(i,j)=-j3(i,j);
j4(i,j)=-j1(i,j);
else
j1(i,j)=-qu(i)-b(i,j)*(mag(i)^2);
j2(i,j)=pe(i)+g(i,j)*(mag(i)^2);
j3(i,j)=pe(i)-g(i,j)*(mag(i)^2);
j1(i,j)=qu(i)-b(i,j)*(mag(i)^2);
end
end
end
ja1(1:nb-1,1:nb-1)=j1(2:nb,2:nb);
ja2(1:nb-1,1:nb-1)=j2(2:nb,2:nb);
ja3(1:nb-1,1:nb-1)=j3(2:nb,2:nb);
ja4(1:nb-1,1:nb-1)=j4(2:nb,2:nb);
disp(jacob);
delp(1:nb-1)=acp(2:nb)-pe(2:nb);
delq(1:nb-1)=acp(2:nb)-qu(2:nb);
chan=(inv(jacob))*[delp delp]';
chth(2:nb)=chan(1:2);
chma(2:nb)=chan(n:2*2);
for i=2:nb
chmag(i)=chma(i)*mag(i);
end
mag=mag+chmag;
th=th+chth;
[1 2 3]
[2 3 1]
[0 0 0;0 0 0;0 0 0]
ybus =
4.1380 0 0.2081 0
RESULT:
Thus the load flow analysis using Newton Raphson method has been carried out successfully
on the given power system using MATLAB, the results are found to be satisfactory.
EXPT NO : 7
DATE :
AIM:
To understand the following for medium and large scale power systems mathematical formulation of
load flow problem in real variable form using GAUSS SEIDAL method of load flow by matlab
programming.
.
SOFTWARE REQUIRED:
Matlab
THEORY:
The Gauss Seidel Method is an interactive method for solving a set of non linear algebraic
equation. In this case, first we have to assume all busses as PQ buses other than slack bus. The slack
bus voltage is specified. Then there are n-1 bus voltages starting values of whose magnitudes and
angles are assumed. The process is then repeated for all variables there by completing one iteration.
The iterative process is then repeated till the solution vector converges within prescribed accuracy.
During iteration, voltages at buses i=1, 2, 3 n are sequentially updated through use of above
equation.
GAUSS-SEIDEL METHOD
PROGRAM:
clear all
clc
for it=2:n
text=sprintf('bus no:%g',it);
disp(text);
p(it)=input('real power:');
q(it)=input('reactive power:');
if q(it)==0
Vnspe(it)=input('vge magnitude:');
else
Vnspe(it)=0;
end
end
K=0
for it=2:n
V(it,1)=1+0i;
end
delmax=1;
while delmax>e
K=K+1;
if K>Kmax
break
end
for it=2:n
sum1=0;sum2=0
V(1,K)=V(1,K)
for ji=1:n
if ji<it
sum1=sum1+Ybus(it,ji)*V(ji,K);
elseif ji>it
sum2=sum2+Ybus(it,ji)*V(ji,K);
end
end
V(it,K)=(1/Ybus(it,it))*(((p(it)-j*q(it))/conj(V(it,K)))-sum1-sum2)
delV(it)=V(it,K)-V(it,K)
V(it,K)=V(it,K)+a*delV(it)
end
end
OUTPUT:
bus bo:2
real power:0.5
reactive power:0.1456
bus bo:3
real power:0.4
reactive power:0.3
bus no:4
real power:0.2
reactive power:0.1
K=0
sum2=0
V =1.0600
1.0000
1.0000
1.0000
V =1.0600
1.0498 + 0.0391i
1.0000
1.0000
delV = 0 0
V =1.0600
1.0498 + 0.0391i
RESULT:
Thus the load flow analysis using Gauss Seidal method has been carried out successfully
on the given power system using ETAP the results are found to be satisfactory.
EXPT NO : 8
DATE :
AIM:
To determine the economic scheduling of generator and estimate the fuel cost and verify with
MATLAB
SOFTWARE REQUIRED:
Matlab sotware
ALGORITHM:
PROGRAM:
clc
clear all
a1=input('enter a1=')
a2=input('enter a2=')
b1=input('enter b1=')
b2=input('enter b2=')
c1=input('enter c1=')
c2=input('enter c2=')
Lambda=(PD+(b1)/(2*a1)+(b2)/(2*a2))/((1)/(2*a1)+(1)/(2*a2))
disp('Lambda')
pg1=(Lambda-b1)/(2*a1);
pg2=(Lambda-b2)/(2*a2);
if pg1<Pmin
pg1=Pmin;
pg2=PD-pg1;
end
if pg1>Pmax
pg1=Pmax;
pg2=PD-pg1;
end
if pg2<Pmin
pg2=Pmin;
pg1=PD-pg2;
end
if pg2>Pmax
pg2=Pmax;
pg1=PD-pg2;
end
pg1
pg2
f1=(((a1)*pg1^2)+pg1*b1+c1)
f2=(((a2)*pg2^2)+pg2*b2+c2)
totalcost=f1+f2
OUTPUT:
enter a1=0.07
a1 = 0.0700
enter a2=0.1125
a2 =0.1125
enter b1=21
b1 =21
enter b2=16.5
b2 =16.5000
enter c1=100
c1 =100
enter c2=200
c2 =200
PD =250
Pmax =135
Pmin =20
Lambda =40.8493
Lambda
pg1 =135
pg2 =115
f1 =4.2108e+003
f2 =3.5853e+003
totalcost = 7.7961e+003
RESULT:
Thus the economic dispatch control has been determined by using Matlab programming.
EXPT NO : 9
DATE :
SOFTWARE REQUIRED
MATLAB Software
ALGORITHM:
clc
zdata=[0 1 0 0.15
0 2 0 0.075
1 2 0 0.1
2 3 0 0.1
3 1 0 0.1];
nl=zdata(:,1);nr=zdata(:,2);X=zdata(:,4);
nbr=length(zdata(:,1));nbus=max(max(nl),max(nr));
Z=j*X;
Y=ones(nbr,1)./Z;
Ybus=zeros(nbus,nbus);
for k=1:nbr;
if nl(k)>0&nr(k)>0
Ybus(nl(k),nr(k))=Ybus(nl(k),nr(k))-Y(k);
Ybus(nr(k),nl(k))=Ybus(nl(k),nr(k));
end
end
for n=1:nbus
for k=1:nbr
if nl(k)==n|nr(k)==n
Ybus(n,n)=Ybus(n,n)+Y(k);
else,end
end
end
Ybus;
Zbus=inv(Ybus);
zf=0;
v=[1 1 1];
vfa=[0 0 0];
i=selectedbus
If=v(i)/(zf+Zbus(i,i));
for k=1:3
if k~i
vf(k)=v(k)-(Zbus(i,k)*v(k)/(zf+Zbus(i,i)));
vfa(k)=vfa(k)+vf(k);
end
vf(i)=zf*v(i)/(zf+Zbus(i,i));
vfa(i)=vfa(i)+vf(i);
i12f=abs(vfa(1)-vfa(2))/X(3);
i13f=abs(vfa(1)-vfa(3))/X(4);
i23f=abs(vfa(2)-vfa(3))/X(5);
end
vfa
i12f
i13f
i23f
If=abs(If)
OUTPUT:
SELECTED BUS NO:1
ans=0
vfa=0 0.4706 0.2353
i12f=4.7059
i13f=2.3529
i23f=2.3529
If=13.7255
ans=0
ans=0
ans=0
vfa=0.3077 0 0.1538
i12f=3.0769
i13f=1.5385
i23f=1.5385
If =17.9487
SELECTED BUS NO:3
i=3
ans=0
ans=0
ans=0
vfa=0.4507 0.5352 0
i12f=0.8451
i13f=4.5070
i23f=5.3521
If=9.8
592
RESULT:
THEORETICAL BACKGROUND