Simulation Lab Manual

Download as pdf or txt
Download as pdf or txt
You are on page 1of 53

948 EPS & EPE M.

TECH

SRINIVASA INSTITUTE OF TECHNOLOGY AND SCIENCE

SUBJECT NAME : POWER SYSTEM SIMULATION LAB

YEAR/SEM : I – II

BRANCH : M.TECH (EPE & EPS)

FACULTY NAME : G.VENKATA SURESH BABU

EEE Page 1
948 EPS & EPE M.TECH

POWER SYSTEM SIMULATION LAB


I M.Tech (EPE & EPS) II Semester

LIST OF EXPERIMENTS

1) Determination of stability of a dynamic system.


2) Y-Bus formation using matlab.
3) Load flow analysis by Newton raphson and gauss seidal method using matlab.
4) Load flow analysis by fast decoupled method using matlab.
(5) Transformation of a given dynamic system from input or output model to state space.
(6) Step response of two area system with integral control and estimation of tie line power
deviation using simulink.
(7) Step response of two area system with integral control and estimation of tie line and
frequency deviation using simulink.
(8) Transient stability analysis using matlab.
(9) Short circuit analysis using matlab.
(10) Steady state transient simulation of a linear circuit.
(11) Simulation of double area criteria.
(12) Simulation of single area criteria.
(13) Simulation of automatic voltage regulator.
(14) Armature and field control of DC motor.
(15) Simulation of swing equation.

EEE Page 2
948 EPS & EPE M.TECH
(1) DETERMINATION OF STABILITY OF A DYNAMIC SYSTEM

AIM: To determine the stability of dynamic system using


(a) Root locus
(b) Bode plot
(c) Nyquist plot

APPARATUS: Personal computer


MATLAB

PROCEDURE:
1. Click on matlab icon, then the matlab window will open.
2. In the tool bar from file choose a blank M-File then the file will open.
3. Enter the program and click on the run option.
4. The output (or) result will be display in main matlab window.

PROGRAM:
(A) ROOT LOCUS:
num=[1];
den=[1 5 6 0];
s=tf(num,den)
rlocus(s)
(B) BODE PLOT:
num=[10];
den=[0.02 1.02 1 0];
s=tf(num,den)
bode(s)

(C) NYQUIST PLOT:


num=[1];
den=[2 3 1 0];
s=tf(num,den)
nyquist(s)

EEE Page 3
948 EPS & EPE M.TECH
THEORETICAL CALCULATIONS:

EEE Page 4
948 EPS & EPE M.TECH

EEE Page 5
948 EPS & EPE M.TECH

EEE Page 6
948 EPS & EPE M.TECH

RESULT: Thus the stability of a system using root locus, bode plot and nyquist plot with
transfer function were determined.

EEE Page 7
948 EPS & EPE M.TECH
(2) Y-BUS FORMATION USING MATLAB

AIM: To determine the Y-Bus formation using matlab.

APPARATUS: personal computer


MATLAB
Power system tool box

PROCEDURE:
1. Click on matlab icon, then the matlab window will open.
2. In the tool bar from file choose a blank M-File then the file will open.
3. Enter the program and click on the run option.
4. The output (or) result will be display in main matlab window.

PROGRAM:
zdata=[1 2 0.05 0.15
1 3 0.1 0.3
2 3 0.15 0.45
2 4 0.1 0.3
3 4 0.05 0.15];
Y= ybus(zdata)

THEORETICAL CALCULATIONS:

EEE Page 8
948 EPS & EPE M.TECH

RESULT: Thus the YBUS determined for the given Power System network and verified with
the MATLAB results.

EEE Page 9
948 EPS & EPE M.TECH
3) LOAD FLOW ANALYSIS BY NEWTON RAPHSON AND GAUSS SEIDAL
METHOD USING MATLAB

AIM: To obtain load flow analysis by gauss seidal and Newton raphson method using
matlab.

APPARATUS: Personal computer


MATLAB
Power system tool box

PROCEDURE:
1. Click on matlab icon, then the matlab window will open.
2. In the tool bar from file choose a blank M-File then the file will open.
3. Enter the program and click on the run option.
4. The output (or) result will be display in main matlab window.

PROGRAM:
(a) Gauss-seidel Method:
basemva=100;
accuracy=0.0001;
maxiter=30;
acceleration=1.6;
busdata=[1 1 1.04 0 0 0 00000
2 0 1.0 0 50 -20 0 0 0 0 0
3 0 1.0 0 -100 50 0 0 0 0 0
4 0 1.0 0 30 -10 0 0 0 0 0];
linedata=[1 2 0.05 0.15 0 1
1 3 0.10 0.30 0 1
2 3 0.15 0.45 0 1
2 4 0.10 0.30 0 1
3 4 0.05 0.15 0 1];
lfybus
lfgauss
busout

EEE Page 10
948 EPS & EPE M.TECH
lineflow

(b) Newton – Raphson Method:


basemva=100;
accuracy=0.0001;
maxiter=30;
acceleration=1.6
busdata=[1 1 1.04 0 0 0 0 0 0 0 0
2 0 1.0 0 50 -20 0 0 0 0 0
3 0 1.0 0 -100 50 0 0 0 0 0
4 0 1.0 0 30 -10 0 0 0 0 0];
linedata=[1 2 0.05 0.15 0 1
1 3 0.10 0.30 0 1
2 3 0.15 0.45 0 1
2 4 0.10 0.30 0 1
3 4 0.05 0.15 0 1];
lfybus
lfnewton
busout
lineflow

EEE Page 11
948 EPS & EPE M.TECH

RESULT: Thus, the Load Flow Analysis of a given power system network is obtained by
Gauss-Seidel and Newton- Raphson method using MATLAB.

EEE Page 12
948 EPS & EPE M.TECH
4) LOAD FLOW ANALYSIS BY FAST DECOUPLED METHOD USING MATLAB

AIM: To obtain load flow analysis by fast decoupled method using matlab.

APPARATUS: personal computer


MATLAB
Power system tool box

PROCEDURE:
1. Click on matlab icon, then the matlab window will open.
2. In the tool bar from file choose a blank M-File then the file will open.
3. Enter the program and click on the run option.
4. The output (or) result will be display in main matlab window.

PROGRAM:
basemva=100;
accuracy=0.0001;
maxiter=30;
acceleration=1.6;
busdata=[1 1 1.04 0 0 0 0 0 0 0 0
2 0 1.0 0 50 -20 0 0 0 0 0
3 0 1.0 0 -100 50 0 0 0 0 0
4 0 1.0 0 30 -10 0 0 0 0 0];
linedata=[1 2 0.05 0.15 0 1
1 3 0.10 0.30 0 1
2 3 0.15 0.45 0 1
2 4 0.10 0.30 0 1
3 4 0.05 0.15 0 1];
lfybus
decouple
busout
lineflow
RESULT: Thus, the Load Flow Analysis of a given power system network is obtained by
fast decoupled method using MATLAB.

EEE Page 13
948 EPS & EPE M.TECH
(5) TRANSFORMATION OF A GIVEN DYNAMIC SYSTEM FROM INPUT OR
OUTPUT MODEL TO STATE SPACE

AIM: To obtain the state space model for the given transfer function of a system and transfer
function model for the given state space mode of a system using MATLAB.

APPARATUS: Personal computer


MATLAB Software

PROCEDURE:
1. Click on matlab icon, then the matlab window will open.
2. In the tool bar from file choose a blank M-File then the file will open.
3. Enter the program and click on the run option.
4. The output (or) result will be display in main matlab window.

PROGRAM:
(1a) TRANSFER FUNCTION MODEL TO STATE SPACE MODEL:

num=[3 3]
den=[1 9 24 20]
s=tf(num,den)
[a b c d]=tf2ss(num,den)

(1b) TRANSFER FUNCTION MODEL TO STATE SPACE MODEL:


num=[8]
den=[1 6 11 10]
s=tf(num,den)
[a b c d]=tf2ss(num,den)

(2a) STATE SPACE MODEL TO TRANSFER FUNCTION MODEL:

a=[-5 -1
3 -1]
b=[2

EEE Page 14
948 EPS & EPE M.TECH
5]
c=[1 2]
d=[0]
[num,den]=ss2tf(a,b,c,d)

(2b) STATE SPACE MODEL TO TRANSFER FUNCTION MODEL:

a=[0 1 0
001
-6 -11 -6]
b=[0
0
1]
c=[1 0 0]
d=[0]
[num,den]=ss2tf(a,b,c,d)

THEORETICAL CALCULATIONS:

EEE Page 15
948 EPS & EPE M.TECH

EEE Page 16
948 EPS & EPE M.TECH

RESULT: Thus the transfer function for the given state model and state model for the given
transfer function are obtained by using MATLAB.

EEE Page 17
948 EPS & EPE M.TECH
(6) STEP RESPONSE OF TWO AREA SYSTEM WITH INTEGRAL CONTROL
AND ESTIMATION OF TIE LINE POWER DEVIATION USING SIMULINK

AIM: To obtain the step response of two area system with integral control and estimation of
tie line power deviation using simulink.

APPARATUS: Personal computer


MATLAB Software

BLOCK DIAGRAM:

PROCEDURE:
1. Click on matlab icon, then the matlab window will open.
2. In the tool bar from file choose a model then the window will open.
3. Click on the library browser on the tool bar then drag the required components.
4. Connect the blocks and click on the run option.
5. Click on scope the result will be displayed.

EEE Page 18
948 EPS & EPE M.TECH

EEE Page 19
948 EPS & EPE M.TECH

RESULT: Therefore, the step response of two area systems with integral control and
estimation of tie-line power deviation using simulink were obtained.

EEE Page 20
948 EPS & EPE M.TECH
(7) STEP RESPONSE OF TWO AREA SYSTEM WITH INTEGRAL CONTROL
AND ESTIMATION OF TIE LINE AND FREQUENCY DEVIATION USING
SIMULINK

AIM: To obtain the step response of two area system with integral control and estimation of
tie line frequency deviation using simulink.

APPARATUS: Personal computer


MATLAB Software

BLOCK DIAGRAM:

PROCEDURE:
1. Click on matlab icon, then the matlab window will open.
2. In the tool bar from file choose a model then the window will open.
3. Click on the library browser on the tool bar then drag the required components.
4. Connect the blocks and click on the run option.
5. Click on scope the result will be displayed.

EEE Page 21
948 EPS & EPE M.TECH

EEE Page 22
948 EPS & EPE M.TECH

RESULT: Therefore, the step response of two area systems with integral control and
estimation of tie-line frequency deviation using simulink were obtained.
EEE Page 23
948 EPS & EPE M.TECH
(8) TRANSIENT STABILITY ANALYSIS USING MATLAB

AIM: To determine the transient stability analysis of single machine system by equal area
criterian.

APPARATUS: Personal computer


MATLAB Software
Power system tool box

PROCEDURE:
1. Click on matlab icon, then the matlab window will open.
2. In the tool bar from file choose a blank M-File then the file will open.
3. Enter the program and click on the run option.
4. The output (or) result will be display in main matlab window.

PROGRAM:
CASE 1: SUDDEN INCREASE IN MECHANICAL INPUT:
A) With zero initial mechanical power:

% Initial mechanical power in p.u. p0=0.0


% Generator e.m.f. in p.u. e= 1.35
% Infinite bus-bar voltage in p.u. v=1
% Reactance between internal emf and infinite bus in p.u. x= 0.65

P=0.0;e=1.35;v=1.0;x=0.65;
eacpower(p,e,v,x)

(B) With non zero initial mechanical power:


P=0.6;e=1.35;v=1.0;x=0.65;
eacpower(p,e,v,x)

CASE 2: FAULT ON A SYSTEM HAVING TWO PARALLEL LINES:


(A) Fault at sending end:
p=1.0;e=1.2;v=1.0;x1=0.522;x2=inf;x3=0.8;

EEE Page 24
948 EPS & EPE M.TECH
eacfault(p,e,v,x1,x2,x3)

(B) Fault at middle of any one of the two lines:


p=1.0;e=1.2;v=1.0;x1=0.71;x2=2.424;x3=1.0;
eacfault(p,e,v,x1,x2,x3)

(c) Fault cleared by the isolation of the fault line:


p=0.8;e=1.17;v=1.0;x1=0.65;x2=inf;x3=0.65;
eacfault(p,e,v,x1,x2,x3)

CASE 3: SUSTAINED FAULTS ON MULTI-MACHINE SYSTEM (tc=0.2, 0.41, 0.61):


p=0.8;e=1.17;v=1.0;x1=0.65;x2=1.8;x3=0.8;
h=5;f=60;tc=0.2;tf=1;dt=0.01;
swingmeu(p,e,v,x1,x2,x3,h,f,tc,tf,dt)

EEE Page 25
948 EPS & EPE M.TECH

EEE Page 26
948 EPS & EPE M.TECH

EEE Page 27
948 EPS & EPE M.TECH

EEE Page 28
948 EPS & EPE M.TECH

EEE Page 29
948 EPS & EPE M.TECH

EEE Page 30
948 EPS & EPE M.TECH

EEE Page 31
948 EPS & EPE M.TECH

EEE Page 32
948 EPS & EPE M.TECH

RESULT: Thus Transient stability analysis of a single machine system connected to


infinite bus is determined using Equal Area Criteria using MATLAB.

EEE Page 33
948 EPS & EPE M.TECH
(9) SHORT CIRCUIT ANALYSIS USING MATLAB

AIM: To Conduct short circuit analysis for given power system using MATLAB for LG,
LL, LLG and 3Φ faults.

APPARATUS: Personal computer


MATLAB Software
Power system tool box

PROCEDURE:
1. Click on matlab icon, then the matlab window will open.
2. In the tool bar from file choose a blank M-File then the file will open.
3. Enter the program and click on the run option.
4. The output (or) result will be display in main matlab window.
5. Enter the fault bus number and Zf=j*0.1 and continue for the remaining buses and faults.

PROGRAM:
zdata0=[0 1 0 0.40
0 2 0 0.10
1 2 0 0.30
1 3 0 0.35
2 3 0 0.7125];
zdata1=[0 1 0 0.25
0 2 0 0.25
1 2 0 0.125
1 3 0 0.15
2 3 0 0.25];
zdata2 = zdata1;
zbus1= zbuild(zdata1)
zbus2 = zbus1
zbus0=zbuild(zdata0)
symfault(zdata1,zbus1)
lgfault(zdata0,zbus0,zdata1,zbus1,zdata2,zbus2)
llfault(zdata1,zbus1,zdata2,zbus2)

EEE Page 34
948 EPS & EPE M.TECH
dlgfault(zdata0,zbus0,zdata1,zbus1,zdata2,zbus2)

EEE Page 35
948 EPS & EPE M.TECH

EEE Page 36
948 EPS & EPE M.TECH

EEE Page 37
948 EPS & EPE M.TECH

EEE Page 38
948 EPS & EPE M.TECH

RESULT: Thus the Fault Current and other parameters were determined for the given
power system network for different types of faults and results were compared with the
MATLAB results.

EEE Page 39
948 EPS & EPE M.TECH
(10) STEADY STATE TRANSIENT SIMULATION OF A LINEAR CIRCUIT

AIM: To obtain the steady state and transient simulation of voltage and currents of given
line (or) circuit simulation power tool box.

APPARATUS: Personal computer


MATLAB Software
Power system toolbox

PROCEDURE:
1. Click on matlab icon, then the matlab window will open.
2. In the tool bar from file choose a model then the window will open.
3. Click on the library browser on the tool bar then drag the required components.
4. Connect the blocks and click on the run option.
5. Click on scope the result will be displayed and check the values in powergui as a steady
state voltages and currents.

CIRCUIT DIAGRAM:

EEE Page 40
948 EPS & EPE M.TECH
Vs=187.29kv, Rs=2.654 ohms, Ls=0.08419 H,
Rt=5.25 ohms, Lt=0.138 H, C=0.967*10-6 F,
RL=235.11 ohms, LL=881.66H, Rb=0.01 ohms

RESULT: The steady state and transient simulation of voltage and currents of given line (or)
circuit simulation power tool box is obtained.

EEE Page 41
948 EPS & EPE M.TECH
(11) SIMULATION OF DOUBLE AREA CRITERIA

AIM: To simulate the double area criteria using matlab.

APPARATUS: Personal computer


MATLAB Software

PROCEDURE:
1. Click on matlab icon, then the matlab window will open.
2. In the tool bar from file choose a model then the window will open.
3. Click on the library browser on the tool bar then drag the required components.
4. Connect the blocks and click on the run option.
5. Click on scope the result will be displayed.

CIRCUIT DIAGRAM:

EEE Page 42
948 EPS & EPE M.TECH
EXPECTED WAVEFORM:-

RESULT: Thus simulated the double area criteria using matlab software.

EEE Page 43
948 EPS & EPE M.TECH
(12) SIMULATION OF SINGLE AREA CRITERIA

AIM: To simulate the single area criteria using matlab.

APPARATUS: Personal computer


MATLAB Software

PROCEDURE:
1. Click on matlab icon, then the matlab window will open.
2. In the tool bar from file choose a model then the window will open.
3. Click on the library browser on the tool bar then drag the required components.
4. Connect the blocks and click on the run option.
5. Click on scope the result will be displayed.

CIRCUIT DIAGRAM:
SINGLE AREA WITH PI CONTROLLER:

EEE Page 44
948 EPS & EPE M.TECH
EXPECTED WAVEFORM:

SINGLE AREA WITH OUT PI CONTROLLER:

EEE Page 45
948 EPS & EPE M.TECH
EXPECTED WAVEFORM:

RESULT: Thus simulated the single area criteria with and without PI controller using
matlab.

EEE Page 46
948 EPS & EPE M.TECH
(13) SIMULATION OF AUTOMATIC VOLTAGE REGULATOR

AIM: To simulate the automatic voltage regulator using matlab

APPARATUS: Personal computer


MATLAB Software

PROCEDURE:
1. Click on matlab icon, then the matlab window will open.
2. In the tool bar from file choose a model then the window will open.
3. Click on the library browser on the tool bar then drag the required components.
4. Connect the blocks and click on the run option.
5. Click on scope the result will be displayed.

CIRCUIT DIAGRAM:

EEE Page 47
948 EPS & EPE M.TECH
EXPECTED WAVEFORM:

RESULT: Thus simulated the automatic voltage regulation using matlab.

EEE Page 48
948 EPS & EPE M.TECH
(14) ARMATURE AND FIELD CONTROL OF DC MOTOR

AIM: To simulate the armature and field control of dc motor using matlab.

APPARATUS: Personal computer


MATLAB Software

PROCEDURE:
1. Click on matlab icon, then the matlab window will open.
2. In the tool bar from file choose a model then the window will open.
3. Click on the library browser on the tool bar then drag the required components.
4. Connect the blocks and click on the run option.
5. Click on scope the result will be displayed.

CIRCUIT DIAGRAM:
(A) ARMATURE CONTROL OF DC MOTOR:

EEE Page 49
948 EPS & EPE M.TECH
EXPECTED WAVEFORM:

(B)FIELD CONTROL OF DC MOTOR:

EEE Page 50
948 EPS & EPE M.TECH
EXPECTED WAVEFORM:

RESULT: Thus simulated the armature and field control of dc motor using matlab.

EEE Page 51
948 EPS & EPE M.TECH
(15) SIMULATION OF SWING EQUATION

AIM: To simulate the swing equation using matlab.

APPARATUS: Personal computer


MATLAB Software

PROCEDURE:
1. Click on matlab icon, then the matlab window will open.
2. In the tool bar from file choose a model then the window will open.
3. Click on the library browser on the tool bar then drag the required components.
4. Connect the blocks and click on the run option.
5. Click on scope the result will be displayed.

CIRCUIT DIAGRAM:

Gain= pi*60/5, Gain1= 180/pi, Gain2= 1.4625*sin(210), Gain3= 0.65*sin(210)

EEE Page 52
948 EPS & EPE M.TECH
EXPECTED WAVEFORM:

RESULT: Thus simulated the swing equation using matlab.

EEE Page 53

You might also like