Professional Documents
Culture Documents
List of Experiments
List of Experiments
Electrical/PHCET
LIST OF EXPERIMENTS
SIMULINK
SIMULINK
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
Exp No: 1
AIM : To determine the bus admittance matrix for the given power system Network
Bus admittance matrix is often used in power system studies.In most of power system
studies it is necessary to form Y-bus matrix of the system by considering certain power system
parameters depending upon the type of analysis. For example in load flow analysis it is
necessary to form Y-bus matrix without taking into account the generator impedance and load
impedance. In short circuit analysis the generator transient reactance and transformer
impedance taken in account, in addition to line data. Y-bus may be computed by inspection
method only if there is no natural coupling between the lines. Shunt admittance are added to
the diagonal elements corresponding to the buses at which these are connected. The off
diagonal elements are unaffected. The equivalent circuit of tap changing transformer may be
considered in forming[y-bus] matrix.
There are b independent equations (b = no. of buses) relating the bus vectors of currents
and voltages through the bus impedance matrix and bus admittance matrix:
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
Where, YBUS is the bus admittance matrix, IBUS & EBUS are the bus current and bus
voltage vectors respectively.
Diagonal elements: A diagonal element (Yii) of the bus admittance matrix, YBUS, is equal to
the sum total of the admittance values of all the elements incident at the bus/node i,Off
Diagonal elements: An off-diagonal element (Yij) of the bus admittance matrix, YBUS, is
equal to the negative of the admittance value of the connecting element present between the
buses I and j, if any.
This is the principle of the rule of inspection. Thus the algorithmic equations for the rule of
inspection are obtained as:
For i = 1,2,….n, n = no. of buses of the given system, yij is the admittance of element
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
START
Consider line l = 1
i = sb(1); I= eb(1)
NO YES
Is l =NL?
l = l+1
STOP
MATLAB PROGRAM
function[Ybus] = ybus(zdata)
Ybus(nr(k),nl(k)) = Ybus(nl(k),nr(k));
end
end
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
if nl(k) == n | nr(k) == n
else, end
end
RESULT:
Exp No: 2
AIM: To find load flow solution of the given power system using Gauss-Seidel method
theoretically for one iteration and obtain full solution using MATLAB.
Apparatus: MATLAB
THEORY
The performance equation of the power system may be written of
[I bus] = [Y bus][V bus] (1)
Selecting one of the buses as the reference bus, we get (n-1) simultaneous equations. The bus
loading equations can be written as
Ii = Pi-jQi / Vi* (i=1,2,3,…………..n) (2)
Where,
N
Pi=Re [ Σ Vi*Yik Vk] . (3)
k=1
N
Qi= -Im [ Σ Vi*Yik Vk]. (4)
k=1
The bus voltage can be written in form of
n
Vi=(1.0/Yii)[Ii- Σ Yij Vj] (5)
j=1
j≠i(i=1,2,…………n)& i≠slack bus
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
N
Vi new=(1.0/Yii)[Pi-JQi / Vio* - Σ Yij Vio] (6)
J=1
The latest available voltages are used in the above expression, we get
n N
o
Vi new=(1.0/Yii)[Pi-JQi / V i* - Σ YijVjn- Σ Yij Vio] (7)
J=1 j=i+1
The above equation is required formula .This equation can be solved foe voltage in
interactive manner. During each iteration, we compute all the bus voltage and
check forDuring each iteration, we compute all the bus voltage and check for
convergence is carried out by comparison with the voltages obtained at the end of
previous iteration. After the solutions is obtained. The stack bus real and reactive
powers, the reactive power generation at other generator buses and line flows can be
calculated.
PROBLEM:
For the sample power system shown below, the generators are connected at all the four buses,
while loads are at buses 2 and 3. Values of real and reactive powers are listed in the table. All
buses other than the slack are PQ type. Assuming a flat voltage start, find the voltages and bus
angles at the three buses at the end of first GS iteration.
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
MATLAB PROGRAM:
% Load flow using gauss siedel method
Qlimitmax=zeros(n,1);
Qlimitmin=zeros(n,1);
Vmagfixed=zeros(n,1); type(2)=2;
Qlimitmax(2)=1.0;
Qlimitmin(2)=-0.2;
Vmagfixed(2)=1.04;
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
diff=10; noofiter=1;
Vprev=V;
abs(V);
abs(Vprev);
Vprev=V;
for i=2:n,
if type(i)==2 |typechanged(i)==1,
if (Q(i)>Qlimitmax(i)| Q(i)<Qlimitmin(i))
if (Q(i)<Qlimitmin(i))
Q(i)=Qlimitmin(i);
else
Q(i)=Qlimitmax(i);
end
type(i)=1;
typechanged(i)=1;
else
type(i)=2;
typechanged(i)=0;
end
end
sumyv=0;
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
for k=1:n,
if(i~=k)
sumyv=sumyv+Y(i,k)*V(k);
end
end
V(i)=(1/Y(i,i))*((P(i)-j*Q(i))/conj(V(i))-sumyv)
V(i)=PolarTorect(Vmagfixed(i),angle(V(i)*180/pi))
end
end
diff=max(abs(abs(V(2:n))-abs(Vprev(2:n))));
noofiter=noofiter+1
end
EXPECTED OUTPUT:
no of iterations V1 V2 V3 V4
1.0250 -
1 1.04 1.0191 + 0.0464i 1.0280 - 0.0870i 0.0092i
1.0334 -
2 1.04 1.0290 + 0.0269i 1.0352 - 0.0934i 0.0208i
1.0385 -
3 1.04 1.0335 + 0.0223i 1.0401 - 0.0999i 0.0269i
1.0413 -
4 1.04 1.0360 + 0.0193i 1.0427 - 0.1034i 0.0304i
1.0429 -
5 1.04 1.0374 + 0.0176i 1.0442 - 0.1053i 0.0324i
1.0437 -
6 1.04 1.0382 + 0.0167i 1.0450 - 0.1064i 0.0335i
1.0442 -
7 1.04 1.0386 + 0.0161i 1.0455 - 0.1070i 0.0341i
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
1.0445 -
8 1.04 1.0388 + 0.0158i 1.0457 - 0.1074i 0.0344i
1.0446 -
9 1.04 1.0390 + 0.0157i 1.0459 - 0.1076i 0.0346i
1.0447 -
10 1.04 1.0390 + 0.0156i 1.0460 - 0.1077i 0.0347i
1.0448 -
11 1.04 1.0391 + 0.0155i 1.0460 - 0.1078i 0.0348i
1.0448 -
12 1.04 1.0391 + 0.0155i 1.0460 - 0.1078i 0.0348i
1.0448 -
13 1.04 1.0391 + 0.0155i 1.0460 - 0.1078i 0.0348i
1.0448 -
14 1.04 1.0391 + 0.0155i 1.0461 - 0.1078i 0.0349i
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
Exp No: 3
AIM
To construct a SIMULINK block diagram of a system network and obtain the frequency
deviation response and power deviation response
THEORY
and transformed into a real power command signal Pv , which is sent to the prime mover to
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
PROBLEM
The isolated power system in the given figure has the following parameters, turbine
time constant 𝛕𝐓 =0.8sec, governor time constant τg =0.1sec, inertia time constant
H=5sec,governor speed regulation R=0.05pu. The frequency changes by 1%,load changes by
0.8%.Plot the variation of frequency for a sudden load change of 0.02pu.Hence find the steady
state frequency deviation in hertz. The frequency dependency of load D=0.8
SOLUTION
Build the model as shown in figure. Two points have been noted.
1) To give a step input of 0.02 as ∆P double click on the block and give final value as 0.02.
2) Click on simulation-configuration parameter and set stop time as 20sec.
Fig 3.2: Simulink model for single area power system without AGC.
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
Fig 3.4: Simulink model for single area power system with AGC.
CALCULATION
−∆PL
∆wss = 1
[R + D]
RESULT
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
Exp No: 4
AIM
To construct a SIMULINK block diagram of a two area system network and obtain the power
deviation response and frequency deviation response .
THEORY In a two area power system when an additional load is added, in area
1, the frequency of entire system decreases. Hence, generation in both area increases because of
governor action. However, without AGC, the steady state frequency deviation will not be zero.
Moreover ,since generation in area two has increased there will be additional power flow(tie
line flow) from area two to area one to share the additional load in area1.This additional tie line
flow is denoted as ∆𝑃𝑡𝑖𝑒.
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
PROBLEM
Obtain the plot of frequency deviation response and power deviation step response for a
load change of 0.05pu in area 1 for the two area system given. The constants for the system are.
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
PS 2 2
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
Fig 4.2: Simulink model of a two area power system without AGC.
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
Fig 4.5: Simulink model of a two area power system with AGC.
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
CALCULATION
−∆PL
∆Ws = 1 1 =
+
R1 R2
RESULT
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
AIM
The matrix pair YBUS and ZBUS form the network models for load flow studies. The YBUS can
be alternatively assembled by use of singular transformations given by a graph theoretical
approach. This alternative approach is of great theoretical and practical significance and is
therefore discussed here.
To start with, the graph theory is briefly reviewed.
Graph
To describe the geometrical features of a network, it is replaced by single line segments
called elements whose terminals are called nodes. A linear graph depicts .the geometrical
interconnection of the elements of a network. A graph is connected if, and only if, there is a
path between every pair of nodes. If each element of a connected graph is assigned a
direction,*** it is called an oriented graph.
Power networks are so structured that out of the m total nodes, one node (normally
described by 0) is always at ground potential and the remaining n = m — 1 nodes are the
buses at which the source power is injected. Figure 6.2 shows the graph of the power
network of Fig. 6.1c. It may be noted
here that each source and the shunt admittance connected across it are represented by a
single element. In fact, this combination represents the most general network element and
is described under the subheading “Primitive Network”.
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
A connected subgraph containing all the nodes of a graph but having no closed paths is
called a tree. The elements of a tree are called branches or tree branches. The number of
branches b that form a tree are given by
b = m — 1 = n (number of buses) (6.9)
Those elements of the graph that are not included in the tree are called links (or link
branches) and they form a subgraph, not necessarily connected, called
Primitive Network
A network element may in general contain active and passive components. Figures 6.4a
and b show, respectively, the alternative impedance and admittance form representation of
a general network element. The impedance form is a voltage source ers in series with an
impedance zrs while the admittance form is a current source jrs in parallel with an admittance
yrs. The element current is irs and the element voltage is
νrs = Er — Es
where Er and Es are the voltages of the element nodes r and s, respectively.
It may be remembered here that for steady state AC performance, all element
variables (νrs, Er, Es, irs, jrs) are phasors and element parameters (zrs, yrs) are complex
numbers.
The voltage relation for Fig. 6.4a can be written as
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
The forms of Figs. 6.4a and b are equivalent wherein the parallel source current in
admittance form is related to the series voltage in impedance form by
In impedance form
Here V and I are the element voltage and current vectors respectively, and J and E are the
source vectors. Z and Y are referred to as the primitive impedance and admittance
matrices, respectively. These are related as Z = Y -1. If there is no mutual coupling between
elements, Z and Y are diagonal where the diagonal entries are the impedances/admittances
of the network elements and are reciprocal.
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
voltages allows us to compute all element voltages and therefore, all bus currents assuming
all element admittances being known.
Consider a tree graph shown in Fig. 6.3a where the ground node is chosen as the reference
node. This is the most appropriate tree choice for a power network. With this choice,
the b tree branch voltages become identical with the bus voltages as the tree branches are
incident to the ground node.
This matrix is rectangular and therefore singular. Its elements aik are found as per the
following rules:
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
aik =1 if ith element is incident to and oriented away from the kth node (bus)
= — 1 if ith element is incident to but oriented towards the kth node
= 0 if the ith element is not incident to the kth node
Substituting Eq. (6.16) into Eq. (6.14), we get
Premultiplying by AT,
Each component of the n-dimensional vector ATI is the algebraic sum of the element
currents leaving the nodes 1, 2, …, n.
Therefore, the application* of the KCL must result in
Similarly, each component of the vector ATJ can be recognized as the algebraic sum of all
source currents injected into nodes 1, 2, …, n. These components are therefore the bus
currents . Hence we can write
Thus, following an alternative systematic approach, we have in fact, obtained the same
nodal current equation as (6.6). The bus admittance matrix can then be obtained from the
singular transformation of the primitive Y, i.e.
A computer programme can be developed to write the bus incidence matrix A from the
interconnection data of the directed elements of the power system. Standard matrix
transpose and multiplication subroutines can then be used to compute YBUS from Eq. (6.23
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
Pranita chavan
POWER SYSTEM OPERATION AND CONTROL
Electrical/PHCET
Pranita chavan